/* =========================================================================
   Opportunity Rwanda — public design system
   ========================================================================= */

:root {
  --primary: #0b2545;
  --primary-600: #123a66;
  --primary-700: #081b36;
  --accent-blue: #0e7cba;
  --accent-sky: #00a1de;
  --accent-yellow: #f5b301;
  --accent-green: #157347;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-alt: #eef4fa;
  --text: #172033;
  --muted: #5f6b7c;
  --border: #dde6f0;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, .06);
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .14);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p { margin-bottom: 1rem; }
a { color: var(--accent-blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
.container { max-width: var(--container); }
.site-main { flex: 1 0 auto; }
:focus-visible { outline: 3px solid var(--accent-sky); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--accent-yellow);
  color: var(--primary);
  padding: .6rem 1rem;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header ----------------------------------------------------------------- */
.topbar {
  background: var(--primary);
  color: #cfe0f3;
  font-size: .8rem;
  padding: .45rem 0;
}
.topbar a { color: #eaf3fb; }
.topbar a:hover { color: var(--accent-yellow); }
.site-header { position: sticky; top: 0; z-index: 1040; }
.navbar {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(11, 37, 69, .07);
  padding: .65rem 0;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--primary) !important;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
}
.navbar-brand img { width: 38px; height: 38px; }
.navbar .nav-link {
  color: #33415a !important;
  font-weight: 500;
  font-size: .94rem;
  padding: .55rem .75rem !important;
  border-radius: 8px;
}
.navbar .nav-link:hover { color: var(--accent-blue) !important; background: var(--surface-alt); }
.navbar .nav-link.active { color: var(--accent-blue) !important; background: #e8f4fc; }
.btn-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--primary);
  background: #fff;
}
.btn-icon:hover { background: var(--surface-alt); color: var(--accent-blue); }
.nav-actions { flex-wrap: wrap; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  border-radius: 10px;
  font-weight: 600;
  padding: .55rem 1.05rem;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { border-radius: 9px; padding: .38rem .8rem; font-size: .84rem; }
.btn-lg { border-radius: 12px; padding: .8rem 1.5rem; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--accent-blue); border-color: var(--accent-blue); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }
.btn-warning { background: var(--accent-yellow); border-color: var(--accent-yellow); color: #201900; }
.btn-warning:hover { background: #ffc62b; border-color: #ffc62b; color: #201900; }
.btn-success { background: var(--accent-green); border-color: var(--accent-green); }
.btn-outline-secondary { border-color: #b9c6d8; color: #44526a; }
.btn-outline-secondary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--primary); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 161, 222, .38), transparent 42%),
    radial-gradient(circle at 12% 92%, rgba(245, 179, 1, .16), transparent 38%),
    linear-gradient(135deg, #081b36 0%, #0b2545 55%, #123f6b 100%);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
}
.hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -200px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  pointer-events: none;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -.02em; max-width: 15ch; }
.hero .lead { color: #d7e6f5; font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 54ch; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #d9ecfb;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-search {
  background: #fff;
  border-radius: 14px;
  padding: .45rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
  display: flex;
  gap: .35rem;
  align-items: stretch;
  max-width: 760px;
  margin-top: 1.5rem;
}
.hero-search .hero-field {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 .75rem;
  flex: 1 1 190px;
  min-width: 0;
}
.hero-search .hero-field i { color: #7d8aa0; }
.hero-search .form-control,
.hero-search .form-select {
  border: 0;
  box-shadow: none;
  padding-left: 0;
  background-color: transparent;
  color: #172033;
  min-width: 0;
}
.hero-search .form-select { max-width: 160px; }
.hero-search .btn { white-space: nowrap; padding-left: 1.6rem; padding-right: 1.6rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 3rem); margin-top: 2rem; }
.hero-stats .stat-value { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; line-height: 1; color: #fff; }
.hero-stats .stat-label { font-size: .78rem; color: #b9d0e6; text-transform: uppercase; letter-spacing: .05em; margin-top: .3rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.hero-chip {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #eaf4fd;
  border-radius: 999px;
  padding: .32rem .9rem;
  font-size: .8rem;
}
.hero-chip:hover { background: #fff; color: var(--primary); }
.hero-panel {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 1.15rem;
  backdrop-filter: blur(8px);
}
.hero-panel-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #a9c6e2; margin-bottom: .8rem; }
.hero-mini {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  margin-bottom: .5rem;
  color: #fff;
}
.hero-mini:last-child { margin-bottom: 0; }
.hero-mini:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.hero-mini .mini-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(0, 161, 222, .28);
  color: #bfe9ff;
}
.hero-mini .mini-title { font-size: .86rem; font-weight: 600; line-height: 1.35; }
.hero-mini .mini-meta { font-size: .72rem; color: #b7cde3; }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-sm { padding: 2rem 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .25rem 0 0; color: var(--muted); }
.section-kicker {
  color: var(--accent-blue);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .35rem;
}
.section-title { text-align: center; margin-bottom: .4rem; }
.section-title::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: var(--accent-yellow);
  margin: .8rem auto 0;
  border-radius: 3px;
}

/* Cards ------------------------------------------------------------------ */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
a.card, .card.hover-lift { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover, .card.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d8ea; }
.card-body { padding: 1.4rem; }
.cat-card {
  display: block;
  color: var(--text);
  height: 100%;
  padding: 1.25rem .75rem;
  text-align: center;
}
.cat-card:hover { color: var(--text); }
.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto .75rem;
  background: #e7f4fc;
  color: var(--accent-blue);
  font-size: 1.15rem;
  transition: background .2s ease, color .2s ease;
}
.cat-card:hover .cat-icon { background: var(--accent-blue); color: #fff; }
.cat-name { font-weight: 600; font-size: .94rem; }
.cat-count { color: var(--muted); font-size: .78rem; }

.opp-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.opp-media {
  height: 150px;
  background: linear-gradient(135deg, #10345b, #0e7cba);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .9);
  font-size: 2.1rem;
  position: relative;
  overflow: hidden;
}
.opp-media img { width: 100%; height: 100%; object-fit: cover; }
.opp-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 20, 40, .3));
}
.opp-card .card-body { display: flex; flex-direction: column; flex: 1; }
.opp-title { font-size: 1.06rem; margin: .55rem 0 .4rem; line-height: 1.4; }
.opp-title a { color: var(--primary); }
.opp-title a:hover { color: var(--accent-blue); }
.opp-meta { color: var(--muted); font-size: .82rem; display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-bottom: .6rem; }
.opp-meta i { color: #8393a8; width: 15px; }
.opp-excerpt { color: #4b5a70; font-size: .89rem; margin-bottom: 1rem; }
.opp-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .9rem; border-top: 1px solid var(--border); }
.opp-deadline { font-size: .76rem; color: var(--muted); }
.opp-deadline strong { color: var(--text); }
.opp-deadline.closing { color: #b45309; }
.opp-deadline.expired { color: #b02a37; }
.opp-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-alt); display: grid; place-items: center; color: var(--primary); flex: 0 0 34px; }
.opp-card:hover .opp-arrow { background: var(--primary); color: #fff; }

.badge-cat {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #e8f4fc;
  color: #0b5f8f;
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.badge-soft { background: #eef4fa; color: #43536c; border-radius: 999px; padding: .28rem .7rem; font-size: .72rem; font-weight: 600; }
.badge-soft.success { background: #e6f5ec; color: #11643b; }
.badge-soft.warning { background: #fff4d6; color: #8a5a00; }
.badge-soft.danger { background: #fdecee; color: #a01d2c; }

/* Banner / page header --------------------------------------------------- */
.page-banner {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(0, 161, 222, .42), transparent 45%),
    linear-gradient(135deg, #0b2545, #123f6b);
  margin-bottom: 1.75rem;
}
.page-banner h1 { color: #fff; margin-bottom: .35rem; }
.page-banner p { color: #cfe2f3; margin: 0; }
.page-banner .breadcrumb { margin-bottom: .75rem; }
.page-banner .breadcrumb a, .page-banner .breadcrumb-item.active { color: #cfe2f3 !important; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #8fb3d4; }

/* Filters ---------------------------------------------------------------- */
.filter-card { position: sticky; top: 96px; }
.filter-card .form-label { font-size: .8rem; font-weight: 600; color: #3d4c63; margin-bottom: .3rem; }
.filter-card .form-control, .filter-card .form-select { font-size: .9rem; }
.filter-summary { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #e8f4fc;
  color: #0b5f8f;
  border-radius: 999px;
  padding: .25rem .7rem;
  font-size: .76rem;
  font-weight: 600;
}

/* Forms ------------------------------------------------------------------ */
.form-label { font-weight: 600; font-size: .88rem; color: #35435a; margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1px solid #cfdae7;
  border-radius: 10px;
  padding: .62rem .85rem;
  font-size: .95rem;
  color: var(--text);
  background-color: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent-sky);
  box-shadow: 0 0 0 4px rgba(0, 161, 222, .12);
}
textarea.form-control { min-height: 120px; }
.form-text { color: var(--muted); font-size: .8rem; }
.form-check-input:checked { background-color: var(--accent-blue); border-color: var(--accent-blue); }
.input-group-text { background: var(--surface-alt); border-color: #cfdae7; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; width: 0 !important; }

/* Detail page ------------------------------------------------------------ */
.detail-title { margin-bottom: .5rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
.detail-hero {
  height: clamp(180px, 30vw, 320px);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #10345b, #0e7cba);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; }
.fact { background: var(--surface-alt); border-radius: 12px; padding: .85rem 1rem; }
.fact-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.fact-value { font-weight: 600; color: var(--text); font-size: .93rem; word-break: break-word; }
.detail-tabs .nav-link {
  color: #495a72;
  font-weight: 600;
  font-size: .88rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: .7rem 1rem;
}
.detail-tabs .nav-link.active { color: var(--accent-blue); background: transparent; border-bottom-color: var(--accent-blue); }
.detail-content { padding: 1.4rem 0; color: #35435a; line-height: 1.8; }
.detail-content h2, .detail-content h3 { margin-top: 1.4rem; }
.detail-content ul, .detail-content ol { padding-left: 1.25rem; }
.sticky-sidebar { position: sticky; top: 96px; }
.apply-card { border-top: 4px solid var(--accent-yellow); }
.apply-note { font-size: .78rem; color: var(--muted); }
.share-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-alt);
  color: var(--primary);
  border: 1px solid var(--border);
}
.share-btn:hover { background: var(--primary); color: #fff; }
.verified-note { background: #e8f6ee; border: 1px solid #c7e8d5; border-radius: 12px; padding: .8rem .9rem; font-size: .82rem; color: #14563a; }

/* Prose / legal ---------------------------------------------------------- */
.prose { color: #35435a; line-height: 1.8; }
.prose h2 { margin-top: 2rem; font-size: 1.35rem; }
.prose h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.prose ul { padding-left: 1.2rem; }
.prose .lead { color: #4b5a70; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; align-items: start; }
.legal-toc { position: sticky; top: 96px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.legal-toc a { display: block; padding: .32rem .5rem; border-radius: 7px; font-size: .84rem; color: #46566e; }
.legal-toc a:hover { background: var(--surface-alt); color: var(--primary); }
.legal-meta { background: var(--surface-alt); border-radius: 10px; padding: .7rem 1rem; font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }

/* Empty state ------------------------------------------------------------ */
.empty-state { text-align: center; padding: clamp(2rem, 5vw, 4rem) 1rem; color: var(--muted); }
.empty-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  background: #e8f4fc;
  color: var(--accent-blue);
  font-size: 1.5rem;
}
.empty-state h2, .empty-state h3, .empty-state h4 { color: var(--primary); }

/* CTA -------------------------------------------------------------------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 90% 20%, rgba(245, 179, 1, .22), transparent 42%),
    linear-gradient(135deg, #0b2545, #123f6b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: #cfe2f3; margin: 0; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--primary); color: #dbe8f5; margin-top: 3rem; }
.site-footer h6 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.12rem; margin-bottom: .7rem; }
.footer-brand:hover { color: #fff; }
.footer-tagline { color: #9fc0dd; font-size: .9rem; margin-bottom: .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: #b9cee2; font-size: .87rem; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #dbe8f5; }
.footer-social a:hover { background: var(--accent-yellow); color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .13); padding: 1.1rem 0 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: #a9c3da; }
.footer-legal { list-style: none; display: flex; gap: 1rem; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-legal a { color: #a9c3da; }
.footer-legal a:hover { color: #fff; }
.newsletter-form .form-control { min-height: 44px; }
.newsletter-form .consent { display: flex; align-items: flex-start; gap: .45rem; line-height: 1.45; }
.newsletter-form .consent input { margin-top: .2rem; }
.newsletter-form a { color: #fff; text-decoration: underline; }

/* Misc ------------------------------------------------------------------- */
.breadcrumb { --bs-breadcrumb-divider-color: #8a9bb1; font-size: .82rem; }
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 1035;
  box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-2px); background: var(--accent-blue); }
.cookie-card {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 430px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  display: none;
  gap: .8rem;
  z-index: 1060;
}
.cookie-card.show { display: flex; }
.cookie-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: #fff4d6; color: #8a5a00; display: grid; place-items: center; }
.chip-light { background: var(--surface-alt); color: #3e4d63; border-radius: 999px; padding: .35rem .9rem; font-size: .8rem; }
.chip-light:hover { background: var(--primary); color: #fff; }
.ad-slot { background: #fff; border: 1px dashed #c9d6e4; border-radius: var(--radius); padding: .6rem; text-align: center; min-height: 90px; }
.ad-label { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: #94a3b8; margin-bottom: .3rem; }
.alert { border-radius: 12px; border: 0; font-size: .9rem; }
.pagination { gap: .15rem; }
.pagination .page-link { border: 1px solid var(--border); border-radius: 9px !important; color: var(--primary); font-size: .86rem; min-width: 36px; text-align: center; }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .page-item.disabled .page-link { opacity: .45; }
.accordion-button { font-weight: 600; color: var(--primary); font-size: .95rem; }
.accordion-button:not(.collapsed) { background: #e8f4fc; color: var(--primary); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--border); }
.ratio iframe { border: 0; }
.text-muted { color: var(--muted) !important; }
.table { --bs-table-border-color: var(--border); }

/* Stats band ------------------------------------------------------------- */
.trust-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.trust-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; display: flex; gap: .85rem; align-items: flex-start; }
.trust-icon { width: 42px; height: 42px; border-radius: 11px; background: #e7f4fc; color: var(--accent-blue); display: grid; place-items: center; flex: 0 0 42px; }
.trust-item h3 { font-size: .95rem; margin: 0 0 .2rem; }
.trust-item p { font-size: .82rem; color: var(--muted); margin: 0; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero-search .form-select { max-width: 130px; }
}
@media (max-width: 991.98px) {
  .navbar .nav-link { padding: .7rem .6rem !important; }
  .nav-actions { margin-top: .75rem; }
  .filter-card, .sticky-sidebar { position: static; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .hero { padding: 2rem 1.35rem; }
  .hero-search { flex-direction: column; padding: .7rem; }
  .hero-search .hero-field { flex: 1 1 auto; border: 1px solid var(--border); border-radius: 9px; padding: .35rem .7rem; }
  .hero-search .form-select { max-width: none; }
  .hero-search .btn { width: 100%; margin-top: .2rem; }
  .hero-panel { margin-top: 1.5rem; }
}
@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .section { padding: 2.25rem 0; }
  .hero h1 { max-width: none; }
  .hero-stats { gap: 1.25rem; }
  .hero-stats .stat-value { font-size: 1.5rem; }
  .cookie-card { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
  .footer-bottom { flex-direction: column; }
  .detail-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .detail-tabs .nav-link { white-space: nowrap; padding: .6rem .75rem; }
  .cta-band { text-align: center; justify-content: center; }
  .cta-band .btn { width: 100%; }
  .opp-footer { flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
  .hero { border-radius: 18px; margin-bottom: 1.5rem; }
  .hero-search .hero-field { padding: .25rem .55rem; }
  .category-grid .col-6 { width: 50%; }
  .navbar-brand span { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
