:root {
  --bg: #f3f7f5;
  --surface: #ffffff;
  --surface-soft: #eaf1ee;
  --surface-accent: #e1efe9;
  --text: #263432;
  --muted: #5b6f6b;
  --border: #d9e6e0;
  --rose: #2b7a78;
  --rose-deep: #245f5d;
  --beige: #d7e7de;
  --shadow: 0 18px 48px rgba(25, 51, 49, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --shell: min(1180px, calc(100% - 28px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fbf9 0%, #eef5f2 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell, .footer-shell, .header-shell, .article-shell, .contact-shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(243, 247, 245, 0.94);
  border-bottom: 1px solid rgba(217, 230, 224, 0.92);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: clamp(210px, 30vw, 320px);
  overflow: visible;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-copy strong,
.hero-copy h1,
.section-heading h2,
.article-body h2,
.article-body h3,
.archive-head h1,
.contact-hero h1,
.legal-hero h1,
.newsletter-card h2,
.footer-brand strong {
  font-family: "Playfair Display", serif;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.15rem;
  line-height: 1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.primary-nav {
  display: none;
}

.primary-nav ul,
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li,
.mobile-nav li {
  margin: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.search-box {
  position: relative;
  display: none;
}

.search-box input {
  width: 260px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--text);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, calc(100vw - 28px));
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.search-results.is-visible { display: block; }
.search-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-top: 1px solid rgba(234, 219, 212, 0.7);
}
.search-item:first-child { border-top: 0; }
.search-item small { color: var(--rose-deep); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.search-item span { color: var(--muted); font-size: 0.9rem; }

.social-links,
.social-links-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-tools .social-links {
  display: none;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.78);
  color: var(--rose-deep);
  transition: transform .25s ease, background .25s ease;
}
.social-icon:hover { transform: translateY(-2px); background: var(--surface-accent); }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.78);
  display: inline-grid;
  place-items: center;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 2px 0;
}

.mobile-nav {
  display: none;
  width: var(--shell);
  margin: 0 auto 12px;
  padding: 6px 0 0;
}
.site-header.is-open .mobile-nav { display: block; }
.mobile-nav ul { display: grid; gap: 10px; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  font-weight: 600;
}

@media (max-width: 759px) {
  .site-header .social-links,
  .header-tools .social-links {
    display: none !important;
  }

  .page-shell,
  .footer-shell,
  .header-shell,
  .article-shell,
  .contact-shell {
    width: min(100% - 20px, 100%);
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: min(240px, calc(100vw - 120px));
  }

  .header-tools {
    gap: 8px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .mobile-nav {
    width: min(100% - 20px, 100%);
    margin-bottom: 10px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-featured {
    min-height: 460px;
    border-radius: 28px;
  }

  .hero-copy {
    padding: 20px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(1.7rem, 7.6vw, 2.65rem);
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 32ch;
  }
}

.hero {
  padding: 28px 0 24px;
}
.hero-grid {
  display: grid;
  gap: 18px;
}
.hero-featured {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 620px;
  box-shadow: var(--shadow);
}
.hero-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(35, 27, 28, 0.02), rgba(35, 27, 28, 0.82));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-copy > * {
  width: 100%;
  max-width: 720px;
}
.hero-kicker,
.card-meta,
.list-kicker,
.article-meta,
.reading-pill,
.trending-tag,
.archive-label {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
}
.hero-kicker,
.archive-label,
.list-kicker,
.trending-tag { color: #7b9b8f; }
.hero-copy h1 {
  margin: 4px 0 8px;
  max-width: 12ch;
  font-size: clamp(1.7rem, 4.2vw, 3.15rem);
  line-height: 1.06;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  overflow-wrap: anywhere;
}
.hero-copy p {
  margin: 0 0 18px;
  max-width: 54ch;
  color: rgba(255,255,255,.86);
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); }
.btn-soft { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.18); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }

.section { padding: 34px 0; }
.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.section-heading h2,
.archive-head h1,
.contact-hero h1,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}
.section-heading p,
.archive-head p,
.contact-hero p,
.legal-hero p { margin: 0; color: var(--muted); line-height: 1.7; max-width: 64ch; }

.magazine-grid,
.category-stream,
.archive-grid,
.related-grid,
.footer-grid,
.contact-grid,
.contact-cards,
.popular-grid {
  display: grid;
  gap: 18px;
}

.article-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(74, 52, 54, 0.12);
}
.article-card figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-content {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.card-meta { color: var(--rose-deep); }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: .9rem;
}
.article-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.18;
}
.article-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.reading-pill {
  width: fit-content;
  color: var(--text);
  background: var(--surface-soft);
  border-radius: 999px;
  padding: 8px 12px;
}

.list-block,
.newsletter-card,
.contact-card,
.legal-card,
.article-cta,
.trending-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.list-block,
.newsletter-card,
.contact-card,
.legal-card,
.article-cta,
.trending-card,
.contact-form {
  padding: 22px;
}

.trending-list {
  display: grid;
  gap: 12px;
}
.trending-item {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(234, 219, 212, 0.9);
}
.trending-item:first-child { border-top: 0; padding-top: 0; }
.trending-item h3 { margin: 0; font-size: 1.06rem; line-height: 1.28; }
.trending-item p { margin: 0; color: var(--muted); line-height: 1.65; }

.newsletter-card {
  background: linear-gradient(135deg, #f5fbf7 0%, #e6f0eb 100%);
}
.newsletter-form,
.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form .wpcf7-form {
  display: grid;
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}
.newsletter-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 14px 16px;
  background: rgba(255,255,255,.92);
  color: var(--text);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.form-feedback { margin: 0; color: var(--muted); line-height: 1.7; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); line-height: 1.6; }
.consent-check input { width: 18px; height: 18px; margin-top: 3px; }
.contact-form .wpcf7-form p {
  margin: 0;
}
.contact-form .wpcf7-acceptance,
.contact-form .wpcf7-checkbox {
  display: block;
}
.contact-form .wpcf7-list-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}
.contact-form .wpcf7-list-item-label {
  color: var(--muted);
  line-height: 1.6;
}
.contact-form .wpcf7-spinner {
  margin: 0 0 0 8px;
}
.contact-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: 0 0 auto;
}
.contact-form .wpcf7-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.contact-form .wpcf7-submit:hover {
  background: var(--rose-deep);
  transform: translateY(-1px);
}

.archive-head,
.contact-hero,
.legal-hero {
  display: grid;
  gap: 12px;
  padding: 32px 0 10px;
}

.article-layout {
  display: grid;
  gap: 24px;
  padding: 24px 0 40px;
}

.article-hero {
  display: grid;
  gap: 16px;
}
.article-hero .archive-label {
  margin-top: 0;
}
.article-hero-media {
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}
.article-body {
  display: grid;
  gap: 22px;
}
.article-body p,
.article-body li {
  margin: 0;
  line-height: 1.9;
  color: var(--text);
}
.article-body h2,
.article-body h3 { margin: 8px 0 0; line-height: 1.08; }
.article-body figure {
  margin: 0;
  display: grid;
  gap: 10px;
}
.article-body figure img {
  border-radius: 28px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.article-body figcaption { color: var(--muted); font-size: .92rem; }
.related-grid { margin-top: 16px; }
.article-cta h2,
.newsletter-card h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article-cta p, .newsletter-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.7; }

.contact-grid,
.contact-cards {
  grid-template-columns: 1fr;
}

.contact-cards {
  align-content: start;
}
.contact-card h2,
.contact-card h3,
.legal-card h2,
.legal-card h3 { margin: 0 0 12px; }
.contact-card p,
.contact-card li,
.legal-card p,
.legal-card li { margin: 0; color: var(--muted); line-height: 1.8; }
.contact-email {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-card ul,
.legal-card ul { padding-left: 18px; display: grid; gap: 10px; }
.map-frame {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: 26px;
}

.site-footer {
  margin-top: 28px;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(234, 219, 212, 0.9);
  background: rgba(255, 255, 255, 0.6);
}
.footer-grid { grid-template-columns: 1fr; }
.footer-brand { display: grid; gap: 10px; }
.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand strong { font-size: 1.5rem; }
.footer-links,
.footer-legal { display: grid; gap: 12px; }
.footer-links a,
.footer-legal a { color: var(--muted); }
.footer-note { color: var(--muted); font-size: .92rem; }
.footer-copy { display: inline-block; margin-top: 4px; }

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-panel {
  padding: 18px;
  border-radius: 24px;
  background: rgba(53, 49, 48, 0.95);
  color: #fff;
  box-shadow: 0 28px 54px rgba(53,49,48,.22);
}
.cookie-topline {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
}
.cookie-copy { margin: 0; color: rgba(255,255,255,.82); line-height: 1.75; }
.cookie-copy a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cookie-actions .btn { flex: 1 1 160px; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 760px) {
  .header-tools .social-links {
    display: flex;
  }
  .primary-nav {
    display: flex;
    justify-content: center;
    min-width: 0;
  }
  .primary-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
  }
  .primary-nav a {
    display: inline-flex;
    align-items: center;
    padding: 10px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--muted);
    white-space: nowrap;
  }
  .search-box input {
    width: 230px;
  }
  .primary-nav a:hover,
  .primary-nav a.is-active,
  .primary-nav .current-menu-item > a,
  .primary-nav .current_page_item > a,
  .primary-nav .current-post-ancestor > a { background: var(--surface); color: var(--text); }
  .menu-toggle { display: none; }
  .search-box { display: block; }
  .hero-grid { grid-template-columns: 1.45fr .75fr; align-items: stretch; }
  .magazine-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .magazine-grid .article-card:first-child { grid-column: span 2; }
  .category-stream { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .popular-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.3fr .9fr .9fr; align-items: start; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .article-main { min-width: 0; }
  .article-sidebar { position: sticky; top: 102px; height: fit-content; }
}

@media (min-width: 1100px) {
  .hero-copy { padding: 34px; }
  .hero-copy h1 { max-width: 12ch; }
  .primary-nav ul { gap: 6px; }
  .primary-nav a { padding: 10px 12px; font-size: 1rem; }
  .search-box input { width: 260px; }
}

@media (max-width: 759px) {
  .brand-copy {
    display: none;
  }
}

.hero-featured::after {content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(8,34,45,.05) 0%, rgba(10,34,38,.62) 100%);}
.hero-featured .hero-copy {z-index:1;}
