/* Info / internal detail pages — SEO layout */

.info-article {
    padding: 0 0 30px;
}

.info-layout {
    margin-top: 10px;
}

.info-sidebar-title {
    font-size: 18px;
    color: #692a00;
    margin: 0 0 4px;
    font-weight: bold;
}

.info-sidebar-cat {
    font-size: 13px;
    color: #01A8A8;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #01A8A8;
}

.info-sidebar-panel .panel-heading {
    background: #01A8A8;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.info-sidebar-panel .panel-heading .glyphicon {
    margin-left: 6px;
}

.info-menu-list {
    margin: 0;
    max-height: 420px;
    overflow-y: auto;
}

.info-menu-list .list-group-item {
    border-color: #e0f5f5;
    padding: 8px 12px;
    transition: background 0.2s ease;
}

.info-menu-list .list-group-item a {
    color: #333;
    display: block;
    font-size: 13px;
    line-height: 1.5;
}

.info-menu-list .list-group-item:hover {
    background: #f0fafa;
}

.info-menu-list .list-group-item.active {
    background: #01A8A8;
    border-color: #01A8A8;
}

.info-menu-list .list-group-item.active a {
    color: #fff;
    font-weight: bold;
}

.info-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #01A8A8;
}

.info-detail-body {
    margin-top: 0;
}

.info-desc-sidebar-wrap {
    padding-right: 0;
}

.info-desc-sidebar-row {
    margin-right: 0;
    margin-left: 0;
}

.info-desc-sidebar-row > [class*="col-"] {
    padding-right: 0;
}

.info-sidebar {
    margin-top: 0;
    padding-right: 0;
    padding-left: 10px;
}

.info-meta-footer {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}

.info-category-badge {
    display: inline-block;
    background: #e8f8f8;
    color: #01A8A8;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid #01A8A8;
}

.info-meta-footer .info-lead {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.info-page-title {
    font-family: 'IranNastaliq', tahoma;
    font-size: 32px;
    color: #692a00;
    margin: 0 0 10px;
    line-height: 1.4;
    border: none;
    padding: 0;
}

.info-lead {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.8;
}

.info-figure {
    margin-bottom: 20px;
}

.info-detail-image {
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 3px solid #fff;
}

.info-figcaption {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.info-section-title {
    font-size: 20px;
    color: #692a00;
    margin: 0 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.info-description {
    text-align: justify;
    line-height: 2;
    color: #333;
    font-size: 16px;
}

.info-description p,
.info-description-body p {
    margin: 0 0 14px;
}

.info-description-body p:last-child {
    margin-bottom: 0;
}

.info-description-body ul,
.info-description-body ol {
    margin: 0 0 14px;
    padding-right: 22px;
}

.info-pdf-link {
    margin-top: 20px;
}

.info-divider {
    margin: 25px 0;
}

.info-related-section {
    margin-top: 10px;
}

.info-related-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.info-related-card:hover {
    box-shadow: 0 4px 12px rgba(1, 168, 168, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.info-related-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.info-related-title {
    font-size: 13px;
    color: #333;
    padding: 8px 10px;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.seo-breadcrumb .sep {
    margin: 0 6px;
    color: #aaa;
}

@media (min-width: 992px) {
    .info-desc-sidebar-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .info-desc-sidebar-row > .info-content,
    .info-desc-sidebar-row > .info-sidebar {
        float: none;
        flex: 0 0 auto;
    }

    .info-desc-sidebar-row > .info-content {
        width: 58.33333333%;
    }

    .info-desc-sidebar-row > .info-sidebar {
        width: 41.66666667%;
    }
}

@media (min-width: 768px) {
    .info-page-title {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .info-page-title {
        font-size: 26px;
    }

    .info-mobile-menu {
        margin-bottom: 15px;
    }

    .info-mobile-menu-btn {
        display: block;
        width: 100%;
        text-align: right;
        padding: 12px 14px;
        font-size: 14px;
        font-weight: bold;
        color: #fff;
        background: linear-gradient(to bottom, #01CED1, #01A8A8);
        border: 1px solid #019696;
        border-radius: 6px;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(1, 168, 168, 0.25);
    }

    .info-mobile-menu-btn .glyphicon-th-list {
        margin-left: 8px;
    }

    .info-mobile-menu-btn .glyphicon-chevron-down {
        transition: transform 0.2s ease;
    }

    .info-mobile-menu-btn:not(.collapsed) .glyphicon-chevron-down {
        transform: rotate(180deg);
    }

    .info-mobile-menu-btn:hover,
    .info-mobile-menu-btn:focus {
        color: #fff;
        background: linear-gradient(to bottom, #01B7B7, #017C7C);
        outline: none;
    }

    .info-mobile-menu-panel {
        margin-top: 8px;
        border: 1px solid #d0ecec;
        border-radius: 6px;
        overflow: hidden;
        max-height: 280px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .info-mobile-menu-panel.in {
        display: block;
    }

    .info-figure {
        margin-bottom: 15px;
    }

    /* سایدبار در موبایل حذف — از dropdown پایین استفاده می‌شود */
    .info-sidebar {
        display: none !important;
    }

    .info-desc-sidebar-wrap {
        padding-right: 15px;
        padding-left: 15px;
    }

    .info-meta-footer {
        margin-top: 18px;
    }

    .info-main {
        width: 100%;
        float: none;
    }

    .info-header {
        margin-bottom: 15px;
    }

    .info-lead {
        font-size: 13px;
    }

    .info-mobile-jump {
        margin-top: 20px;
        padding: 15px;
        background: #f8fafa;
        border: 1px solid #d0ecec;
        border-radius: 6px;
    }

    .info-jump-label {
        display: block;
        font-size: 13px;
        color: #555;
        margin-bottom: 8px;
        font-weight: bold;
    }

    .info-jump-select {
        font-size: 14px;
        border-color: #01A8A8;
    }

    .info-related-grid .col-xs-6 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .info-related-card img {
        height: 90px;
    }

    .info-related-title {
        font-size: 11px;
        padding: 6px 4px;
    }
}

/* Khabar detail */
.khabar-article .info-date-title {
    font-size: 14px;
    color: #01A8A8;
    margin: 0;
    font-weight: normal;
}

.khabar-article .info-date-title time {
    background: #f0fafa;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    border-right: 3px solid #01A8A8;
}

.info-actions {
    margin-top: 15px;
}

.info-lang-note {
    margin: 12px 0 18px;
    font-size: 15px;
}
