/* 햇살 낮잠 — 정책·지원 사이트. 색은 자매작 design-system/meow-puzzle-house/MASTER.md 2장. */
:root {
  --floor: #C98F55;
  --tray-1: #B7773F;
  --tray-2: #8E5628;
  --tray-inner: #E9C99A;
  --cream: #FFF4E2;
  --cream-edge: #D9B98A;
  --fg: #4A2E1C;
  --fg-muted: #7A5438;
  --yellow: #F7C03C;
  --yellow-edge: #C98E14;
  --green: #5CC46B;
  --green-edge: #3A8C47;
  --radius: 18px;
  --font: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Apple SD Gothic Neo", "PingFang TC", "PingFang SC", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: light;
}
/* 중국어는 히라기노(일본 자형) 대신 핑팡 */
:root:lang(zh-Hant) { --font: ui-rounded, "SF Pro Rounded", "PingFang TC", system-ui, -apple-system, "Noto Sans TC", sans-serif; }
:root:lang(zh-Hans) { --font: ui-rounded, "SF Pro Rounded", "PingFang SC", system-ui, -apple-system, "Noto Sans SC", sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--floor);
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 2px, transparent 2px 96px),
    linear-gradient(180deg, #D29A60, var(--floor) 40%);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
:lang(ko) body, body:lang(ko) { word-break: keep-all; }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; }
header.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 800; font-size: 20px; text-shadow: 0 2px 0 rgba(74,46,28,.35); }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 3px 0 var(--tray-2); }
nav.pages { display: flex; gap: 6px; flex-wrap: wrap; }
nav.pages a, .lang-select {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: var(--cream); color: var(--fg); text-decoration: none; font-weight: 700; font-size: 15px;
  border: 2px solid var(--cream-edge); box-shadow: 0 3px 0 var(--tray-2);
}
nav.pages a[aria-current="page"] { background: var(--yellow); border-color: var(--yellow-edge); }
.card {
  background: var(--cream);
  border: 3px solid var(--cream-edge);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--tray-2), inset 0 2px 0 rgba(255,255,255,.6);
  padding: 22px 20px 26px;
}
h1 { font-size: 28px; line-height: 1.3; margin: 0 0 6px; }
h2 { font-size: 21px; line-height: 1.35; margin: 30px 0 8px; padding-top: 14px; border-top: 2px dashed var(--cream-edge); }
h3 { font-size: 18px; margin: 20px 0 6px; }
p, ul, ol, table { margin: 0 0 12px; }
ul, ol { padding-left: 1.3em; }
li { margin: 4px 0; }
a { color: #2A66A8; }
.meta { color: var(--fg-muted); font-size: 15px; margin-bottom: 14px; }
.summary { background: #FFF9EE; border: 2px solid var(--tray-inner); border-radius: 14px; padding: 12px 16px; }
.pending {
  display: inline-block; background: #FFE9B8; border: 2px dashed var(--yellow-edge);
  border-radius: 10px; padding: 1px 8px; font-weight: 700; color: var(--fg);
}
.note { font-size: 15px; color: var(--fg-muted); background: #F6E6CC; border-radius: 12px; padding: 10px 14px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { border: 1.5px solid var(--cream-edge); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--tray-inner); }
details { border: 2px solid var(--cream-edge); border-radius: 14px; padding: 10px 14px; margin: 10px 0; background: #FFF9EE; }
details summary { cursor: pointer; font-weight: 800; }
details[open] summary { margin-bottom: 6px; }
footer.bottom { margin-top: 22px; color: var(--cream); font-size: 14px; text-shadow: 0 1px 0 rgba(74,46,28,.4); }
footer.bottom a { color: var(--cream); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.langs a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--cream); border: 2px solid var(--cream-edge); color: var(--fg); text-decoration: none; font-weight: 700; box-shadow: 0 3px 0 var(--tray-2); }
.lang-select { appearance: none; -webkit-appearance: none; font-family: inherit; padding-right: 14px; }
@media (max-width: 420px) {
  body { font-size: 16px; }
  h1 { font-size: 24px; }
  .card { padding: 18px 15px 22px; }
}
/* 보도자료(press) 페이지 */
.hero-art { display: block; width: 100%; height: auto; border-radius: 14px; border: 2px solid var(--cream-edge); margin: 6px 0 14px; }
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 12px; }
.shots a { display: block; }
.shots img { display: block; width: 100%; height: auto; border-radius: 10px; border: 2px solid var(--cream-edge); }
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 12px; }
.clips figure { margin: 0; }
.clips video { display: block; width: 100%; height: auto; border-radius: 12px; border: 2px solid var(--cream-edge); background: var(--tray-inner); }
.clips figcaption { font-size: 14px; color: var(--fg-muted); margin-top: 4px; }
.facts th { white-space: nowrap; width: 1%; }
.btn { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--yellow-edge); color: var(--fg); text-decoration: none; font-weight: 800; box-shadow: 0 3px 0 var(--tray-2); }
@media (max-width: 560px) {
  .shots { grid-template-columns: repeat(3, 1fr); }
  .clips { grid-template-columns: 1fr 1fr; }
}
