/*
Theme Name: InfoBets Media
Theme URI: https://infobets.com/
Description: Editorial child theme for InfoBets betting information, reporting & analysis.
Author: InfoBets
Template: mercury
Version: 1.1.0
Text Domain: infobets-media
*/

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ib-ink: #081a33;
  --ib-ink-2: #173451;
  --ib-blue: #075dff;
  --ib-blue-dark: #003bb7;
  --ib-cyan: #09aeca;
  --ib-green: #00a86b;
  --ib-red: #e04444;
  --ib-red-dark: #a91f28;
  --ib-gold: #d89b20;
  --ib-paper: #f4f7fa;
  --ib-paper-2: #eaf0f5;
  --ib-line: #d7e0e8;
  --ib-muted: #54677a;
  --ib-white: #ffffff;
  --ib-shadow: 0 20px 55px rgba(8, 26, 51, 0.12);
  --ib-width: 1240px;
  --ib-reading: 820px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  background: var(--ib-white);
  color: var(--ib-ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: "Inter", Arial, sans-serif;
}

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

a {
  color: var(--ib-blue-dark);
}

a:hover {
  color: var(--ib-blue);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #49c8e7;
  outline-offset: 3px;
}

::selection {
  background: #cce7ff;
  color: var(--ib-ink);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto !important;
  height: auto !important;
  padding: 12px 16px !important;
  clip: auto !important;
  background: var(--ib-white);
  color: var(--ib-ink);
}

.ib-site {
  min-height: 100vh;
  overflow: clip;
}

.ib-shell {
  width: min(calc(100% - 40px), var(--ib-width));
  margin-inline: auto;
}

.ib-narrow {
  width: min(calc(100% - 40px), var(--ib-reading));
  margin-inline: auto;
}

.ib-topline {
  position: relative;
  z-index: 1002;
  min-height: 34px;
  background: var(--ib-ink);
  color: #d9e5ef;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.ib-topline__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ib-topline__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ib-topline__label::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--ib-red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(224, 68, 68, 0.2);
}

.ib-topline a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ib-white);
  text-decoration: none;
}

.ib-topline a:hover {
  color: #78ddf0;
}

.ib-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(8, 26, 51, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease;
}

.ib-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(8, 26, 51, 0.09);
}

.ib-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 28px;
}

.ib-brand {
  display: inline-grid;
  grid-template-columns: 59px auto;
  grid-template-rows: auto auto;
  align-items: center;
  justify-self: start;
  column-gap: 10px;
  color: var(--ib-ink) !important;
  text-decoration: none !important;
}

.ib-brand__mark {
  grid-row: 1 / 3;
  display: block;
  width: 59px;
  height: 46px;
  object-fit: contain;
}

.ib-brand__name {
  align-self: end;
  font-size: 29px;
  font-weight: 880;
  line-height: 0.95;
  letter-spacing: 0;
}

.ib-brand__tagline {
  align-self: start;
  margin-top: 6px;
  color: var(--ib-blue-dark);
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ib-brand--footer {
  grid-template-columns: 66px auto;
}

.ib-brand--footer .ib-brand__mark {
  width: 66px;
  height: 52px;
}

.ib-brand--footer .ib-brand__name {
  font-size: 34px;
}

.ib-brand--footer .ib-brand__tagline {
  font-size: 10px;
}

.ib-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.ib-nav a {
  position: relative;
  padding: 29px 0 26px;
  color: var(--ib-ink-2);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
}

.ib-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--ib-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.ib-nav a:hover::after,
.ib-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ib-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.ib-icon-button,
.ib-menu summary {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ib-line);
  border-radius: 6px;
  background: var(--ib-white);
  color: var(--ib-ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  list-style: none;
}

.ib-icon-button:hover,
.ib-menu summary:hover {
  border-color: #8ca1b5;
  background: var(--ib-paper);
}

.ib-menu summary::-webkit-details-marker {
  display: none;
}

.ib-header__cta,
.ib-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--ib-red);
  color: var(--ib-white) !important;
  font-size: 13px;
  font-weight: 820;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ib-header__cta:hover,
.ib-button:hover {
  background: var(--ib-red-dark);
  color: var(--ib-white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(169, 31, 40, 0.22);
}

.ib-button--light {
  border-color: rgba(255, 255, 255, 0.52);
  background: var(--ib-white);
  color: var(--ib-ink) !important;
}

.ib-button--light:hover {
  background: #e9f3fa;
  color: var(--ib-ink) !important;
}

.ib-button--blue {
  background: var(--ib-blue-dark);
}

.ib-button--blue:hover {
  background: #002b86;
}

.ib-menu {
  position: relative;
  display: none;
}

.ib-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(330px, calc(100vw - 30px));
  padding: 13px;
  border: 1px solid var(--ib-line);
  border-radius: 8px;
  background: var(--ib-white);
  box-shadow: var(--ib-shadow);
}

.ib-menu__panel a {
  min-height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ib-line);
  color: var(--ib-ink);
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
}

.ib-menu__panel a:last-of-type {
  border-bottom: 0;
}

.ib-search-popover {
  position: relative;
}

.ib-search-popover__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(410px, calc(100vw - 30px));
  padding: 13px;
  border: 1px solid var(--ib-line);
  border-radius: 8px;
  background: var(--ib-white);
  box-shadow: var(--ib-shadow);
}

.ib-search-popover:not([open]) .ib-search-popover__panel {
  display: none;
}

.ib-search-form {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
}

.ib-search-form input {
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--ib-line);
  border-radius: 5px;
  color: var(--ib-ink);
  font-size: 15px;
}

.ib-search-form button {
  border: 0;
  border-radius: 5px;
  background: var(--ib-blue-dark);
  color: var(--ib-white);
  cursor: pointer;
}

.ib-kicker-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ib-blue-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ib-kicker-line::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--ib-blue);
}

.ib-hero {
  position: relative;
  min-height: min(680px, calc(100svh - 146px));
  overflow: hidden;
  isolation: isolate;
  background: #071321;
  color: var(--ib-white);
}

.ib-hero__art,
.ib-hero__art img,
.ib-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ib-hero__art {
  margin: 0;
  z-index: -3;
}

.ib-hero__art img {
  object-fit: cover;
  object-position: center;
}

.ib-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 15, 28, 0.98) 0%, rgba(5, 15, 28, 0.9) 40%, rgba(5, 15, 28, 0.38) 72%, rgba(5, 15, 28, 0.22) 100%),
    linear-gradient(0deg, rgba(5, 15, 28, 0.82), transparent 46%);
}

.ib-hero__inner {
  min-height: min(680px, calc(100svh - 146px));
  padding-block: 72px 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.ib-hero__eyebrow {
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid var(--ib-red);
  color: #dce8f2;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ib-hero h1 {
  max-width: 910px;
  margin: 0;
  color: var(--ib-white);
  font-size: clamp(52px, 7.4vw, 104px);
  font-weight: 890;
  line-height: 0.92;
  letter-spacing: 0;
}

.ib-hero h1 span {
  display: block;
  margin-top: 13px;
  color: #ff6b69;
  font-size: clamp(25px, 3.3vw, 47px);
  font-weight: 780;
  line-height: 1.06;
}

.ib-hero__deck {
  max-width: 790px;
  margin: 24px 0 27px;
  color: #d4e0ea;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.5;
}

.ib-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ib-hero__meta {
  color: #bdd0df;
  font-size: 13px;
  font-weight: 720;
}

.ib-evidence-strip {
  border-bottom: 1px solid var(--ib-line);
  background: var(--ib-white);
}

.ib-evidence-strip__inner {
  min-height: 102px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  align-items: stretch;
}

.ib-evidence-strip__intro,
.ib-evidence-stat {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--ib-line);
}

.ib-evidence-strip__intro {
  padding-left: 0;
}

.ib-evidence-stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.ib-evidence-strip__intro strong {
  font-size: 17px;
  line-height: 1.25;
}

.ib-evidence-strip__intro span,
.ib-evidence-stat span {
  color: var(--ib-muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.4;
}

.ib-evidence-stat strong {
  color: var(--ib-ink);
  font-size: 33px;
  font-weight: 870;
  line-height: 1;
}

.ib-section {
  padding-block: 88px;
}

.ib-section--paper {
  background: var(--ib-paper);
}

.ib-section--dark {
  background: var(--ib-ink);
  color: var(--ib-white);
}

.ib-section__head {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.ib-section__head h2,
.ib-page-hero h1,
.ib-single-header h1 {
  margin: 8px 0 0;
  color: var(--ib-ink);
  font-size: clamp(39px, 5.3vw, 72px);
  font-weight: 880;
  line-height: 0.98;
  letter-spacing: 0;
}

.ib-section__head p {
  max-width: 490px;
  margin: 0;
  color: var(--ib-muted);
  font-size: 16px;
}

.ib-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ib-ink);
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
}

.ib-text-link:hover {
  color: var(--ib-blue);
}

.ib-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  gap: 22px;
}

.ib-story-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ib-line);
  border-radius: 8px;
  background: var(--ib-white);
  box-shadow: 0 10px 32px rgba(8, 26, 51, 0.07);
}

.ib-story-card__link {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit !important;
  text-decoration: none !important;
}

.ib-story-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ib-ink);
}

.ib-story-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 400ms ease;
}

.ib-story-card__art {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ib-ink);
  color: var(--ib-white);
}

.ib-story-card__art::before,
.ib-story-card__art::after {
  content: "";
  position: absolute;
  right: -8%;
  left: 22%;
  height: 46%;
  transform: skewY(-10deg);
}

.ib-story-card__art::before {
  bottom: 9%;
  background: var(--ib-blue);
  opacity: 0.7;
}

.ib-story-card__art::after {
  bottom: -18%;
  background: var(--ib-green);
  opacity: 0.86;
}

.ib-story-card__art--1::before {
  background: var(--ib-green);
}

.ib-story-card__art--1::after {
  background: var(--ib-blue);
}

.ib-story-card__art--2::before {
  background: var(--ib-red);
}

.ib-story-card__art--2::after {
  background: var(--ib-gold);
}

.ib-story-card__art img {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  width: 56px;
  height: 44px;
  object-fit: contain;
}

.ib-story-card:hover .ib-story-card__art img {
  transform: none;
}

.ib-story-card__art span,
.ib-story-card__art strong {
  position: relative;
  z-index: 2;
}

.ib-story-card__art span {
  color: #d7e6f2;
  font-size: 10px;
  font-weight: 830;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ib-story-card__art strong {
  max-width: 360px;
  margin-top: 5px;
  font-size: clamp(20px, 2.1vw, 31px);
  line-height: 1.05;
}

.ib-story-card--compact .ib-story-card__art {
  padding: 15px;
}

.ib-story-card--compact .ib-story-card__art img {
  top: 13px;
  left: 13px;
  width: 40px;
  height: 32px;
}

.ib-story-card--compact .ib-story-card__art strong {
  font-size: 16px;
}

.ib-story-card:hover .ib-story-card__media img {
  transform: scale(1.025);
}

.ib-story-card__body {
  flex: 1;
  padding: 24px;
}

.ib-story-card__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--ib-red-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ib-story-card__label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ib-red);
}

.ib-story-card h3 {
  margin: 0;
  color: var(--ib-ink);
  font-size: clamp(24px, 2.6vw, 37px);
  font-weight: 840;
  line-height: 1.08;
  letter-spacing: 0;
}

.ib-story-card p {
  margin: 13px 0 0;
  color: var(--ib-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ib-story-card__meta {
  margin-top: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #6b7c8d;
  font-size: 12px;
  font-weight: 700;
}

.ib-story-card--compact .ib-story-card__link {
  display: grid;
  grid-template-columns: 156px 1fr;
  align-items: stretch;
}

.ib-story-card--compact .ib-story-card__media {
  aspect-ratio: auto;
  min-height: 176px;
}

.ib-story-card--compact .ib-story-card__body {
  padding: 20px;
}

.ib-story-card--compact h3 {
  font-size: 20px;
  line-height: 1.18;
}

.ib-story-stack {
  display: grid;
  gap: 14px;
}

.ib-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ib-coverage {
  border-block: 1px solid #cfe0e7;
  background: #eaf5f7;
}

.ib-coverage__head p {
  color: #365268;
}

.ib-coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid #bfd4dd;
}

.ib-coverage-item {
  position: relative;
  min-width: 0;
  padding: 34px 25px;
  border-right: 1px solid #bfd4dd;
}

.ib-coverage-item:first-child {
  padding-left: 0;
}

.ib-coverage-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.ib-coverage-item__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid #8eabb8;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ib-blue-dark);
}

.ib-coverage-item__number {
  position: absolute;
  top: 39px;
  right: 25px;
  color: #6d8996;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.ib-coverage-item:last-child .ib-coverage-item__number {
  right: 0;
}

.ib-coverage-item h3 {
  margin: 0 0 11px;
  color: var(--ib-ink);
  font-size: 22px;
  font-weight: 820;
  line-height: 1.14;
}

.ib-coverage-item p {
  margin: 0;
  color: #466174;
  font-size: 14px;
  line-height: 1.58;
}

.ib-file-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--ib-line);
  border-top: 4px solid var(--ib-blue);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  background: var(--ib-white);
  color: var(--ib-ink) !important;
  text-decoration: none !important;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.ib-file-card:nth-child(3n + 2) {
  border-top-color: var(--ib-green);
}

.ib-file-card:nth-child(3n + 3) {
  border-top-color: var(--ib-red);
}

.ib-file-card:hover {
  transform: translateY(-3px);
  border-color: #9eafbe;
  box-shadow: 0 14px 34px rgba(8, 26, 51, 0.1);
}

.ib-file-card__number {
  color: #8192a3;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ib-file-card h3 {
  margin: 30px 0 12px;
  color: var(--ib-ink);
  font-size: 21px;
  font-weight: 820;
  line-height: 1.2;
}

.ib-file-card p {
  margin: 0;
  color: var(--ib-muted);
  font-size: 14px;
  line-height: 1.5;
}

.ib-file-card__foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ib-blue-dark);
  font-size: 12px;
  font-weight: 810;
}

.ib-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.ib-principle {
  padding: 42px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.ib-principle:first-child {
  padding-left: 0;
}

.ib-principle:last-child {
  padding-right: 0;
  border-right: 0;
}

.ib-principle__icon {
  width: 47px;
  height: 47px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: #66d9ed;
}

.ib-principle h3 {
  margin: 0 0 10px;
  color: var(--ib-white);
  font-size: 24px;
  font-weight: 800;
}

.ib-principle p {
  margin: 0;
  color: #b9c9d7;
  font-size: 15px;
}

.ib-principles--light {
  grid-template-columns: 1fr;
  margin: 26px 0 42px;
  border-block-color: var(--ib-line);
}

.ib-principles--light .ib-principle,
.ib-principles--light .ib-principle:first-child,
.ib-principles--light .ib-principle:last-child {
  padding: 27px 0;
  border-right: 0;
  border-bottom: 1px solid var(--ib-line);
}

.ib-principles--light .ib-principle:last-child {
  border-bottom: 0;
}

.ib-principles--light .ib-principle__icon {
  margin-bottom: 15px;
  border-color: var(--ib-line);
  color: var(--ib-blue-dark);
}

.ib-principles--light .ib-principle h3 {
  color: var(--ib-ink);
}

.ib-principles--light .ib-principle p {
  color: var(--ib-muted);
}

.ib-process-list {
  margin: 25px 0 42px;
  padding: 0;
  border-top: 1px solid var(--ib-line);
  list-style: none;
}

.ib-process-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--ib-line);
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
}

.ib-process-list li > span {
  color: var(--ib-blue-dark);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.1em;
}

.ib-process-list strong {
  display: block;
  color: var(--ib-ink);
  font-size: 18px;
}

.ib-process-list p {
  margin: 5px 0 0;
  color: var(--ib-muted);
  font-size: 15px;
}

.ib-dark-head h2,
.ib-dark-head .ib-kicker-line {
  color: var(--ib-white);
}

.ib-dark-head .ib-kicker-line::before {
  background: #5fd5e9;
}

.ib-cta-band {
  padding-block: 60px;
  border-bottom: 1px solid var(--ib-line);
  background: #dff5f4;
}

.ib-cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.ib-cta-band h2 {
  margin: 0 0 8px;
  color: var(--ib-ink);
  font-size: clamp(31px, 4vw, 51px);
  font-weight: 850;
  line-height: 1;
}

.ib-cta-band p {
  max-width: 690px;
  margin: 0;
  color: var(--ib-ink-2);
  font-size: 16px;
}

.ib-cta-band__actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ib-page-hero {
  padding-block: 82px 68px;
  border-bottom: 1px solid var(--ib-line);
  background: var(--ib-paper);
}

.ib-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: 56px;
}

.ib-page-hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--ib-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.ib-page-hero__aside {
  padding: 24px 0 5px 30px;
  border-left: 4px solid var(--ib-blue);
  color: var(--ib-ink-2);
  font-size: 15px;
}

.ib-page-hero__aside strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ib-ink);
  font-size: 18px;
}

.ib-news-tools {
  position: sticky;
  top: 82px;
  z-index: 100;
  padding-block: 14px;
  border-bottom: 1px solid var(--ib-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.ib-news-tools__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.ib-news-search {
  position: relative;
}

.ib-news-search svg {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: #6d7f90;
}

.ib-news-search input {
  width: 100%;
  height: 46px;
  padding: 0 15px 0 43px;
  border: 1px solid var(--ib-line);
  border-radius: 6px;
  color: var(--ib-ink);
  font-size: 15px;
}

.ib-segmented {
  padding: 4px;
  border: 1px solid var(--ib-line);
  border-radius: 7px;
  display: flex;
  background: var(--ib-paper);
}

.ib-segmented button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ib-muted);
  font-size: 12px;
  font-weight: 790;
  cursor: pointer;
}

.ib-segmented button[aria-pressed="true"] {
  background: var(--ib-white);
  color: var(--ib-ink);
  box-shadow: 0 2px 8px rgba(8, 26, 51, 0.08);
}

.ib-results-count {
  margin: 0 0 20px;
  color: var(--ib-muted);
  font-size: 13px;
  font-weight: 720;
}

.ib-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ib-archive-grid .ib-story-card h3 {
  font-size: 24px;
}

.ib-archive-grid .ib-story-card__body {
  padding: 22px;
}

.ib-archive-grid .ib-story-card[hidden] {
  display: none;
}

.ib-empty-state {
  padding: 50px 20px;
  border-block: 1px solid var(--ib-line);
  color: var(--ib-muted);
  text-align: center;
}

.ib-single-header {
  padding-block: 48px 0;
  background: var(--ib-white);
}

.ib-single-header__inner {
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
}

.ib-single-header h1 {
  max-width: 1060px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.01;
}

.ib-single-header__crumbs {
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ib-muted);
  font-size: 12px;
  font-weight: 750;
}

.ib-single-header__crumbs a {
  color: var(--ib-blue-dark);
  text-decoration: none;
}

.ib-reading-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--ib-red);
  pointer-events: none;
}

.ib-single-content {
  padding-block: 34px 64px;
}

.ib-single-content > .ib-investigation {
  max-width: 1120px;
}

.ib-related {
  padding-block: 66px;
  border-top: 1px solid var(--ib-line);
  background: var(--ib-paper);
}

.ib-related h2 {
  margin: 0 0 26px;
  color: var(--ib-ink);
  font-size: clamp(30px, 4vw, 45px);
  font-weight: 840;
  line-height: 1.05;
}

.ib-prose {
  padding-block: 72px 90px;
}

.ib-prose__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 72px;
}

.ib-prose__content {
  max-width: 780px;
  color: #263d53;
}

.ib-prose__content h2 {
  margin: 52px 0 15px;
  color: var(--ib-ink);
  font-size: clamp(29px, 3.5vw, 44px);
  font-weight: 840;
  line-height: 1.08;
}

.ib-prose__content h2:first-child {
  margin-top: 0;
}

.ib-prose__content h3 {
  margin: 33px 0 10px;
  color: var(--ib-ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}

.ib-prose__content p,
.ib-prose__content li {
  font-size: 17px;
  line-height: 1.75;
}

.ib-prose__content a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ib-prose__content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 5px solid var(--ib-blue);
  background: var(--ib-paper);
  color: var(--ib-ink);
  font-size: 20px;
  font-weight: 720;
}

.ib-prose__aside {
  position: sticky;
  top: 118px;
  padding: 20px;
  border: 1px solid var(--ib-line);
  border-radius: 7px;
  background: var(--ib-paper);
}

.ib-prose__aside h2 {
  margin: 0 0 11px;
  color: var(--ib-ink);
  font-size: 16px;
  font-weight: 820;
}

.ib-prose__aside p,
.ib-prose__aside address {
  margin: 0 0 12px;
  color: var(--ib-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.ib-prose__aside .search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}

.ib-prose__aside .search-field {
  min-width: 0;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--ib-line);
  border-radius: 5px;
}

.ib-prose__aside .search-submit {
  min-height: 44px;
  padding: 0 13px;
  border: 0;
  border-radius: 5px;
  background: var(--ib-blue-dark);
  color: var(--ib-white);
  font-size: 12px;
  font-weight: 760;
}

.ib-contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 45px;
}

.ib-contact-method {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--ib-line);
  border-top: 4px solid var(--ib-blue);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  color: var(--ib-ink) !important;
  text-decoration: none !important;
}

.ib-contact-method:nth-child(2) {
  border-top-color: var(--ib-green);
}

.ib-contact-method:nth-child(3) {
  border-top-color: var(--ib-red);
}

.ib-contact-method svg {
  margin-bottom: 22px;
  color: var(--ib-blue-dark);
}

.ib-contact-method strong {
  font-size: 19px;
}

.ib-contact-method span {
  margin-top: 5px;
  color: var(--ib-muted);
  font-size: 13px;
}

.ib-faq {
  border-top: 1px solid var(--ib-line);
}

.ib-faq details {
  border-bottom: 1px solid var(--ib-line);
}

.ib-faq summary {
  min-height: 68px;
  padding: 18px 42px 18px 0;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ib-ink);
  font-weight: 790;
  cursor: pointer;
  list-style: none;
}

.ib-faq summary::-webkit-details-marker {
  display: none;
}

.ib-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--ib-blue-dark);
  font-size: 26px;
  font-weight: 450;
}

.ib-faq details[open] summary::after {
  content: "-";
}

.ib-faq details > div {
  padding: 0 42px 24px 0;
  color: var(--ib-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ib-footer {
  border-top: 1px solid var(--ib-line);
  background: var(--ib-white);
  color: var(--ib-ink);
}

.ib-footer__main {
  padding-block: 70px 48px;
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(145px, 0.6fr));
  gap: 46px;
}

.ib-footer__statement {
  max-width: 400px;
  margin: 22px 0 0;
  color: var(--ib-muted);
  font-size: 14px;
}

.ib-footer h2 {
  margin: 3px 0 17px;
  color: var(--ib-ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.ib-footer li + li {
  margin-top: 10px;
}

.ib-footer li a {
  color: var(--ib-muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.ib-footer li a:hover {
  color: var(--ib-blue-dark);
}

.ib-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ib-footer__address {
  margin: 18px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ib-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.ib-footer__base {
  min-height: 74px;
  border-top: 1px solid var(--ib-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #687b8d;
  font-size: 12px;
}

.ib-footer__legal {
  display: flex;
  gap: 18px;
}

.ib-footer__legal a {
  color: #687b8d;
  text-decoration: none;
}

.ib-pagination {
  margin-top: 34px;
}

.ib-pagination .nav-links {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.ib-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--ib-line);
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--ib-ink);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.ib-pagination .current {
  border-color: var(--ib-blue-dark);
  background: var(--ib-blue-dark);
  color: var(--ib-white);
}

.ib-not-found {
  min-height: 58vh;
  padding-block: 100px;
  text-align: center;
}

.ib-not-found strong {
  display: block;
  color: var(--ib-blue);
  font-size: 16px;
  letter-spacing: 0.15em;
}

.ib-not-found h1 {
  margin: 8px 0 16px;
  color: var(--ib-ink);
  font-size: clamp(48px, 8vw, 94px);
  line-height: 0.95;
}

.ib-not-found p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--ib-muted);
}

body.admin-bar .ib-header {
  top: 32px;
}

body.admin-bar .ib-news-tools {
  top: 114px;
}

@media (max-width: 1040px) {
  .ib-header__inner {
    grid-template-columns: 1fr auto;
  }

  .ib-nav,
  .ib-header__cta {
    display: none;
  }

  .ib-menu {
    display: block;
  }

  .ib-lead-grid,
  .ib-page-hero__grid {
    grid-template-columns: 1fr;
  }

  .ib-story-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-story-card--compact .ib-story-card__link {
    display: flex;
  }

  .ib-story-card--compact .ib-story-card__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .ib-file-grid,
  .ib-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-coverage-item,
  .ib-coverage-item:first-child,
  .ib-coverage-item:last-child {
    padding: 30px;
  }

  .ib-coverage-item:nth-child(2n) {
    border-right: 0;
  }

  .ib-coverage-item:nth-child(-n + 2) {
    border-bottom: 1px solid #bfd4dd;
  }

  .ib-coverage-item__number,
  .ib-coverage-item:last-child .ib-coverage-item__number {
    top: 35px;
    right: 30px;
  }

  .ib-footer__main {
    grid-template-columns: 1.3fr repeat(2, 0.7fr);
  }

  .ib-footer__contact {
    grid-column: 2 / 4;
  }

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

  .ib-prose__aside {
    position: static;
  }
}

@media (max-width: 782px) {
  body.admin-bar .ib-header {
    top: 46px;
  }

  body.admin-bar .ib-news-tools {
    top: 128px;
  }
}

@media (max-width: 720px) {
  .ib-shell,
  .ib-narrow,
  .ib-single-header__inner {
    width: min(calc(100% - 30px), var(--ib-width));
  }

  .ib-topline__inner {
    justify-content: center;
    text-align: center;
  }

  .ib-topline__inner > span:last-child {
    display: none;
  }

  .ib-header__inner {
    min-height: 72px;
    gap: 12px;
  }

  .ib-brand {
    grid-template-columns: 48px auto;
    column-gap: 7px;
  }

  .ib-brand__mark {
    width: 48px;
    height: 38px;
  }

  .ib-brand__name {
    font-size: 24px;
  }

  .ib-brand__tagline {
    margin-top: 5px;
    font-size: 7px;
    letter-spacing: 0.13em;
  }

  .ib-header__actions {
    gap: 6px;
  }

  .ib-icon-button,
  .ib-menu summary {
    width: 39px;
    height: 39px;
  }

  .ib-search-popover__panel {
    right: -45px;
    width: calc(100vw - 30px);
    max-width: none;
  }

  .ib-hero,
  .ib-hero__inner {
    min-height: min(640px, calc(100svh - 136px));
  }

  .ib-hero__art img {
    object-position: 62% center;
  }

  .ib-hero__shade {
    background:
      linear-gradient(0deg, rgba(5, 15, 28, 0.99) 0%, rgba(5, 15, 28, 0.9) 48%, rgba(5, 15, 28, 0.37) 100%),
      linear-gradient(90deg, rgba(5, 15, 28, 0.82), rgba(5, 15, 28, 0.17));
  }

  .ib-hero__inner {
    padding-block: 54px 35px;
  }

  .ib-hero h1 {
    font-size: clamp(47px, 15vw, 67px);
    line-height: 0.95;
  }

  .ib-hero h1 span {
    max-width: 540px;
    font-size: clamp(24px, 7.2vw, 33px);
    line-height: 1.08;
  }

  .ib-hero__deck {
    margin: 18px 0 22px;
    font-size: 16px;
  }

  .ib-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .ib-evidence-strip__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .ib-evidence-strip__intro {
    grid-column: 1 / -1;
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--ib-line);
  }

  .ib-evidence-stat {
    padding: 17px 12px;
  }

  .ib-evidence-stat:first-of-type {
    padding-left: 0;
  }

  .ib-evidence-stat strong {
    font-size: 27px;
  }

  .ib-evidence-stat span {
    font-size: 10px;
  }

  .ib-section {
    padding-block: 62px;
  }

  .ib-section__head {
    margin-bottom: 25px;
    align-items: flex-start;
    flex-direction: column;
  }

  .ib-section__head h2,
  .ib-page-hero h1 {
    font-size: clamp(38px, 12vw, 55px);
  }

  .ib-story-stack,
  .ib-file-grid,
  .ib-archive-grid,
  .ib-contact-list {
    grid-template-columns: 1fr;
  }

  .ib-coverage-grid {
    grid-template-columns: 1fr;
  }

  .ib-coverage-item,
  .ib-coverage-item:first-child,
  .ib-coverage-item:last-child {
    padding: 27px 0;
    border-right: 0;
    border-bottom: 1px solid #bfd4dd;
  }

  .ib-coverage-item:last-child {
    border-bottom: 0;
  }

  .ib-coverage-item__number,
  .ib-coverage-item:last-child .ib-coverage-item__number {
    top: 32px;
    right: 0;
  }

  .ib-story-card--compact .ib-story-card__link {
    display: grid;
    grid-template-columns: 118px 1fr;
  }

  .ib-story-card--compact .ib-story-card__media {
    aspect-ratio: auto;
    min-height: 165px;
  }

  .ib-story-card--compact .ib-story-card__body {
    padding: 16px;
  }

  .ib-story-card--compact h3 {
    font-size: 18px;
  }

  .ib-story-card--compact p {
    display: none;
  }

  .ib-principles {
    grid-template-columns: 1fr;
  }

  .ib-principle,
  .ib-principle:first-child,
  .ib-principle:last-child {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .ib-principle:last-child {
    border-bottom: 0;
  }

  .ib-cta-band__inner {
    grid-template-columns: 1fr;
  }

  .ib-cta-band__actions {
    justify-content: flex-start;
  }

  .ib-page-hero {
    padding-block: 58px 49px;
  }

  .ib-page-hero__grid {
    gap: 30px;
  }

  .ib-page-hero__aside {
    padding: 18px 0 0 18px;
  }

  .ib-news-tools {
    top: 72px;
  }

  .ib-news-tools__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ib-segmented {
    width: 100%;
  }

  .ib-segmented button {
    flex: 1;
  }

  .ib-single-header {
    padding-top: 44px;
  }

  .ib-single-header h1 {
    font-size: clamp(37px, 10.2vw, 52px);
  }

  .ib-single-content {
    padding-block: 24px 44px;
  }

  .ib-single-content > .ib-investigation {
    padding-inline: 15px;
  }

  .ib-prose {
    padding-block: 52px 66px;
  }

  .ib-footer__main {
    padding-block: 54px 37px;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .ib-footer__brand,
  .ib-footer__contact {
    grid-column: 1 / -1;
  }

  .ib-footer__base {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .ib-topline__extra {
    display: none;
  }

  .ib-story-card--compact .ib-story-card__link {
    grid-template-columns: 104px 1fr;
  }

  .ib-story-card--compact .ib-story-card__media {
    min-height: 154px;
  }

  .ib-story-card--compact .ib-story-card__label {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .ib-story-card--compact .ib-story-card__meta span:first-child {
    display: none;
  }

  .ib-footer__main {
    grid-template-columns: 1fr;
  }

  .ib-footer__brand,
  .ib-footer__contact {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
