/* ==========================================================================
   seoaudits.ie — Design System
   Primary: #F7389B (hot pink) · Secondary: #1D1C57 (deep navy)
   Display/body: Roboto Slab + Roboto
   ========================================================================== */

:root {
  /* Brand colour system */
  --pink: #F7389B;
  --pink-dark: #D81F80;
  --pink-tint: #FFF1F8;
  --navy: #1D1C57;
  --navy-light: #322F7E;
  --navy-tint: #E8E7F5;
  --flag: #FFC93C;          /* "audit flag" accent — used sparingly for highlights */
  --flag-dark: #E0AC1C;

  --bg: #FFFFFF;
  --bg-tint: #FFF7FB;
  --text: #1D1C57;
  --text-body: #423F6B;
  --text-muted: #726F95;
  --border: #EEE0EA;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 12px 30px -12px rgba(29, 28, 87, 0.18);
  --shadow-pop: 0 20px 45px -15px rgba(247, 56, 155, 0.35);

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Visible focus states everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--flag-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--tint { background: var(--bg-tint); }
.section--navy { background: var(--navy); color: #E7E6F5; }
.section--navy h2, .section--navy h3 { color: #FFFFFF; }
.section--navy p { color: #C7C5E6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Slab', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--flag); }
.section--hero .eyebrow { color: #FFFFFF; }

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { font-size: 1.08rem; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn--pink {
  background: var(--pink);
  color: #FFFFFF;
  box-shadow: var(--shadow-pop);
}
.btn--pink:hover { transform: translateY(-2px); background: var(--pink-dark); }
.btn--navy {
  background: var(--navy);
  color: #FFFFFF;
}
.btn--navy:hover { transform: translateY(-2px); background: var(--navy-light); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #FFFFFF;
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.logo {
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.01em;
}
.logo span { color: var(--pink); }
.main-nav {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--pink-dark);
  border-bottom-color: var(--pink);
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy-tint);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}
.phone-pill:hover { background: var(--navy); color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 24px 20px; gap: 4px; border-bottom: 1px solid var(--border); display: none; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .header-actions .btn span.btn-label-full { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--pink);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 76px 0 90px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: #FFFFFF;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  margin-bottom: 20px;
}
.hero p.lede {
  color: #FFF0F8;
  font-size: 1.18rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #FFE1F1;
  font-weight: 600;
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- Signature element: Audit Ticket ---------- */
.audit-ticket {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45);
  position: relative;
  color: #fff;
}
.audit-ticket::before, .audit-ticket::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--pink);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.audit-ticket::before { left: -13px; }
.audit-ticket::after { right: -13px; }
.audit-ticket__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 2px dashed rgba(255,255,255,0.22);
}
.audit-ticket__head p { margin: 0; font-size: 0.78rem; color: #A7A4D6; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;}
.audit-ticket__head h3 { color: #fff; margin: 4px 0 0; font-size: 1.15rem; }
.audit-ticket__score {
  background: var(--flag);
  color: var(--navy);
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 999px;
  padding: 6px 14px;
}
.audit-row { margin-bottom: 15px; }
.audit-row:last-child { margin-bottom: 0; }
.audit-row__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  color: #DAD8F2;
  margin-bottom: 6px;
}
.audit-row__label b { color: #fff; }
.audit-row__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  overflow: hidden;
}
.audit-row__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--flag));
}

/* ---------- Checklist icon / tick ---------- */
.tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--flag);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tick svg { width: 12px; height: 12px; }

/* ---------- Stat / trust bar ---------- */
.trust-bar {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.trust-bar__item {
  text-align: center;
  flex: 1 1 160px;
}
.trust-bar__item strong {
  display: block;
  font-family: 'Roboto Slab', serif;
  font-size: 1.9rem;
  color: var(--navy);
}
.trust-bar__item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  height: 100%;
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pink-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; }
.card ul.check-list { margin-top: 14px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: var(--text-body);
}
.check-list li .tick { margin-top: 2px; }

/* ---------- Process steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 800px) { .process { grid-template-columns: 1fr; } }
.process__step { position: relative; padding-left: 4px; }
.process__num {
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--pink);
  opacity: 0.9;
  display: block;
  margin-bottom: 6px;
}
.process__step h3 { font-size: 1.2rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.testimonial__stars { color: var(--flag-dark); font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p.quote {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 18px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
}
.testimonial__author strong { display: block; color: var(--navy); font-size: 0.94rem; }
.testimonial__author span { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.price-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.price-card--featured {
  border-color: var(--pink);
  transform: translateY(-10px);
  box-shadow: var(--shadow-pop);
}
.price-card__badge {
  align-self: flex-start;
  background: var(--flag);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card .price {
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.price-card .price small { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.price-card .tagline { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 22px; }
.price-card .check-list { margin-bottom: 26px; flex-grow: 1; }
.price-card__note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink-tint);
  color: var(--pink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p {
  padding: 0 4px 22px 4px;
  color: var(--text-muted);
  max-width: 700px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: 1.7rem; }
.cta-band p { color: #C7C5E6; margin: 0; }

/* ---------- Checklist page ---------- */
.checklist-category {
  margin-bottom: 56px;
}
.checklist-category__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.checklist-category__num {
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  background: var(--pink);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checklist-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.checklist-table th, .checklist-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  vertical-align: top;
}
.checklist-table th {
  background: var(--navy-tint);
  color: var(--navy);
  font-family: 'Roboto Slab', serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.checklist-table td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.checklist-table tr:last-child td { border-bottom: none; }

/* ---------- Author / bio block ---------- */
.bio {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 46px;
  align-items: center;
}
@media (max-width: 800px) { .bio { grid-template-columns: 1fr; } }
.bio__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
  background: var(--navy-tint);
}
.bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.bio__cred {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-tint);
  color: var(--pink-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin-top: 2em; font-size: 1.35rem; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content p { color: var(--text-body); }
.legal-updated {
  display: inline-block;
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}

/* ---------- Page header (non-home) ---------- */
.page-header {
  background: var(--pink);
  color: #fff;
  padding: 58px 0 68px;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.page-header p { color: #FFF0F8; max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #C7C5E6;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid p { color: #C7C5E6; font-size: 0.92rem; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-logo {
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 14px;
  display: block;
}
.footer-logo span { color: var(--pink); }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  margin-top: 6px;
}
.footer-bottom {
  padding: 24px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8F8CC0;
}
.footer-bottom a { color: #8F8CC0; }
.footer-bottom a:hover { color: #fff; }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs span.sep { color: rgba(255,255,255,0.5); }
.breadcrumbs span.current { color: #fff; opacity: 0.9; }

/* ---------- Category / item number badge ---------- */
.item-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Related links / internal links block ---------- */
.related-block {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.related-block h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-block__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.related-block__card:last-child { margin-bottom: 0; }
.related-block__card:hover { border-color: var(--pink); transform: translateX(2px); }
.related-block__card span.label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 3px;
}
.related-block__card strong { color: var(--navy); font-family: 'Roboto Slab', serif; font-size: 0.98rem; }
.related-block__arrow { flex-shrink: 0; color: var(--pink); }

/* ---------- Item pager (prev/next) ---------- */
.item-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 700px) { .item-pager { grid-template-columns: 1fr; } }
.item-pager a {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}
.item-pager a:hover { border-color: var(--pink); }
.item-pager .dir {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--pink-dark);
  display: block;
  margin-bottom: 6px;
}
.item-pager .pager-title { color: var(--navy); font-family: 'Roboto Slab', serif; font-weight: 700; }
.item-pager--next { text-align: right; }

/* ---------- Category listing page ---------- */
.category-list-group { margin-bottom: 44px; }
.category-list-group:last-child { margin-bottom: 0; }
.category-list-group h3 {
  font-size: 1.05rem;
  color: var(--pink-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (max-width: 700px) { .category-list { grid-template-columns: 1fr; } }
.category-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--text-body);
}
.category-list a:hover { color: var(--pink-dark); }
.category-list a .n {
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.82rem;
  flex-shrink: 0;
  width: 28px;
}

/* ---------- Category hub cards on main checklist page ---------- */
.pillar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pillar-card__count {
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--pink);
  margin-bottom: 4px;
}
.pillar-card h3 { font-size: 1.2rem; }
.pillar-card p { color: var(--text-muted); flex-grow: 1; }

