/* news.omegagalacticholdings.com - Omega news + media pages (card 177).
   Opened by the "News" and "Media" buttons inside the trading platform, so it
   must read well in a narrow workspace panel as much as in a full window.
   2026-11-02 (Ph0enix): news pages read like a newspaper (paper, serif,
   rules, columns); the media page stays dark, a screening room around one
   player. Brand = navy + antique gold of OmegaTrade/landing/styles.css. */
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("fonts/roboto-latin-700-normal.woff2") format("woff2"); }
/* Newsreader (Production Type, OFL): a serif drawn for news on screens, with
   an optical-size axis, so 4rem headlines get the display cut by themselves. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"),
       url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/newsreader-latin-wght-italic.woff2") format("woff2-variations"),
       url("fonts/newsreader-latin-wght-italic.woff2") format("woff2");
}

:root {
  --font-ui: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --navy-950: #0e0f19;
  --navy-900: #141524;
  --navy-800: #1a1b2c;
  --navy-700: #262840;
  --gold: #bd9a5f;
  --gold-2: #d8b87e;
  /* News pages. PAPER in news.js mirrors --paper: inline colours from the
     dashboard are judged against it. Text pairs >= 4.5:1 (checked 2026-11-02). */
  --paper: #f6f2e9;
  --paper-2: #ebe4d5;
  --ink: #17182a;
  --ink-2: #3c3e52;
  --ink-3: #5f6072;
  --rule: #d8cfbd;
  --accent: #7a5a1f;
  /* Media page */
  --text: #f1ede4;
  --text-2: #c9c6d3;
  --text-3: #9a98ab;
  --panel: var(--navy-800);
  --line: rgba(189, 154, 95, .2);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}
body[data-page="media"] { background: var(--navy-950); color: var(--text); color-scheme: dark; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---- Top bar: logo + the two sections (same on both pages) ---- */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px max(16px, calc((100% - 1120px) / 2 + 16px));
  background: var(--navy-800);
  border-bottom: 1px solid rgba(189, 154, 95, .22);
}
.bar__logo img { display: block; height: 34px; width: auto; }
.bar__nav { display: flex; gap: 4px; }
.bar__nav a {
  padding: 6px 12px;
  border-radius: 8px;
  color: #b3b1c0;
  font-weight: 500;
  font-size: .92rem;
}
.bar__nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.bar__nav a[aria-current="page"] { color: #1a1407; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 22px 16px 56px; }
.state { padding: 48px 0; text-align: center; color: var(--ink-3); }
body[data-page="media"] .state { color: var(--text-3); }

/* Small capitals over a rule: "Latest", "More news", "All videos". */
.label {
  margin: 0 0 4px;
  padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
  font: 700 .72rem/1 var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  font: 400 .78rem/1.3 var(--font-ui);
  color: var(--ink-3);
}
.tag {
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
/* Play mark on a video story's picture */
.play {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(14, 15, 25, .82);
  color: #fff;
}
.play svg { margin-left: 2px; }

/* ---- Front page ---- */
.masthead { margin-bottom: 26px; text-align: center; }
.masthead__name {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.025em;
}
.masthead__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 14px 0 0;
  padding: 8px 0;
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--ink);
  font: 500 .74rem/1.2 var(--font-ui);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.front {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink);
}
.front--single { grid-template-columns: minmax(0, 1fr); }
.lead { padding-right: 28px; }
.front--single .lead { padding-right: 0; }
.lead__link { display: block; }
.lead__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--paper-2);
}
.lead__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lead__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.lead__standfirst {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.latest { padding-left: 28px; border-left: 1px solid var(--rule); }
.latest__list { list-style: none; margin: 0; padding: 0; }
.latest__list li + li { border-top: 1px solid var(--rule); }
.latest__list a { display: block; padding: 14px 0; }
.latest__title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.14rem;
  line-height: 1.25;
  text-wrap: pretty;
}

/* Columns of stories with rules between them, newspaper fashion. The
   nth-child pairs follow the column count of each width below. */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; }
.cols > .card { padding: 0 22px 26px; border-left: 1px solid var(--rule); }
.cols > .card:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.cols > .card:nth-child(3n) { padding-right: 0; }
.cols > .card:nth-child(n+4) { padding-top: 22px; border-top: 1px solid var(--rule); }

.card__link { display: block; }
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--paper-2);
}
.card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card__link:hover .card__media img { transform: scale(1.03); }
.card__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1.16;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.card__excerpt {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lead__link:hover .lead__title,
.latest__list a:hover .latest__title,
.card__link:hover .card__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .14em;
}

/* ---- One story ---- */
.back { display: inline-block; margin-bottom: 18px; font: 500 .85rem/1 var(--font-ui); color: var(--ink-2); }
.back:hover { color: var(--ink); text-decoration: underline; }
.story { max-width: 720px; margin: 0 auto; }
.story__head { margin-bottom: 24px; }
.story__kicker { margin: 0 0 10px; }
.story__title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  font: 400 .8rem/1.3 var(--font-ui);
  color: var(--ink-3);
}
.story__meta span::before { content: "\00b7"; margin-right: 14px; }
.story__lead { margin: 0 0 24px; }
.story__lead img, .story__lead video { display: block; width: 100%; height: auto; background: #000; }
.story__body {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.68;
  color: var(--ink);
  overflow-wrap: break-word;
}
.story__body p { margin: 0 0 1.05em; }
.story__body .dropcap::first-letter {
  float: left;
  margin: .07em .09em 0 0;
  font-size: 3.55em;
  font-weight: 700;
  line-height: .8;
}
.story__body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.story__body a:hover { color: var(--ink); }
.story__body h1, .story__body h2, .story__body h3, .story__body h4 {
  margin: 1.4em 0 .5em;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
}
.story__body h1, .story__body h2 { font-size: 1.55rem; }
.story__body h3 { font-size: 1.3rem; }
.story__body h4 { font-size: 1.12rem; }
.story__body img { display: block; height: auto; margin: 1.4em auto; }
.story__body figure { margin: 1.6em 0; }
.story__body figure img { margin: 0 auto; }
.story__body figcaption { margin-top: 8px; font: .8rem/1.4 var(--font-ui); color: var(--ink-3); }
.story__body video { display: block; width: 100%; height: auto; margin: 1.4em 0; background: #000; }
.story__body audio { display: block; width: 100%; margin: 1.2em 0; }
.story__body blockquote {
  margin: 1.5em 0;
  padding: .1em 0 .1em 1.1em;
  border-left: 3px solid var(--gold);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.story__body ul, .story__body ol { padding-left: 1.3em; }
.story__body li { margin-bottom: .4em; }
.story__body hr { margin: 2em 0; border: 0; border-top: 1px solid var(--rule); }
.story__body table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font: .9rem/1.4 var(--font-ui); }
.story__body td, .story__body th { padding: 6px 8px; border: 1px solid var(--rule); }
/* A bare iframe gets a 16:9 box. The dashboard's YouTube embed
   (figure.md-yt-embed) already carries its own responsive wrapper inline
   (padding-top 56.25% + absolute iframe), and inline styles win: leave it. */
.story__body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.story__body .md-yt-embed > div { overflow: hidden; background: #000; }

.more { margin-top: 52px; }
.more .cols { margin-top: 18px; }
.more .card__excerpt { display: none; }

.foot { padding: 0 16px 28px; text-align: center; font: .78rem/1.4 var(--font-ui); color: var(--ink-3); }
body[data-page="media"] .foot { color: var(--text-3); }

/* ---- Media: one player, the reel under it ---- */
.media-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.media-head__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.media-head__count {
  margin: 0;
  font: 500 .74rem/1 var(--font-ui);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.theater {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  scroll-margin-top: 72px;   /* under the sticky bar */
}
.theater__stage { display: flex; align-items: center; background: #000; }
.theater__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.theater__info { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px 22px 20px; }
.theater__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 700 .7rem/1 var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.theater__kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.theater__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.theater__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  font: .8rem/1.3 var(--font-ui);
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.theater__meta span::before { content: "\00b7"; margin-right: 12px; }
.theater__excerpt {
  margin: 0;
  font-size: .94rem;
  line-height: 1.5;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.theater__link {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 16px;
  border: 1px solid rgba(216, 184, 126, .45);
  border-radius: 999px;
  font: 500 .85rem/1 var(--font-ui);
  color: var(--gold-2);
}
.theater__link:hover { background: rgba(216, 184, 126, .1); }

.reel-wrap { margin-top: 32px; }
.reel-wrap .label { color: var(--text-2); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.reel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clip {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.clip:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.clip__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  box-shadow: 0 0 0 1px var(--line);
}
.clip__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.clip:hover .clip__thumb img { transform: scale(1.04); }
.clip__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 9, 15, .35);
  opacity: 0;
  transition: opacity .2s ease;
}
.clip__play > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-2);
  color: #1a1407;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.clip__play svg { margin-left: 3px; }
.clip:hover .clip__play, .clip:focus-visible .clip__play { opacity: 1; }
.clip__len {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(8, 9, 15, .85);
  color: #fff;
  font: 600 .72rem/1.2 var(--font-ui);
  font-variant-numeric: tabular-nums;
}
.clip__title {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.25;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clip__date { display: block; margin-top: 4px; font: .78rem/1.3 var(--font-ui); color: var(--text-3); }
.clip[aria-current="true"] .clip__thumb { box-shadow: 0 0 0 2px var(--gold-2); }
.clip[aria-current="true"] .clip__thumb::after {
  content: "Now playing";
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold-2);
  color: #1a1407;
  font: 700 .62rem/1 var(--font-ui);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.clip[aria-current="true"] .clip__play { opacity: 0; }

/* ---- Narrower windows: the platform panel is often one of these ---- */
@media (max-width: 960px) {
  .theater { grid-template-columns: minmax(0, 1fr); }
  .theater__info { padding: 16px 16px 18px; }
  .theater__link { margin-top: 6px; }
}
@media (max-width: 900px) {
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols > .card,
  .cols > .card:nth-child(3n+1),
  .cols > .card:nth-child(3n) { padding: 0 0 26px 22px; border-left: 1px solid var(--rule); }
  .cols > .card:nth-child(2n+1) { padding-left: 0; padding-right: 22px; border-left: 0; }
  .cols > .card:nth-child(n+3) { padding-top: 22px; border-top: 1px solid var(--rule); }
}
@media (max-width: 720px) {
  .front { grid-template-columns: minmax(0, 1fr); }
  .lead { padding-right: 0; }
  .latest { margin-top: 26px; padding-left: 0; border-left: 0; }
  .cols { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
  .cols > .card,
  .cols > .card:nth-child(n) { padding: 16px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .cols > .card:first-child { border-top: 0; }
  /* One column: headline left, small picture right, like a news app */
  .card__link { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start; }
  .card__link--text { display: block; }
  .card__media { order: 2; aspect-ratio: 4 / 3; margin: 0; }
  .card__title { font-size: 1.14rem; }
  .card__excerpt { -webkit-line-clamp: 2; font-size: .95rem; }
  .story__body { font-size: 1.1rem; }
}
@media (max-width: 520px) {
  .bar__logo img { height: 28px; }
  .wrap { padding-top: 16px; }
  .masthead__line { justify-content: center; }
  .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .clip__title { font-size: .96rem; }
  .clip__play > span { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
