/* =============================================================================
   Insight Theme — Main Stylesheet
   Insightful Word | Dark-mode financial news & analysis
   ============================================================================= */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────────────────────── */

:root {
  /* Background */
  --iw-bg: #020206;
  --iw-card-bg: #0a0a1d;
  --iw-card-border: rgba(82, 123, 255, 0.75);
  --iw-card-border-sub: rgba(86, 125, 255, 0.35);

  /* Brand blue */
  --iw-blue: #527bff;
  --iw-blue-glow: rgba(22, 75, 255, 0.65);
  --iw-blue-glow-soft: rgba(22, 75, 255, 0.45);
  --iw-cyan: #00e1ff;

  /* Text */
  --iw-white: #ffffff;
  --iw-text: #c2c2c4;
  --iw-text-muted: #959595;
  --iw-text-dark: #77759e;

  /* Pill button */
  --iw-pill-bg: rgba(82, 123, 255, 0.17);
  --iw-pill-color: #8885c2;
  --iw-pill-color-faint: rgba(255, 255, 255, 0.38);

  /* CTA buttons */
  --iw-btn-subscribe: #567dff;
  --iw-btn-read-bg: #fcfcfd;
  --iw-btn-read-color: #16121e;

  /* Typography */
  --iw-font-display: "Unbounded", sans-serif;
  --iw-font-body: "Inter", sans-serif;

  /* Layout */
  --iw-max-w: 1180px; /* inner content width */
  --iw-max-w-outer: 1440px; /* site-wide outer container */
  --iw-section-px: clamp(1rem, 4vw, 5rem);
  --iw-radius-sm: 8px;
  --iw-radius-md: 16px;
  --iw-radius-lg: 24px;
  --iw-radius-pill: 50px;

  /* Transitions */
  --iw-transition: 0.2s ease;
}

/* ── RESET / BASE ──────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--iw-font-body);
  font-weight: 400;
  color: var(--iw-text);
  background-color: var(--iw-bg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.2;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ── BACKGROUND GLOW ORBS ──────────────────────────────────────────────────── */

.iw-glow-group {
  position: absolute;
  pointer-events: none;
  height: 1227px;
  left: 0;
  right: 0;
  /* no overflow: hidden — orbs must bleed across sections freely */
}

.iw-glow-orb {
  position: absolute;
  filter: blur(240px);
  background-color: var(--iw-blue-glow);
  border-radius: 50%;
}

.iw-glow-orb--1 {
  top: 0;
  left: -461px;
  width: 850px;
  height: 850px;
}

.iw-glow-orb--2 {
  top: 828px;
  right: -213px;
  width: 550px;
  height: 550px;
}

/* ── UTILITY ───────────────────────────────────────────────────────────────── */

.iw-container {
  max-width: var(--iw-max-w);
  margin: 0 auto;
  padding: 0 var(--iw-section-px);
}

.iw-text--blue {
  color: var(--iw-blue);
}
.iw-text--white {
  color: var(--iw-white);
}
.iw-text--muted {
  color: var(--iw-text-muted);
}
.iw-text--upper {
  text-transform: uppercase;
}

.iw-hp {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  aria-hidden: true;
}

/* ── BUTTONS ───────────────────────────────────────────────────────────────── */

.iw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--iw-font-body);
  font-weight: 700;
  line-height: 1;
  transition:
    opacity var(--iw-transition),
    transform var(--iw-transition);
  white-space: nowrap;
  text-decoration: none;
}

.iw-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.iw-btn--subscribe {
  background-color: var(--iw-btn-subscribe);
  color: var(--iw-white);
  font-size: 0.9375rem;
  padding: 0.75rem 2rem;
  border-radius: var(--iw-radius-pill);
  letter-spacing: 0.03em;
}

/* Pill badge buttons (category tags) */
.iw-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--iw-pill-bg);
  color: var(--iw-pill-color);
  font-family: var(--iw-font-display);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.375rem 1.25rem;
  border-radius: var(--iw-radius-pill);
  border: none;
  cursor: default;
  white-space: nowrap;
}

/* Read More button */
.iw-btn--read {
  background-color: var(--iw-btn-read-bg);
  color: var(--iw-btn-read-color);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: var(--iw-radius-pill);
}

/* ── NAVIGATION ────────────────────────────────────────────────────────────── */

.iw-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(2, 2, 6, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}

.iw-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--iw-max-w);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 20px, 2.5rem);
  flex-wrap: nowrap;
}

.iw-nav__logo img {
  height: clamp(28px, 3.5vw, 41px);
  width: auto;
}

.iw-nav__links {
  display: flex;
  align-items: center;
}

.iw-nav__links ul {
  display: flex;
  gap: clamp(0.75rem, 2vw, 2.5rem);
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.iw-nav__links a {
  color: var(--iw-text);
  font-size: clamp(0.7rem, 1.1vw, 0.8125rem);
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  transition: color var(--iw-transition);
  white-space: nowrap;
}

.iw-nav__links a:hover {
  color: var(--iw-white);
}

.iw-nav__cta {
  flex-shrink: 0;
}

/* Hamburger */
.iw-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

.iw-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--iw-white);
  transition:
    transform var(--iw-transition),
    opacity var(--iw-transition);
}

/* Mobile menu */
.iw-nav__mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: var(--iw-card-bg);
  border-top: 1px solid var(--iw-card-border-sub);
  padding: 1.5rem var(--iw-section-px);
}

.iw-nav__mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.iw-nav__mobile a {
  color: var(--iw-text);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color var(--iw-transition);
}

.iw-nav__mobile a:hover {
  color: var(--iw-white);
}

/* ── HOMEPAGE HERO (row1 wrap) ────────────────────────────────────────────── */

.iw-row1 {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--iw-bg);
}

/* Glow group 1 — below hero, spans posts grid */
.iw-glow-group--1 {
  top: 970px; /* Figma: 1035px from body top; subtract ~65px nav */
  left: -461px;
  right: -213px;
  z-index: 0;
}

/* Glow group 2 — indicators area */
.iw-glow-group--2 {
  top: 2780px; /* Figma: 2845px from body top; subtract ~65px nav */
  left: -445px;
  right: -229px;
  z-index: 0;
}

/* Glow groups — all non-homepage pages, alternating left/right (output via header.php) */
/* ga — LEFT  ~top of page */
.iw-glow-group--ga {
  top: 150px;
  z-index: 0;
}
.iw-glow-group--ga .iw-glow-orb {
  top: 0;
  left: -400px;
  width: 850px;
  height: 850px;
}

/* gb — RIGHT ~mid-upper */
.iw-glow-group--gb {
  top: 900px;
  z-index: 0;
}
.iw-glow-group--gb .iw-glow-orb {
  top: 0;
  right: -300px;
  width: 650px;
  height: 650px;
}

/* gc — LEFT  ~mid-lower */
.iw-glow-group--gc {
  top: 1700px;
  z-index: 0;
}
.iw-glow-group--gc .iw-glow-orb {
  top: 0;
  left: -400px;
  width: 850px;
  height: 850px;
}

/* gd — RIGHT ~bottom */
.iw-glow-group--gd {
  top: 2500px;
  z-index: 0;
}
.iw-glow-group--gd .iw-glow-orb {
  top: 0;
  right: -300px;
  width: 650px;
  height: 650px;
}

/* col1 — hero content area, 1180px container, world map bg with color-dodge */
.iw-col1 {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--iw-max-w); /* 1180px */
  margin-left: auto;
  margin-right: auto;
  padding: clamp(4rem, 8vw, 8rem) 1.5rem clamp(6rem, 12vw, 14rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  isolation: isolate;
  background-color: var(--iw-bg); /* dark base needed for color-dodge blend */
}

/* World map — color-dodge pseudo, contained within col1's 1180px */
.iw-col1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-world.png") center top / cover no-repeat;
  mix-blend-mode: color-dodge;
  z-index: -1;
  pointer-events: none;
}

/* graphic1.svg — heading "BEYOND THE HEADLINES / INTO THE INSIGHT"
   Figma: position absolute top: 117px; but in flow layout we shift with negative margin */
.iw-hero__graphic {
  width: calc(100% - 32px);
  max-width: 661px;
  height: 80px;
  object-fit: contain;
  pointer-events: none;
}

.iw-hero__tagline {
  max-width: 597px;
  color: var(--iw-text);
  font-size: 1.125rem;
  font-family: var(--iw-font-body);
  font-weight: 400;
  line-height: 1.556;
  letter-spacing: 0;
  text-align: center;
}

/* Search bar — 597×62px, Figma exact */
.iw-hero__search {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  height: 62px;
  background-color: #000;
  border: 1px solid #527bff;
  border-radius: 72px;
  padding: 4px 11px 4px 33px;
  gap: 0.5rem;
}

.iw-hero__search-left {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 1;
  min-width: 0;
}

.iw-hero__search-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.iw-hero__search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #9b9b9b;
  font-size: 1rem;
  font-family: var(--iw-font-body);
  letter-spacing: 0.009em;
  min-width: 0;
}

.iw-hero__search-input::placeholder {
  color: #9b9b9b;
}

.iw-hero__search-btn {
  width: 40px;
  height: 40px;
  border-radius: 53px;
  background-color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity var(--iw-transition);
}

.iw-hero__search-btn:hover {
  opacity: 0.85;
}

.iw-hero__search-btn img {
  display: block;
  width: 16px;
  height: 16px;
}

/* ── FEATURED BANNER (banner1) ──────────────────────────────────────────────── */

.iw-featured {
  position: relative;
  z-index: 4;
  width: 100%;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: 24.42px;
  overflow: hidden;
  min-height: 248px;
}

/* Post thumbnail — covers the full card */
.iw-featured__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

/* Gradient fade: solid on left (content area) → transparent on right */
.iw-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top left, transparent 0%, rgba(10, 10, 29, 0.5) 35%, rgba(10, 10, 29, 0.9) 55%, var(--iw-card-bg) 72%, var(--iw-card-bg) 100%);
  z-index: 2;
  pointer-events: none;
}

.iw-featured__content {
  position: relative;
  z-index: 3; /* above gradient overlay (z-index: 2) */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 142px; /* Figma: banner-col gap: 142px */
  padding: 42px 2rem 53px 61px;
  max-width: 480px;
}

.iw-featured__meta-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 312px;
  font-size: 0.9375rem;
}

.iw-featured__date {
  color: var(--iw-text-muted);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.iw-featured__bottom {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5625rem;
}

.iw-featured__title {
  color: var(--iw-white);
  font-family: var(--iw-font-body);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.44;
  transition: color var(--iw-transition);
  display: block;
}

.iw-featured__title:hover {
  color: var(--iw-text);
}

/* ── POST CARD GRID (rows 2/3/4) ──────────────────────────────────────────── */

.iw-posts-grid {
  position: relative;
  z-index: 5;
  max-width: 1140px;
  margin: -6rem auto 0;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.iw-posts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Card A — horizontal (image left, content right) — Figma exact */
.iw-card-a {
  display: flex;
  align-items: flex-start;
  gap: 2.0625rem;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: 24.42px;
  padding: 0 2.125rem 0 1.625rem;
  min-height: 318px;
  transition: border-color var(--iw-transition);
  overflow: hidden;
}

.iw-card-a:hover {
  border-color: rgba(82, 123, 255, 1);
}

.iw-card-a__img {
  margin-top: 1.8125rem; /* 29px */
  width: 216px;
  height: 260px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 12px;
}

.iw-card-a__body {
  margin-top: 2.1875rem; /* 35px */
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5625rem; /* 25px */
  text-align: left;
}

.iw-card-a__title {
  align-self: stretch;
  color: var(--iw-white);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.333;
  transition: color var(--iw-transition);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.iw-card-a__title:hover {
  color: var(--iw-text);
}

.iw-card-a__date {
  align-self: stretch;
  color: var(--iw-text-dark);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* ── SUBTITLE 1 ("main indicators") ──────────────────────────────────────── */

.iw-subtitle1 {
  width: 100%; /* span full row inside flex wrapper */
  position: relative;
  z-index: 4;
  font-family: var(--iw-font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--iw-white);
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: -0.03em;
  text-align: center;
}

.iw-subtitle1__blue {
  color: var(--iw-blue);
}

/* ── ROW 5 — INDICATORS SECTION ────────────────────────────────────────────── */

.iw-row5 {
  position: relative;
  z-index: 8;
  /* width: 94%; */
  padding: 0 1.25rem;
  max-width: 1140px;
  margin: 4.125rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Subtitle spans both columns */
.iw-row5 > .iw-subtitle1 {
  grid-column: 1 / -1;
}

/* Gas card spans both columns */
.iw-row5 > .iw-card-gas {
  grid-column: 1 / -1;
}

/* ── Card Banner base ──────────────────────────────────────────────────────── */

.iw-card-banner {
  display: flex;
  flex-direction: column;
  gap: 3.0625rem;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: 24px;
  padding: 1.1875rem 1.3125rem 1.25rem 1.875rem;
}

.iw-card-banner--econ {
  /* grid handles sizing */
}

.iw-card-banner--trade {
  gap: 1.75rem;
  justify-content: space-between; /* push stats to bottom */
  /* grid handles sizing */
}

/* Card banner top row: icon + title + arrow */
.iw-card-banner__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.iw-card-banner__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--iw-white);
  font-family: var(--iw-font-body);
  line-height: 1.833;
}

.iw-card-banner__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.iw-card-banner__title {
  text-align: left;
}

.iw-card-banner__arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Economic Indicators — full-height chart SVG */
.iw-card-banner__chart {
  width: 100%;
  height: 208px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Trade Data — 4-column bar charts */
.iw-trade-columns {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.iw-trade-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  background-color: #080a21;
  border-radius: 9px;
  padding: 0 8px 13px;
  text-align: center;
  min-height: 229px;
}

/* Per-column padding-top stagger — Figma exact values */
.iw-trade-column:nth-child(1) {
  padding-top: 101px;
}
.iw-trade-column:nth-child(2) {
  padding-top: 115px;
}
.iw-trade-column:nth-child(3) {
  padding-top: 24px;
}
.iw-trade-column:nth-child(4) {
  padding-top: 46px;
}

.iw-trade-column__graphic {
  width: 26px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Per-column graphic heights — Figma exact values */
.iw-trade-column:nth-child(1) .iw-trade-column__graphic {
  height: 74px;
}
.iw-trade-column:nth-child(2) .iw-trade-column__graphic {
  height: 60px;
}
.iw-trade-column:nth-child(3) .iw-trade-column__graphic {
  height: 152px;
}
.iw-trade-column:nth-child(4) .iw-trade-column__graphic {
  height: 130px;
}

.iw-trade-column__label {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--iw-text);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Stats row (bottom of card-banner) */
.iw-card-banner__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
}

.iw-card-banner__stat {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.iw-card-banner__stat--white {
  color: var(--iw-white);
}

.iw-card-banner__stat--cyan {
  color: #00ebff;
}

.iw-card-banner__stat--right {
  text-align: right;
}

.iw-card-banner__stat-sub {
  font-size: 0.875rem;
}

.iw-card-banner__stat-sub--pos {
  color: var(--iw-text-muted);
}

.iw-card-banner__stat-sub--neg {
  color: var(--iw-text-muted);
  text-align: right;
}

.iw-card-banner__stat-unit {
  color: var(--iw-text-muted);
  font-size: 0.875rem;
}

/* Shared stat colours */
.iw-stat--green {
  color: #6cee77;
}
.iw-stat--cyan {
  color: #2fe3ff;
}
.iw-stat--red {
  color: #ff7373;
}
.iw-stat--bold {
  font-weight: 600;
}

/* ── Gas Prices card (wide horizontal) ─────────────────────────────────────── */

.iw-card-gas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: 24px;
  padding: 22px 28px 22px 22px;
  min-height: 280px;
}

.iw-card-gas__img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  /* border-radius: 17px; */
  object-fit: cover;
  display: block;
}

.iw-card-gas__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  overflow: hidden;
}

/* CSS bar chart inside gas card */
.iw-gas-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.85;
  flex: 1;
  min-height: 0;
  justify-content: center;
}

.iw-gas-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 1;
  min-height: 60px;
  max-height: 130px;
}

.iw-gas-bar {
  flex: 1;
  background: linear-gradient(180deg, #213f8f 0%, #050619 100%);
  border-radius: 4px 4px 0 0;
}

.iw-gas-bar--h128 {
  height: 128px;
}
.iw-gas-bar--h127 {
  height: 127px;
}
.iw-gas-bar--h121 {
  height: 121px;
}
.iw-gas-bar--h91 {
  height: 91px;
}
.iw-gas-bar--offset {
  margin-top: 38px;
  border-radius: 5px 5px 6px 5px;
}

.iw-gas-chart__labels {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.iw-gas-chart__labels span {
  flex: 1;
  font-size: 0.6rem;
  color: var(--iw-text-muted);
  text-align: center;
  line-height: 1.2;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: -0.1em;
  overflow: hidden;
}

.iw-card-gas__stats {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.iw-card-gas__stat {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
}

.iw-card-gas__stat:last-child {
  text-align: right;
}

.iw-card-gas__stat-sub {
  color: var(--iw-text-muted);
  font-weight: 400;
}

/* ── COL-BOTTOM — bg.png + STOCKS/business/NEWS ────────────────────────────── */

.iw-col-bottom {
  position: relative;
  z-index: 9;
  /* width: 90%; */
  padding: 0 1.25rem;
  max-width: 1142px;
  margin: 5.25rem auto 6rem;
  display: flex;
  flex-direction: column;
  gap: 2.9375rem;
}

/* bg.png decorative image */
.iw-col-bottom__bg {
  width: 100%;
  flex-shrink: 0;
  display: block;
}

.iw-col6 {
  display: flex;
  flex-direction: column;
  gap: 2.9375rem;
}

/* Section title row: STOCKS / business / NEWS */
.iw-row-top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  color: var(--iw-white);
  font-family: var(--iw-font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
  padding-top: 0.6875rem;
}

.iw-subtitle {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex-shrink: 0;
  text-transform: uppercase;
  text-align: left;
}

.iw-subtitle h2 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.iw-subtitle__line {
  display: block;
  width: 100%;
  max-width: 246px;
}

.iw-subtitle--news-inline {
  display: none; /* shown only at tablet via media query */
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
  color: var(--iw-white);
  font-family: var(--iw-font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.iw-subtitle--news-inline h2 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.iw-subtitle--stocks {
  width: auto;
}
.iw-subtitle--business {
  width: auto;
}
.iw-subtitle--news {
  width: auto;
}

/* 3-column news grid */
.iw-row6 {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.iw-col-left,
.iw-col7 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.4375rem;
}

.iw-col-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.4375rem;
}

/* Card B — vertical (image top, content bottom) */
.iw-card-b {
  display: flex;
  flex-direction: column;
  gap: 2.0625rem;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color var(--iw-transition);
}

.iw-card-b:hover {
  border-color: rgba(82, 123, 255, 1);
}

.iw-card-b__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.iw-card-b__body {
  margin: 0 1.875rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5625rem;
}

.iw-card-b__title {
  color: var(--iw-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  transition: color var(--iw-transition);
  margin-right: 0.625rem;
}

.iw-card-b__title:hover {
  color: var(--iw-text);
}

.iw-card-b__date-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--iw-text-muted);
  font-size: 0.9375rem;
  line-height: 1.267;
}

.iw-card-b__date-icon {
  flex-shrink: 0;
}

.iw-card-b__date {
  text-transform: uppercase;
}

/* Card C — text only */
.iw-card-c {
  display: flex;
  flex-direction: column;
  gap: 1.5625rem;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: 22px;
  padding: 2rem 1.875rem;
  transition: border-color var(--iw-transition);
}

.iw-card-c:hover {
  border-color: rgba(82, 123, 255, 1);
}

.iw-card-c__title {
  color: var(--iw-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  margin-right: 0.625rem;
  transition: color var(--iw-transition);
}

.iw-card-c__title:hover {
  color: var(--iw-text);
}

.iw-card-c__date-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--iw-text-muted);
  font-size: 0.9375rem;
  line-height: 1.267;
}

.iw-card-c__date-icon {
  flex-shrink: 0;
}

.iw-card-c__date {
  text-transform: uppercase;
}

/* Card D — compact list card */
.iw-card-d {
  display: flex;
  flex-direction: column;
  gap: 1.0625rem;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: 22px;
  padding: 2rem 1.9375rem;
  transition: border-color var(--iw-transition);
}

.iw-card-d:hover {
  border-color: rgba(82, 123, 255, 1);
}

.iw-card-d__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--iw-text-muted);
  font-size: 0.9375rem;
  line-height: 1.267;
}

.iw-card-d__icon {
  flex-shrink: 0;
}

.iw-card-d__date {
  text-transform: uppercase;
  flex: 1;
}

.iw-card-d__title {
  color: var(--iw-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  transition: color var(--iw-transition);
}

.iw-card-d__title:hover {
  color: var(--iw-text);
}

/* faint pill for news cards */
.iw-pill--faint {
  color: rgba(255, 255, 255, 0.38);
  background-color: rgba(82, 123, 255, 0.17);
}

/* ── NEWSLETTER SECTION ────────────────────────────────────────────────────── */

/* ── NEWSLETTER ─────────────────────────────────────────────────────────────── */

.iw-newsletter {
  position: relative;
  max-width: 1140px;
  margin: 4rem auto 0;
  padding: 0 1.25rem;
}

.iw-newsletter__inner {
  position: relative;
  display: block;
  border: 1px solid var(--iw-card-border);
  border-radius: 24px;
  padding: 3.25rem 3.5rem;
  overflow: hidden;
}

/* Background photo — full cover, image anchored to right */
.iw-newsletter__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* Gradient: solid dark left → transparent right so envelope shows through */
.iw-newsletter__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #020206 0%, #020206 20%, rgba(2, 2, 6, 0.2) 38%, transparent 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}

/* All content in a single left-side column, capped so image shows right */
.iw-newsletter__content {
  position: relative;
  z-index: 2;
  max-width: 58%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Copy block */
.iw-newsletter__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.iw-newsletter__heading {
  font-family: var(--iw-font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--iw-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.iw-newsletter__heading-blue {
  color: var(--iw-blue);
  font-size: 27px;
}

.iw-newsletter__sub {
  color: var(--iw-text);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.iw-newsletter__form-wrap {
  display: contents; /* no longer needed as layout wrapper */
}

.iw-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Full-width email input */
.iw-newsletter__input {
  width: 100%;
  background-color: #000;
  border: 1px solid var(--iw-blue);
  border-radius: 72px;
  padding: 0.875rem 1.5rem;
  color: var(--iw-text-muted);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--iw-transition);
}

.iw-newsletter__input::placeholder {
  color: var(--iw-text-muted);
}

.iw-newsletter__input:focus {
  border-color: var(--iw-cyan);
}

/* Consent checkbox + Submit in one row */
.iw-newsletter__row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.iw-newsletter__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--iw-text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}

.iw-newsletter__consent input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--iw-blue);
  width: 14px;
  height: 14px;
}

.iw-newsletter__consent a {
  color: var(--iw-blue);
  text-decoration: underline;
}

/* Submit button */
.iw-newsletter__submit {
  flex-shrink: 0;
  background-color: rgba(180, 190, 210, 0.25);
  color: var(--iw-white);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.625rem 2rem;
  border-radius: 72px;
  border: none;
  cursor: pointer;
  transition: background-color var(--iw-transition);
  white-space: nowrap;
}

.iw-newsletter__submit:hover {
  background-color: var(--iw-btn-subscribe);
}

/* Disclaimer line */
.iw-newsletter__disclaimer {
  color: var(--iw-text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.8;
}

.iw-newsletter__error {
  color: #f87171;
  font-size: 0.8125rem;
  text-align: left;
  margin-top: -0.5rem;
}

.iw-newsletter__message {
  padding: 0.625rem 1rem;
  border-radius: 8px;
  background-color: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-size: 0.875rem;
}

.iw-newsletter__message.is-error {
  background-color: rgba(248, 113, 113, 0.12);
  color: #f87171;
}

/* ── SINGLE POST ───────────────────────────────────────────────────────────── */

.iw-single {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 5rem;
}

.iw-single__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: flex-start;
}

.iw-single__main {
}

.iw-single__meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.iw-single__date {
  color: var(--iw-text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.iw-single__title {
  font-family: var(--iw-font-body);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--iw-white);
  line-height: 1.25;
  margin-bottom: 2rem;
}

.iw-single__content {
  color: var(--iw-text);
  font-size: 1rem;
  line-height: 1.8;
}

.iw-single__content p {
  margin-bottom: 1.25rem;
}

.iw-single__content h2,
.iw-single__content h3 {
  color: var(--iw-white);
  font-family: var(--iw-font-body);
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.iw-single__content h2 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

.iw-single__content h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.iw-single__content a {
  color: var(--iw-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.iw-single__content ul,
.iw-single__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.iw-single__content ul {
  list-style: disc;
}
.iw-single__content ol {
  list-style: decimal;
}

.iw-single__content li {
  margin-bottom: 0.5rem;
}

.iw-single__content blockquote {
  border-left: 3px solid var(--iw-blue);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: var(--iw-card-bg);
  border-radius: 0 var(--iw-radius-sm) var(--iw-radius-sm) 0;
  font-style: italic;
}

.iw-single__content img {
  border-radius: var(--iw-radius-md);
  margin: 1.5rem 0;
}

/* Sidebar */
.iw-single__sidebar {
  position: sticky;
  top: 5rem;
}

.iw-sidebar__title {
  font-family: var(--iw-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--iw-white);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.iw-sidebar__title span {
  color: var(--iw-white);
}

.iw-sidebar__post {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.iw-sidebar__card {
  display: flex;
  flex-direction: column;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: var(--iw-radius-md);
  overflow: hidden;
  transition: border-color var(--iw-transition);
}

.iw-sidebar__card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.iw-sidebar__frame-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
}

.iw-sidebar__card:hover {
  border-color: var(--iw-blue);
}

.iw-sidebar__card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.iw-sidebar__card-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.iw-sidebar__card-body .iw-pill,
.iw-sidebar__link-card .iw-pill {
  align-self: flex-start;
}

.iw-sidebar__card-title {
  color: var(--iw-white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  transition: color var(--iw-transition);
}

.iw-sidebar__card-title:hover {
  color: var(--iw-text);
}

.iw-sidebar__card-date {
  color: #959595;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  text-transform: uppercase;
}

.iw-sidebar__link-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: var(--iw-radius-md);
  transition: border-color var(--iw-transition);
}

.iw-sidebar__link-card:hover {
  border-color: var(--iw-blue);
}

.iw-sidebar__link-card-title {
  color: var(--iw-white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.iw-sidebar__link-card-date {
  color: #959595;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  text-transform: uppercase;
}

/* Latest posts row below single */
.iw-single__latest {
  width: 100%;
  margin-top: 4rem;
  padding: 0 0 5rem;
  overflow: hidden;
}

.iw-single__latest-title {
  font-family: var(--iw-font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--iw-white);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 2rem;
}

.iw-single__latest-title--blue {
  color: var(--iw-blue);
}

/* ── LATEST NEWS SLIDER ───────────────────────────────────────────────────── */

.iw-latest-slider {
  overflow: hidden;
  width: 100%;
}

.iw-latest-slider.is-dragging {
  cursor: grabbing;
}

.iw-latest-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}

/* ── Latest news card ─────────────────────────────────────────────────────── */

.iw-lcard {
  flex: 0 0 560px;
  height: 318px;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  background: #0a0a1d;
  border: 1px solid rgba(82, 123, 255, 0.75);
  border-radius: 24px;
  overflow: hidden;
}

.iw-lcard__img-wrap {
  flex: 0 0 276px;
  height: 100%;
  padding: 1.45rem;
}

.iw-lcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.iw-lcard__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.5rem 0;
  flex: 1;
  min-width: 0;
}

.iw-lcard__pill {
  display: inline-flex;
  align-self: flex-start;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 31px;
  border-radius: 41px;
  background: rgba(82, 123, 255, 0.17);
  color: rgba(136, 133, 194, 1);
  font-family: var(--iw-font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
}

.iw-lcard__title {
  color: var(--iw-white);
  font-family: var(--iw-font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.iw-lcard__title:hover {
  color: var(--iw-blue);
}

.iw-lcard__read {
  align-self: flex-start;
}

.iw-lcard__date {
  color: #77759e;
  font-family: var(--iw-font-display);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  text-transform: uppercase;
}

/* ── ABOUT PAGE ────────────────────────────────────────────────────────────── */

.iw-about {
  position: relative;
  z-index: 1;
  max-width: var(--iw-max-w);
  margin: 0 auto;
  padding: 3rem var(--iw-section-px) 5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.iw-about__title {
  text-align: center;
  font-family: var(--iw-font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--iw-white);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.iw-about__title span {
  color: var(--iw-blue);
}

.iw-about__section-title {
  font-family: var(--iw-font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--iw-white);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 2rem;
}

.iw-about__section-title span {
  color: var(--iw-blue);
}

.iw-about__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.iw-about__text {
  color: var(--iw-text);
  font-size: clamp(0.9375rem, 1.75vw, 1.125rem);
  line-height: 1.7;
  text-align: left;
}

.iw-about__intro-text {
  color: var(--iw-text);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.7;
  text-align: center;
  margin: 0 auto;
}

.iw-about__intro-text--wide {
  max-width: 950px;
}

/* Coverage cards grid */
.iw-about__cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.iw-about__cover-card {
  display: flex;
  flex-direction: column;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: var(--iw-radius-lg);
  overflow: hidden;
}

.iw-about__cover-card-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.75rem 1rem;
}

.iw-about__cover-card-img {
  width: 100%;
  object-fit: contain;
}

.iw-about__cover-card-body {
  padding: 0.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.iw-about__cover-card-title {
  color: var(--iw-white);
  font-family: var(--iw-font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.iw-about__cover-card-text {
  color: var(--iw-text-muted);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

/* Team cards */
.iw-about__team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.iw-about__team-card {
  display: flex;
  flex-direction: column;
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: var(--iw-radius-lg);
  overflow: hidden;
}

.iw-about__team-card--accent {
  border-color: rgba(140, 82, 255, 0.75);
}

.iw-about__team-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
}

.iw-about__team-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.iw-about__team-card-name {
  color: var(--iw-white);
  font-family: var(--iw-font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.iw-about__team-card-role {
  color: var(--iw-text-muted);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.iw-about__team-card-desc {
  color: var(--iw-text);
  font-size: 16px;
  line-height: 1.6;
}

/* ── About: Disclosure card ── */

.iw-about__disclosure-card {
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: var(--iw-radius-lg);
  padding: 2.5rem 3rem;
  text-align: center;
}

.iw-about__disclosure-title {
  font-family: var(--iw-font-display);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--iw-white);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.iw-about__disclosure-text {
  color: var(--iw-text);
  font-size: 18px;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.iw-about__disclosure-link {
  color: #00d4ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--iw-transition);
}

.iw-about__disclosure-link:hover {
  opacity: 0.8;
}

/* ── About: Contact card ── */

.iw-about__contact-card {
  background-color: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: var(--iw-radius-lg);
  padding: 2.5rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.iw-about__contact-icon-wrap {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.iw-about__contact-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.iw-about__contact-icon-svg {
  width: 100%;
  height: 100%;
}

.iw-about__contact-title {
  font-family: var(--iw-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--iw-white);
  margin-bottom: 1rem;
}

.iw-about__contact-title span {
  color: var(--iw-blue);
}

.iw-about__contact-sub {
  color: var(--iw-text);
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}

.iw-about__contact-cols {
  display: flex;
  gap: 4rem;
  justify-content: center;
  margin-bottom: 2rem;
  text-align: left;
}

.iw-about__contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.iw-about__contact-label {
  color: var(--iw-text);
  font-size: 18px;
}

.iw-about__contact-email {
  color: #00d4ff;
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--iw-transition);
}

.iw-about__contact-email:hover {
  opacity: 0.8;
}

.iw-about__contact-note {
  color: var(--iw-text-muted);
  font-size: 14px;
}

.iw-about__contact-address-label {
  font-weight: 700;
  font-size: 18px;
  color: var(--iw-white);
  margin-bottom: 0.375rem;
}

.iw-about__contact-address {
  color: var(--iw-text);
  font-size: 18px;
  line-height: 1.7;
}

/* ── About: Owner information ── */

.iw-about__owner {
  text-align: center;
}

.iw-about__owner-title {
  font-family: var(--iw-font-display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--iw-white);
  margin-bottom: 1rem;
}

.iw-about__owner-text {
  color: var(--iw-text);
  font-size: 14px;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto;
}

/* ── TRADING TOOLS PAGE ────────────────────────────────────────────────────── */

.iw-trading {
  position: relative;
  z-index: 1;
  max-width: var(--iw-max-w);
  margin: 0 auto;
  padding: 3rem var(--iw-section-px) 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.iw-trading__title {
  font-family: var(--iw-font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--iw-blue);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-align: center;
}

.iw-trading__title span {
  color: var(--iw-white);
}

.iw-trading__intro {
  color: var(--iw-text);
  font-size: clamp(0.9375rem, 1.75vw, 1.125rem);
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.iw-trading__table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--iw-card-border-sub);
  border-radius: var(--iw-radius-lg);
  overflow: hidden;
}

.iw-trading__header-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background-color: var(--iw-card-bg);
  border-bottom: 1px solid var(--iw-card-border-sub);
}

.iw-trading__col-spacer {
  display: block;
  visibility: hidden;
}

.iw-trading__col-headers {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.iw-trading__col-tool,
.iw-trading__col-desc {
  font-family: var(--iw-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--iw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.iw-trading__divider {
  height: 1px;
  background-color: var(--iw-card-border-sub);
}

.iw-trading__row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--iw-card-border-sub);
  align-items: center;
}

.iw-trading__row:last-child {
  border-bottom: none;
}

.iw-trading__category {
  color: var(--iw-white);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-align: left;
  line-height: 1.4;
}

.iw-trading__tools {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.iw-trading__tool {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  border: 1px solid var(--iw-card-border-sub);
  border-radius: var(--iw-radius-md);
  overflow: hidden;
}

.iw-trading__tool-name {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  color: var(--iw-cyan);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: underline;
  text-align: center;
  text-underline-offset: 3px;
  border-right: 1px solid var(--iw-card-border-sub);
  min-height: 100px;
}

.iw-trading__tool-desc {
  padding: 1.5rem;
  color: var(--iw-white);
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}

.iw-trading__disclaimer {
  color: var(--iw-text-muted);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  margin-top: 1rem;
}

/* ── 404 PAGE ──────────────────────────────────────────────────────────────── */

.iw-404 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: 4rem var(--iw-section-px);
}

.iw-404__code {
  font-family: var(--iw-font-display);
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  color: var(--iw-blue);
  letter-spacing: -0.05em;
  line-height: 1;
  opacity: 0.4;
}

.iw-404__title {
  font-family: var(--iw-font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--iw-white);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 1rem 0 0.75rem;
}

.iw-404__text {
  color: var(--iw-text);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

/* ── DEFAULT PAGE ──────────────────────────────────────────────────────────── */

.iw-page {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem var(--iw-section-px) 5rem;
}

.iw-page__title {
  font-family: var(--iw-font-body);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--iw-white);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.iw-page__content {
  color: var(--iw-text);
  font-size: 1rem;
  line-height: 1.8;
}

.iw-page__content p {
  margin-bottom: 1.25rem;
}
.iw-page__content h2,
.iw-page__content h3 {
  color: var(--iw-white);
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.iw-page__content a {
  color: var(--iw-cyan);
  text-decoration: underline;
}

.iw-page__content ul,
.iw-page__content ol,
.iw-single__content ul,
.iw-single__content ol {
  margin: 0 0 1.25rem 1.5rem;
}

.iw-page__content ul,
.iw-single__content ul {
  list-style: disc;
}

.iw-page__content ol,
.iw-single__content ol {
  list-style: decimal;
}

.iw-page__content li,
.iw-single__content li {
  margin-bottom: 0.375rem;
  line-height: 1.8;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */

.iw-footer {
  margin-top: auto;
  background-color: rgba(1, 8, 31, 1);
}

.iw-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem clamp(1rem, 4vw, 2rem) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Top row: logo left, nav right */
.iw-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
}

.iw-footer__logo-link img {
  height: 41px;
  width: auto;
  display: block;
}

/* Nav links — horizontal */
.iw-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
}

.iw-footer__nav a {
  color: var(--iw-text);
  font-size: 0.9375rem;
  transition: color var(--iw-transition);
}

.iw-footer__nav a:hover {
  color: var(--iw-white);
}

/* Newsletter card inside footer: override margins */
.iw-footer .iw-newsletter {
  margin: 0 0 2rem;
  max-width: 100%;
}

/* Copyright bar */
.iw-footer__bottom {
  padding-top: 1rem;
  text-align: center;
}

.iw-footer__copy {
  color: var(--iw-text-muted);
  font-size: 0.875rem;
}

/* ── FOOTER NEWSLETTER FORM (iw-fnl) ──────────────────────────────────────── */

.iw-fnl {
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--iw-card-border);
  border-radius: 24px;
  background-color: var(--iw-card-bg);
  padding-bottom: 1.5rem;
}

.iw-fnl__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2.75rem 3rem 0;
}

/* Left copy */
.iw-fnl__copy {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.iw-fnl__heading {
  font-family: var(--iw-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--iw-white);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.iw-fnl__sub {
  color: var(--iw-text);
  font-size: 14px;
  line-height: 1.6;
}

/* Right form */
.iw-fnl__form-wrap {
  flex: 1;
}

.iw-fnl__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Email input */
.iw-fnl__input {
  width: 100%;
  background-color: #000;
  border: 1px solid var(--iw-blue);
  border-radius: 72px;
  padding: 0.875rem 1.5rem;
  color: var(--iw-text-muted);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--iw-transition);
}

.iw-fnl__input::placeholder {
  color: var(--iw-text-muted);
}

.iw-fnl__input:focus {
  border-color: var(--iw-cyan);
}

/* Consent + Submit row */
.iw-fnl__row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.iw-fnl__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--iw-text-muted);
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}

.iw-fnl__consent input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--iw-blue);
  width: 14px;
  height: 14px;
}

.iw-fnl__consent a {
  color: var(--iw-blue);
  text-decoration: underline;
}

.iw-fnl__submit {
  flex-shrink: 0;
  background-color: rgba(180, 190, 210, 0.25);
  color: var(--iw-white);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.625rem 2rem;
  border-radius: 72px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--iw-transition);
}

.iw-fnl__submit:hover {
  background-color: var(--iw-btn-subscribe);
}

.iw-fnl__error {
  color: #f87171;
  font-size: 0.8125rem;
}

.iw-fnl__message {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
}

/* Disclaimer — inside card, full width, centered */
.iw-fnl__disclaimer {
  text-align: center;
  color: var(--iw-text-muted);
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.8;
  padding: 1.25rem 3rem 0;
}

/* ── CATEGORY ARCHIVE ──────────────────────────────────────────────────────── */

.iw-cat-header {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.iw-cat-header__label {
  font-family: var(--iw-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--iw-blue);
  margin-bottom: 0.75rem;
}

.iw-cat-header__title {
  font-family: var(--iw-font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--iw-white);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.iw-cat-header__desc {
  max-width: 600px;
  margin: 0 auto 1rem;
  font-size: 1rem;
  color: var(--iw-text);
  line-height: 1.7;
}

.iw-cat-header__count {
  font-size: 0.8rem;
  color: var(--iw-text-muted);
  letter-spacing: 0.05em;
}

.iw-cat-body {
  padding: 2rem 0 4rem;
}

.iw-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .iw-cat-grid {
    grid-template-columns: 1fr;
  }

  .iw-cat-header {
    padding: 2.5rem 0 1.5rem;
  }
}

/* ── ARCHIVE / PAGINATION ──────────────────────────────────────────────────── */

.iw-archive-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.iw-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.iw-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.iw-pagination a,
.iw-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--iw-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--iw-text);
  border: 1px solid var(--iw-card-border-sub);
  transition:
    background-color var(--iw-transition),
    color var(--iw-transition);
}

.iw-pagination a:hover,
.iw-pagination .current {
  background-color: var(--iw-blue);
  color: var(--iw-white);
  border-color: var(--iw-blue);
}

.iw-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 1rem;
  text-align: center;
}

.iw-no-results p {
  color: var(--iw-text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 480px;
}

/* WordPress default search form */
.iw-no-results .search-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 480px;
}

.iw-no-results .search-form label {
  flex: 1;
}

.iw-no-results .search-field {
  width: 100%;
  background: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border-sub);
  border-radius: var(--iw-radius-md);
  color: var(--iw-white);
  font-size: 1rem;
  padding: 0.75rem 1.125rem;
  outline: none;
  transition: border-color var(--iw-transition);
}

.iw-no-results .search-field::placeholder {
  color: var(--iw-text-muted);
}

.iw-no-results .search-field:focus {
  border-color: var(--iw-blue);
}

.iw-no-results .search-submit {
  background: var(--iw-btn-subscribe);
  border: none;
  border-radius: var(--iw-radius-md);
  color: var(--iw-white);
  font-family: var(--iw-font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--iw-transition);
}

.iw-no-results .search-submit:hover {
  opacity: 0.85;
}

/* ── MAIN WRAPPER ──────────────────────────────────────────────────────────── */

.iw-main {
  flex: 1;
  position: relative; /* containing block for global glow orb groups */
  overflow: clip; /* prevent absolute orbs from extending scroll height */
  padding-bottom: 3rem;
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
  /* Indicators: stack gas card below the two top cards */
  .iw-card-gas {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  /* Posts grid: tighten card image at mid width */
  .iw-posts-grid {
    padding: 0 1rem;
  }
  .iw-card-a {
    gap: 1.25rem;
    padding: 0 1.5rem 0 1.25rem;
  }
  .iw-card-a__img {
    width: 180px;
    height: 220px;
  }

  /* Col-bottom section — collapse news columns */
  .iw-row6 {
    flex-wrap: wrap;
  }
  .iw-col-left,
  .iw-col7 {
    flex: 1 1 340px;
  }
  .iw-col-right {
    flex: 1 1 100%;
  }
  /* Row-top title — show only 2 headings when layout is 2+1 cols */
  .iw-row-top {
    display: flex;
  }
  .iw-subtitle--news {
    display: none; /* NEWS heading moves to before col-right */
  }
  .iw-subtitle--news-inline {
    display: flex; /* show standalone NEWS heading inside col-right */
  }

  /* Footer newsletter form: reduce gap on tablet */
  .iw-fnl__inner {
    gap: 2rem;
  }

  /* Single page */
  .iw-single__layout {
    grid-template-columns: 1fr;
  }
  .iw-single__sidebar {
    position: static;
  }
  .iw-about__two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  /* Indicator cards: single column */
  .iw-row5 {
    grid-template-columns: 1fr;
  }
  .iw-card-banner--econ,
  .iw-card-banner--trade {
    max-width: 100%;
  }
  .iw-card-gas {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .iw-card-gas__img {
    min-height: 180px;
    border-radius: 14px;
  }
}

@media (max-width: 600px) {
  .iw-card-gas {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 1rem;
  }
  .iw-card-gas__img {
    width: 100%;
    min-height: 180px;
    border-radius: 12px;
  }
}

@media (max-width: 900px) {
  /* Nav */
  .iw-nav__links,
  .iw-nav__cta {
    display: none;
  }
  .iw-nav__hamburger {
    display: flex;
  }

  /* Hero */
  .iw-col1 {
    padding: 3rem 1.25rem 5rem;
    gap: 1.25rem;
  }
  .iw-row1 {
    min-height: 480px;
  }
  .iw-hero__graphic {
    height: auto;
    max-height: 70px;
    width: calc(100% - 2rem);
  }
  .iw-hero__tagline {
    font-size: 1rem;
    /* margin-top: 40px; */
  }
  .iw-featured {
    margin-top: -60px;
    min-height: 200px;
  }
  .iw-featured__bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
  }
  .iw-featured__content {
    gap: 2.5rem;
    padding: 2rem;
  }

  /* Cards */
  .iw-posts-row {
    grid-template-columns: 1fr;
  }
  .iw-card-a {
    flex-direction: column;
    min-height: unset;
    padding: 1.25rem;
    gap: 1rem;
  }
  .iw-card-a__img {
    width: 100%;
    height: 200px;
    margin-top: 0;
    border-radius: 10px;
  }
  .iw-card-a__body {
    width: 100%;
    margin-top: 0;
    gap: 0.75rem;
  }

  /* Col-bottom */
  .iw-row-top {
    display: none;
  }
  .iw-subtitle--news-inline {
    display: none;
  }
  .iw-row6 {
    flex-direction: column;
  }

  /* Newsletter */
  .iw-newsletter__inner {
    padding: 2.5rem 2rem;
  }
  .iw-newsletter__content {
    max-width: 70%;
  }
  .iw-newsletter__overlay {
    background: linear-gradient(to right, #020206 0%, #020206 30%, rgba(2, 2, 6, 0.5) 60%, transparent 100%);
  }
  .iw-footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer top: stack logo + nav vertically */
  .iw-footer__top {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }
  .iw-footer__nav {
    justify-content: center;
    gap: 0.5rem 1.25rem;
  }

  /* Footer newsletter form: stack vertically */
  .iw-fnl__inner {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem 0;
  }
  .iw-fnl__copy {
    flex: none;
    width: 100%;
  }
  .iw-fnl__disclaimer {
    padding: 1rem 1.5rem 0;
  }
  .iw-fnl__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .iw-fnl__submit {
    align-self: flex-start;
  }

  /* Other pages */
  .iw-about__cover-row {
    grid-template-columns: 1fr;
  }
  /* Trading tools */
  .iw-trading__header-row {
    display: none; /* col headers don't align when layout stacks */
  }
  .iw-trading__tool {
    grid-template-columns: 1fr;
  }
  .iw-trading__tool-name {
    border-right: none;
    border-bottom: 1px solid var(--iw-card-border-sub);
    min-height: unset;
    justify-content: flex-start;
    padding: 0.875rem 1.25rem;
  }
  .iw-trading__tool-desc {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  .iw-trading__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .iw-trading__category {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--iw-card-border-sub);
  }
  .iw-about__forecast-card {
    flex-direction: column;
  }
  .iw-about__forecast-card-img {
    width: 100%;
  }
  .iw-cat-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   IW DATA PLUGIN — Page Styles
   Shared: iw-data-body, iw-data-empty, iw-data-footer-note
   ========================================================= */
.iw-data-body {
  padding: 3rem 0 4rem;
}
.iw-data-empty {
  text-align: center;
  color: var(--iw-text-muted);
  font-size: 1rem;
  padding: 4rem 0;
}
.iw-data-footer-note {
  font-size: 0.75rem;
  color: var(--iw-text-muted);
  margin-top: 2rem;
  text-align: center;
}
.iw-data-section-title {
  font-family: var(--iw-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--iw-blue);
  margin: 2.5rem 0 1rem;
}
.iw-card-banner--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
/* Gas card is also a link but needs grid, not block */
.iw-card-gas.iw-card-banner--link {
  display: grid;
}
.iw-card-banner--link:hover {
  border-color: var(--iw-card-border);
  opacity: 0.92;
}

/* =========================================================
   FORECAST PAGE — Table
   ========================================================= */
.iw-forecast-table {
  width: 100%;
  font-size: 0.875rem;
  border: 1px solid var(--iw-card-border-sub);
  border-radius: 16px;
  overflow: hidden;
}

/* Header + data rows share the same 5-column grid */
.iw-forecast-table__head,
.iw-forecast-table__row {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr 130px;
  align-items: center;
}

.iw-forecast-table__head {
  background: rgba(82, 123, 255, 0.06);
  border-bottom: 1px solid var(--iw-card-border-sub);
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.iw-forecast-table__head span {
  padding: 0.75rem 1.25rem;
  text-align: left;
  font-family: var(--iw-font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iw-text-muted);
}

.iw-forecast-table__row {
  cursor: pointer;
  border-bottom: 1px solid rgba(82, 123, 255, 0.1);
  transition: background var(--iw-transition, 0.2s ease);
  position: relative;
}
.iw-forecast-table__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s ease;
}
.iw-forecast-table__row:hover {
  background: rgba(82, 123, 255, 0.05);
}
.iw-forecast-table__row:hover::before {
  background: var(--iw-blue);
}
.iw-forecast-table__row--open {
  background: rgba(82, 123, 255, 0.07);
}
.iw-forecast-table__row--open::before {
  background: var(--iw-cyan);
}
.iw-forecast-table__row span {
  padding: 1rem 1.25rem;
  vertical-align: middle;
}

.iw-forecast__name {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 0.5rem; /* offset from the 3px left accent */
}
.iw-forecast__code {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--iw-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.iw-forecast__desc-short {
  font-size: 0.75rem;
  color: var(--iw-text-muted);
  line-height: 1.4;
}
.iw-forecast__val {
  color: var(--iw-cyan);
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.iw-forecast__val--muted {
  color: var(--iw-text-muted);
  font-weight: 400;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.iw-forecast__change {
  font-size: 0.825rem;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.iw-forecast__change--pos {
  color: #4caf50;
}
.iw-forecast__change--neg {
  color: #f44336;
}
.iw-forecast__sparkline-cell {
  padding: 0.625rem 1.25rem !important;
  display: flex;
  align-items: center;
}
.iw-sparkline {
  display: block;
  width: 110px;
  height: 38px;
}

/* Expandable detail row */
.iw-forecast-detail {
  background: rgba(10, 10, 29, 0.8);
  overflow: hidden;
  border-left: 3px solid var(--iw-cyan);
}
.iw-forecast-detail[hidden] {
  display: none;
}
.iw-forecast-detail__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--iw-card-border-sub);
}
.iw-forecast-detail__desc {
  color: var(--iw-text);
  font-size: 0.875rem;
  line-height: 1.7;
}
.iw-forecast-detail__chart-wrap {
  position: relative;
  height: 160px;
}
.iw-detail-chart {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  /* Mobile slider — JS controls card widths + transforms */
  .iw-latest-slider {
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
  }
  .iw-latest-slider.is-dragging {
    cursor: grabbing;
  }
  .iw-latest-track {
    gap: 0;
  }
  /* Each card fills the slider width minus padding on each side */
  .iw-lcard {
    height: auto;
    min-height: 220px;
    border-radius: 16px;
    flex-shrink: 0;
  }
  .iw-lcard__img-wrap {
    flex: 0 0 42%;
    padding: 1rem;
  }
  .iw-lcard__body {
    padding: 1.25rem 1.25rem 1.25rem 0;
    gap: 0.75rem;
  }
  .iw-lcard__title {
    font-size: 1rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .iw-lcard {
    flex-direction: column;
  }
  .iw-lcard__img-wrap {
    flex: none;
    width: 100%;
    height: 190px;
    padding: 0.75rem 0.75rem 0;
  }
  .iw-lcard__body {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .iw-forecast-table__head,
  .iw-forecast-table__row {
    grid-template-columns: 2fr 1fr 80px;
  }
  /* Hide Previous + Change columns, tighten cell padding */
  .iw-forecast-table__head span:nth-child(3),
  .iw-forecast-table__head span:nth-child(4),
  .iw-forecast-table__row .iw-forecast__val--muted,
  .iw-forecast-table__row .iw-forecast__change {
    display: none;
  }
  .iw-forecast-table__head span,
  .iw-forecast-table__row span {
    padding: 0.625rem 0.75rem;
  }
  .iw-sparkline {
    width: 72px;
    height: 30px;
  }
  .iw-forecast-detail__inner {
    grid-template-columns: 1fr;
  }
  .iw-forecast-detail__chart-wrap {
    height: 120px;
  }
}

@media (max-width: 480px) {
  /* On very small screens: hide sparkline, show Change instead */
  .iw-forecast-table__head,
  .iw-forecast-table__row {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .iw-forecast-table__head span:nth-child(4),
  .iw-forecast-table__row .iw-forecast__change {
    display: revert;
  }
  .iw-forecast-table__head span:nth-child(5),
  .iw-forecast-table__row .iw-forecast__sparkline-cell {
    display: none;
  }
  .iw-forecast__desc-short {
    display: none; /* save row height on tiny screens */
  }
}

/* =========================================================
   GAS PRICES PAGE
   ========================================================= */
.iw-gas-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.iw-gas-stat {
  flex: 1;
  min-width: 140px;
  background: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border-sub);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.iw-gas-stat__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--iw-text-muted);
}
.iw-gas-stat__value {
  font-family: var(--iw-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--iw-white);
}
.iw-gas-stat--low .iw-gas-stat__value {
  color: var(--iw-cyan);
}
.iw-gas-stat--high .iw-gas-stat__value {
  color: #ff6060;
}

/* SVG map container */
.iw-gas-map-wrap {
  margin-bottom: 1rem;
}
.iw-gas-map-container {
  position: relative;
  overflow: hidden;
  background: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border-sub);
  border-radius: 12px;
  aspect-ratio: 16 / 7;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.iw-gas-map-container:active {
  cursor: grabbing;
}
.iw-gas-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
}
.iw-gas-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.iw-gas-map svg path,
.iw-gas-map svg g {
  stroke: rgba(2, 2, 6, 0.6);
  stroke-width: 0.5;
  transition:
    filter 0.15s,
    opacity 0.15s;
  cursor: pointer;
}
.iw-gas-map svg path:hover,
.iw-gas-map svg g:hover {
  filter: brightness(1.3);
}
.iw-gas-map svg path.iw-state--selected,
.iw-gas-map svg g.iw-state--selected {
  stroke: var(--iw-cyan) !important;
  stroke-width: 2 !important;
  paint-order: stroke;
  filter: brightness(1.6) drop-shadow(0 0 4px rgba(0, 225, 255, 0.5)) drop-shadow(0 0 10px rgba(0, 225, 255, 0.25));
  animation: iw-state-pulse 1.8s ease-in-out infinite;
}
@keyframes iw-state-pulse {
  0%,
  100% {
    filter: brightness(1.6) drop-shadow(0 0 4px rgba(0, 225, 255, 0.5)) drop-shadow(0 0 10px rgba(0, 225, 255, 0.25));
  }
  50% {
    filter: brightness(1.8) drop-shadow(0 0 8px rgba(0, 225, 255, 0.9)) drop-shadow(0 0 18px rgba(0, 225, 255, 0.4));
  }
}
/* Dim unselected states when something is selected */
.iw-has-selection .iw-gas-map svg path:not(.iw-state--selected),
.iw-has-selection .iw-gas-map svg g:not(.iw-state--selected) {
  opacity: 0.45;
}
.iw-gas-map__hint {
  text-align: center;
  font-size: 0.7rem;
  color: var(--iw-text-muted);
  margin-top: 0.5rem;
}

/* State detail panel */
.iw-gas-state-panel {
  background: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-top: 2px solid var(--iw-cyan);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  position: relative;
  animation: iw-panel-in 0.2s ease;
}
.iw-gas-state-panel[hidden] {
  display: none;
}
@keyframes iw-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.iw-gas-state-panel__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--iw-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color 0.15s;
}
.iw-gas-state-panel__close:hover {
  color: var(--iw-white);
}
.iw-gas-state-panel__name {
  font-family: var(--iw-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--iw-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.iw-gas-state-panel__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: center;
}
.iw-gas-state-panel__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 110px;
  text-align: center;
  padding: 0.75rem 1rem;
  background: rgba(82, 123, 255, 0.05);
  border: 1px solid var(--iw-card-border-sub);
  border-radius: 10px;
}
.iw-gas-state-panel__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--iw-text-muted);
}
.iw-gas-state-panel__value {
  font-family: var(--iw-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--iw-white);
}
.iw-gas-state-panel__value--up {
  color: #f44336;
}
.iw-gas-state-panel__value--down {
  color: #4caf50;
}

/* Color legend */
.iw-gas-legend {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.iw-gas-legend__scale {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--iw-text-muted);
}
.iw-gas-legend__gradient {
  width: 160px;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(to right, var(--iw-cyan), #ffee55, #ff4444);
}

/* Gas data table */
.iw-gas-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border: 1px solid var(--iw-card-border-sub);
  border-radius: 12px;
  overflow: hidden;
}
.iw-gas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 480px;
}
.iw-gas-table thead {
  background: rgba(82, 123, 255, 0.06);
}
.iw-gas-table thead th {
  padding: 0.7rem 1.25rem;
  text-align: right;
  font-family: var(--iw-font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iw-text-muted);
  border-bottom: 1px solid var(--iw-card-border-sub);
  white-space: nowrap;
}
.iw-gas-table thead th:first-child {
  text-align: left;
}
.iw-gas-table tbody tr {
  border-bottom: 1px solid rgba(82, 123, 255, 0.08);
  transition: background 0.15s;
}
.iw-gas-table tbody tr:last-child {
  border-bottom: none;
}
.iw-gas-table tbody tr:hover {
  background: rgba(82, 123, 255, 0.05);
}
.iw-gas-table tbody td {
  padding: 0.65rem 1.25rem;
  text-align: right;
  color: var(--iw-text);
  font-variant-numeric: tabular-nums;
}
.iw-gas-table tbody td:first-child {
  text-align: left;
}
.iw-gas-table tbody td.iw-gas-table__state {
  font-weight: 600;
  color: var(--iw-white);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.iw-gas-table tbody td.iw-gas-table__price {
  font-weight: 700;
  color: var(--iw-cyan);
}
.iw-gas-table tbody td.iw-gas-table__change--up {
  color: #f44336;
  font-weight: 600;
}
.iw-gas-table tbody td.iw-gas-table__change--down {
  color: #4caf50;
  font-weight: 600;
}

/* JS tooltip */
.iw-gas-tooltip {
  position: fixed;
  z-index: 9999;
  background: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--iw-text);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.6;
  display: none;
}
.iw-gas-tooltip__state {
  font-weight: 700;
  color: var(--iw-cyan);
  font-family: var(--iw-font-display);
  font-size: 0.8rem;
}

/* Table row selected state */
.iw-gas-table tbody tr.iw-gas-table__row--selected {
  background: rgba(0, 225, 255, 0.08);
  outline: 1px solid rgba(0, 225, 255, 0.3);
}

/* =========================================================
   GLOBAL TRADE PAGE
   ========================================================= */
.iw-trade-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  background: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border-sub);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}
.iw-trade-summary__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.25rem 1rem;
}
.iw-trade-summary__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--iw-text-muted);
}
.iw-trade-summary__value {
  font-family: var(--iw-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--iw-white);
  line-height: 1;
}
.iw-trade-summary__value--pos {
  color: #4caf50;
}
.iw-trade-summary__value--neg {
  color: #f44336;
}
.iw-trade-summary__item--export .iw-trade-summary__value {
  color: #4caf50;
}
.iw-trade-summary__item--import .iw-trade-summary__value {
  color: var(--iw-cyan);
}
.iw-trade-summary__divider {
  width: 1px;
  height: 52px;
  background: var(--iw-card-border-sub);
  flex-shrink: 0;
}

/* Country breakdown bars */
.iw-trade-countries {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.iw-trade-country {
  background: var(--iw-card-bg);
  border: 1px solid var(--iw-card-border-sub);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 1rem;
}
.iw-trade-country__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--iw-white);
}
.iw-trade-country__bars {
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
}
.iw-trade-country__bar {
  height: 100%;
  border-radius: 4px;
}
.iw-trade-country__bar--exp {
  background: #4caf50;
}
.iw-trade-country__bar--imp {
  background: var(--iw-cyan);
}
.iw-trade-country__vals {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  white-space: nowrap;
}
.iw-trade-country__exp {
  color: #4caf50;
  font-weight: 600;
}
.iw-trade-country__imp {
  color: var(--iw-cyan);
  font-weight: 600;
}

/* Trade detailed table */
.iw-trade-table-wrap {
  overflow-x: auto;
}
.iw-trade-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 600px;
}
.iw-trade-table thead th {
  padding: 0.5rem 1rem;
  text-align: left;
  font-family: var(--iw-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iw-text-muted);
  border-bottom: 1px solid var(--iw-card-border-sub);
}
.iw-trade-table tbody tr {
  border-bottom: 1px solid rgba(82, 123, 255, 0.1);
  transition: background var(--iw-transition);
}
.iw-trade-table tbody tr:hover {
  background: rgba(82, 123, 255, 0.05);
}
.iw-trade-table tbody td {
  padding: 0.6rem 1rem;
}
.iw-trade-table__country {
  font-weight: 600;
  color: var(--iw-white);
}
.iw-trade-table__sector {
  color: var(--iw-text);
  font-size: 0.8rem;
}
.iw-trade-table__value {
  font-weight: 600;
  color: var(--iw-white);
  white-space: nowrap;
}
.iw-trade-table__date {
  color: var(--iw-text-muted);
  font-size: 0.75rem;
  white-space: nowrap;
}
.iw-trade-table__type {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.iw-trade-table__type--exp {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}
.iw-trade-table__type--imp {
  background: rgba(0, 225, 255, 0.12);
  color: var(--iw-cyan);
}

@media (max-width: 640px) {
  .iw-trade-country {
    grid-template-columns: 100px 1fr;
  }
  .iw-trade-country__vals {
    display: none;
  }
  .iw-trade-summary {
    grid-template-columns: 1fr;
    gap: 1.25rem 0;
  }
  .iw-trade-summary__divider {
    display: none;
  }
  .iw-gas-map-container {
    aspect-ratio: 4 / 3;
  }
  .iw-gas-stats {
    justify-content: center;
  }
  .iw-gas-stat {
    align-items: center;
    text-align: center;
    flex: 1 1 140px;
    max-width: 180px;
  }

  /* Newsletter: full width content, overlay covers full card */
  .iw-newsletter__inner {
    padding: 2rem 1.25rem;
  }
  .iw-newsletter__content {
    max-width: 100%;
  }
  .iw-newsletter__overlay {
    background: linear-gradient(to bottom, #020206 0%, rgba(2, 2, 6, 0.95) 55%, rgba(2, 2, 6, 0.7) 100%);
  }
  .iw-newsletter__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .iw-newsletter__submit {
    align-self: flex-start;
  }
}

@media (max-width: 460px) {
  .iw-posts-grid {
    margin: -6rem 0 0;
  }
}
