:root {
  --wine: #8e2432;
  --wine-dark: #5e1722;
  --red: #b83242;
  --rose: #f3dedb;
  --blush: #fbf4f1;
  --cream: #f7eee7;
  --white: #ffffff;
  --ink: #34302e;
  --muted: #746c68;
  --line: #e7dfda;
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shell: 1170px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.7 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(calc(100% - 2.5rem), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--wine); color: #fff; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.kicker { margin: 0 0 .65rem; color: var(--red); font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.utility-bar { background: var(--wine-dark); color: rgba(255,255,255,.9); font-size: .72rem; }
.utility-bar .shell { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.utility-bar a { color: #fff; font-weight: 600; text-decoration: none; }

.site-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .95rem; text-decoration: none; }
.brand img { width: 190px; height: 94px; object-fit: contain; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { color: var(--wine-dark); font: 2rem/1 var(--serif); }
.brand small { margin-top: .42rem; color: var(--muted); font-size: .65rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.4rem); }
.main-nav a { position: relative; padding: .45rem 0; color: #4d4744; font-size: .78rem; font-weight: 600; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav .nav-donate { padding: .55rem 1rem; border: 1px solid var(--wine); color: var(--wine); }
.main-nav .nav-donate::after { display: none; }
.main-nav .nav-donate:hover { background: var(--wine); color: #fff; }
.menu-button { display: none; border: 0; background: none; color: var(--wine); font-size: .8rem; font-weight: 700; }

.intro { padding: clamp(3.5rem, 7vw, 6.5rem) 0; background: linear-gradient(90deg, #fff 0 52%, var(--blush) 52%); border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.intro-logo { min-height: 420px; display: grid; place-items: center; padding: 1.5rem; background: #fff; box-shadow: 0 18px 60px rgba(76,51,44,.08); }
.intro-logo img { width: min(390px, 96%); max-height: 410px; object-fit: contain; }
.intro-copy { max-width: 680px; padding-block: 1rem; }
.intro-copy h1 { max-width: 650px; margin: 0 0 1.45rem; color: var(--wine-dark); font: clamp(3.1rem, 5.2vw, 5.5rem)/.98 var(--serif); letter-spacing: -.025em; }
.intro-copy > p:not(.kicker) { max-width: 650px; margin: 0 0 1rem; color: var(--muted); }
.text-link { display: inline-flex; gap: .8rem; margin-top: .75rem; color: var(--wine); font-size: .78rem; font-weight: 700; text-decoration: none; }

.blog-section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading h2, .sources h2 { margin: 0 0 1rem; color: var(--wine-dark); font: clamp(2.8rem, 4.4vw, 4.6rem)/1.05 var(--serif); letter-spacing: -.02em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(3rem, 6vw, 5.5rem); align-items: start; }
.post-list { border-top: 1px solid var(--line); }
.post-card { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.post-card.hidden { display: none; }
.post-image { height: 180px; display: grid; place-items: center; overflow: hidden; background: var(--cream); text-decoration: none; }
.post-image.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 67% center; }
.post-image.emblem { background: #eee7e1; }
.post-image.emblem img { width: 165px; height: 165px; object-fit: contain; }
.post-image.words { padding: 1.5rem; background: var(--rose); color: var(--wine-dark); text-align: center; }
.post-image.words span { font: 1.65rem/1.2 var(--serif); }
.post-image.initials { background: var(--wine); color: #fff; }
.post-image.initials span { font: 3.2rem/1 var(--serif); }
.post-image.care { background: #f7e9e6; color: var(--red); }
.post-image.care span { font-size: 3rem; }
.post-body { align-self: center; }
.post-meta { margin: 0 0 .45rem; color: var(--red); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.post-body h3 { margin: 0 0 .65rem; font: 2rem/1.08 var(--serif); }
.post-body h3 a { color: var(--wine-dark); text-decoration: none; }
.post-body h3 a:hover { color: var(--red); }
.post-body > p:not(.post-meta) { margin: 0 0 .75rem; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.read-more { color: var(--wine); font-size: .75rem; font-weight: 700; text-decoration: none; }
.read-more::after { content: "  →"; }
.empty-results { padding: 1.5rem; background: var(--blush); color: var(--wine); text-align: center; }

.sidebar { position: sticky; top: 1.5rem; display: grid; gap: 2rem; }
.side-block { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.side-block h3, .side-story h3, .urgent-card h3 { margin: 0 0 1rem; color: var(--wine-dark); font: 1.55rem/1.15 var(--serif); }
.search-box { display: flex; align-items: center; border: 1px solid var(--line); background: #fff; }
.search-box input { width: 100%; min-width: 0; padding: .78rem .9rem; border: 0; outline: 0; color: var(--ink); font-size: .78rem; }
.search-box i { padding-right: .8rem; color: var(--wine); font-style: normal; font-size: 1.15rem; }
.category-list { display: grid; }
.category { padding: .7rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); text-align: left; font-size: .78rem; cursor: pointer; }
.category::before { content: "›"; margin-right: .6rem; color: var(--red); }
.category.active, .category:hover { color: var(--wine); font-weight: 700; }
.side-story { padding: 1.6rem; background: var(--blush); }
.side-story img { width: 165px; height: 155px; margin: 0 auto 1rem; object-fit: contain; }
.side-story > p:last-child { margin-bottom: 0; color: var(--muted); font-size: .8rem; }
.urgent-card { padding: 1.6rem; background: var(--wine-dark); color: #fff; }
.urgent-card .kicker { color: #f4bbb4; }
.urgent-card h3 { color: #fff; }
.urgent-card p:not(.kicker) { color: rgba(255,255,255,.78); font-size: .8rem; }
.urgent-card strong { display: block; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .78rem; }

.guides { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--blush); border-block: 1px solid var(--line); }
.section-heading.compact { margin-bottom: 2rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.guide-grid a { min-height: 160px; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 1rem; padding: 1.5rem; border-right: 1px solid var(--line); text-decoration: none; }
.guide-grid a:last-child { border-right: 0; }
.guide-grid span { align-self: start; color: var(--red); font-size: .72rem; font-weight: 700; }
.guide-grid strong { color: var(--wine-dark); font: 1.55rem/1.1 var(--serif); }
.guide-grid i { color: var(--wine); font-style: normal; }

.plans { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--wine-dark); color: #fff; }
.plans-heading { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: clamp(2rem, 7vw, 7rem); margin-bottom: 2.5rem; }
.plans-heading .kicker { color: #f1bbb5; }
.plans-heading h2 { margin: 0; font: clamp(2.8rem, 4.4vw, 4.6rem)/1.05 var(--serif); letter-spacing: -.02em; }
.plans-heading > p { max-width: 560px; margin: 0; color: rgba(255,255,255,.73); }
.newsletter-card { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-bottom: 2rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--rose); color: var(--ink); }
.newsletter-copy { max-width: 430px; }
.plan-label-static { margin: 0 0 .65rem; color: var(--red); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.newsletter-copy h3 { margin: 0 0 .8rem; color: var(--wine-dark); font: clamp(2.5rem, 4vw, 3.8rem)/1 var(--serif); }
.newsletter-copy > p:not(.plan-label-static) { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.newsletter-copy .newsletter-note { margin-bottom: 0; color: var(--wine); font-size: .72rem; font-weight: 700; }
.newsletter-form { min-width: 0; overflow: hidden; background: #fff; }
.newsletter-form iframe { display: block; width: 100%; max-width: 100%; margin-inline: auto; border: 0; background: #fff; }
.paid-plans-title { margin: 0 0 .9rem; color: rgba(255,255,255,.78); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.plan-card { position: relative; min-height: 350px; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.3rem); background: #fff; color: var(--ink); }
.plan-card.featured { background: var(--rose); }
.plan-label { position: absolute; top: 1.3rem; right: 1.3rem; margin: 0; color: var(--red); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan-name { margin: 0 0 .8rem; color: var(--wine); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: .45rem; margin: 0 0 1.3rem; color: var(--wine-dark); }
.plan-price strong { font: 3.7rem/.95 var(--serif); }
.plan-price span { color: var(--muted); font-size: .76rem; }
.plan-card > p:not(.plan-name):not(.plan-price):not(.plan-label) { margin: 0 0 1.8rem; color: var(--muted); font-size: .82rem; }
.plan-card > a { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding: .9rem 0; border-top: 1px solid var(--line); color: var(--wine); font-size: .76rem; font-weight: 700; text-decoration: none; }
.plan-card > a:hover { color: var(--red); }
.plans-note { margin: 1.25rem 0 0; color: rgba(255,255,255,.62); font-size: .68rem; text-align: center; }
.plans-note span { margin-right: .35rem; color: #f1bbb5; }

.sources { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.sources-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); }
.source-links { border-top: 1px solid var(--line); }
.source-links a { min-height: 92px; display: grid; grid-template-columns: 75px 1fr auto; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.source-links span { color: var(--red); font-size: .7rem; font-weight: 700; }
.source-links strong { color: var(--wine-dark); font: 1.3rem/1.15 var(--serif); }
.source-links i { color: var(--wine); font-style: normal; }

.site-footer { padding: 4rem 0 1.4rem; background: #332b29; color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 230px; height: 150px; object-fit: contain; object-position: left center; }
.footer-brand p { display: grid; margin: 0; }
.footer-brand strong { font: 2rem/1 var(--serif); }
.footer-brand span { margin-top: .45rem; color: #edb4ac; font-size: .65rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.82); font-size: .75rem; text-decoration: none; }
.footer-donations { grid-column: 1/-1; display: grid; grid-template-columns: .65fr 1.35fr; gap: 1.4rem 2rem; padding: 1.7rem 0; border-block: 1px solid rgba(255,255,255,.17); }
.footer-donation-heading p { margin: 0 0 .25rem; color: #fff; font: 1.85rem/1 var(--serif); }
.footer-donation-heading small { display: block; max-width: 330px; color: rgba(255,255,255,.62); font-size: .7rem; line-height: 1.5; }
.payment-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.payment-logos-three { grid-template-columns: repeat(3, 1fr); }
.payment-logo { min-width: 0; min-height: 76px; display: grid; align-content: center; justify-items: center; gap: .15rem; padding: .65rem .5rem; border: 1px solid rgba(255,255,255,.1); border-radius: .35rem; background: rgba(255,255,255,.045); color: #fff; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.payment-logo:hover, .payment-logo:focus-visible { transform: translateY(-2px); background: rgba(255,255,255,.1); box-shadow: 0 7px 18px rgba(0,0,0,.18); outline: 2px solid #f1c2bc; outline-offset: 2px; }
.payment-logo strong { font-size: 1.1rem; line-height: 1; }
.payment-logo span { color: rgba(255,255,255,.68); font-size: .58rem; font-weight: 600; }
.paypal-logo strong { color: #8ec5ff; font-style: italic; letter-spacing: -.05em; }
.paypal-logo strong i { color: #5aa9ff; font-style: inherit; }
.bizum-logo strong { color: #62ddd4; font-size: 1.2rem; letter-spacing: -.04em; }
.card-logo strong { display: flex; align-items: center; gap: .35rem; color: #fff; }
.card-logo strong i { width: 24px; height: 16px; display: inline-block; border: 2px solid #fff; border-radius: 2px; box-shadow: inset 0 -7px 0 rgba(255,255,255,.18); }
.payment-disclaimer { grid-column: 2; margin: 0; color: rgba(255,255,255,.58); font-size: .62rem; line-height: 1.5; }
.copy-status { grid-column: 2; min-height: 1.2rem; margin: -.8rem 0 0; color: #fff; font-size: .68rem; font-weight: 600; }
.footer-note { grid-column: 1/-1; margin: 1rem 0 0; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.65); font-size: .72rem; }
.site-footer small { color: rgba(255,255,255,.52); font-size: .68rem; }
.all-posts-link { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.5rem; color: var(--wine); font-size: .78rem; font-weight: 700; text-decoration: none; }

@media (max-width: 940px) {
  .header-inner { min-height: 88px; }
  .brand img { width: 160px; height: 78px; }
  .brand strong { font-size: 1.6rem; }
  .menu-button { display: flex; align-items: center; gap: .55rem; }
  .menu-button i { width: 18px; height: 1px; background: var(--wine); }
  .main-nav { display: none; position: absolute; top: 88px; right: 0; left: 0; padding: 1.2rem max(1.25rem, calc((100% - var(--shell))/2)); background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .45rem 0; }
  .intro { background: var(--blush); }
  .intro-grid { grid-template-columns: .8fr 1.2fr; gap: 3rem; }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .side-story, .urgent-card { min-height: 100%; }
  .footer-donations { grid-template-columns: 1fr; }
  .payment-disclaimer, .copy-status { grid-column: 1; }
  .sources-inner { grid-template-columns: 1fr; }
  .plans-heading { grid-template-columns: 1fr; }
  .newsletter-card { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 300px; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .utility-bar .shell { justify-content: center; min-height: 30px; text-align: center; }
  .utility-bar a { display: none; }
  .brand img { width: 135px; height: 68px; }
  .brand strong { font-size: 1.35rem; }
  .brand small { font-size: .53rem; }
  .intro { padding-block: 2.5rem 4rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-logo { min-height: 330px; }
  .intro-logo img { max-height: 330px; }
  .intro-copy h1 { font-size: clamp(2.9rem, 13vw, 4.2rem); }
  .blog-section { padding-top: 4rem; }
  .post-card { grid-template-columns: 1fr; gap: 1.25rem; }
.post-image { height: 220px; }
  .post-body h3 { font-size: 1.9rem; }
  .sidebar { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid a { border-right: 0; border-bottom: 1px solid var(--line); }
  .newsletter-card { padding: 1.25rem; }
  .newsletter-form { margin-inline: -.4rem; }
  .payment-logos, .payment-logos-three { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}

.post-image.editorial-image { background: #f8f4ef; }
.post-image.editorial-image img { width: 100%; height: 100%; object-fit: contain; }
.article-visual-image { background: #f8f4ef; }
.article-visual-image img { object-fit: contain; }

/* Community */
.community-page { background: var(--blush); }
.community-header .header-inner { min-height: 92px; }
.community-header .brand img { width: 165px; height: 78px; object-fit: contain; }
.community-nav { display: flex; align-items: center; gap: 1.35rem; }
.community-nav a { color: var(--wine); font-size: .78rem; font-weight: 700; text-decoration: none; }
.community-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .4rem; }
.community-nav .community-auth { padding: .6rem .85rem; border: 1px solid var(--wine); }
.community-hero { padding: clamp(4rem, 8vw, 7rem) 0; background: linear-gradient(110deg,#fff 0 63%,var(--rose) 63%); border-bottom: 1px solid var(--line); }
.community-hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(240px,.55fr); align-items: end; gap: clamp(2.5rem,7vw,7rem); }
.community-hero h1, .community-simple h1 { max-width: 850px; margin: 0 0 1.4rem; color: var(--wine-dark); font: clamp(3.1rem,6vw,6rem)/.98 var(--serif); letter-spacing: -.03em; }
.community-hero p { max-width: 700px; color: var(--muted); }
.community-hero aside { padding: 1.6rem; border-top: 3px solid var(--wine); background: rgba(255,255,255,.76); }
.community-hero aside p { margin: .45rem 0 0; font-size: .8rem; }
.community-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid var(--wine); background: var(--wine); color: #fff; font-size: .78rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.community-button.secondary { background: transparent; color: var(--wine); }
.community-groups, .community-latest, .community-simple { padding: clamp(4rem,7vw,6.5rem) 0; }
.community-latest { background: #fff; border-top: 1px solid var(--line); }
.community-section-title { max-width: 720px; margin-bottom: 2rem; }
.community-section-title.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.community-section-title h1, .community-section-title h2, .group-heading h1 { margin: 0 0 .6rem; color: var(--wine-dark); font: clamp(2.6rem,4.5vw,4.5rem)/1 var(--serif); }
.community-section-title > p:last-child, .group-heading > p:last-child { color: var(--muted); }
.community-section-title > a { color: var(--wine); font-size: .78rem; font-weight: 700; text-decoration: none; }
.group-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.group-card { min-height: 260px; display: flex; flex-direction: column; padding: clamp(1.5rem,4vw,2.6rem); background: #fff; text-decoration: none; transition: background .2s ease; }
.group-card:hover { background: var(--cream); }
.group-count, .community-meta { color: var(--red); font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.group-card h2 { margin: 1.2rem 0 .7rem; color: var(--wine-dark); font: 2.25rem/1.05 var(--serif); }
.group-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.group-card strong { margin-top: auto; padding-top: 1.5rem; color: var(--wine); font-size: .76rem; }
.community-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.community-post-list { display: grid; gap: 1rem; }
.community-post-card { padding: clamp(1.4rem,3vw,2rem); border: 1px solid var(--line); background: #fff; }
.community-post-card h2 { margin: .55rem 0 .8rem; color: var(--wine-dark); font: 1.8rem/1.1 var(--serif); }
.community-post-card h2 a { text-decoration: none; }
.community-post-card > p:not(.community-meta) { color: var(--muted); font-size: .83rem; }
.community-post-card footer { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
.community-empty { grid-column: 1/-1; padding: 2rem; border: 1px solid var(--line); background: #fff; }
.community-empty.compact { padding: 1.1rem; }
.community-empty h2, .community-empty h3 { margin: 0 0 .5rem; color: var(--wine-dark); font: 1.7rem/1.1 var(--serif); }
.community-empty p { margin: 0; color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 2rem; color: var(--wine); font-size: .76rem; font-weight: 700; text-decoration: none; }
.group-heading { max-width: 780px; margin-bottom: 2.5rem; }
.community-two-column { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 2rem; align-items: start; }
.community-two-column aside, .messages-layout aside { position: sticky; top: 1rem; }
.community-signin-card, .community-form { padding: 1.5rem; border: 1px solid var(--line); background: #fff; }
.community-signin-card h2, .community-form h2, .messages-layout > section > h2 { margin: 0 0 .8rem; color: var(--wine-dark); font: 2rem/1 var(--serif); }
.community-signin-card p, .community-form > p { color: var(--muted); font-size: .75rem; }
.community-form { display: grid; gap: 1rem; }
.community-form label { display: grid; gap: .4rem; color: var(--wine-dark); font-size: .74rem; font-weight: 700; }
.community-form input, .community-form textarea, .community-form select { width: 100%; padding: .8rem; border: 1px solid var(--line); background: #fff; color: var(--ink); font: .9rem/1.55 var(--sans); resize: vertical; }
.community-form input:focus, .community-form textarea:focus, .community-form select:focus { outline: 2px solid var(--rose); border-color: var(--wine); }
.community-form .community-button { justify-self: start; }
.community-narrow, .community-reading { width: min(calc(100% - 2rem),760px); margin-inline: auto; }
.community-narrow > p { color: var(--muted); }
.form-error { padding: 1rem; border-left: 3px solid var(--wine); background: #fff; }
.community-thread { padding: clamp(1.5rem,5vw,3.5rem); border: 1px solid var(--line); background: #fff; }
.community-thread h1 { font-size: clamp(2.7rem,5vw,4.8rem); }
.thread-author { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.thread-body { padding-top: 1.5rem; font: 1.08rem/1.85 Georgia,serif; }
.community-replies { margin: 2.5rem 0; }
.community-replies > h2 { color: var(--wine-dark); font: 2.2rem/1 var(--serif); }
.community-reply { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.community-reply header, .private-message header { display: flex; justify-content: space-between; gap: 1rem; }
.community-reply time, .private-message time { color: var(--muted); font-size: .68rem; }
.community-reply p, .private-message p { margin-bottom: 0; }
.members-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.member-card { display: grid; grid-template-columns: 58px 1fr; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); background: #fff; }
.member-avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--rose); color: var(--wine); font: 1.8rem/1 var(--serif); }
.member-card h2 { margin: 0; color: var(--wine-dark); font: 1.6rem/1.1 var(--serif); }
.member-card p { margin: .4rem 0; color: var(--muted); font-size: .8rem; }
.member-card small { color: var(--muted); font-size: .65rem; }
.member-card > a { grid-column: 2; color: var(--wine); font-size: .72rem; font-weight: 700; }
.messages-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 2rem; align-items: start; }
.messages-list { display: grid; gap: .8rem; }
.private-message { padding: 1.2rem; border: 1px solid var(--line); background: #fff; }
.private-message.sent { margin-left: 2rem; border-left: 3px solid var(--rose); }
.private-message.received { margin-right: 2rem; border-left: 3px solid var(--wine); }
.private-message > a { color: var(--wine); font-size: .7rem; font-weight: 700; }
.community-footer { margin-top: 0; }

/* Community administration */
.admin-page { background: #f7f1ee; }
.admin-shell { width: min(calc(100% - 2rem), 1180px); margin-inline: auto; padding: 2.5rem 0 5rem; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.admin-topbar a { color: var(--wine); font-weight: 700; text-decoration: none; }
.admin-heading h1 { margin: .25rem 0 .7rem; color: var(--wine-dark); font: clamp(2.7rem, 5vw, 4.8rem)/1 var(--serif); }
.admin-heading p { max-width: 700px; color: var(--muted); }
.admin-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .75rem; margin: 2rem 0 2.5rem; }
.admin-stat { padding: 1.15rem; border: 1px solid var(--line); background: #fff; }
.admin-stat strong { display: block; color: var(--wine-dark); font: 2rem/1 var(--serif); }
.admin-stat span { color: var(--muted); font-size: .72rem; }
.admin-section { margin-top: 1.25rem; border: 1px solid var(--line); background: #fff; }
.admin-section > header { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--line); }
.admin-section h2 { margin: 0; color: var(--wine-dark); font: 2rem/1 var(--serif); }
.admin-section header p { margin: .35rem 0 0; color: var(--muted); font-size: .75rem; }
.admin-list { display: grid; }
.admin-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1.5rem; align-items: center; padding: 1.15rem 1.25rem; border-top: 1px solid var(--line); }
.admin-row:first-child { border-top: 0; }
.admin-row h3 { margin: 0 0 .35rem; color: var(--wine-dark); font: 1.4rem/1.1 var(--serif); }
.admin-row p { margin: .25rem 0; color: var(--muted); font-size: .78rem; }
.admin-row small { color: var(--muted); font-size: .68rem; }
.admin-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.admin-action { min-height: 38px; padding: .55rem .8rem; border: 1px solid var(--wine); background: #fff; color: var(--wine); font: 700 .7rem/1 var(--sans); cursor: pointer; }
.admin-action.danger { border-color: #a20f1d; background: #a20f1d; color: #fff; }
.admin-action.success { border-color: #285e46; background: #285e46; color: #fff; }
.admin-badge { display: inline-block; margin-left: .45rem; padding: .2rem .45rem; border-radius: 999px; background: #eee; color: #555; font: 700 .62rem/1 var(--sans); }
.admin-badge.blocked, .admin-badge.closed { background: #f8dddd; color: #8c1824; }
.admin-empty { padding: 1.25rem; color: var(--muted); }

/* Community access */
.access-page { min-height: 100vh; background: linear-gradient(135deg,#fff 0 58%,var(--blush) 58%); }
.access-shell { width: min(calc(100% - 2rem), 980px); margin-inline: auto; padding: 2rem 0 5rem; }
.access-brand { display: flex; justify-content: center; margin: .5rem 0 1.5rem; }
.access-brand img { width: 190px; height: 105px; object-fit: contain; }
.access-heading { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.access-heading h1 { margin: .3rem 0 1rem; color: var(--wine-dark); font: clamp(2.8rem,6vw,5rem)/.98 var(--serif); }
.access-heading > p:not(.kicker,.access-message) { color: var(--muted); }
.access-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; align-items: start; }
.access-form { padding: clamp(1.4rem,4vw,2rem); box-shadow: 0 18px 55px rgba(68,18,28,.07); }
.access-form > a { color: var(--wine); font-size: .72rem; font-weight: 700; }
.access-single { width: min(100%,520px); margin-inline: auto; }
.access-message { padding: .8rem 1rem; border: 1px solid #dfc6c3; background: #fff; color: var(--wine); font-size: .8rem; }
.access-message.error { border-color: #df9da4; background: #fff1f2; color: #861321; }

@media (max-width: 820px) {
  .community-hero { background: #fff; }
  .community-hero-grid, .community-two-column, .messages-layout { grid-template-columns: 1fr; }
  .community-two-column aside, .messages-layout aside { position: static; }
  .community-nav { gap: .7rem; }
  .community-nav a { font-size: .7rem; }
  .admin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .access-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .community-header .brand img { width: 120px; height: 62px; }
  .community-nav a:not(.community-auth):nth-child(2) { display: none; }
  .community-nav .community-auth { padding: .5rem .65rem; }
  .group-grid, .community-post-grid, .members-grid { grid-template-columns: 1fr; }
  .community-section-title.row { align-items: start; flex-direction: column; }
  .community-hero h1, .community-simple h1 { font-size: clamp(2.7rem,13vw,4rem); }
  .private-message.sent, .private-message.received { margin: 0; }
  .admin-topbar, .admin-section > header, .admin-row { align-items: stretch; flex-direction: column; }
  .admin-row { display: flex; }
  .admin-actions { justify-content: flex-start; }
  .access-page { background: var(--blush); }
}

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

/* Article pages */
.article-page { background: var(--white); }
.article-header .header-inner { min-height: 92px; }
.article-header .brand img { width: 165px; height: 78px; }
.article-nav { display: flex; align-items: center; gap: 1.6rem; }
.article-nav a { color: var(--wine); font-size: .78rem; font-weight: 700; text-decoration: none; }
.article-nav a:last-child { padding: .55rem 1rem; border: 1px solid var(--wine); }
.article-hero { padding: clamp(3.5rem, 7vw, 6.5rem) 0; background: var(--blush); border-bottom: 1px solid var(--line); }
.article-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.article-heading h1 { max-width: 780px; margin: 0 0 1.4rem; color: var(--wine-dark); font: clamp(3rem, 5.7vw, 5.8rem)/.98 var(--serif); letter-spacing: -.03em; }
.article-deck { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.article-visual { min-height: 380px; display: grid; place-items: center; margin: 0; overflow: hidden; background: var(--rose); }
.article-visual img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; }
.article-visual-logo { background: #eee7e1; }
.article-visual-logo img { width: 76%; height: 76%; object-fit: contain; }
.article-visual-quote { padding: 2.5rem; color: var(--wine-dark); text-align: center; }
.article-visual-quote span { font: clamp(2.2rem, 4vw, 4.2rem)/1.05 var(--serif); }
.article-visual-initials { background: var(--wine); color: #fff; }
.article-visual-initials span { font: clamp(5rem, 10vw, 9rem)/1 var(--serif); }
.article-visual-heart { background: #f7e9e6; color: var(--red); }
.article-visual-heart span { font-size: clamp(5rem, 10vw, 9rem); line-height: 1; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; justify-content: center; gap: clamp(3rem, 7vw, 7rem); padding-block: clamp(4rem, 8vw, 7.5rem); }
.article-content { color: #3f3936; font-family: Georgia, 'Times New Roman', serif; font-size: 1.08rem; line-height: 1.9; }
.article-content > p { margin: 0 0 1.35rem; }
.article-content h2 { margin: 3.2rem 0 1rem; color: var(--wine-dark); font: clamp(2rem, 3.2vw, 3rem)/1.1 var(--serif); }
.article-content h2:first-child { margin-top: 0; }
.article-content .article-source { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font: italic .82rem/1.7 var(--sans); }
.article-content .article-source + .article-source { margin-top: 0; padding-top: 0; border-top: 0; }
.article-aside { position: sticky; top: 2rem; align-self: start; display: grid; gap: 1.2rem; }
.article-aside div { padding: 1.5rem; background: var(--blush); }
.article-aside p:last-child { margin: 0; color: var(--muted); font-size: .78rem; }
.article-aside > a { padding: 1rem 0; border-block: 1px solid var(--line); color: var(--wine); font-size: .74rem; font-weight: 700; text-decoration: none; }
.article-community { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--wine-dark); color: #fff; }
.community-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.community-heading .kicker { color: #f1bbb5; }
.community-heading h2 { margin: 0 0 1.8rem; font: clamp(2.8rem, 4.5vw, 4.6rem)/1.02 var(--serif); }
.like-button { display: inline-flex; align-items: center; gap: .65rem; min-height: 52px; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; cursor: pointer; }
.like-button span { color: #f2b1aa; font-size: 1.55rem; line-height: 1; }
.like-button strong { font-size: .78rem; }
.like-button small { min-width: 2rem; padding-left: .65rem; border-left: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.75); }
.like-button.liked { background: #fff; color: var(--wine-dark); }
.like-button:disabled { cursor: wait; opacity: .65; }
.comments-panel { padding: clamp(1.4rem, 3vw, 2.2rem); background: #fff; color: var(--ink); }
.comments-panel > h3 { margin: 0 0 1.4rem; color: var(--wine-dark); font: 2rem/1 var(--serif); }
.comments-list { display: grid; gap: 1rem; margin-bottom: 2rem; }
.comments-empty { margin: 0; padding: 1rem; background: var(--blush); color: var(--muted); font-size: .82rem; }
.reader-comment { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.reader-comment > div { display: flex; justify-content: space-between; gap: 1rem; }
.reader-comment strong { color: var(--wine-dark); font-size: .8rem; }
.reader-comment time { color: var(--muted); font-size: .67rem; }
.reader-comment p { margin: .55rem 0 0; white-space: pre-wrap; color: var(--muted); font-size: .86rem; }
.comment-form { display: grid; gap: 1rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.comment-form label { display: grid; gap: .35rem; color: var(--wine-dark); font-size: .72rem; font-weight: 700; }
.comment-form input, .comment-form textarea { width: 100%; padding: .75rem .8rem; border: 1px solid var(--line); background: #fff; color: var(--ink); font: .88rem/1.5 var(--sans); resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--wine); outline: 2px solid var(--rose); outline-offset: 1px; }
.comment-form > p { margin: 0; color: var(--muted); font-size: .68rem; }
.comment-form button { justify-self: start; padding: .8rem 1.2rem; border: 0; background: var(--wine); color: #fff; font-size: .76rem; font-weight: 700; cursor: pointer; }
.comment-form button:disabled { opacity: .65; cursor: wait; }
.comment-form .comment-status { min-height: 1.4rem; color: var(--wine); font-weight: 700; }
.comment-honeypot { position: absolute !important; left: -9999px !important; }
.article-pagination { display: grid; grid-template-columns: 1fr 1fr; border-inline: 1px solid var(--line); }
.article-pagination a { min-height: 150px; display: grid; align-content: center; gap: .5rem; padding: 1.5rem; border-right: 1px solid var(--line); color: var(--wine-dark); text-decoration: none; }
.article-pagination a:last-child { border-right: 0; text-align: right; }
.article-pagination span { color: var(--red); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.article-pagination strong { font: 1.35rem/1.15 var(--serif); }
.article-footer { margin-top: 0; }

@media (max-width: 900px) {
  .article-hero-grid { grid-template-columns: 1fr; }
  .article-visual { min-height: 320px; }
  .article-layout { grid-template-columns: minmax(0, 760px); }
  .article-aside { position: static; }
  .community-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .article-header .brand img { width: 132px; height: 64px; }
  .article-nav { gap: .8rem; }
  .article-nav a:first-child { font-size: .7rem; }
  .article-nav a:last-child { display: none; }
  .article-hero { padding-block: 3rem; }
  .article-heading h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .article-visual { min-height: 260px; }
  .article-layout { padding-block: 3.5rem; }
  .article-content { font-size: 1rem; line-height: 1.82; }
  .article-pagination { grid-template-columns: 1fr; }
  .article-pagination a { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .article-pagination a:last-child { border-bottom: 0; text-align: left; }
}
