/* ============================================================
   ShomerDNS — Design System
   ============================================================ */

:root {
  --navy:        #1b3a5c;
  --navy-dark:   #112538;
  --navy-light:  #2a5a8c;
  --gold:        #c4922a;
  --gold-light:  #e8b84b;
  --gold-pale:   #fdf3dd;
  --cream:       #f8f5ee;
  --white:       #ffffff;
  --text:        #1e2330;
  --text-muted:  #5c6475;
  --border:      #e2ddd4;
  --green:       #2d7a4f;
  --green-bg:    #eaf5ee;
  --red:         #a83232;
  --red-bg:      #fdeaea;
  --orange:      #a66f00;
  --orange-bg:   #fff6e6;

  --shadow-xs:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.11);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.16);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --max-width:   860px;
  --nav-height:  66px;
}

/* ============================================================
   Reset & Base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  margin: 0; padding: 0;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.3;
}
h1 { font-size: 2.8rem; margin: 0 0 1rem; }
h2 { font-size: 1.85rem; margin: 0 0 0.75rem; }
h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
h4 { font-size: 1.05rem; margin: 0 0 0.4rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }
a { color: var(--navy-light); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--gold); }
code {
  background: #eef1f5; padding: 0.15em 0.45em;
  border-radius: 4px; font-size: 0.91em;
  font-family: 'Courier New', monospace;
}
img { max-width: 100%; height: auto; }

/* ============================================================
   Navigation
   ============================================================ */

.site-nav {
  position: sticky; top: 0; z-index: 500;
  background: var(--navy-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1060px; margin: 0 auto;
  padding: 0 1.5rem; height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.nav-brand img { width: 34px; height: 34px; }
.nav-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: white; letter-spacing: 0.01em;
}

.nav-links {
  display: flex; list-style: none; margin: 0; padding: 0;
  gap: 0.05rem; align-items: center;
}
.nav-links a {
  display: block; padding: 0.4rem 0.55rem;
  color: rgba(255,255,255,0.82); font-size: 0.85rem; font-weight: 500;
  border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s;
  text-decoration: none; white-space: nowrap;
}
.nav-links a:hover {
  color: white; background: rgba(255,255,255,0.1); text-decoration: none;
}
.nav-links a.active { color: var(--gold-light); }
.nav-links .nav-cta {
  margin-left: 0.35rem;
}
.nav-links .nav-cta a {
  background: var(--gold); color: white;
  padding: 0.4rem 0.9rem; border-radius: 50px;
}
.nav-links .nav-cta a:hover {
  background: var(--gold-light); color: var(--navy-dark); text-decoration: none;
}

.nav-toggle {
  display: none; background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: white; font-size: 1.3rem;
  padding: 0.3rem 0.65rem; border-radius: var(--radius-sm);
  cursor: pointer; line-height: 1;
}

/* ============================================================
   Main
   ============================================================ */

main { min-height: 60vh; }

/* ============================================================
   Section Cards  (all inner-page <section> elements)
   ============================================================ */

section {
  max-width: var(--max-width);
  margin: 2rem auto; padding: 1.75rem 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
section h2 { margin-top: 0; }
section h3 { color: var(--navy); }

/* ============================================================
   FAQ Accordion  (<details class="faq-item">)
   ============================================================ */

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.25rem 0;
}
.faq-item:last-of-type { border-bottom: none; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--navy);
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 1.8rem; height: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 1.2rem; font-weight: 700; line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item summary:hover::after { background: var(--gold-light); color: var(--white); }

.faq-answer { padding: 0 0 1rem; }
.faq-answer > *:first-child { margin-top: 0; }
.faq-answer > *:last-child { margin-bottom: 0; }

/* ============================================================
   Hero  (homepage only)
   ============================================================ */

.hero-section {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 55%, #2a5a8c 100%);
  padding: 5rem 1.5rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute;
  top: -40%; left: -15%; width: 130%; height: 180%;
  background: radial-gradient(ellipse, rgba(196,146,42,0.13) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 700px; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(196,146,42,0.18); border: 1px solid rgba(196,146,42,0.4);
  color: var(--gold-light); font-size: 0.82rem; font-weight: 600;
  padding: 0.32rem 0.9rem; border-radius: 50px; margin-bottom: 1.5rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.hero-icon {
  width: 86px; height: 86px; margin: 0 auto 1.5rem; display: block;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}

.hero-section h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem; color: white; margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-lead {
  font-size: 1.15rem; color: rgba(255,255,255,0.83);
  margin-bottom: 2rem; line-height: 1.65; margin-left: auto; margin-right: auto;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2rem;
}

.btn-hero-primary {
  background: var(--gold); color: white;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  box-shadow: 0 4px 18px rgba(196,146,42,0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-block;
}
.btn-hero-primary:hover {
  background: var(--gold-light); color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(196,146,42,0.5); text-decoration: none;
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.1); color: white;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s, transform 0.2s; display: inline-block;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.2); color: white;
  transform: translateY(-2px); text-decoration: none;
}

.hero-trust {
  color: rgba(255,255,255,0.55); font-size: 0.85rem; letter-spacing: 0.01em;
}

/* ============================================================
   Stats Strip  (homepage)
   ============================================================ */

.stats-strip {
  background: white; border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  max-width: 100%; border-radius: 0; margin: 0; padding: 0;
}
.stats-strip-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-item {
  padding: 1.5rem 1rem; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 700;
  color: var(--navy); line-height: 1; margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.8rem; color: var(--text-muted);
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ============================================================
   Features Grid  (homepage)
   ============================================================ */

.features-section {
  max-width: var(--max-width); margin: 2.5rem auto 0;
  padding: 0 1rem; background: none; box-shadow: none; border: none;
}
.section-intro { text-align: center; margin-bottom: 1.75rem; }
.section-intro h2 { color: var(--navy); font-size: 2rem; }
.section-intro p {
  color: var(--text-muted); font-size: 1.03rem;
  max-width: 520px; margin: 0 auto;
}

.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }

.feature-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; color: var(--navy); }
.feature-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.6; margin: 0; }

/* ============================================================
   Values Section  (homepage)
   ============================================================ */

.values-section {
  max-width: var(--max-width); margin: 1.25rem auto;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-md); padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md); border: none;
}
.values-section .section-intro h2 { color: white; }
.values-section .section-intro p { color: rgba(255,255,255,0.72); }
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 1.75rem; }
.value-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm); padding: 1.25rem;
}
.value-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--gold-light);
  margin-bottom: 0.3rem; font-weight: 700;
}
.value-desc { color: rgba(255,255,255,0.78); font-size: 0.91rem; margin: 0; }

/* ============================================================
   Blocks Section  (homepage)
   ============================================================ */

.blocks-section {
  max-width: var(--max-width); margin: 1.25rem auto;
  background: white; border-radius: var(--radius-md);
  padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.blocks-list {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0.6rem; list-style: none; padding: 0; margin: 1.25rem 0 0;
}
.blocks-list li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; padding: 0.5rem 0.75rem;
  background: var(--cream); border-radius: var(--radius-sm);
  border: 1px solid var(--border); margin: 0;
}
.blocks-list li::before {
  content: '✕'; color: #c0392b; font-weight: 700;
  font-size: 0.75rem; flex-shrink: 0;
}

/* ============================================================
   Article Preview  (homepage)
   ============================================================ */

.article-preview-section {
  max-width: var(--max-width); margin: 1.25rem auto;
  background: var(--gold-pale); border-radius: var(--radius-md);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(196,146,42,0.25);
}
.article-preview-section h2 { color: var(--navy); }
.article-preview-section .article-meta {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1rem; font-size: 0.87rem; color: var(--text-muted);
}

/* ============================================================
   CTA Section  (homepage)
   ============================================================ */

.cta-section {
  max-width: var(--max-width); margin: 1.25rem auto 2.5rem;
  background: white; border-radius: var(--radius-md);
  padding: 2.5rem 2rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.cta-section h2 { margin-bottom: 0.5rem; }
.cta-section > p { color: var(--text-muted); margin-bottom: 1.5rem; }

.btn-primary-lg {
  display: inline-block; background: var(--navy); color: white;
  padding: 0.85rem 2.25rem; border-radius: 50px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  margin: 0.25rem 0.5rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary-lg:hover {
  background: var(--navy-light); color: white;
  transform: translateY(-2px); text-decoration: none;
}
.btn-outline-lg {
  display: inline-block; background: transparent; color: var(--navy);
  padding: 0.85rem 2.25rem; border-radius: 50px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  margin: 0.25rem 0.5rem; border: 2px solid var(--navy);
  transition: all 0.2s;
}
.btn-outline-lg:hover {
  background: var(--navy); color: white; text-decoration: none;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--navy-dark); color: rgba(255,255,255,0.78);
  padding: 3rem 1.5rem 1.5rem; margin-top: 2rem;
}
.footer-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1.5rem;
}
.footer-brand img { width: 38px; height: 38px; margin-bottom: 0.75rem; display: block; }
.footer-brand h3 {
  font-family: 'Playfair Display', serif; color: white;
  font-size: 1.25rem; margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.87rem; color: rgba(255,255,255,0.55);
  line-height: 1.6; margin: 0;
}
.footer-col h4 {
  color: white; font-size: 0.8rem; font-family: 'Inter', sans-serif;
  text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 1rem; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.62); font-size: 0.89rem;
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold-light); text-decoration: none; }

.footer-bottom {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.38);
}
.footer-bottom em { font-style: italic; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  padding: 0.5rem 1.25rem; border: none;
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 1rem; font-family: 'Inter', sans-serif;
  transition: background-color 0.2s;
}
.btn-primary {
  background-color: var(--navy); color: white;
  padding: 0.65rem 1.5rem; font-size: 1rem;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: background-color 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover { background-color: var(--navy-light); }

/* ============================================================
   Modals / Popups
   ============================================================ */

.modal-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex; justify-content: center; align-items: center; z-index: 1000;
}
.modal {
  background: white; padding: 2rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-width: 500px; width: 90%;
  position: relative; animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-50px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.modal-title { color: var(--navy); font-size: 1.45rem; margin: 0; }
.close-btn {
  background: none; border: none; font-size: 1.5rem; cursor: pointer;
  color: #888; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background-color 0.2s;
}
.close-btn:hover { background-color: #f0f0f0; color: #333; }
.modal-content { font-size: 1.05rem; margin-bottom: 1.5rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
.hidden { display: none; }

.kofi-float-btn {
  position: fixed; bottom: 20px; right: 20px;
  display: inline-flex; box-shadow: var(--shadow-md);
  border-radius: 8px; transition: transform 0.2s, box-shadow 0.2s; z-index: 400;
}
.kofi-float-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ============================================================
   Form Elements
   ============================================================ */

.form-card {
  background: var(--white); padding: 2rem;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); margin-top: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-weight: 600; color: var(--text);
  margin-bottom: 0.5rem; font-size: 0.95rem;
}
.form-input {
  width: 50%; padding: 0.65rem 0.9rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: 'Inter', sans-serif;
  transition: all 0.2s; color: var(--text);
}
.form-input:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(42,90,140,0.15); outline: none;
}
.form-help {
  display: block; margin-top: 0.4rem;
  font-size: 0.87rem; color: var(--text-muted); line-height: 1.4;
}

/* ============================================================
   Messages
   ============================================================ */

.message {
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  font-weight: 500; margin-bottom: 1.25rem;
}
.message.success { background: var(--green-bg); color: var(--green); border: 1px solid #b8e4c1; }
.message.error   { background: var(--red-bg);   color: var(--red);   border: 1px solid #f5c2c2; }
.message.warning { background: var(--orange-bg);color: var(--orange);border: 1px solid #ffde99; }

/* ============================================================
   Info Box
   ============================================================ */

.info-box {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 1.5rem; margin-top: 1.5rem; border: 1px solid var(--border);
}
.info-box h2 { font-size: 1.05rem; color: var(--text); margin-bottom: 0.5rem; }
.info-box ul { margin: 0.5rem 0 1rem 1.2rem; }
.info-box p { color: var(--text-muted); margin-top: 0.5rem; }

/* ============================================================
   List Editor (list-updater)
   ============================================================ */

.list-editor-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin-bottom: 1.25rem;
}
.list-editor-textarea {
  width: 100%; min-height: 320px; resize: vertical;
  padding: 0.75rem 0.9rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.9rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  line-height: 1.5; color: var(--text); background: var(--white);
  transition: all 0.2s;
}
.list-editor-textarea:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(42,90,140,0.15); outline: none;
}

/* ============================================================
   Debug (list-updater localhost only)
   ============================================================ */

.debug {
  margin-top: 1.5rem; padding: 1.25rem;
  background: #f5f7fa; border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.debug pre { background: white; padding: 0.75rem; border-radius: var(--radius-sm); overflow-x: auto; }

/* ============================================================
   Articles Page
   ============================================================ */

.articles-wrapper { max-width: var(--max-width); margin: 0 auto; }

.article-card {
  background: var(--white); padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0 0 1.25rem; width: 100%;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-title { font-size: 1.18em; margin-bottom: 0.5rem; }
.article-title a { color: var(--navy); text-decoration: none; }
.article-title a:hover { color: var(--gold); text-decoration: underline; }
.article-summary { font-size: 0.96em; color: var(--text-muted); line-height: 1.6; }
.article-meta { font-size: 0.86em; color: #999; margin-top: 0.75rem; }
.no-articles { text-align: center; font-style: italic; color: var(--text-muted); }

.main-container { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1em; margin-bottom: 0.5rem;
  text-align: center; color: var(--navy);
}
.intro-text {
  font-size: 1.03em; color: var(--text-muted);
  margin-bottom: 2rem; text-align: center; line-height: 1.6;
}
#articles { display: flex; flex-direction: column; gap: 0; }

/* ============================================================
   Article Page (with sidebar)
   ============================================================ */

.article-layout {
  max-width: 1180px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; align-items: start;
}
.article-body section { max-width: none; margin: 2rem 0; }
.article-body section:first-child { margin-top: 2rem; }
.article-breadcrumb { margin-bottom: 1rem; font-size: 0.9em; }

.article-sidebar {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  padding: 1.5rem; margin: 2rem 0;
  position: sticky; top: calc(var(--nav-height) + 1.5rem);
}
.article-sidebar h3 { margin-top: 0; font-size: 1.1rem; }
.sidebar-article-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.sidebar-article-list li { margin-bottom: 1.1rem; }
.sidebar-article-list li:last-child { margin-bottom: 0; }
.sidebar-article-list a {
  display: block; color: var(--navy); font-weight: 600; font-size: 0.94em;
  line-height: 1.4;
}
.sidebar-article-list a:hover { color: var(--gold); text-decoration: underline; }
.sidebar-article-date { display: block; font-size: 0.8em; color: var(--text-muted); margin-top: 0.2rem; }
.sidebar-empty { font-style: italic; color: var(--text-muted); font-size: 0.92em; }
.sidebar-all-link { display: inline-block; font-size: 0.9em; font-weight: 600; }

/* ============================================================
   Stats Page
   ============================================================ */

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700; color: var(--navy); margin-top: 0.5rem;
}
.domain-checker input[type="text"] {
  padding: 0.6rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem;
  margin-right: 0.5rem; width: 220px; font-family: 'Inter', sans-serif;
}
.domain-checker button {
  background: var(--navy); color: white; border: none;
  padding: 0.65rem 1.25rem; border-radius: var(--radius-sm);
  cursor: pointer; font-size: 1rem; transition: background 0.2s;
}
.domain-checker button:hover { background: var(--navy-light); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--navy-dark); padding: 0.75rem 1.5rem 1.25rem;
    gap: 0; box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { padding: 0.65rem 0.25rem; }
  .nav-links .nav-cta { border-bottom: none; padding: 0.5rem 0 0; }
  .nav-links .nav-cta a { display: inline-block; margin-top: 0.25rem; }
  .nav-toggle { display: block; }

  .hero-section { padding: 3rem 1.25rem 2.5rem; }
  .hero-section h1 { font-size: 2.1rem; }
  .hero-lead { font-size: 1rem; }
  .hero-icon { width: 68px; height: 68px; }

  .stats-strip-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .features-grid  { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .blocks-list    { grid-template-columns: repeat(2,1fr); }

  .footer-grid   { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  section { margin: 1.25rem 0.75rem; padding: 1.25rem; }
  .form-input { width: 100%; }
  .list-editor-grid { grid-template-columns: 1fr; }

  .article-layout { grid-template-columns: 1fr; padding: 0 0.75rem; }
  .article-body section { margin: 1.25rem 0; }
  .article-body section:first-child { margin-top: 1.25rem; }
  .article-sidebar { position: static; margin: 0 0 1.25rem; }
}

@media (max-width: 480px) {
  .hero-section h1 { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; max-width: 280px; text-align: center; }
  .blocks-list { grid-template-columns: 1fr; }
  .stats-strip-inner { grid-template-columns: repeat(2,1fr); }
}
