/* =========================
   THEME TOKENS (LIGHT/ DARK)
========================== */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fb;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.7);
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 14px 40px rgba(2, 6, 23, 0.08);

  --brand: #088c16;
  --brand-2: #088c16;
  --accent: #facc15; /* yellow */
  --danger: #dc3545;
  --success: #16a34a;

  --ticker-bg: #0d1117;
  --ticker-text: #ffffff;
}

html[data-theme="dark"] {
  --bg: #0b1220;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.09);
  --text: #e8eefc;
  --muted: rgba(232, 238, 252, 0.72);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.38);

  --brand: #6ea8fe;
  --brand-2: #91b7ff;
  --accent: #facc15;

  --ticker-bg: rgba(255, 255, 255, 0.06);
  --ticker-text: #e8eefc;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: inherit;
  text-decoration: none;
}

/* =========================
   TOP NAV (International)
========================== */
.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(13, 110, 253, 0.12);
  border: 1px solid rgba(13, 110, 253, 0.18);
  color: var(--brand-2);
}
.brand-title {
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -2px;
}

.nav-pill {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  transition: transform 0.12s ease, border-color 0.12s ease,
    background 0.12s ease;
}
.nav-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 110, 253, 0.25);
  background: rgba(13, 110, 253, 0.07);
}

.search-wrap {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 260px;
}
.search-wrap input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  color: var(--text);
}
.search-wrap input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}
html[data-theme="dark"] .search-wrap input::placeholder {
  color: rgba(232, 238, 252, 0.45);
}

.icon-btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.icon-btn:hover {
  border-color: rgba(13, 110, 253, 0.28);
  background: rgba(13, 110, 253, 0.07);
}

/* =========================
   NEWS TICKER (Header)
========================== */
.news-ticker {
  overflow: hidden;
  background: #088c16;
  color: var(--ticker-text);
  padding: 10px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.news-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: scroll 60s linear infinite;
  align-items: center;
}

.news-ticker:hover .news-track {
  animation-play-state: paused;
}

.news-item {
  margin-right: 50px;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-item span {
  color: var(--accent);
  margin-right: 6px;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
html[data-theme="light"] .ticker-dot {
  background: rgba(255, 255, 255, 0.35);
}

@keyframes scroll {
  from {
    transform: translateX(20%);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   LAYOUT + SECTIONS
========================== */
.page {
  padding: 18px 0 38px;
}
.page.page-wide {
  padding-left: 18px;
  padding-right: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 14px;
}
.section-title h4 {
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.2px;
}
.section-title .hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

/* =========================
   HERO FEATURE (International)
========================== */
.hero {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.08), transparent 60%),
    var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
}
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-main {
  padding: 18px;
  border-right: 1px solid var(--border);
}
@media (max-width: 992px) {
  .hero-main {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.hero-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.hero-img {
  width: 100%;
  height: 320px;
  object-fit: fill;
  background: #e5e7eb;
  display: block;
  object-position: center;
}
html[data-theme="dark"] .hero-img {
  background: rgba(255, 255, 255, 0.08);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(13, 110, 253, 0.22);
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand-2);
}

.headline {
  font-weight: 950;
  font-size: 1.7rem;
  line-height: 1.15;
  margin: 12px 0 10px;
  letter-spacing: 0.1px;
}
.subline {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}
.meta-row i {
  color: var(--brand);
}

.hero-side {
  padding: 16px;
}

.mini-story {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.mini-story:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.25);
}
.mini-img {
  width: 90px;
  height: 72px;
  border-radius: 12px;
  object-fit: fill;
  background: #e5e7eb;
  flex: 0 0 auto;
  display: block;
  object-position: center;
}
html[data-theme="dark"] .mini-img {
  background: rgba(255, 255, 255, 0.08);
}

.mini-title {
  font-weight: 900;
  line-height: 1.2;
  margin: 2px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-meta {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

/* =========================
   MAIN NEWS GRID (International)
========================== */
.news-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
  transition: transform 0.14s ease, box-shadow 0.14s ease,
    border-color 0.14s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 110, 253, 0.25);
}
.news-img {
  width: 100%;
  height: 170px;
  object-fit: fill;
  background: #e5e7eb;
  display: block;
  object-position: center;
}
html[data-theme="dark"] .news-img {
  background: rgba(255, 255, 255, 0.08);
}

.news-body {
  padding: 14px 14px 12px;
}
.news-title {
  font-weight: 950;
  line-height: 1.22;
  font-size: 1.03rem;
  margin: 10px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.55em;
}
.news-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.45em;
}
.news-foot {
  padding: 0 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.btn-read {
  border-radius: 12px;
  font-weight: 900;
  padding: 8px 12px;
}

.article-link {
  color: #2a6dbb;
  font-weight: 600;
  text-decoration: none;
}
.article-link:hover {
  color: #1f5fa6;
}
.article-link-icon {
  margin-left: 6px;
  font-size: 0.85em;
}
html[data-theme="dark"] .article-link {
  color: #7eb4ff;
}

.source-article-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(8, 140, 22, 0.25);
  background: linear-gradient(
      90deg,
      rgba(8, 140, 22, 0.12),
      rgba(250, 204, 21, 0.22)
    ),
    var(--surface);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(8, 140, 22, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
}
.source-article-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 140, 22, 0.45);
  box-shadow: 0 14px 24px rgba(8, 140, 22, 0.22);
}
.source-article-btn:focus-visible {
  outline: 2px solid rgba(8, 140, 22, 0.6);
  outline-offset: 2px;
}
.source-article-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(8, 140, 22, 0.35);
}
.source-article-text {
  letter-spacing: 0.2px;
}
.source-article-cta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}
html[data-theme="dark"] .source-article-btn {
  border-color: rgba(110, 168, 254, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .source-article-cta {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   RIGHT SIDEBAR (col-lg-4)
========================== */
.sidebar-sticky {
  position: sticky;
  top: 92px; /* topbar + ticker */
  align-self: flex-start;
}
@media (max-width: 992px) {
  .sidebar-sticky {
    position: static;
    top: auto;
  }
}

.panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
}
.panel + .panel {
  margin-top: 12px;
}

.panel-title {
  font-weight: 950;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.95rem;
}
.panel-title small {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.72rem;
}

.market-panel {
  border: 1px solid rgba(13, 110, 253, 0.18);
  background: linear-gradient(
    180deg,
    rgba(13, 110, 253, 0.12),
    rgba(13, 110, 253, 0.02) 45%,
    var(--surface) 100%
  );
}
.market-head {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.7fr;
  gap: 12px;
  padding: 6px 8px;
  margin-bottom: 5px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
html[data-theme="dark"] .market-head {
  background: rgba(255, 255, 255, 0.06);
}
.market-list {
  display: grid;
  gap: 6px;
}
.market-row {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
}
.market-row:hover {
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.08);
  transform: translateY(-1px);
}
.market-currency {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}
.market-currency .name {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.72rem;
}
.market-rate {
  text-align: center;
  font-weight: 900;
  color: var(--brand-2);
}
.price-diff {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 2px;
  justify-content: flex-end;
  width: 100%;
}
.market-change {
  text-align: right;
  font-weight: 900;
}
.export-panel .market-head,
.export-panel .market-row,
.fuel-panel .market-head,
.fuel-panel .market-row {
  display: grid;
  align-items: center;
  gap: 10px;
  grid-template-columns: 1fr auto auto;
}
.fuel-panel .market-head {
  font-size: 0.68rem;
  padding: 6px 8px;
}
.fuel-panel .market-row {
  padding: 4px 8px;
  font-size: 0.9rem;
  width: 100%;
}
.export-panel .market-head {
  font-size: 0.68rem;
  padding: 6px 8px;
}
.export-panel .market-row {
    padding: 5px 0px;
    font-size: 0.89rem;
    width: 100%;
}
.export-panel .market-currency,
.fuel-panel .market-currency {
  min-width: 0;
}
.export-panel .market-date,
.fuel-panel .market-date,
.export-panel .market-change,
.fuel-panel .market-change {
  text-align: right;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.74rem;
  white-space: nowrap;
}
.export-panel .market-rate,
.fuel-panel .market-rate {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fuel-panel .market-currency {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fuel-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}
.fuel-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.export-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}
.export-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.fuel-icon.fuel-gasoline {
  color: #ef4444;
}
.fuel-icon.fuel-diesel {
  color: #f59e0b;
}
.fuel-icon.fuel-kerosene {
  color: #06b6d4;
}
.export-icon.export-local_coffee {
  color: #7c3f1d;
}
.export-icon.export-wollega_sesame,
.export-icon.export-humera_gonder_sesame {
  color: #d1a72f;
}
.export-icon.export-green_mung_bean {
  color: #16a34a;
}

/* Match currency-dashboard card styling for fuel/export cards (compact) */
.fuel-card,
.export-card {
  border-radius: 20px;
  border: 1px solid rgba(11, 26, 18, 0.08);
  box-shadow: 0 16px 30px rgba(9, 35, 19, 0.08);
  background: #ffffff;
}
.export-card.market-panel {
  border: 1px solid rgba(11, 26, 18, 0.08);
  background: #ffffff;
}
.fuel-card .panel-title span,
.export-card .panel-title span {
  font-weight: 700;
  color: #0b1a12;
}
.fuel-card .panel-title small,
.export-card .panel-title small {
  color: var(--muted);
  font-weight: 600;
}
.fuel-card .market-currency {
  font-weight: 600;
}
.fuel-card .market-rate {
  font-weight: 700;
}
.export-panel .market-currency {
  font-weight: 600;
}
.export-panel .market-rate {
  font-weight: 700;
}
.fuel-card .market-head,
.export-card .market-head {
  background: rgba(11, 26, 18, 0.05);
  border: 1px solid rgba(11, 26, 18, 0.08);
}
@media (max-width: 1200px) {
  .market-head,
  .market-row {
    grid-template-columns: 1.2fr 0.9fr 0.7fr;
  }
}
@media (max-width: 576px) {
  .market-head {
    grid-template-columns: 1fr 1fr;
  }
  .market-head span:last-child {
    display: none;
  }
  .market-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 6px;
  }
  .market-change {
    text-align: left;
    grid-column: 1 / -1;
  }
}

/* About card */
.about-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 140, 22, 0.2);
  background: radial-gradient(
      120px 80px at 8% 0%,
      rgba(8, 140, 22, 0.18),
      transparent 60%
    ),
    radial-gradient(
      160px 120px at 100% 40%,
      rgba(250, 204, 21, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(8, 140, 22, 0.06), transparent 55%),
    var(--surface);
}
.about-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(8, 140, 22, 0.08);
  filter: blur(2px);
  pointer-events: none;
}
.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.about-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 0.2px;
}
.about-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(8, 140, 22, 0.25);
  background: rgba(8, 140, 22, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.about-kicker {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12rem;
}
.about-text {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.45;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}
.about-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px dashed rgba(8, 140, 22, 0.25);
  background: rgba(8, 140, 22, 0.04);
  font-weight: 800;
  font-size: 0.86rem;
}
.about-highlight i {
  color: var(--brand);
}

/* Subscribe */
.subscribe-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 140, 22, 0.2);
  background: radial-gradient(
      140px 90px at 10% -10%,
      rgba(8, 140, 22, 0.22),
      transparent 60%
    ),
    radial-gradient(
      200px 120px at 110% 30%,
      rgba(250, 204, 21, 0.22),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(8, 140, 22, 0.08), transparent 65%),
    var(--surface);
}
.subscribe-panel::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(8, 140, 22, 0.18);
  filter: blur(2px);
  pointer-events: none;
}
.subscribe-box {
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(8, 140, 22, 0.18);
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0.2)
    ),
    rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.subscribe-panel .panel-title {
  margin-bottom: 14px;
}
html[data-theme="dark"] .subscribe-box {
  background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.6),
      rgba(15, 23, 42, 0.25)
    ),
    rgba(15, 23, 42, 0.35);
}
.subscribe-text {
  color: var(--muted);
  font-weight: 700;
}
.subscribe-input {
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(8, 140, 22, 0.2);
  background: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}
html[data-theme="dark"] .subscribe-input {
  background: rgba(15, 23, 42, 0.6);
}
.subscribe-input:focus {
  border-color: rgba(8, 140, 22, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(8, 140, 22, 0.15);
}
.subscribe-btn {
  border-radius: 0 12px 12px 0;
  padding: 0 14px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 18px rgba(8, 140, 22, 0.22);
}
.subscribe-btn:hover {
  transform: translateY(-1px);
}
.subscribe-box .input-group {
  margin: 16px 0 14px;
}
.subscribe-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}
.subscribe-perks i {
  color: var(--brand);
  margin-right: 4px;
}

/* Old news list */
.old-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.old-item:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.22);
}
.old-img {
  width: 68px;
  height: 56px;
  border-radius: 12px;
  object-fit: fill;
  background: #e5e7eb;
  flex: 0 0 auto;
  display: block;
  object-position: center;
}
html[data-theme="dark"] .old-img {
  background: rgba(255, 255, 255, 0.08);
}

.old-title {
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.old-meta {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}

/* Quick categories */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-weight: 600;
  color: var(--text);
  margin: 6px 6px 0 0;
}
.chip i {
  color: var(--brand);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 22px 0;
  margin-top: 20px;
}
.footer-link {
  text-decoration: none;
  font-weight: 600;
}
.footer-link:hover {
  color: var(--brand);
}
.footer-email {
  color: var(--brand) !important;
}
.footer-email:hover {
  color: var(--brand) !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .news-track {
    animation: none !important;
  }
}

/* === Compact Nav Pills === */
.nav-pill {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 10px; /* smaller */
  display: inline-flex;
  align-items: center;
  gap: 6px; /* tighter */
  font-weight: 800;
  font-size: 0.85rem; /* smaller text */
  transition: transform 0.12s ease, border-color 0.12s ease,
    background 0.12s ease;
  cursor: pointer;
}

.nav-pill i {
  font-size: 0.95rem;
}

/* Dropdown menu styling */
.dropdown-menu {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 200px;
}

.dropdown-item {
  font-weight: 800;
  border-radius: 10px;
  padding: 8px 12px;
}

.dropdown-item:hover {
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand-2);
}

/* Ensure dropdown appears over ticker */
.topbar {
  position: relative;
  z-index: 1035;
}

/* ===== Responsive Logo ===== */
.brand-logo {
  height: 44px; /* desktop default */
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-text {
  line-height: 1.1;
}

/* Tablet */
@media (max-width: 992px) {
  .brand-logo {
    height: 38px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .brand-logo {
    height: 32px;
  }
  .brand-sub {
    display: none; /* cleaner header on small screens */
  }
}

.btn-primary {
  color: #fff;
  background-color: #088c16;
  border-color: #009002;
}
.active > .page-link,
.page-link.active {
  z-index: 3;
  color: var(--bs-pagination-active-color);
  background-color: #088c16;
  border-color: #009002;
}
.page-link {
  color: #088c16;
}
.btn-outline-primary {
  --bs-btn-color: #088c16;
  --bs-btn-border-color: #088c16;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #088c16;
  --bs-btn-hover-border-color: #088c16;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #088c16;
  --bs-btn-active-border-color: #088c16;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #088c16;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #088c16;
  --bs-gradient: none;
}

.mobile-nav-toggle {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

.topbar-row {
  width: 100%;
}

.nav-wrap {
  margin-left: auto;
  justify-content: flex-end;
  flex: 1 1 auto;
}

@media (max-width: 1199.98px) {
  .topbar-row {
    flex-wrap: nowrap;
  }
  .brand {
    flex: 0 0 auto;
  }
  .nav-wrap {
    justify-content: flex-end;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav .nav-pill {
    width: 100%;
    justify-content: space-between;
  }
  .dropdown-menu {
    width: 100%;
  }
}

.btn-facebook {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}
.btn-facebook:hover {
  background: #166fe5;
  border-color: #166fe5;
  color: #fff;
}

.btn-twitter {
  background: #0f1419;
  border-color: #0f1419;
  color: #fff;
}
.btn-twitter:hover {
  background: #1c1f23;
  border-color: #1c1f23;
  color: #fff;
}

.btn-linkedin {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}
.btn-linkedin:hover {
  background: #095aa7;
  border-color: #095aa7;
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1fbf5b;
  border-color: #1fbf5b;
  color: #fff;
}

.btn-telegram {
  background: #229ed9;
  border-color: #229ed9;
  color: #fff;
}
.btn-telegram:hover {
  background: #1f8dc3;
  border-color: #1f8dc3;
  color: #fff;
}
.bg-primary {
  background-color: #088c16 !important;
}

.nav-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.share-block {
  display: none;
}

.subscribe-hint {
  color: var(--muted);
  font-weight: 700;
  margin-top: 22px;
}

/* Disable selection/copy inside modal content when marked */
.no-copy,
.no-copy * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.no-copy {
  -webkit-touch-callout: none;
}

/* =========================
   ABOUT PAGE (Signature)
========================== */
.about-page {
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto,
    Ubuntu, Cantarell, "Noto Sans", Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
}

.about-hero {
  position: relative;
  padding: 36px 0 18px;
  background: radial-gradient(circle at 10% 0%, rgba(8, 140, 22, 0.22), transparent 55%),
    radial-gradient(circle at 90% 15%, rgba(250, 204, 21, 0.22), transparent 50%),
    linear-gradient(180deg, rgba(8, 140, 22, 0.06), transparent 55%);
  overflow: hidden;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}
.about-hero-copy {
  animation: riseIn 0.7s ease both;
}
.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  border: 1px solid rgba(8, 140, 22, 0.25);
  background: rgba(255, 255, 255, 0.65);
}
.about-hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #088c16;
  box-shadow: 0 0 12px rgba(8, 140, 22, 0.65);
}
.about-hero-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  margin: 16px 0;
}
.about-hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}
.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 18px;
}
.about-btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 10px 18px;
}
.about-btn.ghost {
  background: transparent;
}
.about-hero-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}
.about-hero-meta i {
  color: var(--brand);
  margin-right: 6px;
}

.about-hero-visual {
  position: relative;
  min-height: 380px;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.7;
  pointer-events: none;
}
.orb-1 {
  width: 220px;
  height: 220px;
  right: -40px;
  top: -30px;
  background: radial-gradient(circle, rgba(8, 140, 22, 0.5), transparent 60%);
}
.orb-2 {
  width: 180px;
  height: 180px;
  left: -30px;
  bottom: 0;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.55), transparent 60%);
}
.about-card-stack {
  position: relative;
  display: grid;
  gap: 14px;
  z-index: 1;
  animation: floatIn 0.9s ease both;
}
.about-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
}
.headline-card {
  transform: rotate(-1deg);
}
.metrics-card {
  transform: rotate(1.5deg);
}
.logo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(-0.5deg);
}
.logo-card img {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(8, 140, 22, 0.2);
  background: rgba(8, 140, 22, 0.08);
  padding: 6px;
  object-fit: contain;
}
.about-card .kicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.72rem;
  color: var(--brand);
}
.about-card .headline {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-top: 10px;
}
.metrics-card .metric {
  display: grid;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.15);
}
.metrics-card .metric:last-child {
  border-bottom: none;
}
.metrics-card span {
  color: var(--muted);
  font-size: 0.85rem;
}
.metrics-card strong {
  font-weight: 700;
}
.logo-card .small-text {
  color: var(--muted);
  font-size: 0.88rem;
}

.about-story {
  padding: 18px 0 12px;
}
.about-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.story-panel {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.08);
}
.story-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.story-panel p {
  color: var(--muted);
  font-weight: 500;
}

.about-section-title h4 {
  font-size: 1.6rem;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.focus-card {
  border-radius: 18px;
  border: 1px solid rgba(8, 140, 22, 0.16);
  background: linear-gradient(180deg, rgba(8, 140, 22, 0.08), rgba(255, 255, 255, 0.95));
  padding: 18px;
  min-height: 180px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.focus-card i {
  font-size: 1.6rem;
  color: var(--brand);
}
.focus-card h5 {
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 700;
}
.focus-card p {
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.1);
}

.about-principles {
  padding: 26px 0 10px;
}
.principles-wrap {
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(8, 140, 22, 0.2);
  background: radial-gradient(circle at 0% 0%, rgba(8, 140, 22, 0.16), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(250, 204, 21, 0.16), transparent 45%),
    var(--surface);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.1);
}
.principles-copy h2 {
  margin-bottom: 10px;
}
.principles-copy p {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.principle-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
}
.principle-card .tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 140, 22, 0.12);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}
.principle-card h6 {
  margin: 10px 0 6px;
  font-weight: 700;
}
.principle-card p {
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.about-callout {
  padding: 22px 0 36px;
}
.callout-card {
  border-radius: 24px;
  border: 1px solid rgba(8, 140, 22, 0.2);
  padding: 24px;
  background: linear-gradient(135deg, rgba(8, 140, 22, 0.12), rgba(255, 255, 255, 0.9));
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.12);
}
.callout-card h3 {
  margin-bottom: 10px;
}
.callout-card p {
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.callout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 992px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-visual {
    min-height: 320px;
  }
  .about-story-grid,
  .focus-grid,
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 576px) {
  .about-hero {
    padding-top: 26px;
  }
  .about-hero-actions,
  .callout-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .about-story-grid,
  .focus-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    transform: none;
  }
}

/* =========================
   EDITORIAL POLICY (Signature)
========================== */
.policy-page {
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto,
    Ubuntu, Cantarell, "Noto Sans", Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
}

.policy-hero {
  padding: 36px 0 20px;
  background: radial-gradient(circle at 15% 10%, rgba(8, 140, 22, 0.18), transparent 50%),
    radial-gradient(circle at 90% 0%, rgba(250, 204, 21, 0.2), transparent 45%),
    linear-gradient(180deg, rgba(8, 140, 22, 0.05), transparent 55%);
}
.policy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: 28px;
  align-items: center;
}
.policy-hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 16px 0 10px;
  line-height: 1.05;
}
.policy-hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}
.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(8, 140, 22, 0.25);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  font-size: 0.78rem;
}
.policy-badge i {
  color: var(--brand);
}
.policy-meta {
  margin-top: 16px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
}
.policy-meta i {
  color: var(--brand);
  margin-right: 6px;
}
.policy-hero-card {
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(8, 140, 22, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
  display: grid;
  gap: 12px;
}
.policy-stat {
  border-bottom: 1px dashed rgba(15, 23, 42, 0.15);
  padding-bottom: 10px;
}
.policy-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.policy-stat span {
  color: var(--muted);
  font-size: 0.85rem;
}
.policy-stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.policy-body {
  padding: 20px 0 40px;
}
.policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: start;
}
.policy-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}
.policy-nav {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.08);
}
.policy-nav h6 {
  font-weight: 700;
  margin-bottom: 10px;
}
.policy-nav ol {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 8px;
}
.policy-nav ol li::marker {
  font-weight: 700;
  color: rgba(8, 140, 22, 0.7);
}
.policy-nav li {
  padding: 6px 8px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
.policy-nav li.active {
  background: rgba(8, 140, 22, 0.22);
  border: 1px solid rgba(8, 140, 22, 0.4);
  box-shadow: 0 10px 18px rgba(8, 140, 22, 0.18);
}
.policy-nav a {
  font-weight: 600;
  color: var(--text);
}
.policy-nav li.active a {
  color: var(--brand);
}
.policy-nav a.active {
  color: var(--brand);
}
.policy-nav a:hover {
  color: var(--brand);
}
.policy-card {
  border-radius: 18px;
  border: 1px solid rgba(8, 140, 22, 0.2);
  background: linear-gradient(180deg, rgba(8, 140, 22, 0.06), rgba(255, 255, 255, 0.95));
  padding: 16px;
}
.policy-card h6 {
  font-weight: 700;
  margin-bottom: 10px;
}
.policy-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.policy-content {
  display: grid;
  gap: 18px;
}
.policy-section {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.08);
}
.policy-section h2 {
  margin-bottom: 8px;
}
.policy-section p {
  color: var(--muted);
  font-weight: 500;
}
.policy-section ul {
  padding-left: 18px;
  margin-bottom: 10px;
}
.section-tag {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--brand);
  background: rgba(8, 140, 22, 0.12);
  border: 1px solid rgba(8, 140, 22, 0.22);
}

@media (max-width: 992px) {
  .policy-hero-grid {
    grid-template-columns: 1fr;
  }
  .policy-grid {
    grid-template-columns: 1fr;
  }
  .policy-aside {
    position: static;
  }
}
@media (max-width: 576px) {
  .policy-section {
    grid-template-columns: 1fr;
  }
  .section-tag {
    width: 36px;
    height: 36px;
  }
}
