/* ============================================================
   Akkermansia.ie — Main Stylesheet
   Palette: #8B1A2B primary, #C0392B secondary
   Fonts: Playfair Display (headings), DM Sans (body)
   ============================================================ */

/* ---- Reset & Variables ---- */
:root {
  --primary:    #8B1A2B;
  --secondary:  #C0392B;
  --accent:     #C0392B;
  --text:       #2b2b2b;
  --muted:      #6b7280;
  --bg:         #f8fafc;
  --card:       #ffffff;
  --border:     #e5e7eb;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,0,0,0.07);
  --max-w:      1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--text);
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.accent { color: var(--secondary); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-hero-primary { background: var(--primary); color: #fff; padding: 0.9rem 2rem; font-size: 1rem; }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  padding: 0.45rem 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.top-bar-tagline, .top-bar-note { display: flex; align-items: center; gap: 0.4rem; }
.top-bar-note { opacity: 0.8; font-style: italic; }

/* ---- Nav ---- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.site-nav { padding: 0; }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 64px;
}

/* Logo — text-based */
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.nav-logo-dot { color: var(--secondary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-menu > li { position: relative; }
.nav-has-dropdown > a { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-menu > li > a:hover { color: var(--primary); background: var(--bg); text-decoration: none; }
.nav-chevron { transition: transform 0.2s; }

/* Dropdowns */
.nav-dropdown {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
  z-index: 200;
  padding: 0.5rem 0;
  /* Grace period — delay hiding so mouse can travel to dropdown */
  transition: opacity 0.15s ease, visibility 0s linear 0.15s;
}
/* Transparent bridge fills gap between trigger and dropdown */
.nav-has-dropdown > a::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown.is-open .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.15s ease, visibility 0s linear 0s;
}
.nav-has-dropdown:hover .nav-chevron,
.nav-has-dropdown.is-open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown li a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown li a:hover { color: var(--primary); background: var(--bg); text-decoration: none; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: 1rem; }
.nav-search-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 0.4rem; display: flex; align-items: center;
  transition: color 0.2s;
}
.nav-search-btn:hover { color: var(--primary); }
.nav-cta-btn {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-cta-btn:hover { opacity: 0.88; text-decoration: none; }
.nav-cta-btn--research {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}
.nav-cta-btn--research:hover { background: #333; border-color: #333; opacity: 1; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}
.hamburger-bar { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; display: block; }

/* ---- Page Banner (breadcrumb style — no background image) ---- */
.page-banner {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0 1.5rem;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner-title {
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  max-width: 700px;
  margin-top: 0.5rem;
}

/* Breadcrumb in banner */
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  list-style: none;
}
.breadcrumb-item:not(:last-child)::after { content: '›'; color: var(--border); }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--primary); text-decoration: none; }
.breadcrumb-item--current { color: var(--primary); font-weight: 500; }

/* ---- Hero (homepage) — full-bleed background image ---- */
.hero {
  background-image: url('../images/hero.webp');
  background-size: cover;
  background-position: center;
  padding: 6rem 0 5rem;
  border-bottom: none;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content { max-width: 580px; }
.hero-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}
.hero-heading em { color: #f9a8b4; font-style: normal; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 480px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 1.25rem; letter-spacing: 0.02em; }
.hero-eyebrow { color: rgba(255,255,255,0.75) !important; }
.btn-hero-primary { background: var(--primary); color: #fff; padding: 0.9rem 2rem; font-size: 1rem; }
.btn-outline-hero { background: transparent; border: 2px solid rgba(255,255,255,0.7); color: #fff; padding: 0.9rem 2rem; font-size: 1rem; }
.btn-outline-hero:hover { background: rgba(255,255,255,0.15); text-decoration: none; }
.hero-image-wrap { display: none; } /* image is in the background — no inline image needed */

/* ---- Homepage info sections ---- */
.ibs-overview { background: #fff; }
.ibs-overview .section-intro { margin-bottom: 2.5rem; max-width: 720px; }
.ibs-overview .section-intro h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.ibs-overview .section-intro p { color: var(--muted); font-size: 1.05rem; }

.overview-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.overview-text p { margin-bottom: 1rem; }
.overview-text h3 { font-size: 1.1rem; color: var(--primary); margin: 1.5rem 0 0.5rem; }
.overview-image img { border-radius: var(--radius); width: 100%; }

.ibs-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.ibs-type-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.ibs-type-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.ibs-type-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.ibs-type-card p { font-size: 0.85rem; color: var(--muted); }

/* Topic cards */
.topic-cards { background: var(--bg); }
.topic-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.topic-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.topic-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.topic-card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.topic-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--primary); }
.topic-card p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.topic-card-link { font-size: 0.875rem; font-weight: 600; color: var(--secondary); }
.topic-card-link:hover { text-decoration: underline; }

/* Ireland section */
.ireland-section { background: #fff; }
.ireland-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.ireland-split img { border-radius: var(--radius); width: 100%; }
.ireland-content h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: 1rem; }
.ireland-content p { color: var(--muted); margin-bottom: 1rem; }
.ireland-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.ireland-stat { background: var(--bg); border-radius: var(--radius); padding: 1rem; text-align: center; }
.ireland-stat-number { font-size: 1.8rem; font-weight: 700; color: var(--primary); font-family: 'Playfair Display', serif; }
.ireland-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* Practitioner section */
.practitioner-section { background: var(--bg); }
.practitioner-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.practitioner-panel h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.practitioner-panel p { color: var(--muted); margin-bottom: 1.5rem; }

/* Medical disclaimer band */
.disclaimer-band {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  border-bottom: 1px solid #fde68a;
  padding: 1.25rem 0;
}
.disclaimer-band .container { display: flex; gap: 0.75rem; align-items: flex-start; }
.disclaimer-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.disclaimer-band p { font-size: 0.875rem; color: #78350f; margin: 0; }
.disclaimer-band strong { color: #92400e; }

/* ---- Section shared ---- */
.section-intro { margin-bottom: 2.5rem; }
.section-intro h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.section-intro p { color: var(--muted); max-width: 640px; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ---- Post cards (popular/related) ---- */
.post-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.post-card:hover { box-shadow: var(--shadow); }
.post-card-img-wrap img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 1.25rem; flex: 1; }
.post-card-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.post-card-title { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--primary); text-decoration: none; }
.post-card-excerpt { font-size: 0.875rem; color: var(--muted); }
.post-card-meta-row { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; }
.post-card-date { font-size: 0.78rem; color: var(--muted); }
.post-card-footer { padding: 0.75rem 1.25rem 1.25rem; border-top: 1px solid var(--border); }
.post-card-link { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.post-card-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.tag {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  color: var(--muted);
}

/* ---- Blog grid (tb-grid pattern) ---- */
.tb-grid { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
.tb-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tb-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.tb-card:hover { box-shadow: var(--shadow); }
.tb-card-img-wrap img { width: 100%; object-fit: cover; }
.tb-grid-2 .tb-card-img-wrap img { height: 280px; }
.tb-grid-3 .tb-card-img-wrap img { height: 200px; }
.tb-card-body { padding: 1.25rem; }
.tb-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: 0.5rem;
}
.tb-card-title { font-size: 1.05rem; margin-bottom: 0.5rem; line-height: 1.35; }
.tb-card-title a { color: var(--text); }
.tb-card-title a:hover { color: var(--primary); text-decoration: none; }
.tb-card-excerpt { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.tb-card-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.tb-card-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-right: auto;
}
.tb-card-link svg { width: 14px; height: 14px; }
.tb-card-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.tb-card-meta svg { width: 13px; height: 13px; }

/* Blog index page */
.articles-index-hero { background: var(--primary); padding: 3rem 0 2.5rem; }
.articles-index-hero-inner { position: relative; }
.articles-index-heading { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: #fff; margin: 0.5rem 0; }
.articles-index-sub { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 560px; margin-top: 0.5rem; }
.articles-index-body { padding-top: 2.5rem; }

/* Blog filter */
.blog-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.articles-filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s;
}
.articles-filter-btn:hover,
.articles-filter-btn.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Blog masonry grid */
.articles-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.articles-masonry-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.articles-masonry-card:hover { box-shadow: var(--shadow); }
.amc-img-link { display: block; overflow: hidden; }
.amc-img-wrap img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.articles-masonry-card:hover .amc-img-wrap img { transform: scale(1.03); }
.amc-body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.amc-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.4rem;
  display: inline-block;
}
.amc-title { font-size: 1rem; line-height: 1.35; margin-bottom: 0.5rem; flex: 1; }
.amc-title a { color: var(--text); }
.amc-title a:hover { color: var(--primary); text-decoration: none; }
.amc-excerpt { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.75rem; }
.amc-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.amc-date { font-size: 0.78rem; color: var(--muted); }
.amc-link { font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.articles-no-results { color: var(--muted); text-align: center; padding: 2rem 0; }

/* ---- Breadcrumb ---- */
.breadcrumb ol { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--border); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.post-breadcrumb-bar { background: var(--bg); border-bottom: 1px solid var(--border); padding: 0.6rem 0; }

/* ---- Article layout ---- */
.post-layout { background: var(--bg); }
.post-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}
.post-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  min-width: 0;
}

/* Article typography */
.post-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
  font-weight: 400;
}
.post-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  color: var(--primary);
  padding-top: 0.5rem;
}
.post-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}
.post-content p { margin-bottom: 1rem; }
.post-content ul, .post-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.post-content li { margin-bottom: 0.4rem; list-style: disc; }
.post-content ol li { list-style: decimal; }
.post-content strong { color: var(--text); }
.post-content em { color: var(--muted); }
.post-content a { color: var(--primary); text-decoration: underline; }
.post-content a:hover { color: var(--secondary); }

/* Article images */
.post-figure { margin: 1.75rem 0; }
.post-figure-img { border-radius: var(--radius); width: 100%; }
.post-intro-figure { margin: 0 0 1.75rem; }
.post-intro-figure img { border-radius: var(--radius); width: 100%; }

/* Blockquote */
.post-blockquote {
  border-left: 4px solid var(--secondary);
  background: var(--bg);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

/* Affiliate block */
.affiliate-block {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.affiliate-block-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}
.affiliate-block h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.affiliate-block p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.affiliate-block .btn { font-size: 0.875rem; padding: 0.6rem 1.25rem; }
.affiliate-disclaimer { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; }

/* FAQ */
.faq-header { margin-bottom: 1rem; }
.faq-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg); }
.faq-icon { font-size: 1.2rem; color: var(--secondary); flex-shrink: 0; transition: transform 0.2s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.25rem 1.1rem; }
.faq-answer.is-open { display: block; }
.faq-answer p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Post tags */
.post-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.75rem 0; }
.post-tags .tag { transition: border-color 0.2s, color 0.2s; }
.post-tags .tag:hover { border-color: var(--primary); color: var(--primary); }

/* Medical disclaimer (article footer) */
.medical-disclaimer-block {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.875rem;
  color: #78350f;
}
.medical-disclaimer-block strong { color: #92400e; }

/* Bio block */
.bio-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.75rem 0;
}
.bio-logo-placeholder { flex-shrink: 0; }
.bio-site-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.bio-desc { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Related posts */
.related-posts { margin: 2rem 0; }
.related-posts-title { font-size: 1.1rem; margin-bottom: 1.25rem; }
.related-posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* Sources */
.sources-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.sources-heading { font-size: 1rem; margin-bottom: 1rem; color: var(--text); }
.sources-list { display: flex; flex-direction: column; gap: 0.75rem; }

/* ── Article tables ── */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.post-content thead {
  background: var(--primary);
  color: #fff;
}
.post-content thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.post-content tbody tr {
  border-bottom: 1px solid var(--border);
}
.post-content tbody tr:last-child {
  border-bottom: none;
}
.post-content tbody tr:nth-child(even) {
  background: #f8fbfc;
}
.post-content tbody td {
  padding: 0.7rem 1rem;
  vertical-align: top;
  color: var(--text);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .post-content table { font-size: 0.82rem; }
  .post-content thead th,
  .post-content tbody td { padding: 0.6rem 0.65rem; }
}
/* ── Table scroll wrapper for mobile ── */
.post-content table,
.info-box table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.post-content table {
  display: table;
  width: 100%;
}
@media (max-width: 700px) {
  .post-content table,
  .info-box table {
    display: block;
    overflow-x: auto;
    font-size: 0.82rem;
  }
}
.source-item p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.source-item em { color: var(--text); }
.source-link { color: var(--primary); font-weight: 600; margin-left: 0.5rem; white-space: nowrap; }

/* Research page */
.research-item { border-left: 3px solid var(--primary); padding-left: 1rem; }
.research-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.research-badge { font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.04em; }
.research-badge--foundational { background: #8B1A2B; color: #fff; }
.research-badge--landmark     { background: #C0392B; color: #fff; }
.research-badge--rct          { background: #27ae60; color: #fff; }
.research-badge--human        { background: #2980b9; color: #fff; }
.research-badge--animal       { background: #7f8c8d; color: #fff; }
.research-badge--review       { background: #8e44ad; color: #fff; }
.research-badge--regulatory   { background: #e67e22; color: #fff; }
.research-badge--eu           { background: #003399; color: #fff; }
.research-summary { font-size: 0.88rem; color: var(--muted); margin: 0.5rem 0 0.5rem; line-height: 1.6; }

/* ---- Sidebar ---- */
.post-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.sidebar-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }

/* Sidebar thumb list */
.sidebar-thumb-list { display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-thumb-link { display: flex; gap: 0.75rem; align-items: flex-start; text-decoration: none; }
.sidebar-thumb-link:hover .sidebar-thumb-title { color: var(--primary); }
.sidebar-thumb-img img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sidebar-thumb-body { flex: 1; }
.sidebar-thumb-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-bottom: 0.3rem;
}
.sidebar-thumb-badge--new { background: var(--secondary); }
.sidebar-thumb-title { font-size: 0.82rem; color: var(--text); line-height: 1.3; transition: color 0.15s; }

/* Sidebar categories */
.sidebar-cat-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sidebar-cat-tag {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  color: var(--text);
  transition: all 0.2s;
}
.sidebar-cat-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }

/* Sidebar resources */
.sidebar-resource-list { display: flex; flex-direction: column; gap: 0; }
.sidebar-resource-list li { border-bottom: 1px solid var(--border); }
.sidebar-resource-list li:last-child { border-bottom: none; }
.sidebar-resource-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: var(--primary);
}
.sidebar-resource-list a:hover { text-decoration: underline; }

/* Sidebar newsletter */
.sidebar-newsletter-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.sidebar-newsletter-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.sidebar-newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-newsletter-form input {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  width: 100%;
}
.sidebar-newsletter-form input:focus { outline: 2px solid var(--primary); border-color: transparent; }
.sidebar-newsletter-form .btn { width: 100%; text-align: center; padding: 0.6rem; font-size: 0.875rem; }
.sidebar-newsletter-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; }

/* ---- Newsletter strip ---- */
.newsletter-strip { background: var(--primary); color: #fff; }
.newsletter-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.newsletter-intro .eyebrow { color: rgba(255,255,255,0.7); }
.newsletter-intro h2 { color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.75rem; }
.newsletter-intro h2 .accent { color: #f9a8b4; }
.newsletter-intro p { color: rgba(255,255,255,0.85); margin-bottom: 1rem; }
.newsletter-perks { padding-left: 0; }
.newsletter-perks li { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 0.4rem; list-style: none; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter-field { display: flex; flex-direction: column; gap: 0.3rem; }
.newsletter-field label { font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.newsletter-field input {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.9rem;
}
.newsletter-field input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-field input:focus { outline: 2px solid rgba(255,255,255,0.6); border-color: transparent; }
.newsletter-btn { background: #fff; color: var(--primary); font-weight: 700; border: none; }
.newsletter-btn:hover { background: #f0fdf4; opacity: 1; }
.newsletter-disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* ---- Footer ---- */
.site-footer { background: #1a0a0d; color: rgba(255,255,255,0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}
.footer-heading { color: #fff; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-subscribe-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); display: block; margin-bottom: 0.4rem; }
.footer-subscribe-note { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem; }
.footer-subscribe-form { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-subscribe-form input {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.875rem;
}
.footer-subscribe-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-subscribe-btn { font-size: 0.85rem; padding: 0.55rem; }

.footer-disclaimer {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.footer-disclaimer p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 0.4rem; }
.footer-disclaimer a { color: rgba(255,255,255,0.65); text-decoration: underline; }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
}
.footer-bottom-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: #fff; }
.footer-logo-dot { color: var(--secondary); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-copy a { color: rgba(255,255,255,0.65); }

/* ---- Popular posts section ---- */
.popular-posts { background: #fff; }
.popular-posts-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; gap: 2rem; }
.popular-posts-header-right { max-width: 400px; font-size: 0.9rem; color: var(--muted); }

/* ---- About / Contact pages ---- */
.about-content, .contact-content { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; max-width: 800px; margin: 0 auto; }
.about-content h2, .contact-content h2 { font-size: 1.4rem; color: var(--primary); margin: 1.75rem 0 0.75rem; }
.about-content h2:first-child, .contact-content h2:first-child { margin-top: 0; }
.about-content p, .contact-content p { margin-bottom: 1rem; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.form-group textarea { resize: vertical; min-height: 140px; }

/* Privacy / Terms */
.legal-content { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.2rem; color: var(--primary); margin: 1.75rem 0 0.5rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 0.75rem; color: var(--text); font-size: 0.9rem; }
.legal-content ul { padding-left: 1.2rem; margin-bottom: 0.75rem; }
.legal-content ul li { list-style: disc; font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--text); }

/* ---- IBS vs IBD section ---- */
.ibs-vs-ibd-section { background: var(--bg); }
.ibs-ibd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.ibs-ibd-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ibs-ibd-card--ibs { border-top-color: var(--primary); }
.ibs-ibd-card--ibd { border-top-color: #dc2626; }
.ibs-ibd-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}
.ibs-ibd-card-header h3 { font-size: 1.05rem; margin: 0; }
.ibs-ibd-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.ibs-ibd-badge--ibs { background: var(--primary); color: #fff; }
.ibs-ibd-badge--ibd { background: #dc2626; color: #fff; }
.ibs-ibd-list {
  padding: 0.75rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ibs-ibd-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.875rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  list-style: none;
}
.ibs-ibd-list li:last-child { border-bottom: none; }
.ibs-ibd-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  min-width: 90px;
  flex-shrink: 0;
}
.ibs-ibd-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #78350f;
}
.ibs-ibd-note strong { color: #92400e; }
.ibs-ibd-note a.btn { color: #fff; text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .ibs-types-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem; gap: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .nav-menu.is-open { display: flex; }
  .nav-menu > li > a { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--bg); width: 100%; }
  .nav-dropdown { display: none !important; position: static; box-shadow: none; border: none; padding: 0 0 0 1rem; }
  .nav-has-dropdown.is-open .nav-dropdown { display: block !important; }
  .nav-hamburger { display: flex; }
  .nav-actions .nav-cta-btn { display: none; }
  .site-header { position: relative; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .overview-body { grid-template-columns: 1fr; }
  .overview-image { display: none; }
  .ireland-split { grid-template-columns: 1fr; }
  .ireland-split img { display: none; }
  .post-grid { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .newsletter-strip .container { grid-template-columns: 1fr; }
  .post-cards-row { grid-template-columns: repeat(2, 1fr); }
  .tb-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ireland-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .top-bar-note { display: none; }
  .ibs-types-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-cards-grid { grid-template-columns: 1fr; }
  .articles-masonry { grid-template-columns: 1fr; }
  .post-cards-row { grid-template-columns: 1fr; }
  .tb-grid-2, .tb-grid-3 { grid-template-columns: 1fr; }
  .popular-posts-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .ireland-stats { grid-template-columns: repeat(2, 1fr); }
  .post-content { padding: 1.5rem; }
  .ibs-types-grid { grid-template-columns: 1fr 1fr; }
  .ibs-ibd-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AKKERMANSIA ASSISTANT — Bot CSS  v2.0
   Hero bot + floating chatbot
============================================================ */

/* ── Accent deep (dot color for typing indicator) ─────────── */
:root { --accent-deep: #7a1524; }

/* ── Hero bot wrapper ──────────────────────────────────────── */
.hero-bot-wrap {
  flex: 0 0 520px;
  max-width: 520px;
  width: 100%;
}

/* ── Shared chat container ─────────────────────────────────── */
.tcd-hero-chat {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.11);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  max-height: 620px;
  position: relative;
  z-index: 10;
}

/* ── Shared dark header ────────────────────────────────────── */
.tcd-bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 56px;
  flex-shrink: 0;
  background: #1a1a1a;
  color: #fff;
}
.tcd-bot-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.tcd-bot-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.tcd-bot-header-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.tcd-bot-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcd-bot-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcd-bot-reset {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.tcd-bot-reset:hover { background: rgba(255,255,255,0.2); }
.tcd-bot-reset svg { flex-shrink: 0; }

/* ── Message panel ─────────────────────────────────────────── */
.tcd-hero-chat-panel {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  scroll-behavior: smooth;
}

.tcd-hero-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ── Message bubbles ───────────────────────────────────────── */
.tcd-msg {
  max-width: 88%;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.tcd-bot {
  background: #fdf8ee;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.tcd-user {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  max-width: 80%;
}

/* ── Typing indicator ──────────────────────────────────────── */
.tcd-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0.7rem 0.95rem;
}
.tcd-typing span {
  width: 9px;
  height: 9px;
  background: var(--accent-deep);
  border-radius: 50%;
  animation: tcd-bounce 1.2s infinite ease-in-out;
}
.tcd-typing span:nth-child(1) { animation-delay: 0s; }
.tcd-typing span:nth-child(2) { animation-delay: 0.2s; }
.tcd-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tcd-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.6; }
  40%           { transform: translateY(-6px); opacity: 1; }
}

/* ── Input row ─────────────────────────────────────────────── */
.tcd-bot-inputrow {
  padding: 0.65rem 0.75rem;
  background: #fff;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.tcd-bot-inputwrap {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  gap: 0.4rem;
}
.tcd-bot-inputwrap textarea,
.tcd-bot-inputwrap input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text);
  resize: none;
  outline: none;
  min-height: 36px;
  max-height: 100px;
  line-height: 1.4;
  padding: 0.2rem 0;
}
.tcd-bot-inputwrap textarea::placeholder,
.tcd-bot-inputwrap input[type="text"]::placeholder { color: var(--muted); }
.tcd-bot-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s;
  color: #fff;
}
.tcd-bot-send:hover { opacity: 0.88; }
.tcd-bot-send svg { display: block; }

/* ── Quick buttons — 2×2 grid ──────────────────────────────── */
.tcd-quick-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem 0.75rem;
  background: #fff;
}
.tcd-quick-btn {
  font-size: 0.78rem;
  padding: 0.5rem 0.6rem;
  background: #f3f4f6;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  text-align: center;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.3;
}
.tcd-quick-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Floating bot ──────────────────────────────────────────── */
#tcd-assistant {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
}

.tcd-bubble {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 3px solid var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  transition: transform 0.15s ease;
}
.tcd-bubble:hover { transform: scale(1.08); }
.tcd-bubble-label { display: none; }
.tcd-bubble::before {
  content: '';
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: akk-ring-pulse 2s ease-out infinite;
}
.tcd-bubble::after {
  content: '';
  position: absolute;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  opacity: 0;
  animation: akk-ring-pulse 2s ease-out infinite;
  animation-delay: 0.4s;
}
@keyframes akk-ring-pulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.tcd-bubble svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  position: relative;
  z-index: 1;
}

/* ── Floating panel ────────────────────────────────────────── */
.tcd-panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  width: 370px;
  min-height: 520px;
  max-height: 680px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.14);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.tcd-panel.is-open { display: flex; }

.tcd-panel .tcd-bot-header { border-radius: 0; }
.tcd-panel-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.tcd-panel-actions button {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.tcd-panel-actions button:hover { background: rgba(255,255,255,0.2); }
.tcd-close { font-size: 1rem !important; padding: 0.3rem 0.5rem !important; }

.tcd-chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scroll-behavior: smooth;
}

#tcd-float-quick {
  padding-top: 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

/* ── Bot disclaimer bar ─────────────────────────────────── */
.bot-disclaimer-bar {
  font-size: 0.72rem;
  color: #555;
  text-align: center;
  padding: 0.4rem 0.75rem;
  border-top: 1px solid var(--border);
  background: #fafafa;
  line-height: 1.4;
  margin: 0;
}
.bot-disclaimer-bar a { color: var(--primary); text-decoration: underline; }
.bot-disclaimer-bar--float {
  font-size: 0.68rem;
  color: #555;
  text-align: center;
  padding: 0.3rem 0.75rem;
  background: #f8f8f8;
  border-top: 1px solid var(--border);
  line-height: 1.4;
  margin: 0;
  flex-shrink: 0;
}

/* ── Mobile action bar ─────────────────────────────────── */
.mobile-action-bar { display: none; }

@media (max-width: 900px) {
  .mobile-action-bar {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
  .mobile-action-btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.75rem;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    transition: opacity 0.15s;
  }
  .mobile-action-btn:hover { opacity: 0.88; }
  .mobile-action-btn--research,
  .mobile-action-btn--cta { background: #111; color: #fff; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { display: flex; flex-direction: column; }
  .hero-bot-wrap { width: 100%; min-height: 600px; display: flex; flex-direction: column; }
  #tcd-bot-hero { display: flex; flex-direction: column; flex: 1; width: 100%; }
  .tcd-hero-chat { display: flex; flex-direction: column; flex: 1; min-height: 0; max-height: none; }
  .tcd-hero-chat-panel { flex: 1 1 auto; min-height: 0; }
}
@media (max-width: 480px) {
  .tcd-panel {
    width: calc(100vw - 2rem);
    max-height: calc(100vh - 6rem);
    right: 0;
  }
  #tcd-assistant { right: 1rem; bottom: 1rem; }
  .tcd-bubble-label { display: none; }
}

/* ============================================================
   RESEARCH PAGE
============================================================ */

.research-header {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.research-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}
.research-intro {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.research-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: #0369a1;
  text-align: left;
  line-height: 1.5;
}
.research-disclaimer svg { flex-shrink: 0; margin-top: 1px; }
.research-disclaimer a { color: #0369a1; text-decoration: underline; }

/* ── Evidence rating key ─────────────────────────────────── */
.research-key {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.key-label { font-weight: 600; color: var(--text); }

/* ── Evidence badges ─────────────────────────────────────── */
.evidence-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.evidence-badge--strong  { background: #dcfce7; color: #15803d; }
.evidence-badge--emerging { background: #fef9c3; color: #a16207; }
.evidence-badge--limited  { background: #f1f5f9; color: #64748b; }

/* ── Study grid ──────────────────────────────────────────── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* ── Study card ──────────────────────────────────────────── */
.research-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s;
}
.research-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.research-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.research-year {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.research-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
}

.research-card-authors {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.research-card-summary {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

/* ── Tags ────────────────────────────────────────────────── */
.research-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.research-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  border: 1px solid;
  letter-spacing: 0.02em;
}

/* ── Action buttons ──────────────────────────────────────── */
.research-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.btn-research {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn-research:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-pubmed {
  background: #e8f4fd;
  color: #0369a1;
  border-color: #bae6fd;
}
.btn-claude {
  background: #fdf4ff;
  color: #7c3aed;
  border-color: #e9d5ff;
}
.btn-chatgpt {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}
.btn-article {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  margin-left: auto;
}

/* ── Footer note ─────────────────────────────────────────── */
.research-footer-note {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.research-footer-note p + p { margin-top: 0.75rem; }
.research-footer-note a { color: var(--primary); }

.research-claude-notice {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #713f12;
  line-height: 1.55;
}
.research-claude-notice strong { color: #92400e; }
.research-claude-notice a { color: #92400e; text-decoration: underline; }

.research-built-by {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}
.research-built-by a { color: var(--text); font-weight: 600; text-decoration: none; }
.research-built-by a:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .research-grid { grid-template-columns: 1fr; }
  .research-key { flex-direction: column; align-items: flex-start; }
  .btn-article { margin-left: 0; }
}

/* ── Article infoboxes ──────────────────────────────────────── */
.info-box {
  border-left: 4px solid;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  font-size: 0.95rem;
}
.info-box p { margin-bottom: 0.6rem; }
.info-box p:last-child { margin-bottom: 0; }
.info-box ul { margin: 0.5rem 0 0.6rem 1.2rem; }
.info-box li { margin-bottom: 0.3rem; list-style: disc; }
.info-box-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}
.info-box-title svg { flex-shrink: 0; }

/* Urgent — red tint */
.info-box--urgent {
  background: #fff5f5;
  border-color: #dc2626;
}
.info-box--urgent .info-box-title { color: #b91c1c; }
.info-box--urgent .info-box-title svg { stroke: #b91c1c; }

/* Warning — amber tint */
.info-box--warning {
  background: #fffbeb;
  border-color: #d97706;
}
.info-box--warning .info-box-title { color: #92400e; }
.info-box--warning .info-box-title svg { stroke: #92400e; }

/* Tip — teal tint (matches site primary) */
.info-box--tip {
  background: #f0f9ff;
  border-color: var(--primary);
}
.info-box--tip .info-box-title { color: var(--primary); }
.info-box--tip .info-box-title svg { stroke: var(--primary); }

/* Note — neutral grey */
.info-box--note {
  background: #f8fafc;
  border-color: #64748b;
}
.info-box--note .info-box-title { color: #334155; }
.info-box--note .info-box-title svg { stroke: #334155; }

@media (max-width: 640px) {
  .info-box { padding: 0.85rem 1rem; }
}

/* ============================================================
   AKKERMANSIA.IE — Additional styles
============================================================ */

/* Sidebar buy widget */
.sidebar-widget--buy {
  background: #fff5f6;
  border-color: var(--primary);
  border-width: 2px;
}
.sidebar-widget-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-family: 'Playfair Display', serif;
}
.sidebar-widget-text {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.sidebar-btn { width: 100%; text-align: center; font-size: 0.875rem; padding: 0.6rem; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0; }
.sidebar-nav li { border-bottom: 1px solid var(--border); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.85rem;
  color: var(--text);
  transition: color 0.15s;
}
.sidebar-nav a:hover { color: var(--primary); text-decoration: none; }
.sidebar-widget--disclaimer {
  background: #fffbeb;
  border-color: #fde68a;
}
.sidebar-widget--disclaimer p { font-size: 0.8rem; color: #78350f; margin: 0; }

/* Affiliate block — pomegranate tint */
.affiliate-block {
  background: #fff5f6;
  border: 1px solid #f8c0c7;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.affiliate-block-label { color: var(--primary); }
.affiliate-block h3 { color: var(--text); }

/* Supplement review card */
.supplement-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.75rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.supplement-card-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.supplement-card-title { font-size: 1.05rem; margin-bottom: 0.4rem; }
.supplement-card-price { font-size: 0.9rem; color: var(--primary); font-weight: 600; margin-bottom: 0.75rem; }
.supplement-card-desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }

/* Newsletter inline */
.newsletter-inline {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  color: #fff;
}
.newsletter-inline-inner { display: flex; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap; }
.newsletter-inline-icon { flex-shrink: 0; opacity: 0.8; }
.newsletter-inline-content { flex: 1; min-width: 200px; }
.newsletter-inline-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.newsletter-inline-sub { font-size: 0.82rem; opacity: 0.8; }
.newsletter-inline-form { display: flex; gap: 0.5rem; flex: 1; min-width: 240px; align-items: center; flex-wrap: wrap; }
.newsletter-inline-form input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.875rem;
  min-width: 180px;
}
.newsletter-inline-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-inline-form input:focus { outline: 2px solid rgba(255,255,255,0.5); border-color: transparent; }
.newsletter-inline-form .btn { white-space: nowrap; background: #fff; color: var(--primary); font-weight: 700; font-size: 0.875rem; padding: 0.6rem 1.1rem; }

@media (max-width: 640px) {
  .supplement-card { flex-direction: column; }
  .newsletter-inline-inner { flex-direction: column; }
}

/* Newsletter notify block */
.newsletter-notify { background: #2c0a10; border: 1px solid rgba(192,57,43,0.4); border-radius: 8px; padding: 1.5rem; margin: 2rem 0; }
.newsletter-notify-inner { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.newsletter-notify-icon { flex-shrink: 0; color: #e8a0a8; }
.newsletter-notify-content { flex: 1; min-width: 180px; }
.newsletter-notify-title { font-size: 0.975rem; font-weight: 700; color: #fff; margin: 0 0 0.25rem; }
.newsletter-notify-sub { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.5; }
.newsletter-notify-form { display: flex; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; }
.newsletter-notify-form input[type="email"] { padding: 0.55rem 0.9rem; border-radius: 5px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; font-size: 0.875rem; width: 210px; }
.newsletter-notify-form input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-notify-form input[type="email"]:focus { outline: 2px solid rgba(192,57,43,0.6); border-color: transparent; }
.btn-notify { white-space: nowrap; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.875rem; padding: 0.6rem 1.1rem; border: none; border-radius: 5px; cursor: pointer; }
.btn-notify:hover { background: var(--secondary); }
@media (max-width: 640px) {
  .newsletter-notify-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-notify-form { width: 100%; }
  .newsletter-notify-form input[type="email"] { width: 100%; }
  .newsletter-notify-form .btn-notify { width: 100%; text-align: center; }
}
.post-lead-list {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin: -0.5rem 0 2rem 1.25rem;
  padding: 0;
}
.post-lead-list li {
  margin-bottom: 0.4rem;
  list-style: disc;
}
.post-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  color: var(--primary);
  padding-top: 0.5rem;
}
.post-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}
.post-content p { margin-bottom: 1rem; }
.post-content ul, .post-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.post-content li { margin-bottom: 0.4rem; list-style: disc; }
.post-content ol li { list-style: decimal; }
.post-content strong { color: var(--text); }
.post-content em { color: var(--muted); }
.post-content a { color: var(--primary); text-decoration: underline; }
.post-content a:hover { color: var(--secondary); }

/* Article images */
.post-figure { margin: 1.75rem 0; }
.post-figure-img { border-radius: var(--radius); width: 100%; }
.post-intro-figure { margin: 0 0 1.75rem; }
.post-intro-figure img { border-radius: var(--radius); width: 100%; }

/* Blockquote */
.post-blockquote {
  border-left: 4px solid var(--secondary);
  background: var(--bg);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

/* Affiliate block */
.affiliate-block {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.affiliate-block-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}
.affiliate-block h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.affiliate-block p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.affiliate-block .btn { font-size: 0.875rem; padding: 0.6rem 1.25rem; }
.affiliate-block .btn-primary { background: var(--primary); color: #fff !important; }
.affiliate-disclaimer { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; }

/* FAQ */
.faq-header { margin-bottom: 1rem; }
.faq-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg); }
.faq-icon { font-size: 1.2rem; color: var(--secondary); flex-shrink: 0; transition: transform 0.2s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.25rem 1.1rem; }
.faq-answer.is-open { display: block; }
.faq-answer p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Post tags */
.post-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.75rem 0; }
.post-tags .tag { transition: border-color 0.2s, color 0.2s; }
.post-tags .tag:hover { border-color: var(--primary); color: var(--primary); }

/* Medical disclaimer (article footer) */
.medical-disclaimer-block {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.875rem;
  color: #78350f;
}
.medical-disclaimer-block strong { color: #92400e; }

/* Bio block */
.bio-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.75rem 0;
}
.bio-logo-placeholder { flex-shrink: 0; }
.bio-site-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.bio-desc { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Related posts */
.related-posts { margin: 2rem 0; }
.related-posts-title { font-size: 1.1rem; margin-bottom: 1.25rem; }
.related-posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* Sources */
.sources-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.sources-heading { font-size: 1rem; margin-bottom: 1rem; color: var(--text); }
.sources-list { display: flex; flex-direction: column; gap: 0.75rem; }

/* ── Article tables ── */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.post-content thead {
  background: var(--primary);
  color: #fff;
}
.post-content thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.post-content tbody tr {
  border-bottom: 1px solid var(--border);
}
.post-content tbody tr:last-child {
  border-bottom: none;
}
.post-content tbody tr:nth-child(even) {
  background: #f8fbfc;
}
.post-content tbody td {
  padding: 0.7rem 1rem;
  vertical-align: top;
  color: var(--text);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .post-content table { font-size: 0.82rem; }
  .post-content thead th,
  .post-content tbody td { padding: 0.6rem 0.65rem; }
}
.source-item p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.source-item em { color: var(--text); }
.source-link { color: var(--primary); font-weight: 600; margin-left: 0.5rem; white-space: nowrap; }

/* Research page */
.research-item { border-left: 3px solid var(--primary); padding-left: 1rem; }
.research-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.research-badge { font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.04em; }
.research-badge--foundational { background: #8B1A2B; color: #fff; }
.research-badge--landmark     { background: #C0392B; color: #fff; }
.research-badge--rct          { background: #27ae60; color: #fff; }
.research-badge--human        { background: #2980b9; color: #fff; }
.research-badge--animal       { background: #7f8c8d; color: #fff; }
.research-badge--review       { background: #8e44ad; color: #fff; }
.research-badge--regulatory   { background: #e67e22; color: #fff; }
.research-badge--eu           { background: #003399; color: #fff; }
.research-summary { font-size: 0.88rem; color: var(--muted); margin: 0.5rem 0 0.5rem; line-height: 1.6; }

/* ---- Sidebar ---- */
.post-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.sidebar-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }

/* Sidebar thumb list */
.sidebar-thumb-list { display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-thumb-link { display: flex; gap: 0.75rem; align-items: flex-start; text-decoration: none; }
.sidebar-thumb-link:hover .sidebar-thumb-title { color: var(--primary); }
.sidebar-thumb-img img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sidebar-thumb-body { flex: 1; }
.sidebar-thumb-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-bottom: 0.3rem;
}
.sidebar-thumb-badge--new { background: var(--secondary); }
.sidebar-thumb-title { font-size: 0.82rem; color: var(--text); line-height: 1.3; transition: color 0.15s; }

/* Sidebar categories */
.sidebar-cat-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sidebar-cat-tag {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  color: var(--text);
  transition: all 0.2s;
}
.sidebar-cat-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }

/* Sidebar resources */
.sidebar-resource-list { display: flex; flex-direction: column; gap: 0; }
.sidebar-resource-list li { border-bottom: 1px solid var(--border); }
.sidebar-resource-list li:last-child { border-bottom: none; }
.sidebar-resource-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: var(--primary);
}
.sidebar-resource-list a:hover { text-decoration: underline; }

/* Sidebar newsletter */
.sidebar-newsletter-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.sidebar-newsletter-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.sidebar-newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-newsletter-form input {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  width: 100%;
}
.sidebar-newsletter-form input:focus { outline: 2px solid var(--primary); border-color: transparent; }
.sidebar-newsletter-form .btn { width: 100%; text-align: center; padding: 0.6rem; font-size: 0.875rem; }
.sidebar-newsletter-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; }

/* ---- Newsletter strip ---- */
.newsletter-strip { background: var(--primary); color: #fff; }
.newsletter-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.newsletter-intro .eyebrow { color: rgba(255,255,255,0.7); }
.newsletter-intro h2 { color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.75rem; }
.newsletter-intro h2 .accent { color: #f9a8b4; }
.newsletter-intro p { color: rgba(255,255,255,0.85); margin-bottom: 1rem; }
.newsletter-perks { padding-left: 0; }
.newsletter-perks li { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 0.4rem; list-style: none; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter-field { display: flex; flex-direction: column; gap: 0.3rem; }
.newsletter-field label { font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.newsletter-field input {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.9rem;
}
.newsletter-field input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-field input:focus { outline: 2px solid rgba(255,255,255,0.6); border-color: transparent; }
.newsletter-btn { background: #fff; color: var(--primary); font-weight: 700; border: none; }
.newsletter-btn:hover { background: #f0fdf4; opacity: 1; }
.newsletter-disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* ---- Footer ---- */
.site-footer { background: #1a0a0d; color: rgba(255,255,255,0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}
.footer-heading { color: #fff; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-subscribe-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); display: block; margin-bottom: 0.4rem; }
.footer-subscribe-note { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem; }
.footer-subscribe-form { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-subscribe-form input {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.875rem;
}
.footer-subscribe-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-subscribe-btn { font-size: 0.85rem; padding: 0.55rem; }

.footer-disclaimer {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.footer-disclaimer p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 0.4rem; }
.footer-disclaimer a { color: rgba(255,255,255,0.65); text-decoration: underline; }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
}
.footer-bottom-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: #fff; }
.footer-logo-dot { color: var(--secondary); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-copy a { color: rgba(255,255,255,0.65); }

/* ---- Popular posts section ---- */
.popular-posts { background: #fff; }
.popular-posts-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; gap: 2rem; }
.popular-posts-header-right { max-width: 400px; font-size: 0.9rem; color: var(--muted); }

/* ---- About / Contact pages ---- */
.about-content, .contact-content { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; max-width: 800px; margin: 0 auto; }
.about-content h2, .contact-content h2 { font-size: 1.4rem; color: var(--primary); margin: 1.75rem 0 0.75rem; }
.about-content h2:first-child, .contact-content h2:first-child { margin-top: 0; }
.about-content p, .contact-content p { margin-bottom: 1rem; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.form-group textarea { resize: vertical; min-height: 140px; }

/* Privacy / Terms */
.legal-content { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.2rem; color: var(--primary); margin: 1.75rem 0 0.5rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 0.75rem; color: var(--text); font-size: 0.9rem; }
.legal-content ul { padding-left: 1.2rem; margin-bottom: 0.75rem; }
.legal-content ul li { list-style: disc; font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--text); }

/* ---- IBS vs IBD section ---- */
.ibs-vs-ibd-section { background: var(--bg); }
.ibs-ibd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.ibs-ibd-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ibs-ibd-card--ibs { border-top-color: var(--primary); }
.ibs-ibd-card--ibd { border-top-color: #dc2626; }
.ibs-ibd-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}
.ibs-ibd-card-header h3 { font-size: 1.05rem; margin: 0; }
.ibs-ibd-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.ibs-ibd-badge--ibs { background: var(--primary); color: #fff; }
.ibs-ibd-badge--ibd { background: #dc2626; color: #fff; }
.ibs-ibd-list {
  padding: 0.75rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ibs-ibd-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.875rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  list-style: none;
}
.ibs-ibd-list li:last-child { border-bottom: none; }
.ibs-ibd-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  min-width: 90px;
  flex-shrink: 0;
}
.ibs-ibd-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #78350f;
}
.ibs-ibd-note strong { color: #92400e; }
.ibs-ibd-note a.btn { color: #fff; text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .ibs-types-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem; gap: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .nav-menu.is-open { display: flex; }
  .nav-menu > li > a { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--bg); width: 100%; }
  .nav-dropdown { display: none !important; position: static; box-shadow: none; border: none; padding: 0 0 0 1rem; }
  .nav-has-dropdown.is-open .nav-dropdown { display: block !important; }
  .nav-hamburger { display: flex; }
  .nav-actions .nav-cta-btn { display: none; }
  .site-header { position: relative; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .overview-body { grid-template-columns: 1fr; }
  .overview-image { display: none; }
  .ireland-split { grid-template-columns: 1fr; }
  .ireland-split img { display: none; }
  .post-grid { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .newsletter-strip .container { grid-template-columns: 1fr; }
  .post-cards-row { grid-template-columns: repeat(2, 1fr); }
  .tb-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ireland-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .top-bar-note { display: none; }
  .ibs-types-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-cards-grid { grid-template-columns: 1fr; }
  .articles-masonry { grid-template-columns: 1fr; }
  .post-cards-row { grid-template-columns: 1fr; }
  .tb-grid-2, .tb-grid-3 { grid-template-columns: 1fr; }
  .popular-posts-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .ireland-stats { grid-template-columns: repeat(2, 1fr); }
  .post-content { padding: 1.5rem; }
  .ibs-types-grid { grid-template-columns: 1fr 1fr; }
  .ibs-ibd-grid { grid-template-columns: 1fr; }
}

.rp-hero { background: var(--primary); color: #fff; padding: 3rem 0 2.5rem; text-align: center; }
.rp-hero__heading { font-size: clamp(1.6rem,3.5vw,2.4rem); margin: 0.25rem 0 0.75rem; color: #fff; }
.rp-hero__sub { font-size: 1rem; opacity: 0.85; max-width: 560px; margin: 0 auto; line-height: 1.6; }
.rp-section { padding-top: 3rem; padding-bottom: 3rem; }
.rp-category { margin-bottom: 3.5rem; }
.rp-category__header { margin-bottom: 1.5rem; }
.rp-category__title { font-size: 1.3rem; color: var(--primary); margin-bottom: 0.4rem; }
.rp-category__desc { font-size: 0.9rem; color: var(--muted); max-width: 680px; line-height: 1.6; }
.rp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.rp-grid--two { grid-template-columns: repeat(2,1fr); }
.rp-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.rp-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.rp-card__img-wrap { position: relative; background: #f8f8f6; aspect-ratio: 1/1; overflow: hidden; }
.rp-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-card__badge { position: absolute; top: 0.6rem; left: 0.6rem; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 0.2rem 0.55rem; border-radius: 3px; }
.rp-card__body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.rp-card__brand { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 0.2rem; }
.rp-card__title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; line-height: 1.3; }
.rp-card__title a { color: var(--heading); text-decoration: none; }
.rp-card__title a:hover { color: var(--primary); }
.rp-card__rating { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.5rem; }
.rp-card__desc { font-size: 0.85rem; color: var(--text); line-height: 1.5; margin-bottom: 0.75rem; flex: 1; }
.rp-card__price { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.rp-card__btn { display: inline-block; background: var(--primary); color: #fff !important; font-size: 0.82rem; font-weight: 700; padding: 0.55rem 1rem; border-radius: var(--radius); text-decoration: none; text-align: center; transition: opacity .2s; }
.rp-card__btn:hover { opacity: .85; }
.rp-card__disclosure { font-size: 0.72rem; color: var(--muted); margin-top: 0.4rem; }
@media (max-width: 900px) { .rp-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .rp-grid, .rp-grid--two { grid-template-columns: 1fr; } }
.pd-hero { background: var(--surface,#f5f0eb); padding: 1rem 0; border-bottom: 1px solid var(--border); }
.pd-breadcrumb ol { display:flex; flex-wrap:wrap; gap:0.35rem; list-style:none; margin:0; padding:0; font-size:0.8rem; color:var(--muted); }
.pd-breadcrumb li + li::before { content:'›'; margin-right:0.35rem; }
.pd-breadcrumb a { color:var(--muted); text-decoration:none; }
.pd-breadcrumb a:hover { color:var(--primary); }
.pd-section { padding: 2.5rem 0; }
.pd-grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.pd-main-img-wrap { border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; aspect-ratio:1/1; background:#fafaf8; }
.pd-main-img { width:100%; height:100%; object-fit:contain; padding:1rem; display:block; }
.pd-thumbs { display:flex; gap:0.6rem; margin-top:0.75rem; }
.pd-thumb { width:72px; height:72px; object-fit:contain; border:2px solid var(--border); border-radius:6px; cursor:pointer; padding:4px; background:#fafaf8; transition:border-color .2s; }
.pd-thumb.active, .pd-thumb:hover { border-color:var(--primary); }
.pd-brand { font-size:0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); margin-bottom:0.2rem; }
.pd-title { font-size:1.5rem; font-weight:700; line-height:1.25; margin-bottom:0.6rem; color:var(--heading); }
.pd-rating { display:flex; align-items:center; gap:0.6rem; margin-bottom:0.9rem; font-size:0.85rem; }
.pd-stars { font-weight:700; }
.pd-review-count { color:var(--muted); }
.pd-price-row { display:flex; align-items:baseline; gap:0.75rem; margin-bottom:1rem; }
.pd-price { font-size:1.6rem; font-weight:700; color:var(--primary); }
.pd-price-note { font-size:0.8rem; color:var(--muted); }
.pd-quick-facts { list-style:none; padding:0; margin:0 0 1.25rem; display:flex; flex-direction:column; gap:0.35rem; }
.pd-quick-facts li { font-size:0.875rem; color:var(--text); }
.pd-btn-buy { display:inline-block; background:var(--primary); color:#fff !important; font-weight:700; font-size:1rem; padding:0.8rem 1.75rem; border-radius:var(--radius); text-decoration:none; transition:opacity .2s; margin-bottom:0.5rem; }
.pd-btn-buy:hover { opacity:.85; }
.pd-disclosure { font-size:0.75rem; color:var(--muted); margin-top:0.25rem; }
.pd-tabs-section { border-top:1px solid var(--border); padding:2rem 0 3rem; }
.pd-tab-bar { display:flex; gap:0; border-bottom:2px solid var(--border); margin-bottom:1.75rem; flex-wrap:wrap; }
.pd-tab-btn { background:none; border:none; padding:0.65rem 1.25rem; font-size:0.875rem; font-weight:600; color:var(--muted); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; transition:color .15s,border-color .15s; }
.pd-tab-btn.is-active { color:var(--primary); border-bottom-color:var(--primary); }
.pd-tab-panel { display:none; }
.pd-tab-panel.is-active { display:block; }
.pd-tab-panel h2 { font-size:1.15rem; margin-bottom:0.75rem; color:var(--primary); }
.pd-inline-cta { background:var(--surface,#f5f0eb); border-radius:var(--radius); padding:1.1rem 1.25rem; margin-top:1.5rem; display:flex; flex-wrap:wrap; align-items:center; gap:0.75rem; }
.pd-inline-cta__text { flex:1; font-size:0.875rem; color:var(--muted); margin:0; }
.pd-pros-cons { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin-top:0.5rem; }
.pd-pros { background:#f0faf4; border-radius:var(--radius); padding:1.1rem 1.25rem; }
.pd-cons { background:#fff8f0; border-radius:var(--radius); padding:1.1rem 1.25rem; }
.pd-pros__heading { font-size:0.9rem; font-weight:700; color:#166534; margin-bottom:0.6rem; }
.pd-cons__heading { font-size:0.9rem; font-weight:700; color:#92400e; margin-bottom:0.6rem; }
.pd-pros__list, .pd-cons__list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0.5rem; font-size:0.85rem; line-height:1.5; }
.pd-spec-list { list-style:none; padding:0; margin:0; }
.pd-spec-list li { display:grid; grid-template-columns:180px 1fr; gap:1rem; padding:0.6rem 0; border-bottom:1px solid var(--border); font-size:0.875rem; }
.pd-spec-label { font-weight:600; color:var(--muted); }
.pd-spec-value { color:var(--text); }
.pd-faq-section { background:var(--surface,#f5f0eb); padding:2.5rem 0; }
.pd-faq-inner { max-width:760px; }
.pd-related { padding:2.5rem 0; }
.pd-related__heading { font-size:1.1rem; font-weight:700; margin-bottom:1.25rem; }
.pd-related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
@media (max-width:860px) {
  .pd-grid { grid-template-columns:1fr; gap:1.75rem; }
  .pd-pros-cons { grid-template-columns:1fr; }
  .pd-related-grid { grid-template-columns:repeat(2,1fr); }
  .pd-spec-list li { grid-template-columns:140px 1fr; }
}
@media (max-width:560px) {
  .pd-related-grid { grid-template-columns:1fr; }
  .pd-tab-btn { font-size:0.8rem; padding:0.55rem 0.9rem; }
}

/* ── Bot callout include ─────────────────────────────────────── */
.bot-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface, #f5f0eb);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 2rem 0;
}
.bot-callout__icon { font-size: 1.75rem; flex-shrink: 0; }
.bot-callout__body { flex: 1; }
.bot-callout__heading { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.bot-callout__text { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.5; }
.bot-callout__btn { white-space: nowrap; flex-shrink: 0; font-size: 0.875rem; padding: 0.6rem 1.1rem; color: #fff !important; }
@media (max-width: 600px) {
  .bot-callout { flex-wrap: wrap; }
  .bot-callout__btn { width: 100%; text-align: center; }
}
