/* ═══════════════════════════════════════════════════════════════════════
   KURIER TRANSYLWAŃSKI — Stylesheet
   Gothic newspaper aesthetic, aged parchment, dark Victorian typography
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────── Google Fonts ─────────── */
@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=MedievalSharp&family=UnifrakturCook:wght@700&family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=IM+Fell+English:ital@0;1&display=swap');

/* ─────────── CSS Custom Properties ─────────── */
:root {
  /* Parchment palette */
  --parchment-light: #f2e8d4;
  --parchment:       #e8dcc0;
  --parchment-dark:  #d4c49a;
  --parchment-aged:  #c4b080;
  --ink-black:       #1a1209;
  --ink-dark:        #2c1f0e;
  --ink-medium:      #3d2c14;
  --ink-faded:       #5a4428;

  /* Accent tones */
  --blood-red:       #8b1a1a;
  --blood-dark:      #5c0f0f;
  --gold:            #c4a23a;
  --gold-dark:       #8a6a1a;
  --shadow-grey:     #4a4038;
  --mist-grey:       #7a7068;

  /* Background */
  --bg-dark:         #12100c;
  --bg-medium:       #1e1a14;
  --bg-card:         #241f16;

  /* Typography */
  --font-gothic:      'Pirata One', 'MedievalSharp', 'UnifrakturCook', 'Cinzel Decorative', serif;
  --font-headline:    'Cinzel', 'IM Fell DW Pica', serif;
  --font-body:        'Libre Baskerville', 'IM Fell English', serif;
  --font-ornament:    'IM Fell English', serif;

  /* Sizing */
  --border-ornament:  2px solid var(--gold-dark);
  --border-thin:      1px solid var(--parchment-aged);
  --radius:           2px;
  --shadow-card:      0 4px 24px rgba(0,0,0,.7), 0 0 2px var(--gold-dark);
}

/* ─────────── Reset & Base ─────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%2312100c'/%3E%3Ccircle cx='1' cy='1' r='.4' fill='%23ffffff06'/%3E%3C/svg%3E");
  color: var(--ink-dark);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.7;
}

a { color: var(--blood-red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: .9em; }

/* ─────────── Scrollbar ─────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* ════════════════════════════════════════════════
   NAV BAR
   ════════════════════════════════════════════════ */
.gazette-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.85);
}

.gazette-nav {
  background: var(--bg-card);
  border-bottom: 1px solid rgba(196,162,58,.25);
}

.nav-inner {
  max-width: 1750px;
  width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1rem;
  gap: 1.5rem;
}

.nav-brand {
  font-family: var(--font-gothic);
  font-size: 1.45rem;
  color: var(--gold);
  letter-spacing: .05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.nav-brand a:hover .nav-brand-title {
  color: var(--parchment-light);
  text-shadow: 0 0 10px rgba(196,162,58,.5);
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 0 8px rgba(196,162,58,.4);
  transition: transform .3s ease;
}

.nav-brand a:hover .nav-brand-icon {
  transform: scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li { display: inline-flex; }

.nav-links a {
  color: var(--parchment-dark);
  font-family: var(--font-headline);
  font-size: .78rem;
  letter-spacing: .12em;
  padding: .4rem .9rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-transform: uppercase;
  transition: all .25s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-color: var(--gold-dark);
  background: rgba(196,162,58,.12);
  box-shadow: 0 0 8px rgba(196,162,58,.15);
}

.nav-moon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.moon-badge {
  font-family: var(--font-headline);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--parchment-light);
  background: var(--bg-medium);
  border: 1px solid var(--gold-dark);
  padding: .3rem .85rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: inset 0 0 6px rgba(0,0,0,.6);
}

/* ════════════════════════════════════════════════
   RUBRICS CATEGORY NAVIGATION BAR
   ════════════════════════════════════════════════ */
.rubrics-bar {
  background: #18130d;
  border-top: 1px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.8);
  position: relative;
  z-index: 90;
}

.rubrics-bar-inner {
  max-width: 1750px;
  width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  padding: .65rem .8rem;
}

.rubric-bar-item {
  color: var(--parchment-light); /* bright parchment light */
  font-family: var(--font-headline);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  padding: .45rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all .22s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  border: 1px solid rgba(196,162,58,.35);
  background: rgba(30,24,16,.7);
  box-shadow: 0 2px 4px rgba(0,0,0,.4);
}

.rubric-bar-icon {
  font-size: .95rem;
  filter: drop-shadow(0 0 2px rgba(196,162,58,.4));
}

.rubric-bar-label {
  text-transform: uppercase;
}

.rubric-bar-item:hover {
  color: var(--gold);
  background: rgba(196,162,58,.22);
  border-color: var(--gold);
  text-decoration: none;
  box-shadow: 0 0 12px rgba(196,162,58,.3);
  transform: translateY(-1px);
}

.rubric-bar-item.active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(196,162,58,.45), rgba(138,106,26,.65));
  border: 1px solid var(--gold-light);
  box-shadow: 0 0 16px rgba(212,175,55,.45), inset 0 1px 0 rgba(255,255,255,.3);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}

/* ════════════════════════════════════════════════
   MASTHEAD
   ════════════════════════════════════════════════ */
.masthead {
  background: var(--bg-medium);
  text-align: center;
  padding: 0 1rem;
  position: relative;
  overflow: hidden;
}

/* Aged paper texture overlay */
.masthead::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(196,162,58,.06) 0%, transparent 70%);
  pointer-events: none;
}

.masthead-ornament {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
  margin: 0 auto;
  max-width: 900px;
}
.masthead-ornament.top  { margin-top: 1.5rem; }
.masthead-ornament.bottom { margin-bottom: 1.5rem; }

.masthead-inner { padding: 1.2rem 1rem .8rem; }

.masthead-logo {
  text-align: center;
  margin-bottom: 0.8rem;
}

.logo-emblem {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px rgba(196,162,58,0.35), 0 4px 16px rgba(0,0,0,0.85);
  margin: 0 auto;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-emblem:hover {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(196,162,58,0.6), 0 6px 20px rgba(0,0,0,0.9);
}

.masthead-sub {
  font-family: var(--font-headline);
  font-size: .78rem;
  letter-spacing: .3em;
  color: var(--mist-grey);
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.masthead-title {
  font-family: var(--font-gothic);
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  color: var(--ink-black);
  color: var(--parchment-light);
  /* Embossed text effect */
  text-shadow:
    0 1px 0 var(--gold-dark),
    0 -1px 0 rgba(0,0,0,.8),
    2px 2px 12px rgba(0,0,0,.9);
  letter-spacing: .08em;
  line-height: 1.05;
  margin-bottom: .5rem;
  position: relative;
}

.masthead-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-headline);
  font-size: .78rem;
  color: var(--parchment-dark);
  letter-spacing: .08em;
  padding: .5rem 0;
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  margin: 0 auto;
  max-width: 900px;
}

.masthead-sep { color: var(--gold-dark); }
.masthead-motto { font-style: italic; color: var(--mist-grey); }

/* ════════════════════════════════════════════════
   WEATHER TICKER
   ════════════════════════════════════════════════ */
.weather-ticker {
  background: var(--bg-card);
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  padding: .45rem 1.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--font-headline);
  font-size: .8rem;
  letter-spacing: .05em;
  position: relative;
}

.ticker-label {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 1.2rem;
  position: relative;
  z-index: 10;
  background: var(--bg-card);
  box-shadow: 12px 0 16px var(--bg-card);
}

.ticker-wrap {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-content {
  display: inline-block;
  color: var(--parchment-dark);
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ════════════════════════════════════════════════
   THREE-COLUMN LAYOUT
   ════════════════════════════════════════════════ */
.gazette-main {
  max-width: 1750px;
  width: 95%;
  margin: 0 auto;
  padding: 0 1rem;
}

.gazette-layout {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 1.8rem;
  margin-top: 1.5rem;
  align-items: start;
}

@media (max-width: 1200px) {
  .gazette-layout {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 850px) {
  .gazette-layout {
    grid-template-columns: 1fr;
  }
  .col-left, .col-right { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}

@media (max-width: 600px) {
  .col-left, .col-right { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   WIDGETS (sidebars)
   ════════════════════════════════════════════════ */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.widget-title {
  background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-card) 100%);
  border-bottom: var(--border-ornament);
  padding: .55rem .9rem;
  font-family: var(--font-headline);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.widget-body { padding: .8rem .9rem; }

/* Rubric links widget */
.rubric-list { list-style: none; }
.rubric-list li { border-bottom: 1px solid rgba(196,162,58,.12); }
.rubric-list li:last-child { border-bottom: none; }
.rubric-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .38rem .2rem;
  color: var(--parchment-dark);
  font-family: var(--font-headline);
  font-size: .8rem;
  letter-spacing: .06em;
  transition: all .2s;
}
.rubric-list a:hover { color: var(--gold); text-decoration: none; padding-left: .5rem; }
.rubric-icon { font-size: 1rem; }

/* Almanac */
.almanac-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .3rem 0;
  border-bottom: 1px solid rgba(196,162,58,.1);
  font-size: .82rem;
  color: var(--parchment-dark);
  font-family: var(--font-body);
}
.almanac-label { color: var(--mist-grey); font-size: .74rem; }
.almanac-value { color: var(--parchment-light); font-weight: 700; }

/* Notices */
.notice-item {
  margin-bottom: .9rem;
  padding-bottom: .9rem;
  border-bottom: 1px dashed rgba(196,162,58,.2);
}
.notice-item:last-child { border-bottom: none; margin-bottom: 0; }
.notice-type {
  font-family: var(--font-headline);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.notice-type.announcement { color: var(--gold); }
.notice-type.warning      { color: var(--blood-red); }
.notice-type.wanted       { color: #8fb3c4; }
.notice-title {
  font-family: var(--font-headline);
  font-size: .82rem;
  color: var(--parchment-light);
  margin: .15rem 0 .25rem;
}
.notice-body {
  font-size: .78rem;
  color: var(--parchment-dark);
  line-height: 1.5;
}

/* Latest articles widget */
.latest-list { list-style: none; }
.latest-list li {
  border-bottom: 1px solid rgba(196,162,58,.12);
  padding: .4rem 0;
}
.latest-list li:last-child { border-bottom: none; }
.latest-list a {
  color: var(--parchment-dark);
  font-family: var(--font-body);
  font-size: .8rem;
  line-height: 1.35;
  display: block;
}
.latest-list a:hover { color: var(--gold); text-decoration: none; }
.latest-date {
  display: block;
  font-size: .68rem;
  color: var(--mist-grey);
  font-family: var(--font-headline);
  letter-spacing: .06em;
}

/* Generate widget */
.generate-form { display: flex; flex-direction: column; gap: .6rem; }
.generate-form select,
.generate-form input[type=text] {
  background: var(--bg-medium);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  color: var(--parchment-light);
  font-family: var(--font-body);
  font-size: .8rem;
  padding: .45rem .6rem;
  width: 100%;
  outline: none;
  transition: border-color .2s;
}
.generate-form select:focus,
.generate-form input:focus { border-color: var(--gold); }

.btn-generate {
  background: linear-gradient(135deg, var(--blood-dark), var(--blood-red));
  border: 1px solid var(--blood-red);
  border-radius: var(--radius);
  color: var(--parchment-light);
  font-family: var(--font-headline);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem .8rem;
  cursor: pointer;
  transition: all .25s;
  width: 100%;
}
.btn-generate:hover {
  background: linear-gradient(135deg, var(--blood-red), #b44a4a);
  box-shadow: 0 0 12px rgba(139,26,26,.5);
}

/* Gothic quote widget */
.gothic-quote {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: .88rem;
  color: var(--parchment-dark);
  line-height: 1.6;
  text-align: center;
  padding: .2rem 0;
  position: relative;
}
.gothic-quote::before,
.gothic-quote::after {
  content: '✦';
  display: block;
  color: var(--gold-dark);
  font-size: .7rem;
  margin: .4rem 0;
}

/* ════════════════════════════════════════════════
   ARTICLES — CENTER COLUMN
   ════════════════════════════════════════════════ */
.article-rubric-tag {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
  padding: .18rem .55rem;
  margin-bottom: .6rem;
  border-radius: var(--radius);
  background: rgba(196,162,58,.07);
}
.article-rubric-tag.small { font-size: .6rem; padding: .12rem .4rem; }

/* Featured article */
.article-featured {
  background: var(--bg-card);
  border: var(--border-ornament);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.article-featured::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(196,162,58,.15);
  pointer-events: none;
  border-radius: 1px;
}

.featured-headline {
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--parchment-light);
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  margin-bottom: 1rem;
  letter-spacing: .02em;
}

.featured-headline a { color: inherit; }
.featured-headline a:hover { color: var(--gold); text-decoration: none; }

.article-image-wrap {
  margin: .8rem 0;
  border: var(--border-ornament);
  overflow: hidden;
  border-radius: var(--radius);
}

.article-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  filter: sepia(40%) contrast(1.05) brightness(.92);
  transition: filter .4s;
}
.article-image:hover { filter: sepia(20%) contrast(1.08) brightness(1); }

/* Drop cap */
.dropcap {
  float: left;
  font-family: var(--font-gothic);
  font-size: 4.2rem;
  line-height: .78;
  color: var(--blood-red);
  margin: .05em .12em 0 0;
  text-shadow: 2px 2px 6px rgba(0,0,0,.6);
}

.article-dropcap-text {
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--parchment-dark);
  line-height: 1.8;
  column-count: 2;
  column-gap: 1.8rem;
  column-rule: 1px solid rgba(196,162,58,.2);
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .9rem;
  padding-top: .6rem;
  border-top: 1px solid rgba(196,162,58,.2);
  clear: both;
}

.article-date {
  font-family: var(--font-headline);
  font-size: .73rem;
  color: var(--mist-grey);
  letter-spacing: .06em;
}

.read-more {
  font-family: var(--font-headline);
  font-size: .73rem;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  transition: all .22s;
}
.read-more:hover {
  background: var(--gold-dark);
  color: var(--parchment-light);
  text-decoration: none;
}

.article-divider {
  text-align: center;
  color: var(--gold-dark);
  margin-top: .8rem;
  letter-spacing: 1.2em;
  font-size: .8rem;
}

/* Article grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}

@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .article-dropcap-text { column-count: 1; }
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.8), 0 0 8px rgba(196,162,58,.15);
}

.article-headline {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  color: var(--parchment-light);
  line-height: 1.25;
}
.article-headline a { color: inherit; }
.article-headline a:hover { color: var(--gold); text-decoration: none; }

.article-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  filter: sepia(35%) contrast(1.05) brightness(.9);
  border-radius: var(--radius);
  border: 1px solid var(--gold-dark);
}

.article-excerpt {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--parchment-dark);
  line-height: 1.6;
  flex: 1;
}

/* No articles */
.no-articles {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  font-family: var(--font-ornament);
  font-style: italic;
  color: var(--mist-grey);
  font-size: 1rem;
}

/* ════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin: 1.5rem 0 2rem;
}

.page-link {
  font-family: var(--font-headline);
  font-size: .8rem;
  padding: .35rem .75rem;
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  color: var(--parchment-dark);
  transition: all .2s;
}
.page-link:hover,
.page-link.active {
  background: var(--gold-dark);
  color: var(--parchment-light);
  text-decoration: none;
}

/* ════════════════════════════════════════════════
   SINGLE ARTICLE VIEW (article.php)
   ════════════════════════════════════════════════ */
.article-single {
  background: var(--bg-card);
  border: var(--border-ornament);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 1.5rem 0;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-card);
  position: relative;
}

.article-single::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(196,162,58,.12);
  pointer-events: none;
}

.article-single-headline {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--parchment-light);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}

.article-single-meta {
  text-align: center;
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: var(--border-ornament);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.article-single-body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--parchment-dark);
  line-height: 1.85;
  column-count: 2;
  column-gap: 2rem;
  column-rule: 1px solid rgba(196,162,58,.18);
}

.article-single-body .article-paragraph {
  margin-bottom: 1.2rem;
  text-align: justify;
}

@media (max-width: 640px) {
  .article-single-body { column-count: 1; }
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.gazette-footer {
  background: var(--bg-medium);
  border-top: var(--border-ornament);
  padding: 2.5rem 1.5rem 2rem;
  margin-top: 3rem;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-disclaimer {
  background: rgba(0,0,0,.25);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,.5);
}

.footer-disclaimer-title {
  font-family: var(--font-headline);
  font-size: .82rem;
  letter-spacing: .15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.footer-disclaimer-text {
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--parchment-dark);
  line-height: 1.65;
  margin: 0;
}

.footer-disclaimer-text strong {
  color: var(--parchment-light);
}

.footer-divider {
  color: var(--gold-dark);
  font-size: .85rem;
  letter-spacing: .8em;
  margin: 1.2rem 0;
}

.footer-quote {
  font-family: var(--font-ornament);
  font-style: italic;
  font-size: .88rem;
  color: var(--parchment-dark);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.footer-ornament {
  color: var(--gold-dark);
  font-size: .9rem;
  letter-spacing: 1.5em;
  margin: .8rem 0;
}

.footer-copy {
  font-family: var(--font-headline);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--ink-faded);
  text-transform: uppercase;
}

/* Widget Disclaimer Card */
.widget-disclaimer {
  border-color: rgba(196,162,58,.35);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(20,16,11,.95) 100%);
}

.disclaimer-text {
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--parchment-dark);
  line-height: 1.55;
}

.disclaimer-text strong {
  color: var(--gold);
}

/* ════════════════════════════════════════════════
   FLASH MESSAGES
   ════════════════════════════════════════════════ */
.flash {
  max-width: 860px;
  margin: 1rem auto;
  padding: .7rem 1.2rem;
  border-radius: var(--radius);
  font-family: var(--font-headline);
  font-size: .85rem;
  letter-spacing: .05em;
}
.flash.success { background: rgba(90,138,106,.15); border: 1px solid #5a8a6a; color: #a0d4b0; }
.flash.error   { background: rgba(139,26,26,.15);  border: 1px solid var(--blood-red); color: #d4a0a0; }

/* ════════════════════════════════════════════════
   LOADING SPINNER
   ════════════════════════════════════════════════ */
.spinner {
  width: 28px; height: 28px;
  border: 3px solid rgba(196,162,58,.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 1rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }



.btn-primary {
  background: linear-gradient(135deg, var(--blood-dark), var(--blood-red));
  border: 1px solid var(--blood-red);
  border-radius: var(--radius);
  color: var(--parchment-light);
  font-family: var(--font-headline);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 1.4rem;
  cursor: pointer;
  transition: all .25s;
  display: inline-block;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blood-red), #b44a4a);
  box-shadow: 0 0 16px rgba(139,26,26,.45);
  text-decoration: none;
  color: var(--parchment-light);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: var(--font-headline);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  cursor: pointer;
  transition: all .22s;
  display: inline-block;
}
.btn-secondary:hover {
  background: rgba(196,162,58,.1);
  text-decoration: none;
  color: var(--gold);
}

/* ════════════════════════════════════════════════
   PRINT STYLES
   ════════════════════════════════════════════════ */
@media print {
  .gazette-nav, .col-left, .col-right, .weather-ticker,
  .pagination, .gazette-footer, .btn-generate { display: none !important; }
  body { background: white; color: #000; }
  .gazette-layout { grid-template-columns: 1fr; }
  .article-featured, .article-card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}
