/* weihnachtssprueche.info — Shared Stylesheet
   Archetype: Seasonal Almanac
   Palette: Wine (#6B1F3A) + Gold (#C8962A) + Parchment (#FDF7F0)
   Typography: Cormorant Garamond (display) + Nunito (body)
*/

/* ── Tokens ──────────────────────────────────────────────────────── */
:root {
  --ws-wine:       #6B1F3A;
  --ws-wine-dark:  #3D0F20;
  --ws-gold:       #C8962A;
  --ws-parchment:  #FDF7F0;
  --ws-ink:        #2A1A1F;
  --ws-ink-muted:  #6E5760;
  --ws-border:     #E8D8CC;
  --ws-card-bg:    #FFF9F4;

  --ws-font-display: 'Cormorant Garamond', Georgia, serif;
  --ws-font-body:    'Nunito', system-ui, sans-serif;

  --ws-radius: 6px;
  --ws-max:    1140px;
  --ws-prose:  760px;
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ws-font-body);
  background: var(--ws-parchment);
  color: var(--ws-ink);
  line-height: 1.75;
  font-size: 1rem;
}
a { color: var(--ws-wine); text-decoration: none; }
a:hover { color: var(--ws-gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: .35rem; }

/* ── Skip link ───────────────────────────────────────────────────── */
.ws-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ws-wine); color: #fff; padding: .5rem 1rem;
  font-size: .875rem;
}
.ws-skip:focus { left: 0; z-index: 999; }

/* ── Header ──────────────────────────────────────────────────────── */
.ws-header {
  background: var(--ws-wine-dark);
  border-bottom: 3px solid var(--ws-gold);
}
.ws-header__inner {
  max-width: var(--ws-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ws-logo {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; flex-shrink: 0;
}
.ws-logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.ws-logo__text {
  font-family: var(--ws-font-display);
  font-size: 1.45rem; font-weight: 600;
  color: #fff; letter-spacing: .02em; line-height: 1.1;
}
.ws-logo__text span {
  display: block; font-size: .72rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ws-gold); font-family: var(--ws-font-body);
}
.ws-nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.ws-nav a {
  color: rgba(255,255,255,.82); font-family: var(--ws-font-body);
  font-size: .875rem; font-weight: 500;
  padding: .4rem .75rem; border-radius: var(--ws-radius);
  transition: background .18s, color .18s;
}
.ws-nav a:hover,
.ws-nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--ws-gold); }
.ws-nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: .4rem; color: #fff;
}

/* ── Season banner (homepage) ────────────────────────────────────── */
.ws-season-banner {
  background: linear-gradient(135deg, var(--ws-wine) 0%, #4A1025 100%);
  padding: 3.5rem 1.5rem 3rem; text-align: center; position: relative; overflow: hidden;
}
.ws-season-banner::before {
  content: '❄'; position: absolute; top: -10px; left: 5%;
  font-size: 5rem; opacity: .06; user-select: none;
}
.ws-season-banner::after {
  content: '❄'; position: absolute; bottom: -10px; right: 5%;
  font-size: 7rem; opacity: .06; user-select: none;
}
.ws-season-banner__eyebrow {
  font-family: var(--ws-font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ws-gold); margin-bottom: .75rem;
}
.ws-season-banner__title {
  font-family: var(--ws-font-display);
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 400;
  color: #fff; line-height: 1.2; max-width: 680px; margin: 0 auto .75rem;
}
.ws-season-banner__lead {
  font-family: var(--ws-font-body); font-size: 1rem;
  color: rgba(255,255,255,.72); max-width: 540px; margin: 0 auto 1.75rem;
}
.ws-banner-quote {
  display: inline-block; background: rgba(255,255,255,.07);
  border-left: 3px solid var(--ws-gold);
  padding: 1rem 1.5rem; max-width: 560px;
  text-align: left; border-radius: 0 var(--ws-radius) var(--ws-radius) 0;
}
.ws-banner-quote blockquote {
  font-family: var(--ws-font-display); font-size: 1.35rem;
  font-style: italic; color: rgba(255,255,255,.92); line-height: 1.4;
}
.ws-banner-quote cite {
  display: block; margin-top: .5rem; font-family: var(--ws-font-body);
  font-size: .8rem; font-style: normal; color: var(--ws-gold); letter-spacing: .06em;
}

/* ── Article hero (content pages) ───────────────────────────────── */
.ws-page-hero {
  background: linear-gradient(135deg, var(--ws-wine) 0%, #4A1025 100%);
  padding: 2.5rem 1.5rem 2rem;
}
.ws-page-hero__inner {
  max-width: var(--ws-prose); margin: 0 auto; text-align: center;
}
.ws-page-hero__eyebrow {
  font-family: var(--ws-font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ws-gold); margin-bottom: .5rem;
}
.ws-page-hero__title {
  font-family: var(--ws-font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 400;
  color: #fff; line-height: 1.2; margin-bottom: .75rem;
}
.ws-page-hero__desc {
  font-size: .95rem; color: rgba(255,255,255,.72); max-width: 540px; margin: 0 auto;
}

/* Hero image block */
.ws-hero-img {
  max-width: var(--ws-max); margin: 0 auto;
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--ws-wine);
}
.ws-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.ws-hero-img--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.2);
}

/* ── Page wrapper ────────────────────────────────────────────────── */
.ws-page { max-width: var(--ws-max); margin: 0 auto; padding: 0 1.5rem; }

/* ── Section ─────────────────────────────────────────────────────── */
.ws-section { padding: 2.5rem 0; }
.ws-section-head {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: 2rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--ws-border);
}
.ws-section-head h2 {
  font-family: var(--ws-font-display); font-size: 1.9rem;
  font-weight: 600; color: var(--ws-wine);
}
.ws-section-head a {
  font-family: var(--ws-font-body); font-size: .82rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ws-ink-muted); margin-left: auto;
}
.ws-section-head a:hover { color: var(--ws-wine); }

/* ── Topic grid (homepage) ───────────────────────────────────────── */
.ws-topic-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem;
}
.ws-topic-card {
  background: var(--ws-card-bg); border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: box-shadow .2s, border-color .2s, transform .15s;
  text-decoration: none; color: inherit;
}
.ws-topic-card:hover {
  border-color: var(--ws-wine);
  box-shadow: 0 4px 18px rgba(107,31,58,.1);
  transform: translateY(-2px); color: inherit;
}
.ws-topic-card__icon { font-size: 1.75rem; line-height: 1; }
.ws-topic-card__title {
  font-family: var(--ws-font-display); font-size: 1.25rem;
  font-weight: 600; color: var(--ws-wine); line-height: 1.2;
}
.ws-topic-card__desc {
  font-family: var(--ws-font-body); font-size: .88rem;
  color: var(--ws-ink-muted); line-height: 1.55; flex: 1;
}
.ws-topic-card__cta {
  font-family: var(--ws-font-body); font-size: .78rem; font-weight: 600;
  color: var(--ws-gold); text-transform: uppercase; letter-spacing: .08em;
}

/* ── Article cards ───────────────────────────────────────────────── */
.ws-articles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem;
}
.ws-article-card {
  background: var(--ws-card-bg); border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.ws-article-card:hover { border-color: var(--ws-wine); box-shadow: 0 6px 24px rgba(107,31,58,.1); }
.ws-article-card__img { aspect-ratio: 16/9; background: var(--ws-wine); overflow: hidden; }
.ws-article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ws-article-card:hover .ws-article-card__img img { transform: scale(1.03); }
.ws-article-card__body {
  padding: 1.25rem 1.25rem 1rem;
  display: flex; flex-direction: column; flex: 1; gap: .5rem;
}
.ws-article-card__tag {
  font-family: var(--ws-font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ws-gold);
}
.ws-article-card__title {
  font-family: var(--ws-font-display); font-size: 1.2rem;
  font-weight: 600; color: var(--ws-ink); line-height: 1.3;
}
.ws-article-card__title a { color: inherit; }
.ws-article-card__title a:hover { color: var(--ws-wine); }
.ws-article-card__excerpt { font-size: .87rem; color: var(--ws-ink-muted); line-height: 1.55; flex: 1; }
.ws-article-card__meta {
  font-size: .78rem; color: var(--ws-ink-muted);
  margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--ws-border);
}

/* ── Divider ─────────────────────────────────────────────────────── */
.ws-divider { border: none; border-top: 1px solid var(--ws-border); margin: 0; }

/* ── Quote strip ─────────────────────────────────────────────────── */
.ws-quote-strip {
  background: linear-gradient(135deg, var(--ws-wine-dark) 0%, var(--ws-wine) 100%);
  padding: 2.5rem 1.5rem; text-align: center;
}
.ws-quote-strip__inner { max-width: 680px; margin: 0 auto; }
.ws-quote-strip blockquote {
  font-family: var(--ws-font-display);
  font-size: clamp(1.3rem, 3vw, 2rem); font-style: italic;
  color: #fff; line-height: 1.4;
}
.ws-quote-strip cite {
  display: block; margin-top: .75rem; font-family: var(--ws-font-body);
  font-size: .8rem; font-style: normal; color: var(--ws-gold);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ── Prose content (article pages) ──────────────────────────────── */
.ws-prose-wrap {
  max-width: var(--ws-prose); margin: 0 auto;
  padding: 2.5rem 0 3rem;
}
.ws-prose-wrap h2 {
  font-family: var(--ws-font-display); font-size: 1.75rem;
  font-weight: 600; color: var(--ws-wine);
  margin: 2.5rem 0 .85rem; line-height: 1.25;
}
.ws-prose-wrap h3 {
  font-family: var(--ws-font-display); font-size: 1.35rem;
  font-weight: 600; color: var(--ws-ink);
  margin: 1.75rem 0 .65rem;
}
.ws-prose-wrap p { margin-bottom: 1.1rem; }
.ws-prose-wrap ul, .ws-prose-wrap ol { margin-bottom: 1.1rem; }
.ws-prose-wrap strong { color: var(--ws-ink); }

/* Quote blocks inside prose */
.ws-prose-wrap blockquote,
.ws-quote-block {
  border-left: 4px solid var(--ws-gold);
  background: var(--ws-card-bg);
  padding: 1.1rem 1.4rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--ws-radius) var(--ws-radius) 0;
}
.ws-quote-block {
  font-family: var(--ws-font-display);
  font-size: 1.15rem; font-style: italic; line-height: 1.5;
  color: var(--ws-ink);
}
.ws-quote-block cite {
  display: block; margin-top: .5rem;
  font-family: var(--ws-font-body); font-size: .8rem;
  font-style: normal; color: var(--ws-ink-muted); letter-spacing: .05em;
}

/* Quote card grid (for sayings collections) */
.ws-quote-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.1rem; margin: 1.75rem 0;
}
.ws-quote-card {
  background: var(--ws-card-bg); border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius); padding: 1.25rem 1.25rem 1rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.ws-quote-card blockquote {
  font-family: var(--ws-font-display); font-size: 1.05rem;
  font-style: italic; color: var(--ws-ink); line-height: 1.5;
  border: none; background: none; padding: 0; margin: 0;
}
.ws-quote-card cite {
  font-family: var(--ws-font-body); font-size: .78rem;
  font-style: normal; color: var(--ws-gold);
  letter-spacing: .06em; text-transform: uppercase;
  border-top: 1px solid var(--ws-border); padding-top: .5rem; margin-top: auto;
}

/* Section image */
.ws-section-img {
  margin: 2rem 0; border-radius: var(--ws-radius); overflow: hidden;
  background: var(--ws-wine); aspect-ratio: 16/9;
}
.ws-section-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.ws-faq { margin: 2rem 0; }
.ws-faq-item {
  border-bottom: 1px solid var(--ws-border); padding: 1.1rem 0;
}
.ws-faq-item:first-child { border-top: 1px solid var(--ws-border); }
.ws-faq-item h3 {
  font-family: var(--ws-font-body); font-size: 1rem; font-weight: 600;
  color: var(--ws-ink); margin: 0 0 .5rem; line-height: 1.4;
}
.ws-faq-item p {
  font-size: .93rem; color: var(--ws-ink-muted); margin: 0; line-height: 1.65;
}

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.ws-breadcrumb {
  max-width: var(--ws-max); margin: 0 auto;
  padding: .65rem 1.5rem; font-size: .8rem;
  color: var(--ws-ink-muted);
}
.ws-breadcrumb ol { list-style: none; padding: 0; display: flex; gap: .35rem; flex-wrap: wrap; }
.ws-breadcrumb a { color: var(--ws-ink-muted); }
.ws-breadcrumb a:hover { color: var(--ws-wine); }
.ws-breadcrumb span { margin: 0 .35rem; }

/* ── Footer ──────────────────────────────────────────────────────── */
.ws-footer {
  background: var(--ws-wine-dark); color: rgba(255,255,255,.65);
  padding: 2.5rem 1.5rem 1.5rem; margin-top: 3rem;
  border-top: 3px solid var(--ws-gold);
}
.ws-footer__inner {
  max-width: var(--ws-max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: start;
}
.ws-footer__brand {
  font-family: var(--ws-font-display); font-size: 1.25rem; color: #fff; font-weight: 600;
}
.ws-footer__tagline { font-size: .82rem; margin-top: .25rem; color: rgba(255,255,255,.5); }
.ws-footer__links {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  list-style: none; font-size: .82rem; padding: 0;
}
.ws-footer__links a { color: rgba(255,255,255,.6); }
.ws-footer__links a:hover { color: var(--ws-gold); }
.ws-footer__legal {
  max-width: var(--ws-max); margin: 1.5rem auto 0;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
}
.ws-footer__legal a { color: rgba(255,255,255,.5); }
.ws-footer__legal a:hover { color: var(--ws-gold); }
.ws-footer__copy {
  max-width: var(--ws-max); margin: .5rem auto 0;
  font-size: .78rem; color: rgba(255,255,255,.35);
}

/* ── Related posts ───────────────────────────────────────────────── */
.ws-related { background: var(--ws-card-bg); padding: 2rem 1.5rem; margin-top: 3rem; }
.ws-related__inner { max-width: var(--ws-max); margin: 0 auto; }
.ws-related h2 {
  font-family: var(--ws-font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--ws-wine); margin-bottom: 1.25rem;
}
.ws-related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem;
}
.ws-related-link {
  background: var(--ws-parchment); border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius); padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: .35rem;
  text-decoration: none; color: inherit;
  transition: border-color .18s, box-shadow .18s;
}
.ws-related-link:hover { border-color: var(--ws-wine); box-shadow: 0 3px 12px rgba(107,31,58,.08); color: inherit; }
.ws-related-link strong { font-family: var(--ws-font-display); font-size: 1rem; font-weight: 600; color: var(--ws-wine); }
.ws-related-link span { font-size: .82rem; color: var(--ws-ink-muted); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .ws-nav { display: none; }
  .ws-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
  .ws-nav-toggle { display: block; }
  .ws-footer__inner { grid-template-columns: 1fr; }
  .ws-quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ws-prose-wrap { padding: 1.5rem 0 2rem; }
}
