/*
Theme Name: DeFacto
Theme URI: https://preview.jargaldefacto.com
Author: DeFacto
Description: Custom DeFacto Media 2.0 theme
Version: 0.1
Text Domain: defacto
*/

:root {
    --df-blue: #0b4f73;
    --df-blue-dark: #073b57;
    --df-red: #ef3b2d;
    --df-text: #1d2329;
    --df-muted: #66717a;
    --df-line: #e5e8eb;
    --df-bg: #ffffff;
    --df-soft: #f5f7f8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--df-text);
    background: var(--df-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.df-header {
    background: linear-gradient(90deg, var(--df-blue-dark), var(--df-blue));
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.df-header-inner {
    max-width: 1500px;
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 0 28px;
}

.df-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
}

.df-mark {
    width: 58px;
    height: 58px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 800;
}

.df-wordmark,
.df-footer-wordmark {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .02em;
}

.df-tagline,
.df-footer-tagline {
    font-size: 15px;
    opacity: .9;
    margin-top: 2px;
}

.df-main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.df-main-nav a {
    font-size: 14px;
    font-weight: 700;
}

.df-main-nav a:hover {
    color: #ffb4ad;
}

.df-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    font-weight: 700;
}

.df-language {
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 700;
}

.df-subscribe {
    background: var(--df-red);
    padding: 14px 20px;
    border-radius: 3px;
}

.df-hero {
    background: linear-gradient(90deg, var(--df-blue-dark) 0%, var(--df-blue) 45%, #173343 100%);
    color: #fff;
}

.df-hero-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 520px;
}

.df-hero-copy {
    padding: 60px 36px 60px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.df-kicker {
    color: var(--df-red);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.df-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(48px, 5vw, 76px);
    line-height: .98;
    margin: 0 0 22px;
    max-width: 680px;
    font-weight: 500;
}

.df-hero p {
    font-size: 20px;
    line-height: 1.5;
    max-width: 560px;
    margin: 0 0 28px;
}

.df-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.df-button-primary {
    background: var(--df-red);
    color: #fff;
    padding: 15px 22px;
    font-weight: 800;
}

.df-button-link {
    border-bottom: 2px solid var(--df-red);
    padding-bottom: 5px;
    font-weight: 700;
}

.df-hero-media {
    min-height: 520px;
}

.df-placeholder,
.df-card-image,
.df-review-video {
    background: #d8dde1;
    color: #59636c;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.df-placeholder {
    height: 100%;
    min-height: 520px;
}

.df-section {
    max-width: 1500px;
    margin: 0 auto;
    padding: 42px 48px;
    border-bottom: 1px solid var(--df-line);
}

.df-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.df-section-heading h2 {
    margin: 0;
    font-size: 19px;
    letter-spacing: .01em;
}

.df-section-heading a {
    color: var(--df-red);
    font-size: 13px;
    font-weight: 800;
}

.df-grid {
    display: grid;
    gap: 24px;
}

.df-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

.df-card-image {
    aspect-ratio: 16/9;
    margin-bottom: 14px;
}

.df-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.df-card p,
.df-section-intro {
    color: var(--df-muted);
}

.df-review-block {
    background: var(--df-blue-dark);
    color: #fff;
    padding: 46px max(48px, calc((100vw - 1500px)/2 + 48px));
}

.df-section-heading.light a {
    color: #fff;
}

.df-review-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.df-review-video {
    min-height: 340px;
    background: #102c3b;
    color: #fff;
    font-size: 34px;
}

.df-review-points {
    display: grid;
    align-content: center;
    gap: 18px;
    font-size: 28px;
}

.df-archive-block {
    max-width: 1500px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0d567d, #12374c);
    color: #fff;
    padding: 56px;
}

.df-archive-block h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 44px;
    margin: 0 0 14px;
}

.df-archive-block a {
    color: #fff;
    font-weight: 800;
}

.df-newsletter {
    max-width: 1500px;
    margin: 0 auto;
    padding: 38px 48px;
    background: var(--df-blue);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.df-newsletter h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 42px;
    margin: 0 0 10px;
}

.df-newsletter-form {
    display: flex;
}

.df-newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 16px;
}

.df-newsletter-form button {
    border: 0;
    background: var(--df-red);
    color: #fff;
    padding: 0 24px;
    font-weight: 800;
}

.df-footer {
    background: var(--df-blue-dark);
    color: #fff;
    padding: 46px 48px;
}

.df-footer-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 50px;
}

.df-footer-brand p {
    color: rgba(255,255,255,.75);
    max-width: 300px;
    line-height: 1.5;
}

.df-footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.df-footer-links h4 {
    font-size: 12px;
    margin: 0 0 14px;
    opacity: .75;
}

.df-footer-links a {
    display: block;
    margin: 0 0 9px;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .df-main-nav {
        display: none;
    }

    .df-header-inner {
        justify-content: space-between;
    }

    .df-hero-inner {
        grid-template-columns: 1fr;
    }

    .df-hero-media {
        min-height: 360px;
    }

    .df-placeholder {
        min-height: 360px;
    }

    .df-grid-4,
    .df-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .df-footer-inner,
    .df-newsletter {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .df-header-actions .df-explore span,
    .df-language,
    .df-subscribe {
        display: none;
    }

    .df-header-inner,
    .df-section,
    .df-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .df-brand {
        min-width: 0;
    }

    .df-mark {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .df-wordmark {
        font-size: 24px;
    }

    .df-hero-copy {
        padding: 42px 22px;
    }

    .df-hero h1 {
        font-size: 46px;
    }

    .df-grid-4,
    .df-grid-3,
    .df-review-inner,
    .df-footer-links {
        grid-template-columns: 1fr;
    }
}

/* Normalize editorial card images */
.df-card-image {
    overflow: hidden;
}

.df-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Editorial card typography refinement */
.df-card h3 {
    font-size: 20px;
    line-height: 1.08;
    margin-bottom: 8px;
}

/* Hero headline refinement */
.df-hero h1 {
    font-size: clamp(42px, 4vw, 62px);
    line-height: 1.00;
    margin-bottom: 20px;
}

/* Archive editorial feature layout */
.df-archive-inner {
    display: grid;
    grid-template-columns: 38% 62%;
    gap: 40px;
    align-items: center;
}

.df-archive-copy {
    min-width: 0;
}

.df-archive-media {
    overflow: hidden;
}

.df-archive-media img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .df-archive-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Archive final proportion refinement */
.df-archive-inner {
    grid-template-columns: 42% 58%;
}

/* Final interview card typography refinement */
.df-interviews .df-card h3 {
    font-size: 18px;
    line-height: 1.06;
    margin-bottom: 10px;
}
/* INTERVIEW ARCHIVE PAGE */

.df-interview-archive {
    background: #ffffff;
}

.df-interview-archive-header {
    background: #0f5675;
    color: #ffffff;
    padding: 55px 5%;
}

.df-interview-archive-header h1 {
    font-size: 48px;
    line-height: 1;
    margin: 8px 0 16px;
}

.df-interview-archive-header p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.5;
}
.df-interview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
    padding: 45px 5%;
}

.df-interview-card {
    min-width: 0;
}

.df-interview-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.df-interview-card h2 {
    font-size: 21px;
    line-height: 1.08;
    margin: 12px 0 8px;
}

.df-interview-card .df-date {
    font-size: 14px;
    opacity: 0.65;
}.df-archive-pagination {
    padding: 10px 5% 55px;
    font-size: 14px;
    font-weight: 700;
}

.df-archive-pagination a,
.df-archive-pagination .current {
    display: inline-block;
    margin-right: 8px;
    padding: 8px 12px;
}

@media (max-width: 900px) {
    .df-interview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .df-interview-archive-header h1 {
        font-size: 38px;
    }
}

@media (max-width: 600px) {
    .df-interview-grid {
        grid-template-columns: 1fr;
    }
}
/* INTERVIEW ARCHIVE — correct selectors */

.df-archive-page {
    background: #ffffff;
}

.df-archive-hero {
    background: #0f5675;
    color: #ffffff;
    padding: 52px 5%;
}

.df-archive-kicker {
    color: #ff4b3e;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.df-archive-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 48px;
    line-height: 1;
    margin: 0 0 16px;
}

.df-archive-hero p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}

.df-archive-content {
    padding: 42px 5% 55px;
}

.df-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
}

.df-archive-card {
    min-width: 0;
}

.df-archive-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.df-archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.df-archive-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 21px;
    line-height: 1.08;
    margin: 12px 0 8px;
}

.df-archive-card-meta {
    font-size: 14px;
    opacity: .65;
}

@media (max-width: 900px) {
    .df-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .df-archive-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   DEFACTO VOICES
   ========================================================= */

.df-voices-page {
    background: #fff;
    color: #17202a;
}

.df-voices-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* Hero */
.df-voices-hero {
    background: #0f607c;
    color: #fff;
    padding: 42px 0 40px;
}

.df-voices-kicker {
    color: #ef3e36;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.df-voices-hero h1 {
    margin: 0;
    max-width: 760px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.3vw, 58px);
    line-height: .98;
    letter-spacing: -.025em;
    font-weight: 700;
}

.df-voices-hero p {
    margin: 18px 0 0;
    max-width: 720px;
    color: rgba(255,255,255,.92);
    font-size: 16px;
    line-height: 1.55;
}

/* Archive */
.df-voices-content {
    padding: 34px 0 70px;
}

.df-section-heading {
    border-bottom: 2px solid #17202a;
    margin-bottom: 24px;
}

.df-section-heading h2 {
    display: inline-block;
    margin: 0 0 -2px;
    padding: 0 0 10px;
    border-bottom: 4px solid #ef3e36;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .03em;
}

/* Grid */
.df-voices-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
}

.df-voices-card {
    min-width: 0;
}

.df-voices-image {
    display: block;
    overflow: hidden;
    background: #eef1f3;
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
}

.df-voices-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.df-voices-card:hover .df-voices-image img {
    transform: scale(1.025);
}

.df-voices-author {
    color: #ef3e36;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
    margin-bottom: 7px;
}

.df-voices-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.12;
    font-weight: 700;
}

.df-voices-card h3 a {
    color: #17202a;
    text-decoration: none;
}

.df-voices-card h3 a:hover {
    color: #0f607c;
}

.df-voices-date {
    margin-top: 9px;
    color: #737b82;
    font-size: 12px;
    line-height: 1.3;
}

/* Tablet */
@media (max-width: 900px) {
    .df-voices-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 620px) {
    .df-voices-wrap {
        width: min(100% - 30px, 1180px);
    }

    .df-voices-hero {
        padding: 32px 0;
    }

    .df-voices-hero h1 {
        font-size: 38px;
    }

    .df-voices-content {
        padding-top: 26px;
    }

    .df-voices-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .df-voices-card h3 {
        font-size: 21px;
    }
}


/* DeFacto language dropdown */
.df-language-switcher {
    position: relative;
}

.df-language-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    padding: 4px 6px;
    cursor: pointer;
}

.df-current-flag {
    font-size: 24px;
    line-height: 1;
}

.df-language-arrow {
    color: #fff;
    font-size: 9px;
}

.df-language-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: #fff;
    padding: 6px 0;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    z-index: 9999;
}

.df-language-switcher:hover .df-language-menu,
.df-language-switcher:focus-within .df-language-menu {
    display: block;
}

.df-language-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
}

.df-language-menu a:hover {
    background: #f3f3f3;
}

.df-language-menu a span:first-child {
    font-size: 20px;
}

/* DeFacto language dropdown */
.df-language-switcher {
    position: relative;
}

.df-language-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    padding: 4px 6px;
    cursor: pointer;
}

.df-current-flag {
    font-size: 24px;
    line-height: 1;
}

.df-language-arrow {
    color: #fff;
    font-size: 9px;
}

.df-language-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: #fff;
    padding: 6px 0;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    z-index: 9999;
}

.df-language-switcher:hover .df-language-menu,
.df-language-switcher:focus-within .df-language-menu {
    display: block;
}

.df-language-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
}

.df-language-menu a:hover {
    background: #f3f3f3;
}

.df-language-menu a span:first-child {
    font-size: 20px;
}

/* DeFacto language selector — dropdown layout fix */
.df-language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.df-language {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 36px;
    padding: 4px 8px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.df-language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 165px;
    min-width: 165px;
    padding: 7px 0;
    margin: 0;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    z-index: 99999;
}

.df-language-menu a {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.2;
}

.df-language-menu a span:first-child {
    display: inline-block;
    width: 25px;
    font-size: 20px;
    line-height: 1;
    text-align: center;
}

.df-language-menu a:hover {
    background: #f3f3f3;
}


/* DeFacto nested Other-language submenu */
.df-language-other-wrap {
    position: relative;
}

.df-language-other {
    display: flex;
    align-items: center;
    width: 100%;
}

.df-language-subarrow {
    margin-left: auto;
    padding-left: 12px;
    font-size: 16px;
}

.df-language-submenu {
    display: none;
    position: absolute;
    top: 0;
    right: 100%;
    width: 155px;
    min-width: 155px;
    padding: 6px 0;
    margin-right: 4px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    z-index: 100000;
}

.df-language-other-wrap:hover .df-language-submenu,
.df-language-other-wrap:focus-within .df-language-submenu {
    display: block;
}

.df-language-submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 14px;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
}

.df-language-submenu a:hover {
    background: #f3f3f3;
}

.df-language-submenu a span:first-child {
    width: 25px;
    font-size: 20px;
    text-align: center;
}

/* =========================
   DeFacto LIFE+
   Category 370
   ========================= */

.df-lifeplus {
    background: #fff;
}

.df-lifeplus-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.df-lifeplus-hero {
    background: #0f6b7f;
    color: #fff;
    padding: 54px 0 48px;
}

.df-lifeplus-kicker {
    color: #ff3b30;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 12px;
}

.df-lifeplus-hero h1 {
    margin: 0;
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .98;
    font-weight: 700;
}

.df-lifeplus-hero p {
    margin: 18px 0 0;
    max-width: 650px;
    font-size: 17px;
    line-height: 1.5;
}

.df-lifeplus-content {
    padding: 34px 0 60px;
}

.df-lifeplus-section-head {
    border-bottom: 2px solid #222;
    margin-bottom: 20px;
}

.df-lifeplus-section-head h2 {
    display: inline-block;
    margin: 0;
    padding: 0 0 10px;
    border-bottom: 3px solid #ff3b30;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
}

.df-lifeplus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
}

.df-lifeplus-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.df-lifeplus-meta {
    margin-top: 10px;
    color: #777;
    font-size: 12px;
}

.df-lifeplus-card h3 {
    margin: 7px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.05;
}

.df-lifeplus-card h3 a {
    color: #111;
    text-decoration: none;
}

.df-lifeplus-card h3 a:hover {
    text-decoration: underline;
}

.df-lifeplus-empty {
    padding: 56px 0 80px;
    max-width: 680px;
}

.df-lifeplus-empty h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
}

.df-lifeplus-empty p {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: #555;
}

.df-lifeplus-pagination {
    margin-top: 44px;
}

@media (max-width: 900px) {
    .df-lifeplus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .df-lifeplus-inner {
        width: min(100% - 28px, 1180px);
    }

    .df-lifeplus-hero {
        padding: 38px 0 34px;
    }

    .df-lifeplus-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   DEFACTO ABOUT
   ========================================================= */

.df-about {
    background: #fff;
    color: #17232d;
}

.df-about-hero {
    background: #137486;
    color: #fff;
    padding: 76px 0 72px;
}

.df-about-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.df-about-kicker {
    display: block;
    color: #ff3b30;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.df-about-hero h1 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.035em;
    margin: 0 0 24px;
    max-width: 850px;
}

.df-about-hero p {
    color: rgba(255,255,255,.92);
    font-size: 19px;
    line-height: 1.55;
    max-width: 720px;
    margin: 0;
}

.df-about-intro {
    padding: 72px 0 34px;
}

.df-about-intro h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.025em;
    margin: 0 0 24px;
    max-width: 820px;
}

.df-about-intro p {
    max-width: 790px;
    font-size: 18px;
    line-height: 1.75;
    color: #46535d;
}

.df-about-links {
    padding: 30px 0 85px;
}

.df-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 2px solid #17232d;
}

.df-about-card {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 30px 28px 34px 0;
    border-bottom: 1px solid #ccd3d7;
    min-height: 175px;
    transition: transform .18s ease;
}

.df-about-card:nth-child(3n+2),
.df-about-card:nth-child(3n+3) {
    padding-left: 28px;
}

.df-about-card span {
    display: block;
    color: #e8342f;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}

.df-about-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.15;
}

.df-about-card p {
    margin: 0;
    color: #5a656d;
    font-size: 15px;
    line-height: 1.55;
}

.df-about-card:hover {
    transform: translateY(-3px);
}

.df-about-card:hover h3 {
    color: #e8342f;
}

@media (max-width: 800px) {
    .df-about-inner {
        width: min(100% - 32px, 1180px);
    }

    .df-about-hero {
        padding: 55px 0;
    }

    .df-about-grid {
        grid-template-columns: 1fr;
    }

    .df-about-card,
    .df-about-card:nth-child(3n+2),
    .df-about-card:nth-child(3n+3) {
        padding: 25px 0;
        min-height: auto;
    }

    .df-about-intro {
        padding-top: 50px;
    }
}

/* DEFACTO NEW HEADER WORDMARK */

.df-brand {
    gap: 0;
}

.df-brand-text {
    position: relative;
}

.df-wordmark {
    position: relative;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: .9;
    letter-spacing: -1.5px;
    text-transform: none;
}

.df-wordmark::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 54px;
    width: 0;
    height: 0;
    border-top: 10px solid #99021d;
    border-right: 10px solid transparent;
}

.df-tagline {
    margin-top: 7px;
    color: #fff;
    font-size: 7px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: .04em;
    white-space: nowrap;
}

/* DeFacto tagline brand color */
.df-tagline {
    color: #99021d;
}

/* DeFacto ABOUT hero — official brand blue */
.df-about-hero {
    background: #186185 !important;
}


/* DeFacto brand color hierarchy */
.df-header {
    background: #186185 !important;
}

.df-about-hero {
    background: var(--df-blue-dark) !important;
}

/* Align tagline under FACTO portion of wordmark */
.df-tagline {
    margin-top: 6px;
    margin-left: 31px;
    width: 74px;
    font-size: 6px;
    line-height: 1;
    letter-spacing: .015em;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
}

/* =========================================================
   DeFacto — OUR STORY
   ========================================================= */

.df-story-page {
    background: #fff;
    color: #17212b;
}

.df-story-inner {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

/* HERO */
.df-story-hero {
    background: var(--df-blue-dark);
    color: #fff;
    padding: 72px 0 76px;
}

.df-story-hero .df-about-kicker {
    color: #99021d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 16px;
}

.df-story-hero h1 {
    color: #fff;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .98;
    max-width: 900px;
    margin: 0 0 26px;
}

.df-story-lead {
    max-width: 760px;
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
}

/* STORY */
.df-story-content {
    padding: 70px 0 90px;
}

.df-story-chapter {
    display: grid;
    grid-template-columns: 150px minmax(0, 720px);
    gap: 55px;
    padding: 45px 0;
    border-top: 1px solid #cbd1d5;
}

.df-story-chapter:first-child {
    border-top: 0;
    padding-top: 0;
}

.df-story-year {
    color: #99021d;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
}

.df-story-chapter h2 {
    font-size: 34px;
    line-height: 1.1;
    margin: 0 0 20px;
}

.df-story-chapter p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 18px;
}

/* CLOSING MOTTO */
.df-story-closing {
    margin-top: 25px;
    padding: 38px 0 0 205px;
    border-top: 3px solid #99021d;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: #99021d;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
    font-style: italic;
    letter-spacing: .02em;
}

@media (max-width: 760px) {
    .df-story-hero {
        padding: 52px 0 58px;
    }

    .df-story-chapter {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 35px 0;
    }

    .df-story-closing {
        padding-left: 0;
    }
}


/* DeFacto brand scale — header + footer */

.df-wordmark {
    font-size: 34px;
    font-weight: 700;
}

.df-footer-wordmark {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.df-tagline,
.df-footer-tagline {
    color: #99021d;
    font-weight: 700;
    font-style: italic;
}

.df-footer-tagline {
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: .02em;
}


/* DeFacto official logo — header */
.df-logo-image {
    display: block;
    width: 210px;
    height: auto;
    max-width: 100%;
}


/* DeFacto official logo — footer */
.df-footer-logo-image {
    display: block;
    width: 270px;
    height: auto;
    max-width: 100%;
    margin-bottom: 14px;
}


/* DeFacto official logo — footer */
.df-footer-logo-image {
    display: block;
    width: 270px;
    height: auto;
    max-width: 100%;
    margin-bottom: 14px;
}


/* Founder page hero */
.df-founder-hero-inner {
    max-width: 1100px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 320px;
    gap: 70px;
    align-items: center;
}

.df-founder-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 2px;
}

@media (max-width: 760px) {
    .df-founder-hero-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .df-founder-photo {
        max-width: 320px;
    }
}

/* ===== DeFacto Team Profiles ===== */

.df-team-profiles {
    margin-top: 38px;
}

.df-team-label {
    display: block;
    margin-bottom: 18px;
    color: #99021d;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
}

.df-team-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.df-team-card {
    border-top: 3px solid #99021d;
    padding-top: 18px;
}

.df-team-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #0b4865;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: .04em;
}

.df-team-card h3 {
    margin: 0 0 6px;
    font-size: 21px;
    line-height: 1.2;
}

.df-team-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #555;
}

@media (max-width: 900px) {
    .df-team-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .df-team-cards {
        grid-template-columns: 1fr;
    }
}


/* Team card refinement */
.df-team-photo {
    aspect-ratio: 5 / 3;
}


/* Team profile images */
.df-team-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* DeFacto Contact Form 7 */
.df-contact-form .wpcf7-form {
    display: grid;
    gap: 18px;
}
.df-contact-form .wpcf7-form p {
    margin: 0;
}
.df-contact-form .wpcf7-form label {
    display: block;
    font-weight: 600;
    line-height: 1.4;
}
.df-contact-form .wpcf7-form input[type="text"],
.df-contact-form .wpcf7-form input[type="email"],
.df-contact-form .wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 7px;
    padding: 14px 16px;
    border: 1px solid #c9ced4;
    background: #fff;
    font: inherit;
}
.df-contact-form .wpcf7-form textarea {
    min-height: 160px;
    resize: vertical;
}
.df-contact-form .wpcf7-submit {
    width: 100%;
    padding: 15px 22px;
    border: 0;
    background: #b20d2e;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.df-contact-form .wpcf7-submit:hover {
    opacity: .9;
}
.df-contact-form .wpcf7-spinner {
    margin: 8px 0 0;
}


/* DeFacto Contact Form 7 */
.df-contact-form .wpcf7-form {
    display: grid;
    gap: 18px;
}
.df-contact-form .wpcf7-form p {
    margin: 0;
}
.df-contact-form .wpcf7-form label {
    display: block;
    font-weight: 600;
    line-height: 1.4;
}
.df-contact-form .wpcf7-form input[type="text"],
.df-contact-form .wpcf7-form input[type="email"],
.df-contact-form .wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 7px;
    padding: 14px 16px;
    border: 1px solid #c9ced4;
    background: #fff;
    font: inherit;
}
.df-contact-form .wpcf7-form textarea {
    min-height: 160px;
    resize: vertical;
}
.df-contact-form .wpcf7-submit {
    width: 100%;
    padding: 15px 22px;
    border: 0;
    background: #b20d2e;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.df-contact-form .wpcf7-submit:hover {
    opacity: .9;
}
.df-contact-form .wpcf7-spinner {
    margin: 8px 0 0;
}


/* DeFacto Gazette form controls */
.df-gazette-form input[type="checkbox"] {
    display: inline-block !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 10px 0 0 !important;
    vertical-align: middle !important;
}

/* Final DeFacto Gazette form layout */
.df-gazette-form form {
    max-width: 620px;
}

.df-gazette-form input[type="email"] {
    display: block;
    width: 100%;
    max-width: 620px;
    padding: 14px 16px;
    margin: 8px 0 18px;
    border: 1px solid #cfd6dc;
    border-radius: 4px;
    font-size: 16px;
}

.df-gazette-form label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

.df-gazette-form input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
}

.df-gazette-form button[type="submit"] {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 28px;
    background: var(--df-red);
    color: #fff;
    border: 0;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* Explore DeFacto dropdown */
.df-explore-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

button.df-explore {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.df-explore-menu {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    z-index: 9999;
    width: 220px;
    padding: 10px 0;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 14px 35px rgba(0,0,0,.18);
}

.df-explore-menu[hidden] {
    display: none !important;
}

.df-explore-menu a {
    display: block;
    padding: 11px 18px;
    color: #17212b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.df-explore-menu a:hover,
.df-explore-menu a:focus {
    background: #f3f5f6;
    color: var(--df-red);
}


/* DeFacto mobile navigation */
.df-mobile-toggle,
.df-mobile-menu {
    display: none;
}

@media (max-width: 767px) {

    .df-mobile-toggle {
        display: flex;
        width: 32px;
        height: 32px;
        padding: 6px;
        border: 0;
        background: transparent;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
    }

    .df-mobile-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: #fff;
    }

    .df-mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 10000;
        background: #fff;
        padding: 8px 0;
        box-shadow: 0 12px 28px rgba(0,0,0,.18);
    }

    .df-mobile-menu:not([hidden]) {
        display: block;
    }

    .df-mobile-menu[hidden] {
        display: none !important;
    }

    .df-mobile-menu a {
        display: block;
        padding: 12px 20px;
        color: #17212b;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        border-bottom: 1px solid rgba(0,0,0,.07);
    }

    .df-mobile-menu a:last-child {
        border-bottom: 0;
    }
}


/* Mobile menu positioning fix */
@media (max-width: 767px) {
    .df-mobile-menu {
        position: fixed;
        top: 61px;
        left: 20px;
        right: 20px;
        width: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

