/* ================= Premium Design Override Stylesheet ================= */
:root {
  --ink: #101418;
  --gray-7: #39414C;
  --gray-5: #66707D;
  --gray-3: #9AA3AE;
  --line: #E4E7EB;
  --line-dark: #101418;
  --bg: #FFFFFF;
  --bg-soft: #F6F7F8;
  --teal: #0E756B;
  --teal-dark: #0A5A52;
  --teal-pale: #E9F3F2;
  --amber: #B45309;
  --red: #C0362C;
  --green: #177245;
  --sans: "Libre Franklin", -apple-system, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

html[data-bs-theme="dark"] {
  --ink: #FFFFFF;
  --gray-7: #AEB4BD;
  --gray-5: #9AA3AE;
  --gray-3: #66707D;
  --line: #2A313B;
  --line-dark: #FFFFFF;
  --bg: #101418;
  --bg-soft: #1B2129;
  --teal: #4CC3B5;
  --teal-dark: #0E756B;
  --teal-pale: #1A3E3B;
  --amber: #F2B33D;
  --red: #F2726A;
  --green: #4CC38A;
}

/* Base resets & typography overrides */
body {
  background-color: var(--bg) !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid var(--teal) !important;
  outline-offset: 2px;
}

/* Thumbs & aspect ratios */
.thumb {
  background: #fff center/contain no-repeat;
  display: block;
}
.r16-9 { aspect-ratio: 16/9; }
.r3-2 { aspect-ratio: 3/2; }
.r1-1 { aspect-ratio: 1/1; }

.kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}
.kicker.warm {
  color: var(--amber);
}
.time {
  font-size: 12px;
  color: var(--gray-3);
}
.dek {
  font-size: 13.5px;
  color: var(--gray-5);
  line-height: 1.55;
}

/* Buttons */
.btn-premium {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-premium:hover {
  border-color: var(--gray-3);
  color: var(--ink) !important;
}
.btn-premium.solid {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff !important;
}
.btn-premium.solid:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

/* Header (Utility) override styles */
.header {
  border-bottom: none !important;
  background-color: var(--bg) !important;
}
.topbar {
  background: var(--ink) !important;
  color: #B7BCC4 !important;
  font-size: 12px !important;
  height: 34px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}
.topbar .wrap {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
}
.topbar nav {
  display: flex !important;
  gap: 20px !important;
}
.topbar a {
  color: #B7BCC4 !important;
  font-weight: 500 !important;
}
.topbar a:hover {
  color: #fff !important;
}
.topbar a.hl {
  color: #F2B33D !important;
  font-weight: 600 !important;
}

/* Masthead branding override styling */
.head-back {
  background-color: var(--bg) !important;
  /* padding: 26px 0 18px !important; */
  border-bottom: 1px solid var(--line) !important;
}
.masthead-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.mast-left-stats {
  font-size: 12.5px;
  color: var(--gray-5);
}
.mast-left-stats b {
  display: block;
  color: var(--ink);
  font-weight: 700;
}
.brand-center {
  text-align: center;
}
.brand-center a {
  display: inline-block;
}
.brand-center h1 {
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.brand-center h1 em {
  font-style: normal;
  color: var(--teal);
}
.brand-center p {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray-5);
  margin-top: 6px;
  margin-bottom: 0;
}
.mast-right-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

/* Main Navbar override styling */
.navbar-expand-lg {
  position: sticky !important;
  top: 0;
  z-index: 1000 !important;
  background-color: var(--bg) !important;
  border-bottom: 2px solid var(--ink) !important;
  padding: 0 !important;
}
.navbar-expand-lg .container {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  position: relative;
  max-width: 1280px;
  padding: 0 24px;
}
.navbar-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  scrollbar-width: none;
}
.navbar-nav::-webkit-scrollbar {
  display: none;
}
.navbar-nav .nav-item {
  white-space: nowrap;
}
.navbar-nav .nav-link {
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: .02em !important;
  padding: 14px 8px !important;
  color: var(--gray-7) !important;
  border-bottom: 3px solid transparent !important;
  transition: color .12s, border-color .12s !important;
}
.navbar-nav .nav-link:hover {
  color: var(--ink) !important;
}
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link.active {
  color: var(--ink) !important;
  border-bottom-color: var(--teal) !important;
}

/* Theme Toggle inside nav */
#themeToggle {
  border: 1px solid var(--line) !important;
  background: var(--bg) !important;
  color: var(--ink) !important;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
#themeToggle:hover {
  border-color: var(--gray-3) !important;
}

/* Zone header layout */
.zone-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.zone-header h2 {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}
.zone-header .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.zone-header a {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}
.zone-header a:hover {
  text-decoration: underline !important;
}

/* Zone generic container padding */
.zone-section {
  padding: 40px 0 0;
  background: var(--bg);
}

/* ================= 1. Top stories: 3-zone grid ================= */
.top {
  padding: 30px 0 36px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.top-grid {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 0;
}
.top-col {
  padding: 0 28px;
}
.top-col:first-child {
  padding-left: 0;
  border-right: 1px solid var(--line);
}
.top-col:last-child {
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.col-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-5);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.col-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.6s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.brief {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.brief:last-child {
  border-bottom: none;
}
.brief h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}
.brief h3 a:hover {
  color: var(--teal) !important;
}
.brief .time {
  display: block;
  margin-top: 5px;
}

.lead-story .thumb {
  margin-bottom: 16px;
  border-radius: 4px;
}
.lead-story .kicker {
  display: block;
  margin-bottom: 8px;
}
.lead-story h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 12px;
}
.lead-story h2 a:hover {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
.lead-story .standfirst {
  font-family: var(--serif);
  font-size: 16.5px;
  color: var(--gray-7);
  line-height: 1.55;
  margin-bottom: 10px;
}
.lead-story .time b {
  color: var(--amber);
  font-weight: 700;
}

.an-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.an-item:last-child {
  border-bottom: none;
}
.an-item h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  margin: 5px 0 4px;
}
.an-item h3 a:hover {
  color: var(--teal) !important;
}
.an-item .who {
  font-size: 12px;
  color: var(--gray-5);
}

/* ================= 2. Market Data strip ================= */
.data {
  background: #535353;
  color: #C9CED6;
}
.data-grid {
  display: grid;
  grid-template-columns: auto repeat(5, 1fr) auto;
  align-items: center;
  gap: 0;
}
.data-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #F2B33D;
  padding: 14px 22px 14px 0;
  border-right: 1px solid #2A313B;
  white-space: nowrap;
}
.data-cell {
  padding: 14px 22px;
  border-right: 1px solid #2A313B;
  font-size: 12.5px;
}
.data-cell b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-top: 1px;
}
.d-up { color: #4CC38A; }
.d-down { color: #F2726A; }
.data-link {
  padding-left: 22px;
  font-size: 12px;
  font-weight: 700;
  color: #fff !important;
  white-space: nowrap;
}
.data-link:hover {
  text-decoration: underline !important;
}

/* ================= 3. Latest news cards ================= */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.card-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: transparent;
  border: none;
  padding: 0;
}
.card-item .thumb {
  margin-bottom: 3px;
  border-radius: 4px;
}
.card-item h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0;
}
.card-item h3 a:hover {
  color: var(--teal) !important;
}
.card-item .time {
  margin-top: auto;
}

/* ================= 4. Split zone: leadership + policy ================= */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
}
.split-main {
  padding-right: 34px;
  border-right: 1px solid var(--line);
}
/* .split-side {
  padding-left: 34px;
} */
.qa-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.qa-item:first-of-type {
  padding-top: 0;
}
.qa-item:last-of-type {
  border-bottom: none;
}
.qa-item .thumb {
  border-radius: 4px;
}
.qa-item h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.28;
  margin: 4px 0 6px;
}
.qa-item h3 a:hover {
  color: var(--teal) !important;
}

.side-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 4px;
}
.pol-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.pol-item:last-child {
  border-bottom: none;
}
.pol-item .kicker {
  font-size: 10.5px;
}
.pol-item h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 4px;
  margin-bottom: 0;
}
.pol-item h3 a:hover {
  color: var(--teal) !important;
}
.pol-item .time {
  display: block;
  margin-top: 5px;
}
.side-more {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal) !important;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  margin-top: 16px;
  transition: all 0.15s;
}
.side-more:hover {
  background: var(--teal-pale);
}

/* ================= 5. Investor corner ================= */
.invest {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 44px;
  padding: 40px 0 44px;
}
.panels-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 26px;
}
.panel-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.panel-card h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-top: 0;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-card h3 a {
  font-size: 11px;
  color: var(--teal) !important;
  letter-spacing: .04em;
}
.ft-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.ft-row:last-child {
  border-bottom: none;
}
.ft-row .co {
  font-weight: 700;
}
.ft-row .sub {
  display: block;
  font-size: 11px;
  color: var(--gray-3);
}
.ft-row .st {
  font-size: 11.5px;
  color: var(--gray-5);
}
.ft-row .amt {
  font-weight: 800;
  color: var(--green);
}
.pl-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.pl-item:last-child {
  border-bottom: none;
}
.pl-item h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}
.pl-item h4 a:hover {
  color: var(--teal) !important;
}
.pl-item .time {
  display: block;
  margin-top: 4px;
}

.cta-panel {
  background: var(--ink);
  color: #fff;
  border: none;
}
.cta-panel h3 {
  color: #fff;
  border-bottom-color: #2A313B;
}
.cta-panel .big {
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -.02em;
  margin: 10px 0 2px;
  line-height: 1.1;
  color: #fff;
}
.cta-panel .sub2 {
  font-size: 12.5px;
  color: #9AA3AE;
  margin-bottom: 18px;
}
.cta-panel p {
  font-size: 13.5px;
  color: #C9CED6;
  margin-bottom: 18px;
}
.cta-panel .btn-premium {
  margin-top: auto;
  background: #F2B33D;
  border-color: #F2B33D;
  color: var(--ink) !important;
  text-align: center;
  width: 100%;
}
.cta-panel .btn-premium:hover {
  background: #FFC55C;
  border-color: #FFC55C;
}

/* ================= 6. Tools + Talent ================= */
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}
.tool-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.tool-item:last-child {
  border-bottom: none;
}
.tool-item .ic {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: var(--teal-pale);
  color: var(--teal);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-item h4 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}
.tool-item h4 a:hover {
  color: var(--teal) !important;
}
.tool-item .cat-chip {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gray-5);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 10px;
  white-space: nowrap;
}
.trow-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.trow-item:last-child {
  border-bottom: none;
}
.trow-item .thumb {
  width: 84px;
  height: 58px;
  border-radius: 4px;
}
.trow-item h4 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}
.trow-item h4 a:hover {
  color: var(--teal) !important;
}
.trow-item .meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.trow-item .cat-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--teal);
  background: var(--teal-pale);
  border: none;
  border-radius: 100px;
  padding: 3px 9px;
  white-space: nowrap;
}

/* ================= 7. Shorts + event ================= */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
}
.shorts-container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 160px;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.shorts-container::-webkit-scrollbar {
  height: 6px;
}
.shorts-container::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.short-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff !important;
}
.short-card .thumb {
  position: absolute;
  inset: 0;
}
.short-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 15, 20, 0.85));
}
.short-card p {
  position: relative;
  z-index: 2;
  padding: 12px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.short-card .play-btn {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.event-box {
  background: var(--teal);
  color: #fff;
  border-radius: 6px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.event-box .kicker {
  color: #F2B33D;
}
.event-box h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  margin: 8px 0 10px;
  color: #fff;
}
.event-box p {
  font-size: 13px;
  color: #CFE5E2;
  margin-bottom: 20px;
}
.event-box .btn-premium {
  margin-top: auto;
  background: #fff;
  border-color: #fff;
  color: var(--teal-dark) !important;
  text-align: center;
  width: 100%;
}
.event-box .btn-premium:hover {
  background: #e6e6e6;
  border-color: #e6e6e6;
}

/* ================= 8. Newsletter ================= */
.nl-section {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 52px 0;
  background: var(--bg);
}
.nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.nl-section h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 8px;
}
.nl-section p {
  color: var(--gray-5);
  font-size: 14.5px;
  max-width: 480px;
  margin-bottom: 0;
}
.nl-container-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nl-form-row {
  display: flex;
  gap: 10px;
  width: 100%;
}
.nl-form-row input {
  flex: 1;
  font-family: var(--sans);
  font-size: 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-width: 0;
  background: var(--bg);
  color: var(--ink);
}
.nl-form-row input:focus {
  outline: 2px solid var(--teal);
}
.nl-form-row button {
  flex-shrink: 0;
}
.nl-note {
  font-size: 11.5px;
  color: var(--gray-3);
  margin-top: 10px;
}

/* ================= 9. Footer ================= */
.footer-premium {
  background: var(--ink) !important;
  color: #AEB4BD !important;
  padding: 50px 0 32px !important;
  font-size: 13.5px !important;
  border: none !important;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #2A313B;
  width: 100%;
}
.foot-brand {
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  letter-spacing: -.01em;
  margin-top: 0;
  margin-bottom: 14px;
}
.foot-brand em {
  font-style: normal;
  color: #4CC3B5;
}
.foot-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4CC3B5;
  margin-top: 0;
  margin-bottom: 14px;
}
.foot-col ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.foot-col li {
  list-style: none;
  margin-bottom: 9px;
}
.foot-col a {
  color: #AEB4BD !important;
}
.foot-col a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}
.foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12px;
  color: #6B7280;
}
.foot-legal a {
  color: #6B7280 !important;
  margin-right: 16px;
}
.foot-legal a:hover {
  color: #fff !important;
}

/* Footer forms and inputs overrides */
.footer-premium input,
.footer-premium textarea {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid #2A313B !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  margin-bottom: 10px !important;
}
.footer-premium input::placeholder,
.footer-premium textarea::placeholder {
  color: #66707D !important;
}
.footer-premium button.btn-primary {
  background-color: var(--teal) !important;
  border-color: var(--teal) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 10px 14px !important;
  border-radius: 4px !important;
  width: 100% !important;
  transition: background-color 0.15s ease !important;
}
.footer-premium button.btn-primary:hover {
  background-color: var(--teal-dark) !important;
  border-color: var(--teal-dark) !important;
}

/* Ad blockers modal overrides */
.modal-content {
  background-color: var(--bg) !important;
  color: var(--ink) !important;
}
.modal-header {
  border-bottom: 1px solid var(--line) !important;
}
.modal-footer {
  border-top: 1px solid var(--line) !important;
}
.card.bg-light {
  background-color: var(--bg-soft) !important;
  color: var(--ink) !important;
}

/* ================= Responsive Overrides ================= */
@media (max-width: 1080px) {
  .top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .top-col:first-child {
    border-right: none;
    padding-right: 0;
    grid-column: 1 / -1;
    order: 3;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-top: 22px;
  }
  .top-col:nth-child(2) {
    padding: 0 26px 0 0;
    order: 1;
  }
  .top-col:last-child {
    order: 2;
    padding-right: 0;
  }
  .data-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .data-label, .data-link {
    grid-column: 1 / -1;
    border-right: none;
    padding: 12px 0;
  }
  .cards-4, .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .split-main {
    padding-right: 0;
    border-right: none;
  }
  .split-side {
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 26px;
    margin-top: 26px;
  }
  .panels-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-panel {
    grid-column: 1 / -1;
  }
  .duo-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .masthead-grid {
    grid-template-columns: 1fr auto;
  }
  .mast-left-stats {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-grid {
    grid-template-columns: 1fr;
  }
  .top-col:nth-child(2) {
    padding: 0;
  }
  .top-col:last-child {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
    margin-top: 22px;
  }
  .cards-4, .cards-3, .cards-2, .panels-grid {
    grid-template-columns: 1fr;
  }
  .qa-item {
    grid-template-columns: 1fr;
  }
  .nl-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .nl-form-row {
    flex-direction: column;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .topbar nav a:not(.hl) {
    display: none;
  }
  .brand-center {
    text-align: left;
  }
  .masthead-grid {
    grid-template-columns: 1fr auto;
  }
  .mast-right-actions {
    flex-direction: column;
    align-items: flex-end;
  }
}

/* Homepage-specific layout overrides to support full-bleed grids */
body[ng-app="asia_site"] .explore-products {
  padding-bottom: 0 !important;
}
body[ng-app="asia_site"] .explore-products .container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body[ng-app="asia_site"] .col-lg-8 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
}
body[ng-app="asia_site"] .col-lg-4 {
  display: none !important;
}

/* Ensure the AI Market Summary data strip has the same design in dark mode as light mode */
html[data-bs-theme="dark"] .data {
  background: #535353 !important;
  color: #C9CED6 !important;
  border: none !important;
}
html[data-bs-theme="dark"] .data-label {
  color: #F2B33D !important;
  border-right: 1px solid #2A313B !important;
}
html[data-bs-theme="dark"] .data-cell {
  color: #C9CED6 !important;
  border-right: 1px solid #2A313B !important;
}
html[data-bs-theme="dark"] .data-cell b {
  color: #fff !important;
}
html[data-bs-theme="dark"] .data-link {
  color: #fff !important;
}
html[data-bs-theme="dark"] .d-up {
  color: #4CC38A !important;
}
html[data-bs-theme="dark"] .d-down {
  color: #F2726A !important;
}

/* Ensure the Startup Tracker CTA panel has the same design in dark mode as light mode */
html[data-bs-theme="dark"] .cta-panel {
  background: #0B131F !important;
  color: #fff !important;
  border: none !important;
}
html[data-bs-theme="dark"] .cta-panel h3 {
  color: #fff !important;
  border-bottom-color: #2A313B !important;
}
html[data-bs-theme="dark"] .cta-panel .big {
  color: #fff !important;
}
html[data-bs-theme="dark"] .cta-panel .sub2 {
  color: #9AA3AE !important;
}
html[data-bs-theme="dark"] .cta-panel p {
  color: #CBD5E1 !important;
}
html[data-bs-theme="dark"] .cta-panel .btn-premium {
  background: #fff !important;
  color: #0B131F !important;
  border-color: #E2E8F0 !important;
}
html[data-bs-theme="dark"] .cta-panel .btn-premium:hover {
  background: #F1F5F9 !important;
  color: #0B131F !important;
}

/* Ensure the footer h4 tag headings keep the same color (#4CC3B5) in dark mode */
html[data-bs-theme="dark"] .foot-col h4 {
  color: #4CC3B5 !important;
}

/* Ensure the footer brand text color is black in dark mode (and remains white in light mode) */
html[data-bs-theme="dark"] .foot-brand {
  color: #000 !important;
}

/* Ensure the footer address text color matches the links in dark mode */
html[data-bs-theme="dark"] .foot-address {
  color: var(--theme-text-secondary) !important;
}

/* Ensure the copyright span matches the legal links color in dark mode */
html[data-bs-theme="dark"] .foot-legal span {
  color: var(--theme-text-secondary) !important;
}

/* ================= Premium Theme Overrides for Article List & Detail Pages ================= */
.inner-header {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}
.breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}
.breadcrumb-item a {
  color: var(--gray-5) !important;
}
.breadcrumb-item a:hover {
  color: var(--teal) !important;
}
.breadcrumb-item.active {
  color: var(--teal) !important;
  font-weight: 700 !important;
}
.breadcrumb-item + .breadcrumb-item::before {
  display: none !important;
}

.news-sport-posts {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  border-radius: 6px !important;
  padding: 0px 24px 24px 24px !important;
}

.section-title h2 {
  font-family: var(--sans) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--ink) !important;
  position: relative !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--ink) !important;
  margin-bottom: 24px !important;
  display: inline-block !important;
}

/* --- Article List Styling --- */
.blog-post.post-style-004 {
  border-bottom: 1px solid var(--line) !important;
  padding: 10px 0 !important;
  margin-bottom: 0 !important;
  background: transparent !important;
}
.blog-post.post-style-004:last-child {
  border-bottom: none !important;
}
.blog-post.post-style-004 .blog-image img {
  border-radius: 6px !important;
  border: 1px solid var(--line) !important;
}
.blog-post.post-style-004 .blog-post-details h4 {
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
}
.blog-post.post-style-004 .blog-post-details h4 a {
  color: var(--ink) !important;
  transition: color 0.15s ease !important;
}
.blog-post.post-style-004 .blog-post-details h4 a:hover {
  color: var(--teal) !important;
}
.blog-post.post-style-004 .blog-post-details h6 {
  color: var(--gray-5) !important;
  font-family: var(--sans) !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  margin-bottom: 12px !important;
}
.blog-post.post-style-004 .blog-post-details .blog-post-time a {
  color: var(--gray-3) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.blog-post.post-style-004 .blog-post-details .blog-post-time a i {
  color: var(--teal) !important;
  margin-right: 6px !important;
}

hr {
  border-color: var(--line) !important;
  opacity: 1 !important;
}

.page-pagination .page-link {
  background-color: var(--bg) !important;
  border: 1px solid var(--line) !important;
  color: var(--gray-7) !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 8px 14px !important;
  border-radius: 4px !important;
  margin: 0 3px !important;
  transition: all 0.15s ease !important;
}
.page-pagination .page-link:hover {
  border-color: var(--gray-3) !important;
  color: var(--ink) !important;
  background-color: var(--bg-soft) !important;
}
.page-pagination .page-item.active .page-link {
  background-color: var(--teal) !important;
  border-color: var(--teal) !important;
  color: #ffffff !important;
}
.page-pagination .page-item.disabled .page-link {
  background-color: var(--bg-soft) !important;
  border-color: var(--line) !important;
  color: var(--gray-3) !important;
  opacity: 0.6 !important;
}

/* --- Article Detail Styling --- */
.blog-post-title h3 {
  font-family: var(--serif) !important;
  font-weight: 700 !important;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  line-height: 1.25 !important;
  color: var(--ink) !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.01em !important;
}
.blog-post-title h3 a {
  color: var(--ink) !important;
  cursor: default !important;
}

.font-weight-bold {
  font-family: var(--sans) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--gray-7) !important;
  line-height: 1.5 !important;
  margin-bottom: 16px !important;
}

.blog-content p {
  color: var(--ink) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.blog-post.post-style-07 {
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  margin: 20px 0 !important;
  padding: 12px 10px !important;
  background: transparent !important;
}

.blog-post-time a {
  color: var(--gray-5) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  pointer-events: none !important;
  cursor: default !important;
}
.blog-post-time a i {
  color: var(--teal) !important;
  margin-right: 6px !important;
}

.share-box > a {
  color: var(--gray-5) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  transition: color 0.15s ease !important;
}
.share-box > a i {
  color: var(--teal) !important;
  margin-right: 6px !important;
}
.share-box-social {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}
.share-box-social a {
  color: var(--gray-5) !important;
  transition: color 0.15s ease !important;
}
.share-box-social a:hover {
  color: var(--teal) !important;
}

.blog-post-image img {
  border-radius: 6px !important;
  border: 1px solid var(--line) !important;
  width: 100% !important;
}

.blog-post-content {
  font-family: var(--serif) !important;
  font-size: 16.5px !important;
  line-height: 1.7 !important;
  color: var(--ink) !important;
}
.blog-post-content p {
  margin-bottom: 22px !important;
}
.blog-post-content a {
  color: var(--teal) !important;
  text-decoration: underline !important;
}
.blog-post-content a:hover {
  color: var(--teal-dark) !important;
}

/* Custom Carousel and Layout Styles for lead stories section */
.top-col.side-news-col {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

.top-col.lead-story {
  position: relative;
  z-index: 1;
}

.lead-story-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.lead-story-slides {
  position: relative;
  width: 100%;
}

.lead-story-slide {
  width: 100%;
}

.lead-story-image-wrap {
  position: relative;
  margin-bottom: 16px;
}

.lead-story-image-wrap .thumb {
  margin-bottom: 0 !important;
}

.lead-story .kicker.cover-story-kicker {
  margin-top: 12px;
  display: inline-block;
}

.lead-story h2.clamp-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  outline: none;
  z-index: 5;
  padding: 0;
}

.carousel-arrow.prev {
  left: 12px;
}

.carousel-arrow.next {
  right: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #c8c8c8;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s, transform 0.2s;
}

@keyframes slideInLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.lead-story-slide {
  display: none;
}
.lead-story-slide.active {
  display: block;
}
.lead-story-slide.active.slide-next {
  animation: slideInLeft 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.lead-story-slide.active.slide-prev {
  animation: slideInRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.75) !important;
  transform: translateY(-50%) scale(1.1) !important;
}
.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95) !important;
}
.carousel-dot.active {
  background-color: var(--teal, #008080) !important;
  transform: scale(1.25);
}
.carousel-dot:hover {
  background-color: #888;
}

/* Ensure navigation dropdowns always have the highest stacking order and are not clipped */
.header, .header-sticky, .header.is-sticky {
  position: static !important;
  z-index: auto !important;
  overflow: visible !important;
  box-shadow: none !important;
  animation: none !important;
}
.navbar, .navbar-expand-lg, .fixed-top, .sticky-on {
  position: relative !important;
  z-index: 999999999 !important;
  overflow: visible !important;
}
.header-sticky.is-sticky .navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999999 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.navbar-collapse {
  overflow: visible !important;
}
.dropdown-menu {
  z-index: 1000000000 !important;
  position: absolute !important;
}
/* Push the banner container and explore sections below the header stacking context */
.top, .explore-products {
  z-index: 1 !important;
  position: relative !important;
}
/* Enable hover dropdowns on desktop */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
    margin-top: 0;
  }
  .navbar-nav .nav-item.dropdown:hover > .nav-link.dropdown-toggle {
    color: var(--teal) !important;
  }
}

/* Masthead logo custom height and margins */
.masthead-logo {
  max-height: 80px;
  margin: 0 auto;
}

/* Adblock blocker alert modal shield icon size */
.adblock-modal-icon {
  font-size: 4rem;
}

/* Footer address line height and margin */
.footer-brand-address {
  line-height: 1.6;
  margin-top: 10px;
}

/* Top of the Feed Carousel */
.carousel-nav-arrows {
  display: flex;
  gap: 8px;
}

.carousel-nav-arrow {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
  font-size: 12px;
  padding: 0;
}

.carousel-nav-arrow:hover {
  background: var(--teal-pale);
  border-color: var(--teal);
  color: var(--teal);
}

.feed-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.feed-carousel-track {
  display: flex;
  gap: 26px;
  transition: transform 0.4s ease;
  width: 100%;
}

.feed-card-item {
  flex: 0 0 calc(25% - 19.5px);
  min-width: calc(25% - 19.5px);
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .feed-card-item {
    flex: 0 0 calc(50% - 13px);
    min-width: calc(50% - 13px);
  }
}

@media (max-width: 575px) {
  .feed-card-item {
    flex: 0 0 100%;
    min-width: 100%;
  }
}





