/* KSSNJ site styles — shared by every page */
:root {
  --ink: #1D2330;
  --ink-2: #3F4654;
  --muted: #4F5664;
  --bg: #F7F5F0;
  --card: #FFFFFF;
  --line: #E4E0D8;
  --line-2: #EFECE6;
  --blue: #1C2B55;
  --blue-dark: #111A38;
  --blue-soft: #E8EBF3;
  --warm: #A8002D;
  --warm-soft: #FCEAEE;
  --green: #1F5E3A;
  --green-soft: #E5F2EA;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* English line under Korean */
.en  { display: block; font-size: .6em; font-weight: 500; opacity: .7; margin-top: 4px; }
.ei  { display: block; font-size: .85em; font-weight: 400; opacity: .78; }
.eii { font-weight: 400; opacity: .8; }
.ep  { display: block; margin-top: 6px; font-size: .94em; opacity: .82; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 52px; height: 52px; flex-shrink: 0; display: block; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; flex-shrink: 0; }
.brand-name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.brand-sub { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 15px; }
.nav a { padding: 8px 12px; color: var(--ink); text-decoration: none; border-radius: 8px; line-height: 1.3; text-align: center; }
.nav a:hover { background: var(--bg); }
.nav .btn-login { background: var(--blue); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 500; }
.nav .btn-login:hover { background: var(--blue-dark); color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.4; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: #CFCAC0; font-weight: 500; }
.btn-ghost:hover { color: var(--ink); background: #fff; border-color: var(--ink-2); }
.btn-kakao { background: #FEE500; color: #191600; }
.btn-kakao:hover { color: #191600; filter: brightness(.96); }
.btn[aria-disabled="true"] { background: var(--line-2); color: var(--muted); cursor: default; }

/* Sections */
section { padding: 40px 0; }
.section-title { margin: 0 0 6px; font-size: 30px; font-weight: 700; line-height: 1.3; }
.section-lead { margin: 0 0 24px; color: var(--muted); font-size: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--warm-soft); color: var(--warm); font-size: 14px; font-weight: 500; }
.chip { display: inline-block; flex-shrink: 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip-blue { background: var(--blue-soft); color: var(--blue); }
.chip-green { background: var(--green-soft); color: var(--green); }
.chip-warm { background: var(--warm-soft); color: var(--warm); }
.chip-grey { background: var(--line-2); color: var(--ink-2); }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 24px; }
.hero-text { flex: 999 1 500px; min-width: 0; }
.hero h1 { margin: 16px 0 18px; font-size: clamp(34px, 5vw, 52px); line-height: 1.2; font-weight: 900; letter-spacing: -.02em; }
.hero h1 .en { font-size: .42em; margin-top: 12px; letter-spacing: 0; }
.hero-lead { margin: 0 0 28px; font-size: 18px; color: var(--ink-2); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { flex: 1 1 400px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stats .stat-num { margin: 0; font-size: 34px; font-weight: 900; color: var(--blue); line-height: 1.2; }
.stats .stat-break { margin: 10px 0 0; padding: 8px 0 0; list-style: none; border-top: 1px solid var(--line-2); font-size: 13px; line-height: 1.7; color: var(--muted); }
.stats .stat-note { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.stats .stat-break li { display: flex; justify-content: space-between; gap: 8px; }
.stats .stat-break b { color: var(--ink); font-weight: 700; }
.stats .stat-label { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* Photos */
.hero-photo { flex: 1 1 440px; margin: 0; position: relative; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 18px 40px -18px rgba(28, 43, 85, .45); }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(17, 26, 56, .78); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.stats-section { padding-top: 0; }
.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 28px 32px; }
.card-photo { display: block; width: calc(100% + 48px); height: auto; max-width: none; margin: -24px -24px 18px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 15px 15px 0 0; }
.elective { overflow: hidden; }
.elective-photo { display: block; width: calc(100% + 40px); height: auto; max-width: none; margin: -20px -20px 16px; aspect-ratio: 16 / 10; object-fit: cover; }
.elective-art { height: auto; background:
  radial-gradient(circle at 22% 35%, #C20034 0 18%, transparent 19%),
  radial-gradient(circle at 50% 62%, #1C2B55 0 20%, transparent 21%),
  radial-gradient(circle at 78% 38%, #E8B21A 0 17%, transparent 18%),
  radial-gradient(circle at 36% 80%, #2E7D4F 0 11%, transparent 12%),
  radial-gradient(circle at 68% 82%, #F4F1EA 0 10%, transparent 11%),
  #EFE9DD; }
.together { padding-top: 8px; }
.together-fig { margin: 0; position: relative; border-radius: 24px; overflow: hidden; }
.together-fig img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 55%; }
.together-fig figcaption { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 64px 32px 28px; background: linear-gradient(to top, rgba(17, 26, 56, .88), rgba(17, 26, 56, 0)); color: #fff; }
.together-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.2; }
.together-title .en { font-size: .5em; opacity: .85; }
.together .btn-primary { background: #fff; color: var(--blue); }
.together .btn-primary:hover { background: #F4F1EA; color: var(--blue); }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tag { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--warm); letter-spacing: .06em; }
.card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Electives band */
.electives { margin-top: 28px; background: var(--blue); color: #fff; border-radius: 20px; padding: 32px; }
.electives-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; }
.electives h3 { margin: 0; font-size: 26px; line-height: 1.3; }
.electives-head p, .electives-foot { margin: 0; color: #D9DEEC; font-size: 15px; }
.electives-foot { margin-top: 18px; font-size: 14px; }
.elective { background: #fff; color: var(--ink); border-radius: 14px; padding: 20px; }
.elective-name { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.elective-name .en { font-size: .7em; }
.elective-desc { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }

/* Calendar */
.split { display: flex; flex-wrap: wrap; gap: 24px; }
.split > .main { flex: 999 1 560px; min-width: 0; }
.split > .side { flex: 1 1 320px; }
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.cal-head h2 { margin: 0; font-size: 24px; line-height: 1.3; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { padding: 8px 14px; border-radius: 999px; font-family: inherit; font-size: 13px; cursor: pointer; background: #fff; color: var(--ink-2); border: 1px solid #CFCAC0; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.cal-list { list-style: none; margin: 0; padding: 0; }
.cal-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.cal-date { width: 76px; flex-shrink: 0; font-size: 15px; font-weight: 700; color: var(--blue); }
.cal-item.is-past .cal-date { color: var(--muted); }
.cal-item.is-off .cal-date { color: var(--warm); }
.cal-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; }
.cal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }

.band-blue { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.band-blue h2 { margin: 0; font-size: 24px; line-height: 1.3; }
.band-blue p { margin: 0; color: #D9DEEC; font-size: 15px; }
.band-blue .btn { margin-top: auto; align-self: flex-start; background: #fff; color: var(--blue); font-size: 15px; padding: 12px 20px; }

/* Visit */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.visit h3 { font-size: 18px; }

/* Footer */
.site-footer { background: var(--ink); color: #C9CDD6; margin-top: 32px; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; line-height: 1.8; }
.site-footer a { color: #fff; }
.site-footer .f-name { margin: 0 0 6px; color: #fff; font-weight: 700; font-size: 16px; }
.site-footer p { margin: 0; }
.f-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }

/* Apply page */
.apply-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.apply-tab { text-align: left; padding: 20px; border-radius: var(--radius); cursor: pointer; font-family: inherit; background: #fff; border: 2px solid var(--line); color: var(--ink); }
.apply-tab[aria-selected="true"] { background: var(--blue-soft); border-color: var(--blue); }
.apply-tab .status { display: block; font-size: 13px; font-weight: 700; color: var(--warm); }
.apply-tab .status.closed { color: var(--muted); }
.apply-tab .title { display: block; margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.35; }
.apply-tab .title .en { font-size: .72em; }
.apply-tab .desc { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.panel h2 { margin: 0 0 20px; font-size: 26px; line-height: 1.3; }
.facts { margin: 0 0 22px; padding: 0; list-style: none; background: var(--bg); border-radius: var(--radius); padding: 8px 22px; }
.fact { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fact:last-child { border-bottom: 0; }
.fact-k { width: 130px; flex-shrink: 0; font-weight: 700; color: var(--blue); }
.fact-k .ei { font-weight: 400; }
.fact-v { flex: 1; min-width: 0; }
.panel-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.kakao-box { background: #FFF8D6; border: 1px solid #F0DD8A; border-radius: var(--radius); padding: 24px; margin-bottom: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Mobile */
@media (max-width: 760px) {
  .electives .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .elective { padding: 14px; }
  .elective-photo { width: calc(100% + 28px); margin: -14px -14px 12px; }
  .elective-name { font-size: 16px; }
  .elective-desc .ei { display: none; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px; gap: 22px; }
  .together-fig img { aspect-ratio: 4 / 3; }
  .together-fig figcaption { padding: 48px 20px 20px; }
  .site-header { position: static; }
  .grid-3, .visit, .apply-tabs { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { width: 100%; }
  .fact { flex-direction: column; gap: 2px; }
  .fact-k { width: auto; }
  .panel, .electives { padding: 22px; }
  section { padding: 28px 0; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .apply-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Photo-led layout (v2) ===== */
.hero-full { position: relative; padding: 0; min-height: clamp(520px, 78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #111A38; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,38,.9) 0%, rgba(10,16,38,.72) 38%, rgba(10,16,38,.15) 72%, rgba(10,16,38,0) 100%), linear-gradient(0deg, rgba(10,16,38,.65) 0%, rgba(10,16,38,0) 45%); }
.hero-inner { position: relative; padding-top: 72px; padding-bottom: 120px; max-width: 1200px; width: 100%; }
.hero-full h1 { margin: 18px 0 18px; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.15; font-weight: 900; letter-spacing: -.02em; max-width: 640px; text-wrap: balance; }
.hero-full h1 .en { font-size: .4em; margin-top: 14px; letter-spacing: 0; opacity: .85; }
.hero-full .hero-lead { color: #E6E9F2; max-width: 540px; }
.hero-full .ep { opacity: .85; }
.pill-on-dark { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #F4F1EA; color: var(--blue); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); font-weight: 500; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-credit { position: absolute; right: 24px; bottom: 96px; margin: 0; font-size: 12px; opacity: .75; }
.stats-section { position: relative; z-index: 2; margin-top: -72px; padding: 0 0 24px; }
.stats-strip { box-shadow: 0 20px 40px -24px rgba(17,26,56,.45); border: 0; }

.photo-card { position: relative; margin: 0; border-radius: 20px; overflow: hidden; min-height: 540px; display: flex; align-items: flex-end; background: #111A38; color: #fff; }
.photo-card img { position: absolute; inset: 0 0 auto 0; width: 100%; height: 62%; object-fit: cover; object-position: center 40%; transition: transform .6s ease; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,16,38,.96) 0%, rgba(10,16,38,.86) 34%, rgba(10,16,38,.25) 56%, rgba(10,16,38,0) 70%); }
.photo-card:hover img { transform: scale(1.04); }
.photo-card-text { position: relative; z-index: 1; padding: 24px; }
.photo-card .tag { color: #F5B9C6; }
.photo-card h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; }
.photo-card p { margin: 0; color: #E6E9F2; font-size: 15px; }

.electives-section { background: var(--blue); color: #fff; padding: 56px 0; margin: 24px 0; }
.electives-section .section-title { color: #fff; }
.electives-section .electives-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.electives-section .electives-head p { margin: 0; max-width: 520px; color: #D9DEEC; font-size: 15px; }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; margin: 0; border-radius: 16px; overflow: hidden; min-height: 300px; background: #111A38; }
.tile-wide { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 72px 18px 16px; background: linear-gradient(0deg, rgba(10,16,38,.96) 0%, rgba(10,16,38,.85) 45%, rgba(10,16,38,0) 100%); color: #fff; }
.tile b { display: block; font-size: 22px; line-height: 1.25; }
.tile .en { font-size: 13px; opacity: .85; margin-top: 2px; }
.tile-desc { display: block; margin-top: 6px; font-size: 13px; color: #D9DEEC; }

.band-photo { position: relative; border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 520px; display: flex; align-items: flex-end; background: #111A38; color: #fff; }
.band-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,16,38,.95) 0%, rgba(10,16,38,.85) 55%, rgba(10,16,38,.35) 100%); }
.band-photo-text { position: relative; z-index: 1; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.band-photo h2 { margin: 0; font-size: 24px; line-height: 1.3; }
.band-photo p { margin: 0; color: #E6E9F2; font-size: 15px; }
.band-photo .btn { align-self: flex-start; font-size: 15px; padding: 12px 20px; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) { .photo-card img, .tile img { transition: none; } .photo-card:hover img, .tile:hover img { transform: none; } }
@media (max-width: 980px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: span 2; }
}
@media (max-width: 760px) {
  .hero-full { min-height: 560px; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,16,38,.95) 0%, rgba(10,16,38,.75) 55%, rgba(10,16,38,.25) 100%); }
  .hero-inner { padding-top: 140px; padding-bottom: 104px; }
  .hero-credit { right: 16px; bottom: 84px; }
  .photo-card { min-height: 400px; }
  .tile { min-height: 200px; }
  .tile b { font-size: 18px; }
  .tile-desc { display: none; }
  .electives-section { padding: 40px 0; }
}

/* ===== Latest videos ===== */
.videos-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.videos-head .btn { font-size: 15px; padding: 10px 18px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.v-card { all: unset; box-sizing: border-box; cursor: pointer; display: block; border-radius: 14px; overflow: hidden; background: #111A38; color: #fff; position: relative; }
.v-card:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }
.v-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0B1230; }
.v-thumb img { position: absolute; inset: 0; }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.v-card:hover .v-thumb img { transform: scale(1.05); }
.v-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(194,0,52,.92); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.v-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.v-meta { display: block; padding: 12px 14px 14px; }
.v-title { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; }
.v-date { display: block; margin-top: 4px; font-size: 12px; color: #B9C1D6; }
.shorts-title { margin: 0 0 12px; font-size: 19px; }
.video-layout.single { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.video-layout.single .video-grid { flex: 1 1 460px; grid-template-columns: minmax(0, 1fr); margin: 0; }
.video-layout.single .shorts-row { flex: 1 1 460px; min-width: 0; }
.shorts-row { display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.shorts-row .v-card { flex: 0 0 auto; width: 190px; scroll-snap-align: start; }
.shorts-row .v-thumb { aspect-ratio: 9 / 16; }
.shorts-row .v-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.shorts-row .v-play::after { left: 17px; top: 13px; border-width: 9px 0 9px 14px; }
.shorts-row .v-meta { position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; background: linear-gradient(0deg, rgba(10,16,38,.9), rgba(10,16,38,0)); }
.shorts-row .v-title { font-size: 13px; }
.video-fallback { margin: 0; color: var(--muted); font-size: 15px; }
.video-dialog { border: 0; padding: 0; background: transparent; width: min(960px, 94vw); max-width: none; }
.video-dialog::backdrop { background: rgba(8,12,28,.85); }
.vd-inner { display: flex; flex-direction: column; gap: 10px; }
.vd-close { align-self: flex-end; background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 10px 16px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.vd-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.vd-frame.is-short { aspect-ratio: 9 / 16; max-height: 82vh; margin: 0 auto; width: auto; height: 82vh; }
.vd-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .shorts-row .v-card { width: 150px; }
  .vd-frame.is-short { height: 76vh; }
}

/* Newsletters */
#news { padding: 64px 0 8px; }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.news-archive { font-size: 15px; padding: 11px 18px; margin-bottom: 24px; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.news-list a { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--ink); text-decoration: none; height: 100%; }
.news-list a:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(28,43,85,.08); }
.news-date { flex: 0 0 64px; height: 64px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.news-title { font-weight: 700; font-size: 16px; }
.news-note { color: var(--muted); font-size: 14px; line-height: 1.45; }
.news-go { color: var(--blue); font-size: 18px; }
.news-new { margin-left: 8px; background: var(--warm); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.news-more { margin-top: 16px; font-size: 15px; padding: 11px 18px; }
@media (max-width: 760px) {
  .news-list { grid-template-columns: 1fr; }
  .news-archive { margin-bottom: 8px; }
  #news { padding-top: 48px; }
}
