/* ══════════════════════════════════════════
   The Wilding Foundation — Shared Styles
   ══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
    --green-light: #8db860;
    --green-mid: #457a2a;
    --green-dark: #3a6b2a;
    --green-darkest: #2c4a25;
    --black: #1a1a1a;
    --gray-dark: #3a3a3a;
    --gray-mid: #6b6b6b;
    --gray-light: #e8e8e8;
    --gray-lighter: #f7f4ed;
    --white: #ffffff;
}

/* ── RESET & BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, .section-heading, .impact-number {
    font-family: "Fraunces", Georgia, serif;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-home {
    text-decoration: none;
    color: var(--gray-mid);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, opacity 0.3s ease;
}

.nav-home:hover { color: var(--green-mid); }
.nav-home.hidden { opacity: 0; pointer-events: none; }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-mid);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--green-mid); }
.nav-links a.active { color: var(--green-mid); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--black);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* ── SECTION SHARED ── */
section { padding: 4rem 2rem; }

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 1rem;
}

.section-heading {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--black);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-mid);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* ── PAGE HEADER (news, about, apply) ── */
.page-header {
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray-mid);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.header-line {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--green-dark), var(--green-light));
    margin: 2rem auto 0;
    border-radius: 1px;
}

/* ── HERO (index) ── */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 184, 96, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 340px;
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.hero-tagline {
    font-family: "DM Sans", sans-serif;
    font-size: 1.15rem;
    color: var(--gray-mid);
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto;
}

/* ── PROGRAM SECTIONS (index) ── */
.program-section { position: relative; }
.program-section.alt-bg { background: var(--gray-lighter); }

.program-text { max-width: 1100px; }

.program-image {
    float: right;
    width: 340px;
    margin: 0.25rem 0 1.5rem 2.5rem;
    border-radius: 10px;
    object-fit: cover;
}

.program-text p {
    font-size: 1.05rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.program-text a {
    color: var(--green-mid);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.program-text a:hover { color: var(--green-dark); }

.program-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(141, 184, 96, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-dark);
}

.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.program-section .section-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--green-dark), var(--green-light));
    border-radius: 1px;
    margin-bottom: 1.5rem;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-card {
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    text-align: center;
    background: var(--white);
}

.stat-card .stat-value {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green-mid);
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--gray-mid);
}

/* ── QUOTE ── */
.quote {
    margin: 1.5rem 0;
    padding-left: 1.25rem;
    border-left: 3px solid var(--green-light);
    font-style: italic;
    color: var(--gray-mid);
    font-size: 0.95rem;
    line-height: 1.7;
}

.editorial-quote {
    margin: 1.5rem 0;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--gray-light);
    position: relative;
}

.editorial-quote p {
    font-style: italic;
    color: var(--gray-dark);
    font-size: 1rem;
    margin-bottom: 0 !important;
}

.editorial-quote .quote-source {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--gray-mid);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ── NEWS LIST (index + news.html) ── */
.news { background: #f4f2ea; }

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.5rem;
}

.news-item {
    display: flex;
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: padding-left 0.2s ease, background 0.2s ease;
}

.news-item:first-child { border-top: 1px solid rgba(0, 0, 0, 0.06); }
.news-item:hover { padding-left: 0.5rem; }

.news-date {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--green-mid);
    white-space: nowrap;
    min-width: 90px;
}

.news-content { flex: 1; }

.news-content a {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.news-content a:hover { color: var(--green-mid); }

.news-content p {
    font-size: 0.875rem;
    color: var(--gray-mid);
    margin-top: 0.25rem;
    line-height: 1.6;
}

.btn-see-more {
    display: inline-block;
    padding: 0.7rem 1.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    color: var(--black);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-see-more:hover {
    background: var(--white);
    border-color: var(--green-mid);
    color: var(--green-mid);
}

/* ── NEWS PAGE (news.html) ── */
.news-section { padding: 2rem 2rem 6rem; }

.news-inner {
    max-width: 800px;
    margin: 0 auto;
}

.news-year {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.news-year:first-child { margin-top: 0; }

.news-section .news-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.news-section .news-item:first-child { border-top: none; }
.news-section .news-item:last-child { border-bottom: none; }

.news-section .news-date { color: var(--gray-mid); }

.news-section .news-content a { font-size: 1rem; }

.news-section .news-content p {
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.news-tag {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--green-dark);
    background: rgba(141, 184, 96, 0.12);
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
}

/* ── ARTICLE PAGE (news/*.html) ── */
.article-hero {
    padding: 5rem 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.image-caption {
    max-width: 800px;
    margin: 0.75rem auto 0;
    padding: 0 2rem;
    font-size: 0.8rem;
    color: var(--gray-mid);
    font-style: italic;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.article-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--green-mid);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.article-body h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.article-meta {
    font-size: 0.875rem;
    color: var(--gray-mid);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.article-summary {
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.btn-read {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--green-mid);
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.btn-read:hover { background: var(--green-dark); }

.btn-back {
    display: inline-block;
    margin-top: 1.5rem;
    margin-left: 1rem;
    padding: 0.85rem 1.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    color: var(--gray-mid);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-back:hover {
    border-color: var(--green-mid);
    color: var(--green-mid);
}

/* ── NEWSLETTER ── */
.newsletter {
    background: var(--green-darkest);
    color: var(--white);
    text-align: center;
}

.newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
}

.newsletter .section-label {
    color: var(--green-light);
}

.newsletter .section-heading {
    color: var(--white);
}

.newsletter-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--black);
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--green-light);
}

.newsletter-input::placeholder {
    color: var(--gray-mid);
}

.newsletter-btn {
    padding: 0.85rem 1.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-darkest);
    background: var(--green-light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #a0cc70;
}

.newsletter-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ── IMPACT (index) ── */
.impact { background: var(--white); }

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.impact-item {
    text-align: center;
    padding: 2.5rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--green-mid);
    margin-bottom: 0.5rem;
}

.impact-desc {
    font-size: 0.9rem;
    color: var(--gray-mid);
    line-height: 1.5;
}

/* ── ABOUT PAGE ── */
.content-section { padding: 4rem 2rem; }
.content-section.alt-bg { background: var(--gray-lighter); }

.content-inner {
    max-width: 760px;
    margin: 0 auto;
}

.content-inner p {
    font-size: 1.05rem;
    color: var(--gray-dark);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.content-inner a {
    color: var(--green-mid);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.content-inner a:hover { color: var(--green-dark); }

.programs-list {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.programs-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--gray-dark);
    line-height: 1.7;
}

.programs-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1.5px solid var(--green-mid);
}

.founder-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.founder-text p {
    font-size: 1.05rem;
    color: var(--gray-dark);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.founder-text a {
    color: var(--green-mid);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.founder-text a:hover { color: var(--green-dark); }

/* ── APPLY PAGE ── */
.course-section { padding: 0 2rem 3rem; }

.course-inner {
    max-width: 900px;
    margin: 0 auto;
}

.course-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
}

.course-detail {
    padding: 1.5rem;
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    text-align: center;
}

.course-detail .label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 0.5rem;
}

.course-detail .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
}

.course-detail .note {
    font-size: 0.8rem;
    color: var(--gray-mid);
    margin-top: 0.25rem;
}

.apply-cta {
    margin-bottom: 2rem;
}

.apply-cta a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green-mid);
    text-decoration: none;
    transition: color 0.2s ease;
}

.apply-cta a:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

.course-desc {
    font-size: 1.05rem;
    color: var(--gray-dark);
    line-height: 1.8;
    max-width: 900px;
    margin-bottom: 1.25rem;
}

.course-desc-note {
    font-size: 0.9rem;
    color: var(--gray-mid);
}

.shoe-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    max-width: 900px;
}

.shoe-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.course-note {
    font-size: 0.95rem;
    color: var(--gray-mid);
    line-height: 1.7;
    padding: 1.25rem;
    background: var(--gray-lighter);
    border-radius: 8px;
    border-left: 3px solid var(--gray-light);
    margin-top: 1.5rem;
    max-width: 900px;
}

.course-note-primary {
    background: rgba(141, 184, 96, 0.08);
    border-left: 3px solid var(--green-mid);
    color: var(--gray-dark);
    font-size: 1rem;
}

/* ── FORM ── */
.form-section {
    padding: 4rem 2rem;
    background: var(--gray-lighter);
}

.form-inner {
    max-width: 680px;
    margin: 0 auto;
}

.form-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.form-section > .form-inner > p {
    font-size: 0.95rem;
    color: var(--gray-mid);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.form-group { margin-bottom: 1.75rem; }

.reveal-field {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.4s ease;
}

.reveal-field-open {
    max-height: 300px;
    opacity: 1;
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: var(--green-mid);
    margin-left: 2px;
}

.form-group .hint {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-mid);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(141, 184, 96, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-group.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--green-mid);
    flex-shrink: 0;
}

.form-group.checkbox-group label {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Radio groups & fieldsets */
fieldset.form-group {
    border: none;
    padding: 0;
}

fieldset.form-group legend {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--black);
    margin-bottom: 0.6rem;
}

fieldset.form-group legend .required {
    color: var(--green-mid);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--gray-dark);
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green-mid);
    flex-shrink: 0;
    margin: 0;
}

.btn-submit {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: var(--green-mid);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover { background: var(--green-dark); }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:disabled { background: var(--gray-mid); cursor: not-allowed; }

.form-message {
    display: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1.5rem;
}

.form-message.success {
    background: rgba(141, 184, 96, 0.12);
    border: 1px solid var(--green-light);
    color: var(--green-darkest);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #842029;
}

/* ── FOOTER ── */
footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--gray-light);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left p {
    font-size: 0.85rem;
    color: var(--gray-mid);
    line-height: 1.6;
}

.footer-logo {
    height: 28px;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.footer-logo:hover { opacity: 0.7; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--gray-light);
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }

    .hero-logo { max-width: 240px; }

    .program-image {
        float: none;
        width: 100%;
        max-height: 280px;
        margin: 0 0 1.5rem 0;
    }

    .impact-grid { grid-template-columns: 1fr; gap: 1rem; }
    .stat-cards { grid-template-columns: 1fr; }

    .news-item { flex-direction: column; gap: 0.25rem; }
    .news-date { min-width: unset; }

    .page-header h1 { font-size: 2rem; }
    .article-body h1 { font-size: 1.75rem; }
    .article-image { max-height: 260px; }

    .course-details { grid-template-columns: 1fr; gap: 1rem; }

    .footer-inner { flex-direction: column; text-align: center; }
}

/* ── ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
