/* ═══════════════════════════════════════════════════════════════
   SLCUK SEO CONTENT PAGES - design system
   Mirrors suppliers.aspx: same tokens, same hero, same trust strip,
   same card language, so these pages read as part of the site rather
   than as bolt-ons.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --sl-navy:       #1f1a5e;
  --sl-navy-mid:   #2d2782;
  --sl-blue:       #1E70B7;
  --sl-blue-light: #e8f2fb;
  --sl-cta:        #D5317B;
  --sl-cta-hover:  #b8255e;
  --sl-yellow:     #FFD700;
  --sl-bg:         #f2f5fa;
  --sl-outline:    rgba(31,26,94,0.12);
  --sl-outline-md: rgba(31,26,94,0.22);
  --sl-radius:     14px;
  --sl-shadow:     0 2px 8px rgba(31,26,94,0.08), 0 8px 24px rgba(31,26,94,0.05);
}

/* Same master-chrome overrides suppliers.aspx uses, so these pages sit the
   same way in the template. */
.sticky { position: relative !important; height: auto !important; }
header  { min-height: auto !important; }
#bottom { display: none !important; }

/* ── HERO ─────────────────────────────────────────────── */
.co-hero {
  background: linear-gradient(135deg, #1f1a5e 0%, #2d2782 40%, #1E70B7 100%);
  padding: 3rem 5vw 2.5rem;
  position: relative; overflow: hidden;
}
.co-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 95% 50%, rgba(255,215,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.co-hero__inner { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; }
.co-hero__eyebrow {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--sl-yellow);
  margin-bottom: 8px; display: block;
}
.co-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 10px;
}
.co-hero__sub { font-size: 1rem; color: #fff; max-width: 640px; line-height: 1.6; }
.co-hero__meta { font-size: 0.75rem; color: rgba(255,255,255,0.72); margin-top: 12px; }

/* ── TRUST STRIP ──────────────────────────────────────── */
.co-trust {
  background: linear-gradient(135deg, var(--sl-navy) 0%, var(--sl-blue) 100%);
  padding: 2rem 5vw;
}
.co-trust__inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2rem;
}
.co-trust__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 600; color: #fff;
}
.co-trust__item svg { width: 18px; height: 18px; fill: none; stroke: var(--sl-yellow); stroke-width: 2; flex-shrink: 0; }

/* ── BODY ─────────────────────────────────────────────── */
.co-body { background: var(--sl-bg); padding: 3rem 5vw 5rem; }
.co-body__inner { max-width: 880px; margin: 0 auto; }

/* ── SECTION HEADING ──────────────────────────────────── */
.co-heading {
  font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700;
  color: var(--sl-navy); margin: 2.5rem 0 1.1rem;
  display: flex; align-items: center; gap: 10px;
}
.co-heading::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--sl-outline), transparent);
}

/* ── ARTICLE PROSE ────────────────────────────────────── */
.co-prose { color: #2a2550; font-size: 1rem; line-height: 1.7; }
.co-prose p { margin-bottom: 1rem; }
.co-prose h3 { font-size: 1.05rem; font-weight: 700; color: var(--sl-navy); margin: 1.7rem 0 0.5rem; }
.co-prose ul, .co-prose ol { margin: 0.7rem 0 1.2rem 1.2rem; }
.co-prose li { margin-bottom: 0.5rem; }
.co-prose a { color: var(--sl-blue); text-decoration: underline; }
.co-prose strong { color: var(--sl-navy); }
.co-prose .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ── ANSWER CARD - the bit answer engines lift ─────────── */
.co-answer {
  background: #fff; border: 1px solid var(--sl-outline);
  border-left: 5px solid var(--sl-blue);
  border-radius: var(--sl-radius); box-shadow: var(--sl-shadow);
  padding: 1.4rem 1.5rem; margin: 0 0 1.8rem;
}
.co-answer h2 { font-size: 1.05rem; font-weight: 800; color: var(--sl-navy); margin-bottom: 0.55rem; }
.co-answer p:last-child { margin-bottom: 0; }

/* ── KEY-FACTS CARD ───────────────────────────────────── */
.co-facts {
  background: var(--sl-blue-light); border: 1px solid rgba(30,112,183,0.22);
  border-radius: var(--sl-radius); padding: 1.2rem 1.4rem; margin: 1.4rem 0;
}
.co-facts h2, .co-facts h3 { font-size: 0.95rem; font-weight: 800; color: var(--sl-navy); margin-bottom: 0.6rem; }
.co-facts ul { margin: 0 0 0 1.1rem; }
.co-facts li { margin-bottom: 0.4rem; }

/* ── TABLE ────────────────────────────────────────────── */
.co-table-wrap { overflow-x: auto; margin: 1.2rem 0 1.5rem; border-radius: var(--sl-radius); box-shadow: var(--sl-shadow); background: #fff; }
.co-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.co-table th, .co-table td { text-align: left; padding: 0.8rem 0.95rem; border-bottom: 1px solid var(--sl-outline); vertical-align: top; }
.co-table thead th, .co-table tr:first-child th { background: var(--sl-navy); color: #fff; font-weight: 700; border-bottom: 0; }
.co-table tr:last-child td { border-bottom: 0; }

/* ── CALLOUT ──────────────────────────────────────────── */
.co-callout {
  background: #fffaf0; border: 1px solid rgba(255,180,0,0.35);
  border-left: 5px solid var(--sl-yellow);
  border-radius: var(--sl-radius); padding: 1.1rem 1.3rem; margin: 1.4rem 0;
}
.co-callout p { margin: 0; }

/* ── START WIDGET - asks the wizard's own first question ─ */
.co-start {
  background: linear-gradient(135deg, var(--sl-navy) 0%, var(--sl-navy-mid) 60%, var(--sl-blue) 100%);
  border-radius: var(--sl-radius); box-shadow: var(--sl-shadow);
  padding: 1.6rem 1.5rem; margin: 1.8rem 0 2.2rem; color: #fff;
}
.co-start h2 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.co-start__sub { font-size: 0.92rem; color: rgba(255,255,255,0.85); margin-bottom: 1rem; line-height: 1.55; }
.co-start__opts { display: flex; gap: 12px; flex-wrap: wrap; }
.co-start__opts a {
  flex: 1 1 0; min-width: 160px; text-align: center;
  background: #fff; color: var(--sl-navy) !important; text-decoration: none;
  font-size: 0.92rem; font-weight: 700; border-radius: 10px; padding: 0.9rem 0.8rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.co-start__opts a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
.co-start__foot { font-size: 0.78rem; color: rgba(255,255,255,0.72); margin-top: 0.8rem; }

/* ── INLINE NUDGE ─────────────────────────────────────── */
.co-nudge {
  background: #fff; border: 1px solid var(--sl-outline);
  border-left: 5px solid var(--sl-cta); border-radius: var(--sl-radius);
  padding: 1rem 1.2rem; margin: 1.4rem 0; box-shadow: var(--sl-shadow);
}
.co-nudge p { margin: 0; font-size: 0.95rem; }
.co-nudge a { color: var(--sl-cta); font-weight: 700; text-decoration: underline; }

/* ── CTA BLOCK ────────────────────────────────────────── */
.co-cta {
  background: linear-gradient(135deg, var(--sl-navy) 0%, var(--sl-blue) 100%);
  border-radius: var(--sl-radius); box-shadow: var(--sl-shadow);
  padding: 2rem 1.5rem; margin: 2.6rem 0; text-align: center; color: #fff;
}
.co-cta h2 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
/* The CTA block is centred, so the section-heading rule must not apply here -
   it would left-align the heading and trail a line off it. */
.co-cta h2.co-heading { display: block; margin: 0 0 0.5rem; }
.co-cta h2.co-heading::after { content: none; }
.co-cta p { color: rgba(255,255,255,0.88); margin-bottom: 1.2rem; font-size: 0.95rem; }
.co-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sl-cta); color: #fff !important; text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 0.95rem 2.2rem; border-radius: 9px;
  transition: background 0.2s;
}
.co-cta a:hover { background: var(--sl-cta-hover); }
.co-cta a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ── FAQ ──────────────────────────────────────────────── */
.co-faq details {
  background: #fff; border: 1px solid var(--sl-outline);
  border-radius: var(--sl-radius); box-shadow: var(--sl-shadow);
  padding: 1rem 1.2rem; margin-bottom: 0.75rem;
}
.co-faq summary {
  font-weight: 700; color: var(--sl-navy); cursor: pointer;
  list-style: none; font-size: 0.98rem; padding-right: 26px; position: relative;
}
.co-faq summary::-webkit-details-marker { display: none; }
.co-faq summary::after {
  content: "+"; position: absolute; right: 0; top: -2px;
  color: var(--sl-blue); font-weight: 700; font-size: 1.15rem;
}
.co-faq details[open] summary::after { content: "\2212"; }
.co-faq details p { margin: 0.7rem 0 0; font-size: 0.95rem; line-height: 1.65; }

/* ── RELATED + SOURCES ────────────────────────────────── */
.co-related {
  background: #fff; border: 1px solid var(--sl-outline); border-radius: var(--sl-radius);
  box-shadow: var(--sl-shadow); padding: 1.2rem 1.4rem; margin: 2.2rem 0 0;
}
.co-related h2 { font-size: 1rem; font-weight: 800; color: var(--sl-navy); margin-bottom: 0.6rem; }
.co-related ul { margin: 0 0 0 1.1rem; }
.co-related a { color: var(--sl-blue); text-decoration: underline; }

.co-sources { font-size: 0.82rem; color: #55516f; border-top: 1px solid var(--sl-outline); margin-top: 2.4rem; padding-top: 1.1rem; }
.co-sources li { margin-bottom: 0.35rem; }
.co-sources a { color: var(--sl-blue); }

/* ── STICKY BAR (phones) ──────────────────────────────── */
.co-sticky {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--sl-navy);
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 18px rgba(0,0,0,0.22);
}
.co-sticky.is-on { display: block; }
.co-sticky a {
  display: block; background: var(--sl-cta); color: #fff !important; text-decoration: none;
  text-align: center; font-weight: 700; font-size: 0.95rem; padding: 0.85rem; border-radius: 9px;
}
.co-sticky .co-sticky__dismiss {
  position: absolute; top: -13px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; color: var(--sl-navy); border: 0; font-size: 15px; line-height: 1; font-weight: 700;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 640px) {
  .co-hero { padding: 2.2rem 4vw 1.8rem; }
  .co-body { padding: 1.8rem 4vw 6rem; }
  .co-trust__inner { gap: 1rem; }
  .co-start__opts { flex-direction: column; }
  .co-start__opts a { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .co-start__opts a, .co-cta a { transition: none; }
}
