/*
Theme Name: NewsMind IBC Newsroom
Theme URI: https://www.newsmind.de/
Author: NewsMind
Description: A responsive broadcaster newsroom theme for the IBC 2026 demonstration.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: newsmind-ibc-newsroom
*/

:root {
  --ibc-red: #ed1c24;
  --ibc-red-dark: #b80f17;
  --nm-navy: #173557;
  --nm-navy-deep: #0b2139;
  --nm-cyan: #01a4d8;
  --ink: #101820;
  --muted: #5f6b76;
  --line: #d9dee3;
  --paper: #ffffff;
  --canvas: #f3f4f2;
  --font-sans: "Arial Nova", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1440px, calc(100vw - 48px));
  --shadow: 0 14px 40px rgb(16 24 32 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--ibc-red-dark);
}

button,
input {
  font: inherit;
}

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

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 10000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--paper);
  background: var(--nm-navy-deep);
}

:focus-visible {
  outline: 3px solid var(--nm-cyan);
  outline-offset: 3px;
}

.site-wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.event-bar {
  color: var(--paper);
  background: var(--ibc-red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.event-bar__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.event-bar__facts {
  display: flex;
  gap: 22px;
}

.event-bar__demo {
  opacity: 0.82;
}

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: grid;
  min-height: 118px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 30px;
}

.ibc-lockup {
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
}

.ibc-lockup:hover {
  color: var(--ink);
}

.ibc-lockup img {
  width: 150px;
  height: 70px;
  object-fit: contain;
}

.ibc-lockup__title {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.masthead__edition {
  align-self: end;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.powered-by img {
  width: 174px;
}

.news-nav {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--paper);
  background: var(--nm-navy-deep);
  box-shadow: 0 4px 18px rgb(0 0 0 / 18%);
}

.news-nav__inner {
  display: flex;
  min-height: 54px;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.news-nav ul {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-nav li {
  display: flex;
}

.news-nav a {
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-bottom: 3px solid transparent;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.news-nav a:hover,
.news-nav .current-menu-item > a,
.news-nav .current-cat > a {
  color: var(--paper);
  background: rgb(255 255 255 / 8%);
  border-bottom-color: var(--ibc-red);
}

.nav-toggle {
  display: none;
  width: 54px;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease;
}

.nav-toggle__icon::before {
  transform: translateY(-7px);
}

.nav-toggle__icon::after {
  transform: translateY(5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  transform: translateY(1px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  transform: translateY(-1px) rotate(-45deg);
}

.header-search {
  display: flex;
  align-items: center;
}

.search-form {
  display: flex;
  min-width: 250px;
  color: var(--ink);
  background: var(--paper);
}

.search-form input[type="search"] {
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  color: inherit;
  background: transparent;
  border: 1px solid #aab4bc;
  border-right: 0;
}

.search-form input[type="search"]::placeholder {
  color: var(--muted);
}

.header-search .search-form {
  color: var(--paper);
  background: rgb(255 255 255 / 8%);
}

.header-search .search-form input[type="search"] {
  border-color: rgb(255 255 255 / 25%);
}

.header-search .search-form input[type="search"]::placeholder {
  color: rgb(255 255 255 / 68%);
}

.search-form button {
  padding: 8px 14px;
  color: var(--paper);
  background: var(--ibc-red);
  border: 1px solid var(--ibc-red);
  cursor: pointer;
}

.breaking-strip {
  color: var(--paper);
  background: var(--nm-navy);
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.breaking-strip__inner {
  display: grid;
  min-height: 43px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.breaking-strip__label {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-right: 20px;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.breaking-strip__label::before {
  width: 8px;
  height: 8px;
  margin-right: 9px;
  background: var(--ibc-red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(237 28 36 / 22%);
  content: "";
}

.breaking-strip__items {
  display: flex;
  min-width: 0;
  gap: 34px;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.breaking-strip__items::-webkit-scrollbar {
  display: none;
}

.breaking-strip__items li {
  flex: 0 0 auto;
  white-space: nowrap;
}

.breaking-strip__items a {
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.breaking-strip__items a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.main-content {
  min-height: 60vh;
}

.homepage-lead {
  padding: 42px 0 50px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(280px, 0.82fr) minmax(260px, 0.66fr);
  gap: 28px;
}

.lead-primary,
.lead-secondary,
.latest-rail {
  min-width: 0;
}

.lead-secondary {
  display: grid;
  align-content: start;
  gap: 22px;
}

.latest-rail {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.rail-heading,
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  margin: 0 0 22px;
  border-bottom: 4px solid var(--ink);
}

.rail-heading {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading a {
  color: var(--ibc-red-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.section-heading--light {
  border-bottom-color: rgb(255 255 255 / 45%);
}

.section-heading--light a {
  color: #8ddcf4;
}

.story-card {
  position: relative;
  min-width: 0;
}

.story-card a {
  text-decoration: none;
}

.story-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfe5e9;
}

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

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

.story-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: 20px;
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 18%, rgb(255 255 255 / 22%) 0 7%, transparent 7.5%),
    linear-gradient(135deg, transparent 0 46%, rgb(255 255 255 / 11%) 46% 58%, transparent 58%),
    linear-gradient(135deg, var(--nm-navy-deep), var(--nm-cyan));
}

.story-card__fallback::after {
  position: absolute;
  right: -7%;
  bottom: -28%;
  width: 52%;
  aspect-ratio: 1;
  border: 28px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  content: "";
}

.story-card__fallback--ai-automation {
  background: linear-gradient(140deg, #291b4d, #01a4d8);
}

.story-card__fallback--production-live {
  background: linear-gradient(140deg, #13273a, #ed1c24);
}

.story-card__fallback--streaming-distribution {
  background: linear-gradient(140deg, #16352c, #2d9b7b);
}

.story-card__fallback--innovation {
  background: linear-gradient(140deg, #3d2500, #f05a23);
}

.story-card__fallback-label {
  position: relative;
  z-index: 1;
  max-width: 80%;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.story-card__body {
  padding-top: 14px;
}

.story-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--ibc-red-dark);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card__badge {
  padding: 3px 6px;
  color: var(--paper);
  background: var(--ibc-red);
}

.story-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.story-card__title a:hover {
  color: var(--ibc-red-dark);
}

.story-card__excerpt {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.48;
}

.story-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.story-card--hero .story-card__media {
  aspect-ratio: 16 / 9;
}

.story-card--hero .story-card__title {
  max-width: 92%;
  font-size: clamp(2rem, 3.4vw, 3.75rem);
  line-height: 0.98;
}

.story-card--hero .story-card__excerpt {
  max-width: 82%;
  font-size: 1.02rem;
}

.story-card--compact {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}

.story-card--compact .story-card__body {
  padding-top: 0;
}

.story-card--compact .story-card__title {
  font-size: 1.18rem;
}

.story-card--compact .story-card__excerpt,
.story-card--compact .story-card__meta {
  display: none;
}

.rail-story {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.rail-story__time {
  padding-top: 3px;
  color: var(--ibc-red-dark);
  font-size: 0.69rem;
  font-weight: 900;
}

.rail-story h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.rail-story a {
  text-decoration: none;
}

.news-section {
  padding: 54px 0;
}

.news-section--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.news-section--dark {
  color: var(--paper);
  background: var(--nm-navy-deep);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 27px;
}

.story-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-section--dark .story-card__eyebrow,
.news-section--dark .story-card__meta {
  color: #8ddcf4;
}

.news-section--dark .story-card__excerpt {
  color: #c5d1da;
}

.newsroom-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
}

.newsroom-column {
  min-width: 0;
}

.newsroom-column .section-heading {
  margin-bottom: 24px;
}

.newsroom-column__stories {
  display: grid;
  gap: 22px;
}

.newsmind-panel {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: linear-gradient(120deg, var(--nm-navy-deep), var(--nm-navy) 62%, #075979);
}

.newsmind-panel::after {
  position: absolute;
  top: -70%;
  right: -12%;
  width: 46%;
  aspect-ratio: 1;
  border: 70px solid rgb(95 196 225 / 12%);
  border-radius: 50%;
  content: "";
}

.newsmind-panel__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 335px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 60px;
  padding-block: 58px;
}

.newsmind-panel__eyebrow {
  color: #8ddcf4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsmind-panel h2 {
  max-width: 800px;
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.newsmind-panel p {
  max-width: 710px;
  margin: 0;
  color: #d7e4ec;
  font-size: 1.02rem;
}

.newsmind-panel__brand {
  padding: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.newsmind-panel__brand img {
  width: 100%;
}

.newsmind-panel__brand span {
  display: block;
  margin-top: 18px;
  color: var(--nm-navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.archive-hero {
  padding: 48px 0 32px;
  color: var(--paper);
  background: var(--nm-navy);
}

.archive-hero__eyebrow {
  color: #8ddcf4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-hero h1 {
  max-width: 1000px;
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5.3rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.archive-description {
  max-width: 760px;
  margin-top: 16px;
  color: #d3dde5;
}

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

.pagination {
  margin-top: 48px;
}

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

.pagination .page-numbers {
  min-width: 42px;
  padding: 8px 12px;
  text-align: center;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
}

.pagination .current {
  color: var(--paper);
  background: var(--nm-navy);
  border-color: var(--nm-navy);
}

.article-shell {
  background: var(--paper);
}

.article-header {
  max-width: 1100px;
  padding: 60px 0 38px;
  margin-inline: auto;
}

.article-header__kicker {
  margin-bottom: 14px;
  color: var(--ibc-red-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6.6rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.article-standfirst {
  max-width: 880px;
  margin: 24px 0 0;
  color: #3c4852;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.42;
}

.article-hero-image {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

.article-hero-image img {
  width: 100%;
  max-height: 740px;
  object-fit: cover;
}

.article-body-grid {
  display: grid;
  max-width: 1100px;
  grid-template-columns: 170px minmax(0, 760px);
  gap: 45px;
  padding: 44px 0 70px;
  margin-inline: auto;
}

.article-share {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-share::after {
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 12px;
  background: var(--ibc-red);
  content: "";
}

.article-content {
  min-width: 0;
  font-size: 1.12rem;
  line-height: 1.72;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3 {
  margin-top: 1.6em;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.article-content h2 {
  font-size: 2.1rem;
}

.article-content blockquote {
  padding: 8px 0 8px 28px;
  margin: 34px 0;
  border-left: 6px solid var(--ibc-red);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.article-content a {
  color: var(--nm-navy);
  font-weight: 700;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.article-tags a {
  padding: 6px 10px;
  color: var(--nm-navy);
  font-size: 0.72rem;
  text-decoration: none;
  background: #edf4f7;
}

.related-stories {
  padding: 52px 0;
  background: var(--canvas);
  border-top: 1px solid var(--line);
}

.empty-state {
  padding: 70px 0;
  text-align: center;
}

.empty-state h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.site-footer {
  color: #d7e0e7;
  background: #071727;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 60px;
  padding: 58px 0 45px;
}

.site-footer__brand img {
  width: 145px;
  padding: 10px;
  background: var(--paper);
}

.site-footer__brand h2 {
  margin: 24px 0 8px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.site-footer__brand p {
  max-width: 420px;
  margin: 0;
  color: #aebdca;
  font-size: 0.9rem;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #8ddcf4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.site-footer li + li {
  margin-top: 9px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0;
  color: #91a3b2;
  border-top: 1px solid rgb(255 255 255 / 13%);
  font-size: 0.72rem;
}

.site-footer__powered {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__powered img {
  width: 145px;
  filter: brightness(0) invert(1);
}

@media (max-width: 1180px) {
  .lead-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
  }

  .latest-rail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .latest-rail .rail-heading {
    grid-column: 1 / -1;
  }

  .rail-story {
    grid-template-columns: 48px minmax(0, 1fr);
    padding-right: 20px;
    border-right: 1px solid var(--line);
  }

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

  .masthead__inner {
    grid-template-columns: 1fr auto;
  }

  .masthead__edition {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --wrap: min(100% - 32px, 1440px);
  }

  .event-bar__demo,
  .event-bar__location {
    display: none;
  }

  .masthead__inner {
    min-height: 98px;
  }

  .ibc-lockup img {
    width: 125px;
    height: auto;
  }

  .powered-by span {
    display: none;
  }

  .powered-by img {
    width: 145px;
  }

  .news-nav__inner {
    position: relative;
    min-height: 50px;
  }

  .nav-toggle {
    display: flex;
  }

  .news-nav__menu {
    position: absolute;
    top: 100%;
    left: -16px;
    display: none;
    width: calc(100% + 32px);
    max-height: calc(100vh - 84px);
    overflow: auto;
    background: var(--nm-navy-deep);
    box-shadow: var(--shadow);
  }

  .news-nav__menu.is-open {
    display: block;
  }

  .news-nav ul {
    display: block;
    padding: 10px 16px 20px;
  }

  .news-nav li {
    display: block;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .news-nav a {
    min-height: 50px;
    padding-inline: 4px;
    border-bottom: 0;
  }

  .header-search {
    margin-left: auto;
  }

  .search-form {
    min-width: 220px;
  }

  .newsroom-columns,
  .newsmind-panel__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsmind-panel__brand {
    max-width: 380px;
  }

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

  .article-body-grid {
    grid-template-columns: 1fr;
    width: min(760px, 100%);
    gap: 20px;
  }

  .article-share {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .article-share::after {
    width: 4px;
    height: 22px;
    margin: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --wrap: calc(100vw - 28px);
  }

  body {
    font-size: 16px;
  }

  .event-bar__inner {
    min-height: 31px;
  }

  .event-bar__facts {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.65rem;
  }

  .masthead__inner {
    min-height: 88px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .ibc-lockup {
    gap: 10px;
  }

  .ibc-lockup img {
    width: 92px;
  }

  .ibc-lockup__title {
    padding-left: 10px;
    font-size: 1.25rem;
  }

  .powered-by {
    display: none;
  }

  .search-form {
    min-width: 170px;
  }

  .search-form input[type="search"] {
    width: 125px;
  }

  .breaking-strip__inner {
    min-height: 40px;
  }

  .breaking-strip__label {
    padding-right: 14px;
    font-size: 0.65rem;
  }

  .breaking-strip__items {
    gap: 22px;
  }

  .homepage-lead {
    padding: 26px 0 34px;
  }

  .lead-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .story-card--hero .story-card__title {
    max-width: none;
    font-size: 2.35rem;
  }

  .story-card--hero .story-card__excerpt {
    max-width: none;
  }

  .latest-rail {
    display: block;
  }

  .rail-story {
    padding-right: 0;
    border-right: 0;
  }

  .news-section {
    padding: 38px 0;
  }

  .story-grid,
  .story-grid--three,
  .archive-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-grid .story-card:not(:first-child),
  .archive-grid .story-card:not(:first-child) {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .story-grid .story-card:not(:first-child) .story-card__body,
  .archive-grid .story-card:not(:first-child) .story-card__body {
    padding-top: 0;
  }

  .story-grid .story-card:not(:first-child) .story-card__title,
  .archive-grid .story-card:not(:first-child) .story-card__title {
    font-size: 1.12rem;
  }

  .story-grid .story-card:not(:first-child) .story-card__excerpt,
  .story-grid .story-card:not(:first-child) .story-card__meta,
  .archive-grid .story-card:not(:first-child) .story-card__excerpt {
    display: none;
  }

  .newsmind-panel__inner {
    min-height: 0;
    gap: 35px;
    padding-block: 42px;
  }

  .newsmind-panel h2 {
    font-size: 2.7rem;
  }

  .article-header {
    padding: 38px 0 28px;
  }

  .article-header h1 {
    font-size: 3.15rem;
  }

  .article-hero-image {
    width: 100%;
  }

  .article-body-grid {
    padding: 32px 0 52px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .site-footer__bottom {
    display: block;
  }

  .site-footer__powered {
    margin-top: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
