body.oil-benchmark-wti {
  --oil-brand-color: #0284c7;
  --oil-brand-accent: #38bdf8;
}
body.oil-benchmark-brent {
  --oil-brand-color: #10b981;
  --oil-brand-accent: #34d399;
}
body.oil-benchmark-dme-oman {
  --oil-brand-color: #d97706;
  --oil-brand-accent: #fbbf24;
}
body.oil-benchmark-opec-basket {
  --oil-brand-color: #8b5cf6;
  --oil-brand-accent: #a78bfa;
}


    /* Top Nav Single-Row Clamp with +/- Expand Button */
    @media (min-width: 761px) {
      .site-header .main-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        min-width: 0;
        flex: 1 1 auto;
      }
      .main-nav-links-wrap {
        flex: 1;
        min-width: 0;
        height: 38px;
        overflow: hidden;
        transition: height 0.3s ease;
      }
      .main-nav-links-wrap.is-expanded {
        height: auto;
        overflow: visible;
      }
      .main-nav-links-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        column-gap: clamp(6px, 1vw, 14px);
        row-gap: 6px;
      }
      .top-nav-toggle-btn {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        font-family: inherit;
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1;
        color: #9cffee;
        background: rgba(156, 255, 238, 0.08);
        border: 1px solid rgba(156, 255, 238, 0.28);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .top-nav-toggle-btn:hover,
      .top-nav-toggle-btn.is-active {
        color: #02201d;
        background: linear-gradient(135deg, #9cffee 0%, #48dcc8 100%);
        border-color: #9cffee;
        box-shadow: 0 2px 10px rgba(72, 220, 200, 0.35);
      }
    }

    @media (max-width: 760px) {
      .site-header .main-nav {
        display: none;
      }
      .site-header .main-nav[data-open="true"] {
        display: flex;
      }
      .top-nav-toggle-btn {
        display: none !important;
      }
      .main-nav-links-wrap {
        height: auto !important;
        overflow: visible !important;
      }
      .main-nav-links-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
      }
      .main-nav-links-list a {
        display: block;
        padding: 11px 14px;
        color: #dbe7eb;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 0.9rem;
      }
      .main-nav-links-list a:last-child {
        border-bottom: none;
      }
      .main-nav-links-list a:hover,
      .main-nav-links-list a.is-active {
        color: #9cffee;
        background: rgba(156, 255, 238, 0.08);
      }
    }

    /* Scoped styling for Annual Crude History Page */
    .crude-hero-section {
      padding: 34px 0 20px;
    }
    .crude-hero-card {
      position: relative;
      background: linear-gradient(165deg, rgba(20, 28, 40, 0.95) 0%, rgba(10, 15, 24, 0.98) 100%);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 20px;
      padding: clamp(20px, 3.5vw, 36px);
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
      margin-bottom: 28px;
    }
    .crude-header-flex {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 24px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .crude-year-og-figure {
      margin: 0 0 24px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 16px;
      background: rgba(3, 8, 16, 0.72);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
    }
    .crude-year-og-figure img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 1200 / 630;
      object-fit: cover;
    }
    .crude-year-og-figure figcaption {
      padding: 10px 14px;
      color: #aebdcc;
      font-size: 0.78rem;
      line-height: 1.6;
    }
    .crude-title-wrap {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .crude-badge-circle {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--oil-brand-color) 0%, var(--oil-brand-accent) 100%);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      font-weight: 800;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
      flex-shrink: 0;
    }
    .crude-title-wrap h1 {
      margin: 0;
      font-size: clamp(1.25rem, 2.5vw, 1.85rem);
      color: #ffffff;
      line-height: 1.25;
    }
    .crude-hero-subtitle {
      margin: 4px 0 0;
      font-size: 0.88rem;
      color: #94a3b8;
    }

    /* Jump Bars */
    .crude-jump-pill {
      display: inline-flex;
      align-items: center;
      padding: 7px 14px;
      font-size: 0.82rem;
      font-weight: 700;
      color: #cbd5e1;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 999px;
      text-decoration: none;
      transition: all 0.2s ease;
    }
    .crude-jump-pill:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      border-color: rgba(156, 255, 238, 0.3);
    }
    .crude-jump-pill.is-current {
      background: #16b8a6;
      color: #042421;
      border-color: #16b8a6;
      font-weight: 800;
    }

    /* Executive Highlight Cards (4 Grid) */
    .history-highlight-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      margin-bottom: 28px;
    }
    .history-highlight-card {
      padding: 18px 20px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .history-highlight-label {
      font-size: 0.78rem;
      font-weight: 750;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      margin-bottom: 8px;
    }
    .history-highlight-val {
      font-size: 1.45rem;
      font-weight: 800;
      color: #ffffff;
      line-height: 1.2;
    }
    .history-highlight-sub {
      font-size: 0.8rem;
      color: #94a3b8;
      margin-top: 6px;
    }

    /* Chart Container */
    .crude-chart-container {
      margin-top: 28px;
      padding: 24px;
      background: rgba(8, 12, 20, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 18px;
    }
    .crude-chart-header {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 18px;
    }
    .crude-chart-plot-wrap {
      position: relative;
      width: 100%;
      height: 320px;
    }
    .crude-chart-tooltip {
      position: absolute;
      padding: 6px 12px;
      background: rgba(4, 8, 16, 0.95);
      border: 1px solid #9cffee;
      border-radius: 8px;
      font-size: 0.82rem;
      font-weight: 750;
      color: #ffffff;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
      pointer-events: none;
      z-index: 10;
      white-space: nowrap;
      transform: translate(-50%, -100%) translateY(-12px);
      transition: opacity 0.15s ease, transform 0.15s ease;
    }
    .crude-chart-tooltip[data-align="start"] {
      transform: translate(0, -100%) translateY(-12px);
    }
    .crude-chart-tooltip[data-align="end"] {
      transform: translate(-100%, -100%) translateY(-12px);
    }
    .crude-chart-point-group {
      outline: none;
      cursor: pointer;
    }
    .crude-chart-hitarea {
      fill: transparent;
      stroke: transparent;
      cursor: pointer;
    }
    .crude-chart-dot {
      transition: r 0.18s ease, stroke-width 0.18s ease, fill 0.18s ease;
    }
    .crude-chart-point-group:hover .crude-chart-dot,
    .crude-chart-point-group:focus .crude-chart-dot,
    .crude-chart-point-group.is-active .crude-chart-dot {
      r: 6;
      fill: #9cffee !important;
      stroke: #02201d;
      stroke-width: 2.5;
      filter: drop-shadow(0 0 8px rgba(156, 255, 238, 0.9));
    }

    /* Tables */
    .crude-table-container {
      margin-top: 32px;
      padding: 24px;
      background: rgba(8, 12, 20, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 18px;
    }
    .crude-history-table-responsive {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(8, 12, 20, 0.6);
      margin-top: 14px;
      max-height: 520px;
    }
    .crude-history-table {
      width: 100%;
      min-width: 600px;
      border-collapse: collapse;
      font-size: 0.86rem;
    }
    .crude-history-table thead th {
      padding: 12px 16px;
      background: rgba(20, 28, 40, 0.95);
      color: #94a3b8;
      font-size: 0.78rem;
      font-weight: 750;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      position: sticky;
      top: 0;
      z-index: 2;
    }
    .crude-history-table tbody td {
      padding: 12px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      color: #cbd5e1;
    }
    .crude-history-table tbody tr:hover td {
      background: rgba(255, 255, 255, 0.03);
    }
    .table-change-text.is-up { color: #f87171; font-weight: 750; }
    .table-change-text.is-down { color: #34d399; font-weight: 750; }
    .table-change-text.is-flat { color: #94a3b8; font-weight: 750; }
    .table-status-badge {
      display: inline-block;
      padding: 3px 10px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 750;
      white-space: nowrap;
    }
    .table-status-badge.is-up {
      background: rgba(239, 68, 68, 0.15);
      color: #fca5a5;
      border: 1px solid rgba(239, 68, 68, 0.3);
    }
    .table-status-badge.is-down {
      background: rgba(34, 197, 94, 0.15);
      color: #86efac;
      border: 1px solid rgba(34, 197, 94, 0.3);
    }
    .table-status-badge.is-flat {
      background: rgba(148, 163, 184, 0.12);
      color: #cbd5e1;
      border: 1px solid rgba(148, 163, 184, 0.25);
    }

    .crude-info-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 20px;
      margin-top: 28px;
    }
    .crude-info-card {
      padding: 24px;
      background: linear-gradient(160deg, rgba(20, 28, 40, 0.85) 0%, rgba(12, 17, 25, 0.9) 100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
    }
    .crude-info-card h3 {
      margin: 0 0 12px;
      font-size: 1.12rem;
      color: #9cffee;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .crude-info-card p {
      margin: 0 0 12px;
      color: #cbd5e1;
      font-size: 0.9rem;
      line-height: 1.65;
    }
