/* Emotional Isolation page — all rules are scoped to prevent cross-page CSS bleed. */
.emotional-isolation-page {
    --ei-blue: #2f6fff;
    --ei-blue-dark: #071a42;
    --ei-red: #e6242b;
    --ei-red-dark: #7c0710;
    --ei-ink: #05070c;
    --ei-panel: #0d131d;
    --ei-panel-blue: #0a1730;
    --ei-line: #2b3a50;
    --ei-text: #f7f9ff;
    --ei-muted: #b8c8df;
    margin: 0;
    color: var(--ei-text);
    background:
        radial-gradient(circle at 5% 18%, rgba(47, 111, 255, .14), transparent 25rem),
        radial-gradient(circle at 96% 36%, rgba(230, 36, 43, .13), transparent 28rem),
        #000;
    overflow-x: hidden;
}

.emotional-isolation-page *,
.emotional-isolation-page *::before,
.emotional-isolation-page *::after {
    box-sizing: border-box;
}

.emotional-isolation-page main {
    width: min(100% - 40px, 1500px);
    margin-inline: auto;
}

.emotional-isolation-page .eyebrow {
    margin: 0 0 18px;
    color: #6fa0ff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .24em;
    line-height: 1.5;
}

.emotional-isolation-page h1,
.emotional-isolation-page h2,
.emotional-isolation-page h3,
.emotional-isolation-page p {
    overflow-wrap: anywhere;
}

.emotional-isolation-page h1,
.emotional-isolation-page h2,
.emotional-isolation-page h3 {
    margin-top: 0;
    color: #fff;
    line-height: 1.08;
}

.isolation-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(70px, 8vw, 130px) clamp(28px, 7vw, 110px);
    margin: 34px 0 28px;
    text-align: center;
    border: 1px solid #233657;
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(7, 26, 66, .94), rgba(4, 6, 12, .95) 48%, rgba(58, 3, 8, .93)),
        #05070c;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

.isolation-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .35;
    background:
        linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.08) 50%, transparent 50.3%),
        linear-gradient(transparent 49.7%, rgba(255,255,255,.05) 50%, transparent 50.3%);
    background-size: 90px 90px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.isolation-hero h1 {
    max-width: 1100px;
    margin-inline: auto;
    font-size: clamp(54px, 7.2vw, 112px);
    letter-spacing: -.045em;
}

.isolation-hero h1 span {
    color: var(--ei-red);
    text-shadow: 0 0 32px rgba(230, 36, 43, .28);
}

.hero-copy {
    max-width: 890px;
    margin: 30px auto 0;
    color: var(--ei-muted);
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 36px;
}

.hero-actions a,
.crisis-section > a {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 15px 27px;
    border-radius: 13px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hero-actions a:hover,
.crisis-section > a:hover {
    transform: translateY(-2px);
}

.primary-action {
    border: 1px solid #ff4248;
    background: linear-gradient(135deg, #f02d34, #a40913);
    box-shadow: 0 12px 32px rgba(230, 36, 43, .25);
}

.secondary-action {
    border: 1px solid #477eea;
    background: linear-gradient(135deg, #2f6fff, #143f9d);
    box-shadow: 0 12px 32px rgba(47, 111, 255, .22);
}

.feature-image {
    padding: clamp(10px, 1.5vw, 20px);
    border: 2px solid var(--ei-blue);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(47,111,255,.12), rgba(230,36,43,.1));
    box-shadow: 0 0 38px rgba(47,111,255,.2), 0 0 30px rgba(230,36,43,.12);
}

.feature-image img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    border-radius: 18px;
    background: #050505;
}

.opening-message,
.evidence-section,
.definitions-section,
.research-section,
.signs-section,
.action-section,
.closing-cta,
.sources-section {
    margin-top: clamp(55px, 7vw, 105px);
}

.opening-message {
    padding: clamp(35px, 5vw, 75px);
    text-align: center;
    border-top: 3px solid var(--ei-blue);
    border-bottom: 3px solid var(--ei-red);
    background: linear-gradient(100deg, rgba(47,111,255,.08), rgba(230,36,43,.08));
}

.opening-message h2,
.section-heading h2,
.closing-cta h2 {
    font-size: clamp(38px, 5vw, 68px);
}

.opening-message > p:not(.eyebrow),
.section-heading > p:not(.eyebrow),
.closing-cta > p:not(.eyebrow) {
    max-width: 1000px;
    margin: 20px auto 0;
    color: var(--ei-muted);
    font-size: clamp(18px, 1.7vw, 24px);
    line-height: 1.7;
}

.opening-message blockquote {
    max-width: 940px;
    margin: 34px auto 0;
    padding: 24px 32px;
    color: #fff;
    font-size: clamp(22px, 2.3vw, 34px);
    font-weight: 800;
    font-style: italic;
    line-height: 1.45;
    border-left: 5px solid var(--ei-blue);
    border-right: 5px solid var(--ei-red);
}

.section-heading {
    max-width: 1050px;
    margin: 0 auto 38px;
    text-align: center;
}

.statistics-grid,
.definition-grid,
.action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.stat-card,
.definition-grid article,
.action-grid article {
    padding: 30px;
    border: 1px solid #2d4772;
    border-radius: 22px;
    background: linear-gradient(150deg, #0d182c, #090d14);
    box-shadow: inset 0 3px 0 var(--ei-blue);
}

.stat-card strong {
    display: block;
    color: #68a0ff;
    font-size: clamp(40px, 4vw, 64px);
    line-height: 1;
}

.stat-card h3,
.definition-grid h3,
.action-grid h3 {
    margin: 22px 0 12px;
    font-size: 24px;
}

.stat-card p,
.definition-grid p,
.action-grid p {
    margin: 0;
    color: var(--ei-muted);
    font-size: 17px;
    line-height: 1.65;
}

.stat-card a,
.research-list a,
.sources-section a {
    display: inline-block;
    margin-top: 18px;
    color: #80abff;
    font-weight: 800;
}

.stat-card-alert {
    border-color: #71313a;
    box-shadow: inset 0 3px 0 var(--ei-red);
}

.stat-card-alert strong {
    color: #ff5860;
}

.definition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.definition-grid article {
    position: relative;
    min-height: 230px;
}

.definition-grid article > span,
.action-grid article > span {
    color: #5e91f4;
    font-size: 38px;
    font-weight: 900;
}

.research-list {
    max-width: 1160px;
    margin-inline: auto;
}

.research-list details,
.sources-section details {
    margin: 15px 0;
    border: 1px solid #2d4772;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(10, 19, 34, .92);
}

.research-list summary,
.sources-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.research-list summary::-webkit-details-marker,
.sources-section summary::-webkit-details-marker {
    display: none;
}

.research-list summary b,
.sources-section summary span {
    color: #6f9dff;
    font-size: 30px;
    transition: transform .2s ease;
}

.research-list details[open] summary b,
.sources-section details[open] summary span {
    transform: rotate(45deg);
}

.research-list details > div,
.sources-section details > div {
    padding: 0 28px 28px;
    border-top: 1px solid #253650;
}

.research-list details p,
.sources-section details p,
.sources-section li {
    color: var(--ei-muted);
    font-size: 18px;
    line-height: 1.7;
}

.signs-layout {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 24px;
}

.signs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.signs-list article {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid #273b5e;
    border-radius: 17px;
    background: #0b111b;
}

.signs-list span {
    flex: 0 0 auto;
    color: #6096ff;
    font-size: 18px;
    font-weight: 900;
}

.signs-list p {
    margin: 0;
    color: #d7e1f1;
    font-size: 17px;
    line-height: 1.55;
}

.why-men-hide {
    padding: 38px;
    border: 1px solid #81323a;
    border-radius: 22px;
    background: linear-gradient(145deg, #21070a, #0b0d12 62%);
    box-shadow: inset 0 3px 0 var(--ei-red);
}

.why-men-hide h3 {
    font-size: clamp(34px, 3vw, 48px);
}

.why-men-hide p {
    color: #d3dbe7;
    font-size: 18px;
    line-height: 1.7;
}

.why-men-hide .emphasis {
    margin-top: 28px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.action-grid article {
    min-height: 285px;
}

.crisis-section {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    margin-top: clamp(55px, 7vw, 100px);
    padding: 34px 38px;
    border: 2px solid #ff3b43;
    border-radius: 24px;
    background: linear-gradient(100deg, #30070b, #0c111a 70%);
    box-shadow: 0 0 34px rgba(230,36,43,.16);
}

.crisis-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--ei-red);
    font-size: 44px;
    font-weight: 900;
}

.crisis-section h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 3vw, 44px);
}

.crisis-section p {
    margin: 0;
    color: #dae2ee;
    font-size: 18px;
    line-height: 1.55;
}

.crisis-section .small-print {
    margin-top: 8px;
    color: #aab8cc;
    font-size: 14px;
}

.crisis-section > a {
    min-width: 130px;
    background: var(--ei-red);
}

.closing-cta {
    padding: clamp(50px, 7vw, 95px) clamp(25px, 6vw, 90px);
    text-align: center;
    border: 1px solid #35558a;
    border-radius: 30px;
    background:
        radial-gradient(circle at left, rgba(47,111,255,.2), transparent 40%),
        radial-gradient(circle at right, rgba(230,36,43,.18), transparent 40%),
        #090d14;
}

.sources-section {
    margin-bottom: 75px;
}

.sources-section ul {
    padding-left: 22px;
}

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

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

@media (max-width: 760px) {
    .emotional-isolation-page main {
        width: min(100% - 24px, 1500px);
    }

    .isolation-hero {
        margin-top: 18px;
        padding: 48px 20px;
        border-radius: 22px;
    }

    .isolation-hero h1 {
        font-size: clamp(42px, 12vw, 66px);
    }

    .hero-copy {
        font-size: 18px;
        line-height: 1.55;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .feature-image {
        padding: 7px;
        border-radius: 18px;
    }

    .feature-image img {
        aspect-ratio: auto;
        border-radius: 12px;
    }

    .opening-message,
    .evidence-section,
    .definitions-section,
    .research-section,
    .signs-section,
    .action-section,
    .closing-cta,
    .sources-section {
        margin-top: 48px;
    }

    .opening-message {
        padding: 34px 18px;
    }

    .opening-message h2,
    .section-heading h2,
    .closing-cta h2 {
        font-size: clamp(34px, 9vw, 49px);
    }

    .opening-message blockquote {
        padding: 18px 16px;
        font-size: 20px;
    }

    .statistics-grid,
    .definition-grid,
    .action-grid,
    .signs-list {
        grid-template-columns: 1fr;
    }

    .stat-card,
    .definition-grid article,
    .action-grid article {
        min-height: 0;
        padding: 24px;
    }

    .stat-card strong {
        font-size: 46px;
    }

    .research-list details:not(:first-child) {
        margin-top: 10px;
    }

    .research-list summary,
    .sources-section summary {
        padding: 20px;
        font-size: 18px;
    }

    .research-list details > div,
    .sources-section details > div {
        padding: 0 20px 22px;
    }

    .research-list details p,
    .sources-section details p,
    .sources-section li {
        font-size: 16px;
    }

    .why-men-hide {
        padding: 28px 24px;
    }

    .crisis-section {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 22px;
        text-align: center;
    }

    .crisis-icon {
        margin-inline: auto;
    }

    .crisis-section > a {
        width: 100%;
    }

    .closing-cta {
        padding: 45px 20px;
    }

}

@media (max-width: 430px) {
    .emotional-isolation-page .eyebrow {
        font-size: 12px;
        letter-spacing: .18em;
    }

    .isolation-hero h1 {
        font-size: 39px;
    }

    .opening-message h2,
    .section-heading h2,
    .closing-cta h2 {
        font-size: 32px;
    }

    .stat-card,
    .definition-grid article,
    .action-grid article,
    .signs-list article {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .emotional-isolation-page *,
    .emotional-isolation-page *::before,
    .emotional-isolation-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
