:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef2f6;
  --text: #1e242c;
  --muted: #667085;
  --line: #d7dde5;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --warning: #8a5a00;
  --font-stack: Arial, "Noto Sans KR", sans-serif;
  --header-overlay: rgba(255, 255, 255, 0.95);
  --surface-elevated: #ffffff;
  --radius: 8px;
  --shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

body.theme-default {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #eef2f6;
  --text: #1e242c;
  --muted: #667085;
  --line: #d7dde5;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --warning: #8a5a00;
  --font-stack: Arial, "Noto Sans KR", sans-serif;
  --header-overlay: rgba(255, 255, 255, 0.95);
  --surface-elevated: #ffffff;
  --radius: 8px;
  --shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

body.theme-leisure {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --surface-soft: #e9f3f0;
  --text: #172a29;
  --muted: #526763;
  --line: #cadbd7;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --warning: #a15c12;
  --font-stack: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --header-overlay: rgba(247, 252, 250, 0.96);
  --surface-elevated: #fbfefd;
  --shadow: 0 18px 34px rgba(15, 118, 110, 0.09);
}

body.theme-civic {
  --bg: #f0f4fb;
  --surface: #ffffff;
  --surface-soft: #edf2ff;
  --text: #10213b;
  --muted: #4c5b70;
  --line: #d1dbf0;
  --accent: #2c5de6;
  --accent-dark: #143fbb;
  --warning: #5b2c83;
  --font-stack: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --header-overlay: rgba(238, 243, 255, 0.96);
  --surface-elevated: #f8fbff;
}

body.theme-wellness {
  --bg: #f6fbf8;
  --surface: #ffffff;
  --surface-soft: #e8f5ef;
  --text: #112d20;
  --muted: #426a55;
  --line: #cee3d8;
  --accent: #138b62;
  --accent-dark: #0b6f4d;
  --warning: #8a5a00;
  --font-stack: "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --header-overlay: rgba(244, 252, 247, 0.95);
  --surface-elevated: #f8fcfa;
}

body.theme-finance {
  --bg: #fffaf3;
  --surface: #fffdf7;
  --surface-soft: #f1ead8;
  --text: #30230f;
  --muted: #6b5a40;
  --line: #ddceb3;
  --accent: #c47f17;
  --accent-dark: #9f6410;
  --warning: #a93f3f;
  --font-stack: "Noto Sans KR", "Arial", sans-serif;
  --header-overlay: rgba(255, 250, 243, 0.96);
  --surface-elevated: #fffcf4;
}

body.theme-career {
  --bg: #f4f7ff;
  --surface: #ffffff;
  --surface-soft: #e9eeff;
  --text: #131a2f;
  --muted: #424f6f;
  --line: #ccd5ee;
  --accent: #1d4ed8;
  --accent-dark: #1e40af;
  --warning: #9333ea;
  --font-stack: "Malgun Gothic", "Noto Sans KR", sans-serif;
  --header-overlay: rgba(241, 245, 255, 0.95);
  --surface-elevated: #f8faff;
}

body.theme-digital {
  --bg: #f6f2ff;
  --surface: #ffffff;
  --surface-soft: #ece8fb;
  --text: #2b1845;
  --muted: #5d4b79;
  --line: #d6cdef;
  --accent: #7c3aed;
  --accent-dark: #5b21b6;
  --warning: #ef4444;
  --font-stack: "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --header-overlay: rgba(248, 243, 255, 0.96);
  --surface-elevated: #f9f7ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-stack);
  line-height: 1.65;
}

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

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--header-overlay);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo,
.site-list-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 20px;
}

.brand-tagline {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: rgba(15, 23, 42, 0.05);
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.main-nav-button:hover {
  background: rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.main-nav a:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.site-search {
  display: flex;
  align-items: center;
  min-width: 210px;
  max-width: 280px;
  flex: 0 1 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.site-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 9px 10px;
}

.site-search input:focus {
  outline: 0;
}

.site-search button,
.search-panel button {
  border: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.site-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  align-self: stretch;
  padding: 0;
  flex: 0 0 44px;
}

.site-search button:hover,
.search-panel button:hover {
  background: var(--accent-dark);
}

.site-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 32px 0 48px;
}

.content-column {
  min-width: 0;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  position: sticky;
  top: 92px;
}

.hero,
.page-heading,
.article {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero,
.page-heading {
  padding: 34px;
  margin-bottom: 22px;
}

.hero h1,
.page-heading h1,
.article-header h1 {
  margin: 8px 0 12px;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 38px;
}

.hero p,
.page-heading p,
.summary {
  margin: 0;
  color: var(--muted);
}

.list-meta {
  margin-top: 10px !important;
  font-size: 14px;
  font-weight: 800;
}

.search-panel {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 18px;
}

.search-panel input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 11px 13px;
}

.search-panel input:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.search-panel button {
  min-width: 92px;
  border-radius: 7px;
  padding: 0 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-stats span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--muted);
  font-size: 13px;
}

.hero-stats {
  margin-top: 0;
}

.home-topline {
  display: grid;
  gap: 12px;
  margin: 0 0 16px 0;
}

body.theme-civic .featured-style-civic {
  border-color: #b8ccff;
  background: linear-gradient(120deg, #f8fbff, #e9f2ff);
}

body.theme-leisure .featured-style-leisure {
  border-color: #b6d8d1;
  background: linear-gradient(135deg, #ffffff, #eef8f5);
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.1);
}

body.theme-leisure .category-style-leisure a {
  border-bottom: 3px solid color-mix(in srgb, var(--accent) 45%, var(--line));
}

body.theme-leisure .post-style-leisure .post-card {
  border-radius: 12px;
}

body.theme-civic .category-style-civic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-civic .category-style-civic a {
  border-radius: 14px;
  background: #ffffff;
}

body.theme-wellness .featured-style-wellness {
  border-radius: 20px;
  border-color: #9fdcc4;
  box-shadow: 0 16px 30px rgba(12, 110, 74, 0.12);
}

body.theme-wellness .category-style-wellness a {
  border-left: 4px solid #3c8f6f;
}

body.theme-wellness .post-style-wellness .post-card {
  border-radius: 14px;
}

body.theme-finance .featured-style-finance {
  background: linear-gradient(150deg, #fff8e8, #fffdf8);
  border-color: #e0c48d;
}

body.theme-finance .category-style-finance {
  grid-template-columns: 1fr;
}

body.theme-finance .category-style-finance a {
  display: flex;
  justify-content: space-between;
}

body.theme-career .featured-style-career {
  background: linear-gradient(180deg, #f6f8ff, #eef4ff);
  border-left: 5px solid #2b63ff;
}

body.theme-career .post-style-career .post-card {
  padding: 16px;
}

body.theme-digital .featured-style-digital {
  background: linear-gradient(140deg, #f7f4ff, #fefbff);
  border-color: #cab1ff;
}

body.theme-digital .category-style-digital {
  gap: 10px;
}

body.theme-digital .category-style-digital a {
  background: #faf8ff;
  border: 1px dashed #d9cbf6;
}

body.theme-digital .post-style-digital .post-card {
  box-shadow: 0 10px 26px rgba(76, 29, 149, 0.08);
}

.featured-style-default {
  background: var(--surface);
  border-color: var(--line);
  width: 100%;
  box-shadow: var(--shadow);
}

.featured-style-default .featured-guide-link {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 360px);
  min-height: 0;
  gap: 18px;
  align-items: stretch;
}

.featured-style-default .featured-guide img {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.hero-stats strong,
.status-value {
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.category-strip a,
.post-card,
.side-section,
.ad-slot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-strip a {
  display: grid;
  gap: 5px;
  padding: 18px;
}

.category-strip span,
.post-card span,
.side-post-body small {
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  grid-column: 1 / -1;
}

.section-heading h2 {
  margin: 0 0 8px;
}

.section-heading p {
  margin: 0 0 14px;
  color: var(--muted);
}

.featured-guide,
.trust-panel,
.info-sections article,
.contact-form,
.notice-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.featured-guide {
  display: block;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  padding: 22px;
  min-height: 0;
  overflow: hidden;
}

.featured-guide-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr);
  gap: 20px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.featured-guide-link:hover {
  color: inherit;
}

.featured-guide h2 {
  margin: 8px 0 10px;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.featured-guide p {
  margin: 0 0 14px;
  color: var(--muted);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.featured-guide .eyebrow {
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-guide img {
  width: 100%;
  max-width: 100%;
  min-width: 220px;
  justify-self: end;
  align-self: center;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 180px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 22px;
  overflow: hidden;
}

.trust-panel div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-left: 1px solid var(--line);
}

.trust-panel div:first-child {
  border-left: 0;
}

.trust-panel span,
.info-sections p {
  color: var(--muted);
}

.post-grid,
.related-grid,
.site-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.post-card {
  overflow: hidden;
}

.site-list-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-hub-page {
  min-height: 100vh;
}

.hub-shell {
  padding: 48px 0 72px;
}

.hub-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hub-topbar h1 {
  margin: 4px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.hub-topbar p {
  margin: 0;
  color: var(--muted);
}

.hub-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hub-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
}

.hub-actions a:first-child {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.hub-site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hub-site-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.hub-site-card:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.hub-site-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.hub-site-card strong {
  font-size: 24px;
  line-height: 1.25;
}

.hub-site-card p {
  margin: 0;
  color: var(--muted);
}

.post-list,
.category-list {
  display: grid;
  gap: 10px;
}

.post-list-item,
.category-list-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.post-list-item a,
.category-list-row a {
  display: grid;
  align-items: center;
  min-width: 0;
  color: inherit;
}

.post-list-item a {
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
}

.post-list-item img {
  width: 160px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.post-list-item h3,
.category-list-row strong {
  margin: 0;
  line-height: 1.35;
  font-size: 19px;
}

.post-list-item p {
  margin: 0;
  color: var(--muted);
}

.post-list-item h3 + p {
  margin-top: 6px;
}

.post-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px !important;
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 900;
}

.post-list-meta time {
  color: var(--muted);
}

.category-list-row a {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 16px 18px;
}

.post-list-item:hover,
.category-list-row:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.category-list-row p {
  margin: 0;
  color: var(--muted);
}

.category-list-row span,
.category-list-row em {
  white-space: nowrap;
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
}

.category-list-row span {
  color: var(--muted);
}

.category-list-row em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 6px;
  padding: 7px 12px;
  background: color-mix(in srgb, var(--accent) 10%, white);
  color: var(--accent-dark);
}

.table-panel {
  margin-top: 18px;
}

.responsive-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.content-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}

.category-table {
  min-width: 620px;
}

.content-table th,
.content-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: middle;
}

.content-table th {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.post-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.content-table tbody tr {
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.content-table tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 7%, white);
}

.post-table th:first-child,
.post-table td:first-child {
  width: 138px;
}

.post-table th:nth-last-child(1),
.post-table td:nth-last-child(1) {
  width: 116px;
  white-space: nowrap;
}

.table-thumb-cell {
  padding-right: 6px !important;
}

.table-thumb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, white), var(--surface-soft));
  color: var(--accent-dark);
  font-weight: 900;
}

.table-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table-title-link {
  display: inline-block;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.table-title-link:hover {
  color: var(--accent-dark);
}

.content-table td p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.table-muted-link {
  display: inline-flex;
  align-items: center;
  max-width: 130px;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  background: color-mix(in srgb, var(--accent) 10%, white);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.table-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.table-action-link:hover {
  background: var(--accent-dark);
  color: #fff;
}

.list-footer {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-elevated);
}

.list-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}

.list-search-control {
  display: flex;
  align-items: stretch;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.list-search-control input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 10px 12px;
}

.list-search-control input:focus {
  outline: 0;
}

.list-search-control button {
  min-width: 76px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.list-search-control button:hover {
  background: var(--accent-dark);
}

.page-size-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.page-size-control select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 900;
  padding: 0 34px 0 12px;
}

.compact-pagination {
  justify-content: flex-end;
  margin: 0;
}

.site-list-logo {
  width: 54px;
  height: 54px;
}

.site-list-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.site-list-card strong {
  font-size: 22px;
  line-height: 1.3;
}

.site-list-card p {
  margin: 0;
  color: var(--muted);
}

.post-card a {
  display: grid;
  min-height: 100%;
}

.post-card div {
  padding: 18px;
}

.post-card p {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.post-card h3 {
  margin: 0 0 8px;
  line-height: 1.35;
  font-size: 19px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
}

.pagination a,
.pagination span,
.pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 12px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

.pagination a {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  color: var(--accent-dark);
}

.pagination span {
  color: var(--muted);
  opacity: 0.7;
}

.pagination strong {
  min-width: 72px;
  background: var(--surface-soft);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

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

.article {
  padding: 34px;
}

.article-header {
  margin-bottom: 22px;
}

.article-header h1 {
  font-size: 40px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.event-summary-box {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 7%, white);
}

.event-summary-box h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.event-summary-list {
  display: grid;
  gap: 10px;
}

.event-summary-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.event-type-deadline .event-badge {
  background: #b42318;
}

.event-type-application .event-badge {
  background: #7a4f01;
}

.event-type-announcement .event-badge {
  background: #175cd3;
}

.event-summary-item h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.event-summary-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.event-summary-item p span::before {
  content: "/";
  margin: 0 6px;
  color: var(--line);
}

.event-summary-text {
  margin-top: 6px !important;
}

.hero-image {
  margin: 22px 0;
}

.hero-image img {
  width: 100%;
  height: clamp(240px, 32vw, 360px);
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.hero-image figcaption,
.article-image figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.article-image figcaption span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  background: color-mix(in srgb, var(--accent) 9%, white);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.article-body {
  font-size: 18px;
}

.article-body h2 {
  margin: 38px 0 12px;
  line-height: 1.35;
  font-size: 27px;
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 18px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-body strong {
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 13%, white);
  color: var(--accent-dark);
  padding: 1px 4px;
  font-weight: 900;
}

.article-body mark {
  border-radius: 4px;
  background: color-mix(in srgb, var(--warning) 20%, white);
  color: #5a3a00;
  padding: 1px 4px;
  font-weight: 800;
}

.article-callout {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 16px 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, white), #fff);
}

.article-callout > strong {
  display: block;
  width: fit-content;
  background: transparent;
  color: var(--text);
  padding: 0;
  font-size: 17px;
}

.article-callout p {
  margin: 0;
}

.article-callout ul {
  margin: 0;
  padding-left: 20px;
}

.article-callout.callout-check {
  border-color: color-mix(in srgb, #15803d 28%, var(--line));
  border-left-color: #15803d;
  background: linear-gradient(135deg, #f0fdf4, #fff);
}

.article-callout.callout-warning {
  border-color: color-mix(in srgb, #b42318 28%, var(--line));
  border-left-color: #b42318;
  background: linear-gradient(135deg, #fff5f5, #fff);
}

.cta-wrap {
  margin: 24px 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.cta-button:hover {
  background: var(--accent-dark);
}

.share-actions {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, var(--accent));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-soft) 68%, white);
}

.share-title {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.share-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 92px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.share-button:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: #fff;
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.share-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.share-icon svg {
  width: 18px;
  height: 18px;
}

.share-button svg {
  flex-shrink: 0;
}

.share-label {
  white-space: nowrap;
}

.share-copy .share-icon {
  color: var(--accent);
}

.share-facebook .share-icon {
  color: #2563eb;
}

.share-twitter .share-icon {
  color: #111827;
}

.share-kakao .share-icon {
  color: #7a5c00;
}

.share-native .share-icon {
  color: var(--accent);
}

.share-feedback {
  margin: 0;
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
}

.share-feedback:empty {
  display: none;
}

.content-disclosure-box {
  display: grid;
  gap: 8px;
  margin: 26px 0 18px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--accent));
  border-radius: 8px;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--surface-soft) 72%, white);
}

.content-disclosure-box h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.content-disclosure-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.content-disclosure-box a {
  justify-self: start;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.ad-slot {
  display: grid;
  min-height: 110px;
  place-items: center;
  margin: 22px 0;
  background: repeating-linear-gradient(45deg, #f4f7fb, #f4f7fb 10px, #ecf0f5 10px, #ecf0f5 20px);
  color: var(--muted);
  font-size: 14px;
}

.side-section {
  padding: 18px;
}

.side-section h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.site-status {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, white), rgba(255, 255, 255, 0) 48%),
    var(--surface);
}

.site-status::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 35%, #ffffff));
}

.status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.status-head p {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.status-head h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.status-head > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 999px;
  padding: 4px 9px;
  background: color-mix(in srgb, var(--accent) 8%, white);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.status-head > span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.status-card {
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 96px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--accent));
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.status-card-primary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, white), #ffffff);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.status-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.status-value {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.status-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.font-size-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.font-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  min-width: 34px;
  min-height: 28px;
  padding: 4px 10px;
  font-weight: 700;
  transition: all 0.16s ease;
}

.font-btn:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.font-btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

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

.calendar-head h2 {
  margin: 0;
  font-size: 17px;
}

.calendar-actions {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.calendar-actions a {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  text-align: center;
}

.calendar-grid {
  display: grid;
  gap: 3px;
}

.calendar-weekdays,
.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.calendar-week {
  position: relative;
}

.calendar-weekdays > span,
.calendar-day {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px;
}

.calendar-weekdays > span {
  min-height: auto;
  border: 0;
  background: transparent;
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.calendar-day {
  position: relative;
  min-height: 38px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2px;
  overflow: hidden;
}

.calendar-day small {
  position: relative;
  z-index: 6;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.calendar-day.has-events {
  border-color: color-mix(in srgb, var(--event-color, var(--accent)) 55%, var(--line));
  background: color-mix(in srgb, var(--event-color, var(--accent)) 10%, white);
}

.calendar-day.has-range-event {
  background: color-mix(in srgb, var(--event-color, var(--accent)) 9%, white);
}

.calendar-day.has-events small {
  color: var(--text);
}

.calendar-day-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.calendar-day-hit:hover {
  outline: 2px solid color-mix(in srgb, var(--event-color, var(--accent)) 42%, transparent);
  outline-offset: -2px;
}

.calendar-event-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  min-height: 14px;
  position: relative;
  z-index: 1;
}

.calendar-event-link.is-continuation {
  min-height: 10px;
  margin-top: auto;
}

.calendar-event-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--event-color, var(--accent));
}

.calendar-event-link.is-continuation .calendar-event-dot {
  width: 6px;
  height: 6px;
  opacity: 0.75;
}

.event-type-deadline .calendar-event-dot {
  background: #b42318;
}

.event-type-application .calendar-event-dot {
  background: #7a4f01;
}

.event-type-announcement .calendar-event-dot {
  background: #175cd3;
}

.calendar-event-title {
  font-size: 12px;
  line-height: 1.1;
  color: var(--accent-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-day-markers {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  z-index: 5;
  display: grid;
  gap: 2px;
}

.calendar-day-marker {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--event-color, var(--accent)) 82%, white);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--event-color, var(--accent)) 12%, transparent);
}

.calendar-day-marker:hover {
  background: var(--event-color, var(--accent));
}

.calendar-day-marker.is-range {
  border-radius: 0;
}

.calendar-day-marker.is-range-start {
  border-radius: 999px 0 0 999px;
}

.calendar-day-marker.is-range-end {
  border-radius: 0 999px 999px 0;
}

.calendar-day-marker.is-range-start.is-range-end {
  border-radius: 999px;
}

.calendar-day.outside {
  opacity: 0.45;
}

.calendar-empty {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.calendar-event-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.calendar-event-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-soft) 82%, white);
  text-decoration: none;
}

.calendar-event-item:hover {
  border-color: color-mix(in srgb, var(--event-color, var(--accent)) 45%, var(--line));
  background: color-mix(in srgb, var(--event-color, var(--accent)) 7%, white);
}

.calendar-event-item-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--event-color, var(--accent));
}

.event-type-deadline .calendar-event-item-dot {
  background: var(--event-color, #b42318);
}

.event-type-application .calendar-event-item-dot {
  background: var(--event-color, #7a4f01);
}

.event-type-announcement .calendar-event-item-dot {
  background: var(--event-color, #175cd3);
}

.calendar-event-item-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.calendar-event-item-copy strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.calendar-event-item-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.side-post {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.side-post:first-of-type {
  border-top: 0;
}

.side-post-thumb {
  width: 64px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  object-fit: cover;
  background: var(--surface-soft);
}

.side-post-thumb-empty {
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 900;
}

.side-post-body {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.side-post-body > span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.38;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-posts {
  padding: 18px 16px;
}

.recent-posts {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}

.latest-posts .side-post-body small {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faq-section {
  margin-top: 36px;
}

.faq-section details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 800;
}

.source-list,
.related-posts {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.source-list {
  display: grid;
  gap: 8px;
}

.source-list a {
  color: var(--accent-dark);
  overflow-wrap: anywhere;
}

.info-sections {
  display: grid;
  gap: 14px;
}

.contact-layout {
  display: block;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 11px 13px;
}

.contact-form select {
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2335495f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 18px 18px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.contact-form label:focus-within {
  color: var(--accent);
}

.contact-form textarea {
  min-height: 190px;
  padding: 13px;
  resize: vertical;
}

.contact-form .full-field,
.contact-form .captcha-field,
.contact-form .cta-button {
  grid-column: 1 / -1;
}

.captcha-field {
  align-items: start;
}

.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.captcha-question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 13px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.contact-form .captcha-field input {
  max-width: 220px;
  flex: 0 1 220px;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .cta-button {
  min-height: 50px;
  border: 0;
  cursor: pointer;
}

.notice-box {
  display: grid;
  gap: 3px;
  margin-bottom: 16px;
  padding: 16px 18px;
}

.notice-box.success {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.notice-box.error {
  border-color: #fecaca;
  background: #fff1f2;
}

.notice-box span {
  color: var(--muted);
}

.info-sections.compact article {
  padding: 20px;
}

.info-sections article {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.info-sections h2 {
  margin: 0;
  font-size: 24px;
}

.info-sections p {
  margin: 0;
}

.info-sections ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.info-sections li {
  line-height: 1.65;
}

.info-note {
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--accent) 8%, white);
  color: var(--accent-dark) !important;
  font-weight: 800;
}

.info-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  justify-self: start;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: white;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}

th {
  background: var(--surface-soft);
}

.content-table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
}

.content-table th,
.content-table td {
  border: 0;
  border-bottom: 1px solid var(--line);
}

.content-table th + th,
.content-table td + td {
  border-left: 0;
}

.content-table .table-thumb-link {
  width: 104px;
  height: 58px;
}

.post-table th:first-child,
.post-table td:first-child {
  width: 126px;
}

.content-table td p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.site-footer {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 58%, white), var(--surface)),
    var(--surface);
  margin-top: 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(340px, 1.7fr) minmax(180px, 0.55fr);
  align-items: start;
  gap: 20px;
  padding: 30px 0 22px;
  color: var(--muted);
  font-size: 14px;
  row-gap: 16px;
}

.footer-brand {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.footer-brand strong {
  color: var(--text);
  font-size: 21px;
  line-height: 1.25;
}

.footer-brand small {
  color: var(--muted);
  overflow-wrap: anywhere;
  line-height: 1.45;
  font-size: 13px;
  margin: 0;
  display: grid;
  gap: 4px;
}

.footer-info p {
  margin: 0;
}

.footer-sites {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.footer-sites h2,
.footer-links h2 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.footer-sites nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.footer-sites a {
  position: relative;
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.footer-sites a:hover {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
  background: #fff;
  transform: translateY(-1px);
}

.footer-sites a.is-current {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, white);
}

.footer-sites a.is-current::after {
  content: "현재";
  position: absolute;
  top: 8px;
  right: 9px;
  border-radius: 999px;
  padding: 2px 7px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.footer-sites strong {
  overflow: hidden;
  padding-right: 38px;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-sites span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-links {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.footer-links p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-links nav {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-text-link {
  justify-self: start;
  min-height: 34px;
  color: var(--accent-dark) !important;
  font-weight: 900;
}

.footer-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-button {
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  padding: 9px 14px;
  background: color-mix(in srgb, var(--accent) 8%, white);
  color: var(--accent-dark);
  font-weight: 800;
}

.footer-button:hover {
  background: color-mix(in srgb, var(--accent) 14%, white);
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.empty-text {
  color: var(--muted);
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .site-search {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    position: static;
    max-height: none;
    overflow: visible;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-sites nav {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    grid-column: auto;
  }

  .hub-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hub-actions {
    justify-content: flex-start;
  }

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

  .category-strip,
  .post-grid,
  .related-grid,
  .site-list-grid,
  .hero-stats,
  .trust-panel,
  .featured-guide,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .trust-panel div,
  .trust-panel div:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-panel div:first-child {
    border-top: 0;
  }

  .hero,
  .page-heading,
  .article {
    padding: 22px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .contact-form label,
  .contact-form .cta-button {
    grid-column: auto;
  }

  .event-summary-item {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .article-header h1 {
    font-size: 30px;
  }

  .hero-image img {
    height: 220px;
  }

  .featured-guide,
  .featured-guide-link {
    grid-template-columns: 1fr !important;
  }

  .featured-guide {
    padding: 16px;
  }

  .featured-guide img {
    max-width: 100%;
    width: 100%;
    height: auto;
    order: 2;
  }

  .featured-guide-link {
    align-items: start;
    gap: 12px;
  }

  .featured-guide h2 {
    font-size: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    margin-top: 0;
  }
}

@media (max-width: 1200px) {
  .featured-guide {
    gap: 14px;
    padding: 16px;
  }

  .featured-guide-link,
  .featured-style-default .featured-guide-link {
    grid-template-columns: minmax(0, 1.2fr) minmax(160px, 1fr);
    gap: 12px;
  }

  .category-strip,
  .post-grid,
  .related-grid {
    gap: 12px;
  }
}

@media (min-width: 901px) {
  .featured-guide,
  .featured-guide-link {
    align-items: center;
  }

  .featured-guide .eyebrow {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .hub-shell {
    padding: 24px 0 40px;
  }

  .hub-topbar {
    padding: 22px;
  }

  .hub-site-grid {
    grid-template-columns: 1fr;
  }

  .hub-actions a {
    flex: 1 1 140px;
  }

  .category-strip,
  .post-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-list-item a,
  .category-list-row a {
    grid-template-columns: 1fr;
  }

  .post-list-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .category-list-row em {
    justify-self: start;
  }

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

  .category-table {
    min-width: 600px;
  }

  .table-title-link {
    font-size: 16px;
  }

  .list-footer,
  .list-controls {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .list-search-control {
    min-width: 0;
    max-width: none;
  }

  .page-size-control {
    justify-content: space-between;
  }

  .compact-pagination {
    justify-content: center;
    flex-wrap: wrap;
  }

  .featured-guide-link,
  .featured-style-default .featured-guide-link {
    grid-template-columns: 1fr !important;
  }

  .featured-guide img {
    order: 2;
    width: 100%;
  }

  .share-button {
    flex: 1 1 calc(50% - 8px);
  }

  .search-panel {
    flex-direction: column;
  }

  .search-panel button {
    min-height: 46px;
  }
}
