/* =========================
   Maarifa Interviews
========================= */

.bahithoun-interviews-page,
.bahithoun-single-interview {
    background:
        radial-gradient(circle at top right, rgba(15, 105, 63, 0.08), transparent 34%),
        linear-gradient(180deg, #fbfdfb 0%, #f4f9f5 100%);
    color: #1f2937;
}

.bahithoun-interviews-page .container,
.bahithoun-single-interview .container,
.home-interviews-section .container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.interviews-hero {
    padding: 48px 0 28px;
    background:
        linear-gradient(135deg, rgba(15, 105, 63, 0.08), rgba(15, 105, 63, 0.02)),
        #ffffff;
    border-bottom: 1px solid #e6efe9;
}

.interviews-hero-content {
    max-width: 760px;
}

.interviews-hero-content--centered {
    margin-inline: auto;
    text-align: center;
}

.single-badge,
.home-interviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eaf6ef;
    color: #0f693f;
    border: 1px solid #cfe7d9;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.interviews-hero h1,
.single-interview-header h1,
.home-interviews-copy h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin: 0 0 12px;
    color: #133222;
    font-weight: 800;
    font-family: "Cairo", sans-serif;
}

.interviews-hero p,
.home-interviews-copy p {
    font-size: 17px;
    line-height: 1.9;
    color: #50616a;
    margin: 0;
}

.interviews-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 10px;
    font-size: 1.12em;
    transform: translateY(1px);
}

.interviews-hero-title {
    font-family: "Cairo", sans-serif;
    display: inline-flex;
    align-items: center;
}

.interviews-ad-slot {
    padding-top: 18px;
}

.interviews-ad-slot--inline {
    padding-top: 16px;
    padding-bottom: 16px;
}

.interviews-ad-slot--inline .adsense-slot {
    width: 100%;
}

.interviews-home-ad,
.interviews-archive-ad {
    margin-top: 10px;
    margin-bottom: 10px;
}

.interviews-ad-slot--bottom {
    padding-bottom: 0;
}

.interviews-list-section {
    padding: 34px 0 60px;
}

.interviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.interview-card {
    background: #ffffff;
    border: 1px solid #e8efea;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.interview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(16, 24, 40, 0.10);
}

.interview-thumb-link {
    display: block;
    text-decoration: none;
}

.interview-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6f0, #dfeee4);
}

.interview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.interview-thumb-fallback,
.home-interviews-fallback,
.video-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 18px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 30%),
        linear-gradient(135deg, rgba(15, 105, 63, 0.14), rgba(9, 58, 34, 0.08));
    color: #133222;
}

.interview-thumb-fallback strong,
.home-interviews-fallback strong,
.video-placeholder strong {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
}

.interview-thumb-fallback small,
.home-interviews-fallback small {
    color: #41554b;
    font-size: 12px;
    opacity: .86;
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 24, 18, .45), rgba(12, 24, 18, .04));
}

.play-button,
.home-interviews-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 105, 63, 0.92);
    color: #fff;
    box-shadow: 0 10px 28px rgba(15, 105, 63, .35);
    z-index: 2;
}

.video-duration {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    z-index: 2;
}

.views-badge,
.interview-view-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.views-badge::before,
.views-badge::after,
.interview-view-badge::before,
.interview-view-badge::after {
    content: none !important;
    display: none !important;
}

.views-badge {
    position: absolute;
    bottom: 14px;
    inset-inline-end: 14px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    z-index: 2;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.interview-view-badge {
    background: #eaf6ef;
    color: #0f693f;
    border: 1px solid #cfe7d9;
    padding: 8px 12px;
}

.interview-card-body {
    padding: 20px;
}

.interview-card-body {
    text-align: center;
}

.interview-title {
    font-size: 22px;
    line-height: 1.5;
    margin: 0 0 12px;
    font-weight: 800;
}

.interview-title a {
    text-decoration: none;
    color: #162a1d;
}

.interview-title a:hover {
    color: #0f693f;
}

.interview-meta,
.single-meta,
.home-interviews-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.meta-item,
.home-interviews-meta-item,
.single-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f8f5;
    color: #355241;
    border: 1px solid #e3ede7;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.interview-excerpt {
    color: #5d6c74;
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 16px;
}

.interview-btn,
.youtube-direct-link,
.interview-back-btn,
.interview-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f693f;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    border: 0;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
    cursor: pointer;
}

.interview-btn:hover,
.youtube-direct-link:hover,
.interview-back-btn:hover,
.interview-copy-btn:hover {
    background: #0c5a35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 105, 63, 0.18);
}

.single-interview-sidebar .youtube-direct-link {
    display: flex;
    width: 100%;
    margin: 0 auto;
    min-height: 48px;
    color: #fff !important;
    text-align: center;
    box-sizing: border-box;
}

.interview-copy-btn {
    margin-top: 10px;
    width: 100%;
    background: #eaf6ef;
    color: #0f693f;
    border: 1px solid #cfe7d9;
}

.interview-copy-btn:hover {
    background: #dff1e7;
    color: #0c5a35;
}

.interview-btn {
    color: #fff !important;
}

.interview-card-body .interview-btn {
    margin-inline: auto;
}

.interview-actions-inline .btn,
.interview-sidebar .btn,
.single-interview-sidebar .btn {
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.interview-actions-inline .btn:hover,
.interview-sidebar .btn:hover,
.single-interview-sidebar .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.bahithoun-pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.bahithoun-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    margin: 0 4px;
    border-radius: 12px;
    border: 1px solid #dde8e1;
    background: #fff;
    color: #284032;
    text-decoration: none;
    font-weight: 700;
}

.bahithoun-pagination .page-numbers.prev,
.bahithoun-pagination .page-numbers.next {
    min-width: 96px;
    padding-inline: 14px;
}

.bahithoun-pagination .page-numbers.current,
.bahithoun-pagination .page-numbers:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

@media (max-width: 575px) {
    .bahithoun-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
        padding: 0 8px;
        margin: 0 3px;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .bahithoun-pagination .page-numbers.prev,
    .bahithoun-pagination .page-numbers.next {
        min-width: 84px;
        padding-inline: 10px;
    }
}

.empty-state {
    text-align: center;
    background: #fff;
    border: 1px solid #e5eee8;
    border-radius: 24px;
    padding: 50px 24px;
}

.empty-state-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.single-interview-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 320px;
    gap: 28px;
    padding: 38px 0 60px;
}

.single-interview-header {
    text-align: center;
}

.single-interview-header .single-badge {
    margin-inline: auto;
}

.single-meta--centered {
    justify-content: center;
}

.single-interview-title {
    margin: 0;
    text-align: center;
    font-size: clamp(20px, 2.8vw, 28px);
    line-height: 1.5;
    color: #214032;
    font-weight: 700;
}

.single-interview-footer {
    display: flex;
    justify-content: center;
}

.single-interview-footer .interview-back-btn {
    color: #fff !important;
}

.sidebar-card-title--centered {
    text-align: center;
}

.single-interview-layout + .interviews-ad-slot {
    margin-top: -8px;
}

.single-interview-main,
.sidebar-card,
.home-interviews-panel {
    background: #fff;
    border: 1px solid #e7eee9;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.05);
}

.single-interview-main {
    padding: 24px;
}

.single-interview-header {
    margin-bottom: 20px;
}

.video-embed-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #000;
}

.video-embed-wrap iframe,
.video-embed-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-embed-wrap img {
    object-fit: cover;
}

.video-embed-wrap--placeholder {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, .12), transparent 25%),
        linear-gradient(135deg, #0b1d15, #18382b);
}

.video-placeholder {
    color: #fff;
}

.video-placeholder p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.single-interview-content {
    font-size: 16px;
    line-height: 2;
    color: #2c3f33;
}

.single-interview-footer {
    margin-top: 22px;
}

.single-interview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-card {
    padding: 20px;
}

.sidebar-card h3 {
    margin: 0 0 14px;
    color: #163524;
    font-size: 20px;
}

.sidebar-card p {
    margin: 0 0 10px;
    color: #51616a;
    line-height: 1.8;
}

.sidebar-note {
    margin: 0;
}

.single-interview-comments {
    margin-top: 28px;
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 248, 0.98)),
        #fff;
    border: 1px solid #e6efe9;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

.single-interview-comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.single-interview-comments-head .sidebar-card-title--centered {
    margin: 0;
    text-align: inherit;
}

.single-interview-comments-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf6ef;
    border: 1px solid #cfe7d9;
    color: #0f693f;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.interview-comment-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: #0f693f;
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 105, 63, 0.18);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.interview-comment-action:hover,
.interview-comment-action:focus-visible {
    background: #0c5a35;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 105, 63, 0.22);
}

.interview-comment-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 14px;
}

.comments-login-note--inline {
    margin-top: 14px;
    padding: 14px 16px;
    background: #f5faf7;
    border: 1px dashed #cfe1d6;
    border-radius: 16px;
    color: #43564b;
    line-height: 1.9;
}

.single-interview-comments .comments-area {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.single-interview-comments .comments-title {
    display: none;
}

.single-interview-comments .comment-list-container {
    margin-top: 4px;
}

.single-interview-comments .comment-list li {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.single-interview-comments .comment-body {
    background: #f9fcfa;
    border: 1px solid #e4eee8;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.single-interview-comments .comment-author.vcard {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.single-interview-comments .comment-avatar {
    margin: 0;
    flex-shrink: 0;
}

.single-interview-comments .comment-avatar img {
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.single-interview-comments .comment-meta {
    margin-bottom: 8px;
}

.single-interview-comments .comment-author-name a {
    color: #163524;
    text-decoration: none;
}

.single-interview-comments .comment-author-name a:hover {
    color: #0f693f;
}

.single-interview-comments .comment-metadata {
    font-size: 13px;
    color: #6a7981;
}

.single-interview-comments .comment-text {
    background: #fff;
    border: 1px solid #edf3ef;
    border-radius: 16px;
    padding: 14px 16px;
    color: #34433a;
    line-height: 1.95;
}

.single-interview-comments.is-guest .comment-respond,
.single-interview-comments.is-guest .must-log-in {
    display: none;
}

.single-interview-comments .reply a,
.single-interview-comments .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f693f;
    text-decoration: none;
    font-weight: 700;
}

.single-interview-comments .reply a:hover,
.single-interview-comments .comment-reply-link:hover {
    color: #0c5a35;
    text-decoration: underline;
}

.single-interview-comments .comment-respond {
    margin-top: 22px;
    background: linear-gradient(180deg, #ffffff, #f6faf7);
    border: 1px solid #e5eee8;
    border-radius: 20px;
    padding: 18px;
}

.single-interview-comments .comment-respond .comment-reply-title {
    margin-top: 0;
    color: #163524;
}

.single-interview-comments .comment-form {
    margin-top: 12px;
}

.single-interview-comments .comment-form textarea,
.single-interview-comments .comment-form input[type="text"],
.single-interview-comments .comment-form input[type="email"],
.single-interview-comments .comment-form input[type="url"] {
    border-radius: 14px;
    border-color: #dfe8e2;
    box-shadow: none;
}

.single-interview-comments .comment-form textarea:focus,
.single-interview-comments .comment-form input[type="text"]:focus,
.single-interview-comments .comment-form input[type="email"]:focus,
.single-interview-comments .comment-form input[type="url"]:focus {
    border-color: #0f693f;
    box-shadow: 0 0 0 0.2rem rgba(15, 105, 63, 0.12);
}

.single-interview-comments .must-log-in,
.single-interview-comments .comment-notes {
    margin-bottom: 0;
}

.home-interviews-section {
    padding: 12px 0 32px;
}

.home-interviews-header {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    gap: 24px;
    align-items: stretch;
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(15, 105, 63, 0.08), transparent 28%),
        #fff;
    border: 1px solid #e7eee9;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.05);
}

.home-interviews-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.home-interviews-copy h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 0;
}

.home-interviews-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: start;
    margin-top: 4px;
    justify-content: flex-end;
}

.home-interviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.home-interview-card {
    background: #fff;
    border: 1px solid #e7eee9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
}

.home-interview-card-media {
    position: relative;
    display: block;
    min-height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1d15, #18402d);
}

.home-interview-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-interview-card-body {
    padding: 18px;
}

.home-interview-card-body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 800;
}

.home-interview-card-body h3 a {
    color: #162a1d;
    text-decoration: none;
}

.single-interview-comments .comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.single-interview-comments .comment-delete-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0b9c1;
    background: #fff5f7;
    color: #b42318;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.single-interview-comments .comment-delete-link:hover {
    background: #ffe8ec;
    border-color: #e89aa8;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(180, 35, 24, 0.12);
}

.single-interview-comments .comment-delete-link:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.home-interview-card-body h3 a:hover {
    color: #0f693f;
}

.home-interview-card-body p {
    margin: 0 0 14px;
    color: #5d6c74;
    line-height: 1.8;
    font-size: 15px;
}

.home-interviews-media {
    position: relative;
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, #0b1d15, #18402d);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.home-interviews-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-interviews-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 16, 11, .48), rgba(6, 16, 11, .06));
}

.home-interviews-fallback {
    color: #fff;
}

.home-interviews-fallback strong {
    color: #fff;
}

.home-interviews-fallback small {
    color: rgba(255, 255, 255, 0.8);
}

.home-interviews-play {
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 991px) {
    .interviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-interview-layout {
        grid-template-columns: 1fr;
    }

    .home-interviews-header {
        grid-template-columns: 1fr;
    }

    .home-interviews-actions {
        justify-content: flex-start;
    }

    .home-interviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .interviews-hero {
        padding: 32px 0 20px;
    }

    .interviews-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .interview-title {
        font-size: 20px;
    }

    .play-button,
    .home-interviews-play {
        width: 58px;
        height: 58px;
    }

    .single-interview-main {
        padding: 18px;
    }

    .home-interviews-header {
        padding: 18px;
    }

    .home-interviews-media {
        min-height: 220px;
    }

    .home-interviews-grid {
        grid-template-columns: 1fr;
    }

    .interviews-home-ad,
    .interviews-archive-ad {
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .interviews-ad-slot--inline {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .single-interview-comments {
        padding: 18px;
    }

    .single-interview-comments-head {
        align-items: flex-start;
    }

    .interview-comment-action {
        width: 100%;
    }

    .single-interview-comments .comment-body {
        padding: 14px;
    }

    .single-interview-comments .comment-author.vcard {
        gap: 10px;
    }
}
