/* ============================================================
   DEARDEN2007 — HEALTHY RELATIONSHIPS
   Red / black / blue, interviews, research, and family values
   ============================================================ */

:root {
    --rel-black: #020305;
    --rel-panel: #0a111d;
    --rel-red: #e51d30;
    --rel-red-bright: #ff3547;
    --rel-red-dark: #7b0b16;
    --rel-blue: #286dff;
    --rel-blue-dark: #153b93;
    --rel-blue-light: #83b2ff;
    --rel-muted: #b7c9e3;
    --rel-line: #29496f;
}

* { box-sizing: border-box; }

.relationships-page {
    margin: 0;
    color: #fff;
    background:
        radial-gradient(circle at 6% 8%, rgba(40,109,255,.17), transparent 30rem),
        radial-gradient(circle at 94% 8%, rgba(229,29,48,.15), transparent 30rem),
        var(--rel-black);
}

.relationships-page main { overflow: hidden; }

.relationships-hero,
.relationship-position,
.relationship-split,
.relationships-section,
.interview-question-wall,
.family-goal,
.relationship-safety,
.relationships-cta {
    width: min(1520px, calc(100% - 48px));
    margin-inline: auto;
}

/* HERO */

.relationships-hero {
    position: relative;
    width: min(1520px, calc(100% - 48px));
    min-height: 0;
    margin: 24px auto 0;
    overflow: hidden;
    border: 1px solid #2f4e72;
    border-radius: 28px;
    background: #000;
    box-shadow: 0 35px 95px rgba(0, 0, 0, .54);
}

.relationships-hero > img {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.relationships-hero__overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 690px;
    padding: 38px 4% 58px;
    background:
        linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.28) 48%, rgba(0,0,0,.32)),
        linear-gradient(0deg, rgba(0,0,0,.84), transparent 52%);
}

.relationships-hero__overlay > a {
    align-self: flex-start;
    color: var(--rel-blue-light);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-decoration: none;
}

.relationships-hero__overlay > div {
    max-width: 820px;
}

.relationships-hero__overlay span,
.relationships-heading > span,
.relationship-position span,
.interview-question-wall header span,
.family-goal__statement > span,
.relationship-safety > span,
.relationships-cta span {
    color: var(--rel-red-bright);
    font-size: .78rem;
    font-weight: 1000;
    letter-spacing: .18em;
}

.relationships-hero h1 {
    margin: 14px 0 20px;
    font-size: clamp(3rem, 6vw, 6.4rem);
    line-height: .92;
}

.relationships-hero h1 strong,
.relationship-position h2 strong,
.relationships-heading h2 strong,
.family-goal h2 strong,
.relationship-safety h2 strong,
.relationships-cta h2 strong,
.relationship-work-title strong {
    display: block;
    color: var(--rel-blue-light);
}

.relationships-hero p {
    max-width: 720px;
    color: #d4dfed;
    font-size: 1.13rem;
    line-height: 1.7;
}

.relationship-button {
    padding: 15px 22px;
    border-radius: 9px;
    color: #fff;
    font-weight: 1000;
    text-decoration: none;
}

.relationship-button--red {
    background: linear-gradient(135deg, var(--rel-red-bright), var(--rel-red-dark));
}

.relationship-button--blue {
    background: linear-gradient(135deg, var(--rel-blue), var(--rel-blue-dark));
}

/* POSITION */

.relationship-position {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 65px;
    padding: 55px;
    border: 1px solid #6e202b;
    border-left: 9px solid var(--rel-red-bright);
    border-radius: 25px;
    background:
        linear-gradient(120deg, rgba(76,8,17,.92), rgba(7,11,18,.98));
}

.relationship-position img {
    width: 185px;
    height: 185px;
    border: 5px solid var(--rel-blue);
    border-radius: 50%;
    object-fit: cover;
}

.relationship-position h2,
.relationships-heading h2,
.family-goal h2,
.relationship-safety h2,
.relationships-cta h2 {
    margin: 14px 0 18px;
    font-size: clamp(2.4rem, 4.8vw, 5.2rem);
    line-height: .96;
}

.relationship-position p,
.relationships-heading p,
.family-goal p,
.relationship-safety p,
.relationships-cta p,
.relationship-principles p,
.evidence-grid p,
.relationship-work-grid p {
    color: var(--rel-muted);
    line-height: 1.7;
}

/* SPLIT */

.relationship-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 24px;
    padding: 105px 0;
}

.relationship-side {
    padding: 40px;
    border-radius: 24px;
}

.relationship-side--healthy {
    border: 1px solid #31577f;
    border-top: 8px solid var(--rel-blue);
    background:
        linear-gradient(145deg, rgba(10,30,60,.94), rgba(7,11,18,.98));
}

.relationship-side--unhealthy {
    border: 1px solid #6e202b;
    border-top: 8px solid var(--rel-red-bright);
    background:
        linear-gradient(145deg, rgba(78,8,18,.92), rgba(7,11,18,.98));
}

.relationship-side header span {
    color: var(--rel-blue-light);
    font-size: .76rem;
    font-weight: 1000;
    letter-spacing: .14em;
}

.relationship-side--unhealthy header span { color: var(--rel-red-bright); }

.relationship-side h2 {
    margin: 12px 0 28px;
    font-size: clamp(2.5rem, 4vw, 4.6rem);
    line-height: .95;
}

.relationship-principles {
    display: grid;
    gap: 13px;
}

.relationship-principles > div {
    padding: 18px;
    border: 1px solid #315477;
    border-radius: 12px;
    background: rgba(0,0,0,.28);
}

.relationship-side--unhealthy .relationship-principles > div {
    border-color: #6d2b35;
}

.relationship-principles strong {
    color: var(--rel-blue-light);
    letter-spacing: .1em;
}

.relationship-side--unhealthy .relationship-principles strong {
    color: var(--rel-red-bright);
}

.relationship-principles p { margin-bottom: 0; }

/* GENERAL */

.relationships-section {
    padding: 105px 0;
}

.relationships-heading {
    max-width: 1080px;
    margin-bottom: 45px;
}

/* VIDEO */

.relationship-featured-video {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    overflow: hidden;
    border: 1px solid #31577f;
    border-radius: 24px;
    background: #070b12;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.relationship-featured-video > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    border-left: 7px solid var(--rel-red-bright);
    background:
        linear-gradient(145deg, rgba(77,8,17,.9), rgba(8,12,19,.98));
}

.relationship-featured-video span,
.relationship-video-grid span {
    color: var(--rel-blue-light);
    font-size: .74rem;
    font-weight: 1000;
    letter-spacing: .13em;
}

.relationship-featured-video h3 {
    margin: 18px 0;
    font-size: clamp(2rem, 3.6vw, 3.8rem);
    line-height: 1;
}

.relationship-featured-video strong,
.relationship-video-grid strong {
    color: var(--rel-red-bright);
}

.relationship-featured-video p,
.relationship-video-grid p {
    color: var(--rel-muted);
    line-height: 1.68;
}

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

.relationship-video-grid article {
    overflow: hidden;
    border: 1px solid var(--rel-line);
    border-top: 5px solid var(--rel-blue);
    border-radius: 17px;
    background: var(--rel-panel);
}

.relationship-video-grid article:nth-child(even) {
    border-top-color: var(--rel-red-bright);
}

.relationship-video-grid article > div:last-child {
    padding: 23px;
}

.relationship-video-empty {
    padding: 75px 35px;
    border: 1px dashed #3b5f89;
    border-left: 8px solid var(--rel-red-bright);
    border-radius: 20px;
    background: #080e18;
    text-align: center;
}

.relationship-video-empty span {
    color: var(--rel-blue-light);
    font-weight: 1000;
    letter-spacing: .15em;
}

.relationship-video-empty h3 {
    margin: 20px 0 12px;
    font-size: 2rem;
}

.relationship-video-empty p {
    max-width: 750px;
    margin-inline: auto;
    color: var(--rel-muted);
}

/* QUESTIONS */

.interview-question-wall {
    padding: 70px;
    border: 1px solid #6e202b;
    border-left: 9px solid var(--rel-red-bright);
    border-radius: 25px;
    background:
        linear-gradient(120deg, rgba(77,8,17,.9), rgba(7,11,18,.98));
}

.interview-question-wall header h2 {
    margin: 12px 0 34px;
    font-size: clamp(2.5rem, 5vw, 5rem);
}

.interview-question-wall > div {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
}

.interview-question-wall article {
    min-height: 210px;
    padding: 24px;
    border: 1px solid #6c3240;
    border-radius: 15px;
    background: rgba(0,0,0,.3);
}

.interview-question-wall article span {
    color: var(--rel-blue-light);
    font-size: .76rem;
    font-weight: 1000;
}

.interview-question-wall article h3 {
    margin-top: 35px;
    font-size: 1.4rem;
}

/* EVIDENCE */

.relationships-section--evidence {
    border-bottom: 1px solid #243b59;
}

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

.evidence-grid article {
    min-height: 390px;
    padding: 30px;
    border: 1px solid var(--rel-line);
    border-top: 6px solid var(--rel-blue);
    border-radius: 19px;
    background:
        linear-gradient(145deg, rgba(17,27,43,.98), rgba(6,9,15,.98));
}

.evidence-grid article:nth-child(2) { border-top-color: var(--rel-red-bright); }

.evidence-grid span {
    color: var(--rel-blue-light);
    font-size: .74rem;
    font-weight: 1000;
    letter-spacing: .13em;
}

.evidence-grid h3 {
    margin: 38px 0 14px;
    font-size: 1.7rem;
}

.evidence-grid a {
    display: inline-block;
    margin-top: 22px;
    color: var(--rel-red-bright);
    font-weight: 1000;
    text-decoration: none;
}

.evidence-honesty {
    margin-top: 22px;
    padding: 28px;
    border: 1px solid #31577f;
    border-left: 7px solid var(--rel-blue);
    border-radius: 15px;
    background: #08101c;
}

.evidence-honesty strong {
    color: var(--rel-red-bright);
    letter-spacing: .08em;
}

.evidence-honesty p {
    color: var(--rel-muted);
    line-height: 1.7;
}

/* FAMILY */

.family-goal {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
    align-items: start;
    margin-bottom: 105px;
    padding: 68px;
    border: 1px solid #31577f;
    border-right: 9px solid var(--rel-blue);
    border-radius: 26px;
    background:
        linear-gradient(120deg, rgba(10,30,60,.94), rgba(7,11,18,.98));
}

.family-goal__pillars {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px;
}

.family-goal__pillars article {
    min-height: 145px;
    padding: 20px;
    border: 1px solid #315477;
    border-radius: 13px;
    background: rgba(0,0,0,.28);
}

.family-goal__pillars span {
    color: var(--rel-red-bright);
    font-size: .74rem;
    font-weight: 1000;
}

.family-goal__pillars h3 {
    margin: 30px 0 0;
}

/* WORK */

.relationship-work-title {
    margin: 14px 0 18px;
    font-size: clamp(2.5rem,4.6vw,4.9rem);
    line-height: 1;
    text-transform: uppercase;
}

.relationship-work-title strong {
    margin-top: 8px;
    font-size: .68em;
}

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

.relationship-work-grid article {
    min-height: 275px;
    padding: 28px;
    border: 1px solid var(--rel-line);
    border-top: 5px solid var(--rel-red-bright);
    border-radius: 17px;
    background: var(--rel-panel);
}

.relationship-work-grid article:nth-child(even) {
    border-top-color: var(--rel-blue);
}

.relationship-work-grid span {
    color: var(--rel-blue-light);
    font-size: .74rem;
    font-weight: 1000;
    letter-spacing: .13em;
}

.relationship-work-grid h3 {
    margin: 36px 0 12px;
    font-size: 1.6rem;
}

/* SAFETY */

.relationship-safety {
    padding: 55px;
    border: 1px solid #8a2533;
    border-left: 9px solid var(--rel-red-bright);
    border-radius: 23px;
    background:
        linear-gradient(120deg, rgba(79,8,18,.94), rgba(7,11,18,.98));
}

/* CTA */

.relationships-cta {
    display: grid;
    grid-template-columns: 155px 1fr auto;
    gap: 34px;
    align-items: center;
    margin: 90px auto 55px;
    padding: 42px;
    border: 1px solid #70202a;
    border-bottom: 8px solid var(--rel-red-bright);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(72,8,16,.92), rgba(8,12,19,.98));
}

.relationships-cta img {
    width: 100%;
    border: 4px solid var(--rel-blue);
    border-radius: 50%;
}

.relationships-cta > a {
    padding: 16px 22px;
    border-radius: 10px;
    color: #fff;
    background:
        linear-gradient(135deg, var(--rel-red-bright), var(--rel-red-dark));
    font-weight: 1000;
    text-decoration: none;
}

@media (max-width: 1080px) {
    .relationship-position,
    .relationship-featured-video,
    .family-goal {
        grid-template-columns: 1fr;
    }

    .relationship-split {
        grid-template-columns: 1fr;
    }

    .relationship-video-grid,
    .evidence-grid,
    .relationship-work-grid,
    .interview-question-wall > div {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .relationships-cta {
        grid-template-columns: 120px 1fr;
    }

    .relationships-cta > a {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .relationships-hero,
    .relationship-position,
    .relationship-split,
    .relationships-section,
    .interview-question-wall,
    .family-goal,
    .relationship-safety,
    .relationships-cta {
        width: min(100% - 24px, 1520px);
    }

    .relationships-hero,
    .relationships-hero__overlay {
        min-height: 620px;
    }

    .relationships-hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.7rem);
    }

    .relationship-position,
    .interview-question-wall,
    .family-goal,
    .relationship-safety,
    .relationships-cta {
        padding: 25px;
    }

    .relationship-video-grid,
    .evidence-grid,
    .relationship-work-grid,
    .interview-question-wall > div,
    .family-goal__pillars {
        grid-template-columns: 1fr;
    }

    .relationship-featured-video > div:last-child {
        border-top: 7px solid var(--rel-red-bright);
        border-left: 0;
    }

    .relationships-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .relationships-cta img {
        width: 140px;
        margin: auto;
    }
}

/* ============================================================
   HERO INFORMATION PANEL
   ============================================================ */

.relationships-hero-actions {
    display: block;
    width: min(1520px, calc(100% - 48px));
    margin: 22px auto 0;
    padding: 34px 40px;
    overflow: hidden;
    border: 1px solid #31577f;
    border-left: 8px solid var(--rel-red-bright);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(64, 7, 15, .94),
            rgba(7, 13, 24, .98)
        );
}

.relationships-hero-actions > div {
    width: 100%;
    max-width: 1050px;
}

.relationships-hero-actions span {
    display: block;
    margin-bottom: 14px;
    color: var(--rel-red-bright);
    font-size: .78rem;
    font-weight: 1000;
    letter-spacing: .17em;
}

.relationships-hero-actions h1 {
    max-width: 1000px;
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    line-height: .98;
    letter-spacing: -.025em;
}

.relationships-hero-actions h1 strong {
    display: block;
    margin-top: 5px;
    color: var(--rel-blue-light);
}

.relationships-hero-actions p {
    max-width: 900px;
    margin: 20px 0 0;
    color: var(--rel-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.relationships-hero-actions nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 13px;
    width: 100%;
    margin-top: 27px;
}

.relationships-hero-actions .relationship-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 240px;
    min-height: 54px;
    margin: 0;
    padding: 14px 22px;
    white-space: normal;
    text-align: center;
}

/* ============================================================
   HERO INFORMATION PANEL
   ============================================================ */

.relationships-hero-actions {
    display: block;
    width: min(1520px, calc(100% - 48px));
    margin: 22px auto 0;
    padding: 34px 40px;
    overflow: hidden;
    border: 1px solid #31577f;
    border-left: 8px solid var(--rel-red-bright);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(64, 7, 15, .94),
            rgba(7, 13, 24, .98)
        );
}

.relationships-hero-actions > div {
    width: 100%;
    max-width: 1050px;
}

.relationships-hero-actions span {
    display: block;
    margin-bottom: 14px;
    color: var(--rel-red-bright);
    font-size: .78rem;
    font-weight: 1000;
    letter-spacing: .17em;
}

.relationships-hero-actions h1 {
    max-width: 1000px;
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    line-height: .98;
    letter-spacing: -.025em;
}

.relationships-hero-actions h1 strong {
    display: block;
    margin-top: 5px;
    color: var(--rel-blue-light);
}

.relationships-hero-actions p {
    max-width: 900px;
    margin: 20px 0 0;
    color: var(--rel-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.relationships-hero-actions nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 13px;
    width: 100%;
    margin-top: 27px;
}

.relationships-hero-actions .relationship-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 240px;
    min-height: 54px;
    margin: 0;
    padding: 14px 22px;
    white-space: normal;
    text-align: center;
}