/* ============================================================
Quote Section - Only layout & unique styles
Depends on tokens.css for colors, spacing, and typography
============================================================ */

.editorial-quote {
    width: min(1220px, calc(100% - 56px));
    margin: 0 auto 78px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f8f6ff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(124, 88, 253, 0.06);
    border: 1px solid rgba(124, 88, 253, 0.06);
}

/* ===== سمت چپ: بخش تصویری ===== */
.editorial-quote-visual {
    position: relative;
    min-height: 410px;
    background: linear-gradient(135deg, var(--landing-purple) 0%, #4a2d8a 100%);
    overflow: hidden;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.editorial-portrait-shape {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: grid;
    place-items: center;
    align-content: center;
    justify-items: center;
    gap: 8px;
    overflow: hidden;
    text-align: center;
    direction: ltr;
    padding: 32px 24px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.editorial-portrait-shape:before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    left: -95px;
    top: -95px;
    opacity: 0.8;
}

.editorial-portrait-shape:after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    right: -85px;
    bottom: -90px;
    opacity: 0.8;
}

.editorial-portrait-shape strong {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font: 900 clamp(42px, 6vw, 74px) / 1 "Literata", Georgia, serif;
    letter-spacing: -0.06em;
    text-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    direction: ltr;
}

.editorial-portrait-shape small {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.85);
    font: 700 13px / 1.4 "Literata", Georgia, serif;
    letter-spacing: 0.03em;
    text-align: center;
    direction: ltr;
    margin-top: -4px;
}

.editorial-portrait-shape span {
    width: 48px;
    height: 48px;
    padding-top: 11px;
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font: 900 38px / 1 Georgia, serif;
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.editorial-quote-chip {
    position: absolute;
    z-index: 4;
    left: 44px;
    bottom: 44px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ===== سمت راست: متن ===== */
.editorial-quote-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 48px;
    background: #ffffff;
}

.editorial-quote-copy>p:first-child {
    color: var(--landing-purple);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.lang-fa .editorial-quote-copy>p:first-child {
    letter-spacing: 0;
    text-transform: none;
}

.editorial-quote-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
    color: var(--landing-ink);
    font-weight: 900;
}
.lang-fa .editorial-quote-copy h2 {
    line-height: 1.45;
}

.editorial-quote-copy blockquote {
    margin: 0;
    font: 700 18px / 1.6 "Literata", Georgia, serif;
    color: #2a1a40;
    direction: ltr;
    text-align: left;
    padding: 0;
    border: none;
    background: transparent;
}

.quote-translation {
    margin: 10px 0 0;
    color: #4a3a6b;
    font-size: 16px;
    line-height: 1.95;
    padding: 0;
    border: none;
    background: transparent;
}
.lang-fa .quote-translation {
    direction: rtl;
    text-align: right;
}

.editorial-quote-copy>small {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(124, 88, 253, 0.12);
    color: #6a5a8a;
    font-size: 12px;
    line-height: 2.05;
    max-width: 90%;
}

/* ============================================================
Responsive
============================================================ */
@media (max-width: 1000px) {
    .editorial-quote {
        grid-template-columns: 1fr;
        width: calc(100% - 40px);
        margin: 0 auto 50px;
        border-radius: 14px;
    }
    .editorial-quote-visual {
        min-height: 320px;
        padding: 20px;
        order: 2;
    }
    .editorial-portrait-shape {
        max-width: 100%;
        padding: 24px 20px;
    }
    .editorial-portrait-shape strong {
        font-size: clamp(38px, 8vw, 60px);
    }
    .editorial-quote-copy {
        order: 1;
        padding: 36px 32px;
    }
    .editorial-quote-copy h2 {
        font-size: 32px;
    }
    .editorial-quote-copy blockquote {
        font-size: 17px;
    }
    .quote-translation {
        font-size: 15px;
    }
    .editorial-quote-chip {
        left: 28px;
        bottom: 28px;
    }
}

@media (max-width: 768px) {
    .editorial-quote {
        width: calc(100% - 28px);
        margin: 0 auto 36px;
        border-radius: 12px;
    }
    .editorial-quote-visual {
        min-height: 260px;
        padding: 16px;
    }
    .editorial-portrait-shape {
        max-width: 100%;
        padding: 18px 16px;
        gap: 4px;
    }
    .editorial-portrait-shape strong {
        font-size: clamp(32px, 7vw, 48px);
    }
    .editorial-portrait-shape small {
        font-size: 11px;
    }
    .editorial-portrait-shape span {
        width: 40px;
        height: 40px;
        font-size: 30px;
        right: 12px;
        bottom: 12px;
    }
    .editorial-quote-chip {
        left: 20px;
        bottom: 20px;
        padding: 6px 12px;
        font-size: 8px;
    }
    .editorial-quote-copy {
        padding: 28px 20px;
    }
    .editorial-quote-copy h2 {
        font-size: 28px;
        margin-bottom: 14px;
    }
    .editorial-quote-copy blockquote {
        font-size: 16px;
        line-height: 1.6;
    }
    .quote-translation {
        font-size: 14px;
        line-height: 1.8;
    }
    .editorial-quote-copy>small {
        font-size: 11px;
        line-height: 1.9;
        max-width: 100%;
        margin-top: 16px;
        padding-top: 14px;
    }
}

@media (max-width: 480px) {
    .editorial-quote {
        width: calc(100% - 16px);
        margin: 0 auto 28px;
        border-radius: 10px;
    }
    .editorial-quote-visual {
        min-height: 200px;
        padding: 12px;
    }
    .editorial-portrait-shape {
        max-width: 100%;
        padding: 14px 12px;
        border-radius: 12px;
    }
    .editorial-portrait-shape strong {
        font-size: clamp(28px, 6vw, 40px);
    }
    .editorial-portrait-shape small {
        font-size: 10px;
    }
    .editorial-portrait-shape span {
        width: 34px;
        height: 34px;
        font-size: 26px;
        right: 8px;
        bottom: 8px;
    }
    .editorial-quote-chip {
        left: 14px;
        bottom: 14px;
        padding: 4px 10px;
        font-size: 7px;
    }
    .editorial-quote-copy {
        padding: 22px 16px;
    }
    .editorial-quote-copy>p:first-child {
        font-size: 12px;
    }
    .editorial-quote-copy h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .editorial-quote-copy blockquote {
        font-size: 14px;
    }
    .quote-translation {
        font-size: 13px;
        margin-top: 6px;
    }
    .editorial-quote-copy>small {
        font-size: 10px;
        line-height: 1.8;
        margin-top: 12px;
        padding-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .editorial-quote {
        transition: none;
    }
}