/*
Theme Name: Ciconia V2
Theme URI: https://ciconia.dk
Author: Ciconia
Description: Ciconia – Danmarks guide til babyudstyr. Moderne affiliate review tema.
Version: 2.0.0
License: GPL v2 or later
Text Domain: ciconia
*/

/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --c-green:  #1A5C4A;
  --c-green2: #22725C;
  --c-green3: #2D9B83;
  --c-mint:   #E8F5F0;
  --c-orange: #F07D2A;
  --c-orange2:#E56B18;
  --c-dark:   #16201C;
  --c-text:   #2E3D38;
  --c-muted:  #6B8880;
  --c-border: #D4EDE6;
  --c-bg:     #FAFCFB;
  --c-white:  #FFFFFF;
  --c-yellow: #F5C518;
  --c-red:    #E53935;
  --shadow-sm: 0 1px 4px rgba(22,32,28,.07);
  --shadow:    0 2px 12px rgba(22,32,28,.10);
  --shadow-lg: 0 6px 28px rgba(22,32,28,.14);
  --radius:    12px;
  --radius-sm: 8px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-green); text-decoration: none; transition: color .15s; }
a:hover { color: var(--c-green3); }

ul, ol { padding-left: 1.4em; }
p { margin-bottom: 1em; }

h1,h2,h3,h4,h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-dark);
  margin-bottom: .65em;
}
h1 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin-top: 2.2rem; }
h3 { font-size: 1.2rem; margin-top: 1.75rem; }
h4 { font-size: 1rem; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.main-content { min-width: 0; }

/* =========================================================
   HEADER
   ========================================================= */
#site-header {
  background: var(--c-white);
  border-bottom: 3px solid var(--c-green);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

/* LOGO */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo a { display: flex; align-items: center; gap: .6rem; }
.site-logo svg { width: 42px; height: 42px; }
.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-green);
  letter-spacing: -0.5px;
  line-height: 1;
}
.logo-tagline {
  font-size: .625rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: block;
}

/* =========================================================
   MEGA MENU
   ========================================================= */
.nav-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

#mega-nav { display: flex; align-items: stretch; gap: 0; }
#mega-nav > li {
  position: relative;
  list-style: none;
}
#mega-nav > li > a {
  display: flex;
  align-items: center;
  gap: .3rem;
  height: 68px;
  padding: 0 .9rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color .15s, border-color .15s;
}
#mega-nav > li > a:hover,
#mega-nav > li:hover > a {
  color: var(--c-green);
  border-bottom-color: var(--c-green);
}

/* Dropdown arrow */
#mega-nav > li.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 8px; height: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%236B8880'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 1px;
  transition: transform .2s;
}
#mega-nav > li.has-dropdown:hover > a::after { transform: rotate(180deg); }

/* Dropdown panel */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  min-width: 580px;
  display: none;
  z-index: 999;
}
#mega-nav > li:hover .mega-dropdown { display: flex; gap: 2rem; }
#mega-nav > li .simple-dropdown {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: .5rem;
  min-width: 220px;
  display: none;
  z-index: 999;
}
#mega-nav > li:hover .simple-dropdown { display: block; }
.simple-dropdown li { list-style: none; }
.simple-dropdown li a {
  display: block;
  padding: .55rem .9rem;
  font-size: .875rem;
  color: var(--c-text);
  border-radius: 6px;
  transition: background .1s;
}
.simple-dropdown li a:hover { background: var(--c-mint); color: var(--c-green); }

/* Mega column */
.mega-col { flex: 1; min-width: 150px; }
.mega-col-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-muted);
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--c-border);
}
.mega-col ul { list-style: none; padding: 0; }
.mega-col ul li a {
  display: block;
  padding: .35rem 0;
  font-size: .875rem;
  color: var(--c-text);
  transition: color .1s;
}
.mega-col ul li a:hover { color: var(--c-green); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-dark); border-radius: 2px; transition: .2s; }

/* Mobile nav overlay */
#mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-white);
  z-index: 950;
  overflow-y: auto;
  padding: 1.5rem 1.25rem;
  flex-direction: column;
  gap: 0;
}
#mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.mobile-close-btn {
  background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--c-text);
}
#mobile-nav .m-section { margin-bottom: 1.5rem; }
#mobile-nav .m-heading {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-muted); margin-bottom: .5rem; padding: 0 .25rem;
}
#mobile-nav ul { list-style: none; padding: 0; }
#mobile-nav ul li a {
  display: block; padding: .6rem .5rem; font-size: .95rem;
  color: var(--c-text); border-bottom: 1px solid var(--c-border);
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb-bar {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: .6rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--c-muted);
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-green); }
.breadcrumb .sep { color: var(--c-border); }

/* =========================================================
   PAGE HERO
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, #E4F3EE 0%, #CCE9DF 100%);
  padding: 3rem 0;
  margin-bottom: 2.5rem;
}
.page-hero h1 { margin: 0 0 .5rem; }
.page-hero .subtitle {
  font-size: 1.05rem;
  color: var(--c-text);
  opacity: .85;
  max-width: 600px;
  margin-bottom: 1.25rem;
}
.page-hero .meta-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--c-muted);
}
.page-hero .meta-line strong { color: var(--c-text); }

/* Homepage hero */
.home-hero {
  background: linear-gradient(135deg, #E4F3EE 0%, #C5E4D8 60%, #B4D9CE 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}
.home-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.home-hero .lead {
  font-size: 1.15rem;
  color: var(--c-text);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.3;
}
.btn-primary {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 3px 12px rgba(240,125,42,.35);
}
.btn-primary:hover {
  background: var(--c-orange2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(240,125,42,.45);
}
.btn-outline {
  background: transparent;
  color: var(--c-green);
  border-color: var(--c-green);
}
.btn-outline:hover {
  background: var(--c-green);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm { padding: .5rem 1.2rem; font-size: .82rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--c-green);
  padding: .7rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 600;
}
.trust-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* =========================================================
   CATEGORY GRID (homepage)
   ========================================================= */
.cat-section { padding: 3rem 0; }
.section-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-green);
  margin-bottom: .4rem;
}
.section-title { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: .5rem; }
.section-desc { color: var(--c-muted); margin-bottom: 2rem; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .9rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  gap: .5rem;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  color: inherit;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-green3);
  color: inherit;
}
.cat-icon { font-size: 1.9rem; }
.cat-card strong { font-size: .9rem; color: var(--c-dark); display: block; }
.cat-card small { font-size: .73rem; color: var(--c-muted); line-height: 1.3; }

/* =========================================================
   AFFILIATE DISCLOSURE NOTICE
   ========================================================= */
.affiliate-notice {
  background: #FFFBF0;
  border-left: 4px solid var(--c-orange);
  padding: .8rem 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .85rem;
  color: var(--c-text);
  margin-bottom: 2rem;
}
.affiliate-notice a { color: var(--c-green); font-weight: 600; }

/* =========================================================
   REVIEW CARD (product listing)
   ========================================================= */
.review-list { display: flex; flex-direction: column; gap: 1.25rem; margin: 1.5rem 0; }

.review-card {
  display: grid;
  grid-template-columns: 48px 100px 1fr 160px;
  align-items: start;
  gap: .9rem 1.1rem;
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, border-color .15s;
}
.review-card:hover { box-shadow: var(--shadow); border-color: var(--c-green3); }
.review-card.rank-1 {
  border-color: var(--c-orange);
  border-width: 2px;
  box-shadow: 0 2px 16px rgba(240,125,42,.13);
}

/* Rank badge */
.rank-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rank-badge.rank-1 { background: var(--c-orange); }

/* Product image */
.card-img {
  width: 100px; height: 100px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--c-mint);
  padding: .35rem;
  align-self: center;
  grid-row: 1 / span 2;
}
.card-img-wrap {
  width: 100px; height: 100px;
  background: var(--c-mint);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  align-self: center;
  overflow: hidden;
}
.card-img-wrap svg { width: 56px; height: 56px; }

/* Card body */
.card-body { min-width: 0; }

/* Title row: name on own line, tag below */
.card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
  margin-bottom: .3rem;
}
.card-name a { color: inherit; }
.card-name a:hover { color: var(--c-green); }

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .45rem;
}
.card-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .18rem .6rem;
  border-radius: 4px;
  color: #fff;
  background: var(--c-green);
  white-space: nowrap;
}
.card-tag.tag-red    { background: var(--c-red); }
.card-tag.tag-orange { background: var(--c-orange); }
.card-tag.tag-blue   { background: #2980b9; }
.card-tag.tag-purple { background: #8E44AD; }

.card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.card-stars { color: var(--c-yellow); font-size: .88rem; letter-spacing: .04em; }
.card-rating-num { font-size: .8rem; color: var(--c-muted); }

.card-desc { font-size: .85rem; color: var(--c-muted); margin-bottom: .6rem; line-height: 1.55; }

.card-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem .75rem;
  font-size: .8rem;
}
.pros-list, .cons-list { list-style: none; padding: 0; }
.pros-list li::before { content: '✓ '; color: var(--c-green); font-weight: 700; }
.cons-list li::before { content: '✗ '; color: var(--c-red); font-weight: 700; }
.pros-list li, .cons-list li { line-height: 1.5; padding: .08rem 0; }

/* Card CTA col */
.card-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
  text-align: center;
  border-left: 1px solid var(--c-border);
  padding-left: 1rem;
  align-self: center;
}
.card-price { font-size: 1.15rem; font-weight: 800; color: var(--c-dark); }
.card-shop { font-size: .72rem; color: var(--c-muted); }

/* =========================================================
   SPECS TABLE (inside review card / single product)
   ========================================================= */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
  margin: .75rem 0;
}
.specs-table tr:nth-child(even) td { background: var(--c-mint); }
.specs-table td {
  padding: .5rem .65rem;
  border-bottom: 1px solid var(--c-border);
}
.specs-table td:first-child { font-weight: 600; width: 40%; color: var(--c-text); }
.specs-table td:last-child { color: var(--c-muted); }

/* =========================================================
   WINNER SUMMARY BOX
   ========================================================= */
.winner-box {
  background: linear-gradient(135deg, var(--c-mint) 0%, #D5EDDF 100%);
  border: 2px solid var(--c-green);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.winner-icon { font-size: 2.5rem; flex-shrink: 0; }
.winner-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-green); margin-bottom: .25rem; }
.winner-name { font-size: 1.15rem; font-weight: 800; color: var(--c-dark); margin-bottom: .3rem; }
.winner-desc { font-size: .875rem; color: var(--c-text); }

/* =========================================================
   TOC (Table of Contents)
   ========================================================= */
.toc-box {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.toc-title { font-size: .9rem; font-weight: 700; margin-bottom: .75rem; color: var(--c-dark); }
.toc-list { list-style: none; padding: 0; }
.toc-list li { border-bottom: 1px solid var(--c-border); }
.toc-list li:last-child { border-bottom: none; }
.toc-list li a {
  display: block;
  padding: .4rem 0;
  font-size: .875rem;
  color: var(--c-green);
}
.toc-list li a:hover { color: var(--c-green3); text-decoration: underline; }

/* =========================================================
   AUTHOR BOX
   ========================================================= */
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--c-mint);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2.5rem 0;
}
.author-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--c-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-meta {}
.author-name { font-size: 1rem; font-weight: 700; margin-bottom: .15rem; }
.author-title { font-size: .8rem; color: var(--c-muted); margin-bottom: .5rem; display: block; }
.author-bio { font-size: .85rem; color: var(--c-text); }
.author-bio a { color: var(--c-green); font-weight: 600; }

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.widget-title {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-muted);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--c-border);
}
.sidebar-links { list-style: none; padding: 0; }
.sidebar-links li { border-bottom: 1px solid var(--c-border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links li a {
  display: block;
  padding: .5rem 0;
  font-size: .875rem;
  color: var(--c-text);
}
.sidebar-links li a:hover { color: var(--c-green); }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.75);
  margin-top: 5rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding: 4rem 0 2.5rem;
}
.footer-brand .logo-text { color: #fff; font-size: 1.25rem; }
.footer-brand .site-logo svg { width: 28px; height: 28px; }
.footer-logo-wrap svg { width: 28px; height: 28px; flex-shrink: 0; }
.footer-brand p { font-size: .875rem; margin-top: .75rem; line-height: 1.65; }
.footer-brand .affiliate-small { font-size: .75rem; margin-top: 1rem; opacity: .6; }

.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   EEAT / ABOUT PAGE CARDS
   ========================================================= */
.eeat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}
.eeat-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.eeat-card .icon { font-size: 1.75rem; margin-bottom: .75rem; }
.eeat-card h3 { font-size: 1rem; margin-top: 0; margin-bottom: .4rem; }
.eeat-card p { font-size: .875rem; color: var(--c-muted); }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.team-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--c-green);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff; font-weight: 800;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 700; font-size: 1rem; margin-bottom: .2rem; }
.team-role { font-size: .8rem; color: var(--c-green); font-weight: 600; margin-bottom: .5rem; display: block; }
.team-bio { font-size: .82rem; color: var(--c-muted); }

/* =========================================================
   CONTENT STYLES
   ========================================================= */
.entry-content h2 { border-bottom: 2px solid var(--c-border); padding-bottom: .5rem; }
.entry-content ul li, .entry-content ol li { margin-bottom: .35rem; }
.entry-content blockquote {
  border-left: 4px solid var(--c-green3);
  padding: .75rem 1.25rem;
  background: var(--c-mint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  margin: 1.5rem 0;
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1.25rem 0; }
.entry-content table th { background: var(--c-green); color: #fff; padding: .6rem .9rem; text-align: left; }
.entry-content table td { padding: .55rem .9rem; border-bottom: 1px solid var(--c-border); }
.entry-content table tr:nth-child(even) td { background: var(--c-mint); }

/* Summary box */
.summary-box {
  background: var(--c-mint);
  border-left: 4px solid var(--c-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .9rem;
}

/* Related pages */
.related-pages {
  background: var(--c-mint);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.related-pages h3 { margin-top: 0; font-size: 1rem; }
.related-pages ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.related-pages ul li a {
  display: inline-block;
  padding: .35rem .85rem;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 50px;
  font-size: .82rem;
  color: var(--c-text);
  transition: border-color .1s, color .1s;
}
.related-pages ul li a:hover { border-color: var(--c-green); color: var(--c-green); }

/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.compare-table { overflow-x: auto; margin: 2rem 0; }
.compare-table table { min-width: 600px; }
.compare-table th { background: var(--c-green); color: #fff; font-size: .85rem; padding: .8rem 1rem; text-align: center; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--c-border); font-size: .875rem; text-align: center; }
.compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-table tr:nth-child(even) td { background: var(--c-mint); }
.compare-table .best-value { color: var(--c-green); font-weight: 700; }
.compare-check { color: var(--c-green); font-weight: 700; }
.compare-x { color: var(--c-red); }

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination { display: flex; gap: .5rem; justify-content: center; margin: 3rem 0; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  font-size: .875rem;
  color: var(--c-text);
  transition: .15s;
}
.pagination a:hover, .pagination .current {
  background: var(--c-green);
  border-color: var(--c-green);
  color: #fff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .review-card { grid-template-columns: 44px 1fr; }
  .card-img, .card-img-placeholder { display: none; }
  .card-cta { grid-column: 2; flex-direction: row; justify-content: flex-start; }
}

@media (max-width: 768px) {
  #mega-nav { display: none; }
  .nav-toggle { display: flex; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-btns { flex-direction: column; align-items: center; }
  .winner-box { flex-direction: column; gap: .75rem; }
  .author-box { flex-direction: column; }
  .review-card { grid-template-columns: 44px 1fr; }
  .card-pros-cons { grid-template-columns: 1fr; }
  .card-cta { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: .75rem; }
  .review-card { grid-template-columns: 1fr; gap: .75rem; padding: 1rem; }
  .rank-badge { width: 36px; height: 36px; font-size: .95rem; }
  .card-cta { flex-direction: column; }
}
