/* ==========================================================================
   हर्षल हिंदू — Editorial Columnist Theme
   सोयगावच्या विकासाचा जनसंवाद
   ========================================================================== */

:root {
  --paper: #FBF8F1;
  --paper-warm: #F4EEDF;
  --ink: #1A1613;
  --ink-soft: #3D3128;
  --muted: #6B5D53;
  --line: #E8DFCF;
  --red: #C1272D;
  --red-dark: #8B1D22;
  --saffron: #FF6B35;
  --gold: #B08D2E;
  --shadow: 0 4px 24px rgba(58, 40, 30, 0.08);
  --shadow-lg: 0 12px 40px rgba(58, 40, 30, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: rgba(193,39,45,0.15); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Baloo 2', 'Mukta', 'Noto Sans Devanagari', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }

.container { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Noto Serif Devanagari', 'Tiro Devanagari Marathi', serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 20px; }
h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 16px; }
h3 { font-size: clamp(20px, 2.5vw, 26px); margin-bottom: 12px; }

/* ========================================================================
   HEADER — Signature-style masthead
   ======================================================================== */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 24px 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(251, 248, 241, 0.96);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.masthead-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.masthead-signature {
  font-family: 'Noto Serif Devanagari', serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
}
.masthead-signature::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--saffron));
  border-radius: 2px;
  transform: skewY(-1deg);
}
.masthead-tagline {
  display: none;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
@media (min-width: 720px) { .masthead-tagline { display: block; } }

.masthead-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.masthead-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  font-family: 'Noto Serif Devanagari', serif;
}
.masthead-nav a:hover { background: var(--paper-warm); color: var(--red); }
.masthead-nav a.active { color: var(--red); font-weight: 700; }

.masthead-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
}
@media (max-width: 720px) {
  .masthead-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 12px 24px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); border-bottom: 1px solid var(--line); }
  .masthead-nav.show { display: flex; }
  .masthead-nav a { padding: 12px 14px; }
  .masthead-menu-toggle { display: block; }
}

/* ========================================================================
   HERO — Author intro on homepage
   ======================================================================== */
.hero {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 30%, rgba(193, 39, 45, 0.04), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.04), transparent 40%);
}
.author-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--red), var(--saffron));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 60px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(193, 39, 45, 0.25);
  border: 4px solid #fff;
  outline: 1px solid var(--line);
}
.hero .kicker {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}
.hero h1 {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--red);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero-tagline {
  font-family: 'Noto Serif Devanagari', serif;
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.55;
}
.hero-meta {
  display: inline-flex;
  gap: 24px;
  padding: 10px 24px;
  background: var(--paper-warm);
  border-radius: 30px;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
}
.hero-meta strong { color: var(--red); font-weight: 700; }
.hero-meta i { color: var(--red); }

/* ========================================================================
   FEATURED ARTICLE (Homepage)
   ======================================================================== */
.featured-section { padding: 60px 0; }
.section-label {
  font-family: 'Noto Serif Devanagari', serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before, .section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.section-label::before { background: linear-gradient(90deg, transparent, var(--line)); }
.section-label::after { background: linear-gradient(90deg, var(--line), transparent); }

.featured-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.featured-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--saffron));
}
.featured-category {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}
.featured-card h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.featured-card h2 a:hover { color: var(--red); }
.featured-excerpt {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 20px;
  font-family: 'Noto Serif Devanagari', serif;
}
.featured-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.featured-meta i { color: var(--red); margin-right: 4px; }
.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 700;
  font-family: 'Noto Serif Devanagari', serif;
  transition: gap .25s;
}
.read-btn:hover { gap: 12px; }

/* ========================================================================
   ARTICLES GRID (Homepage & Articles page)
   ======================================================================== */
.articles-list-section { padding: 60px 0; background: var(--paper-warm); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}
.article-card .article-category {
  display: inline-block;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.article-card h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--red); }
.article-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}
.article-card .article-meta {
  font-size: 12px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  gap: 14px;
  align-items: center;
}
.article-card .article-meta i { color: var(--red); margin-right: 3px; }

/* ========================================================================
   FILTERS
   ======================================================================== */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  padding: 14px;
  background: #fff;
  border-radius: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
  font-weight: 500;
}
.filter-btn:hover { background: var(--paper-warm); color: var(--red); }
.filter-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.search-box {
  max-width: 500px;
  margin: 0 auto 30px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s;
}
.search-box input:focus { border-color: var(--red); }
.search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

/* ========================================================================
   ARTICLE PAGE (individual)
   ======================================================================== */
.article-page {
  padding: 40px 0 60px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--red); }
.breadcrumb i { font-size: 10px; opacity: 0.5; }

.article-header {
  text-align: center;
  padding: 20px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.article-category-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}
.article-header h1 {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 20px;
}
.article-header .subhead {
  font-family: 'Noto Serif Devanagari', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 22px;
}
.article-byline {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 24px;
  background: var(--paper-warm);
  border-radius: 30px;
}
.article-byline strong { color: var(--red); font-weight: 700; }
.article-byline i { color: var(--red); margin-right: 4px; }

.article-poster {
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 700px;
}
.article-poster img { width: 100%; display: block; }

.article-body {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.article-body p {
  margin-bottom: 22px;
}
.article-body p:first-of-type::first-letter {
  font-size: 4.5em;
  float: left;
  line-height: 0.9;
  padding-right: 12px;
  padding-top: 4px;
  color: var(--red);
  font-family: 'Noto Serif Devanagari', serif;
  font-weight: 700;
}
.article-body h2, .article-body h3 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--ink);
}
.article-body h2 { color: var(--red); font-size: 26px; }
.article-body h3 { font-size: 21px; }
.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  margin: 30px 0;
  background: var(--paper-warm);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  border-radius: 0 8px 8px 0;
  font-family: 'Noto Serif Devanagari', serif;
}
.article-body ul, .article-body ol {
  margin-bottom: 22px;
  padding-left: 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--red); font-weight: 700; }
.article-body a { color: var(--red); text-decoration: underline; text-decoration-color: var(--saffron); }

.article-body .placeholder-notice {
  padding: 30px;
  background: var(--paper-warm);
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-size: 16px;
  margin: 30px 0;
}
.article-body .placeholder-notice::before {
  content: "✍️";
  display: block;
  font-size: 40px;
  margin-bottom: 12px;
  font-style: normal;
}

/* Share Buttons */
.share-strip {
  margin: 50px 0 30px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.share-strip h4 {
  font-family: 'Noto Serif Devanagari', serif;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 14px;
}
.share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Baloo 2', sans-serif;
  transition: transform .2s, box-shadow .2s;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.share-btn.wa { background: #25D366; }
.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #000; }
.share-btn.copy { background: var(--red); }

/* Related articles */
.related-articles {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.related-articles h3 {
  font-family: 'Noto Serif Devanagari', serif;
  color: var(--red);
  margin-bottom: 20px;
  text-align: center;
}

/* Article navigation (prev / next) */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.article-nav a {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 10px;
  transition: border-color .25s;
}
.article-nav a:hover { border-color: var(--red); }
.article-nav small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  font-weight: 700;
}
.article-nav strong {
  font-family: 'Noto Serif Devanagari', serif;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  display: block;
}
.article-nav .next { text-align: right; }

/* ========================================================================
   WHATSAPP CTA — Prominent
   ======================================================================== */
.wa-cta {
  background: linear-gradient(135deg, #128C7E, #25D366);
  color: #fff;
  padding: 40px 0;
  text-align: center;
  margin: 50px 0 0;
}
.wa-cta h2 {
  color: #fff;
  font-family: 'Noto Serif Devanagari', serif;
  margin-bottom: 12px;
}
.wa-cta p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 22px;
  font-size: 16px;
}
.wa-cta a.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #128C7E;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform .2s;
}
.wa-cta a.wa-btn:hover { transform: translateY(-3px); color: #128C7E; }

/* ========================================================================
   ABOUT / VICHAR PAGES
   ======================================================================== */
.content-page {
  padding: 60px 0;
}
.content-page h1 {
  text-align: center;
  color: var(--red);
  margin-bottom: 40px;
  font-family: 'Noto Serif Devanagari', serif;
}
.content-page-body {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto;
}
.content-page-body p { margin-bottom: 20px; }
.content-page-body h2 {
  color: var(--red);
  font-family: 'Noto Serif Devanagari', serif;
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 24px;
}
.content-page-body blockquote {
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  margin: 24px 0;
  background: var(--paper-warm);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  border-radius: 0 8px 8px 0;
}

/* ========================================================================
   NEWSLETTER
   ======================================================================== */
.newsletter-section {
  padding: 50px 0;
  background: var(--paper-warm);
  text-align: center;
  border-top: 1px solid var(--line);
}
.newsletter-section h3 {
  font-family: 'Noto Serif Devanagari', serif;
  color: var(--red);
  margin-bottom: 12px;
  font-size: 26px;
}
.newsletter-section p { color: var(--muted); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px;
}
.newsletter-form input:focus { outline: none; border-color: var(--red); }
.newsletter-form button {
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Baloo 2', sans-serif;
  font-size: 15px;
}
@media (max-width: 520px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  background: #1A1613;
  color: #b8ab9d;
  padding: 60px 0 30px;
  border-top: 4px solid var(--red);
}
footer h4 {
  font-family: 'Noto Serif Devanagari', serif;
  color: #fff;
  margin-bottom: 16px;
  font-size: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .signature {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 30px;
  color: var(--saffron);
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: #b8ab9d; font-size: 14.5px; }
footer ul li a:hover { color: var(--saffron); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.footer-social a:hover { background: var(--red); }

.footer-legal {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #7a6f62;
  line-height: 1.7;
}
.footer-legal .disclaimer {
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--saffron);
  border-radius: 0 6px 6px 0;
  margin-bottom: 20px;
  font-family: 'Noto Serif Devanagari', serif;
  font-style: italic;
}
.footer-parent-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(193, 39, 45, 0.15);
  padding: 10px 16px;
  border-radius: 30px;
  color: #fff;
  font-size: 13px;
  margin-bottom: 16px;
  transition: background .25s;
}
.footer-parent-link:hover { background: var(--red); color: #fff; }
.footer-copyright { text-align: center; padding-top: 20px; font-size: 12px; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ========================================================================
   FLOATING WHATSAPP BUTTON
   ======================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  animation: pulse-wa 2.5s infinite;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero { padding: 40px 0 30px; }
  .author-portrait { width: 100px; height: 100px; font-size: 50px; }
  .featured-card { padding: 24px 20px; }
  .article-header { padding: 12px 0 24px; }
  .article-body { font-size: 17px; }
  .article-body p:first-of-type::first-letter { font-size: 3.5em; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
  .wa-float { width: 54px; height: 54px; font-size: 24px; bottom: 18px; right: 18px; }
}

/* ==========================================================================
   ARTICLE IMAGE SUPPORT — Posters on cards and articles
   ========================================================================== */

/* Featured card with poster */
.featured-card {
  padding: 0;
  overflow: hidden;
}
.featured-poster {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper-warm);
}
.featured-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.featured-card:hover .featured-poster img {
  transform: scale(1.03);
}
.featured-content {
  padding: 36px;
}
@media (max-width: 520px) {
  .featured-content { padding: 24px 20px; }
}

/* Article card with poster (grid) */
.article-card {
  padding: 0;
  overflow: hidden;
}
.article-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-warm);
  transition: transform .5s ease;
}
.article-card:hover .article-card-image {
  transform: scale(1.02);
}
.article-card-body {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card-body h3 {
  margin-top: 4px;
}

/* Individual article page — poster placement */
.article-poster {
  margin: 30px auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 780px;
}
.article-poster img {
  width: 100%;
  height: auto;
  display: block;
}
