@font-face {
    font-family: 'GangwonEducationModuche';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEdu_OTFLightA.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GangwonEducationModuche';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEdu_OTFBoldA.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

:root {
    --bg: #fff9f5;
    --bg-soft: #fff3ee;
    --bg-peach: #fce4d6;
    --card: #fffaf7;
    --text: #5d4037;
    --text-muted: #8a7568;
    --primary: #e8534f;
    --primary-dark: #c74340;
    --accent: #ff8a80;
    --border: #f0d0d9;
    --gold: #d4a574;
    --timeline-accent: #e07555;
    --inquiry-visitor-bg: #fff;
    --inquiry-visitor-border: rgba(240, 208, 217, 0.95);
    --inquiry-staff-bg: linear-gradient(145deg, #fce4d6 0%, #ffd9cf 100%);
    --inquiry-staff-border: rgba(232, 83, 79, 0.28);
    --shadow: none;
    --shadow-soft: none;
    --radius: 20px;
    --header-h: 72px;
    --sidebar-w: 200px;
    --content-max: 1100px;
    --page-max: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'GangwonEducationModuche', sans-serif;
    font-weight: 300;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 182, 193, 0.18), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(255, 209, 102, 0.14), transparent 24%),
        radial-gradient(circle at 80% 85%, rgba(255, 138, 128, 0.12), transparent 30%),
        var(--bg);
    line-height: 1.65;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(var(--content-max), calc(100% - 2.5rem));
    margin: 0 auto;
}

.page-container {
    width: min(var(--page-max), calc(100% - 2.5rem));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 249, 245, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(240, 208, 217, 0.7);
}

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
    padding: 0.5rem 0;
}

.site-logo {
    flex-shrink: 0;
    width: 140px;
}

.site-logo img {
    width: 100%;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 0.45rem 0.75rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--primary);
    background: rgba(232, 83, 79, 0.08);
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-single {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 2rem 0 3rem;
    width: min(var(--page-max), calc(100% - 2.5rem));
}

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

.sub-layout--full #sub-sidebar {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1.35rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-weight: 700;
    box-shadow: none;
}

.btn:hover {
    transform: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--card);
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    padding-inline: 0.5rem;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
}

.menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide drawer (2026 m_index 패턴) */
.mobile-nav-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-nav-drawer-overlay.is-active {
    opacity: 1;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(280px, 86vw);
    height: 100dvh;
    z-index: 201;
    background: var(--card);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.12);
    transition: right 0.25s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.is-active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 0.75rem 0;
    flex-shrink: 0;
}

.drawer-close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}

.drawer-nav-link,
.drawer-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

.drawer-nav-link.is-active,
.drawer-nav-item.is-open > .drawer-nav-toggle {
    color: var(--primary);
}

.drawer-nav-chevron {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.drawer-nav-item.is-open .drawer-nav-chevron {
    transform: rotate(180deg);
}

.drawer-sub-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    background: var(--bg-soft);
}

.drawer-nav-item.is-open .drawer-sub-nav {
    max-height: 480px;
}

.drawer-sub-link {
    display: block;
    padding: 0.65rem 1.1rem 0.65rem 1.75rem;
    border-bottom: 1px solid rgba(240, 208, 217, 0.5);
    color: var(--text-muted);
    font-size: 0.88rem;
    text-decoration: none;
}

.drawer-sub-link.is-active {
    color: var(--primary);
    font-weight: 700;
}

.drawer-cta {
    margin: auto 1rem 1.25rem;
    width: calc(100% - 2rem);
}

/* Hero */
.hero {
    position: relative;
    padding: 2rem 0 3.5rem;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
}

.hero-visual {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

.hero-visual > img:not(.hero-side-flower) {
    width: 100%;
    filter: none;
}

.hero-side-flower {
    position: absolute;
    width: min(220px, 28vw);
    opacity: 0.9;
    pointer-events: none;
}

.hero-side-flower--right {
    right: -4%;
    top: 10%;
}

.hero-kicker {
    margin: 0 0 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-title-ko {
    margin: 0 0 0.75rem;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-muted);
}

.hero-meta {
    margin: 0 0 1.5rem;
    color: var(--text);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.hero-meta strong {
    color: var(--primary);
    font-weight: 700;
}

.sparkle {
    color: var(--gold);
    letter-spacing: 0.2em;
}

/* Quick cards */
.section {
    padding: 3.5rem 0;
}

.section-head {
    text-align: center;
    margin-bottom: 2rem;
}

.section-head h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary);
}

.section-head p {
    margin: 0;
    color: var(--text-muted);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.quick-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    aspect-ratio: 1670 / 1951;
    padding: 18% 12% 14%;
    text-align: center;
    background: transparent;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

a.quick-card:hover {
    transform: translateY(-3px);
}

a.quick-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 16px;
}

.quick-card-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
}

.quick-card > *:not(.quick-card-frame) {
    position: relative;
    z-index: 1;
}

.quick-card-icon {
    width: auto;
    height: 4.75rem;
    max-width: 72%;
    margin: 0 auto 0.85rem;
    object-fit: contain;
    display: block;
}

.quick-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.quick-card p {
    flex: 1;
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    min-height: 2.75em;
}

.quick-card-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.5rem;
    padding: 0.45rem 1.15rem;
    border: 1.5px solid rgba(232, 83, 79, 0.32);
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    transition: background 0.2s, border-color 0.2s;
}

a.quick-card:hover .quick-card-go {
    background: rgba(255, 243, 238, 0.9);
    border-color: rgba(232, 83, 79, 0.55);
}

/* Intro */
.intro {
    position: relative;
    padding: 4rem 0;
}

.intro-deco {
    position: absolute;
    top: 50%;
    width: min(180px, 22vw);
    transform: translateY(-50%);
    opacity: 0.85;
    pointer-events: none;
}

.intro-deco--left {
    left: 0;
}

.intro-deco--right {
    right: 0;
    transform: translateY(-50%) scaleX(-1);
}

.intro-box {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
}

.intro-box p {
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.85;
}

/* Timetable */
.timetable {
    background: linear-gradient(180deg, transparent, rgba(252, 228, 214, 0.35), transparent);
}

.timetable-head {
    margin-bottom: 1.75rem;
}

.timetable-head h2 {
    color: var(--text);
    font-size: 1.35rem;
}

.timetable-head .sparkle {
    color: var(--timeline-accent);
}

.wave-timeline {
    --wave-color: var(--timeline-accent);
    padding: 0 0.5rem;
}

.wave-timeline-visual {
    position: relative;
    height: 24px;
    margin-bottom: 1rem;
    color: var(--wave-color);
}

.wave-timeline-visual svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wave-timeline-path {
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.wave-timeline-dot {
    fill: #fff;
    stroke: currentColor;
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
}

.wave-timeline-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.wave-timeline-item {
    text-align: center;
    padding: 0 0.25rem;
}

.wave-timeline-time {
    display: block;
    margin: 0 0 0.35rem;
    font-family: Georgia, 'Times New Roman', 'Noto Serif KR', serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--timeline-accent);
}

.wave-timeline-item h3 {
    margin: 0 0 0.35rem;
    font-family: 'GangwonEducationModuche', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

.wave-timeline-desc {
    margin: 0;
    font-size: clamp(0.76rem, 1.05vw, 0.84rem);
    color: var(--text-muted);
    line-height: 1.5;
    word-break: keep-all;
}

/* Notice + Newsletter */
.dual-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    box-shadow: none;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.panel-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.panel-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.panel-action {
    margin: 1rem 0 0;
}

.notice-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.notice-list li {
    padding: 0;
    border-bottom: 1px dashed rgba(240, 208, 217, 0.8);
    font-size: 0.92rem;
}

.home-notice-link {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.home-notice-link:hover {
    color: var(--primary);
}

.home-notice-link .notice-lock {
    margin-left: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.notice-list-empty {
    padding: 0.75rem 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.notice-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
}

.tag-new {
    background: #ffe8ec;
    color: var(--primary);
}

.tag-notice {
    background: #eef5ff;
    color: #4a7fd4;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
}

/* Footer */
.site-footer {
    margin-top: 2rem;
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--border);
    background: var(--card);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    width: 120px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-copy {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer-social-icon {
    width: 0.95rem;
    height: 0.95rem;
    fill: currentColor;
    display: block;
}

/* Sub page layout */
.sub-layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 0 3rem;
    position: relative;
}

.sub-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 0.75rem;
    box-shadow: none;
}

.sub-sidebar-title {
    margin: 0 0 1rem;
    padding: 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

.sub-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sub-nav a {
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s;
}

.sub-nav a:hover,
.sub-nav a.is-active {
    background: rgba(232, 83, 79, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.sub-inquiry {
    margin-top: 1.25rem;
    padding: 0.85rem 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

.sub-inquiry a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
}

.sub-content-wrap {
    position: relative;
    min-width: 0;
}

.sub-content {
    position: relative;
    z-index: 1;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    box-shadow: none;
    min-height: 520px;
}

.page-title {
    margin: 0 0 1.5rem;
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--primary);
}

.page-title .sparkle {
    font-size: 0.85em;
}

.content-section {
    margin-bottom: 2rem;
}

.content-section h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.content-section p,
.content-section li {
    font-size: 0.95rem;
    color: var(--text);
}

.content-section ul,
.content-section ol {
    padding-left: 1.25rem;
}

.content-section li + li {
    margin-top: 0.35rem;
}

.placeholder-note {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--card);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
    color: var(--text);
}

.faq-question span:first-child {
    color: var(--primary);
    margin-right: 0.35rem;
}

.faq-answer {
    display: none;
    padding: 0 1.15rem 1rem;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 0.5rem;
    font-size: 0.92rem;
}

.faq-list-root {
    margin-top: 0.25rem;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-chevron {
    transition: transform 0.2s;
    color: var(--text-muted);
}

/* Table / notice page */
.data-table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.data-table th,
.data-table td {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.data-table th {
    background: var(--bg-soft);
    color: var(--text-muted);
    font-weight: 700;
}

.data-table tr:hover td {
    background: rgba(255, 243, 238, 0.5);
}

.notice-row {
    cursor: pointer;
}

.notice-row-title {
    font-weight: 600;
}

.notice-pin {
    margin-right: 0.15rem;
}

.notice-lock {
    margin-left: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.notice-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.notice-badge--public {
    background: #eefaf0;
    color: #2e6b3a;
}

.notice-badge--circle {
    background: #ffe8ea;
    color: #e8534f;
}

.notice-badge--visitor {
    background: #f3e8ff;
    color: #7b1fa2;
}

.notice-badge--both {
    background: #fff8e8;
    color: #8a6520;
}

.notice-loading,
.notice-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 0.5rem;
}

.notice-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(93, 64, 55, 0.45);
    backdrop-filter: blur(4px);
    z-index: 2000;
}

.notice-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2001;
    width: min(720px, 92vw);
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 1.5rem 1.75rem 2rem;
    box-shadow: none;
}

.notice-modal--code {
    width: min(400px, 92vw);
    max-height: none;
}

.notice-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}

.notice-modal-title {
    margin: 0 2rem 0.5rem 0;
    font-size: 1.25rem;
    color: var(--accent);
}

.notice-modal-meta {
    margin-bottom: 1rem;
}

.notice-modal-body {
    line-height: 1.75;
    color: var(--text);
}

.notice-content-html img {
    max-width: 100%;
    height: auto;
}

.notice-code-desc {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

#notice-code-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#notice-code-form .site-modal-footer {
    margin-top: 0.25rem;
}

#notice-code-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    box-sizing: border-box;
}

.notice-code-error {
    margin: 0.75rem 0 0;
    color: #c0392b;
    font-size: 0.88rem;
}

/* ── 공통 모달 (SiteModal) ── */
body.site-modal-open {
    overflow: hidden;
}

.site-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(93, 64, 55, 0.5);
    backdrop-filter: blur(4px);
    animation: siteModalFade 0.2s ease;
}

@keyframes siteModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.site-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: min(90vh, 720px);
    overflow-y: auto;
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: none;
    animation: siteModalUp 0.22s ease;
}

@keyframes siteModalUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.site-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: var(--bg-soft);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}

.site-modal-close:hover {
    background: rgba(232, 83, 79, 0.1);
    color: var(--primary);
}

.site-modal-title {
    margin: 0 2rem 1rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    text-align: left;
}

.site-modal-lead {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    text-align: center;
}

.site-modal-body {
    text-align: left;
}

.site-modal-field {
    margin-bottom: 1rem;
}

.site-modal-field:last-child {
    margin-bottom: 0;
}

.site-modal-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.site-modal-field-hint,
.site-modal-field .site-modal-field-hint {
    display: inline;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
}

.site-modal-input,
.site-modal-textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.site-modal-input:focus,
.site-modal-textarea:focus {
    outline: none;
    border-color: rgba(232, 83, 79, 0.45);
}

.site-modal-input--code {
    text-align: center;
    letter-spacing: 0.12em;
    font-size: 1.1rem;
}

.site-modal-textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.6;
}

.site-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
}

.site-modal-footer .btn {
    min-width: 6.5rem;
}

.table-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.table-search select,
.table-search input {
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
}

.table-search input {
    flex: 1;
    min-width: 180px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1.5rem;
}

.pagination button {
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    cursor: pointer;
    color: var(--text-muted);
}

.pagination button.is-active,
.pagination button:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(232, 83, 79, 0.06);
}

/* Booth map placeholder */
.booth-map {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-soft);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.booth-map-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.booth {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
}

.booth--stage,
.booth--entrance,
.booth--hq {
    grid-column: span 2;
    aspect-ratio: auto;
    min-height: 56px;
    background: rgba(232, 83, 79, 0.08);
    color: var(--primary);
}

.booth-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.booth-legend span::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 0.35rem;
    vertical-align: -1px;
}

.legend-a::before { background: #ffd6d6; }
.legend-b::before { background: #ffe8cc; }
.legend-c::before { background: #d9f0ff; }

/* Apply form */
.apply-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.apply-step {
    text-align: center;
    padding: 1rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-soft);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.apply-step.is-active {
    border-color: var(--primary);
    background: rgba(232, 83, 79, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.apply-step-num {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.form-grid {
    display: grid;
    gap: 1.1rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 300;
}

.form-actions {
    margin-top: 1.5rem;
    text-align: center;
}

/* Inquiry (chat-style) */
.sub-content--inquiry {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.25rem;
    box-shadow: none;
}

.sub-content--inquiry .page-title {
    margin-bottom: 0.45rem;
}

.inquiry-lead {
    margin: 0 0 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.inquiry-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 420px;
    height: min(calc(100vh - 280px), 640px);
}

.inquiry-chat {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0 1rem;
    background: transparent;
}

.inquiry-chat::-webkit-scrollbar {
    width: 6px;
}

.inquiry-chat::-webkit-scrollbar-thumb {
    background: rgba(232, 83, 79, 0.22);
    border-radius: 999px;
}

.inquiry-message {
    display: flex;
    margin-bottom: 0.85rem;
}

.inquiry-message-received {
    justify-content: flex-start;
}

.inquiry-message-sent {
    justify-content: flex-end;
}

.inquiry-message-bubble {
    max-width: 78%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.inquiry-message-received .inquiry-message-bubble {
    background: var(--bg-peach);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.inquiry-message-sent .inquiry-message-bubble {
    background: rgba(232, 83, 79, 0.12);
    color: var(--text);
    border-bottom-right-radius: 4px;
}

.inquiry-message-text {
    white-space: pre-wrap;
    font-size: 0.92rem;
    line-height: 1.6;
}

.inquiry-message-image {
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.inquiry-input-area {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-top: 0.85rem;
    margin-top: auto;
    flex-shrink: 0;
    border-top: 1px solid var(--border);
    background: transparent;
}

.inquiry-image-preview:not([hidden]) {
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.inquiry-image-preview:not([hidden]) + .inquiry-input-area {
    padding-top: 0.55rem;
    border-top: none;
}

.inquiry-attach-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--bg-peach);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.inquiry-attach-btn:hover {
    background: var(--bg-soft);
}

.inquiry-send-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.inquiry-send-btn:hover {
    background: var(--primary-dark);
}

#inquiryInput {
    flex: 1;
    min-height: 42px;
    max-height: 150px;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-soft);
    resize: none;
    overflow-y: auto;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
    vertical-align: middle;
}

#inquiryInput::placeholder {
    color: var(--text-muted);
}

#inquiryInput:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.inquiry-image-preview {
    position: relative;
    padding: 0 0 0.5rem;
    background: transparent;
}

.inquiry-preview-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 10px;
}

.inquiry-preview-remove {
    position: absolute;
    top: 0.75rem;
    right: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.inquiry-preview-remove:hover {
    background: var(--primary-dark);
}

.inquiry-loading,
.inquiry-empty,
.inquiry-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    text-align: center;
    padding: 2.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.inquiry-empty::before {
    content: '✦';
    display: block;
    margin-bottom: 0.65rem;
    font-size: 1.4rem;
    color: var(--gold);
}

.inquiry-error {
    color: var(--primary);
}

@media (min-width: 769px) {
    .mobile-nav-drawer,
    .mobile-nav-drawer-overlay {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wave-timeline-list {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 1.25rem;
    }

    .wave-timeline-visual {
        display: none;
    }

    .dual-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 48px;
        --radius: 12px;
    }

    .container,
    .page-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .site-header .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    main > .container,
    main .section > .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        box-sizing: border-box;
    }

    .site-header-inner {
        gap: 0.5rem;
        min-height: var(--header-h);
        padding: 0.25rem 0;
    }

    .site-logo {
        width: 80px;
    }

    .site-nav,
    .site-header-actions .btn-primary {
        display: none;
    }

    .site-header-actions {
        width: 0;
        height: 0;
        overflow: visible;
    }

    .menu-toggle {
        position: fixed;
        top: max(0.65rem, env(safe-area-inset-top, 0px));
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        z-index: 202;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        width: 36px;
        height: 36px;
        padding: 0 8px;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .hero-inner {
        gap: 0.75rem;
    }

    .hero-visual {
        max-width: min(260px, 72vw);
    }

    .hero-meta {
        margin: 0 0 0.85rem;
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .section {
        padding: 1.25rem 0;
    }

    .section-head {
        margin-bottom: 1rem;
    }

    .section-head h2 {
        font-size: 1.25rem;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .quick-card {
        max-width: none;
        padding: 16% 10% 12%;
    }

    .quick-card-icon {
        height: 2.75rem;
        max-width: 68%;
        margin-bottom: 0.5rem;
    }

    .quick-card h3 {
        margin-bottom: 0.35rem;
        font-size: 0.82rem;
    }

    .quick-card p {
        margin-bottom: 0.5rem;
        font-size: 0.72rem;
        line-height: 1.45;
        min-height: 0;
    }

    .quick-card-go {
        min-width: 0;
        padding: 0.3rem 0.65rem;
        font-size: 0.72rem;
    }

    .page-container.sub-layout,
    .page-container.page-single {
        background: var(--card);
    }

    .page-single {
        padding: 0;
    }

    .sub-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    #sub-sidebar {
        display: none;
    }

    .sub-content-wrap {
        width: 100%;
    }

    .sub-content,
    .sub-content--visitor,
    .sub-content--circle,
    .sub-content--inquiry {
        width: 100%;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0.65rem 0.75rem 0.75rem;
        min-height: 0;
        box-sizing: border-box;
    }

    .hero {
        padding: 0.75rem 0 1.25rem;
    }

    .page-title {
        margin: 0 0 0.65rem;
        font-size: 1.2rem;
    }

    .content-section {
        margin-bottom: 1rem;
    }

    .content-section h2 {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .content-section p,
    .content-section li {
        font-size: 0.88rem;
    }

    .inquiry-container {
        min-height: 0;
        height: auto;
    }

    .inquiry-lead {
        margin-bottom: 0.65rem;
        font-size: 0.88rem;
    }

    .site-footer {
        margin-top: 0;
        padding: 0.85rem 0.75rem 1rem;
        border-top: 1px solid var(--border);
    }

    .site-footer .container {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-inner {
        gap: 0.5rem;
        justify-content: center;
        text-align: center;
    }

    .footer-logo {
        width: 72px;
    }

    .footer-copy {
        font-size: 0.78rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
    }

    .hero-side-flower {
        display: none;
    }

    .intro-deco {
        display: none;
    }

    .wave-timeline-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .wave-timeline-item {
        display: grid;
        grid-template-columns: 4.5rem 1fr;
        gap: 0.15rem 0.75rem;
        text-align: left;
        padding: 0.75rem 0;
        border-bottom: 1px dashed rgba(240, 208, 217, 0.8);
    }

    .wave-timeline-item:last-child {
        border-bottom: none;
    }

    .wave-timeline-time {
        grid-row: 1 / 3;
        align-self: center;
        margin: 0;
        font-size: 1rem;
    }

    .wave-timeline-item h3 {
        margin: 0;
    }

    .home-notice-link {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .apply-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .booth-map-row {
        grid-template-columns: repeat(3, 1fr);
    }
}
