@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../vendor/fonts/plus-jakarta-sans-var.woff2") format("woff2");
}

:root {
  --primary: #0f6b3f;
  --primary-dark: #0a4a2b;
  --primary-950: #062a18;
  --primary-light: #e8f5ee;
  --gold: #c9a227;
  --gold-light: #e0c04a;
  --gold-soft: #f3e6bb;
  --ink: #17241c;
  --ink-soft: #55665c;
  --ink-faint: #8a988f;
  --border: #e6ece8;
  --heading-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Re-brand Bootstrap's own component variables (they ship baked-in blue,
     not references to --bs-primary, so each has to be overridden explicitly) */
  --bs-primary: var(--primary);
  --bs-primary-rgb: 15, 107, 63;
  --bs-link-color: var(--primary);
  --bs-link-color-rgb: 15, 107, 63;
  --bs-link-hover-color: var(--primary-dark);
  --bs-nav-pills-link-active-bg: var(--primary);
  --bs-pagination-active-bg: var(--primary);
  --bs-pagination-active-border-color: var(--primary);
  --bs-list-group-active-bg: var(--primary);
  --bs-list-group-active-border-color: var(--primary);
  --bs-dropdown-link-active-bg: var(--primary);
  --bs-progress-bar-bg: var(--primary);
}

html, body {
  /* clip (not hidden) - overflow:hidden on html/body silently breaks any
     position:sticky descendant (it becomes the sticky containing block
     instead of the viewport); clip suppresses the horizontal overflow
     without establishing that scroll container. */
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  padding-bottom: 62px; /* space for mobile bottom-nav */
  background: #fff;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn { font-family: var(--heading-font); }

img { max-width: 100%; height: auto; }
img.rounded-circle { aspect-ratio: 1 / 1; object-fit: cover; }

a { text-decoration: none; }

/* Bootstrap components re-declare their color variables locally (not via
   --bs-primary), so :root overrides don't cascade to them - override directly. */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background-color: var(--primary) !important; color: #fff !important; }
.pagination .page-item.active .page-link { background-color: var(--primary) !important; border-color: var(--primary) !important; }
.page-link { color: var(--primary); }
.page-link:hover { color: var(--primary-dark); }

/* Elegant, reusable pagination (Berita, Prestasi, Pengumuman, Agenda, Download) */
.pagination-summary { font-weight: 500; }
.site-pagination .pagination { gap: 0.4rem; row-gap: 0.5rem; }
.site-pagination .page-item .page-link {
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 0.65rem;
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.site-pagination .page-item .page-link:hover {
  background: var(--primary-light);
  border-color: rgba(15, 107, 63, 0.25);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.site-pagination .page-item.active .page-link {
  background: linear-gradient(155deg, var(--primary), var(--primary-dark)) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 20px -10px rgba(6, 42, 24, 0.5);
  transform: translateY(-1px);
}
.site-pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
  background: transparent;
  transform: none;
  box-shadow: none;
}
.site-pagination .pagination-ellipsis .page-link {
  border-color: transparent;
  background: transparent;
  cursor: default;
  font-weight: 800;
}
.list-group-item.active { background-color: var(--primary) !important; border-color: var(--primary) !important; }
.dropdown-item.active, .dropdown-item:active { background-color: var(--primary) !important; color: #fff !important; }
.progress-bar { background-color: var(--primary) !important; }

.text-primary-custom { color: var(--primary) !important; }
.text-muted { color: var(--ink-soft) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-primary-dark { background-color: var(--primary-dark) !important; }
.bg-gold { background-color: var(--gold) !important; color: #fff; }
.btn {
  font-weight: 600;
  border-radius: 0.6rem;
  min-height: 46px;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}
.btn-primary-custom {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 107, 63, 0.28);
}
.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}
.btn-gold {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.32);
}
.btn-gold:hover {
  background-color: #a9871d;
  border-color: #a9871d;
  color: #fff;
}
.btn-outline-light { border-width: 1.5px; }

/* Topbar */
.topbar { font-size: 0.83rem; }
.topbar a { color: #fff; opacity: 0.85; transition: opacity .15s; }
.topbar a:hover { opacity: 1; }

/* Sticky navbar */
html { scroll-behavior: smooth; }
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 16px rgba(6, 42, 24, 0.07);
  transition: box-shadow 0.35s ease, padding 0.35s ease, background-color 0.35s ease;
}
.site-navbar.is-scrolled {
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  box-shadow: 0 6px 24px rgba(6, 42, 24, 0.14);
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: height 0.35s ease;
}
.site-navbar .navbar-brand i { transition: font-size 0.35s ease; }
.site-navbar.is-scrolled .navbar-brand img { height: 34px; }
.site-navbar.is-scrolled .navbar-brand i { font-size: 1.5rem !important; }
.site-navbar .navbar-brand { font-family: var(--heading-font); font-weight: 800; letter-spacing: -0.01em; }
.site-navbar .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 0.5rem;
  padding-left: 0.85rem !important;
  padding-right: 0.85rem !important;
}
.site-navbar .nav-link:hover { color: var(--primary); background: var(--primary-light); }
.site-navbar .nav-link.active {
  color: var(--primary) !important;
  font-weight: 700;
  background: var(--primary-light);
}
.site-navbar .dropdown-menu { border: 1px solid var(--border); box-shadow: 0 12px 28px rgba(6,42,24,0.12); border-radius: 0.75rem; }
.site-navbar .dropdown-item { font-weight: 500; padding: 0.55rem 1rem; border-radius: 0.5rem; margin: 0 0.25rem; width: calc(100% - 0.5rem); }
.site-navbar .dropdown-item:hover { background: var(--primary-light); color: var(--primary-dark); }

/* Back-to-top floating button */
.back-to-top {
  position: fixed;
  left: 16px;
  bottom: 72px;
  z-index: 1049;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(6,42,24,0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: #fff; }
@media (min-width: 768px) {
  .back-to-top { bottom: 24px; left: 24px; }
}

/* Section kicker + title */
.section-kicker {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--heading-font);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.015em;
  position: relative;
  padding-bottom: 0.65rem;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}
.section-title.text-center::after { left: 50%; transform: translateX(-50%); }
.section-head { max-width: 620px; }
.section-head.mx-auto { text-align: center; }

/* Cards */
.card-elevated {
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  box-shadow: 0 1px 2px rgba(6,42,24,0.04), 0 10px 24px -10px rgba(6,42,24,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color .25s ease;
}
.card-elevated:hover {
  transform: translateY(-5px);
  box-shadow: 0 1px 2px rgba(6,42,24,0.04), 0 20px 36px -12px rgba(6,42,24,0.18);
  border-color: rgba(15,107,63,0.18);
}

/* Icon badge (used for program/ekskul/fasilitas cards) */
.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin: 0 auto 0.9rem;
  background: linear-gradient(155deg, var(--primary-light), #fff);
  color: var(--primary);
  border: 1px solid rgba(15,107,63,0.12);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.card-elevated:hover .icon-badge {
  background: linear-gradient(155deg, var(--primary), var(--primary-dark));
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.icon-badge-sm { width: 44px; height: 44px; border-radius: 0.75rem; font-size: 1.15rem; margin-bottom: 0.6rem; }

/* Ekstrakurikuler cards: floating icon badge overlapping the image edge.
   The badge is a sibling of the (overflow:hidden) media wrapper - not a
   child of it - positioned against the card itself, so the circle never
   gets sliced off by the image's clipping box. */
.ekskul-card { position: relative; overflow: visible; }
.ekskul-card-media { position: relative; overflow: hidden; border-radius: 1.1rem 1.1rem 0 0; }
.ekskul-card-media img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.45s ease; }
.card-elevated:hover .ekskul-card-media img { transform: scale(1.07); }
.ekskul-card-icon {
  position: absolute;
  left: 1.35rem;
  top: 174px; /* media height (200px) minus half the badge (26px) */
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 10px 22px -8px rgba(6, 42, 24, 0.5);
  border: 3px solid #fff;
  transition: transform 0.25s ease;
}
.card-elevated:hover .ekskul-card-icon { transform: scale(1.08) rotate(-4deg); }
.ekskul-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.65;
  min-height: calc(1.65em * 3);
}
.ekskul-coach-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-top: 0.85rem;
}
.ekskul-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid rgba(15, 107, 63, 0.14);
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

/* Organizational chart: hierarchy levels connected top-to-bottom with a
   central trunk line + node dot, each level holding its members in one
   card so the layout stays clean even when a level has many people. */
.org-chart { display: flex; flex-direction: column; align-items: center; padding: 0.5rem 0 1rem; }
.org-connector { display: flex; justify-content: center; height: 34px; }
.org-connector-line {
  width: 2px;
  background: linear-gradient(var(--border), var(--primary));
  position: relative;
}
.org-connector-line::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.org-level-card {
  width: 100%;
  max-width: 860px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.35rem 1.6rem;
  box-shadow: 0 1px 2px rgba(6, 42, 24, 0.04), 0 10px 24px -12px rgba(6, 42, 24, 0.12);
}
.org-level-root {
  max-width: 300px;
  text-align: center;
  border: 1.5px solid var(--gold);
  background: linear-gradient(155deg, var(--primary-light), #fff);
}
.org-level-label {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1rem;
}
.org-level-members { display: flex; flex-wrap: wrap; gap: 1.15rem 1.5rem; justify-content: center; }
.org-member { width: 84px; text-align: center; }
.org-member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(6, 42, 24, 0.16);
  margin-bottom: 0.45rem;
}
.org-level-root .org-member-avatar { width: 88px; height: 88px; }
.org-member-name { font-size: 0.76rem; font-weight: 700; color: var(--ink); line-height: 1.3; }

/* Identity ("Identitas Madrasah") info cards */
.identity-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(6, 42, 24, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.identity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -14px rgba(6, 42, 24, 0.2);
  border-color: rgba(15, 107, 63, 0.2);
}
.identity-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(155deg, var(--primary-light), #fff);
  color: var(--primary);
  border: 1px solid rgba(15, 107, 63, 0.12);
}
.identity-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.identity-card-value { font-weight: 800; color: var(--ink); font-size: 1.02rem; line-height: 1.4; }
.identity-card-value-lg { font-size: 1.25rem; }
.identity-card-primary {
  background: linear-gradient(155deg, var(--primary-light), #fff);
  border-color: rgba(15, 107, 63, 0.18);
}
/* Kontak page math CAPTCHA */
.captcha-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--primary-light);
  border: 1px solid rgba(15, 107, 63, 0.16);
  border-radius: 1rem;
}
.captcha-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(155deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.captcha-body { flex: 1; min-width: 0; }
.captcha-question {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.captcha-question strong { color: var(--primary-dark); font-size: 1.05rem; }
.captcha-refresh-btn {
  border: 1px solid rgba(15, 107, 63, 0.25);
  background: #fff;
  color: var(--primary);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.captcha-refresh-btn:hover { background: var(--primary); color: #fff; }
.captcha-refresh-btn:disabled { opacity: 0.6; cursor: wait; }
.captcha-refresh-btn.spinning i { animation: captchaSpin 0.6s linear infinite; }
@keyframes captchaSpin { to { transform: rotate(360deg); } }
.captcha-input-row { position: relative; max-width: 220px; }
.captcha-input-row .form-control { padding-right: 2.5rem; }
.captcha-status-icon {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  pointer-events: none;
}

.identity-card-primary .identity-card-icon {
  background: linear-gradient(155deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  width: 58px;
  height: 58px;
  font-size: 1.5rem;
}

/* Stat block */
.stat-block { position: relative; }
.stat-block .stat-value { font-family: var(--heading-font); font-weight: 800; line-height: 1; }
.stat-block .stat-icon-ring {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--gold-light);
  font-size: 1.1rem;
}

/* Category / status pill */
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Announcement / list rows */
.list-elevated .list-group-item {
  border: 1px solid var(--border);
  border-radius: 0.85rem !important;
  margin-bottom: 0.6rem;
  padding: 1rem 1.15rem;
  transition: border-color .2s ease, background .2s ease;
}
.list-elevated .list-group-item:last-child { margin-bottom: 0; }
.list-elevated .list-group-item:hover { border-color: rgba(15,107,63,0.3); background: var(--primary-light); }

/* Bottom mobile navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 14px rgba(6,42,24,0.08);
}
.bottom-nav a {
  color: var(--ink-faint);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  padding: 0.4rem 0;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.bottom-nav a i { font-size: 1.25rem; margin-bottom: 2px; }
.bottom-nav a.active { color: var(--primary); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

@media (min-width: 768px) {
  .whatsapp-float { bottom: 24px; }
}

/* Gallery grid: 2 columns on mobile per spec */
.gallery-grid img { transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }

/* Touch targets */
.nav-link, .bottom-nav a, .form-control, .form-select {
  min-height: 44px;
}

/* Hero */
.hero-slide {
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(6,42,24,0.92) 0%, rgba(10,74,43,0.82) 45%, rgba(15,107,63,0.55) 100%);
}
.hero-slide .hero-content { position: relative; z-index: 2; color: #fff; }
.hero-slide .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 3; pointer-events: none; }
.hero-wave svg { width: 100%; height: 48px; display: block; }

/* The hero-content overlay (z-index:2) and wave divider (z-index:3) sit on
   top of Bootstrap's default carousel-control/indicator stacking (z-index
   1-2), so their full-width positioned boxes silently swallow clicks meant
   for the arrows/dots even where nothing is visibly drawn there. Force the
   real interactive controls above everything else in the slide. */
#heroCarousel.carousel { cursor: default; }
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  z-index: 5;
  width: 8%;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}
#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover { opacity: 1; }
#heroCarousel .carousel-indicators { z-index: 5; margin-bottom: 1.75rem; }
#heroCarousel .carousel-indicators button { cursor: pointer; }

@media (max-width: 767.98px) {
  .hero-slide { min-height: 440px; }
}

/* Share buttons */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  color: #fff;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  min-height: 44px;
}
.share-btn i { font-size: 1.05rem; }
.share-btn:hover { transform: translateY(-2px); color: #fff; filter: brightness(0.94); }
.share-btn-whatsapp { background: #25d366; box-shadow: 0 4px 12px rgba(37,211,102,0.32); }
.share-btn-telegram { background: #229ed9; box-shadow: 0 4px 12px rgba(34,158,217,0.32); }
.share-btn-facebook { background: #1877f2; box-shadow: 0 4px 12px rgba(24,119,242,0.32); }
.share-btn-copy { background: var(--ink); box-shadow: 0 4px 12px rgba(23,36,28,0.22); cursor: pointer; }
.share-btn-copy.copied { background: var(--primary); }

/* CTA banner with pattern */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 70%);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 12% 20%, rgba(255,255,255,0.10) 0, transparent 45%),
                     radial-gradient(circle at 88% 85%, rgba(201,162,39,0.22) 0, transparent 40%);
}
.cta-banner > * { position: relative; z-index: 1; }
