/* 영종인포 — 지역 생활 매거진 스타일
   모바일 우선, 720px / 1024px 에서 넓은 화면으로 전환 */

:root {
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --ink: #17211d;
  --ink-soft: #33413b;
  --muted: #5f6d67;
  --line: #e3ddcf;
  --line-strong: #cfc7b5;
  --accent: #0f5b4e;
  --accent-deep: #0b463c;
  --accent-soft: #e8f1ed;
  --warm: #b5683f;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(23, 33, 29, 0.07);
  --serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --sans: "Noto Sans KR", "Pretendard", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--warm);
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid rgba(15, 91, 78, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent-deep);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---------- 머리말 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

/* ---------- 언어 전환 (KR / EN) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  flex-shrink: 0;
}

.lang-switch a {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
}

.lang-switch a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.lang-switch a[aria-current="true"] {
  background: var(--accent);
  color: #f7f4ea;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #f6f2e6;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.nav a[aria-current="page"] {
  background: var(--accent);
  color: #f7f4ea;
}

/* ---------- 히어로 ---------- */
.hero {
  display: grid;
  gap: 20px;
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--line);
}

.hero-copy h1 {
  margin: 10px 0 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.15rem);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
  box-shadow: inset 0 -0.28em 0 rgba(15, 91, 78, 0.14);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 46ch;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #f8f5ec;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.button:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

.button-ghost {
  background: transparent;
  color: var(--accent-deep);
}

.button-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.hero-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(181, 104, 63, 0.35), transparent 50%),
    linear-gradient(145deg, #12372f 0%, #0f5b4e 58%, #1a7563 100%);
  color: #f6f2e5;
  text-decoration: none;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-feature::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.hero-feature:hover {
  color: #fff;
}

.hero-feature-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.hero-feature-cats .chip {
  background: rgba(255, 255, 255, 0.14);
  color: #f3efe2;
}

.hero-feature strong {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.hero-feature-meta {
  margin-top: auto;
  font-size: 13px;
  opacity: 0.82;
}

/* ---------- 공통 레이아웃 ---------- */
.layout {
  display: grid;
  gap: 32px;
  padding: 36px 0 64px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title,
.side-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-count {
  color: var(--muted);
  font-size: 13px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.filter span {
  color: var(--muted);
  font-size: 12px;
}

.filter:hover,
.filter.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.card-list {
  display: grid;
  gap: 16px;
}

.card {
  position: relative;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.chip-life {
  background: #e6f0ec;
  color: #0f5b4e;
}

.chip-benefits {
  background: #f9eddd;
  color: #8d5312;
}

.chip-culture {
  background: #f1ebf7;
  color: #62428a;
}

.chip-traffic {
  background: #e8eff7;
  color: #2a5a85;
}

.chip:hover {
  filter: brightness(0.96);
}

.card-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.card-title a {
  color: var(--ink);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent-deep);
}

.card-summary {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12.5px;
}

.empty {
  padding: 40px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* ---------- 사이드 ---------- */
.side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.side-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.side-title {
  font-size: 17px;
  margin-bottom: 12px;
}

.side-recent,
.side-cats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.side-recent li {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.side-recent li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.side-recent a {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
}

.side-recent a:hover {
  color: var(--accent-deep);
}

.side-recent time {
  color: var(--muted);
  font-size: 12px;
}

.side-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.side-cats li:last-child a {
  border-bottom: 0;
}

.side-cats span {
  color: var(--muted);
  font-size: 12.5px;
}

.side-cats .is-active a {
  color: var(--accent-deep);
  font-weight: 700;
}

.side-about p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.text-link {
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- 페이지 머리 ---------- */
.page-wrap {
  max-width: 880px;
  padding: 44px 0 72px;
}

.page-head {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.page-head h1 {
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.page-head p {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-soft);
}

.page-head-meta {
  margin-top: 12px !important;
  color: var(--muted) !important;
  font-size: 13px;
}

/* ---------- 글 ---------- */
.breadcrumb {
  display: flex;
  max-width: 780px;
  margin-inline: auto;
  align-items: center;
  gap: 8px;
  padding: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-deep);
}

.post {
  max-width: 780px;
  margin-inline: auto;
  padding: 18px 0 72px;
}

.post-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.post-head h1 {
  margin: 8px 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.post-summary {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
}

.post-meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--line-strong);
}

.toc {
  margin: 28px 0 8px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.toc-title {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.toc a {
  color: var(--ink-soft);
  font-size: 14.5px;
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.toc .toc-sub {
  padding-left: 14px;
}

.toc .toc-sub a {
  color: var(--muted);
  font-size: 13.5px;
}

.post-body {
  padding-top: 12px;
  font-size: 17px;
  line-height: 1.9;
}

.post-body p {
  margin: 0 0 22px;
}

.post-body h2 {
  margin: 52px 0 18px;
  padding-left: 15px;
  border-left: 4px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.post-body h3 {
  margin: 34px 0 12px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.post-body h4 {
  margin: 26px 0 10px;
  font-size: 1rem;
}

.post-body ul,
.post-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body li::marker {
  color: var(--accent);
}

.post-body strong {
  font-weight: 700;
  color: var(--ink);
}

.post-body em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(181, 104, 63, 0.22) 62%);
}

.post-body a {
  color: var(--accent-deep);
}

.post-body .post-figure {
  margin: 0 0 26px;
}

.post-body .post-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.post-body .post-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
}

.post-body hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.post-body blockquote {
  margin: 0 0 22px;
  padding: 14px 20px;
  border-left: 3px solid var(--line-strong);
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.7);
}

.post-body blockquote p {
  margin: 0;
}

.post-body code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #efeade;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

.table-wrap {
  margin: 0 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.65;
}

th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: #f0ece1;
  color: var(--accent-deep);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) {
  background: #faf8f2;
}

.callout {
  margin: 0 0 26px;
  padding: 20px 22px;
  border: 1px solid #cfe0d8;
  border-left: 4px solid var(--accent);
  border-radius: 4px 14px 14px 4px;
  background: var(--accent-soft);
  font-size: 15.5px;
  line-height: 1.8;
}

.callout p {
  margin: 0 0 10px;
}

.callout p:last-child,
.callout ul:last-child,
.callout ol:last-child {
  margin-bottom: 0;
}

.callout ul,
.callout ol {
  margin: 0 0 10px;
  padding-left: 20px;
}

.callout-title {
  margin: 0 0 8px !important;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.callout-warn {
  border-color: #ecd7c2;
  border-left-color: var(--warm);
  background: #fbf1e7;
}

.callout-warn .callout-title {
  color: #8d5312;
}

.post-foot {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.post-foot-note {
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #efece3;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  color: var(--muted);
  font-size: 13px;
}

.related {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.related ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.related li {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.related li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.related a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.related a:hover {
  color: var(--accent-deep);
}

.related span {
  color: var(--muted);
  font-size: 12px;
}

.prev-next {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.prev-next a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}

.prev-next a:hover {
  border-color: var(--line-strong);
  color: var(--accent-deep);
}

.prev-next span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pn-next {
  text-align: right;
}

/* ---------- 소개·정책 문서 ---------- */
.prose {
  max-width: 780px;
  font-size: 16.5px;
  line-height: 1.9;
}

.prose h2 {
  margin: 42px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.5;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  color: var(--accent-deep);
}

.prose p {
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose .callout {
  font-size: 15px;
}

.contact-grid {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.contact-card {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
}

.contact-card strong {
  color: var(--ink);
  font-size: 15px;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.contact-note {
  padding: 14px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 바닥글 ---------- */
.site-footer {
  margin-top: 20px;
  padding: 44px 0 30px;
  background: #12241f;
  color: #cfdcd5;
}

.footer-inner {
  display: grid;
  gap: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-name {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #f3f0e5;
}

.footer-name span {
  margin-left: 6px;
  color: #8ea79d;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-desc {
  max-width: 52ch;
  margin: 0;
  color: #a9bdb4;
  font-size: 14px;
  line-height: 1.75;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-nav a {
  color: #cfdcd5;
  font-size: 13.5px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  padding-top: 20px;
  color: #8ea79d;
  font-size: 12px;
  line-height: 1.8;
}

.footer-legal p {
  margin: 0 0 6px;
}

/* ---------- 영문판 타이포그래피 ---------- */
body.lang-en {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
  word-break: normal;
  overflow-wrap: break-word;
}

body.lang-en .brand-text strong,
body.lang-en .hero-copy h1,
body.lang-en .hero-feature strong,
body.lang-en .section-title,
body.lang-en .side-title,
body.lang-en .card-title,
body.lang-en .post-head h1,
body.lang-en .page-head h1,
body.lang-en .post-body h2,
body.lang-en .prose h2,
body.lang-en .footer-name {
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  letter-spacing: -0.015em;
}

body.lang-en .hero-copy h1 {
  line-height: 1.16;
}

body.lang-en .post-body,
body.lang-en .prose {
  line-height: 1.85;
}

body.lang-en .post-body h2,
body.lang-en .prose h2 {
  line-height: 1.35;
}

body.lang-en .post-meta span + span::before {
  margin-right: 14px;
}

/* ---------- 오늘의 영종 · 검색 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.today-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 18px 0 0;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  font-size: 13.5px;
}

.today-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.today-eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.today-date strong {
  font-size: 14.5px;
}

.today-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.today-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 600;
}

.today-chip.is-count {
  background: #f9eddd;
  color: #8d5312;
}

.today-link {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.search-box {
  display: flex;
  gap: 8px;
  max-width: 540px;
  margin: 22px 0 0;
}

.search-box input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
}

.search-box input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 91, 78, 0.14);
}

.search-box button {
  flex-shrink: 0;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #f8f5ec;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}

.search-box button:hover {
  background: var(--accent-deep);
}

.search-box-lg input,
.search-box-lg button {
  padding: 14px 20px;
  font-size: 16px;
}

.search-hint {
  color: var(--muted);
  font-size: 13.5px;
}

.search-results {
  list-style: none;
  max-width: 780px;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.search-results li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.search-results a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.search-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.search-results p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 카드 썸네일 ---------- */
.card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.card-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--accent-soft);
}

.card-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-dday {
  margin: 0 0 12px;
}

/* ---------- 마감 D-데이 ---------- */
.dday {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.dday-num {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11.5px;
  font-weight: 800;
}

.dday.is-urgent .dday-num {
  background: #fbe6d8;
  color: #8d3f14;
}

.dday.is-closed .dday-num {
  background: #ecebe6;
  color: #6b6b63;
}

/* ---------- 3줄 요약 · 사실 카드 ---------- */
.fact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  overflow: hidden;
}

.fact-card > div {
  padding: 12px 16px;
  background: var(--surface);
}

.fact-card dt {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fact-card dd {
  margin: 3px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}

.fact-card .fact-period {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.fact-card .fact-period dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 3px 0 0;
}

.fact-dates {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.key-summary {
  margin: 22px 0 0;
  padding: 20px 22px;
  border: 1px solid #cfe0d8;
  border-radius: 14px;
  background: linear-gradient(180deg, #f3f8f5, #eaf2ee);
}

.key-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.key-summary-title {
  margin: 0;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.key-summary ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.key-summary li::marker {
  color: var(--accent);
}

.copy-btn {
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* ---------- FAQ ---------- */
.faq {
  margin: 12px 0 0;
}

.faq-item {
  margin-bottom: 10px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.faq-item summary {
  position: relative;
  padding: 14px 30px 14px 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--accent);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- 카테고리 허브 ---------- */
.hub-picks {
  max-width: 900px;
  margin: 24px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.hub-picks ol {
  display: grid;
  gap: 14px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.hub-picks a {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
}

.hub-picks a:hover {
  color: var(--accent-deep);
}

.hub-picks span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ---------- 마감 페이지 ---------- */
.deadline-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.deadline-item {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.deadline-when {
  display: grid;
  gap: 4px;
  align-content: start;
}

.deadline-dates {
  color: var(--muted);
  font-size: 12.5px;
}

.deadline-body h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
}

.deadline-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.deadline-body h3 a:hover {
  color: var(--accent-deep);
}

.deadline-body p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.deadline-meta {
  color: var(--muted);
  font-size: 12.5px;
}

.deadline-note {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- 넓은 화면 ---------- */
@media (max-width: 480px) {
  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .header-inner {
    gap: 10px;
  }

  .nav a {
    padding: 7px 9px;
    font-size: 13.5px;
  }

  .lang-switch a {
    padding: 4px 7px;
  }

  .card {
    padding: 20px;
  }

  .today-strip {
    border-radius: 16px;
    padding: 12px 14px;
  }

  .today-chips {
    margin-left: 0;
  }

  .post-head h1 {
    font-size: 1.65rem;
  }

  .toc {
    padding: 18px;
  }
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: stretch;
    padding: 56px 0 60px;
    gap: 34px;
  }

  .hero-feature {
    padding: 30px;
  }

  .card-list {
    grid-template-columns: 1fr;
  }

  .card {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 20px 24px;
  }

  .fact-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .deadline-item {
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: start;
  }

  .prev-next {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
    padding: 48px 0 80px;
  }

  .side {
    position: sticky;
    top: 96px;
  }

  .post-body {
    font-size: 17.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .side,
  .related,
  .prev-next,
  .hero-actions,
  .filters {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .post {
    max-width: none;
  }

  .post-body a {
    color: #000;
    text-decoration: underline;
  }
}
