/* ============================================================
   EDU-SCOALA.COM — Shared Stylesheet v2
   ============================================================ */

:root {
  --navy: #1a4f8a;
  --navy-dark: #0f3260;
  --navy-light: #2563b0;
  --light-blue: #f0f6ff;
  --bg: #f9f9f7;
  --white: #ffffff;
  --text: #1e2a3a;
  --text-muted: #5a6a7a;
  --border: #dde8f5;
  --gold: #f0a500;
  --green: #22c55e;
  --subtle-link-color: #1d6fbc;
}

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

/* ===== FIX #1 — KILL HORIZONTAL OVERFLOW ===== */
html {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,79,138,.07);
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: 'Merriweather', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo span { color: var(--gold); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.desktop-nav a {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 11px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.active { background: var(--light-blue); color: var(--navy); }
.desktop-nav .nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  border-radius: 8px;
  padding: 7px 16px;
  margin-left: 4px;
}
.desktop-nav .nav-cta:hover { background: var(--navy-dark); }

/* Hamburger button */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  width: 100%;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.mobile-nav a:hover { background: var(--light-blue); }
.mobile-nav a:last-child { border-bottom: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #4a90d9 100%);
  color: var(--white);
  padding: 70px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -50px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #d4e8ff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  max-width: 700px;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.1rem;
  color: #c8dfff;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 10px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-secondary {
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: 11px 24px;
  border-radius: 10px;
  transition: .2s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,.12); }

/* ===== LISTING HERO ===== */
.listing-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 48px 24px 38px;
}
.listing-hero-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }
.listing-hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
}
.listing-hero p { font-size: .98rem; color: #c8dfff; max-width: 520px; }

/* ===== ALERT BOX ===== */
.alert-wrap { max-width: 1200px; margin: 0 auto; padding: 18px 24px 8px; }
.alert-box {
  background: #fff8e6;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(240,165,0,.1);
}
.alert-pulse {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,165,0,.6); }
  50% { box-shadow: 0 0 0 7px rgba(240,165,0,0); }
}
.alert-box p { font-size: .9rem; color: #7a5000; }
.alert-box a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ===== STAT CARDS ===== */
.stats { background: var(--white); border-bottom: 1px solid var(--border); }
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  text-align: center;
  padding: 18px 12px;
  border-radius: 12px;
  background: var(--light-blue);
  border: 1px solid var(--border);
  transition: transform .2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-num {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .82rem; color: var(--text-muted); font-weight: 600; }

/* ===== BREADCRUMB BAR ===== */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}
.breadcrumb-bar nav {
  max-width: 1200px;
  margin: 0 auto;
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-bar a { color: var(--navy); }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar .sep { opacity: .4; }

/* ===== PAGE WRAP — main layout grid (FIX: minmax(0,1fr)) ===== */
.page-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  width: 100%;
  box-sizing: border-box;
  align-items: start;
}
/* FIX: every flex/grid child needs min-width:0 */
.article-main,
.sidebar {
  min-width: 0;
}
.sidebar {
  width: 100%;
  max-width: 280px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}

/* ===== ARTICLE LISTING CARDS ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover { box-shadow: 0 8px 28px rgba(26,79,138,.13); transform: translateY(-4px); }
.card-thumb-link { display: block; }
.card-thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #4a90d9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb.thumb-bac { background: linear-gradient(135deg, #9d174d, #ec4899); }
.card-thumb.thumb-parinti { background: linear-gradient(135deg, #065f46, #34d399); }
.card-thumb.thumb-metode { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.card-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  background: #e8f0fb;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}
.card-title {
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #0a1f5c;
  line-height: 1.35;
  margin: 0;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--navy); }
.card-excerpt { font-size: .86rem; color: var(--text-muted); line-height: 1.6; }
.card-meta { font-size: .78rem; color: #999; display: flex; gap: 14px; flex-wrap: wrap; }
.card-read-more {
  font-size: .86rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.card-read-more:hover { gap: 8px; text-decoration: underline; }

/* ===== CATEGORY TABS ===== */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}
.filter-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-label { font-size: .78rem; font-weight: 700; color: var(--text-muted); flex-shrink: 0; }
.cat-tab {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-family: 'Source Sans 3', sans-serif;
  transition: .15s;
}
.cat-tab:hover, .cat-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ===== ARTICLE PAGE — full article ===== */
.article-full {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: 0 2px 14px rgba(26,79,138,.05);
}

/* Article tag */
.article-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  background: #e8f0fb;
  color: var(--navy);
}
.article-tag.tag-bac { background: #fce7f3; color: #9d174d; }
.article-tag.tag-parinti { background: #d1fae5; color: #065f46; }
.article-tag.tag-metode { background: #ede9fe; color: #4c1d95; }

/* Article title */
.article-title {
  font-family: 'Merriweather', serif;
  font-size: 42px;
  font-weight: 800;
  color: #0a1f5c;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* Author block */
.author-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.author-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #93c5fd, #2563b0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* Dateline + view count */
.article-dateline {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.view-count-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
}
.view-count-wrap svg { flex-shrink: 0; }

/* Article body */
.article-full h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}
.article-full p {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}
.article-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.7;
  border-left: 3px solid var(--light-blue);
  padding-left: 16px;
}

/* Pull quote */
.pull-quote {
  background: var(--light-blue);
  border-left: 4px solid var(--navy);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 22px 0;
}
.pull-quote blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
}
.pull-quote cite {
  display: block;
  font-size: .78rem;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 8px;
}

/* Checklist */
.checklist { list-style: none; margin: 14px 0 18px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .95rem;
  color: var(--text);
  border-bottom: 1px solid #f0f0ee;
}
.checklist li:last-child { border-bottom: none; }
.check-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* Subtle link */
.subtle-link {
  color: var(--subtle-link-color);
  text-decoration: none;
  border-bottom: 1px solid rgba(29,111,188,.25);
  transition: color .15s, border-color .15s;
}
.subtle-link:hover {
  color: var(--navy);
  border-bottom-color: rgba(26,79,138,.6);
}

/* Article nav prev/next */
.article-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 10px;
}
.article-nav a { color: var(--navy); font-size: .88rem; font-weight: 700; }
.article-nav a:hover { text-decoration: underline; }

/* ===== BOOK BANNER ===== */
.book-banner {
  margin: 28px 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  min-width: 0;
}
.book-banner-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.book-banner-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.book-banner-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  min-width: 0;
  padding-bottom: 4px;
}
.book-banner-track::-webkit-scrollbar { display: none; }
.book-card {
  flex: 0 0 150px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  display: block;
  min-width: 0;
}
.book-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(26,79,138,.12); }
.book-cover {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--light-blue), #c8dcf8);
  overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-info { padding: 9px 10px 12px; }
.book-info h4 { font-size: .78rem; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.3; }
.book-info p { font-size: .68rem; color: var(--text-muted); margin-bottom: 6px; }
.book-cta {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 5px;
}

/* ===== SIDEBAR ===== */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(26,79,138,.05);
  overflow: hidden;
}
.widget-title {
  font-family: 'Merriweather', serif;
  font-size: .95rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-blue);
}
.publisher-widget {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.publisher-widget .widget-title { color: var(--white); border-color: rgba(255,255,255,.2); }
.publisher-logo { font-size: 2.2rem; text-align: center; margin-bottom: 12px; }
.publisher-widget p { font-size: .86rem; color: #c8dfff; line-height: 1.6; margin-bottom: 12px; }
.publisher-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}
.pub-stat {
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 9px 6px;
  text-align: center;
}
.pub-stat strong { display: block; font-size: 1.2rem; font-weight: 900; color: var(--white); }
.pub-stat span { font-size: .68rem; color: #c8dfff; }
.btn-publisher {
  display: block;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: .86rem;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  transition: .2s;
}
.btn-publisher:hover { background: var(--light-blue); }

.recent-post {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.recent-post:last-child { border-bottom: none; }
.recent-post:hover h4 { color: var(--navy); }
.recent-thumb {
  width: 50px; height: 46px;
  border-radius: 7px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.recent-post h4 { font-size: .82rem; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 3px; transition: color .2s; }
.recent-post span { font-size: .72rem; color: var(--text-muted); }

/* Newsletter form */
.newsletter-form input {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .88rem;
  color: var(--text);
  background: var(--bg);
  margin-bottom: 9px;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input:focus { border-color: var(--navy); }
.newsletter-form button {
  width: 100%;
  padding: 11px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--navy-dark); }
.newsletter-note { font-size: .72rem; color: var(--text-muted); margin-top: 7px; text-align: center; }

/* ===== HOMEPAGE CARD GRID (2-col) ===== */
.home-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.home-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(26,79,138,.05);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.home-card:hover { transform: translateY(-4px); box-shadow: 0 8px 26px rgba(26,79,138,.1); }
.home-card .card-thumb { height: 130px; font-size: 2.8rem; }
.home-card .card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.home-card h3 { font-family: 'Merriweather', serif; font-size: .95rem; font-weight: 700; line-height: 1.45; color: var(--text); margin: 8px 0 7px; }
.home-card p { font-size: .83rem; color: var(--text-muted); flex: 1; line-height: 1.6; }
.home-card .card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.home-card .reading-time { font-size: .75rem; color: var(--text-muted); font-weight: 600; }
.home-card .read-link { font-size: .8rem; font-weight: 700; color: var(--navy); }

/* ===== SECTION HEADER ===== */
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.section-header h2 { font-family: 'Merriweather', serif; font-size: 1.2rem; font-weight: 900; color: var(--text); }
.see-all { color: var(--navy); font-size: .83rem; font-weight: 700; }
.see-all:hover { text-decoration: underline; }

/* ===== FEATURED ARTICLE ===== */
.featured-article {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 260px;
  box-shadow: 0 2px 14px rgba(26,79,138,.06);
  transition: box-shadow .2s;
  text-decoration: none;
  color: inherit;
}
.featured-article:hover { box-shadow: 0 6px 28px rgba(26,79,138,.12); }
.featured-img {
  background: linear-gradient(135deg, #1a4f8a 0%, #4a90d9 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem;
}
.featured-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-family: 'Merriweather', serif; font-size: 1.28rem; font-weight: 700; line-height: 1.4; color: var(--text); margin-bottom: 10px; }
.featured-body p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.read-more { color: var(--navy); font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; transition: gap .2s; }
.read-more:hover { gap: 8px; }

/* Category badges */
.cat-badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; margin-bottom: 10px; }
.cat-en { background: #fef3c7; color: #92400e; }
.cat-bac { background: #fce7f3; color: #9d174d; }
.cat-parinti { background: #d1fae5; color: #065f46; }
.cat-metode { background: #ede9fe; color: #4c1d95; }

/* ===== SFATURI PARINTI GRID ===== */
.advice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 60px;
}
.advice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(26,79,138,.05);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.advice-card:hover { transform: translateY(-4px); box-shadow: 0 8px 26px rgba(26,79,138,.1); }
.advice-emoji { font-size: 2rem; }
.advice-card h3 { font-family: 'Merriweather', serif; font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.advice-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.advice-read { font-size: .86rem; font-weight: 700; color: var(--navy); margin-top: 4px; }
.advice-read:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: #8cb8e8;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 10px; display: block; font-size: 1.2rem; }
.footer-brand p { font-size: .86rem; line-height: 1.65; max-width: 260px; }
.footer-col h4 { color: var(--white); font-weight: 700; font-size: .88rem; margin-bottom: 12px; letter-spacing: .4px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: .83rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
}

/* ===== LISTING PAGES (en.html / bac.html / sfaturi-parinti.html) ===== */
.listing-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  width: 100%;
  box-sizing: border-box;
  align-items: start;
}
.listing-main { min-width: 0; }
.listing-sidebar {
  min-width: 0;
  width: 100%;
  max-width: 280px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.listing-header {
  margin-bottom: 28px;
}
.listing-header h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #0a1f5c;
  line-height: 1.25;
  margin-bottom: 8px;
}
.listing-header p {
  font-size: .97rem;
  color: var(--text-muted);
  margin: 0;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Sidebar plain link list */
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: block;
  padding: 9px 0;
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
  transition: color .15s;
}
.sidebar-links a:hover { color: var(--navy-dark); text-decoration: underline; }

/* Book banner title */
.book-banner-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.book-banner-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Site footer alias */
.site-footer { background: var(--navy-dark); color: #8cb8e8; margin-top: 60px; }
.site-footer .footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px 28px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
}
.site-footer .footer-col h4 { color: var(--white); font-weight: 700; font-size: .88rem; margin-bottom: 12px; }
.site-footer .footer-col ul { list-style: none; }
.site-footer .footer-col ul li { margin-bottom: 7px; }
.site-footer .footer-col ul li a { font-size: .83rem; color: #8cb8e8; transition: color .2s; }
.site-footer .footer-col ul li a:hover { color: var(--white); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); max-width: 1200px; margin: 0 auto;
  padding: 18px 24px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px; font-size: .78rem;
}

/* Advice card icon/link aliases */
.advice-icon { font-size: 2rem; }
.advice-link { font-size: .86rem; font-weight: 700; color: var(--navy); margin-top: 4px; display: inline-block; }
.advice-link:hover { text-decoration: underline; }

/* Card tag color variants */
.tag-en { background: #fef3c7; color: #92400e; }
.tag-bac { background: #fce7f3; color: #9d174d; }
.tag-metode { background: #ede9fe; color: #4c1d95; }
.tag-parinti { background: #d1fae5; color: #065f46; }

/* Thumb color variants for listing cards */
.thumb-mate-en { background: linear-gradient(135deg, #1a4f8a, #4a90d9); }
.thumb-romana-en { background: linear-gradient(135deg, #7e22ce, #a855f7); }
.thumb-statistici { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.thumb-pomodoro { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.thumb-en-new { background: linear-gradient(135deg, #b45309, #f59e0b); }
.thumb-calendar-bac { background: linear-gradient(135deg, #9d174d, #ec4899); }
.thumb-mate-bac { background: linear-gradient(135deg, #1a4f8a, #4a90d9); }
.thumb-bac-new { background: linear-gradient(135deg, #065f46, #34d399); }
.thumb-parinti { background: linear-gradient(135deg, #065f46, #34d399); }

/* ===== METODE PAGE ===== */
.metode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 32px;
}
.metode-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 2px 12px rgba(26,79,138,.05);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.metode-card:hover { transform: translateY(-4px); box-shadow: 0 8px 26px rgba(26,79,138,.1); }
.metode-icon { font-size: 2.2rem; }
.metode-card h3 { font-family: 'Merriweather', serif; font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.4; }
.metode-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.metode-read { font-size: .86rem; font-weight: 700; color: var(--navy); margin-top: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .page-wrap {
    grid-template-columns: 1fr;
    padding: 20px 16px 60px;
  }
  .sidebar {
    max-width: 100%;
    width: 100%;
    position: static !important;
  }
  .listing-wrap {
    grid-template-columns: 1fr;
    padding: 20px 16px 60px;
  }
  .listing-sidebar {
    max-width: 100%;
    width: 100%;
    position: static !important;
  }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .metode-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #hamburger { display: flex; }
  .desktop-nav { display: none; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-img { height: 160px; }
  .home-articles-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .card-thumb { height: 150px; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer .footer-inner { grid-template-columns: 1fr; }
  .advice-grid { grid-template-columns: 1fr; padding: 20px 16px 40px; }
  .article-title { font-size: 26px; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.5rem; }
  .article-full { padding: 20px; }
  .article-title { font-size: 20px; }
  .book-card { flex: 0 0 120px; }
}
