
/* =========================================================
   English FAN - Behind Scene
========================================================= */

:root {
    --englishfan-blue: #0B10F5;
    --englishfan-blue-dark: #080C73;
    --englishfan-blue-deep: #070B52;
    --englishfan-red: #F11414;

    --englishfan-text: #111827;
    --englishfan-muted: #687386;
    --englishfan-border: #e1e5ed;

    --englishfan-bg: #f7f8fc;
    --englishfan-white: #ffffff;

    --englishfan-radius: 20px;
}









/* =========================================================
   BEHIND THE SCENE HERO
========================================================= */

.ef-behind-hero {
    position: relative;

    width: 100%;
    height: 600px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b0f25;
}


/* =========================================================
   IMAGE
========================================================= */

.ef-behind-hero__image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 1;
}


/* =========================================================
   OVERLAY
========================================================= */

.ef-behind-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(11, 15, 46, .68),
            rgba(11, 15, 46, .35),
            rgba(11, 15, 46, .68)
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.ef-behind-hero .container {
    position: relative;

    z-index: 3;

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   CONTENT
========================================================= */

.ef-behind-hero__content {
    width: 100%;

    text-align: center;

    color: #fff;

    margin-top: 5px;
}


/* =========================================================
   TITLE
========================================================= */

.ef-behind-hero__content h2 {
    margin: 0 0 18px;

    color: #fff;

    font-size: clamp(34px, 4vw, 52px);

    font-weight: 900;

    line-height: 1.3;

    text-shadow:
        0 5px 25px rgba(0, 0, 0, .25);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.ef-behind-hero__breadcrumb {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0;
    margin: 0;

    list-style: none;

    color: rgba(255, 255, 255, .78);

    font-size: 14px;
    font-weight: 600;
}


.ef-behind-hero__breadcrumb li {
    display: flex;
    align-items: center;
}


.ef-behind-hero__breadcrumb a {
    color: #fff;

    text-decoration: none;

    transition: .25s ease;
}


.ef-behind-hero__breadcrumb a:hover {
    color: #ff3045;
}


.ef-behind-hero__breadcrumb i {
    color: rgba(255, 255, 255, .65);

    font-size: 17px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .ef-behind-hero {
        height: 320px;
    }

    .ef-behind-hero__content h2 {
        font-size: 42px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .ef-behind-hero {
        height: 280px;
    }

    .ef-behind-hero__content h2 {
        font-size: 34px;

        margin-bottom: 12px;
    }

    .ef-behind-hero__breadcrumb {
        gap: 7px;

        font-size: 13px;
    }

    .ef-behind-hero__breadcrumb i {
        font-size: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .ef-behind-hero {
        height: 250px;
    }

    .ef-behind-hero__content h2 {
        font-size: 30px;
    }

    .ef-behind-hero__breadcrumb {
        font-size: 11px;
    }

}

















/* =========================================================
   Main Wrapper
========================================================= */

.englishfan-behind-page {
    direction: rtl;
    overflow: hidden;
}


/* =========================================================
   Intro
========================================================= */

.englishfan-behind-intro {
    padding: 85px 0 45px;
    background: #fff;
}

.englishfan-behind-intro-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.englishfan-behind-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--englishfan-red);
    font-size: 14px;
    font-weight: 700;
}

.englishfan-behind-intro h2 {
    margin: 0 0 18px;
    color: var(--englishfan-text);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.35;
}

.englishfan-behind-intro p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--englishfan-muted);
    font-size: 16px;
    line-height: 2;
}


/* =========================================================
   Featured
========================================================= */

.englishfan-featured-video {
    padding: 25px 0 90px;
    background: #fff;
}

.englishfan-featured-video-box {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    background:
        linear-gradient(
            105deg,
            #0b10f5 0%,
            #0b118e 48%,
            #11163e 100%
        );
    box-shadow: 0 25px 55px rgba(7, 13, 115, 0.18);
}


/* =========================================================
   Featured Media
========================================================= */

.englishfan-featured-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.englishfan-featured-video-preview,
.englishfan-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Video only:
   ویدیو دیده شود ولی صدا/کنترل نداشته باشد */
.englishfan-featured-video-preview {
    pointer-events: none;
}


/* اگر Featured عکس دارد، تصویر کلیک‌پذیر است */
.englishfan-featured-image-preview {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.englishfan-featured-image-preview img {
    transition: transform .45s ease;
}

.englishfan-featured-image-preview:hover img {
    transform: scale(1.03);
}


/* =========================================================
   Featured Overlay
========================================================= */

.englishfan-featured-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 65px;

    background:
        linear-gradient(
            90deg,
            rgba(4, 8, 62, 0.08) 0%,
            rgba(4, 8, 62, 0.35) 42%,
            rgba(4, 8, 62, 0.94) 100%
        );
}

.englishfan-featured-content {
    width: min(650px, 100%);
    text-align: right;
}

.englishfan-featured-meta {
    display: block;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    font-weight: 700;
}

.englishfan-featured-content h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.4;
}

.englishfan-featured-content p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 2;
}


/* =========================================================
   Featured Play
========================================================= */

.englishfan-play-button {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border: 0;
    border-radius: 50% ;

    background: #fff;
    color: var(--englishfan-blue);

    font-size: 30px;

    cursor: pointer;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .18);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.englishfan-play-button:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .25);
}

.englishfan-play-button i {
    margin-right: 3px;
}


/* =========================================================
   Featured Placeholder
========================================================= */

.englishfan-featured-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--englishfan-blue),
            var(--englishfan-blue-dark)
        );

    color: rgba(255, 255, 255, .3);
    font-size: 80px;
}


/* =========================================================
   Stories Section
========================================================= */

.englishfan-behind-stories {
    padding: 90px 0 105px;
    background: var(--englishfan-bg);
}

.englishfan-section-heading {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.englishfan-section-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--englishfan-red);
    font-size: 14px;
    font-weight: 700;
}

.englishfan-section-heading h3 {
    margin: 0 0 15px;
    color: var(--englishfan-text);
    font-size: 35px;
    font-weight: 800;
    line-height: 1.45;
}

.englishfan-section-heading p {
    margin: 0;
    color: var(--englishfan-muted);
    font-size: 15px;
    line-height: 2;
}


/* =========================================================
   Story Card
========================================================= */

.englishfan-story-card {
    height: 100%;
    overflow: hidden;

    border: 1px solid var(--englishfan-border);
    border-radius: var(--englishfan-radius);

    background: #fff;

    box-shadow: 0 8px 25px rgba(20, 28, 60, .04);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.englishfan-story-card:hover {
    transform: translateY(-7px);

    border-color: rgba(11, 16, 245, .22);

    box-shadow:
        0 18px 40px rgba(20, 28, 60, .10);
}


/* =========================================================
   Story Media
========================================================= */

.englishfan-story-image {
    position: relative;

    height: 270px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #eef0f5,
            #e7e9ef
        );
}


/* Image */
.englishfan-story-image > img,
.englishfan-image-preview,
.englishfan-story-video-preview {
    width: 100%;
    height: 100%;
}

.englishfan-story-image > img {
    display: block;
    object-fit: cover;

    transition: transform .45s ease;
}


/* فقط عکس */
.englishfan-image-preview {
    display: block;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: zoom-in;
}

.englishfan-image-preview img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .45s ease;
}

.englishfan-image-preview:hover img,
.englishfan-story-card:hover .englishfan-story-image > img {
    transform: scale(1.04);
}


/* =========================================================
   Video Preview
========================================================= */

.englishfan-story-video-preview {
    display: block;

    object-fit: cover;

    background: #e9ebf1;

    pointer-events: none;
}


/* =========================================================
   Story Number
========================================================= */

.englishfan-story-number {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--englishfan-blue);
    color: #fff;

    font-size: 15px;
    font-weight: 800;

    box-shadow: 0 10px 25px rgba(11, 16, 245, .28);
}


/* =========================================================
   Story Play
========================================================= */

.englishfan-story-play {
    position: absolute;

    left: 24px;
    bottom: 20px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #fff;
    color: var(--englishfan-blue);

    font-size: 22px;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .16);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.englishfan-story-play:hover {
    transform: scale(1.08);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, .22);
}


/* =========================================================
   Story Placeholder
========================================================= */

.englishfan-story-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #a7adba;

    font-size: 48px;
}


/* =========================================================
   Story Content
========================================================= */

.englishfan-story-content {
    padding: 25px 25px 28px;

    text-align: right;
}

.englishfan-story-content h4 {
    margin: 0 0 13px;

    color: var(--englishfan-text);

    font-size: 20px;
    font-weight: 800;

    line-height: 1.6;
}

.englishfan-story-content p {
    margin: 0;

    color: var(--englishfan-muted);

    font-size: 14px;

    line-height: 2;
}


/* =========================================================
   Empty State
========================================================= */

.englishfan-empty-state {
    max-width: 650px;

    margin: 0 auto;

    padding: 60px 30px;

    text-align: center;

    border: 1px dashed #d8dce5;
    border-radius: 20px;

    background: #fff;
}

.englishfan-empty-state i {
    display: block;

    margin-bottom: 18px;

    color: #a7adba;

    font-size: 50px;
}

.englishfan-empty-state h4 {
    margin: 0 0 10px;

    color: var(--englishfan-text);

    font-size: 21px;
    font-weight: 800;
}

.englishfan-empty-state p {
    margin: 0;

    color: var(--englishfan-muted);

    font-size: 14px;
}



/* =========================================================
   Production Process
========================================================= */

.englishfan-production-process {
    padding: 100px 0 110px;

    margin-bottom: 38px;

    border-radius: 32px 32px 32px 32px;

    overflow: hidden;

    background:
        linear-gradient(
            105deg,
            #0b10f5 0%,
            #0b118e 48%,
            #11163e 100%
        );
}


/* =========================================================
   Process Cards
========================================================= */

.englishfan-process-card {
    position: relative;

    height: 100%;

    padding: 40px 30px;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, .15);

    border-radius: 22px;

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(8px);

    transition:
        transform .3s ease,
        background .3s ease;
}

.englishfan-process-card:hover {
    transform: translateY(-7px);

    background: rgba(255, 255, 255, .12);
}


/* همه آیکون‌ها قرمز */
.englishfan-process-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 66px;
    height: 66px;

    margin: 0 auto 20px;

    border-radius: 17px;

    background: var(--englishfan-red);

    color: #fff;

    font-size: 28px;

    box-shadow:
        0 10px 25px rgba(241, 20, 20, .22);
}


/* =========================================================
   Process Number
========================================================= */

.englishfan-process-number {
    display: inline-block;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, .55);

    font-size: 13px;
    font-weight: 800;
}

.englishfan-process-card h4 {
    margin: 0 0 13px;

    color: #fff;

    font-size: 21px;
    font-weight: 800;
}

.englishfan-process-card p {
    margin: 0;

    color: rgba(255, 255, 255, .75);

    font-size: 14px;

    line-height: 2;
}


/* =========================================================
   Image Modal
========================================================= */

.englishfan-image-modal .modal-content,
.englishfan-video-modal .modal-content {
    overflow: hidden;

    border: 0;

    border-radius: 18px;

    background: #080a16;
}

.englishfan-image-modal .modal-header,
.englishfan-video-modal .modal-header {
    min-height: 55px;

    border: 0;

    background: #080a16;
}

.englishfan-image-modal .modal-body,
.englishfan-video-modal .modal-body {
    padding: 0;

    background: #080a16;
}


/* =========================================================
   Modal Image
========================================================= */

.englishfan-modal-image {
    width: 100%;
    max-height: 82vh;

    display: block;

    margin: 0 auto;

    object-fit: contain;

    background: #080a16;
}


/* =========================================================
   Modal Video
========================================================= */

.englishfan-modal-video {
    width: 100%;
    max-height: 82vh;

    display: block;

    margin: 0 auto;

    background: #000;
}


/* =========================================================
   Responsive - 991
========================================================= */

@media (max-width: 991px) {

    .englishfan-behind-intro {
        padding: 70px 0 35px;
    }

    .englishfan-behind-intro h2 {
        font-size: 35px;
    }

    .englishfan-featured-video {
        padding-bottom: 70px;
    }

    .englishfan-featured-video-box {
        min-height: 390px;
    }

    .englishfan-featured-overlay {
        padding: 45px;
    }

    .englishfan-featured-content h3 {
        font-size: 32px;
    }

    .englishfan-story-image {
        height: 250px;
    }

    .englishfan-production-process {
        padding: 80px 0 90px;
    }

}


/* =========================================================
   Responsive - 767
========================================================= */

@media (max-width: 767px) {

    .englishfan-behind-intro {
        padding: 55px 0 30px;
    }

    .englishfan-behind-intro h2 {
        font-size: 30px;
    }

    .englishfan-behind-intro p {
        font-size: 14px;
    }

    .englishfan-featured-video {
        padding: 20px 0 60px;
    }

    .englishfan-featured-video-box {
        min-height: 500px;

        border-radius: 0 0 20px 20px;
    }

    .englishfan-featured-overlay {
        align-items: flex-end;

        padding: 30px 25px;

        background:
            linear-gradient(
                0deg,
                rgba(4, 8, 62, .94) 0%,
                rgba(4, 8, 62, .42) 50%,
                rgba(4, 8, 62, .05) 100%
            );
    }

    .englishfan-featured-content {
        width: 100%;
    }

    .englishfan-featured-content h3 {
        font-size: 28px;
    }

    .englishfan-featured-content p {
        font-size: 14px;
    }

    .englishfan-play-button {
        top: 42%;

        width: 64px;
        height: 64px;
    }

    .englishfan-behind-stories {
        padding: 70px 0 80px;
    }

    .englishfan-section-heading {
        margin-bottom: 35px;
    }

    .englishfan-section-heading h3 {
        font-size: 28px;
    }

    .englishfan-story-image {
        height: 260px;
    }

    .englishfan-production-process {
        padding: 75px 0 85px;
    }

}


/* =========================================================
   Responsive - 576
========================================================= */

@media (max-width: 576px) {

    .englishfan-behind-intro {
        padding: 45px 15px 25px;
    }

    .englishfan-behind-intro h2 {
        font-size: 26px;
    }

    .englishfan-featured-video {
        padding: 15px 12px 50px;
    }

    .englishfan-featured-video-box {
        min-height: 460px;

        border-radius: 18px;
    }

    .englishfan-featured-overlay {
        padding: 25px 20px;
    }

    .englishfan-featured-meta {
        font-size: 12px;
    }

    .englishfan-featured-content h3 {
        font-size: 24px;
    }

    .englishfan-featured-content p {
        font-size: 13px;
        line-height: 1.9;
    }

    .englishfan-story-image {
        height: 235px;
    }

    .englishfan-story-content {
        padding: 21px 20px 23px;
    }

    .englishfan-story-content h4 {
        font-size: 18px;
    }

    .englishfan-story-content p {
        font-size: 13px;
    }

    .englishfan-process-card {
        padding: 32px 22px;
    }

    .englishfan-modal-image,
    .englishfan-modal-video {
        max-height: 75vh;
    }

}


/* =========================================================
   Responsive - 375
========================================================= */

@media (max-width: 375px) {

    .englishfan-behind-intro h2 {
        font-size: 23px;
    }

    .englishfan-featured-video-box {
        min-height: 420px;
    }

    .englishfan-featured-content h3 {
        font-size: 21px;
    }

    .englishfan-play-button {
        width: 58px;
        height: 58px;

        font-size: 25px;
    }

    .englishfan-story-image {
        height: 210px;
    }

    .englishfan-story-number {
        top: 13px;
        right: 13px;

        width: 44px;
        height: 44px;

        border-radius: 12px;
    }

    .englishfan-story-play {
        left: 17px;
        bottom: 15px;

        width: 47px;
        height: 47px;
    }

}
