:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f5f7;
  --line: #e6e8ec;
  --line-strong: #d2d6de;
  --ink: #12141a;
  --muted: #676d78;
  --faint: #9aa1ac;
  --red: #e0244f;
  --blue: #2f6fb0;
  --moss: #3f9169;
  --gold: #c98a2c;
  --shadow: 0 18px 48px rgba(15, 17, 23, 0.08);
  --radius: 8px;
  --container: 1220px;

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --gradient-brand: linear-gradient(135deg, var(--red) 0%, var(--gold) 55%, var(--blue) 100%);
  --gradient-blob-1: radial-gradient(circle, rgba(224, 36, 79, 0.34), rgba(224, 36, 79, 0) 70%);
  --gradient-blob-2: radial-gradient(circle, rgba(47, 111, 176, 0.3), rgba(47, 111, 176, 0) 70%);
  --gradient-blob-3: radial-gradient(circle, rgba(201, 138, 44, 0.28), rgba(201, 138, 44, 0) 70%);

  --shadow-soft: 0 1px 2px rgba(15, 17, 23, 0.04), 0 18px 40px rgba(15, 17, 23, 0.07);
  --shadow-lift: 0 1px 2px rgba(15, 17, 23, 0.05), 0 30px 60px rgba(15, 17, 23, 0.14);
  --shadow-glow: 0 14px 32px rgba(224, 36, 79, 0.22), 0 4px 10px rgba(201, 138, 44, 0.16);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 24px 0;
  background: linear-gradient(to bottom, var(--paper) 60%, rgba(255, 255, 255, 0));
}

.nav-wrap {
  max-width: calc(var(--container) - 40px);
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 10px 8px 22px;
  display: flex;
  align-items: center;
  gap: 26px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 6px;
  width: 17px;
  height: 22px;
  background: var(--gradient-brand);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 6px;
  width: 14px;
  height: 15px;
  background: var(--surface);
  opacity: 0.94;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.brand-mark span {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(201, 138, 44, 0.6);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: color 0.18s var(--ease-out), background 0.18s var(--ease-out);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: var(--surface-2);
}

.home-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 24px 70px;
  position: relative;
  overflow-x: clip;
}

.market-strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(92px, 0.2fr));
  gap: 12px;
  margin-bottom: 22px;
}

.market-cell {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.market-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--line-strong);
}

.market-cell:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--muted);
}

.market-cell b {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  color: var(--ink);
}

.market-cell span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-board {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 54px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  min-height: 480px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.feature-media {
  position: relative;
  min-height: 360px;
  background: var(--surface-2);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.5), transparent 62%);
  mix-blend-mode: overlay;
  transition: opacity 0.3s var(--ease-out);
}

.feature-card:hover .feature-media::after {
  opacity: 1;
}

.feature-copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.feature-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.feature-copy p {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 16px;
  max-width: 50ch;
}

.feature-meta,
.card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 650;
}

.side-panel {
  display: grid;
  gap: 14px;
}

.section-block {
  margin: 52px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.short-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(174px, 1fr));
  gap: 16px;
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}

a.content-card:hover {
  transform: translateY(-5px) scale(1.012);
  border-color: transparent;
  box-shadow: var(--shadow-lift);
}

.content-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
}

.content-card.is-short .thumb {
  aspect-ratio: 9 / 14;
}

.content-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  min-height: 148px;
}

.rail-card .thumb,
.rail-card.is-short .thumb {
  aspect-ratio: auto;
  height: 100%;
}

.card-body {
  padding: 15px 16px 17px;
}

.card-body h3 {
  margin: 6px 0 7px;
  font-size: 17px;
  line-height: 1.25;
}

.card-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 21px;
}

.tag-row span {
  color: var(--moss);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.type-badge,
.mini-type {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.thumb .type-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.type-badge.short,
.mini-type.short {
  color: var(--red);
  background: #ffe8ed;
}

.type-badge.video,
.mini-type.video {
  color: var(--blue);
  background: #e7f4fa;
}

.type-badge.news,
.mini-type.news {
  color: var(--gold);
  background: #fff3d9;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-bar button,
.button {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.filter-bar button:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.filter-bar button.active,
.button.primary {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.filter-bar button.active:hover,
.button.primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: var(--shadow-glow), var(--shadow-lift);
}

.filter-bar button.active::after,
.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 48%, transparent 66%);
  transform: translateX(-130%) skewX(-12deg);
  pointer-events: none;
}

.filter-bar button.active:hover::after,
.button.primary:hover::after {
  animation: shine-sweep 0.9s ease;
}

.button.ghost {
  background: var(--surface);
}

.button.ghost:hover {
  background: var(--surface-2);
}

.empty-state,
.not-found {
  grid-column: 1 / -1;
  padding: 38px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
  color: var(--muted);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 1fr));
  gap: 32px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand-col p {
  margin: 14px 0 0;
  max-width: 34ch;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.footer-col a,
.footer-static {
  color: var(--muted);
  transition: color 0.18s var(--ease-out);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--faint);
  font-size: 12px;
}

.detail-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 34px 24px 72px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.player-frame {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #101010;
  overflow: hidden;
  position: relative;
}

.player-frame.vertical-player {
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}

.player-frame video,
.player-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-pill {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.detail-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-copy h1,
.article-title h1 {
  margin: 14px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.detail-copy p,
.article-title p {
  color: var(--muted);
}

.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 24px;
}

.detail-list {
  display: grid;
  gap: 13px;
  margin: 0;
}

.detail-list div {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.detail-list dt,
.meta-label {
  color: var(--faint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 650;
}

.rights-panel {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rights-panel strong {
  display: block;
  margin-top: 6px;
}

.rights-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.article-title {
  max-width: 880px;
  margin: 0 auto 28px;
  text-align: center;
}

.article-title .button {
  margin-top: 18px;
}

.article-meta {
  justify-content: center;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.album-grid figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
  transition: transform 0.25s var(--ease-out);
}

.album-grid figure:hover {
  transform: scale(1.02);
}

.album-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(15, 15, 15, 0.88);
  padding: 28px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  border-radius: var(--radius-lg);
}

.lightbox-close {
  position: fixed;
  right: 24px;
  top: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.06);
}

.admin-page {
  background: var(--surface-2);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: var(--surface);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-sidebar .brand {
  margin-bottom: 6px;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  border-radius: var(--radius-pill);
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 700;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

.admin-nav a.active,
.admin-nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.company-card {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: var(--paper);
}

.company-card strong {
  display: block;
  margin-bottom: 6px;
}

.company-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-main {
  padding: 28px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-topbar h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.01em;
}

.admin-topbar p {
  margin: 6px 0 0;
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.stat-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 16px;
}

.stat-card b {
  display: block;
  font-size: 31px;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.panel {
  padding: 20px;
}

.panel h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
}

.segmented button {
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 10px;
  color: var(--muted);
  font-weight: 750;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.segmented button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(15, 17, 23, 0.08);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 12px;
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 95, 125, 0.14);
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.upload-zone {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: 14px;
}

.upload-zone input {
  border: 0;
  padding: 0;
}

.locked-row {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.locked-row div {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
}

.locked-row strong {
  color: var(--ink);
}

#file-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 14px;
  margin-bottom: 14px;
}

#file-preview p {
  margin: 0;
  color: var(--muted);
}

#file-preview ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

#file-preview li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

#file-preview span {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-card,
.error-box {
  margin-top: 14px;
  border-radius: var(--radius-lg);
  padding: 14px;
}

.result-card {
  display: flex;
  gap: 12px;
  border: 1px solid #c9decf;
  background: #f0faf2;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--moss);
}

.result-card p {
  margin: 4px 0 12px;
  color: var(--muted);
}

.result-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.error-box {
  border: 1px solid #e3b7b7;
  background: #fff0f0;
  color: #922020;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
}

.content-table th,
.content-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.content-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.content-table small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
}

.text-danger {
  border: 0;
  background: none;
  color: var(--red);
  padding: 0;
  font-weight: 800;
}

@media (max-width: 980px) {
  .media-board,
  .feature-card,
  .detail-hero,
  .admin-shell,
  .admin-grid,
  .rights-panel,
  .market-strip {
    grid-template-columns: 1fr;
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .rail-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 14px 16px 0;
  }

  .nav-wrap {
    padding: 8px 8px 8px 16px;
    gap: 12px;
  }

  .brand-name {
    font-size: 18px;
  }

  .site-nav {
    display: none;
  }

  .home-shell,
  .detail-page,
  .admin-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature-copy {
    padding: 24px;
  }

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

  .admin-topbar {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .content-table {
    min-width: 680px;
  }

.table-scroll {
    overflow-x: auto;
  }
}

/* ================= EDITORIAL MOTION AND MEDIA PRODUCT POLISH ================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(21, 21, 21, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.018) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  overflow: hidden;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header.is-scrolled .nav-wrap {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lift);
}

.edition-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding: 72px 20px 52px;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
}

.edition-bar::before,
.edition-bar::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: blob-float 22s var(--ease-out) infinite alternate;
}

.edition-bar::before {
  top: -22vw;
  left: -12vw;
  background: var(--gradient-blob-1);
}

.edition-bar::after {
  top: -14vw;
  right: -16vw;
  background: var(--gradient-blob-2);
  animation-delay: -8s;
}

.home-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 480px;
  right: -8vw;
  width: 30vw;
  height: 30vw;
  max-width: 420px;
  max-height: 420px;
  border-radius: 50%;
  background: var(--gradient-blob-3);
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  animation: blob-float 26s var(--ease-out) infinite alternate;
  animation-delay: -4s;
}

.edition-bar div {
  border-left: 0;
  padding-left: 0;
  max-width: 720px;
}

.edition-bar div > span {
  animation: hero-rise 0.7s var(--ease-out) 0.05s both;
}

.edition-bar div > strong {
  animation: hero-rise 0.8s var(--ease-out) 0.16s both;
}

.edition-bar div > .live-clock {
  animation: hero-rise 0.7s var(--ease-out) 0.24s both;
}

.edition-bar > p {
  animation: hero-rise 0.8s var(--ease-out) 0.28s both;
}

.news-wire {
  animation: hero-rise 0.8s var(--ease-out) 0.4s both;
}

.market-strip {
  animation: hero-rise 0.8s var(--ease-out) 0.5s both;
}

.edition-bar span,
.section-kicker {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.edition-bar strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.edition-bar p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 17px;
}

.live-clock {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.live-clock::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--moss);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 145, 105, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(63, 145, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(63, 145, 105, 0);
  }
}

.news-wire {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.news-wire > span {
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--gradient-brand);
  color: var(--surface);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wire-window {
  overflow: hidden;
}

.wire-track {
  width: max-content;
  display: flex;
  gap: 28px;
  padding: 12px 0;
  animation: wire-scroll 38s linear infinite;
}

.wire-track a {
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.wire-track b {
  color: var(--red);
  margin-right: 7px;
}

.news-wire:hover .wire-track {
  animation-play-state: paused;
}

@keyframes wire-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.showcase-reel {
  margin: 48px 0;
  display: grid;
  gap: 14px;
}

.showcase-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.showcase-track {
  width: max-content;
  display: flex;
  gap: 16px;
  animation: showcase-left 48s linear infinite;
}

.showcase-row.reverse .showcase-track {
  animation-name: showcase-right;
}

.showcase-row:hover .showcase-track {
  animation-play-state: paused;
}

.showcase-tile {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 260px;
  height: 168px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease-out);
}

.showcase-tile:hover {
  transform: translateY(-3px);
}

.showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns 9s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}

.gradient-text {
  background: linear-gradient(90deg, var(--red), var(--gold), var(--blue), var(--red));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shimmer 7s ease infinite;
}

@keyframes gradient-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.showcase-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(15, 17, 23, 0.75), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

@keyframes showcase-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes showcase-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes blob-float {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(6%, -5%) scale(1.16) rotate(10deg);
  }
  100% {
    transform: translate(-5%, 7%) scale(0.94) rotate(-8deg);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine-sweep {
  from {
    transform: translateX(-130%) skewX(-12deg);
  }
  to {
    transform: translateX(130%) skewX(-12deg);
  }
}

.market-strip {
  grid-template-columns: 1.4fr repeat(4, minmax(92px, 0.2fr));
}

.market-cell {
  position: relative;
  overflow: hidden;
}

.market-cell::after {
  content: "";
  position: absolute;
  inset: auto 12px 0 12px;
  height: 3px;
  background: var(--line);
}

.market-cell:nth-child(2)::after {
  background: var(--red);
}

.market-cell:nth-child(3)::after {
  background: var(--blue);
}

.market-cell:nth-child(4)::after {
  background: var(--moss);
}

.market-cell:nth-child(5)::after {
  background: var(--gold);
}

.feature-card:hover .feature-media img,
.content-card:hover .thumb img {
  transform: scale(1.035);
}

.feature-media img,
.content-card .thumb img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

.feature-copy h1 {
  font-size: 54px;
}

.feature-note {
  margin: 0 0 22px;
  padding: 12px 14px;
  border-left: 3px solid var(--moss);
  background: #f4f7f2;
  color: var(--muted);
  font-size: 13px;
}

.content-card {
  position: relative;
}

.content-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color 0.2s ease;
}

.content-card:hover::after {
  border-color: rgba(191, 18, 56, 0.18);
}

.content-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.22) 46%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}

.content-card:hover .thumb::after {
  transform: translateX(130%);
}

.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.short-strip {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.news-card-grid .content-card:first-child {
  grid-column: span 2;
}

.news-card-grid .content-card:first-child .thumb {
  aspect-ratio: 16 / 9;
}

.news-card-grid .content-card:first-child h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
}

.type-badge.article,
.mini-type.article {
  color: var(--moss);
  background: #e8f3ed;
}

.digest-panel {
  border-top: 0;
  border-bottom: 0;
  padding: 8px 0;
}

.digest-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.digest-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
}

.digest-row:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.digest-row:hover {
  background: var(--surface-2);
}

.digest-row span {
  grid-row: 1 / 3;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

.digest-row strong {
  align-self: end;
  line-height: 1.25;
}

.digest-row em {
  color: var(--faint);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out) var(--reveal-delay), transform 0.6s var(--ease-out) var(--reveal-delay);
}

.newspaper-detail {
  max-width: 1080px;
}

.newspaper-layout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.newspaper-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.newspaper-head h1 {
  max-width: 900px;
  margin: 14px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.newspaper-head p {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
}

.lead-photo {
  margin: 24px 0 0;
}

.lead-photo img {
  width: 100%;
  height: auto;
}

.lead-photo figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}

.newspaper-body {
  max-width: 760px;
  margin: 26px auto 0;
  columns: 2;
  column-gap: 36px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}

.newspaper-body p {
  margin: 0 0 16px;
}

.centered-actions {
  justify-content: center;
}

.newspaper-gallery {
  margin-top: 18px;
}

.detail-copy h1,
.article-title h1 {
  font-size: 50px;
}

.segmented {
  grid-template-columns: repeat(4, 1fr);
}

.stat-grid {
  grid-template-columns: repeat(5, minmax(110px, 1fr));
}

.upload-zone small,
.field > small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.admin-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.admin-gate-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-lift);
}

.admin-gate-card h2 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
}

.admin-gate-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.admin-gate-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 12px;
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

.admin-gate-card input:focus-visible {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 95, 125, 0.14);
}

.gate-error {
  min-height: 20px;
  margin-top: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 750;
}

@media (prefers-reduced-motion: reduce) {
  .wire-track,
  .edition-bar::before,
  .edition-bar::after,
  .home-shell::before,
  .edition-bar div > span,
  .edition-bar div > strong,
  .edition-bar > p,
  .news-wire,
  .market-strip,
  .button.primary::after,
  .filter-bar button.active::after,
  .showcase-track,
  .live-clock::before,
  .showcase-tile img,
  .gradient-text {
    animation: none;
  }

  .reveal,
  .reveal.is-visible,
  .content-card,
  .feature-card,
  .content-card .thumb img,
  .feature-media img,
  .button,
  .filter-bar button,
  .market-cell,
  .stat-card,
  .album-grid figure {
    transition: none;
    transform: none;
  }
}

@media (max-width: 980px) {
  .edition-bar,
  .news-wire,
  .digest-list {
    grid-template-columns: 1fr;
  }

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

  .news-wire > span {
    min-height: 36px;
  }

  .feature-copy h1,
  .newspaper-head h1,
  .detail-copy h1,
  .article-title h1 {
    font-size: 38px;
  }

  .news-card-grid .content-card:first-child {
    grid-column: auto;
  }

  .digest-row:nth-child(odd) {
    border-right: 0;
  }

  .newspaper-body {
    columns: 1;
  }
}

@media (max-width: 700px) {
  .edition-bar strong {
    font-size: 20px;
  }

  .feature-copy h1,
  .newspaper-head h1,
  .detail-copy h1,
  .article-title h1 {
    font-size: 32px;
  }

  .edition-bar {
    padding: 44px 18px 34px;
    border-radius: var(--radius-lg);
  }

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

  .showcase-tile {
    width: 190px;
    height: 130px;
  }
}
