
/* WESC QA EDITORIAL V1 */

.wesc-editorial-page {
    width: 100%;
    overflow: hidden;
    background: #f8fafc;
    color: #0f172a;
}

/* ======================================================
   HERO FULL WIDTH - ZERO BORDER RADIUS
   ====================================================== */

.wesc-editorial-hero {
    position: relative;
    width: 100vw;
    min-height: clamp(560px, 74vh, 820px);

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    border: 0 !important;
    border-radius: 0 !important;

    background-image:
        linear-gradient(
            180deg,
            rgba(15,23,42,.15) 0%,
            rgba(15,23,42,.30) 45%,
            rgba(15,23,42,.88) 100%
        ),
        var(--wesc-hero);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wesc-editorial-hero *,
.wesc-editorial-hero::before,
.wesc-editorial-hero::after {
    border-radius: 0;
}

.wesc-editorial-hero-inner {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    padding:
        clamp(7rem, 13vh, 11rem)
        0
        clamp(3rem, 8vh, 6rem);

    color: #fff;
}

.wesc-editorial-breadcrumb {
    display: inline-flex;

    margin-bottom: 1.3rem;
    padding: .55rem .85rem;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px !important;

    background: rgba(15,23,42,.35);
    backdrop-filter: blur(12px);

    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.wesc-editorial-hero h1 {
    max-width: 950px;

    margin: 0 0 1.25rem;

    color: #fff;

    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: .98;
    letter-spacing: -.045em;

    text-shadow: 0 4px 30px rgba(0,0,0,.40);
}

.wesc-editorial-hero .section-intro {
    max-width: 850px;

    margin: 0;

    color: rgba(255,255,255,.94);

    font-size: clamp(1.05rem, 1.7vw, 1.32rem);
    line-height: 1.75;

    text-shadow: 0 3px 18px rgba(0,0,0,.35);
}

/* ======================================================
   CONTENT
   ====================================================== */

.wesc-editorial-page > .section {
    padding: clamp(3.2rem, 7vw, 6rem) 20px;
}

.wesc-editorial-page > .section:nth-of-type(even) {
    background: #ffffff;
}

.wesc-editorial-page > .section:nth-of-type(odd) {
    background: #f8fafc;
}

.wesc-editorial-page .section-content {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.wesc-editorial-page .section-content > h2 {
    max-width: 850px;

    margin: 0 0 1.3rem;

    color: #0f172a;

    font-size: clamp(2rem, 4.5vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.wesc-editorial-page .section-content > p {
    max-width: 880px;

    margin: 0 0 1.35rem;

    color: #475569;

    font-size: 1.06rem;
    line-height: 1.85;
}

/* ======================================================
   FEATURE CARDS
   ====================================================== */

.wesc-editorial-page .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1.35rem;

    width: min(1120px, 100%);
    margin: 1.7rem auto 0;
}

.wesc-editorial-page .seo-card {
    position: relative;

    padding: clamp(1.5rem, 3vw, 2.2rem);

    border: 1px solid #e2e8f0;
    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 12px 30px rgba(15,23,42,.06),
        0 2px 8px rgba(15,23,42,.04);
}

.wesc-editorial-page .seo-card h3 {
    margin: 0 0 .8rem;

    color: #0f172a;

    font-size: 1.25rem;
    line-height: 1.25;
}

.wesc-editorial-page .seo-card p {
    margin: 0;

    color: #64748b;

    line-height: 1.75;
}

/* ======================================================
   RELATED LINKS
   ====================================================== */

.wesc-editorial-page .seo-band {
    width: min(1120px, 100%);
    margin: 0 auto;

    padding: clamp(2rem, 5vw, 3.6rem);

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e3a8a
        );

    color: #fff;

    box-shadow: 0 24px 60px rgba(15,23,42,.16);
}

.wesc-editorial-page .seo-band h2 {
    margin: 0 0 1rem;

    color: #fff;

    font-size: clamp(2rem, 4vw, 3.2rem);
}

.wesc-editorial-page .seo-band p {
    max-width: 800px;

    color: rgba(255,255,255,.83);

    font-size: 1.05rem;
    line-height: 1.75;
}

.wesc-editorial-page .keyword-cloud {
    display: flex;
    flex-wrap: wrap;

    gap: .75rem;

    margin-top: 1.6rem;
}

.wesc-editorial-page .keyword-cloud a {
    display: inline-flex;
    align-items: center;

    min-height: 44px;

    padding: .7rem 1rem;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;

    color: #fff;

    background: rgba(255,255,255,.10);

    font-size: .9rem;
    font-weight: 800;

    transition:
        transform .2s ease,
        background .2s ease;
}

.wesc-editorial-page .keyword-cloud a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.18);
}

/* ======================================================
   MOBILE
   ====================================================== */

@media (max-width: 800px) {

    .wesc-editorial-hero {
        min-height: 620px;
        background-position: center;
    }

    .wesc-editorial-hero-inner {
        width: min(100% - 28px, 1180px);
        padding-bottom: 3rem;
    }

    .wesc-editorial-hero h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .wesc-editorial-hero .section-intro {
        font-size: 1rem;
        line-height: 1.65;
    }

    .wesc-editorial-page .feature-grid {
        grid-template-columns: 1fr;
    }

    .wesc-editorial-page > .section {
        padding:
            3.2rem
            16px;
    }

    .wesc-editorial-page .seo-band {
        border-radius: 20px;
    }
}
