:root {
  --cjh-navy: #00293f;
  --cjh-navy-2: #013552;
  --cjh-yellow: #ffd22a;
  --cjh-yellow-dim: #e6bc18;
  --cjh-ink: #00293f;
  --cjh-paper: #f7f8fa;
  --cjh-surface: #ffffff;
  --cjh-muted: #4d6473;
  --cjh-line: rgba(0, 41, 63, 0.12);
  --cjh-up: #0f7a4c;
  --cjh-down: #b42318;
  --font-display: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: min(1160px, calc(100% - 2rem));
  --wrap-narrow: min(720px, calc(100% - 2rem));
  --shadow: 0 10px 30px rgba(0, 41, 63, 0.08);
  --radius: 0;
  --focus: 0 0 0 3px var(--cjh-yellow);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cjh-ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--cjh-paper) 100%);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.15em; }
a:hover { color: var(--cjh-navy-2); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 0.65rem 0.9rem;
  background: var(--cjh-yellow);
  color: var(--cjh-navy);
  font-weight: 700;
  font-family: var(--font-display);
}

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

h1, h2, h3, h4, .cjh-brand__text strong, .cjh-card__title, .cjh-hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

/* —— Live markets bar —— */
.cjh-markets {
  background: var(--cjh-navy);
  color: #fff;
  border-bottom: 3px solid var(--cjh-yellow);
}
.cjh-markets__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 2.75rem;
  overflow: hidden;
}
.cjh-markets__label {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0 0.9rem;
  background: var(--cjh-yellow);
  color: var(--cjh-navy);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cjh-markets__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.cjh-markets__track::-webkit-scrollbar { display: none; }
.cjh-market-chip {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  font-size: 0.86rem;
}
.cjh-market-chip__sym {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--cjh-yellow);
}
.cjh-market-chip__val { font-variant-numeric: tabular-nums; font-weight: 600; }
.cjh-market-chip__chg {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}
.cjh-market-chip__chg.is-up { color: #6dffb0; }
.cjh-market-chip__chg.is-down { color: #ff8f84; }
.cjh-market-chip.is-loading { opacity: 0.55; }

/* —— Header —— */
.cjh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cjh-line);
}
.cjh-header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 3.6rem;
  padding-block: 0.45rem;
}
.cjh-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  margin: 0;
  margin-right: auto;
  padding: 0;
  text-align: left;
  order: 1;
}
.cjh-brand__fallback {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--cjh-navy);
}
.cjh-brand__fallback:hover { color: var(--cjh-navy); }

/* Logo WP — bez zagnieżdżonego <a>, przyklejone do lewej */
.cjh-brand .custom-logo-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  float: none !important;
  line-height: 0;
  text-align: left !important;
  width: auto !important;
  max-width: min(300px, 55vw);
}
.cjh-brand .custom-logo,
.cjh-brand .custom-logo-link img,
.cjh-header img.custom-logo {
  display: block !important;
  width: auto !important;
  height: 52px !important;
  max-height: 52px !important;
  max-width: 300px !important;
  margin: 0 !important;
  margin-left: 0 !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.cjh-brand__logo {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}
.cjh-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.cjh-brand__text strong {
  font-size: 0.92rem;
  text-transform: none;
  font-family: var(--font-display);
  font-weight: 800;
}
.cjh-brand__text strong span {
  font-weight: 800;
}
.cjh-brand__text small {
  font-size: 0.65rem;
  color: var(--cjh-muted);
  font-family: var(--font-body);
  font-weight: 500;
  max-width: 14rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cjh-nav-toggle { order: 3; }
.cjh-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 0;
  margin-right: 0;
  flex-shrink: 0;
  order: 2;
}
.cjh-nav__list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cjh-nav__list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.cjh-nav__list a:hover,
.cjh-nav__list .current-menu-item > a {
  color: var(--cjh-navy);
  box-shadow: inset 0 -2px 0 var(--cjh-yellow);
}
.cjh-nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--cjh-line);
  background: #fff;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.cjh-nav-toggle span { display: block; height: 2px; background: var(--cjh-navy); }

/* —— Buttons —— */
.cjh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.2rem;
  background: var(--cjh-yellow);
  color: var(--cjh-navy);
  border: 2px solid var(--cjh-navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.cjh-btn:hover {
  background: #fff;
  color: var(--cjh-navy);
  transform: translateY(-1px);
}
.cjh-btn--navy {
  background: var(--cjh-navy);
  color: var(--cjh-yellow);
  border-color: var(--cjh-navy);
}
.cjh-btn--navy:hover {
  background: var(--cjh-yellow);
  color: var(--cjh-navy);
}
.cjh-btn--ghost {
  background: transparent;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
}
.cjh-btn--small { padding: 0.55rem 0.85rem; font-size: 0.78rem; }
.cjh-link {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--cjh-yellow);
}

/* —— Hero —— */
.cjh-hero {
  position: relative;
  min-height: min(78vh, 700px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--cjh-navy);
  color: #fff;
  border-bottom: 4px solid var(--cjh-yellow);
}
.cjh-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 88% 35%, rgba(255, 210, 42, 0.28), transparent 58%),
    radial-gradient(ellipse 45% 40% at 8% 90%, rgba(255, 210, 42, 0.1), transparent 55%),
    linear-gradient(145deg, #001f30 0%, #00293f 40%, #01405e 72%, #00293f 100%);
}
.cjh-hero__bg::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  border-radius: 50%;
  background: rgba(255, 210, 42, 0.07);
  filter: blur(2px);
  animation: cjh-pulse 10s ease-in-out infinite alternate;
}
.cjh-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -16deg,
    transparent,
    transparent 28px,
    rgba(255, 210, 42, 0.035) 28px,
    rgba(255, 210, 42, 0.035) 29px
  );
  animation: cjh-shift 22s linear infinite alternate;
}
@keyframes cjh-shift {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}
@keyframes cjh-pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.08); opacity: 1; }
}
.cjh-hero__grid {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 2rem;
  align-items: center;
  min-height: inherit;
  padding: 3.5rem 0 3rem;
}
.cjh-hero__inner {
  max-width: 34rem;
  animation: cjh-in 0.75s ease both;
}
.cjh-hero__visual {
  display: grid;
  place-items: center;
  justify-self: end;
  animation: cjh-in 0.9s ease 0.12s both;
}
.cjh-hero__mark {
  width: min(100%, 320px);
  aspect-ratio: 1;
  background: var(--cjh-yellow);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: rotate(-2deg);
  padding: 12%;
}
.cjh-hero__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cjh-hero__short {
  position: relative;
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
  outline: 3px solid var(--cjh-yellow);
  outline-offset: 0;
  transform: rotate(1.5deg);
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cjh-hero__short:hover,
.cjh-hero__short:focus-visible {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.45);
}
.cjh-hero__short img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cjh-hero__short-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 41, 63, 0.55) 100%);
  pointer-events: none;
}
.cjh-hero__short-play::before {
  content: "";
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--cjh-yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.cjh-hero__short-play::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.95rem;
  border-color: transparent transparent transparent var(--cjh-navy);
  margin-left: 0.15rem;
}
@keyframes cjh-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.cjh-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cjh-yellow);
}
.cjh-hero__brand {
  margin: 0;
  font-size: clamp(2.6rem, 7.5vw, 4.6rem);
  color: #fff;
  line-height: 0.95;
}
.cjh-hero__brand em {
  font-style: normal;
  color: var(--cjh-yellow);
}
.cjh-hero__lead {
  margin: 1.15rem 0 1.6rem;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 30rem;
  font-weight: 400;
  line-height: 1.55;
}
.cjh-hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cjh-hero__cta .cjh-btn--navy {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.cjh-hero__cta .cjh-btn--navy:hover {
  background: var(--cjh-yellow);
  color: var(--cjh-navy);
  border-color: var(--cjh-yellow);
}

/* —— Sections —— */
.cjh-section { padding: 3rem 0; }
.cjh-section--tint {
  background: #eef2f5;
  border-block: 1px solid var(--cjh-line);
}
.cjh-section--navy {
  background: var(--cjh-navy);
  color: #fff;
}
.cjh-section--navy .cjh-section__head p,
.cjh-section--navy .cjh-empty { color: rgba(255,255,255,0.7); }
.cjh-section--navy .cjh-link { color: var(--cjh-yellow); border-color: var(--cjh-yellow); }
.cjh-section__head { margin-bottom: 1.4rem; }
.cjh-section__head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.cjh-section__head h1,
.cjh-section__head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.cjh-section__head p {
  margin: 0.35rem 0 0;
  color: var(--cjh-muted);
  font-size: 0.95rem;
}

.cjh-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
}

/* —— Market board —— */
.cjh-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.cjh-board__card {
  background: var(--cjh-surface);
  border: 1px solid var(--cjh-line);
  padding: 1rem;
  min-height: 6.5rem;
}
.cjh-board__card--accent {
  background: var(--cjh-yellow);
  border-color: var(--cjh-navy);
}
.cjh-board__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cjh-muted);
  margin: 0 0 0.45rem;
}
.cjh-board__card--accent .cjh-board__label { color: var(--cjh-navy); }
.cjh-board__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.cjh-board__meta {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--cjh-muted);
}
.cjh-board__chg { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; }
.cjh-board__chg.is-up { color: var(--cjh-up); }
.cjh-board__chg.is-down { color: var(--cjh-down); }

.cjh-aside { display: flex; flex-direction: column; gap: 0.85rem; }
.cjh-aside__box {
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--cjh-line);
  box-shadow: var(--shadow);
}
.cjh-aside__box h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}
.cjh-aside__box p {
  margin: 0 0 0.85rem;
  color: var(--cjh-muted);
  font-size: 0.92rem;
}
.cjh-schedule {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--cjh-muted);
  font-size: 0.9rem;
}
.cjh-schedule li + li { margin-top: 0.35rem; }

/* Flash */
.cjh-flash__list { display: grid; gap: 0.5rem; }
.cjh-flash__item {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  background: #fff;
  border: 1px solid var(--cjh-line);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cjh-flash__item:hover {
  border-color: var(--cjh-yellow);
  transform: translateX(2px);
  color: inherit;
}
.cjh-flash__item time {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cjh-navy);
}

/* Cards */
.cjh-news-grid,
.cjh-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.cjh-video-grid--compact { grid-template-columns: 1fr; }
.cjh-card {
  background: #fff;
  border: 1px solid var(--cjh-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  content-visibility: auto;
  contain-intrinsic-size: 280px;
}
.cjh-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 41, 63, 0.28);
}
.cjh-card__link { display: block; text-decoration: none; color: inherit; height: 100%; }
.cjh-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cjh-navy);
}
.cjh-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cjh-card:hover .cjh-card__media img { transform: scale(1.03); }
.cjh-card--featured { grid-column: 1 / -1; }
.cjh-card--featured .cjh-card__media { aspect-ratio: 21 / 9; }
.cjh-card__body { padding: 0.95rem 1rem 1.1rem; }
.cjh-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  color: var(--cjh-muted);
}
.cjh-card__title { margin: 0; font-size: 1.05rem; }
.cjh-card--featured .cjh-card__title { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
.cjh-card__excerpt { margin: 0.45rem 0 0; color: var(--cjh-muted); font-size: 0.92rem; }

/* —— Newsy archive layouts —— */
.cjh-newsy-page__head { margin-bottom: 2rem; }
.cjh-newsy-page__head h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.cjh-newsy-flash,
.cjh-newsy-lead,
.cjh-newsy-more {
  margin-bottom: 2.75rem;
}
.cjh-card--flash {
  border-left: 3px solid var(--cjh-yellow);
  background: linear-gradient(180deg, #fffef6 0%, #fff 70%);
  height: 100%;
}
.cjh-card--flash .cjh-card__body { padding: 0.85rem 0.9rem; }
.cjh-card--flash .cjh-card__title { font-size: 0.95rem; line-height: 1.35; }
.cjh-card--flash .cjh-card__excerpt { display: none; }

/* —— Carousel (strzałki, bez scrollbara) —— */
.cjh-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}
.cjh-carousel__viewport {
  overflow: hidden;
  min-width: 0;
}
.cjh-carousel__track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.15rem 0.1rem 0.35rem;
}
.cjh-carousel__track::-webkit-scrollbar { display: none; }
.cjh-carousel__slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 0;
}
.cjh-carousel--flash .cjh-carousel__slide {
  width: min(280px, 78vw);
}
.cjh-carousel--shorts .cjh-carousel__slide {
  width: min(168px, 42vw);
}
.cjh-carousel--shorts .cjh-card--short {
  height: 100%;
  border: 1px solid var(--cjh-line);
  background: #fff;
}
.cjh-carousel--shorts .cjh-card--short .cjh-card__media {
  aspect-ratio: 9 / 14;
}
.cjh-carousel--shorts .cjh-card--short .cjh-card__title {
  font-size: 0.86rem;
  padding: 0.55rem 0.6rem 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cjh-carousel__btn {
  appearance: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--cjh-navy);
  background: var(--cjh-navy);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.cjh-carousel__btn:hover:not(:disabled) {
  background: var(--cjh-yellow);
  color: var(--cjh-navy);
  border-color: var(--cjh-yellow);
}
.cjh-carousel__btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.cjh-newsy-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}
.cjh-newsy-lead__grid .cjh-card--featured {
  grid-row: 1 / span 3;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(160deg, rgba(0, 41, 63, 0.04), transparent 45%),
    #fff;
}
.cjh-newsy-lead__grid .cjh-card--featured .cjh-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cjh-newsy-lead__grid .cjh-card--featured .cjh-card__media {
  aspect-ratio: 16 / 10;
  min-height: 220px;
}
.cjh-newsy-lead__grid .cjh-card--featured .cjh-card__title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.2;
}
.cjh-newsy-lead__grid .cjh-card--featured .cjh-card__excerpt {
  font-size: 1rem;
  color: var(--cjh-ink, #1a2a33);
}
.cjh-card--stack {
  grid-column: 2;
  border: 0;
  border-bottom: 1px solid var(--cjh-line);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.cjh-card--stack:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--cjh-line);
}
.cjh-card--stack .cjh-card__body { padding: 0.85rem 0.15rem; }
.cjh-card--stack .cjh-card__title { font-size: 1.05rem; }
.cjh-card--stack .cjh-card__excerpt { display: none; }

.cjh-newsy-stream {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.cjh-newsy-stream .cjh-card--wide {
  grid-column: 1 / -1;
  display: grid;
}
.cjh-newsy-stream .cjh-card--wide .cjh-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
.cjh-newsy-stream .cjh-card--wide .cjh-card__media {
  aspect-ratio: auto;
  min-height: 200px;
  height: 100%;
}
.cjh-newsy-stream .cjh-card--wide .cjh-card__title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}
.cjh-newsy-stream .cjh-card--grid .cjh-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cjh-newsy-load {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.cjh-newsy-sentinel {
  width: 100%;
  height: 1px;
}
.cjh-btn {
  appearance: none;
  border: 1px solid var(--cjh-navy);
  background: var(--cjh-yellow);
  color: var(--cjh-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.cjh-btn:hover { transform: translateY(-1px); }
.cjh-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.cjh-btn--navy {
  background: var(--cjh-navy);
  color: #fff;
  border-color: var(--cjh-navy);
}
.cjh-btn--navy:hover {
  background: var(--cjh-yellow);
  color: var(--cjh-navy);
  border-color: var(--cjh-yellow);
}

.cjh-badge {
  display: inline-flex;
  padding: 0.15rem 0.4rem;
  background: var(--cjh-yellow);
  color: var(--cjh-navy);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cjh-badge--onmedia {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
}
.cjh-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 2.8rem;
  height: 2.8rem;
  margin: -1.4rem 0 0 -1.4rem;
  border-radius: 50%;
  background: var(--cjh-yellow);
  border: 2px solid var(--cjh-navy);
}
.cjh-play::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.85rem;
  border-style: solid;
  border-width: 0.5rem 0 0.5rem 0.85rem;
  border-color: transparent transparent transparent var(--cjh-navy);
}

.cjh-shorts-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 180px);
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
}
.cjh-shorts-rail--grid {
  grid-auto-flow: unset;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  overflow: visible;
}
.cjh-card--short { scroll-snap-align: start; }
.cjh-card--short .cjh-card__media { aspect-ratio: 9 / 14; }
.cjh-card--short .cjh-card__title {
  padding: 0.65rem 0.7rem 0.85rem;
  font-size: 0.88rem;
}

.cjh-series {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.cjh-series__col {
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--cjh-line);
}
.cjh-series__meta { margin: 0.3rem 0 1rem; color: var(--cjh-muted); font-size: 0.9rem; }

/* —— Media pages: Filmy / Shorty / Serie —— */
.cjh-media-page__head { margin-bottom: 2rem; }
.cjh-media-page__head h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.cjh-media-lead { margin-bottom: 2.5rem; }
.cjh-media-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}
.cjh-media-lead__grid .cjh-card--featured {
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(0, 41, 63, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 210, 42, 0.12), transparent 42%),
    #fff;
}
.cjh-media-lead__grid .cjh-card--featured .cjh-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cjh-media-lead__grid .cjh-card--featured .cjh-card__media {
  aspect-ratio: 16 / 9;
  min-height: 240px;
  flex: 1;
}
.cjh-media-lead__grid .cjh-card--featured .cjh-card__title {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  line-height: 1.2;
}
.cjh-media-lead__grid .cjh-card--stack { grid-column: 2; }

.cjh-media-stream--films {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.cjh-media-stream--films .cjh-card--wide { grid-column: 1 / -1; }
.cjh-media-stream--films .cjh-card--wide .cjh-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
}
.cjh-media-stream--films .cjh-card--wide .cjh-card__media {
  aspect-ratio: auto;
  min-height: 220px;
  height: 100%;
}
.cjh-media-stream--films .cjh-card--wide .cjh-card__title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.cjh-shorts-hero {
  margin-bottom: 2.5rem;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 210, 42, 0.22), transparent 55%),
    linear-gradient(160deg, #00293F 0%, #0a3d5c 100%);
}
.cjh-card--short.cjh-card--hero {
  width: min(280px, 72vw);
  border: 2px solid var(--cjh-yellow);
  background: transparent;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.cjh-card--short.cjh-card--hero .cjh-card__media { aspect-ratio: 9 / 16; }
.cjh-card--short.cjh-card--hero .cjh-card__title {
  color: #fff;
  padding: 0.85rem 0.35rem 0.2rem;
  font-size: 1.05rem;
  text-align: center;
}
.cjh-shorts-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}
.cjh-shorts-mosaic .cjh-card--short:nth-child(7n+1) { grid-column: span 2; }
.cjh-shorts-mosaic .cjh-card--short .cjh-card__media { aspect-ratio: 9 / 14; }
.cjh-shorts-mosaic .cjh-card--short .cjh-card__title {
  font-size: 0.88rem;
  padding: 0.55rem 0.65rem 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cjh-series-block {
  margin-bottom: 2.75rem;
  padding: 1.5rem;
  border: 1px solid var(--cjh-line);
  background: #fff;
}
.cjh-series-block--radar {
  background:
    linear-gradient(120deg, rgba(255, 210, 42, 0.14), transparent 40%),
    #fff;
}
.cjh-series-block--horyzont {
  background:
    linear-gradient(120deg, rgba(0, 41, 63, 0.06), transparent 45%),
    #fff;
}
.cjh-series-block__intro {
  margin-bottom: 1.25rem;
  max-width: 36rem;
}
.cjh-series-block__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cjh-navy);
}
.cjh-series-block__intro h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.cjh-series-block__desc {
  margin: 0.4rem 0 0;
  color: var(--cjh-muted);
}
.cjh-series-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: start;
}
.cjh-series-spotlight .cjh-card--featured .cjh-card__media { aspect-ratio: 16 / 9; }
.cjh-series-spotlight .cjh-card--featured .cjh-card__title {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}
.cjh-series-spotlight__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--cjh-line);
}
.cjh-series-spotlight__list .cjh-card--stack { grid-column: auto; }
.cjh-play--sm { width: 2.2rem; height: 2.2rem; }

.cjh-home-series {
  display: grid;
  gap: 1.5rem;
}
.cjh-series-block--home {
  margin-bottom: 0;
}
.cjh-series-block--home .cjh-series-block__intro h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-family: var(--font-display);
}
.cjh-home-news .cjh-card--featured .cjh-card__title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

/* Article */
.cjh-article { padding: 2.2rem 0 3rem; }
.cjh-article__header h1 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.cjh-article__lead {
  margin: 0.9rem 0 0;
  font-size: 1.1rem;
  color: var(--cjh-muted);
}
.cjh-article__hero { margin: 1.3rem auto; }
.cjh-article__hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.cjh-article__content {
  margin-top: 1.3rem;
  font-size: 1.08rem;
  max-width: 65ch;
}
.cjh-article__content > *:first-child { margin-top: 0; }
.cjh-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  margin: 1.1rem 0;
}
.cjh-embed--short {
  aspect-ratio: 9 / 16;
  max-width: 340px;
  margin-inline: auto;
}
.cjh-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cjh-empty { color: var(--cjh-muted); padding: 0.75rem 0; }

/* Footer */
.cjh-footer {
  margin-top: 1.5rem;
  background: var(--cjh-navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 2.8rem 0 1.3rem;
}
.cjh-footer a { color: inherit; text-decoration: none; }
.cjh-footer a:hover { color: var(--cjh-yellow); }
.cjh-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 1.4rem;
}
.cjh-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.cjh-footer__brand-link:hover {
  color: var(--cjh-yellow);
}
.cjh-footer__icon {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
}
.cjh-footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cjh-yellow);
  line-height: 1.15;
}
.cjh-footer h3 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cjh-yellow);
}
.cjh-footer__menu { list-style: none; margin: 0; padding: 0; }
.cjh-footer__menu li + li { margin-top: 0.35rem; }
.cjh-footer__disclaimer { font-size: 0.86rem; opacity: 0.8; }
.cjh-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  opacity: 0.75;
}

@media (max-width: 960px) {
  .cjh-split,
  .cjh-series,
  .cjh-footer__grid,
  .cjh-board { grid-template-columns: 1fr; }
  .cjh-news-grid,
  .cjh-video-grid,
  .cjh-newsy-lead__grid,
  .cjh-newsy-stream,
  .cjh-media-lead__grid,
  .cjh-media-stream--films,
  .cjh-series-spotlight,
  .cjh-shorts-mosaic { grid-template-columns: 1fr; }
  .cjh-shorts-mosaic .cjh-card--short:nth-child(7n+1) { grid-column: auto; }
  .cjh-media-lead__grid .cjh-card--featured,
  .cjh-media-lead__grid .cjh-card--stack {
    grid-row: auto;
    grid-column: auto;
  }
  .cjh-media-stream--films .cjh-card--wide .cjh-card__link {
    grid-template-columns: 1fr;
  }
  .cjh-newsy-lead__grid .cjh-card--featured {
    grid-row: auto;
    grid-column: auto;
  }
  .cjh-card--stack {
    grid-column: auto;
    border: 1px solid var(--cjh-line);
    background: #fff;
    padding: 0;
  }
  .cjh-card--stack .cjh-card__body { padding: 0.95rem 1rem 1.1rem; }
  .cjh-newsy-stream .cjh-card--wide .cjh-card__link {
    grid-template-columns: 1fr;
  }
  .cjh-nav-toggle { display: flex; }
  .cjh-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--cjh-line);
  }
  .cjh-nav.is-open { display: flex; }
  .cjh-nav__list { flex-direction: column; }
  .cjh-header { position: relative; }
  .cjh-brand__text small { display: none; }
  .cjh-brand .custom-logo,
  .cjh-brand .custom-logo-link img,
  .cjh-header img.custom-logo {
    height: 42px !important;
    max-height: 42px !important;
    max-width: 240px !important;
  }
  .cjh-hero__grid {
    grid-template-columns: 1fr;
    padding: 2.5rem 0 2.25rem;
    gap: 1.5rem;
  }
  .cjh-hero__visual {
    justify-self: start;
    width: 100%;
  }
  .cjh-hero__mark {
    width: min(56vw, 220px);
    transform: none;
  }
  .cjh-hero__short {
    width: min(42vw, 180px);
    transform: none;
  }
  .cjh-hero {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .cjh-hero__short {
    width: min(48vw, 160px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cjh-hero__bg::after,
  .cjh-hero__bg::before,
  .cjh-hero__inner,
  .cjh-hero__visual,
  .cjh-hero__short,
  .cjh-card,
  .cjh-card__media img,
  .cjh-btn { animation: none !important; transition: none !important; }
}
