/*
Theme Name: Dating for Senior People
Theme URI: https://datingforseniorpeople.com/
Author: DatingforSeniorPeople.com
Description: A refined, accessible WordPress theme for a mature dating community and advice brand.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: datingforseniorpeople
*/

:root {
  --ink: #151719;
  --ink-soft: #292d30;
  --muted: #666c70;
  --paper: #ffffff;
  --soft: #f4f4f1;
  --sand: #f3efe8;
  --line: #d9dad6;
  --line-dark: #34383b;
  --accent: #a51d2d;
  --accent-dark: #7c1421;
  --content: 1240px;
  --reading: 760px;
  --shadow: 0 24px 60px rgba(15, 18, 20, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 18px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
button, input, textarea, select { font: inherit; }
code { padding: .08em .35em; background: rgba(0,0,0,.06); border-radius: 3px; font-size: .9em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; top: 8px; left: 8px; padding: 12px 18px; color: var(--ink); background: var(--paper); z-index: 10000; }
.shell { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }

h1, h2, h3 { margin-top: 0; color: inherit; font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1.06; letter-spacing: -.035em; }
h1 { font-size: clamp(3.15rem, 5.5vw, 5.55rem); }
h2 { font-size: clamp(2.35rem, 4.15vw, 4rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; color: var(--paper); background: rgba(17, 19, 21, .97); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.site-branding { margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; font-size: 1.08rem; font-weight: 800; letter-spacing: -.025em; }
.brand:hover { color: var(--paper); }
.brand-symbol { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: var(--paper); background: var(--accent); border-radius: 50%; font-family: Georgia, serif; font-size: .95rem; }
.brand-symbol::after { position: absolute; inset: -4px; border: 1px solid rgba(255,255,255,.32); border-radius: inherit; content: ""; }
.custom-logo { max-height: 58px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.main-nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .86rem; font-weight: 650; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--paper); }
.header-actions { display: flex; align-items: center; gap: 8px; }

.button, .wp-block-button__link { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 23px; border: 1px solid var(--ink); border-radius: 2px; color: var(--paper); background: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 780; line-height: 1.2; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover, .wp-block-button__link:hover { color: var(--paper); background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.button-accent, .header-actions > .button:not(.button-link) { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.button-accent:hover, .header-actions > .button:not(.button-link):hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button-dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-light:hover { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.button-outline-dark { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-outline-dark:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-outline { color: var(--paper); background: transparent; border-color: rgba(255,255,255,.5); }
.button-outline:hover { color: var(--paper); background: transparent; border-color: var(--paper); }
.button-navy { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-link { min-height: 42px; padding: 8px 10px; color: rgba(255,255,255,.86); background: transparent; border-color: transparent; }
.button-link:hover { color: var(--paper); background: transparent; border-color: transparent; transform: none; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--paper); background: transparent; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; margin: auto; background: currentColor; content: ""; }
.menu-lines::before { transform: translateY(-7px); }
.menu-lines::after { transform: translateY(5px); }

/* Home hero */
.hero { overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); align-items: stretch; }
.hero-copy { align-self: center; max-width: 650px; padding: 86px 64px 82px 0; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 23px; color: var(--accent); font-size: .7rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.kicker::before { flex: 0 0 30px; height: 1px; background: currentColor; content: ""; }
.hero h1 { max-width: 670px; margin-bottom: 26px; }
.hero-intro { max-width: 590px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { max-width: 590px; margin: 22px 0 0; color: #787d80; font-size: .74rem; line-height: 1.55; }
.hero-visual { position: relative; min-height: 690px; }
.hero-visual::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 1px; background: rgba(255,255,255,.55); content: ""; }
.hero-visual img { width: 100%; height: 100%; min-height: 690px; object-fit: cover; object-position: center; }
.hero-badge { position: absolute; z-index: 2; left: 34px; bottom: 34px; width: min(390px, calc(100% - 68px)); padding: 25px 28px 27px; color: var(--paper); background: rgba(17,19,21,.92); border-top: 3px solid var(--accent); box-shadow: var(--shadow); }
.hero-badge-label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.65); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-badge strong { display: block; font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.28; }

.quick-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item { min-height: 116px; display: flex; gap: 17px; align-items: center; padding: 25px 24px; border-left: 1px solid var(--line); }
.quick-item:first-child { border-left: 0; }
.quick-number { color: var(--accent); font-family: Georgia, serif; font-size: .78rem; font-weight: 700; }
.quick-item strong { display: block; margin-bottom: 2px; font-size: .9rem; }
.quick-item div > span { color: var(--muted); font-size: .73rem; }

/* Shared home sections */
.section { padding-block: 112px; }
.section-small { padding-block: 76px; }
.section-head { max-width: 780px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 { margin-bottom: 19px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1rem; }
.goals-section { background: var(--paper); }
.goals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.goal-card { min-height: 290px; padding: 32px 27px 36px; border-right: 1px solid var(--line); }
.goal-card:last-child { border-right: 0; }
.card-mark { display: block; margin-bottom: 45px; color: var(--accent); font-family: Georgia, serif; font-size: .76rem; font-weight: 700; }
.goal-card h3 { margin-bottom: 13px; }
.goal-card p { margin: 0; color: var(--muted); font-size: .86rem; }

/* Mature editorial section */
.mature-section { background: var(--sand); }
.mature-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 88px; align-items: center; }
.mature-media { display: grid; grid-template-columns: 1.24fr .76fr; grid-template-rows: 1fr auto; gap: 18px; align-items: end; }
.mature-photo-main { grid-row: 1 / 3; width: 100%; height: 610px; object-fit: cover; object-position: center 32%; }
.mature-photo-secondary { width: 100%; height: 310px; object-fit: cover; }
.mature-caption { align-self: end; margin: 0; padding: 0 4px 4px; color: var(--muted); font-family: Georgia, serif; font-size: .95rem; line-height: 1.35; }
.mature-copy { max-width: 560px; }
.mature-copy h2 { margin-bottom: 23px; }
.mature-copy > p:not(.kicker) { color: var(--muted); }
.bullet-list { display: grid; gap: 15px; margin: 29px 0 31px; padding: 0; list-style: none; }
.bullet-list li { position: relative; padding-left: 26px; font-size: .9rem; }
.bullet-list li::before { position: absolute; left: 0; top: .7em; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; content: ""; }
.text-arrow { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; color: var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; font-weight: 800; }
.text-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* Features */
.features-section { background: var(--soft); border-block: 1px solid var(--line); }
.feature-heading, .advice-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.feature-heading h2, .advice-heading h2 { max-width: 700px; margin-bottom: 0; }
.feature-heading > p, .advice-heading > p { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.feature-card { min-height: 265px; padding: 30px 30px 34px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-card:nth-child(-n+3) { border-top: 3px solid var(--accent); }
.feature-index { display: block; margin-bottom: 43px; color: var(--accent); font-family: Georgia, serif; font-size: .76rem; font-weight: 700; }
.feature-card h3 { margin-bottom: 11px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.feature-action { margin-top: 34px; text-align: right; }

/* Profiles */
.profiles-section { background: var(--paper); }
.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.profile-card { position: relative; overflow: hidden; min-height: 455px; background: #d9d9d6; }
.profile-card img { width: 100%; height: 455px; object-fit: cover; transition: transform .45s ease; }
.profile-card:hover img { transform: scale(1.025); }
.profile-card::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(12,14,15,.9)); content: ""; }
.profile-copy { position: absolute; z-index: 2; left: 24px; right: 20px; bottom: 23px; color: var(--paper); }
.profile-copy strong { display: block; margin-bottom: 4px; font-family: Georgia, serif; font-size: 1.24rem; line-height: 1.2; }
.profile-copy span { color: rgba(255,255,255,.72); font-size: .72rem; }
.profile-note { max-width: 810px; margin: 31px auto 0; color: var(--muted); font-size: .72rem; text-align: center; }
.center-action { margin-top: 29px; text-align: center; }

/* Process and safety */
.steps-section { background: var(--sand); }
.steps-heading { display: grid; grid-template-columns: .55fr 1fr; gap: 70px; align-items: end; margin-bottom: 50px; }
.steps-heading .kicker { margin-bottom: 8px; }
.steps-heading h2 { max-width: 750px; margin: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { min-height: 285px; padding: 32px 31px 35px; background: var(--paper); border-top: 3px solid var(--ink); }
.step-card > span { display: block; margin-bottom: 48px; color: var(--accent); font-family: Georgia, serif; font-size: .8rem; font-weight: 700; }
.step-card h3 { margin-bottom: 12px; }
.step-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.safety-section { padding-block: 0; background: var(--ink); }
.safety-panel { width: min(100%, 1440px); display: grid; grid-template-columns: 1fr 1fr; }
.safety-copy { align-self: center; max-width: 680px; padding: 92px 76px 96px 24px; color: var(--paper); }
.safety-copy h2 { margin-bottom: 23px; }
.safety-copy > p:not(.kicker) { color: rgba(255,255,255,.68); }
.bullet-list-light li { color: rgba(255,255,255,.82); }
.bullet-list-light li::before { background: var(--accent); }
.safety-image { min-height: 660px; }
.safety-image img { width: 100%; height: 100%; min-height: 660px; object-fit: cover; }

/* Outcomes and advice */
.outcomes-section { background: var(--paper); }
.outcomes-grid, .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.outcome-card, .post-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.outcome-card img { width: 100%; height: 270px; object-fit: cover; }
.outcome-body { padding: 29px 28px 32px; }
.outcome-label { display: block; margin-bottom: 14px; color: var(--accent); font-size: .63rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.outcome-body h3 { margin-bottom: 12px; }
.outcome-body p { margin: 0; color: var(--muted); font-size: .87rem; }

.advice-section { background: var(--soft); border-top: 1px solid var(--line); }
.post-card { transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-image { display: block; overflow: hidden; }
.post-image img { width: 100%; height: 250px; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-image img { transform: scale(1.025); }
.post-body { padding: 28px 28px 31px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 13px; color: var(--muted); font-size: .65rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.post-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card p { margin: 0 0 20px; color: var(--muted); font-size: .87rem; }
.text-link { color: var(--ink); font-size: .85rem; font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--accent); }

.final-cta-section { background: var(--ink); border-top: 1px solid var(--line-dark); }
.cta { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; color: var(--paper); }
.cta .kicker { margin-bottom: 16px; }
.cta h2 { max-width: 780px; margin-bottom: 14px; font-size: clamp(2.4rem, 4vw, 4rem); }
.cta p:not(.kicker) { max-width: 760px; margin: 0; color: rgba(255,255,255,.64); }

/* Single-post CTA: single.php uses .section-small without the home-page wrapper. */
.single-post main > .section-small {
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}
.single-post main > .section-small .cta {
  padding-block: 34px;
  border-top: 3px solid var(--accent);
}
.single-post main > .section-small .cta h2 { color: var(--paper); }
.single-post main > .section-small .cta .button-navy {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}
.single-post main > .section-small .cta .button-navy:hover {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}

/* Interior WordPress templates */
.page-hero { padding-block: 92px 70px; text-align: center; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; margin: 0 auto 18px; font-size: clamp(2.75rem, 5vw, 4.8rem); }
.page-hero p { max-width: 740px; margin: 0 auto; color: var(--muted); }
.article-meta { display: flex; justify-content: center; gap: 18px; color: var(--muted); font-size: .78rem; }
.article-image { width: min(calc(100% - 48px), 1080px); margin: 50px auto 0; }
.article-image img { width: 100%; max-height: 620px; object-fit: cover; }
.entry-content { padding-block: 76px 108px; }
.entry-content > * { max-width: var(--reading); margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--content); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { margin-top: 2.15em; margin-bottom: .62em; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.entry-content h3 { margin-top: 1.8em; }
.entry-content p, .entry-content li { color: #404548; }
.entry-content li + li { margin-top: .42em; }
.entry-content blockquote { padding: 22px 27px; border-left: 4px solid var(--accent); background: var(--sand); font-family: Georgia, serif; font-size: 1.14rem; }
.archive { padding-block: 86px 110px; }
.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 12px; color: var(--ink); border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.empty { padding: 38px; background: var(--paper); border: 1px solid var(--line); }
.not-found { min-height: 60vh; display: grid; place-items: center; padding: 72px 20px; text-align: center; }
.not-found p { max-width: 560px; color: var(--muted); }

/* Footer */
.affiliate-bar { padding: 15px 22px; color: #54595c; background: var(--sand); border-top: 1px solid var(--line); text-align: center; font-size: .74rem; }
.affiliate-bar a { color: var(--ink); font-weight: 800; }
.site-footer { padding-block: 76px 35px; color: var(--paper); background: #0f1113; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand p { max-width: 390px; color: rgba(255,255,255,.56); font-size: .84rem; }
.footer-col h2 { margin-bottom: 17px; font-family: inherit; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .82rem; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 58px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.42); font-size: .7rem; }

@media (max-width: 1080px) {
  .main-nav ul { gap: 16px; }
  .header-actions .button-link { display: none; }
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); }
  .hero-copy { padding-right: 40px; }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .goal-card:nth-child(2) { border-right: 0; }
  .goal-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mature-grid { gap: 55px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; order: 3; }
  .main-nav { position: fixed; inset: 78px 0 auto; display: none; padding: 24px 24px 31px; background: #0f1113; box-shadow: var(--shadow); }
  .admin-bar .main-nav { top: 124px; }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: grid; gap: 0; }
  .main-nav a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .header-actions { margin-left: auto; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; padding: 74px 0 60px; }
  .hero-visual, .hero-visual img { min-height: 560px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .quick-item:nth-child(4) { border-top: 1px solid var(--line); }
  .mature-grid { grid-template-columns: 1fr; gap: 55px; }
  .mature-media { max-width: 700px; }
  .mature-copy { max-width: 700px; }
  .feature-heading, .advice-heading, .steps-heading { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(3) { border-top: 0; }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .outcomes-grid, .posts-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .safety-panel { width: 100%; grid-template-columns: 1fr; }
  .safety-copy { max-width: none; padding: 76px 24px; }
  .safety-image, .safety-image img { min-height: 480px; }
  .outcome-card, .post-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .outcome-card img, .post-image img { height: 100%; min-height: 300px; }
  .cta { grid-template-columns: 1fr; }
  .cta .button { justify-self: start; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .shell { width: min(calc(100% - 30px), var(--content)); }
  .header-inner { min-height: 72px; gap: 14px; }
  .brand { font-size: .94rem; }
  .brand-symbol { width: 36px; height: 36px; font-size: .82rem; }
  .header-actions .button { display: none; }
  .main-nav { top: 72px; }
  .admin-bar .main-nav { top: 118px; }
  .hero-copy { padding-block: 60px 48px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual, .hero-visual img { min-height: 450px; }
  .hero-badge { left: 15px; bottom: 15px; width: calc(100% - 30px); }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-item { min-height: 92px; border-left: 0; border-top: 1px solid var(--line); }
  .quick-item:first-child { border-top: 0; }
  .section { padding-block: 78px; }
  .section-small { padding-block: 62px; }
  .section-head { margin-bottom: 40px; }
  .section-head.center { text-align: left; }
  .section-head.center .kicker { justify-content: flex-start; }
  .goals-grid { grid-template-columns: 1fr; }
  .goal-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .goal-card:last-child { border-bottom: 0; }
  .card-mark { margin-bottom: 28px; }
  .mature-media { grid-template-columns: 1fr 1fr; }
  .mature-photo-main { height: 480px; }
  .mature-photo-secondary { height: 230px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card:nth-child(2) { border-top: 0; }
  .feature-index { margin-bottom: 28px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card, .profile-card img { min-height: 430px; height: 430px; }
  .safety-copy { padding-block: 66px; }
  .safety-image, .safety-image img { min-height: 400px; }
  .outcome-card, .post-card { display: block; }
  .outcome-card img, .post-image img { height: 240px; min-height: 0; }
  .feature-action { text-align: left; }
  .page-hero { padding-block: 68px 50px; }
  .article-image { width: min(calc(100% - 30px), 1080px); }
  .entry-content { padding-block: 58px 82px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
