:root {
  color-scheme: light;
  --green: #14532d;
  --green-strong: #0f6a3d;
  --gold: #d4af37;
  --gold-soft: #f7e7a8;
  --bg: #f4f7f2;
  --bg-elev: rgba(255, 255, 255, 0.84);
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --surface-strong: #0f172a;
  --text: #0f172a;
  --text-soft: #475569;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  --ticker-edge: #0e2d1d;
}

html[data-theme="dark"],
html.dark {
  color-scheme: dark;
  --bg: #07111d;
  --bg-elev: rgba(8, 18, 32, 0.82);
  --surface: #0f172a;
  --surface-soft: #111c2e;
  --surface-strong: #020617;
  --text: #e5eef9;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 28px 70px rgba(2, 6, 23, 0.42);
  --ticker-edge: #05110b;
}

html {
  scroll-behavior: smooth;
}


main > section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

img {
  display: block;
  max-width: 100%;
}

iframe,
input,
select,
textarea {
  max-width: 100%;
}

th,
td {
  white-space: nowrap;
}

.site-shell {
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 83, 45, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 83, 45, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 86%);
}

html[data-theme="dark"] .site-shell::before {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
}

a,
button,
input,
textarea,
select {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 3px;
}

::selection {
  background: var(--green);
  color: #ffffff;
}

.top-info-bar {
  position: relative;
  background: linear-gradient(90deg, #0f3b23 0%, #0b2037 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-info-bar .text-amber-300 {
  color: #fcd34d;
}

.top-info-bar .bg-red-400 {
  background-color: #fb7185;
}

html[data-theme="dark"] .top-info-bar .text-amber-300 {
  color: #fde68a;
}

html[data-theme="dark"] .top-info-bar .bg-red-400 {
  background-color: #f43f5e;
}

.site-subbar,
.site-header {
  background: var(--bg-elev);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}

.site-subbar {
  color: var(--text-soft);
}

.site-subbar a {
  color: var(--text-soft);
}

.site-subbar a:hover {
  color: var(--green);
}

.site-header {
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

html[data-theme="dark"] .site-header {
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.32);
}

.site-header a,
.site-subbar a {
  color: inherit;
}

.site-header #mobileMenu {
  background: var(--bg-elev);
  border-color: var(--border);
}

.site-header .text-slate-900,
.site-header .text-slate-700,
.site-header .text-slate-600,
.site-header .text-slate-500,
.site-subbar .text-slate-600,
.site-subbar .text-slate-500 {
  color: var(--text-soft);
}

.site-header .text-slate-900 {
  color: var(--text);
}

.news-ticker {
  position: relative;
  overflow: hidden;
}

.news-ticker::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ticker-edge) 0%, transparent 8%, transparent 92%, var(--ticker-edge) 100%);
}

.news-ticker-track {
  display: flex;
  gap: 2rem;
  min-width: max-content;
  will-change: transform;
  animation: ticker-scroll 36s linear infinite;
}

.news-ticker:hover .news-ticker-track {
  animation-play-state: paused;
}

.news-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(2, 6, 23, 0.35);
}

.news-ticker-item:hover {
  color: #ffffff;
}

.news-ticker-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.14);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(20, 83, 45, 0.08);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(20, 83, 45, 0.12);
}

html[data-theme="dark"] .section-kicker {
  background: rgba(52, 211, 153, 0.13);
  color: #d1fae5;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.22);
}

.page-hero .section-kicker,
.article-hero .section-kicker,
.contact-shell .section-kicker {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.page-hero .section-kicker i,
.article-hero .section-kicker i,
.contact-shell .section-kicker i {
  color: var(--gold-soft);
}

.glass-panel,
.hero-panel,
.headline-card,
.news-card,
.sidebar-card,
.article-card,
.article-shell,
.empty-state-card,
.article-summary-box,
.contact-form-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.hero-panel,
.glass-panel,
.headline-card,
.news-card,
.sidebar-card,
.article-card,
.article-shell,
.empty-state-card,
.article-summary-box,
.contact-form-card,
.page-hero,
.article-hero-media,
.package-card,
.contact-shell {
  border-radius: 1.75rem;
}

.headline-card,
.news-card,
.article-card,
.package-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .headline-card:hover,
  .news-card:hover,
  .article-card:hover,
  .package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
  }

  html[data-theme="dark"] .headline-card:hover,
  html[data-theme="dark"] .news-card:hover,
  html[data-theme="dark"] .article-card:hover,
  html[data-theme="dark"] .package-card:hover,
  html.dark .headline-card:hover,
  html.dark .news-card:hover,
  html.dark .article-card:hover,
  html.dark .package-card:hover {
    box-shadow: 0 24px 54px rgba(2, 6, 23, 0.42);
  }
}

.hero-panel h1,
.hero-panel h2,
.glass-panel h2,
.article-card h2,
.article-card h3,
.headline-card h2,
.headline-card h3,
.news-card h3,
.sidebar-card h3,
.package-card h3,
.contact-form-card h3 {
  color: var(--text);
}

.hero-panel p,
.glass-panel p,
.article-card p,
.headline-card p,
.news-card p,
.sidebar-card p,
.article-summary-box p,
.contact-form-card p {
  color: var(--text-soft);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.hero-media {
  display: grid;
  gap: 1rem;
}

.hero-media-frame {
  position: relative;
  overflow: hidden;
  padding: 0.85rem;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .hero-media-frame {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.35));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.42);
}

.hero-media-image {
  width: 100%;
  height: auto;
  border-radius: 0.62rem;
}

.hero-media-badge {
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-media-tags {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-media-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 83, 45, 0.12);
  background: rgba(20, 83, 45, 0.06);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-quick-chip i {
  color: var(--green);
}

.page-hero .hero-quick-chip,
.article-hero .hero-quick-chip {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.page-hero .hero-quick-chip i,
.article-hero .hero-quick-chip i {
  color: var(--gold-soft);
}

.hero-stat {
  border: 1px solid rgba(20, 83, 45, 0.12);
  background: rgba(255, 255, 255, 0.74);
  padding: 1.05rem;
  border-radius: 1.25rem;
}

html[data-theme="dark"] .hero-stat {
  background: rgba(8, 18, 32, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
}

.hero-stat-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.hero-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.95rem;
  background: rgba(20, 83, 45, 0.12);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(20, 83, 45, 0.16);
}

html[data-theme="dark"] .hero-stat-icon {
  background: rgba(52, 211, 153, 0.16);
  color: #bbf7d0;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.22);
}

.hero-stat-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.hero-stat-subtitle {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-stat-list {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.32rem;
}

.hero-stat-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.hero-stat-list li i {
  margin-top: 0.22rem;
  flex-shrink: 0;
  font-size: 0.68rem;
  color: var(--green);
}

.hero-point-card {
  margin-top: 0.25rem;
  padding: 1.3rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.08), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(20, 83, 45, 0.12);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .hero-point-card {
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.14), rgba(8, 18, 32, 0.86));
  border-color: rgba(52, 211, 153, 0.22);
}

.hero-point-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-point-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.hero-point-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: var(--text);
}

.hero-point-list i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--green);
}

.hero-point-list--exclude i {
  color: #dc2626;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(11, 29, 52, 0.96), rgba(15, 42, 69, 0.95), rgba(21, 58, 96, 0.94)), url("../images/beground.webp") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.22));
  pointer-events: none;
}

html[data-theme="light"] .page-hero,
html:not([data-theme="dark"]):not(.dark) .page-hero {
  background: linear-gradient(140deg, #eef4ff 0%, #e2ecfb 58%, #dbe7fb 100%), url("../images/beground.webp") center/cover;
  border-color: rgba(148, 163, 184, 0.34);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .page-hero::after,
html:not([data-theme="dark"]):not(.dark) .page-hero::after {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.72), transparent 36%),
    linear-gradient(180deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.16));
}

html[data-theme="light"] .page-hero .text-white,
html[data-theme="light"] .page-hero .text-white\/90,
html[data-theme="light"] .page-hero .text-white\/80,
html[data-theme="light"] .page-hero .text-white\/70,
html:not([data-theme="dark"]):not(.dark) .page-hero .text-white,
html:not([data-theme="dark"]):not(.dark) .page-hero .text-white\/90,
html:not([data-theme="dark"]):not(.dark) .page-hero .text-white\/80,
html:not([data-theme="dark"]):not(.dark) .page-hero .text-white\/70 {
  color: #0f172a;
}

html[data-theme="light"] .page-hero .metric-card,
html:not([data-theme="dark"]):not(.dark) .page-hero .metric-card {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(148, 163, 184, 0.28);
}

html[data-theme="light"] .page-hero .metric-label,
html:not([data-theme="dark"]):not(.dark) .page-hero .metric-label {
  color: #475569;
}

html[data-theme="light"] .page-hero .metric-value,
html:not([data-theme="dark"]):not(.dark) .page-hero .metric-value {
  color: #0f172a;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.article-hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.article-hero-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.article-summary-box {
  border-left: 4px solid rgba(20, 83, 45, 0.3);
}

.metric-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.metric-card {
  padding: 1rem 1.05rem;
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.metric-value {
  margin-top: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
}

.headline-card,
.news-card,
.article-card,
.sidebar-card {
  display: flex;
  flex-direction: column;
}

.headline-card > img,
.news-card > img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.headline-card-body,
.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.headline-card-body a,
.news-card-body a {
  margin-top: auto;
}

.sidebar-card p,
.sidebar-card li {
  color: var(--text-soft);
}

.package-scroll {
  display: grid;
  gap: 1.25rem;
}

.package-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}

.package-card-media {
  overflow: hidden;
  border-radius: 0.72rem;
  background: var(--surface-soft);
  min-height: 160px;
}

.package-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-card-body {
  display: grid;
  gap: 0.75rem;
}

.package-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.package-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.package-meta-divider {
  color: rgba(100, 116, 139, 0.45);
}

.package-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text);
}

.package-card-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.package-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.package-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(20, 83, 45, 0.08);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.package-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.2rem;
}

.package-price-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.package-price {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--green-strong);
}

.package-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.package-status:hover {
  background: #0f6a3d;
  color: #ffffff;
}

.portal-grid {
  display: grid;
  gap: 1.5rem;
}

.portal-sidebar {
  display: grid;
  gap: 1.25rem;
}

.category-list {
  display: grid;
  gap: 0.75rem;
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.46);
  color: var(--text);
}

html[data-theme="dark"] .category-link {
  background: rgba(8, 18, 32, 0.65);
}

.category-link:hover {
  border-color: rgba(20, 83, 45, 0.28);
  transform: translateY(-1px);
}

.category-link.is-active {
  border-color: rgba(20, 83, 45, 0.32);
  background: rgba(20, 83, 45, 0.08);
  color: var(--green-strong);
}

html[data-theme="dark"] .category-link.is-active {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.14);
  color: #d1fae5;
}

.category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

html[data-theme="dark"] .category-count {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.sidebar-note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-note-list li {
  position: relative;
  padding-left: 1.2rem;
}

.sidebar-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(20, 83, 45, 0.08);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  background: rgba(20, 83, 45, 0.08);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: rgba(20, 83, 45, 0.08);
  color: var(--green);
}

.chip-link:hover {
  background: rgba(20, 83, 45, 0.14);
  color: var(--green-strong);
}

.page-hero .chip-link,
.article-hero .chip-link {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.page-hero .chip-link:hover,
.article-hero .chip-link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.article-shell {
  padding: clamp(1.5rem, 2vw, 2.5rem);
}

.article-prose {
  font-size: 1rem;
}

.article-prose > p:first-child {
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--text);
}

.article-prose p {
  margin-bottom: 1.1rem;
  color: var(--text-soft);
  line-height: 1.9;
}

.article-prose h2 {
  margin: 2.25rem 0 0.95rem;
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

.article-prose h3 {
  margin: 1.6rem 0 0.85rem;
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 1.25rem 1.35rem;
  color: var(--text-soft);
  line-height: 1.9;
}

.article-prose ul {
  list-style: disc;
}

.article-prose ol {
  list-style: decimal;
}

.article-prose li {
  margin-bottom: 0.55rem;
}

.article-prose li::marker {
  color: var(--green);
  font-weight: 700;
}

.article-prose a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-prose strong {
  color: var(--text);
  font-weight: 700;
}

.article-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid rgba(20, 83, 45, 0.35);
  background: rgba(20, 83, 45, 0.06);
  border-radius: 1rem;
}

.article-prose blockquote p {
  margin: 0;
  color: var(--text);
}

.share-panel,
.comment-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.share-panel a,
.share-panel button {
  border: 1px solid transparent;
}

.share-panel a[href*="wa.me"] {
  background: #16a34a;
  color: #ffffff;
}

.share-panel a[href*="facebook.com/sharer"] {
  background: #2563eb;
  color: #ffffff;
}

.share-panel a[href*="t.me/share"] {
  background: #0ea5e9;
  color: #ffffff;
}

.share-panel a[href*="twitter.com/intent"] {
  background: #0f172a;
  color: #ffffff;
}

.share-panel a[href*="tiktok.com/share"] {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

html[data-theme="dark"] .share-panel a[href*="tiktok.com/share"] {
  background: #111827;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.26);
}

#copyLinkButton {
  background: var(--surface);
  color: var(--text-soft);
  border-color: var(--border);
}

#copyLinkButton:hover {
  border-color: rgba(20, 83, 45, 0.28);
  color: var(--text);
}

.social-mini-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
}

.social-mini-btn:hover {
  border-color: rgba(20, 83, 45, 0.32);
  color: var(--text);
}

html[data-theme="dark"] .social-mini-btn {
  background: rgba(8, 18, 32, 0.72);
}

.social-mini-icon--facebook {
  color: #2563eb;
}

.social-mini-icon--tiktok {
  color: var(--text);
}

.social-mini-icon--instagram {
  color: #db2777;
}

.contact-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2f1d, #0a1c31);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .contact-shell,
html:not([data-theme="dark"]):not(.dark) .contact-shell {
  background: linear-gradient(135deg, #f8fbff 0%, #e8f0fb 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #0f172a;
}

.contact-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 34%);
  pointer-events: none;
}

html[data-theme="light"] .contact-shell::after,
html:not([data-theme="dark"]):not(.dark) .contact-shell::after {
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 36%);
}

.contact-shell > * {
  position: relative;
  z-index: 1;
}

html[data-theme="light"] .contact-shell h2,
html:not([data-theme="dark"]):not(.dark) .contact-shell h2 {
  color: #0f172a;
}

html[data-theme="light"] .contact-shell .text-slate-300,
html:not([data-theme="dark"]):not(.dark) .contact-shell .text-slate-300 {
  color: #475569 !important;
}

html[data-theme="light"] .contact-shell .text-slate-200,
html:not([data-theme="dark"]):not(.dark) .contact-shell .text-slate-200 {
  color: #334155 !important;
}

html[data-theme="light"] .contact-shell .text-amber-300,
html:not([data-theme="dark"]):not(.dark) .contact-shell .text-amber-300 {
  color: #0f766e !important;
}

html[data-theme="light"] .contact-shell .section-kicker,
html:not([data-theme="dark"]):not(.dark) .contact-shell .section-kicker {
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .contact-shell .section-kicker i,
html:not([data-theme="dark"]):not(.dark) .contact-shell .section-kicker i {
  color: #0f766e !important;
}

html[data-theme="light"] .contact-shell .border-white\/10,
html:not([data-theme="dark"]):not(.dark) .contact-shell .border-white\/10 {
  border-color: rgba(148, 163, 184, 0.34) !important;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

html[data-theme="dark"] .contact-form-card {
  background: rgba(8, 18, 32, 0.92);
}

.contact-form-card h3 {
  color: var(--text);
}

.contact-form-card p,
.contact-form-card label {
  color: var(--text-soft);
}

.site-footer {
  background: linear-gradient(180deg, rgba(5, 16, 28, 0.96), rgba(2, 6, 23, 0.98));
  color: #e2e8f0;
}

html[data-theme="light"] .site-footer,
html:not([data-theme="dark"]):not(.dark) .site-footer {
  background: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
  color: #0f172a;
  border-top: 1px solid rgba(148, 163, 184, 0.32);
}

.footer-link {
  color: #cbd5e1;
}

.footer-link:hover {
  color: #d1fae5;
}

html[data-theme="light"] .site-footer .footer-link,
html:not([data-theme="dark"]):not(.dark) .site-footer .footer-link {
  color: #334155;
}

html[data-theme="light"] .site-footer .footer-link:hover,
html:not([data-theme="dark"]):not(.dark) .site-footer .footer-link:hover {
  color: #0f172a;
}

html[data-theme="light"] .site-footer .text-slate-300,
html:not([data-theme="dark"]):not(.dark) .site-footer .text-slate-300 {
  color: #475569 !important;
}

html[data-theme="light"] .site-footer .text-slate-400,
html:not([data-theme="dark"]):not(.dark) .site-footer .text-slate-400 {
  color: #64748b !important;
}

html[data-theme="light"] .site-footer .text-amber-200,
html:not([data-theme="dark"]):not(.dark) .site-footer .text-amber-200 {
  color: #0f766e !important;
}

html[data-theme="light"] .site-footer .border-white\/10,
html:not([data-theme="dark"]):not(.dark) .site-footer .border-white\/10 {
  border-color: rgba(148, 163, 184, 0.35) !important;
}

html[data-theme="light"] .site-footer [class*="hover:bg-white\/10"]:hover,
html:not([data-theme="dark"]):not(.dark) .site-footer [class*="hover:bg-white\/10"]:hover {
  background-color: rgba(148, 163, 184, 0.14) !important;
}

input,
textarea,
select {
  width: 100%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 0.95rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input[type="file"] {
  padding: 0.6rem 0.75rem;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.7);
}

input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.45rem 0.85rem;
  background: var(--surface-strong);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

html[data-theme="dark"] input[type="file"]::file-selector-button {
  background: #e2e8f0;
  color: #0f172a;
}

.map-embed {
  border: 0;
  width: 100%;
  min-height: 200px;
}

.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  min-width: 640px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "intro media"
      "stats media";
    align-items: start;
  }

  .hero-intro {
    grid-area: intro;
  }

  .hero-media {
    grid-area: media;
  }

  .hero-stats-block {
    grid-area: stats;
  }

  .portal-grid {
    grid-template-columns: minmax(0, 1.7fr) 320px;
    align-items: start;
  }

  .article-hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: stretch;
  }
}

@media (max-width: 1023px) {
  .hero-media-tags {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .hero-media-badge {
    left: 1rem;
    top: 1rem;
  }
}

@media (max-width: 767px) {
  .news-ticker::after {
    background: linear-gradient(90deg, var(--ticker-edge) 0%, transparent 4%, transparent 96%, var(--ticker-edge) 100%);
  }

  .news-ticker-track {
    gap: 1.25rem;
  }

  .hero-panel,
  .page-hero,
  .article-summary-box,
  .contact-shell {
    border-radius: 1.4rem;
  }

  .hero-media-frame {
    padding: 0.65rem;
  }

  .hero-media-badge {
    font-size: 0.65rem;
  }

  .hero-media-tags span {
    font-size: 0.72rem;
  }

  .package-scroll {
    grid-auto-flow: column;
    grid-auto-columns: minmax(88%, 1fr);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.6rem;
  }

  .package-scroll > article {
    scroll-snap-align: start;
  }

  .package-scroll::-webkit-scrollbar {
    height: 8px;
  }

  .package-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.38);
    border-radius: 999px;
  }

  .package-card {
    grid-template-columns: 1fr;
  }

  .package-card-media {
    min-height: 200px;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .gallery-masonry img {
    height: 150px !important;
    border-radius: 1rem !important;
  }

  .article-shell {
    padding: 1.35rem;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }

  .news-ticker-track {
    animation: none !important;
  }
}

html[data-theme="dark"] .tag-pill,
html[data-theme="dark"] .package-chip,
html[data-theme="dark"] .chip-link {
  background: rgba(52, 211, 153, 0.16);
  color: #d1fae5;
}

html[data-theme="dark"] .package-price,
html[data-theme="dark"] .article-prose a,
html[data-theme="dark"] .hero-quick-chip i,
html[data-theme="dark"] .hero-point-list i {
  color: #86efac;
}

html[data-theme="dark"] .sidebar-note-list li::before {
  background: #86efac;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.12);
}

.site-shell .text-arofa-green {
  color: var(--green);
}

html[data-theme="dark"] .site-shell .text-arofa-green {
  color: #86efac;
}

.site-shell .hover\:text-arofa-green:hover {
  color: var(--green);
}

html[data-theme="dark"] .site-shell .hover\:text-arofa-green:hover,
html[data-theme="dark"] .site-header nav a:hover,
html[data-theme="dark"] .site-header #mobileMenu a:hover,
html[data-theme="dark"] .site-subbar a:hover {
  color: #86efac;
}

.hero-panel .text-slate-900,
.headline-card .text-slate-900,
.news-card .text-slate-900,
.article-card .text-slate-900,
.sidebar-card .text-slate-900,
.article-shell .text-slate-900,
.article-summary-box .text-slate-900,
.empty-state-card .text-slate-900,
.contact-form-card .text-slate-900 {
  color: var(--text);
}

.hero-panel .text-slate-700,
.hero-panel .text-slate-600,
.headline-card .text-slate-700,
.headline-card .text-slate-600,
.news-card .text-slate-700,
.news-card .text-slate-600,
.article-card .text-slate-700,
.article-card .text-slate-600,
.sidebar-card .text-slate-700,
.sidebar-card .text-slate-600,
.article-shell .text-slate-700,
.article-shell .text-slate-600,
.article-summary-box .text-slate-700,
.article-summary-box .text-slate-600,
.empty-state-card .text-slate-700,
.empty-state-card .text-slate-600,
.contact-form-card .text-slate-700,
.contact-form-card .text-slate-600 {
  color: var(--text-soft);
}

.hero-panel .text-slate-500,
.hero-panel .text-slate-400,
.headline-card .text-slate-500,
.headline-card .text-slate-400,
.news-card .text-slate-500,
.news-card .text-slate-400,
.article-card .text-slate-500,
.article-card .text-slate-400,
.sidebar-card .text-slate-500,
.sidebar-card .text-slate-400,
.article-shell .text-slate-500,
.article-shell .text-slate-400,
.article-summary-box .text-slate-500,
.article-summary-box .text-slate-400,
.empty-state-card .text-slate-500,
.empty-state-card .text-slate-400,
.contact-form-card .text-slate-500,
.contact-form-card .text-slate-400 {
  color: var(--muted);
}

.hero-panel .border-slate-300,
.hero-panel .border-slate-200,
.headline-card .border-slate-300,
.headline-card .border-slate-200,
.news-card .border-slate-300,
.news-card .border-slate-200,
.article-card .border-slate-300,
.article-card .border-slate-200,
.sidebar-card .border-slate-300,
.sidebar-card .border-slate-200,
.article-shell .border-slate-300,
.article-shell .border-slate-200,
.article-summary-box .border-slate-300,
.article-summary-box .border-slate-200,
.empty-state-card .border-slate-300,
.empty-state-card .border-slate-200,
.contact-form-card .border-slate-300,
.contact-form-card .border-slate-200 {
  border-color: var(--border);
}

.hero-panel .bg-white,
.hero-panel .bg-white\/80,
.hero-panel .bg-white\/90,
.headline-card .bg-white,
.headline-card .bg-white\/80,
.headline-card .bg-white\/90,
.news-card .bg-white,
.news-card .bg-white\/80,
.news-card .bg-white\/90,
.article-card .bg-white,
.article-card .bg-white\/80,
.article-card .bg-white\/90,
.sidebar-card .bg-white,
.sidebar-card .bg-white\/80,
.sidebar-card .bg-white\/90,
.article-shell .bg-white,
.article-shell .bg-white\/80,
.article-shell .bg-white\/90,
.article-summary-box .bg-white,
.article-summary-box .bg-white\/80,
.article-summary-box .bg-white\/90,
.empty-state-card .bg-white,
.empty-state-card .bg-white\/80,
.empty-state-card .bg-white\/90,
.contact-form-card .bg-white,
.contact-form-card .bg-white\/80,
.contact-form-card .bg-white\/90 {
  background-color: var(--surface);
}

.article-shell .bg-slate-50,
.article-summary-box .bg-slate-50,
.contact-form-card .bg-slate-50 {
  background-color: var(--surface-soft);
}



/* Final harmonization pass for mixed utility blocks */
.glass-panel .text-slate-900 {
  color: var(--text);
}

.glass-panel .text-slate-700,
.glass-panel .text-slate-600 {
  color: var(--text-soft);
}

.glass-panel .text-slate-500,
.glass-panel .text-slate-400 {
  color: var(--muted);
}

.glass-panel .border-slate-300,
.glass-panel .border-slate-200 {
  border-color: var(--border);
}

.glass-panel .bg-white,
.glass-panel .bg-white\/80,
.glass-panel .bg-white\/90 {
  background-color: var(--surface);
}

html[data-theme="dark"] .social-mini-icon--instagram {
  color: #f472b6;
}

html[data-theme="dark"] .social-mini-icon--facebook {
  color: #93c5fd;
}

/* Critical contrast hotfix for theme toggling */
.site-header,
.site-subbar,
.site-header #mobileMenu,
.hero-panel,
.glass-panel,
.headline-card,
.news-card,
.article-card,
.sidebar-card,
.article-shell,
.article-summary-box,
.empty-state-card,
.contact-form-card {
  background-color: var(--bg-elev) !important;
  border-color: var(--border) !important;
}

.site-subbar.bg-white\/70,
.site-subbar.bg-white\/80,
.site-subbar.bg-white\/90,
.site-subbar.bg-white,
.site-header.bg-white\/70,
.site-header.bg-white\/80,
.site-header.bg-white\/90,
.site-header.bg-white,
.site-header #mobileMenu.bg-white,
.hero-panel.bg-white\/70,
.hero-panel.bg-white\/80,
.hero-panel.bg-white\/90,
.hero-panel.bg-white,
.glass-panel.bg-white\/70,
.glass-panel.bg-white\/80,
.glass-panel.bg-white\/90,
.glass-panel.bg-white {
  background-color: var(--bg-elev) !important;
}

.site-shell .text-slate-900 {
  color: var(--text);
}

.site-shell .text-slate-700,
.site-shell .text-slate-600 {
  color: var(--text-soft);
}

.site-shell .text-slate-500,
.site-shell .text-slate-400 {
  color: var(--muted);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-subbar,
html[data-theme="dark"] .site-header #mobileMenu,
html[data-theme="dark"] .hero-panel,
html[data-theme="dark"] .glass-panel,
html[data-theme="dark"] .headline-card,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .sidebar-card,
html[data-theme="dark"] .article-shell,
html[data-theme="dark"] .article-summary-box,
html[data-theme="dark"] .empty-state-card,
html[data-theme="dark"] .contact-form-card {
  background-color: rgba(8, 18, 32, 0.9) !important;
}

.gallery-social-bar {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-social-icon-wrap {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.gallery-social-title {
  color: var(--text);
}

.gallery-social-desc {
  color: var(--text-soft);
}

html[data-theme="dark"] .gallery-social-bar {
  background: rgba(8, 18, 32, 0.9);
}

html[data-theme="dark"] .gallery-social-icon-wrap {
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


.about-feature-card {
  border: 1px solid var(--border);
  background: var(--surface);
}

.about-feature-title {
  color: var(--text);
}

.about-feature-desc {
  color: var(--text-soft);
}

html[data-theme="dark"] .about-feature-card,
html.dark .about-feature-card {
  background: rgba(8, 18, 32, 0.88);
  border-top-color: rgba(148, 163, 184, 0.24);
}


@media (max-width: 1023px) {
  .site-shell::before {
    display: none;
  }

  .site-subbar,
  .site-header {
    backdrop-filter: none;
  }

  .news-ticker-track {
    animation: ticker-scroll 42s linear infinite;
  }
}


/* Editorial tone for detail berita */
.news-article-page .page-hero.article-hero {
  background: linear-gradient(140deg, #0b1d34 0%, #0f2a45 58%, #153a60 100%);
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.3);
}

.news-article-page .page-hero.article-hero::after {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.24));
}

.news-article-page .article-hero .chip-link {
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(15, 23, 42, 0.45);
  color: #e2e8f0;
}

.news-article-page .article-hero .chip-link:hover {
  background: rgba(15, 23, 42, 0.64);
  color: #ffffff;
}

.news-article-page .article-hero .metric-card {
  border-radius: 0.85rem;
  background: rgba(2, 6, 23, 0.24);
  border-color: rgba(148, 163, 184, 0.32);
  backdrop-filter: none;
}

.news-article-page .article-hero .metric-label {
  color: rgba(226, 232, 240, 0.8);
  letter-spacing: 0.19em;
}

.news-article-page .article-hero .metric-value {
  color: #f8fafc;
  font-size: 1.06rem;
  font-weight: 600;
}

.news-article-page #ringkasan.article-summary-box {
  border-left: 0;
  border-top: 3px solid #2563eb;
  border-radius: 0.95rem;
  background: var(--surface);
}

.news-article-page #ringkasan .text-slate-400 {
  color: #64748b !important;
}

.news-article-page #isi.article-shell {
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.news-article-page .article-prose {
  max-width: none;
  width: 100%;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.news-article-page .article-prose > p:first-child {
  font-size: 1.2rem;
}

.news-article-page .article-prose p {
  line-height: 1.96;
}

.news-article-page .article-prose h2,
.news-article-page .article-prose h3 {
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.01em;
}

.news-article-page .share-panel,
.news-article-page .comment-card {
  border-radius: 0.95rem;
}

html[data-theme="dark"] .news-article-page #ringkasan.article-summary-box,
html.dark .news-article-page #ringkasan.article-summary-box {
  background: rgba(8, 18, 32, 0.92);
  border-color: rgba(148, 163, 184, 0.32);
  border-top-color: #60a5fa;
}

html[data-theme="dark"] .news-article-page #isi.article-shell,
html.dark .news-article-page #isi.article-shell {
  background: rgba(8, 18, 32, 0.92);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.35);
}


/* Editorial polish v2 */
.news-article-page .page-hero.article-hero {
  border-radius: 1rem !important;
}

.news-article-page .article-hero-media {
  border-radius: 0.85rem;
}

.news-article-page .article-hero .section-kicker {
  border-radius: 0.7rem;
  padding: 0.5rem 0.8rem;
  letter-spacing: 0.12em;
  box-shadow: none;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.36);
}

.news-article-page .article-hero h1 {
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.news-article-page .article-hero .chip-link {
  border-radius: 0.7rem;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
}

.news-article-page .article-hero .metric-card {
  border-radius: 0.75rem;
  border-width: 1px;
}

.news-article-page .article-hero .metric-label {
  font-size: 0.64rem;
}

.news-article-page .article-hero .metric-value {
  font-size: 1.08rem;
}

@media (max-width: 767px) {
  .news-article-page .page-hero.article-hero {
    border-radius: 0.8rem !important;
  }

  .news-article-page .article-hero .chip-link {
    padding: 0.4rem 0.68rem;
  }
}




html[data-theme="light"] .news-article-page .page-hero.article-hero,
html:not([data-theme="dark"]):not(.dark) .news-article-page .page-hero.article-hero {
  background: linear-gradient(140deg, #eef4ff 0%, #e2ecfb 58%, #dbe7fb 100%);
  border: 1px solid rgba(148, 163, 184, 0.34);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .news-article-page .page-hero.article-hero::after,
html:not([data-theme="dark"]):not(.dark) .news-article-page .page-hero.article-hero::after {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.72), transparent 36%),
    linear-gradient(180deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.16));
}

html[data-theme="light"] .news-article-page .article-hero .text-white,
html[data-theme="light"] .news-article-page .article-hero .text-white\/90,
html[data-theme="light"] .news-article-page .article-hero .text-white\/80,
html[data-theme="light"] .news-article-page .article-hero .text-white\/70,
html:not([data-theme="dark"]):not(.dark) .news-article-page .article-hero .text-white,
html:not([data-theme="dark"]):not(.dark) .news-article-page .article-hero .text-white\/90,
html:not([data-theme="dark"]):not(.dark) .news-article-page .article-hero .text-white\/80,
html:not([data-theme="dark"]):not(.dark) .news-article-page .article-hero .text-white\/70 {
  color: #0f172a;
}

html[data-theme="light"] .news-article-page .article-hero .section-kicker,
html:not([data-theme="dark"]):not(.dark) .news-article-page .article-hero .section-kicker {
  background: rgba(219, 234, 254, 0.86);
  border-color: rgba(148, 163, 184, 0.42);
  color: #1e293b;
}

html[data-theme="light"] .news-article-page .article-hero .section-kicker i,
html:not([data-theme="dark"]):not(.dark) .news-article-page .article-hero .section-kicker i {
  color: #475569;
}


html[data-theme="light"] .page-hero .hero-quick-chip,
html:not([data-theme="dark"]):not(.dark) .page-hero .hero-quick-chip {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(148, 163, 184, 0.34);
  color: #1e293b;
}

html[data-theme="light"] .page-hero .hero-quick-chip i,
html:not([data-theme="dark"]):not(.dark) .page-hero .hero-quick-chip i {
  color: #475569;
}

[data-theme-toggle] {
  position: relative;
  overflow: hidden;
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.38rem;
  height: 1.38rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #2563eb;
  font-size: 0.74rem;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

[data-theme-toggle]:hover .theme-toggle-icon {
  transform: rotate(-12deg) scale(1.06);
}

html[data-theme="dark"] .theme-toggle-icon,
html.dark .theme-toggle-icon {
  background: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

/* Theme toggle follows active theme */
.site-header [data-theme-toggle],
.site-subbar [data-theme-toggle],
#mobileMenu [data-theme-toggle] {
  border-color: rgba(148, 163, 184, 0.34) !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.site-header [data-theme-toggle]:hover,
.site-subbar [data-theme-toggle]:hover,
#mobileMenu [data-theme-toggle]:hover {
  border-color: rgba(59, 130, 246, 0.45) !important;
  background: #eef2ff !important;
  color: #0f172a !important;
}

html[data-theme="dark"] .site-header [data-theme-toggle],
html[data-theme="dark"] .site-subbar [data-theme-toggle],
html[data-theme="dark"] #mobileMenu [data-theme-toggle],
html.dark .site-header [data-theme-toggle],
html.dark .site-subbar [data-theme-toggle],
html.dark #mobileMenu [data-theme-toggle] {
  border-color: rgba(148, 163, 184, 0.28) !important;
  background: rgba(15, 23, 42, 0.9) !important;
  color: #e2e8f0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .site-header [data-theme-toggle]:hover,
html[data-theme="dark"] .site-subbar [data-theme-toggle]:hover,
html[data-theme="dark"] #mobileMenu [data-theme-toggle]:hover,
html.dark .site-header [data-theme-toggle]:hover,
html.dark .site-subbar [data-theme-toggle]:hover,
html.dark #mobileMenu [data-theme-toggle]:hover {
  border-color: rgba(56, 189, 248, 0.46) !important;
  background: rgba(30, 41, 59, 0.95) !important;
  color: #f8fafc !important;
}

.site-header [data-theme-toggle] .theme-toggle-icon,
.site-subbar [data-theme-toggle] .theme-toggle-icon,
#mobileMenu [data-theme-toggle] .theme-toggle-icon {
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

html[data-theme="dark"] .site-header [data-theme-toggle] .theme-toggle-icon,
html[data-theme="dark"] .site-subbar [data-theme-toggle] .theme-toggle-icon,
html[data-theme="dark"] #mobileMenu [data-theme-toggle] .theme-toggle-icon,
html.dark .site-header [data-theme-toggle] .theme-toggle-icon,
html.dark .site-subbar [data-theme-toggle] .theme-toggle-icon,
html.dark #mobileMenu [data-theme-toggle] .theme-toggle-icon {
  background: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

html[data-theme="light"] .page-hero .section-kicker,
html:not([data-theme="dark"]):not(.dark) .page-hero .section-kicker {
  background: rgba(255, 255, 255, 0.86);
  color: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.42);
  box-shadow: none;
}

html[data-theme="light"] .page-hero .section-kicker i,
html:not([data-theme="dark"]):not(.dark) .page-hero .section-kicker i {
  color: #334155;
}

/* Global radius tightening */
.site-shell .rounded-\[2rem\],
.site-shell .rounded-\[1\.75rem\],
.site-shell .rounded-\[1\.5rem\],
.site-shell .rounded-2xl,
.site-shell .rounded-xl,
.site-shell .rounded-lg,
.hero-panel,
.glass-panel,
.headline-card,
.news-card,
.article-card,
.sidebar-card,
.article-shell,
.article-summary-box,
.empty-state-card,
.contact-form-card,
.page-hero,
.article-hero-media,
.package-card,
.contact-shell,
.gallery-social-bar,
.about-feature-card,
.share-panel,
.comment-card {
  border-radius: 0.85rem !important;
}

.site-shell .rounded-\[1\.25rem\],
.site-shell .rounded-\[1\.2rem\],
.site-shell .rounded-\[1rem\] {
  border-radius: 0.7rem !important;
}



/* Footer mobile refinements */
.site-footer .footer-link {
  display: inline-block;
  padding: 0.1rem 0;
}

@media (max-width: 767px) {
  .site-footer .max-w-7xl {
    padding-top: 2rem !important;
    padding-bottom: 1.4rem !important;
  }

  .site-footer .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .site-footer .grid > div {
    width: 100%;
  }

  .site-footer p,
  .site-footer a {
    line-height: 1.55;
  }

  .site-footer .text-amber-200 {
    letter-spacing: 0.18em !important;
    font-size: 0.78rem;
  }

  html[data-theme="dark"] .site-footer .text-slate-300,
  html.dark .site-footer .text-slate-300 {
    color: #d6deea !important;
  }

  html[data-theme="dark"] .site-footer .text-slate-400,
  html.dark .site-footer .text-slate-400 {
    color: #a9b8cf !important;
  }

  html[data-theme="light"] .site-footer .text-slate-300,
  html:not([data-theme="dark"]):not(.dark) .site-footer .text-slate-300 {
    color: #475569 !important;
  }

  html[data-theme="light"] .site-footer .text-slate-400,
  html:not([data-theme="dark"]):not(.dark) .site-footer .text-slate-400 {
    color: #64748b !important;
  }

  .site-footer .mt-4 {
    margin-top: 0.8rem !important;
  }

  .site-footer .mt-10 {
    margin-top: 1.15rem !important;
  }

  .site-footer .pt-5 {
    padding-top: 0.9rem !important;
  }
}

@media (max-width: 1023px) {
  .mobile-theme-inline {
    display: none !important;
  }
}

html[data-theme="dark"] .top-info-bar .news-ticker::after,
html.dark .top-info-bar .news-ticker::after {
  display: none;
}

html[data-theme="dark"] .news-ticker-item,
html.dark .news-ticker-item {
  text-shadow: none;
}

.news-ticker-item {
  background: transparent !important;
  box-shadow: none !important;
}


.mobile-dock-nav {
  display: none;
}

html {
  scroll-behavior: smooth;
}

@view-transition {
  navigation: auto;
}

body.is-page-leaving main,
body.is-page-leaving header,
body.is-page-leaving footer {
  opacity: 0.86;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mobile-dock-item,
  .mobile-dock-item::before,
  .mobile-dock-item i,
  .mobile-dock-item span {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1023px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-dock-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 0;
    padding: 0.38rem 0.3rem calc(0.34rem + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.38);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: #ffffff;
    box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.15);
    overflow: visible;
  }

  .mobile-dock-item {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    min-height: 52px;
    border-radius: 0.75rem;
    text-decoration: none;
    background: transparent;
    border: 0;
    color: #8b9099;
    font-size: 0.67rem;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
    transition: color 0.22s ease, transform 0.22s ease;
  }

  .mobile-dock-item i {
    font-size: 0.95rem;
    opacity: 0.88;
    transition: transform 0.24s ease, color 0.22s ease, opacity 0.22s ease;
  }

  .mobile-dock-item span {
    transition: color 0.22s ease, transform 0.22s ease;
  }

  .mobile-dock-item::before {
    content: "";
    position: absolute;
    top: -0.98rem;
    left: 50%;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
    background: #ffffff;
    border: 3px solid #b9b4b6;
    box-shadow:
      0 0 0 5px rgba(241, 245, 249, 0.96),
      0 6px 16px rgba(15, 23, 42, 0.12);
    transition: opacity 0.2s ease, transform 0.24s ease;
    pointer-events: none;
    z-index: 0;
  }

  .mobile-dock-item.is-active {
    color: #2a2d33;
  }

  .mobile-dock-item.is-active::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  .mobile-dock-item.is-active i {
    color: #343841;
    opacity: 1;
    transform: translateY(-0.7rem) scale(1.02);
    z-index: 1;
  }

  .mobile-dock-item.is-active span {
    color: #3f444d;
    font-weight: 700;
    transform: translateY(0.06rem);
  }

  .mobile-dock-item:active {
    transform: translateY(0.04rem) scale(0.98);
  }

  .mobile-dock-item.is-tapped {
    animation: dockTap 0.24s ease;
  }

  .mobile-dock-item.is-tapped::before {
    opacity: 1;
    transform: translateX(-50%) scale(1.06);
  }

  .mobile-dock-item.is-tapped i {
    opacity: 1;
    transform: translateY(-0.8rem) scale(1.08);
  }

  .mobile-dock-item.is-tapped span {
    transform: translateY(0.08rem);
  }

  @keyframes dockTap {
    0% {
      transform: translateY(0) scale(1);
    }
    40% {
      transform: translateY(-0.08rem) scale(0.99);
    }
    100% {
      transform: translateY(0.02rem) scale(0.97);
    }
  }

  .mobile-dock-theme {
    border: 0;
    background: transparent;
  }

  .mobile-dock-nav .mobile-dock-theme .theme-toggle-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent !important;
    color: inherit !important;
    font-size: 0.96rem;
  }

  html[data-theme="dark"] .mobile-dock-nav,
  html.dark .mobile-dock-nav {
    border-top-color: rgba(148, 163, 184, 0.24);
    background: #1e1f23;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  }

  html[data-theme="dark"] .mobile-dock-item,
  html.dark .mobile-dock-item {
    color: #8a8f99;
  }

  html[data-theme="dark"] .mobile-dock-item.is-active,
  html.dark .mobile-dock-item.is-active {
    color: #f8fafc;
  }

  html[data-theme="dark"] .mobile-dock-item.is-active::before,
  html.dark .mobile-dock-item.is-active::before {
    background: #1e1f23;
    border-color: #b7b9bf;
    box-shadow:
      0 0 0 5px rgba(2, 6, 23, 0.96),
      0 10px 22px rgba(0, 0, 0, 0.46);
  }

  html[data-theme="dark"] .mobile-dock-item.is-active i,
  html.dark .mobile-dock-item.is-active i {
    color: #f5f7fb;
  }

  html[data-theme="dark"] .mobile-dock-item.is-active span,
  html.dark .mobile-dock-item.is-active span {
    color: #ffffff;
  }

  html[data-theme="dark"] .mobile-dock-nav .mobile-dock-theme .theme-toggle-icon,
  html.dark .mobile-dock-nav .mobile-dock-theme .theme-toggle-icon {
    color: #d8dbe2 !important;
  }
}