/* 통일TV 홈페이지 공통 디자인
   정부 기관 홈페이지형: 흰 바탕, 남색 머리글과 표, 왼쪽 하위 메뉴, 회색 하단 */
:root {
  --navy: #0E386E;
  --navy-dark: #0A2A54;
  --teal: #237A7F;
  --accent: #C0621A;
  --accent-soft: #FDF0DA;
  --ink: #1E2329;
  --ink-2: #4A5360;
  --line: #D6DCE3;
  --soft: #F3F5F8;
  --white: #FFFFFF;
  --teal-soft: #E8F3F3;
  --night: #0B2340;
  --grad: linear-gradient(90deg, #9B2938 0%, #D17A45 55%, #D9A548 100%); /* 로고 V자 색 */
  --font: "Pretendard", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.65; word-break: keep-all; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 30; }
.skip:focus { left: 0; }

/* 검수용 표시: site.json 의 review_mode 를 false 로 바꾸면 사라집니다 */
.review-note { background: #4A5360; color: var(--white); font-size: .8125rem; padding: 6px 0; }
.tbd { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 600; line-height: 1.6; vertical-align: middle; white-space: nowrap; }
.tbd-line .tbd { margin-left: 0; font-size: .8125rem; }

/* 상단 유틸 메뉴 */
.utility { background: var(--soft); border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--ink-2); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.utility ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; align-items: center; }
.utility a { text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.fontsize { display: flex; align-items: center; gap: 4px; }
.fontsize button { font: inherit; font-size: .75rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 1px 7px; cursor: pointer; border-radius: 2px; }
.fontsize button:hover { border-color: var(--navy); }

/* 머리글과 주 메뉴 */
.header { border-bottom: 2px solid var(--navy); background: var(--white); position: relative; z-index: 20; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.logo span { font-size: .8125rem; color: var(--ink-2); border-left: 1px solid var(--line); padding-left: 12px; line-height: 1.3; }
.gnb > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a { display: block; white-space: nowrap; padding: 28px 16px; font-size: 1.0625rem; font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.gnb > ul > li > a:hover, .gnb > ul > li > a:focus-visible, .gnb > ul > li > a.active { color: var(--navy); border-bottom-color: var(--navy); }
.gnb .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 190px; margin: 2px 0 0; padding: 6px 0; list-style: none; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--navy); box-shadow: 0 8px 18px rgba(14,56,110,.10); }
.gnb > ul > li:hover > .sub, .gnb > ul > li:focus-within > .sub { display: block; }
.gnb .sub a { display: block; padding: 9px 18px; font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gnb .sub a:hover, .gnb .sub a:focus-visible { background: var(--soft); color: var(--navy); }

/* 공통 요소 */
.btn { display: inline-block; padding: 6px 14px; border: 1px solid var(--navy); color: var(--navy); background: var(--white); text-decoration: none; font-size: .875rem; font-weight: 600; }
.btn:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.note { margin: 12px 0 0; font-size: .875rem; color: var(--ink-2); }
.note::before { content: "※ "; }
.empty-box { padding: 32px; text-align: center; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); margin: 0; }
.more-link { font-size: .9375rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.more-link:hover { color: var(--navy); text-decoration: underline; }
.lead { font-size: 1.125rem; margin: 0 0 20px; max-width: 40em; }
ul.dash { margin: 0 0 12px; padding: 0; list-style: none; }
ul.dash li { position: relative; padding-left: 14px; margin-bottom: 6px; }
ul.dash li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 4px; height: 4px; background: var(--navy); }

/* 표 */
.table-scroll { overflow-x: auto; }
.grid-table, .list-table, .info { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: .9375rem; }
.grid-table th, .grid-table td, .list-table th, .list-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.grid-table thead th, .list-table thead th { background: var(--soft); font-weight: 700; }
.grid-table td.left { text-align: left; }
.empty { padding: 28px 14px !important; color: var(--ink-2); }
.info caption { text-align: left; caption-side: top; padding-bottom: 6px; font-size: .875rem; color: var(--ink-2); }
.info th, .info td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info th { width: 9.5em; background: var(--soft); font-weight: 600; }
.list-table td.subject { text-align: left; }
.list-table td.subject a { text-decoration: none; }
.list-table td.subject a:hover { text-decoration: underline; color: var(--navy); }
.list-table td { font-variant-numeric: tabular-nums; }
.list-count { margin: 0 0 8px; font-size: .875rem; color: var(--ink-2); }
.list-count strong { color: var(--navy); }

/* 첫 화면: 메인 배너 */
.visual { position: relative; color: var(--white); background: radial-gradient(900px 420px at 88% 10%, rgba(79,163,163,.28), transparent 65%), linear-gradient(180deg, #0E386E 0%, #0A2A54 100%); }
.visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.visual .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 60px; }
.visual .eyebrow { display: inline-block; font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: #BFE3E3; margin-bottom: 14px; }
.visual h1 { font-size: 2.875rem; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }
.visual p { margin: 18px 0 0; font-size: 1.125rem; max-width: 30em; color: rgba(255,255,255,.88); }
.visual-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn-solid, .btn-ghost { display: inline-block; padding: 12px 24px; font-weight: 700; text-decoration: none; border: 1px solid var(--white); }
.btn-solid { background: var(--white); color: var(--navy); }
.btn-solid:hover { background: #E8F3F3; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.visual-photo { margin: 0; position: relative; }
.visual-photo img { box-shadow: 0 24px 48px rgba(0,0,0,.35); }
.visual-photo figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: 6px 12px; font-size: .8125rem; color: var(--white); background: rgba(10,42,84,.8); }

/* 첫 화면: 자주 찾는 메뉴 */
.quick { background: var(--white); border-bottom: 1px solid var(--line); }
.quick ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.quick li + li { border-left: 1px solid var(--line); }
@media (min-width: 961px) { .quick ul:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } .quick ul:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px 8px; text-decoration: none; font-weight: 700; font-size: .9375rem; }
.quick .ic { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--teal-soft); transition: background-color .2s; }
.quick svg { width: 32px; height: 32px; stroke: var(--navy); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.quick a:hover { color: var(--navy); }
.quick a:hover .ic { background: var(--navy); }
.quick a:hover svg { stroke: var(--white); }

/* 첫 화면: 구역 */
.home section { padding: 60px 0; border-bottom: 1px solid var(--line); }
.home section:last-child { border-bottom: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.sec-head h2 { position: relative; padding-top: 16px; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.01em; }
.sec-head h2::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 4px; background: var(--grad); }
.sec-head.small { margin-bottom: 12px; }
.sec-head.small h2 { font-size: 1.25rem; padding-top: 12px; }
.sec-head.small h2::before { width: 26px; height: 3px; }
.guide-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; }
.guide-grid h3 { font-size: 1.1875rem; margin-bottom: 12px; }
.notice-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.notice-grid > *, .guide-grid > *, .about-grid > *, .about-short > * { min-width: 0; }
.about-short { display: grid; grid-template-columns: 1fr 1.9fr; gap: 40px; align-items: start; }
.about-short .lead { margin-bottom: 18px; }

/* 공지 목록(첫 화면) */
.board { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.board li { display: flex; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.board .cat { flex-shrink: 0; font-size: .8125rem; font-weight: 600; color: var(--teal); border: 1px solid var(--teal); padding: 0 6px; border-radius: 2px; }
.board a { flex: 1; min-width: 0; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board a:hover { text-decoration: underline; }
.board time { flex-shrink: 0; color: var(--ink-2); font-size: .875rem; font-variant-numeric: tabular-nums; }
.side-box { border: 1px solid #CFE5E5; background: var(--teal-soft); padding: 22px 26px; align-self: start; }
.side-box h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.side-box p { margin: 0 0 14px; color: var(--ink-2); font-size: .9375rem; }

/* 탭 */
.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tabs button { font: inherit; font-weight: 700; font-size: 1rem; padding: 11px 22px; background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); border-bottom: 0; margin-right: -1px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: inset 0 3px 0 var(--navy); position: relative; top: 1px; }
.tabs.days button { padding: 9px 18px; min-width: 3.4em; }

/* 영상 */
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.content .videos { grid-template-columns: repeat(3, 1fr); }
.vcard { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 1px solid var(--line); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.vcard:hover .vthumb img { transform: scale(1.04); }
@media (min-width: 961px) { .videos.v3 { grid-template-columns: repeat(3, 1fr); } }
.dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.8); color: #fff; font-size: .75rem; font-weight: 600; padding: 1px 6px; border-radius: 2px; font-variant-numeric: tabular-nums; }
.play { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: rgba(14,56,110,.85); }
.play::after { content: ""; position: absolute; left: 20px; top: 15px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.vcat { font-size: .8125rem; font-weight: 600; color: var(--teal); }
.vtitle { font-weight: 600; line-height: 1.45; }
.vcard:hover .vtitle, .vcard:focus-visible .vtitle { color: var(--navy); text-decoration: underline; }
.video-more { margin-top: 22px; display: flex; justify-content: flex-end; }
dialog.player { padding: 0; border: 0; width: min(960px, 92vw); background: #000; }
dialog.player::backdrop { background: rgba(0,0,0,.72); }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 14px; }
.player-bar h2 { font-size: 1rem; font-weight: 600; }
.player-bar button { font: inherit; font-size: .875rem; background: none; color: #fff; border: 1px solid rgba(255,255,255,.6); padding: 2px 12px; cursor: pointer; }
.player-frame { aspect-ratio: 16 / 9; background: #000; }
.player-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player-foot { background: var(--white); padding: 8px 14px; font-size: .875rem; color: var(--ink-2); }

/* 프로그램별 영상 줄 */
.vrow + .vrow { margin-top: 48px; }
.lead + .vrow { margin-top: 28px; }
.vrow-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.vrow .vrow-head h3 { margin: 0; padding: 0; border: 0; font-size: 1.3125rem; font-weight: 800; }
.vrow .vrow-head h3 small { margin-left: 10px; font-size: .9375rem; font-weight: 600; color: var(--teal); }
.band-dark .vrow-head { border-bottom-color: rgba(255,255,255,.16); }
.band-dark .vrow-head h3 small { color: #8FD0D0; }

/* 어두운 띠(첫 화면 다시 보기) */
.home section.band-dark { background: var(--night); color: var(--white); border-bottom: 0; }
.band-dark .sec-head h2 { color: var(--white); }
.band-dark .more-link { color: rgba(255,255,255,.75); }
.band-dark .more-link:hover { color: var(--white); }
.band-dark .tabs { border-bottom: 1px solid rgba(255,255,255,.16); }
.band-dark .tabs button { background: none; border: 0; margin-right: 28px; padding: 10px 2px; color: rgba(255,255,255,.62); }
.band-dark .tabs button[aria-selected="true"] { background: none; color: var(--white); box-shadow: inset 0 -3px 0 #D9A548; }
.band-dark .vthumb { border: 0; }
.band-dark .vtitle { color: var(--white); }
.band-dark .vcat { color: #8FD0D0; }
.band-dark .vcard:hover .vtitle, .band-dark .vcard:focus-visible .vtitle { color: var(--white); }
.band-dark .btn { background: none; color: var(--white); border-color: rgba(255,255,255,.55); }
.band-dark .btn:hover { background: var(--white); color: var(--navy); }

/* 편성 */
.nownext { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.nownext li { display: flex; align-items: center; gap: 14px; padding: 15px 8px; border-bottom: 1px solid var(--line); }
.badge { flex-shrink: 0; min-width: 4.2em; text-align: center; font-size: .8125rem; font-weight: 700; padding: 2px 8px; border-radius: 2px; color: var(--white); }
.badge.live { background: var(--accent); }
.badge.next { background: var(--ink-2); }
.nownext b { flex: 1; font-size: 1.0625rem; }
.nownext .when { color: var(--ink-2); font-size: .9375rem; font-variant-numeric: tabular-nums; }

/* 프로그램 */
.programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.program { border: 1px solid var(--line); display: flex; flex-direction: column; background: var(--white); }
.poster { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; aspect-ratio: 16 / 7; padding: 26px 28px 30px; color: var(--white); text-decoration: none; overflow: hidden; background: linear-gradient(115deg, rgba(10,42,84,.97) 0%, rgba(14,56,110,.9) 55%, rgba(14,56,110,.55) 100%), url("../images/main-banner.jpg") center / cover; }
.poster.teal { background: linear-gradient(115deg, rgba(20,78,82,.97) 0%, rgba(35,122,127,.9) 55%, rgba(35,122,127,.5) 100%), url("../images/main-banner.jpg") center / cover; }
.poster::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.poster .poster-ch { position: absolute; top: 22px; left: 28px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.poster strong { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.poster .poster-tag { font-size: .9375rem; color: rgba(255,255,255,.85); }
.poster .tbd { position: absolute; top: 20px; right: 20px; }
.poster > strong, .poster > .poster-tag { position: relative; z-index: 1; }
.poster .poster-ph { position: absolute; top: 0; right: 0; bottom: 0; width: 100%; }
.poster .poster-ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.poster .poster-ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,42,84,.95) 0%, rgba(10,42,84,.55) 38%, rgba(10,42,84,0) 70%); }
.poster.teal .poster-ph::before { background: linear-gradient(0deg, rgba(16,70,74,.96) 0%, rgba(20,78,82,.55) 38%, rgba(20,78,82,0) 70%); }
.poster .poster-ph img { object-position: center; }
a.poster.has-photo:hover .poster-ph img { transform: scale(1.03); }
.poster .poster-ph img { transition: transform .35s; }
.poster.has-photo .poster-ch { z-index: 1; }
.hosts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 190px)); gap: 20px; }
.hosts img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line); }
.hosts strong { display: block; margin-top: 10px; font-size: 1.0625rem; }
.weekly-title { margin: 40px 0 14px; font-size: 1.1875rem; }
.weekly { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.weekly li { border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.wthumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-dark); }
.wthumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.weekly li:hover .wthumb img { transform: scale(1.04); }
.wthumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.wthumb .wname { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 16px 14px; font-size: 1.125rem; font-weight: 800; line-height: 1.35; color: var(--white); background: linear-gradient(180deg, transparent, rgba(6,22,44,.82)); }
.wthumb.tile { background: linear-gradient(115deg, rgba(10,42,84,.97) 0%, rgba(14,56,110,.9) 55%, rgba(35,122,127,.75) 100%), url("../images/main-banner.jpg") center / cover; }
.wthumb.tile .wname { background: none; font-size: 1.25rem; }
.wbody { padding: 12px 16px 16px; }
.weekly .w-hosts { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--teal); }
.weekly .wbody p + p { margin-top: 6px; color: var(--ink-2); }
.weekly.compact { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.weekly.compact .wname { font-size: 1rem; padding: 24px 12px 10px; }
.weekly.compact .wbody { padding: 10px 12px 12px; }
@media (max-width: 960px) { .weekly, .weekly.compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .weekly { grid-template-columns: 1fr; } }
/* 첫 화면 큰 사진 (여러 장이 차례로 바뀜) */
.slides { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-dark); box-shadow: 0 24px 48px rgba(0,0,0,.35); }
.slides .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slides .slide.on { opacity: 1; }
.slides img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slides figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: 7px 14px; font-size: .875rem; color: var(--white); background: rgba(10,42,84,.85); }
.slide-dots { position: absolute; right: 12px; bottom: 11px; z-index: 2; display: flex; gap: 7px; }
.slide-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.25); cursor: pointer; }
.slide-dots button[aria-current="true"] { background: var(--white); }
/* 촬영 현장 사진 모음 */
.home section.band-soft { background: var(--soft); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery li.big { grid-column: span 2; grid-row: span 2; }
.gallery .gimg { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: zoom-in; overflow: hidden; }
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s; }
.gallery li.big img { height: 100%; aspect-ratio: auto; }
.gallery .gimg:hover img { transform: scale(1.04); }
.gallery .gcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 9px; font-size: .8125rem; color: var(--white); text-align: left; background: linear-gradient(180deg, transparent, rgba(0,0,0,.7)); }
.gallery li.big .gcap { font-size: .9375rem; padding: 30px 16px 12px; }
.content .gallery { margin-bottom: 12px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery li.big { grid-row: auto; } .gallery li.big img { aspect-ratio: 16 / 9; } }
dialog.photo { padding: 0; border: 0; width: min(1200px, 94vw); background: #000; }
dialog.photo::backdrop { background: rgba(0,0,0,.8); }
dialog.photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 82vh; object-fit: contain; background: #000; }

/* 제목이 들어 있는 프로그램 사진 */
.programs .poster { aspect-ratio: 16 / 9; }
.poster.photo-full { padding: 0; background: var(--navy-dark); }
.poster.photo-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
a.poster.photo-full:hover img { transform: scale(1.03); }
.prog-head .poster.photo-full { aspect-ratio: 16 / 9; min-height: 0; }
a.poster:hover strong { text-decoration: underline; text-underline-offset: 6px; }
.program-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.program-body .tag { align-self: flex-start; font-size: .8125rem; font-weight: 600; color: var(--navy); background: var(--soft); border: 1px solid var(--line); padding: 0 8px; }
.program-body h3 { font-size: 1.25rem; }
.program-body h3 a { text-decoration: none; }
.program-body h3 a:hover { text-decoration: underline; color: var(--navy); }
.program-body p { margin: 0; color: var(--ink-2); }
.program-meta { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .9375rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.prog-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.prog-head .poster { aspect-ratio: auto; min-height: 180px; }

/* 채널 소개 */
.about-grid { display: grid; grid-template-columns: 1fr 400px; gap: 36px; align-items: start; }
figure { margin: 0; }
figure img { border: 1px solid var(--line); }
figcaption { font-size: .8125rem; color: var(--ink-2); margin-top: 8px; }
.roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roles li { border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 18px 20px; }
.roles h4 { margin: 0 0 6px; font-size: 1.0625rem; }
.roles p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.ci { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: center; }
.ci-logo { border: 1px solid var(--line); padding: 28px 20px; display: flex; justify-content: center; }
.ci p { margin: 0; }
.greeting { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; background: var(--soft); border: 1px solid var(--line); padding: 28px; }
.greeting img { width: 220px; height: auto; border: 1px solid var(--line); background: var(--white); }
.greeting blockquote { margin: 0 0 16px; font-size: 1.25rem; font-weight: 700; color: var(--navy); line-height: 1.5; }
.greeting p { margin: 0 0 10px; max-width: 40em; }
.greeting .sign { margin-top: 16px; text-align: right; font-weight: 600; }
.greeting .sign strong { font-size: 1.125rem; margin-left: 6px; }
.greeting .sign { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.greeting .sign-n { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.greeting .sign img.sig { width: auto; height: 60px; border: 0; background: none; }
.map-frame { aspect-ratio: 16 / 7; margin-bottom: 12px; border: 1px solid var(--line); background: var(--soft); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-links { margin-bottom: 20px; }
.map-box { aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 20px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }

/* 문의 */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact { border: 1px solid var(--line); padding: 20px 22px; }
.contact h3 { font-size: 1.125rem; margin-bottom: 6px; }
.contact p { margin: 0 0 12px; color: var(--ink-2); font-size: .9375rem; }
.contact dl { margin: 0; font-size: .9375rem; display: grid; grid-template-columns: 4em 1fr; row-gap: 4px; }
.contact dt { font-weight: 600; }
.contact dd { margin: 0; }

/* 하위 페이지 */
.page-head { position: relative; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 26px; padding-bottom: 26px; }
.crumbs { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--ink-2); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head h1 { font-size: 1.875rem; font-weight: 800; }
.page-head.photo { background-color: var(--navy-dark); background-size: cover; background-position: center; border-bottom: 0; color: var(--white); }
.page-head.photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.page-head.photo .wrap { padding-top: 52px; padding-bottom: 50px; }
.page-head.photo h1 { color: var(--white); font-size: 2.125rem; }
.page-head.photo .crumbs, .page-head.photo .crumbs a { color: rgba(255,255,255,.82); }
.sub-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.lnb h2 { background: var(--navy); color: var(--white); font-size: 1.125rem; padding: 22px 20px; }
.lnb ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-top: 0; }
.lnb li + li a { border-top: 1px solid var(--line); }
.lnb a { display: block; padding: 13px 20px; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.lnb a:hover { color: var(--navy); }
.lnb a[aria-current="page"] { color: var(--navy); background: var(--soft); box-shadow: inset 4px 0 0 var(--navy); }
.content, .lnb { min-width: 0; }
.content h3 { font-size: 1.1875rem; font-weight: 700; margin: 36px 0 12px; padding-left: 12px; border-left: 4px solid var(--navy); line-height: 1.3; }
.content > h3:first-child { margin-top: 0; }
.content p { margin: 0 0 12px; max-width: 46em; }
.content .tabs + div h3, .content .greeting p { max-width: none; }
.tbd-line { margin-bottom: 16px !important; }

/* 공지 보기 */
.view-head { border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); padding: 18px 8px; }
.view-head h2 { font-size: 1.375rem; }
.view-meta { display: flex; gap: 18px; margin-top: 8px; font-size: .875rem; color: var(--ink-2); }
.view-body { padding: 28px 8px; border-bottom: 1px solid var(--line); min-height: 160px; }
.pager { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.pager li { display: flex; gap: 16px; padding: 12px 8px; }
.pager li + li { border-top: 1px solid var(--line); }
.pager .label { flex-shrink: 0; width: 5em; font-weight: 600; color: var(--ink-2); }
.pager a { text-decoration: none; }
.pager a:hover { text-decoration: underline; }
.view-actions { margin-top: 20px; display: flex; justify-content: flex-end; }
.content-center { text-align: center; padding: 96px 20px; }
.content-center h1 { font-size: 1.75rem; margin-bottom: 10px; }
.content-center p { color: var(--ink-2); margin: 0 0 20px; }

/* 하단 */
.footer { background: #EEF1F4; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; }
.footer-links { border-bottom: 1px solid var(--line); }
.footer-links ul { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links .privacy { font-weight: 700; color: var(--navy); }
.footer-body { display: flex; gap: 32px; align-items: flex-start; padding: 28px 20px 36px; }
.footer-body img { height: 52px; width: auto; flex-shrink: 0; }
.footer-body address { font-style: normal; line-height: 1.8; }
.footer-body address span { margin-right: 14px; display: inline-block; }
.copy { margin: 8px 0 0; font-size: .8125rem; }

/* 화면 폭에 따라 */
@media (max-width: 1080px) {
  .gnb > ul > li > a { padding-left: 11px; padding-right: 11px; font-size: 1rem; }
  .about-grid { grid-template-columns: 1fr 320px; }
}
@media (max-width: 960px) {
  .header .wrap { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 14px; }
  .gnb { width: 100%; overflow-x: auto; }
  .gnb > ul > li > a { padding: 14px 12px; }
  .gnb .sub { display: none !important; }
  .visual .wrap, .about-grid, .notice-grid, .guide-grid, .about-short, .ci, .prog-head { grid-template-columns: 1fr; }
  .visual .wrap { gap: 28px; padding-top: 40px; padding-bottom: 44px; }
  .quick li:nth-child(4) { border-left: 0; }
  .quick ul { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .videos, .content .videos { grid-template-columns: repeat(2, 1fr); }
  .roles, .contacts { grid-template-columns: 1fr; }
  .sub-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 20px; }
  .lnb h2 { display: none; }
  .lnb ul { display: flex; overflow-x: auto; border: 0; border-bottom: 1px solid var(--line); }
  .lnb li + li a { border-top: 0; }
  .lnb a { white-space: nowrap; padding: 10px 14px; }
  .lnb a[aria-current="page"] { background: none; box-shadow: inset 0 -3px 0 var(--navy); }
}
@media (max-width: 640px) {
  .visual h1 { font-size: 2rem; }
  .poster strong { font-size: 1.75rem; }
  .logo span { display: none; }
  .quick ul { grid-template-columns: repeat(2, 1fr); }
  .quick li:nth-child(4) { border-left: 1px solid var(--line); }
  .quick li:nth-child(odd) { border-left: 0; }
  .programs { grid-template-columns: 1fr; }
  .greeting { grid-template-columns: 1fr; padding: 20px; }
  .greeting img { width: 160px; }
  .greeting .sign img.sig { height: 48px; }
  .footer-body { flex-direction: column; gap: 16px; }
  .sec-head { flex-wrap: wrap; }
  .tabs button { padding: 10px 14px; font-size: .9375rem; }
  .page-head h1 { font-size: 1.5rem; }
  .list-table th:nth-child(2), .list-table td:nth-child(2) { display: none; }
  .map-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 340px) {
  .videos, .content .videos { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .vthumb img, .quick .ic, .quick svg { transition: none; } .vcard:hover .vthumb img { transform: none; } }

/* 첫 화면: 프로그램 소개 (여러 프로그램이 차례로 바뀜) */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slide.on { opacity: 1; visibility: visible; }
.hero .wrap { padding-bottom: 44px; }
.hero-txt .hero-when { display: inline-block; margin: 0 0 12px 10px; padding: 2px 10px; font-size: .8125rem; font-weight: 700; color: var(--white); border: 1px solid rgba(255,255,255,.55); border-radius: 999px; vertical-align: 2px; }
.hero-txt h2 { font-size: 2.875rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; color: var(--white); }
.visual .hero-desc { margin-top: 16px; }
.visual .hero-hosts { margin-top: 12px; font-size: 1rem; font-weight: 600; color: #BFE3E3; }
.hero-photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-dark); box-shadow: 0 24px 48px rgba(0,0,0,.35); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-tabs { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.16); background: rgba(4,18,38,.35); }
.visual .hero-tabs .wrap { display: block; padding-top: 0; padding-bottom: 0; }
.hero-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; }
.hero-tabs li { flex: 1; }
.hero-tabs button { width: 100%; padding: 15px 10px 14px; font: inherit; font-size: .9375rem; font-weight: 700; color: rgba(255,255,255,.66); background: none; border: 0; border-top: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.hero-tabs button:hover { color: var(--white); }
.hero-tabs button[aria-current="true"] { color: var(--white); border-top-color: #D9A548; }
@media (max-width: 960px) {
  .hero .hero-photo { order: -1; }
  .hero-txt h2 { font-size: 2rem; }
  .hero-tabs ul { overflow-x: auto; }
  .hero-tabs li { flex: none; }
  .hero-tabs button { padding: 13px 16px 12px; }
}
/* 주간 프로그램: 사진 없는 프로그램은 글 목록 */
.wlist { list-style: none; margin: 22px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.wlist li { display: grid; grid-template-columns: 15em 11em 1fr; gap: 4px 20px; align-items: baseline; padding: 15px 6px; border-bottom: 1px solid var(--line); }
.wlist h4 { margin: 0; font-size: 1.0625rem; }
.wlist .w-hosts { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--teal); }
.wlist .w-desc { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .wlist li { grid-template-columns: 1fr; gap: 2px; } }
/* 시청 방법: 플랫폼 · 채널 번호 · 통일TV 로고 */
.chcards { display: grid; gap: 16px; }
.chcard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 40px 44px; background: linear-gradient(160deg, #FFFFFF 0%, #EEF3FA 100%); border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.cc-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cc-type { font-size: .875rem; font-weight: 700; letter-spacing: .16em; color: var(--ink-2); }
.cc-logos { display: flex; align-items: center; gap: 12px; }
.cc-kt { width: 52px; height: auto; }
.cc-genie { width: 190px; height: auto; }
.cc-name { font-size: 1.5rem; }
.cc-num { display: flex; flex-direction: column; align-items: center; padding: 0 48px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.cc-num span { font-size: 1rem; font-weight: 700; letter-spacing: .24em; color: var(--ink-2); }
.cc-num strong { font-size: 6.5rem; line-height: 1; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(120deg, #0E386E 0%, #237A7F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cc-ch { display: flex; justify-content: center; }
.cc-ch img { width: 230px; height: auto; }
@media (max-width: 760px) {
  .chcard { grid-template-columns: 1fr; gap: 22px; padding: 30px 20px; }
  .cc-num { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
  .cc-num strong { font-size: 5rem; }
}
/* 하단 패밀리 사이트 */
.footer-links .family { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.footer-links .family span { font-size: .875rem; color: var(--ink-2); }
.footer-links .family a { font-weight: 600; }
.footer-links .family a::after { content: " ↗"; }

/* ===== 2026-11-30 EO인터내셔널 홈페이지와 맞춘 글꼴·글자 크기·구성 ===== */
:root { --r: 14px; --shadow: 0 10px 30px rgba(15,27,45,.08);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif; }
html { font-size: 117%; }  /* 기본 글자 약 18.7px: EO인터내셔널 국문판과 같은 크기 */
body { line-height: 1.75; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
/* 머리글 */
.header { border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(15,27,45,.04); }
.header .wrap { min-height: 88px; }
.logo img { height: 42px; }
.logo span { font-size: .75rem; }
.gnb > ul > li > a { padding: 30px 18px; font-size: .92rem; font-weight: 600; }
.gnb .sub a { font-size: .85rem; }
/* 버튼: 둥근 알약 모양 */
.btn { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; border-width: 1.5px; font-size: .82rem; }
.btn-solid, .btn-ghost { display: inline-flex; align-items: center; height: 54px; padding: 0 30px; border-radius: 999px; font-size: .9rem; }
.btn-ghost { border-width: 1.5px; }
.visual-btns { gap: 12px; margin-top: 34px; }
/* 첫 화면 */
.hero .hero-slide .wrap { padding-top: 76px; padding-bottom: 72px; gap: 56px; }
.visual .eyebrow { font-size: .8rem; letter-spacing: .06em; }
.hero-txt h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); line-height: 1.2; }
.visual .hero-desc { font-size: 1.02rem; color: rgba(255,255,255,.86); }
.visual .hero-hosts { font-size: .9rem; }
.hero-txt .hero-when { font-size: .72rem; padding: 3px 12px; }
.hero-photo { border-radius: var(--r); }
.hero-tabs button { font-size: .85rem; padding: 18px 10px 17px; }
/* 바로가기 */
.quick ul { padding: 34px 0; }
.quick a { font-size: .9rem; gap: 12px; }
.quick .ic { width: 66px; height: 66px; }
/* 구역: 넓은 여백, 영어 머리말, 바탕색 번갈아 */
.home section { padding: 104px 0; border-bottom: 0; }
.home section.band-soft { background: var(--soft); }
.sec-head { margin-bottom: 44px; align-items: flex-end; }
.sec-head h2 { padding-top: 0; font-size: clamp(1.65rem, 3.1vw, 2.25rem); font-weight: 700; line-height: 1.3; }
.sec-head h2[data-k]::before { content: attr(data-k); position: static; display: block; width: auto; height: auto; background: none; margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; line-height: 1.2; color: var(--teal); }
.band-dark .sec-head h2[data-k]::before { color: #8FD0D0; }
.sec-head.small h2 { font-size: 1.5rem; }
.sec-head.small h2[data-k]::before { margin-bottom: 8px; }
.more-link { font-size: .85rem; }
.weekly-title { margin: 56px 0 18px; font-size: 1.25rem; }
/* 카드: 둥근 모서리와 은은한 그림자 */
.program { border: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.program-body { padding: 24px 26px 26px; gap: 12px; }
.program-body p { font-size: .95rem; }
.program-meta { font-size: .88rem; }
.prog-head .poster { border-radius: var(--r); }
.weekly li { border: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.wbody { padding: 16px 20px 20px; }
.weekly .w-hosts { font-size: .88rem; }
.weekly .wbody p + p { font-size: .92rem; }
.wthumb .wname { font-size: 1.15rem; }
.weekly.compact .wname { font-size: 1rem; }
.wlist { margin-top: 28px; }
.wlist li { padding: 18px 6px; }
.wlist h4 { font-size: 1rem; }
.wlist .w-hosts { font-size: .88rem; }
.wlist .w-desc { font-size: .92rem; }
.gallery { gap: 14px; }
.gallery .gimg { border-radius: 10px; }
.gallery .gcap { font-size: .75rem; }
.gallery li.big .gcap { font-size: .85rem; }
.vthumb { border: 0; border-radius: 10px; }
.chcard { border: 0; border-radius: var(--r); box-shadow: var(--shadow); padding: 48px 52px; }
.band-soft .chcard { background: linear-gradient(160deg, #FFFFFF 0%, #F7F9FC 100%); }
.cc-type { font-size: .75rem; }
.cc-num span { font-size: .85rem; }
.roles li { border: 0; border-radius: var(--r); background: var(--soft); border-top: 3px solid var(--teal); padding: 26px 24px; }
.home .roles li { background: var(--white); box-shadow: var(--shadow); }
.roles h4 { font-size: 1.02rem; margin-bottom: 8px; }
.roles p { font-size: .88rem; }
.board li { padding: 16px 4px; }
.empty-box { border-radius: var(--r); border: 0; background: var(--white); box-shadow: var(--shadow); padding: 40px; }
.side-box { border: 0; border-radius: var(--r); padding: 32px 32px; box-shadow: var(--shadow); }
.side-box h3 { font-size: 1.15rem; }
.side-box p { font-size: .9rem; }
.greeting { border-radius: var(--r); border: 0; padding: 40px; gap: 44px; grid-template-columns: 260px 1fr; }
.greeting img { width: 260px; border-radius: var(--r); border: 0; box-shadow: var(--shadow); }
.greeting .sign img.sig { width: auto; box-shadow: none; border-radius: 0; }
.greeting blockquote { font-size: 1.35rem; }
/* 하위 페이지 */
.page-head.photo .wrap { padding-top: 64px; padding-bottom: 60px; }
.page-head.photo h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.lnb { font-size: .92rem; }
.content h3 { font-size: 1.2rem; }
@media (max-width: 960px) {
  .home section { padding: 72px 0; }
  .hero .hero-slide .wrap { padding-top: 32px; padding-bottom: 40px; gap: 26px; }
  .greeting { grid-template-columns: 1fr; padding: 26px; }
  .greeting img { width: 180px; }
  .chcard { padding: 32px 22px; }
}
@media (max-width: 640px) {
  html { font-size: 106.25%; }  /* 휴대폰은 약 17px */
  .home section { padding: 60px 0; }
  .gnb > ul > li > a { padding: 14px 10px; }
}

/* 머리글 로고: 로고 + 로고 V자 색 세로선 + 「아름다운 평화 / 통일TV」 */
.logo { gap: 18px; }
.logo img { height: 46px; }
.logo span.logo-txt { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding-left: 18px; border-left: 0; color: inherit; font-size: inherit; line-height: 1.1; }
.logo .logo-txt::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 38px; transform: translateY(-50%); border-radius: 2px; background: linear-gradient(180deg, #9B2938 0%, #D17A45 55%, #D9A548 100%); }
.logo .logo-txt small { font-size: .6rem; font-weight: 700; letter-spacing: .22em; color: var(--teal); }
.logo .logo-txt strong { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
.logo:hover .logo-txt strong { color: var(--navy-dark); }
@media (max-width: 640px) {
  .logo span.logo-txt { display: flex; padding-left: 14px; }
  .logo { gap: 14px; }
  .logo img { height: 38px; }
  .logo .logo-txt::before { height: 32px; }
  .logo .logo-txt strong { font-size: 1.05rem; }
}

/* 하는 일: 위에 그림을 얹은 카드 (그림은 EO인터내셔널 홈페이지와 같은 AI 이미지) */
.roles li, .home .roles li { padding: 0; border-top: 0; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.role-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-dark); }
.role-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.roles li:hover .role-img img { transform: scale(1.04); }
.role-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.role-img .ai { position: absolute; right: 10px; bottom: 12px; z-index: 1; padding: 2px 9px; border-radius: 999px; font-size: .6rem; letter-spacing: .02em; color: var(--white); background: rgba(8,20,38,.62); }
.roles h4 { padding: 20px 22px 0; }
.roles p { padding: 0 22px 24px; }

/* 「북녘의 하루」 코너 소개 */
.corner { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 28px; align-items: center; margin-bottom: 8px; }
.corner img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow); }
.corner p { margin: 0 0 8px; }
.content .corner .corner-host { font-weight: 600; color: var(--teal); font-size: .92rem; }
@media (max-width: 640px) { .corner { grid-template-columns: 1fr; gap: 14px; } }

/* 공지 본문 사진 (2026-12-01) */
.view-body .nfig { margin: 32px 0; }
.view-body .nfig img { display: block; width: 100%; height: auto; border-radius: 10px; }
.view-body .nfig figcaption { margin-top: 10px; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.view-body p { margin: 0 0 1.1em; }
.view-body ul.dash { margin: 0 0 1.4em; }

/* 주간 프로그램 사진 카드 슬라이드 (카드가 3개를 넘을 때, 2026-12-01) */
.ws-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ws-head h3 { margin-bottom: 18px; }
.ws-nav { display: flex; gap: 8px; margin-bottom: 14px; flex: none; }
.ws-nav button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); font: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ws-nav button span { margin-top: -3px; }
.ws-nav button:hover:not(:disabled), .ws-nav button:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ws-nav button:disabled { opacity: .35; cursor: default; }
.wslider.ws-static .ws-nav { visibility: hidden; }
ul.weekly.ws-track { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 4px 22px; margin: -6px -4px 0; }
ul.weekly.ws-track::-webkit-scrollbar { display: none; }
ul.weekly.ws-track > li { scroll-snap-align: start; min-width: 0; }
ul.weekly.ws-track:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 960px) { ul.weekly.ws-track { grid-template-columns: none; grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { ul.weekly.ws-track { grid-template-columns: none; grid-auto-columns: 84%; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { ul.weekly.ws-track { scroll-behavior: auto; } }
/* 카드 4장이 한 줄에 들어갈 때 제목·본문 여백을 조금 줄임 (2026-12-01) */
@media (min-width: 961px) { ul.weekly.ws-track .wthumb .wname { font-size: 1rem; padding: 24px 14px 10px; } ul.weekly.ws-track .wbody { padding: 14px 16px 18px; } }

/* 첫 화면 프로그램 이름 줄: 휴대폰·태블릿에서 옆으로 더 있다는 표시 (2026-12-01) */
@media (max-width: 960px) {
  .visual .hero-tabs .wrap { position: relative; padding-left: 0; padding-right: 0; }
  .hero-tabs ul { position: relative; padding: 0 12px; scrollbar-width: none; scroll-behavior: smooth; }
  .hero-tabs ul::-webkit-scrollbar { display: none; }
  .hero-tabs li:last-child { padding-right: 44px; }
  .hero-tabs button { padding: 15px 14px 14px; }
  .hero-tabs .wrap::before, .hero-tabs .wrap::after { position: absolute; top: 0; bottom: 4px; z-index: 2; width: 64px; pointer-events: none; opacity: 0; transition: opacity .2s; }
  .hero-tabs .wrap::before { content: ""; left: 0; background: linear-gradient(90deg, #0A2142 20%, rgba(10,33,66,0)); }
  .hero-tabs .wrap::after { content: "›"; right: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 14px; font-size: 1.75rem; font-weight: 400; line-height: 1; color: var(--white); background: linear-gradient(270deg, #0A2142 45%, rgba(10,33,66,0)); }
  .hero-tabs.more-left .wrap::before, .hero-tabs.more-right .wrap::after { opacity: 1; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { .hero-tabs ul { scroll-behavior: auto; } }
