/* ===== GoodTelco — Custom Styles ===== */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1A1A2E;
  --accent:  #C8102E;
  --bg:      #F8F8F6;
  --surface: #FFFFFF;
  --text:    #1C1C1C;
  --muted:   #6B7280;
  --border:  #E5E7EB;
  --max-w:   1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--primary);
  color: #9CA3AF;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-bar a { color: #9CA3AF; }
.top-bar a:hover { color: #fff; }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top-bar-social { display: flex; gap: .75rem; align-items: center; }
.top-bar-social a { display: flex; }

/* ---------- Breaking Ticker ---------- */
.ticker-wrap {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
}
.ticker-label {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  margin-right: 16px;
  vertical-align: middle;
}
.ticker-inner {
  display: inline-block;
  animation: ticker-scroll 60s linear infinite;
}
.ticker-inner a { color: #fff; font-weight: 400; }
.ticker-inner a:hover { text-decoration: underline; }
@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
.ticker-wrap:hover .ticker-inner { animation-play-state: paused; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 1.5rem;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--accent); }
.site-logo svg { width: 30px; height: 30px; }

.main-nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 3px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--accent);
  color: #fff;
}

.header-actions { display: flex; align-items: center; gap: .75rem; }
.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  padding: 4px;
  display: flex;
  align-items: center;
}
.btn-search:hover { color: var(--accent); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--primary);
}

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 1000;
  flex-direction: column;
  padding: 2rem;
  overflow-y: auto;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay .close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-bottom: 2rem;
}
.mobile-nav-overlay a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: block;
}
.mobile-nav-overlay a:hover { color: var(--accent); }

/* ---------- Container ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Category Badge ---------- */
.cat-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  white-space: nowrap;
}
.cat-badge-outline {
  display: inline-block;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.cat-badge-outline:hover { background: var(--accent); color: #fff; }

/* ---------- Hero ---------- */
.hero-section { margin: 2rem 0 1.5rem; }
.hero-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  display: block;
  background: var(--primary);
}
.hero-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: .82;
  transition: opacity .3s;
}
.hero-card:hover img { opacity: .75; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,25,.92) 0%, rgba(10,10,25,.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.hero-overlay .cat-badge { margin-bottom: .75rem; }
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 .75rem;
}
.hero-excerpt { color: rgba(255,255,255,.82); font-size: 15px; margin: 0 0 .75rem; max-width: 700px; }
.hero-meta { color: rgba(255,255,255,.6); font-size: 13px; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---------- Featured Grid ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* ---------- Article Card ---------- */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card-body { padding: 1rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-card-body .cat-badge-outline { margin-bottom: .6rem; }
.article-card-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 .5rem;
  color: var(--text);
}
.article-card-headline:hover { color: var(--accent); }
.article-card-excerpt { font-size: 14px; color: var(--muted); margin: 0 0 auto; line-height: 1.6; }
.article-card-meta { font-size: 12px; color: var(--muted); margin-top: .75rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* Horizontal card (image left) */
.article-card-h {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  transition: box-shadow .2s;
  margin-bottom: 1.25rem;
}
.article-card-h:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); }
.article-card-h img { width: 220px; height: 160px; object-fit: cover; }
.article-card-h .article-card-body { padding: 1rem 1.25rem; }

/* ---------- Main Layout 8/4 ---------- */
.layout-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
  margin: 0 0 3rem;
}

/* ---------- Section Heading ---------- */
.section-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  border-bottom: 3px solid var(--accent);
  padding-bottom: .5rem;
  margin: 0 0 1.25rem;
}

/* ---------- Sidebar ---------- */
.sidebar { display: flex; flex-direction: column; gap: 1.75rem; }
.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1.25rem;
}
.sidebar-box .section-heading { margin-bottom: 1rem; }

/* Most Popular */
.popular-list { list-style: none; margin: 0; padding: 0; }
.popular-list li {
  display: flex;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
}
.popular-list li:last-child { border-bottom: none; }
.popular-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  margin-top: 2px;
}
.popular-title { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); }
.popular-title:hover { color: var(--accent); }

/* Newsletter */
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: .75rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.newsletter-form label { font-size: 13px; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .75rem; line-height: 1.4; }
.newsletter-form label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.btn-primary {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  text-align: center;
}
.btn-primary:hover { background: #a80d24; }

/* Tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  padding: 4px 12px;
  color: var(--muted);
  transition: background .15s, color .15s, border-color .15s;
}
.tag:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Ad Unit */
.ad-label {
  font-size: 11px;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
  display: block;
}

/* ---------- Article Page ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem 0 3rem;
}
.article-main { min-width: 0; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border); }

.article-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
}
.article-deck {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.article-byline .author { font-weight: 600; color: var(--text); }
.article-byline .read-time { display: flex; align-items: center; gap: .3rem; }

/* Share buttons */
.share-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
  transition: all .15s;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.share-btn.facebook:hover { border-color: #1877F2; color: #1877F2; }
.share-btn.twitter:hover { border-color: #000; color: #000; }

/* Article body */
.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 .75rem;
  color: var(--primary);
}
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 .6rem;
  color: var(--primary);
}
.article-body p { margin: 0 0 1.25rem; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: .4rem; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 1.5rem 0;
  padding: .75rem 1.25rem;
  background: #FFF5F5;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--primary);
}
.article-body .disclaimer {
  font-size: 14px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .75rem 1rem;
  margin: 2rem 0;
}
.article-body figure { margin: 1.5rem 0; }
.article-body figcaption { font-size: 13px; color: var(--muted); margin-top: .4rem; text-align: center; }
.article-body .pull-quote {
  border-left: 4px solid var(--accent);
  padding: .75rem 1.25rem;
  margin: 2rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--primary);
}

/* Author box */
.author-box {
  display: flex;
  gap: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  margin: 2rem 0;
  align-items: flex-start;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.author-title { font-size: 13px; color: var(--muted); margin-bottom: .5rem; }
.author-bio { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ---------- Related Articles ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: #9CA3AF; margin-top: 3rem; }
.footer-main { padding: 3rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { font-size: 14px; color: #9CA3AF; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: .75rem; margin-top: .5rem; }
.footer-social a { color: #9CA3AF; }
.footer-social a:hover { color: #fff; }

.footer-legal-bar {
  background: #11111f;
  padding: 1rem 0;
  font-size: 13px;
  color: #9CA3AF;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-legal-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-legal-bar a { color: #9CA3AF; }
.footer-legal-bar a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: 1rem 0;
  z-index: 9000;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform .35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-text { font-size: 14px; line-height: 1.5; max-width: 640px; }
.cookie-text a { color: #93C5FD; text-decoration: underline; }
.cookie-buttons { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }
.btn-cookie-reject {
  background: none;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s;
}
.btn-cookie-reject:hover { border-color: #fff; }
.btn-cookie-manage {
  background: none;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s;
}
.btn-cookie-manage:hover { border-color: #fff; }
.btn-cookie-accept {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn-cookie-accept:hover { background: #a80d24; }

/* Manage Preferences Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal-overlay.show { display: flex; }
.cookie-modal {
  background: var(--surface);
  border-radius: 8px;
  padding: 2rem;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 .75rem; color: var(--primary); }
.cookie-modal p { font-size: 14px; color: var(--muted); margin: 0 0 1.25rem; }
.cookie-toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.cookie-toggle-row:last-of-type { border-bottom: none; }
.cookie-toggle-label { font-size: 14px; font-weight: 600; margin-bottom: .25rem; }
.cookie-toggle-desc { font-size: 13px; color: var(--muted); }
.toggle-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: #D1D5DB;
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-switch input:disabled + .toggle-slider { opacity: .6; cursor: not-allowed; }
.cookie-modal-actions { display: flex; gap: .75rem; margin-top: 1.25rem; justify-content: flex-end; }

/* ---------- Search Bar ---------- */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 800;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}
.search-overlay.show { display: flex; }
.search-box { background: var(--surface); border-radius: 8px; padding: 1.5rem; width: 100%; max-width: 640px; }
.search-box input {
  width: 100%;
  font-size: 1.25rem;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  outline: none;
  font-family: inherit;
}
.search-box input:focus { border-color: var(--accent); }

/* ---------- Category Page ---------- */
.category-header {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0;
  margin-bottom: 2.5rem;
}
.category-header h1 { font-family: 'Playfair Display', serif; font-size: 2.25rem; font-weight: 700; margin: 0 0 .5rem; }
.category-header p { color: rgba(255,255,255,.7); margin: 0; font-size: 15px; }

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 780px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
}
.legal-content h1 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; margin: 0 0 .5rem; color: var(--primary); }
.legal-content .updated { font-size: 14px; color: var(--muted); margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 .6rem; color: var(--primary); }
.legal-content p, .legal-content li { font-size: 15px; line-height: 1.75; color: var(--text); }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content a { color: var(--accent); text-decoration: underline; }


/* ---------- 404 / Empty States ---------- */
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--primary); margin-bottom: .75rem; }

/* ---------- Contact Form ---------- */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: .4rem; color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  background: var(--surface);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .layout-main { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-card-h { grid-template-columns: 160px 1fr; }
  .article-card-h img { width: 160px; height: 130px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .hero-card img { height: 300px; }
  .featured-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-card-h { grid-template-columns: 1fr; }
  .article-card-h img { width: 100%; height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-overlay { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal-bar .container { flex-direction: column; align-items: flex-start; }
  .cookie-banner-inner { flex-direction: column; }
  .top-bar .top-bar-social { display: none; }
}
