/*
Theme Name: GeneratePress Child
Theme URI: 
Description: Custom child theme for GeneratePress
Author: 
Author URI: 
Template: generatepress
Version: 1.0.0
*/

/* ==========================================================================
   CUSTOM STYLES (extracted from familystory.html)
   ========================================================================== */

:root {
    --navy: #16243d;
    --dark: #0a1118;
    --gold: #cfa844;
    --light-gold: #f2e4bd;
    --cream: #fdfbf7;
    --text: #2c3338;
    --muted: #5a6570;
    --border: #e2dfd8;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 100px 20px 80px;
    text-align: center;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    line-height: 1.25;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 span {
    display: block;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}
.hero .subtitle {
    font-size: 1.2rem;
    color: #b0bec5;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
    line-height: 1.6;
}

/* NAV */
.nav-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 3px solid var(--gold);
    padding: 16px 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.nav-bar a {
    color: var(--navy);
    text-decoration: none;
    margin: 0 18px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: color 0.2s ease;
}
.nav-bar a:hover { color: var(--gold); }

/* SECTIONS */
.section {
    max-width: 860px;
    margin: 0 auto;
    padding: 80px 24px;
}
.section h2 {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.3;
}
.section h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--gold);
    margin-top: 16px;
    margin-bottom: 32px;
}
.section h3.subheading {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 1px;
    margin-bottom: 28px;
    margin-top: -16px;
}
.section p {
    margin-bottom: 22px;
    font-size: 1.15rem;
}

/* DIVIDER */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    max-width: 860px;
    margin: 0 auto;
}

/* PULL QUOTE */
.pull-quote {
    background: var(--white);
    border-left: 4px solid var(--gold);
    padding: 32px 40px;
    margin: 40px 0;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}
.pull-quote .attribution {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    font-style: normal;
    margin-top: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* TIMELINE */
.timeline {
    position: relative;
    padding-left: 45px;
    margin: 50px 0 20px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    margin-bottom: 45px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -37.5px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 1px var(--gold);
    transition: background 0.3s ease;
}
.timeline-item:hover::before {
    background: var(--navy);
}
.timeline-date {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
}
.timeline-item h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 600;
}
.timeline-item p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* EVIDENCE CARDS */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 40px 0;
}
.evidence-card {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    border-top: 3px solid var(--gold);
    display: flex;
    flex-direction: column;
}
.evidence-card .label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 16px;
}
.evidence-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}
.evidence-card .source {
    font-size: 0.85rem;
    color: var(--muted);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

/* IMPACT BOX */
.impact-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 56px 48px;
    border-radius: 12px;
    margin: 48px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}
.impact-box h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 400;
}
.impact-box p {
    color: #d8e2e8;
    margin-bottom: 16px;
    font-size: 1.1rem;
    line-height: 1.7;
}
.impact-box p:last-child {
    margin-bottom: 0;
}

/* STAT ROW */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
    text-align: center;
}
.stat-item {
    background: var(--white);
    padding: 32px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--navy);
    display: block;
    margin-bottom: 8px;
}
.stat-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    font-weight: 600;
}

/* PHOTO BLOCKS */
.photo-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}
.photo-single {
    margin: 40px 0;
}
.photo-block {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.photo-block img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
/* CONSISTENT HEIGHT FOR PHOTO PAIRS */
.photo-pair .photo-block img {
    height: 320px;
    object-fit: cover;
}
.photo-block figcaption {
    padding: 14px 18px;
    font-size: 0.88rem;
    color: var(--muted);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-style: italic;
    border-top: 1px solid var(--border);
    line-height: 1.5;
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: #8c9ea8;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    margin-top: 40px;
}
.footer p { margin-bottom: 12px; }
.footer a {
    color: #8c9ea8;
    text-decoration: none;
}
.footer a:hover {
    color: var(--gold);
}
.footer .disclaimer {
    max-width: 650px;
    margin: 24px auto 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #5c6c75;
    border-top: 1px solid #1f2d38;
    padding-top: 24px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero { padding: 80px 20px 60px; }
    .hero h1 { font-size: 2rem; }
    .hero h1 span { font-size: 0.95rem; }
    .stat-row { grid-template-columns: 1fr; gap: 16px; }
    .nav-bar a { margin: 0 10px; font-size: 0.75rem; display: inline-block; padding: 4px 0; }
    .section { padding: 50px 20px; }
    .pull-quote { padding: 24px 28px; font-size: 1.15rem; }
    .impact-box { padding: 40px 24px; }
    .evidence-grid { grid-template-columns: 1fr; }
    .photo-pair { grid-template-columns: 1fr; }
}
