/*
Theme Name: LandFrauen Westenberg
Theme URI: https://landfrauen-westenberg.de
Author: SCREENUS GmbH
Description: Maßgeschneidertes, barrierearmes WordPress-Theme für den LandFrauenverein Westenberg.
Version: 1.5.10
Text Domain: lfv-westenberg
*/

.site-nav .lfv-login-link { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:10px 18px; border-radius:999px; background:#625ca4; color:#fff; font-weight:700; white-space:nowrap; }
.site-nav .lfv-login-link:focus-visible { outline:3px solid #017471; outline-offset:3px; }
.site-nav > ul > li > a { display:inline-flex; min-height:44px; align-items:center; white-space:nowrap; }
:root {
  --lfv-ink: #243538;
  --lfv-ink-soft: #536366;
  --lfv-cream: #fffaf1;
  --lfv-paper: #fffefb;
  --lfv-sage: #13af99;
  --lfv-sage-dark: #017471;
  --lfv-sage-light: #e2f5ef;
  --lfv-berry: #625ca4;
  --lfv-berry-dark: #47417f;
  --lfv-mustard: #fdc800;
  --lfv-terracotta: #d88f0c;
  --lfv-lime: #b8d048;
  --lfv-yellow: #e9d407;
  --lfv-line: #d9e4df;
  --lfv-shadow: 0 24px 70px rgba(1, 116, 113, .13);
  --lfv-radius: 26px;
  --lfv-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--lfv-ink);
  background: var(--lfv-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(1,116,113,.08) .8px, transparent .8px);
  background-size: 18px 18px;
  content: "";
  pointer-events: none;
}

a { color: var(--lfv-berry); text-underline-offset: 3px; }
a:hover { color: var(--lfv-berry-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.screen-reader-text {
  position: absolute;
  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 {
  position: fixed;
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: .8rem 1rem;
  clip: auto;
  background: #fff;
  color: #000;
}

.site-shell { width: min(calc(100% - 36px), var(--lfv-max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 5px solid transparent;
  border-bottom: 1px solid rgba(1,116,113,.14);
  border-image: linear-gradient(90deg, #d88f0c 0 20%, #625ca4 20% 40%, #b8d048 40% 60%, #13af99 60% 80%, #e9d407 80%) 1;
  background: rgba(255,250,241,.94);
  backdrop-filter: blur(18px);
}
.site-header .header-inner { width: min(calc(100% - 32px), 1380px); }
.header-inner { display: flex; align-items: center; justify-content: flex-start; min-height: 96px; gap: 22px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; color: var(--lfv-ink); text-decoration: none; }
.brand-logo { width: 184px; height: auto; }

.site-nav { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; justify-content: flex-end; gap: 14px; }
.site-nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(14px, 1.45vw, 22px); padding: 0; margin: 0; list-style: none; }
.site-nav li { flex: 0 0 auto; }
.site-nav a { color: var(--lfv-ink); font-size: .95rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--lfv-berry); }
.nav-cta > a { padding: .62rem 1rem; border-radius: 999px; background: var(--lfv-berry); color: #fff !important; }
.site-social-links { position: relative; display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding-left: 15px; }
.site-social-links::before { position: absolute; top: 50%; left: 2px; width: 1px; height: 26px; background: var(--lfv-line); content: ""; transform: translateY(-50%); }
.social-badge { position: relative; display: grid !important; width: 38px; height: 38px; padding: 0 !important; place-items: center; overflow: visible; border: 3px solid var(--lfv-paper); border-radius: 13px 18px 14px 19px; box-shadow: 0 6px 16px rgba(36,53,56,.16); color: #fff !important; transition: transform .2s ease, box-shadow .2s ease; }
.social-badge svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.social-badge--instagram { background: linear-gradient(135deg,#fdc800 0%,#e44c73 48%,#625ca4 100%); transform: rotate(-5deg); }
.social-badge--facebook { border-radius: 18px 13px 19px 14px; background: #1877f2; transform: rotate(5deg); }
.social-badge--facebook svg { fill: currentColor; stroke: none; }
.social-badge:hover, .social-badge:focus-visible { z-index: 2; box-shadow: 0 9px 19px rgba(36,53,56,.24); color: #fff !important; transform: translateY(-3px) rotate(0); }
.nav-toggle { display: none; padding: .65rem; border: 0; border-radius: 14px; background: var(--lfv-sage-light); color: var(--lfv-ink); cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; overflow: hidden; padding: clamp(62px, 9vw, 120px) 0 86px; }
.hero::after {
  position: absolute;
  z-index: -1;
  top: 4%;
  right: -10%;
  width: min(45vw, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(232,184,75,.18);
  content: "";
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(48px, 7vw, 90px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--lfv-sage-dark); font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; background: var(--lfv-mustard); content: ""; }
h1, h2, h3, .display-title { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { max-width: 780px; margin: 0 0 24px; font-size: clamp(3.1rem, 7vw, 6.6rem); font-weight: 600; }
h1 em { color: var(--lfv-berry); font-weight: 400; }
.hero-lead { max-width: 620px; margin: 0 0 32px; color: var(--lfv-ink-soft); font-size: clamp(1.12rem, 2vw, 1.34rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .92rem 1.35rem; border: 2px solid var(--lfv-berry); border-radius: 999px; background: var(--lfv-berry); color: #fff; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { background: var(--lfv-berry-dark); color: #fff; transform: translateY(-2px); }
.button.secondary { border-color: var(--lfv-line); background: var(--lfv-paper); color: var(--lfv-ink); }
.button.secondary:hover { border-color: var(--lfv-sage); background: var(--lfv-sage-light); }
.button.light { border-color: #fff; background: #fff; color: var(--lfv-berry-dark); }

.photo-collage { position: relative; min-height: 590px; }
.photo-main { position: absolute; inset: 0 0 40px 50px; overflow: hidden; border: 10px solid var(--lfv-paper); border-radius: 46% 54% 35% 65% / 42% 36% 64% 58%; box-shadow: var(--lfv-shadow); transform: rotate(1.5deg); }
.photo-main img { width: 100%; height: 100%; object-fit: cover; }
.photo-small { position: absolute; z-index: 2; bottom: 0; left: 0; width: 38%; aspect-ratio: 1; overflow: hidden; border: 8px solid var(--lfv-paper); border-radius: 52% 48% 60% 40%; box-shadow: 0 20px 45px rgba(38,49,39,.2); transform: rotate(-5deg); }
.photo-small img { width: 100%; height: 100%; object-fit: cover; }
.photo-note { position: absolute; z-index: 3; top: 32px; right: -14px; max-width: 175px; padding: 16px 18px; border-radius: 16px; background: var(--lfv-mustard); box-shadow: 0 12px 30px rgba(38,49,39,.15); font-family: Georgia, serif; font-weight: 700; transform: rotate(4deg); }

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-soft { background: var(--lfv-sage-light); }
.section-paper { background: var(--lfv-paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-head h2 { max-width: 720px; margin: 0; font-size: clamp(2.4rem, 5vw, 4.35rem); font-weight: 600; }
.section-head p { max-width: 470px; margin: 0; color: var(--lfv-ink-soft); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(45px, 7vw, 90px); align-items: start; }
.intro-copy h2 { margin: 0 0 22px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.intro-copy p { color: var(--lfv-ink-soft); font-size: 1.08rem; }
.quote-card { position: relative; padding: clamp(30px, 5vw, 54px); border-radius: var(--lfv-radius); background: var(--lfv-berry); color: #fff; box-shadow: var(--lfv-shadow); }
.quote-card::before { position: absolute; top: -24px; right: 30px; color: var(--lfv-mustard); content: "“"; font-family: Georgia, serif; font-size: 8rem; line-height: 1; }
.quote-card p { position: relative; margin: 0; font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.35; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.stat { padding: 25px 20px; border: 1px solid var(--lfv-line); border-radius: 20px; background: var(--lfv-paper); }
.stat strong { display: block; color: var(--lfv-berry); font-family: Georgia, serif; font-size: 2.35rem; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--lfv-ink-soft); font-size: .88rem; }

.activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.activity-card { position: relative; overflow: hidden; min-height: 300px; padding: 28px; border: 1px solid rgba(1,116,113,.15); border-radius: 24px; background: var(--lfv-paper); transition: transform .2s ease, box-shadow .2s ease; }
.activity-card:hover { box-shadow: 0 18px 35px rgba(38,49,39,.1); transform: translateY(-5px); }
.activity-card::after { position: absolute; right: -34px; bottom: -34px; width: 120px; height: 120px; border-radius: 50%; background: var(--card-accent, var(--lfv-sage-light)); content: ""; }
.activity-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 34px; border-radius: 18px; background: var(--lfv-sage-light); font-size: 1.6rem; }
.activity-card h3 { margin: 0 0 12px; font-size: 1.55rem; }
.activity-card p { margin: 0; color: var(--lfv-ink-soft); font-size: .95rem; }
.activity-card .when { display: inline-block; margin-top: 18px; color: var(--lfv-berry); font-size: .84rem; font-weight: 850; text-transform: uppercase; }

.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.story-card { overflow: hidden; border-radius: var(--lfv-radius); background: var(--lfv-paper); box-shadow: 0 14px 40px rgba(38,49,39,.08); }
.story-card .story-image { aspect-ratio: 16/10; overflow: hidden; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover img { transform: scale(1.025); }
.story-body { padding: 30px; }
.story-meta { color: var(--lfv-sage-dark); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.story-card h3 { margin: 10px 0 13px; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.story-card h3 a { color: var(--lfv-ink); text-decoration: none; }
.story-card p { margin: 0; color: var(--lfv-ink-soft); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 850; text-decoration: none; }

.mosaic { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 220px 220px; gap: 14px; }
.mosaic figure { position: relative; overflow: hidden; margin: 0; border-radius: 22px; }
.mosaic figure:first-child { grid-row: 1/3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 8px 10px; border-radius: 12px; background: rgba(255,253,248,.88); color: var(--lfv-ink); font-size: .78rem; font-weight: 750; backdrop-filter: blur(10px); }

.instagram-section { overflow: hidden; background: var(--lfv-ink); color: #fff; }
.instagram-section .section-head { margin-bottom: 34px; }
.instagram-section .section-head p { color: #dbe6e3; }
.instagram-section .eyebrow { color: var(--lfv-lime); }
.instagram-section h2 { color: #fff; }
.social-follow-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.social-follow-card { position: relative; display: grid; min-height: 210px; overflow: hidden; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: clamp(24px,4vw,38px); border: 1px solid rgba(255,255,255,.16); border-radius: 34% 20% 30% 17% / 24% 31% 22% 30%; color: #fff; text-decoration: none; isolation: isolate; transition: transform .2s ease, box-shadow .2s ease; }
.social-follow-card::after { position: absolute; z-index: -1; right: -42px; bottom: -62px; width: 190px; height: 190px; border: 34px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.social-follow-card--instagram { background: linear-gradient(135deg,#625ca4,#d64276 56%,#d88f0c); transform: rotate(-1deg); }
.social-follow-card--facebook { background: linear-gradient(135deg,#1457a7,#1877f2); transform: rotate(1deg); }
.social-follow-card:hover, .social-follow-card:focus-visible { color: #fff; box-shadow: 0 20px 38px rgba(0,0,0,.22); transform: translateY(-4px) rotate(0); }
.social-follow-icon { display: grid; width: 64px; height: 64px; place-items: center; border: 3px solid rgba(255,255,255,.9); border-radius: 22px 29px 20px 27px; background: rgba(255,255,255,.12); }
.social-follow-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-follow-card--facebook .social-follow-icon svg { fill: currentColor; stroke: none; }
.social-follow-copy { min-width: 0; overflow-wrap: anywhere; }
.social-follow-copy small { display: block; margin-bottom: 4px; font-size: .74rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; opacity: .82; }
.social-follow-copy strong { display: block; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.45rem,3vw,2rem); line-height: 1.12; }
.social-follow-arrow { font-size: 1.8rem; font-weight: 800; }
.instagram-handle { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; text-decoration: none; }
.instagram-handle::before { display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid var(--lfv-mustard); border-radius: 9px; color: var(--lfv-mustard); content: "◎"; font-size: 1.2rem; }
.instagram-handle:hover { color: var(--lfv-mustard); }
.instagram-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.instagram-preview { position: relative; display: flex; min-height: 255px; overflow: hidden; flex-direction: column; justify-content: flex-end; padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; color: #fff; text-decoration: none; isolation: isolate; }
.instagram-preview::before { position: absolute; inset: 0; z-index: -2; background: linear-gradient(145deg, var(--social-a), var(--social-b)); content: ""; }
.instagram-preview::after { position: absolute; z-index: -1; top: -44px; right: -38px; width: 170px; height: 170px; border: 32px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.instagram-preview:nth-child(1) { --social-a: #625ca4; --social-b: #47417f; }
.instagram-preview:nth-child(2) { --social-a: #017471; --social-b: #13af99; }
.instagram-preview:nth-child(3) { --social-a: #d88f0c; --social-b: #fdc800; color: var(--lfv-ink); }
.instagram-preview:nth-child(4) { --social-a: #738b17; --social-b: #b8d048; color: var(--lfv-ink); }
.instagram-preview:hover { color: inherit; transform: translateY(-3px); }
.instagram-kind { align-self: flex-start; padding: 5px 9px; margin-bottom: auto; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--lfv-ink); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.instagram-preview strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.42rem; line-height: 1.18; }
.instagram-preview small { margin-top: 8px; font-size: .76rem; font-weight: 800; opacity: .82; }
.instagram-consent-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 28px; margin-top: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.06); }
.instagram-consent-box p { max-width: 720px; margin: 4px 0 0; color: #dbe6e3; font-size: .9rem; }
.instagram-load { flex: 0 0 auto; border-color: var(--lfv-mustard); background: var(--lfv-mustard); color: var(--lfv-ink); cursor: pointer; }
.instagram-load:hover { border-color: var(--lfv-yellow); background: var(--lfv-yellow); color: var(--lfv-ink); }
.instagram-load[disabled] { cursor: wait; opacity: .65; transform: none; }
.lfv-instagram-ergaenzung { padding: clamp(18px,3vw,30px); margin-top: 32px; border: 1px solid rgba(1,116,113,.2); border-radius: 22px; background: linear-gradient(145deg,#f3f8f5,#fff9df); }
.lfv-instagram-ergaenzung__label { margin: 0 0 14px; color: var(--lfv-teal); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lfv-instagram-ergaenzung figure { margin: 0 0 18px; }
.lfv-instagram-ergaenzung img { display: block; width: 100%; height: auto; max-height: 760px; border-radius: 18px; object-fit: cover; }
.lfv-instagram-ergaenzung p:last-child { margin-bottom: 0; }
.instagram-embed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
.instagram-embed-grid:not([hidden]) { display: grid; }
.instagram-embed { min-width: 0; overflow: hidden; border-radius: 20px; background: #fff; }
.instagram-embed iframe { display: block; width: 100%; height: 760px; border: 0; background: #fff; }

.cta { position: relative; overflow: hidden; padding: clamp(45px, 7vw, 78px); border-radius: 34px; background: var(--lfv-sage-dark); color: #fff; box-shadow: var(--lfv-shadow); }
.cta::after { position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; border: 54px solid rgba(232,184,75,.34); border-radius: 50%; content: ""; }
.cta h2 { position: relative; max-width: 780px; margin: 0 0 20px; font-size: clamp(2.45rem, 5vw, 4.6rem); }
.cta p { position: relative; max-width: 650px; margin: 0 0 30px; font-size: 1.14rem; opacity: .9; }
.cta .button-row { position: relative; z-index: 1; }

.page-hero { padding: clamp(58px, 8vw, 100px) 0 48px; }
.page-hero h1 { max-width: 980px; overflow-wrap: anywhere; hyphens: auto; font-size: clamp(3rem, 6vw, 5.6rem); }
.page-hero .lead { max-width: 760px; color: var(--lfv-ink-soft); font-size: 1.2rem; }
.content-wrap { width: min(calc(100% - 36px), 850px); margin-inline: auto; padding-bottom: 100px; }
.entry-content { padding: clamp(30px, 5vw, 58px); border-radius: var(--lfv-radius); background: var(--lfv-paper); box-shadow: 0 10px 35px rgba(38,49,39,.06); }
.entry-content h2 { margin: 2.3rem 0 .9rem; font-size: 2rem; }
.entry-content h3 { margin: 2rem 0 .7rem; font-size: 1.45rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 5px solid var(--lfv-mustard); background: var(--lfv-cream); font-family: Georgia, serif; font-size: 1.25rem; }
.entry-content .wp-block-group { margin-block: 1.7rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .8rem; border-bottom: 1px solid var(--lfv-line); text-align: left; }

.lfv-news-wrap { width: min(calc(100% - 36px), var(--lfv-max)); margin-inline: auto; padding-bottom: 100px; }
.lfv-current-news { margin-bottom: clamp(70px, 10vw, 120px); }
.lfv-news-section-head, .lfv-history-head { display: flex; align-items: end; justify-content: space-between; gap: 38px; margin-bottom: 32px; }
.lfv-news-section-head h2, .lfv-history-head h2 { margin: 6px 0 0; font-size: clamp(2.2rem, 5vw, 4rem); }
.lfv-news-section-head > p, .lfv-history-head > div > p { max-width: 540px; margin: 0; color: var(--lfv-ink-soft); }
.lfv-current-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.lfv-news-card { overflow: hidden; border: 1px solid var(--lfv-line); border-radius: var(--lfv-radius); background: var(--lfv-paper); box-shadow: 0 14px 40px rgba(38,49,39,.08); }
.lfv-news-image { display: block; overflow: hidden; aspect-ratio: 16/9; }
.lfv-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lfv-news-card:hover .lfv-news-image img { transform: scale(1.025); }
.lfv-news-card-body { padding: clamp(24px, 4vw, 34px); }
.lfv-news-card time, .lfv-history-item time, .lfv-history-category { color: var(--lfv-sage-dark); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.lfv-news-card h3 { margin: 9px 0 12px; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.2; }
.lfv-news-card h3 a, .lfv-history-item h3 a { color: var(--lfv-ink); text-decoration: none; }
.lfv-news-card p { margin: 0; color: var(--lfv-ink-soft); }
.lfv-empty { padding: 28px; border: 1px solid var(--lfv-line); border-radius: 20px; background: var(--lfv-paper); color: var(--lfv-ink-soft); }
.lfv-history-archive { scroll-margin-top: 110px; }
.lfv-history-cover { overflow: hidden; margin: 0 0 36px; border-radius: 32px; box-shadow: var(--lfv-shadow); }
.lfv-history-cover-image { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.lfv-history-head { align-items: flex-start; }
.lfv-history-years { display: flex; max-width: 520px; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.lfv-history-years a { display: inline-flex; min-width: 54px; justify-content: center; padding: 7px 12px; border: 1px solid var(--lfv-line); border-radius: 999px; background: var(--lfv-paper); color: var(--lfv-ink); font-weight: 800; text-decoration: none; }
.lfv-history-years a:hover, .lfv-history-years a.is-current { border-color: var(--lfv-sage-dark); background: var(--lfv-sage-dark); color: #fff; }
.lfv-history-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lfv-history-item { display: flex; overflow: hidden; flex-direction: column; border: 1px solid var(--lfv-line); border-radius: 22px; background: var(--lfv-paper); }
.lfv-history-item-image { display: block; overflow: hidden; aspect-ratio: 16/8; background: var(--lfv-cream); }
.lfv-history-item-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lfv-history-item:hover .lfv-history-item-image img { transform: scale(1.025); }
.lfv-history-item-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; padding: clamp(22px, 4vw, 32px); }
.lfv-history-item time { padding-top: 4px; }
.lfv-history-item h3 { margin: 5px 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.25; }
.lfv-history-item p { margin: 0; color: var(--lfv-ink-soft); font-size: .94rem; }
.lfv-history-item .text-link { margin-top: 13px; }
.entry-content .lfv-history-lead { font-size: 1.15rem; }
.entry-content .lfv-history-context { padding: 14px 18px; border-radius: 14px; background: var(--lfv-sage-light); }
.entry-content .lfv-history-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 28px 0; list-style: none; }
.entry-content .lfv-history-facts li { padding: 16px; border-radius: 16px; background: var(--lfv-cream); color: var(--lfv-sage-dark); font-weight: 850; text-align: center; }

.site-footer { position: relative; padding: 76px 0 34px; background: var(--lfv-ink); color: #f3f5ef; }
.site-footer::before { position: absolute; top: 0; right: 0; left: 0; height: 6px; background: linear-gradient(90deg, #d88f0c 0 20%, #625ca4 20% 40%, #b8d048 40% 60%, #13af99 60% 80%, #e9d407 80%); content: ""; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 60px; }
.footer-brand { max-width: 470px; }
.footer-brand .brand { padding: 11px 15px; border-radius: 18px; background: var(--lfv-paper); color: var(--lfv-ink); }
.footer-brand .brand-logo { width: 238px; }
.footer-brand p { color: #cdd5ca; }
.site-footer h3 { margin: 0 0 16px; font-size: 1.15rem; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: #eef2ea; text-decoration: none; }
.site-footer a:hover { color: var(--lfv-mustard); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 36px; margin-top: 52px; border-top: 1px solid rgba(255,255,255,.13); color: #aeb9ab; font-size: .78rem; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .photo-collage { width: min(100%, 760px); min-height: 540px; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .instagram-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1220px) and (min-width: 1021px) {
  .site-header .header-inner { width: min(calc(100% - 28px), 1380px); gap: 16px; }
  .brand-logo { width: 158px; }
  .site-nav { gap: 10px; }
  .site-nav ul { gap: 10px; }
  .site-nav a { font-size: .86rem; }
  .nav-cta > a, .site-nav .lfv-login-link { min-height: 40px; padding: 8px 12px; }
  .site-social-links { gap: 5px; padding-left: 11px; }
  .social-badge { width: 34px; height: 34px; border-width: 2px; }
  .social-badge svg { width: 18px; height: 18px; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 18px; left: 18px; display: none; align-items: stretch; flex-direction: column; padding: 18px; border: 1px solid var(--lfv-line); border-radius: 18px; background: var(--lfv-paper); box-shadow: var(--lfv-shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 8px; }
  .site-nav a { display: block; padding: .7rem .8rem; }
  .site-social-links { justify-content: center; padding: 12px 0 2px; border-top: 1px solid var(--lfv-line); }
  .site-social-links::before { display: none; }
  .social-badge { display: grid; }
  .section-head { align-items: start; flex-direction: column; }
  .intro-grid, .story-grid, .footer-grid { grid-template-columns: 1fr; }
  .instagram-consent-box { align-items: flex-start; flex-direction: column; }
  .instagram-embed-grid { grid-template-columns: 1fr; }
  .social-follow-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px; }
  .mosaic figure:first-child { grid-column: 1/3; grid-row: auto; }
  .footer-bottom { flex-direction: column; }
  .lfv-news-section-head, .lfv-history-head { align-items: flex-start; flex-direction: column; }
  .lfv-history-years { justify-content: flex-start; }
  .lfv-current-grid, .lfv-history-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-shell, .content-wrap { width: min(calc(100% - 24px), var(--lfv-max)); }
  .header-inner { min-height: 82px; }
  .brand-logo { width: 148px; }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .page-hero h1 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .photo-collage { min-height: 390px; }
  .photo-main { inset: 0 0 30px 22px; border-width: 6px; }
  .photo-small { border-width: 5px; }
  .photo-note { top: 16px; right: -6px; max-width: 135px; padding: 10px 12px; font-size: .82rem; }
  .stats, .activity-grid { grid-template-columns: 1fr; }
  .instagram-preview-grid { grid-template-columns: 1fr; }
  .instagram-preview { min-height: 210px; }
  .social-follow-card { min-height: 170px; grid-template-columns: auto 1fr; border-radius: 26px; transform: none; }
  .social-follow-arrow { display: none; }
  .mosaic { display: block; }
  .mosaic figure { height: 240px; margin-bottom: 12px; }
  .cta { border-radius: 24px; }
  .lfv-news-wrap { width: min(calc(100% - 24px), var(--lfv-max)); }
  .lfv-history-item-body { grid-template-columns: 1fr; gap: 8px; }
  .entry-content .lfv-history-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
