:root {
  --navy: #15315c;
  --navy-deep: #0a1a33;
  --navy-black: #071122;
  --gold: #9a7c3c;
  --gold-soft: #b89a5c;
  --gold-light: #cdb87a;
  --gold-deep: #7c631f;
  --blue: #b89a5c;
  --ink: #2c3138;
  --muted: #6c747e;
  --line: #e4e7ec;
  --line-soft: #eef0f3;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --pos: #1f7a4d;
  --neg: #b23a3a;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1750px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 2px;
  --shadow-sm: 0 2px 10px rgba(10, 26, 51, .06);
  --shadow-md: 0 10px 30px -12px rgba(10, 26, 51, .18);
  --shadow-lg: 0 24px 48px -20px rgba(10, 26, 51, .28);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  zoom: 95%;
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%
}

/* .wrap{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 28px
} */
.wrap {
  width: 90%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 40px);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy)
}

ul {
  margin: 0;
  padding: 0;
  list-style: none
}

body:not(.home-mode) .page-pad {
  padding-top: 110px;
}

/* ============ HEADER ============ */
.site-header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s, box-shadow .3s;
}

body:not(.home-mode) .site-header {
  box-shadow: var(--shadow-sm);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 14px
}

.header-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.header-right .header-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 12px 0 6px;
}

.header-right .utility {
  justify-content: flex-end;
  margin-bottom: 14px;
}

.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-weight: 1000;
  font-size: 24px;
  letter-spacing: .06em;
  color: #15315c;
  line-height: 1.05;
  transition: color .3s
}

@media (max-width: 1200px) {

  .main-nav,
  .main-nav-row {
    display: none !important;
  }

  .burger {
    display: block !important;
  }

  .utility .util-links,
  .utility .pills {
    display: none !important;
  }
}


.brand-text span {
  display: block;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: .34em;
  color: #b89a5c;
  text-transform: uppercase;
  margin-top: 3px;
  transition: color .3s
}

.emblem svg * {
  transition: stroke .3s, fill .3s
}

.utility {
  display: flex;
  align-items: center;
  gap: 20px
}

.pills {
  display: flex;
  gap: 10px
}

.pill {
  border: 1.4px solid var(--blue);
  color: var(--blue);
  border-radius: 40px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .18s;
  white-space: nowrap
}

.pill:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(154, 124, 60, .55);
}

.util-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px
}

.util-links a {
  color: #cdb87a;
  font-weight: 600;
  transition: color .2s
}

.util-links a:hover {
  color: #cdb87a
}

.lang {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px
}

.lang-mobile {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px
}

.lang-mobile a.active,
.lang-mobile a:hover {
  color: #cdb87a
}

.lang a {
  color: var(--muted)
}


.lang a.active,
.lang a:hover {
  color: #cdb87a
}

.icon-btn {
  background: none;
  border: 0;
  color: var(--navy);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  transition: color .2s
}

/* NAV */
.main-nav-row {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 6px;
}

/* .main-nav-row{display:flex;justify-content:flex-start;padding-bottom:6px} */
.main-nav {
  display: flex;
  gap: 36px;
  align-items: center
}

.main-nav>li>a {
  display: inline-block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  transition: color .2s
}

.main-nav>li>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s
}

.main-nav>li:hover>a::after,
.main-nav>li>a.active::after {
  transform: scaleX(1)
}

.has-mega {
  position: static
}

.mega {
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: linear-gradient(175deg, #faf8f3 0%, #f4efe2 100%);
  border-top: 3px solid var(--gold);
  border-bottom: 0;
  /* border-radius: 0 0 16px 16px; */
  box-shadow: 0 28px 48px -24px rgba(12, 34, 68, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.99);
  transform-origin: top center;
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  z-index: 55;
}


.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none
}

.mega-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px 56px;
  padding: 25px 0 54px;
}

.mega-col {
  flex: 0 1 auto;
  min-width: 180px;
  max-width: 280px;
  opacity: 0;
  transform: translateY(6px);
  animation: megaColIn .3s ease forwards;
}

.has-mega:hover .mega-col,
.has-mega:focus-within .mega-col {
  animation: megaColIn .3s ease forwards;
}

.mega-col:nth-child(1) {
  animation-delay: .02s
}

.mega-col:nth-child(2) {
  animation-delay: .06s
}

.mega-col:nth-child(3) {
  animation-delay: .1s
}

.mega-col:nth-child(4) {
  animation-delay: .14s
}

.mega-col:nth-child(5) {
  animation-delay: .18s
}

@keyframes megaColIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.mega-col h6 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy-deep);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-light);
}

.mega-col li {
  margin-bottom: 4px;
}

.mega-col a {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1;
}

.mega-col a:hover {
  color: var(--navy);
}

.mega-col li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: background-color .2s, border-color .2s, padding-left .2s, box-shadow .2s, transform .2s;
}

.mega-col li a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
  color: var(--gold-deep);
  font-size: 12px;
}

.mega-col li a:hover {
  color: var(--navy);
  background-color: #f3e1ba;
  border-left-color: #978150;
  padding-left: 14px;
  box-shadow: 0 4px 12px -6px rgba(154, 124, 60, .4);
  transform: translateY(-1px);
}

.mega-col li a:hover::after {
  opacity: 1;
  transform: none;
}

.mega-col li a i {
  color: var(--gold-deep);
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.mega-feature {
  min-width: 220px;
}

.mega-feature-card {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 18px;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-left: 0 !important;
  box-shadow: 0 14px 26px -14px rgba(10, 26, 51, .45);
  transition: transform .2s, box-shadow .2s;
}

.mega-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -12px rgba(10, 26, 51, .5);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.mega-feature-card i {
  font-size: 24px;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.mega-feature-card strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.mega-feature-card span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.5;
}

.mega-feature-card::after {
  display: none;
}

/* ============ HOME HERO ============ */
.home-hero {
  display: none;
  position: relative;
  min-height: clamp(560px, 90vh, 1000px);
  min-height: clamp(560px, 90dvh, 1000px);
  overflow: hidden;
  background: var(--navy-deep)
}

.hero-slide {
  position: absolute;
  overflow: hidden;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.07);
  }
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;

  transform: scale(1);
  transition: transform 8s ease;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(7, 17, 34, .78) 0%, rgba(7, 17, 34, 0) 32%),
    linear-gradient(to right,
      rgba(7, 17, 34, .78),
      rgba(7, 17, 34, .38),
      rgba(7, 17, 34, .08));

}

/* .hero-slide:hover {
  transform: scale(1.02);
} */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.hero-video.show {
  opacity: 1;
}

.hero-video-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 17, 34, .6) 0%, rgba(7, 17, 34, .38) 55%, rgba(7, 17, 34, 0) 100%);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.hero-video-mask.show {
  opacity: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 40px);
  min-height: inherit;
  display: flex;
  align-items: center;
  font-size: clamp(15px, 1.2vw, 20px);
  cursor: pointer;
}

.hero-cap {
  max-width: 620px;
  color: #fff;
  padding: clamp(70px, 12vh, 140px) 0;
  margin-top: clamp(20px, 4vh, 50px);
}

/* PowerPoint-style "fly in one by one": each caption line fades/rises in on
   its own delay, and reverses (fades/drops) the moment a new slide is due */
.hero-cap .eyebrow,
.hero-cap h2,
.hero-cap .sub,
.hero-cap .hero-btn {
  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cap.cap-fade .eyebrow,
.hero-cap.cap-fade h2,
.hero-cap.cap-fade .sub,
.hero-cap.cap-fade .hero-btn {
  opacity: 0;
  transform: translateY(25px);
}

.hero-cap .eyebrow {
  transition-delay: .20s;
}

.hero-cap h2 {
  transition-delay: .50s;
}

.hero-cap .sub {
  transition-delay: .80s;
}

.hero-cap .hero-btn {
  transition-delay: 1.10s;
}

.hero-cap .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px
}

.hero-cap .eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--gold-light);
  flex: 0 0 auto;
}

.hero-cap .eyebrow b {
  color: #fff;
  font-weight: 600;
  margin-left: 10px
}

.hero-cap h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.14;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -.005em;
}

.hero-cap .sub {
  font-size: 16px;
  color: #d8dee9;
  margin-bottom: 32px;
  letter-spacing: .01em;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, .85);
  color: #fff;
  border-radius: 40px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  transition: .2s;
  cursor: pointer;
  background: none
}

.hero-btn:hover {
  background: #fff;
  color: var(--navy-deep);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}

/* ============ HERO LIVE CHART WIDGET ============ */
.hero-chart-widget {
  position: absolute;
  right: clamp(18px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .04) 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
  pointer-events: none;
  opacity: 0;
  animation: hcwIn 1s cubic-bezier(0.16, 1, 0.3, 1) .5s forwards;
}

@keyframes hcwIn {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 16px));
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

.hcw-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hcw-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(205, 184, 122, .16);
  color: var(--gold-light);
  font-size: 16px;
}

.hcw-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  animation: hcwPing 2.4s cubic-bezier(0, 0, .2, 1) infinite;
}

@keyframes hcwPing {
  0% {
    transform: scale(1);
    opacity: .7;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.hcw-head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hcw-label {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
}

.hcw-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #d8dee9;
}

.hcw-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55d68a;
  box-shadow: 0 0 0 0 rgba(85, 214, 138, .6);
  animation: hcwBlink 1.8s ease-in-out infinite;
}

@keyframes hcwBlink {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(85, 214, 138, .55);
  }

  50% {
    opacity: .45;
    box-shadow: 0 0 0 4px rgba(85, 214, 138, 0);
  }
}

.hcw-chart {
  width: 100%;
  height: 84px;
  margin-bottom: 16px;
}

.hcw-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hcw-grid {
  stroke: rgba(255, 255, 255, .10);
  stroke-width: 1;
}

.hcw-line {
  stroke: var(--gold-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: hcwDraw 3.2s ease-in-out infinite;
}

@keyframes hcwDraw {
  0% {
    stroke-dashoffset: 340;
  }

  55%,
  100% {
    stroke-dashoffset: 0;
  }
}

.hcw-area {
  opacity: 0;
  animation: hcwFadeIn .8s ease 1.6s forwards;
}

@keyframes hcwFadeIn {
  to {
    opacity: 1;
  }
}

.hcw-dot {
  fill: #fff;
  filter: drop-shadow(0 0 6px var(--gold-light));
  offset-path: path("M0,56 L20,50 L40,54 L60,40 L80,44 L100,28 L120,34 L140,20 L160,26 L180,14 L200,22 L220,10 L240,16");
  offset-rotate: 0deg;
  animation: hcwTravel 3.2s ease-in-out infinite;
}

@keyframes hcwTravel {

  0%,
  4% {
    offset-distance: 0%;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  55%,
  100% {
    offset-distance: 100%;
    opacity: 1;
  }
}

.hcw-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hcw-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.hcw-stat-lab {
  color: #c3cad9;
  letter-spacing: .01em;
}

.hcw-stat-val {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hcw-stat-val.up {
  color: #6fdb9c;
}

.hcw-stat-val.down {
  color: #ef8f8f;
}

.hcw-stat-val i {
  font-size: 9px;
}

@media (max-width: 1240px) {
  .hero-chart-widget {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hcw-ping,
  .hcw-live i,
  .hcw-line,
  .hcw-dot,
  .hero-chart-widget {
    animation: none !important;
  }

  .hcw-line {
    stroke-dashoffset: 0;
  }

  .hero-chart-widget {
    opacity: 1;
    transform: translateY(-50%);
  }

  .hcw-area {
    opacity: 1;
  }
}

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

.hero-foot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 0;
}

.dots {
  display: flex;
  gap: 8px;
  padding-bottom: 26px;
}

.dot {
  position: relative;
  width: 36px;
  height: 6px;
  background: rgba(255, 255, 255, .32);
  border: 0;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
}

.dot.active::after {
  animation: dotFill 7s linear forwards;
}

@keyframes dotFill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.upnext {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 22px;
  background: rgba(7, 16, 34, .6);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--gold-light);
  color: #fff;
  width: min(450px, 45%);
  padding: 18px 24px;
  cursor: pointer;
  transition: background .2s;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}

.upnext:hover {
  background: rgba(7, 16, 34, .96)
}

.upnext .nx-meta .lab {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  display: block;
  margin-bottom: 7px
}

#drawerClose {
  color: black;
}

.upnext .nx-date {
  font-size: 11.5px;
  color: #9fb0c8;
  margin-bottom: 2px
}

.upnext .nx-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35
}

.upnext .arrow {
  margin-left: auto;
  font-size: 22px;
  color: #fff;
  flex: 0 0 auto;
}

/* ====== HOME MODE: header transparan + sembunyikan elemen interior ====== */
body.home-mode .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent
}

body.home-mode .site-header:has(.has-mega:hover) {
  background: #fff;
  border-bottom-color: var(--line);
}

body.home-mode .site-header:has(.has-mega:hover) .brand-text strong,
body.home-mode .site-header:has(.has-mega:hover) .brand-text span,
body.home-mode .site-header:has(.has-mega:hover) .main-nav>li>a,
body.home-mode .site-header:has(.has-mega:hover) .util-links a,
body.home-mode .site-header:has(.has-mega:hover) .lang a,
body.home-mode .site-header:has(.has-mega:hover) .search-link {
  color: var(--navy);
}

body.home-mode .site-header:has(.has-mega:hover) .pill {
  border-color: var(--blue);
  color: var(--blue);
}

body.home-mode .site-header:has(.has-mega:hover) .emblem svg circle {
  stroke: var(--navy);
}

body.home-mode.scrolled .site-header {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 22px -16px rgba(0, 0, 0, .35)
}

body.home-mode:not(.scrolled) .brand-text strong {
  color: #fff
}

body.home-mode:not(.scrolled) .brand-text span {
  color: rgba(255, 255, 255, .8)
}

body.home-mode:not(.scrolled) .emblem svg circle {
  stroke: #fff
}

body.home-mode:not(.scrolled) .emblem svg path {
  fill: #fff
}

body.home-mode:not(.scrolled) .util-links a,
body.home-mode:not(.scrolled) .icon-btn,
body.home-mode:not(.scrolled) .burger {
  color: white
}

body.home-mode:not(.scrolled) .lang,
body.home-mode:not(.scrolled) .lang a {
  color: rgba(255, 255, 255, .82)
}

body.home-mode:not(.scrolled) .lang a.active {
  color: #cdb87a
}

body.home-mode:not(.scrolled) .main-nav>li>a {
  color: #fff
}

body.home-mode:not(.scrolled) .pill {
  border-color: rgba(255, 255, 255, .7);
  color: #fff
}

body.home-mode:not(.scrolled) .pill:hover {
  background: #fff;
  color: var(--navy-deep)
}

body.home-mode .home-hero {
  display: block
}

body.home-mode .crumbs,
body.home-mode .page-title,
body.home-mode .sidebar {
  display: none
}

body.home-mode .layout {
  grid-template-columns: 1fr
}

body.home-mode .page-pad {
  padding-top: 46px
}


body.home-mode.scrolled img {
  filter: none;
}

body.home-mode.scrolled .emblem img {
  filter: none;
}

.emblem img {
  transition: filter .25s ease;
}

body.home-mode .emblem img {
  filter: brightness(0) saturate(100%) invert(100%);
}

body.home-mode .site-header:has(.has-mega:hover) .emblem img,
body.home-mode .site-header.scrolled .emblem img {
  filter: none;
}


/* ============ BREADCRUMB + TITLE (interior) ============ */
.crumbs {
  padding: 26px 0 4px;
  font-size: 16px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.crumbs a {
  color: var(--muted)
}

.crumbs a:hover {
  color: var(--navy)
}

.crumbs .here {
  color: var(--gold);
  font-weight: 600
}

.crumbs .sep {
  color: #c5c9d0
}

.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 5vw, 20px);
  color: var(--navy-deep);
  line-height: 1.08;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  margin-top: 10px;
}

/* ============ LAYOUT ============ */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-bottom: 60px
}

/* .sidebar{font-size:14px} */
.side-group {
  border-bottom: 1px solid var(--line-soft)
}

/* .side-head{display:flex;align-items:center;gap:11px;padding:13px 4px;cursor:pointer;font-weight:600;color:var(--navy);user-select:none} */
.side-head i.lead {
  color: var(--gold);
  font-size: 16px;
  width: 18px;
  text-align: center
}

.side-head .chev {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  transition: transform .2s
}

.side-group.open .chev {
  transform: rotate(90deg)
}

.side-group.open>.side-head {
  color: var(--gold)
}

.side-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease
}

.side-group.open .side-sub {
  max-height: 340px
}

.side-sub li a {
  display: block;
  padding: 8px 4px 8px 33px;
  color: var(--ink);
  font-size: 13.5px;
  border-left: 2px solid transparent
}

.side-sub li a:hover {
  color: var(--navy);
  border-left-color: var(--gold);
  background: var(--bg-alt)
}

.side-sub li a.active {
  color: var(--navy);
  font-weight: 600;
  border-left-color: var(--gold);
  background: var(--bg-alt)
}

.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  padding: 20px 20px;
  opacity: 0;
  transform: translateY(10px);
  animation: contentIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}


.lede {
  font-size: 16px;
  padding: 28px 32px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 65%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* PowerPoint-style fade-up entrance, applied on scroll-into-view via JS */
.reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1), translate .7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  translate: 0 0;
}

.sec-head.reveal {
  transition-delay: .04s;
}

.lede h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 14px
}

.lede h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 14px;
}

.lede p {
  color: var(--ink);
  text-align: justify;
  max-width: 100%;
  line-height: 2;
}

.lede>p:first-of-type::first-letter {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  float: none;
  line-height: inherit;
  margin: 0;
  color: inherit;
}

.lede a {
  color: var(--gold-deep);
}

.lede img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.lede blockquote {
  border-left: 4px solid var(--gold);
  padding: 4px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.1em;
}

.lede ul,
.lede ol {
  padding-left: 22px;
  line-height: 1.9;
}

.lede-grid {
  display: flex;
  align-items: stretch;
  gap: 32px;
}

.lede-text {
  flex: 1 1 auto;
  min-width: 0;
}

.lede-pillars {
  flex: 0 0 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform .25s ease;
}

.pillar:hover {
  transform: translateX(4px);
}

.pillar i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -6px rgba(21, 49, 92, .45);
}

.pillar span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .lede-grid {
    flex-direction: column;
  }

  .lede-pillars {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
  }

  .pillar {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 34px 0 12px;
  box-shadow: var(--shadow-sm);
}

.stat {
  background: #fff;
  padding: 24px 22px 22px;
  position: relative;
  border-top: 3px solid transparent;
  opacity: 0;
  transform: translateY(40px);

  transition:
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stats.in-view .stat {
  opacity: 1;
  translate: 0 0;
  transform: translateY(0);
}

.stats.in-view .stat:nth-child(1) {
  transition-delay: .25s;
}

.stats.in-view .stat:nth-child(2) {
  transition-delay: .50s;
}

.stats.in-view .stat:nth-child(3) {
  transition-delay: .75s;
}

.stats.in-view .stat:nth-child(4) {
  transition-delay: 1s;
}

.stat::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.stat:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  font-size: 17px;
  margin-bottom: 14px;
  box-shadow: 0 8px 16px -6px rgba(21, 49, 92, .45);
  transition: transform .25s ease;
}

.stat:hover .stat-icon {
  transform: scale(1.08) rotate(-4deg);
}

.stat .lab {
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600
}

.stat .more {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}

.stat .more:hover {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
}

.stat .fig {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--gold);
  font-size: 30px;
  line-height: 1.1;
  margin: 8px 0 6px
}

.stat .fig.small {
  font-size: 21px
}

.stat .sub {
  font-size: 12px;
  color: var(--muted)
}

.stat .sub2 {
  font-size: 14px;
  color: var(--navy);
  font-weight: 600
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 42px 0 16px;
  gap: 16px
}

.sec-head h3 {
  position: relative;
  padding-left: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--navy-deep)
}

.sec-head h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 70%;
  background: var(--gold);
  border-radius: 2px;
  transform: translateY(-50%);
}

.sec-head a {
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap
}

.sec-head a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  /* border-bottom: 2px solid #b89a5c; */
}

@media (max-width: 560px) {
  .sec-head {
    flex-wrap: wrap;
    row-gap: 6px;
  }
}

.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}

.panel:hover {
  box-shadow: var(--shadow-md);
}

/* ============ HOME TICKER (running text) ============ */
.ticker-card {
  display: flex;
  align-items: stretch;
  margin: 20px 0;
  margin-top: -10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 10px 14px;
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-label i {
  color: var(--gold-light);
  animation: tickerPulse 1.8s ease-in-out infinite;
}

@keyframes tickerPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

.ticker-track {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.ticker-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 14px 0 6px;
  border-left: 1px solid var(--line);
  margin-left: 4px;
}

.ticker-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.ticker-btn:hover {
  background: var(--bg-alt);
  color: var(--navy);
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 8px;
  color: var(--navy-deep);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.ticker-item:hover {
  color: var(--gold-deep);
  text-decoration: underline;
}

.ticker-date {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}

.ticker-sep {
  color: var(--line);
  padding: 0 18px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .ticker-card {
    flex-wrap: wrap;
  }

  .ticker-label {
    order: 1;
    padding: 7px 12px;
    margin: 10px 0 10px 10px;
    font-size: 11px;
  }

  .ticker-controls {
    order: 2;
    margin-left: auto;
    padding: 0 10px 0 4px;
    border-left: 0;
  }

  .ticker-track {
    order: 3;
    flex: 1 1 100%;
    border-top: 1px solid var(--line-soft);
  }

  .ticker-item {
    font-size: 12.5px;
    padding: 10px 6px;
  }

  .ticker-btn {
    width: 26px;
    height: 26px;
    font-size: 12.5px;
  }
}

/* ============ HOME TWO-COLUMN LAYOUT (main + Recent News sidebar) ============ */
.home-two-col {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.home-main {
  flex: 1 1 0;
  min-width: 0;
}

.home-news-sidebar {
  flex: 0 0 380px;
  min-width: 0;
  position: sticky;
  top: 110px;
}

.news-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.news-side-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s ease;
}

.news-side-item:last-child {
  border-bottom: 0;
}

.news-side-item:hover {
  background: var(--bg-alt);
}

.news-side-item:hover .news-side-title {
  color: var(--gold-deep);
}

.news-side-thumb {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-alt);
}

.news-side-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.news-side-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.news-side-date {
  font-size: 11.5px;
  color: var(--muted);
}

.news-side-title {
  margin: 2px 0 0;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy-deep);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}

.news-side-more {
  display: block;
  margin-top: 14px;
  padding: 12px;
  text-align: center;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.news-side-more:hover {
  background: var(--gold);
  color: #fff;
}

.quick-links {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  overflow: hidden;
}

.quick-links-title {
  padding: 14px 16px 10px;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-deep);
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.quick-link:hover {
  background: var(--bg-alt);
  color: var(--gold-deep);
}

.quick-link-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--navy);
  font-size: 14px;
}

.quick-link:hover .quick-link-icon {
  background: var(--gold);
  color: #fff;
}

.quick-link span:nth-child(2) {
  flex: 1 1 auto;
}

.quick-link-arrow {
  font-size: 12px;
  color: var(--line);
  transition: transform .2s ease, color .2s ease;
}

.quick-link:hover .quick-link-arrow {
  color: var(--gold-deep);
  transform: translateX(3px);
}

.fx-converter {
  margin-top: 22px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}

.fx-converter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-deep);
}

.fx-converter-title i {
  color: var(--gold-deep);
}

.fx-converter-row {
  display: flex;
  gap: 8px;
}

.fx-converter-row+.fx-converter-row {
  margin-top: 8px;
}

.fx-converter-input,
.fx-converter-select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 600;
}

.fx-converter-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 10px;
}

.fx-converter-input[readonly] {
  background: #fff;
  border-color: var(--gold-light);
  color: var(--gold-deep);
}

.fx-converter-select {
  flex: 0 0 78px;
  padding: 9px 6px;
}

.fx-converter-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 6px auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.fx-converter-swap:hover {
  background: var(--gold);
  color: #fff;
  transform: rotate(180deg);
}

.fx-converter-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.follow-card {
  margin-top: 22px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  text-align: center;
}

.follow-title {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-deep);
}

.follow-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.follow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  font-size: 15px;
  transition: transform .2s ease, background .2s ease;
}

.follow-icon:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}

.subscribe-card {
  margin-top: 22px;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.subscribe-card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(205, 184, 122, .35);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 18px;
}

.subscribe-card-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.subscribe-card-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .75);
  margin: 0 0 16px;
  line-height: 1.5;
}

.subscribe-card-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-card-form input {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 11px 16px;
  font-size: 13px;
  transition: box-shadow .2s ease;
}

.subscribe-card-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(205, 184, 122, .45);
}

.subscribe-card-form button {
  width: 100%;
  background: var(--gold-light);
  color: var(--navy-deep);
  border: none;
  padding: 11px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.subscribe-card-form button:hover {
  background: var(--gold-soft);
}

.subscribe-card-message {
  display: none;
  margin-top: 12px;
  font-size: 12px;
  color: var(--gold-light);
}

.subscribe-card-message.show {
  display: block;
}

@media (max-width: 1080px) {
  .home-two-col {
    flex-direction: column;
  }

  .home-main {
    width: 100%;
    max-width: 100%;
  }

  .home-news-sidebar {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    position: static;
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.fx {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px
}

table.fx th,
table.fx td {
  padding: 13px 18px;
  text-align: left
}

table.fx thead th {
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}

table.fx thead th span {
  display: block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px
}

table.fx tbody tr {
  border-bottom: 1px solid var(--line-soft);
  transition: background .15s, opacity .5s ease, translate .5s ease;
}

.reveal table.fx tbody tr {
  opacity: 0;
  translate: 0 10px;
}

.reveal.in-view table.fx tbody tr {
  opacity: 1;
  translate: 0 0;
}

.reveal.in-view table.fx tbody tr:nth-child(1) {
  transition-delay: .08s;
}

.reveal.in-view table.fx tbody tr:nth-child(2) {
  transition-delay: .14s;
}

.reveal.in-view table.fx tbody tr:nth-child(3) {
  transition-delay: .2s;
}

.reveal.in-view table.fx tbody tr:nth-child(4) {
  transition-delay: .26s;
}

.reveal.in-view table.fx tbody tr:nth-child(5) {
  transition-delay: .32s;
}

.reveal.in-view table.fx tbody tr:nth-child(6) {
  transition-delay: .38s;
}

table.fx tbody tr:nth-child(even) {
  background: var(--bg-alt);
}

table.fx tbody tr:hover {
  background: #f3ecdb;
}

table.fx tbody tr:last-child {
  border-bottom: 0
}

table.fx td.cur {
  font-weight: 600;
  color: var(--navy)
}

table.fx td .ccode {
  display: inline-flex;
  align-items: center;
  gap: 9px
}

table.fx td .ccode .fg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08)
}

.chg {
  font-weight: 700
}

.chg.up {
  color: var(--pos)
}

.chg.down {
  color: var(--neg)
}

.fx-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 18px;
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  background: var(--bg-alt)
}

.fx-foot a {
  color: var(--blue);
  font-weight: 600
}

.fx-foot-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap
}

.chart-card {
  padding: 22px 24px 16px
}

.chart-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px
}

.chart-top h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--navy-deep)
}

.legend {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px
}

.legend i {
  width: 22px;
  height: 3px;
  background: var(--gold);
  display: inline-block;
  border-radius: 2px
}

.chart-stat {
  text-align: right;
}

.chart-stat-value {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--navy-deep);
}

.chart-stat-value span {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 2px;
}

.chart-stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--bg-alt);
  color: var(--gold-deep);
  font-size: 11.5px;
  font-weight: 600;
}

.chart-stat-trend i {
  font-size: 10px;
}

.chartbox {
  position: relative
}

.fx-tip {
  position: absolute;
  background: var(--navy-deep);
  color: #fff;
  font-size: 11.5px;
  padding: 5px 9px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -130%);
  white-space: nowrap;
  transition: opacity .12s;
  z-index: 5
}

.events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.event {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s, transform .25s, opacity .6s ease, translate .6s ease;
  opacity: 0;
  translate: 0 22px;
}

.events.in-view .event {
  opacity: 1;
  translate: 0 0;
}

.events.in-view .event:nth-child(1) {
  transition-delay: .05s;
}

.events.in-view .event:nth-child(2) {
  transition-delay: .16s;
}

.events.in-view .event:nth-child(3) {
  transition-delay: .27s;
}

.event:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--line);
}

.event .thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden
}

.event .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.event:hover .thumb img {
  transform: scale(1.06);
}

.event .thumb span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: var(--gold);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 40px
}

.event .thumb .yr {
  position: absolute;
  right: -6px;
  bottom: -14px;
  font-family: var(--serif);
  font-size: 62px;
  color: rgba(255, 255, 255, .08)
}

.event .body {
  padding: 16px 18px 20px
}

.event .date {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 7px
}

.event h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4
}

/* ============ FOOTER ============ */
footer {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 78%, var(--navy-black) 100%);
  color: white;
  margin-top: 24px;
  padding: 64px 0 0;
  border-top: 3px solid var(--gold);
}

.footer-top {

  display: flex;

  justify-content: space-between;

  gap: 40px;

  flex-wrap: wrap;

}

.footer-brand {

  display: flex;

  align-items: flex-start;

  gap: 20px;

  flex: 0 0 auto;

  max-width: 320px;

}

.footer-nav-grid {

  display: grid;

  grid-template-columns: repeat(4, minmax(140px, 1fr));

  gap: 32px;

  flex: 1;

  max-width: 720px;

}

.footer-nav-col h6 {

  font-size: 11.5px;

  letter-spacing: .1em;

  text-transform: uppercase;

  font-weight: 700;

  color: var(--gold-light);

  margin-bottom: 16px;

}

.footer-nav-col ul li {

  margin-bottom: 11px;

}

.footer-nav-col ul li a {

  font-size: 13.5px;

  color: rgba(255, 255, 255, .82);

  transition: color .18s, padding-left .18s;

}

.footer-nav-col ul li a:hover {

  color: var(--gold-light);

  padding-left: 3px;

}

@media (max-width: 900px) {

  .footer-nav-grid {

    grid-template-columns: repeat(2, 1fr);

    max-width: none;

    width: 100%;

  }

}

.footer-brand h2 {

  font-family: var(--serif);
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;

}

.footer-brand p {

  opacity: .9;
}

.footer-logo {

  width: 80px;
}

.footer-divider {

  border-top: 1px solid rgba(255, 255, 255, .18);

  margin: 30px 0;

}

.footer-subscribe {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 50px;

  flex-wrap: wrap;

}

.subscribe-left {

  display: flex;

  gap: 20px;

  align-items: center;

}

.subscribe-left h3 {

  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  color: #fff;
  margin-bottom: 4px;

}

.subscribe-left p {

  font-size: 13.5px;
  color: rgba(255, 255, 255, .78);
  max-width: 38ch;

}

.subscribe-icon {

  width: 60px;

  height: 60px;

  border: 1.5px solid rgba(205, 184, 122, .35);

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 24px;

  color: var(--gold-light);

  flex-shrink: 0;

}

.subscribe-right form {

  display: flex;

  gap: 15px;

  flex-wrap: wrap;

}

.subscribe-right input {

  width: 320px;

  border: none;

  border-radius: 50px;

  padding: 14px 20px;

  transition: box-shadow .2s;

}

.subscribe-right input:focus {

  outline: none;

  box-shadow: 0 0 0 3px rgba(205, 184, 122, .45);

}

.subscribe-right button {

  background: var(--gold-light);

  color: var(--navy);

  border: none;

  padding: 14px 28px;

  border-radius: 50px;

  font-weight: 600;

  cursor: pointer;

  transition: .3s;

}

.subscribe-right button:hover {

  background: var(--gold-soft);

}

.footer-bottom {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 20px;

}

.footer-links {

  display: flex;

  gap: 25px;

  flex-wrap: wrap;

}

.footer-links a {

  color: white;

  text-decoration: none;

}

.footer-social {

  display: flex;

  align-items: center;

  gap: 18px;

}

.footer-social a {

  width: 42px;

  height: 42px;

  border: 2px solid var(--gold-light);

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  color: var(--gold-light);

  text-decoration: none;

  transition: .3s;

}

.footer-social a:hover {

  background: var(--gold-light);

  color: var(--navy);

  box-shadow: 0 8px 18px -6px rgba(205, 184, 122, .55);

}

.footer-copy {

  text-align: center;

  margin-top: 30px;

  padding-bottom: 26px;

  opacity: .65;

  font-size: 12.5px;

  letter-spacing: .02em;

}

@media(max-width:768px) {

  .footer-subscribe {

    flex-direction: column;

    align-items: flex-start;

  }

  .footer-bottom {

    flex-direction: column;

    align-items: flex-start;

  }

}


.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0 40px
}

.foot-brand strong {
  font-family: var(--serif);
  font-weight: 400;
  color: #fff;
  font-size: 18px;
  display: block;
  margin-bottom: 6px
}

.foot-brand p {
  font-size: 13px;
  color: #9aa6bb;
  max-width: 30ch
}

.foot-col h6 {
  color: #fff;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700
}

.foot-col li {
  margin-bottom: 10px
}

.foot-col a {
  font-size: 13.5px;
  color: white;
  transition: .15s
}

.foot-col a:hover {
  color: var(--gold-soft)
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px
}

.socials a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cdd5e2;
  font-size: 15px;
  transition: .18s
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  font-size: 12.5px;
  color: #8b97ad;
  text-align: center
}

/* ============ MOBILE NAV ============ */
.burger {
  display: none;
  background: none;
  border: 0;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
  transition: color .2s
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: #fff;
  z-index: 110;
  transform: translateX(100%);
  transition: transform .28s;
  overflow-y: auto;
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .4)
}

.drawer.open {
  transform: none
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(12, 34, 68, .45);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
  z-index: 100
}

.scrim.open {
  opacity: 1;
  visibility: visible
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line)
}

.drawer-head strong {
  font-family: var(--serif);
  color: var(--navy-deep);
  font-size: 18px
}

.macc {
  border-bottom: 1px solid var(--line-soft)
}

.macc a {
  font-size: 15px;
}

.macc>button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer
}

.macc>button .chev {
  font-size: 12px;
  color: var(--muted);
  transition: transform .2s
}

.macc.open>button .chev {
  transform: rotate(90deg)
}

.macc-body {
  display: none;
  padding: 0 22px 14px
}

.macc.open .macc-body {
  display: block
}

.macc-body h6 {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 12px 0 8px
}

.macc-body a {
  display: block;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--ink)
}


.drawer-foot {
  padding: 15px;
}

.drawer-foot .lang {
  justify-content: flex-start;
  margin-top: 10px
}

@media (max-width:1080px) {
  .stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .events {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:900px) {
  .main-nav-row {
    display: none
  }

  .burger {
    display: block
  }

  .utility .util-links,
  .utility .pills {
    display: none
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }

  /* .hero-cap{
    padding:110px 0 110px
  } */
  .hero-foot .wrap {
    flex-direction: column;
    align-items: stretch
  }

  .dots {
    justify-content: center;
    order: 2
  }

  .upnext {
    width: 100%;
    display: none;
  }
}

@media (max-width:560px) {
  .wrap {
    padding: 0 18px
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }

  .events {
    grid-template-columns: 1fr
  }

  .foot-grid {
    grid-template-columns: 1fr
  }

  .brand-text strong {
    font-size: 19px
  }

  .brand-text span {
    letter-spacing: .22em
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto
  }

  .hero-slide {
    transition: none
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px
}

.stat:hover {
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  cursor: pointer;
  z-index: 1;
}

.lang .active {
  color: #cdb87a;
}

@media (max-width: 768px) {
  .money {
    flex: 0 0 100%;
  }

  .hero-slide {
    background-position: center center;
  }

  .home-hero {
    min-height: clamp(420px, 65vh, 560px);

  }

  .wrap {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  /* .hero-inner {
    width: 100%;
    padding: 0 15px;
  } */

  .upnext {
    display: none;
  }

  body:not(.home-mode) .page-pad {
    padding-top: 60px;
  }
}

.money {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.money:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.money .thumb {
  position: relative;
  aspect-ratio: 5 / 2;
  overflow: hidden;
}

.money .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.money:hover .thumb img {
  transform: scale(1.05);
}

.money .badge-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.money .body {
  padding: 16px 18px 20px;
}

.money .body h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.money .body .subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  color: #888;
}

.table-bctl {
  width: 100%;
  border-collapse: collapse;
  background: #f7f5ef;
}

.table-bctl th {
  background: #8d1f1f;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 12px 15px;
  text-align: left;
}

.table-bctl td {
  padding: 15px;
  vertical-align: top;
}

.table-bctl tr:nth-child(odd):not(:first-child) {
  background: #c9bea3;
}

.table-bctl td:first-child {
  width: 50%;
  font-weight: 500;
}

.table-bctl td:last-child {
  width: 50%;
}

.layout {
  display: flex;
  gap: 30px;
}

.sidebar {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  height: fit-content;
  align-self: flex-start;
}

.m-sidebar,
.exchange {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.exchange-card {
  text-align: center;
}

.exchange-card h3 {
  margin: 0;
  font-size: 24px;
  color: #7c6330;
  font-weight: 700;
}

.exchange-date {
  margin-bottom: 15px;
  color: #555;
  font-size: 14px;
}

.rate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rate-item {
  text-align: center;
}

.rate-item img {
  width: 100%;
  max-width: 95px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin: auto;
}

.currency {
  margin-top: 6px;
  font-weight: 600;
  color: #15315c;
}

.value {
  font-size: 18px;
  color: #9a7c3c;
}

.side-group {
  border-bottom: 1px solid #f1f1f1;
}

.side-group:last-child {
  border-bottom: none;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-weight: 600;
  color: #15315c;
  cursor: pointer;
  transition: .3s;
  font-size: 16px;
}

.side-head:hover {
  background: #f8fafc;
}

.side-head .lead {
  margin-right: 10px;
  font-style: normal;
}

.side-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 10px;
}

.side-sub li a {
  display: block;
  padding: 10px 16px 10px 42px;
  color: #4b5563;
  text-decoration: none;
  transition: .3s;
  border-left: 3px solid transparent;
}

.side-sub li a:hover {
  background: #f8fafc;
  color: #15315c;
  border-left-color: #9a7c3c;
}

.chev {
  font-size: 12px;
  transition: .3s;
}

main {
  flex: 1;
  min-width: 0;
}

@media (max-width:768px) {

  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }
}

.mega-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-top: 20px;
}

.mega-tab {
  position: relative;
  background: none;
  border: 0;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s;
}

.mega-tab::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.mega-tab:hover {
  color: var(--navy);
}

.mega-tab:hover::after {
  transform: scaleX(.6);
}

.mega-tab.active {
  color: var(--navy);
}

.mega-tab.active::after {
  transform: scaleX(1);
}

.mega-panel {
  display: none;
}

.mega-panel.active {
  display: block;
  animation: megaColIn .25s ease;
}

/* Submenu iha submenu ida */
.has-sub .sub-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  padding-left: 14px;
  padding-top: 5px;
}

.has-sub.open .sub-list {
  max-height: 600px;
}

.sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.sub-chev {
  display: inline-block;
  font-size: 10px;
  color: var(--gold);
  transition: transform .2s;
}

.has-sub.open .sub-chev {
  transform: rotate(90deg);
}

.m-sub-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  padding-left: 12px;
}

.m-sub.open .m-sub-body {
  max-height: 500px;
}

.m-sub-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-sub.open .m-sub-toggle .chev {
  transform: rotate(90deg);
}

.m-sidebar .side-group:hover .side-sub {
  max-height: 340px;
}

.m-sidebar .side-group:hover .chev {
  transform: rotate(90deg);
}

.m-sidebar .side-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.card-news {
  height: 400px;
  line-height: 2;
  padding: 1px;
  border: 1px solid #cdb87a;
  border-radius: 5px;
  background-color: #f9f9f9;
  overflow: hidden;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, .08);

}

.card-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.podcast-modal.open {
  display: flex;
}

.podcast-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
}

.podcast-box {
  position: relative;
  z-index: 2;
  width: min(900px, 92%);
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}

.podcast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.podcast-video {
  position: relative;
  aspect-ratio: 16 / 9;
  /* video proporsional */
}

.podcast-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* start News */
.news-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.news-title {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.news-meta .dot {
  color: var(--line);
}

.news-meta i {
  color: var(--gold);
  margin-right: 6px;
}

.news-content {
  /* font-size: 19px; */
  line-height: 1.9;
  color: #444;
  opacity: 0;
  transform: translateY(15px);

  animation: contentIn .45s .15s forwards;
  /* margin-top: 40px; */
}

.news-content a {
  color: var(--gold-deep);
}

.news-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 4px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.1em;
}

@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {

    opacity: 1;
    transform: translateY(0);

  }

}

.news-content p {
  margin-bottom: 22px;
}

.news-sidebar a {
  cursor: pointer;
}

.hero-news {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}

.hero-news img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  animation: heroIn .45s ease forwards;
}

@keyframes heroIn {

  from {
    opacity: 0;
    transform: scale(1.03);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }

}

.news-content img {
  max-width: 100%;
  border-radius: 5px;
}

.news-sidebar {
  position: sticky;
  top: 110px;
}

.news-sidebar .card {
  border-radius: 5px;
}

.news-sidebar h5 {
  color: #123c73;
}

.side-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  border-top: 3px solid var(--gold);
}

.side-card-title {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.side-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
}

.side-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-info-list span {
  color: var(--muted);
}

.side-info-list strong {
  color: var(--navy);
}

.share-row {
  display: flex;
  gap: 10px;
}

.share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--navy);
  font-size: 18px;
  transition: .25s ease;
}

.share-btn:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.related-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-item img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: transform .3s ease;
}

.related-item:hover img {
  transform: scale(1.06);
}

.related-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  transition: color .2s ease;
}

.related-item:hover .related-title {
  color: var(--gold-deep);
}

.related-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.card img {
  transition: .35s;
}

.card img:hover {
  transform: scale(1.02);
}

#news-content {
  transition: opacity .25s ease-in-out,
    transform .25s ease-in-out;
}

#news-content.htmx-swapping {
  opacity: 0;
  transform: translateY(8px);
}

#news-content.htmx-settling {
  opacity: 1;
  transform: translateY(0);
}

#news-list {
  transition: opacity .2s ease, transform .2s ease;
}

#news-list.htmx-swapping {
  opacity: 0;
  transform: translateY(8px);
}

#news-list.htmx-settling {
  opacity: 1;
  transform: translateY(0);
}

.news-wrapper {
  position: relative;
}

/* page loading */
#news-loading {
  opacity: 0;
  visibility: hidden;
  transition: .25s;
}

#news-loading.htmx-request {
  opacity: 1;
  visibility: visible;
}

.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(3px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 99999;

  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s;
}

.page-loader.show {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease;
}

.loader-card {
  text-align: center;
  background: #fff;
  padding: 28px 36px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
  animation: loaderIn .25s ease;
}

.loader-card p {
  margin-top: 12px;
  margin-bottom: 0;
  color: #555;
  font-weight: 600;
}

.loader-card .spinner-border {
  width: 42px;
  height: 42px;
  border-width: 4px;
  color: #c8a84d;
}

.loader-circle {
  width: 80px;
  height: 80px;
  margin: auto;

  border: 4px solid #ececec;
  border-top: 4px solid #c8a84d;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);

  display: flex;
  justify-content: center;
  align-items: center;

  animation: spin .9s cubic-bezier(.55, .1, .45, .9) infinite;
}

.loader-logo {
  width: 42px;
  height: 42px;
  animation: loaderPulse 1.8s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .55;
  }
}

/* end loading */


@keyframes heroFade {

  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }

}

@keyframes loaderIn {
  from {
    opacity: 0;
    transform: scale(.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* end News */

/* start search */
.search-link {
  display: flex;
  align-items: center;
  padding: 6px;
  color: var(--navy);
  transition: color .25s ease;
}

.search-link:hover {
  color: var(--gold);
}

body.home-mode:not(.scrolled) .search-link {
  color: #fff;
}

body.home-mode.scrolled .search-link {
  color: var(--navy);
}

.search-box {
  position: relative;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(280px, 90vw);
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm, 0 6px 20px rgba(0, 0, 0, .12));
  padding: 6px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}

.search-box.open .search-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-dropdown input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 6px;
  font-size: 14px;
  color: var(--navy);
}

.search-dropdown button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--navy);
  padding: 4px;
  cursor: pointer;
}

.search-dropdown button:hover {
  color: var(--gold);
}

/* end search */

/* start pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 50px 0;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #15315c;
  transition: .25s;
}

.pagination a:hover {
  background: #9a7c3c;
  color: #fff;
}

.pagination .active {
  background: #9a7c3c;
  color: #fff;
  border-color: #9a7c3c;
}

/* end pagination */
/* start laws */
.law-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.law-card {

  position: relative;

  display: flex;
  align-items: center;

  background: #fff;

  border: 1px solid var(--line-soft);
  border-left: 3px solid transparent;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);

  padding: 20px;

  transition: .25s;
}

.law-card:hover {

  border-left-color: var(--gold);
  transform: translateY(-4px);

  box-shadow: var(--shadow-md);

}

.law-year-badge {

  position: absolute;
  top: -10px;
  right: 18px;

  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;

  padding: 4px 12px;
  border-radius: 20px;

  box-shadow: 0 3px 8px rgba(154, 124, 60, .35);
}

.law-icon {

  width: 70px;
  height: 70px;
  flex-shrink: 0;

  background: linear-gradient(135deg, #fdecec, #fff5f5);
  border: 1px solid #f8d7da;

  border-radius: var(--radius-md);

  display: flex;
  align-items: center;
  justify-content: center;

  margin-right: 22px;

  transition: .25s;
}

.law-card:hover .law-icon {
  transform: scale(1.05);
}

.law-icon i {
  font-size: 42px;
  color: #dc3545;
}

.law-content {
  flex: 1;
}

.law-content h3 {

  margin-bottom: 8px;

  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);

}

.law-content p {

  margin: 0;

  color: #666;

}

.law-subtitle {

  display: inline-block;

  background: rgba(154, 124, 60, .1);
  color: var(--gold-deep);

  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2px;

  padding: 4px 12px;
  border-radius: 20px;

  margin-bottom: 10px;

}

.law-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-view,
.btn-download {

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;

  border-radius: var(--radius-sm);

  font-size: 13px;
  font-weight: 600;

  text-decoration: none;

  transition: .25s;

}

.btn-view {

  background: var(--gold);
  color: white;

}

.btn-view:hover {

  background: var(--gold-deep);
  color: white;

  transform: translateY(-2px);

}

.btn-download {

  background: #fff;

  color: var(--navy);

  border: 1px solid var(--line);

}

.btn-download:hover {

  background: var(--bg-alt);

  color: var(--navy);

  transform: translateY(-2px);

}

.btn-view i,
.btn-download i {

  font-size: 18px;

}

.law-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  color: #6c757d;
  font-size: 14px;
}

.law-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.law-meta i {
  color: var(--gold);
  font-size: 16px;
}

.law-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  flex-wrap: wrap;

  background: #fff;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);

  margin-bottom: 24px;
}

.law-search {
  position: relative;
  width: 100%;
  flex: 1;
  min-width: 280px;
}

.law-search i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 18px;
}

.law-filter select {

  padding: 12px 18px;

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  min-width: 160px;

}

.law-count {

  font-size: 15px;

  color: #666;

  white-space: nowrap;

}

.law-count strong {

  color: var(--navy);

  font-size: 17px;

}


.law-search input {

  width: 100%;

  padding: 12px 15px 12px 42px;

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  font-size: 15px;

  transition: .25s;

}

.law-search input:focus {

  outline: none;

  border-color: var(--gold);

  box-shadow: 0 0 0 4px rgba(154, 124, 60, .15);

}

/* Mobile */
@media (max-width:768px) {

  .law-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .law-year-badge {
    top: 14px;
    right: 14px;
  }

  .law-content {
    width: 100%;
    margin-top: 15px;
  }

  .law-count {

    text-align: center;

  }

  .law-actions {

    width: 100%;
    margin-top: 20px;

    display: flex;
    flex-direction: column;
    gap: 10px;

  }

  .btn-view,
  .btn-download {

    width: 100%;
    justify-content: center;

  }

  .law-icon {

    width: 70px;
    height: 70px;

  }

  .law-icon i {

    font-size: 42px;

  }

  .law-toolbar {

    flex-direction: column;

    align-items: stretch;

  }

  .law-search,
  .law-filter {

    width: 100%;

  }

  .law-count {

    text-align: center;

  }

  .law-filter,
  .law-filter select {

    width: 100%;

  }



}

/* start report group (title card > sub-title cards) */
.report-group {

  background: #fff;

  border: 1px solid var(--line-soft);
  border-left: 3px solid transparent;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);

  padding: 22px 24px;

  transition: .25s;
}

.report-group:hover {
  border-left-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.report-group-header {

  display: flex;
  align-items: center;
  gap: 16px;

  padding-bottom: 16px;
  margin-bottom: 0;

  border-bottom: 2px solid var(--bg-alt);

  cursor: pointer;
  user-select: none;
}

.report-group.active .report-group-header {
  margin-bottom: 20px;
}

.report-group-chevron {

  margin-left: auto;
  flex-shrink: 0;

  font-size: 24px;
  color: var(--gold-deep);

  transition: transform .25s ease;
}

.report-group.active .report-group-chevron {
  transform: rotate(180deg);
}

.report-group-icon {

  width: 52px;
  height: 52px;
  flex-shrink: 0;

  background: linear-gradient(135deg, var(--navy), #1f3a5f);
  color: #fff;

  border-radius: var(--radius-md);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;

  box-shadow: 0 4px 10px rgba(15, 40, 70, .25);
}

.report-group-header h3 {

  margin: 0 0 4px;

  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);

}

.report-group-count {

  display: inline-block;

  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-deep);

  background: rgba(154, 124, 60, .1);

  padding: 2px 10px;
  border-radius: 20px;

}

.sub-card-grid {

  display: none;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;

}

.report-group.active .sub-card-grid {
  display: grid;
}

.sub-card {

  position: relative;

  display: flex;
  flex-direction: column;
  gap: 10px;

  background: var(--bg-alt);

  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);

  padding: 16px;

  transition: .25s;
}

.sub-card:hover {

  background: #fff;
  border-color: var(--gold);

  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);

}

.sub-card-year {

  position: absolute;
  top: 14px;
  right: 14px;

  background: rgba(154, 124, 60, .12);
  color: var(--gold-deep);

  font-size: 11px;
  font-weight: 700;

  padding: 3px 9px;
  border-radius: 12px;

}

.sub-card-top {

  display: flex;
  align-items: center;
  gap: 12px;

  padding-right: 46px;
}

.sub-card-icon {

  width: 42px;
  height: 42px;
  flex-shrink: 0;

  background: linear-gradient(135deg, #fdecec, #fff5f5);
  border: 1px solid #f8d7da;

  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-card-icon i {
  font-size: 22px;
  color: #dc3545;
}

.sub-card h4 {

  margin: 0;

  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;

}

.sub-card .law-meta {

  font-size: 12.5px;
  gap: 10px;
  margin-top: 0;

}

.sub-card-actions {

  display: flex;
  gap: 8px;
  margin-top: 2px;

}

.sub-card-actions a {

  flex: 1;
  justify-content: center;

  padding: 7px 10px;
  font-size: 12.5px;

}

.sub-card-actions a i {
  font-size: 15px;
}

/* Mobile */
@media (max-width:768px) {

  .report-group {
    padding: 18px;
  }

  .sub-card-grid {
    grid-template-columns: 1fr;
  }

  .sub-card-actions {
    flex-direction: column;
  }

}
/* end report group */

.section {
  background: #fff;
  /* border-radius: 5px; */
  padding: 10px;
  /* margin-bottom: 35px; */
  /* box-shadow: 0 6px 25px rgba(0, 0, 0, .08); */
  border: 1px solid var(--line);
}

/* end laws */
/* start about pf */
.pf-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f3f3f3;
}

.pf-title i {
  color: #c9a227;
  font-size: 28px;
}

.pf-title h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #0b2d52;
}

.sec-body p {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  text-align: justify;
}

/* images */
.chart-box {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 25px;
  margin: 20px 0;
  text-align: center;
}

.chart-box img {
  width: 100%;
  max-width: 850px;
}

.chart-box small {
  display: block;
  margin-top: 15px;
  color: #777;
}

/* end about pf */
.member-list {
  list-style: none;
  padding-left: 20px;
  margin-top: -15px;
}

.member-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 2px;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}

.member-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 2px;
  color: #c9a227;
  /* Gold */
  font-size: 12px;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.about-menu .mega-col ul {
  border-left: 2px solid #d9d9d9;
  padding-left: 20px;
  margin-top: 15px;
}

.about-menu .mega-col li {
  margin: 10px 0;
  list-style: none;
}

.about-menu .mega-col a {
  display: block;
  text-decoration: none;
}

/* ============ CHATBOT ============ */
.chatbot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
}

.chatbot-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 12px 28px -8px rgba(10, 26, 51, .5);
  transition: transform .2s, box-shadow .2s;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(10, 26, 51, .55);
}

.chatbot-toggle i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .2s, transform .2s;
}

#chatbotIconClose {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.chatbot.open #chatbotIconOpen {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.chatbot.open #chatbotIconClose {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0);
}

.chatbot-window {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 340px;
  max-width: calc(100vw - 48px);
  height: 460px;
  max-height: 70vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 28px 56px -20px rgba(10, 26, 51, .45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.chatbot.open .chatbot-window {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.chatbot-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  flex-shrink: 0;
}

.chatbot-avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.chatbot-head div {
  flex: 1;
  min-width: 0;
}

.chatbot-head strong {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.chatbot-head span {
  display: block;
  font-size: 11.5px;
  color: var(--gold-light);
  margin-top: 2px;
}

.chatbot-close {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
  transition: color .2s;
}

.chatbot-close:hover {
  color: #fff;
}

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-alt);
}

.chatbot-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

.chatbot-msg a {
  overflow-wrap: break-word;
  word-break: break-all;
}

.chatbot-msg.bot {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.chatbot-msg.user {
  align-self: flex-end;
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-msg.typing {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .05em;
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: flex-start;
  max-width: 100%;
}

.chatbot-chip {
  border: 1px solid var(--gold-soft);
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-family: var(--sans);
  padding: 6px 12px;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.chatbot-chip:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.chatbot-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.chatbot-input input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-family: var(--sans);
}

.chatbot-input input:focus {
  outline: none;
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(205, 184, 122, .3);
}

.chatbot-input button {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 14px;
  cursor: pointer;
  transition: background-color .2s;
}

.chatbot-input button:hover {
  background: var(--gold-light);
}

@media (max-width: 480px) {
  .chatbot {
    right: 16px;
    bottom: 16px;
  }

  .chatbot-window {
    width: calc(100vw - 32px);
    height: 65vh;
  }
}