/* =========================================================
 * MakeMonLab Academy Theme — main.css
 * Modern professional academy stylesheet (mobile-first)
 * =========================================================
 * TABLE OF CONTENTS
 *   1. Tokens (CSS vars)
 *   2. Reset + base typography
 *   3. Layout (container, grid, utilities)
 *   4. Components (button, tag, card, form, accordion, slider, badge)
 *   5. Header & topbar
 *   6. Footer
 *   7. Hero + section heads
 *   8. USP / stats / classes / teachers / testimonials / blog / CTA / FAQ
 *   9. CPT archive + single
 *  10. Pages (consultation, tuition, about, location, 404)
 *  11. Blog single + sidebar
 *  12. Responsive breakpoints (1024/768/480)
 *  13. Motion + print
 * =========================================================*/

/* ---------- 1. Tokens ------------------------------------- */
:root {
    --primary: #1e3a5f;
    --primary-dark: #15283f;
    --primary-100: #e7ecf3;
    --primary-200: #b9c7da;
    --accent: #d4a843;
    --accent-dark: #b5902f;
    --accent-soft: #f6e8c0;
    --ink: #1a1a1a;
    --ink-soft: #374151;
    --muted: #6b7280;
    --muted-soft: #9ca3af;
    --line: #e5e7eb;
    --line-soft: #f1f3f5;
    --bg: #ffffff;
    --cream: #faf8f3;
    --surface: #f8fafc;
    --success: #10b981;
    --danger: #dc2626;
    --warning: #f59e0b;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.04);
    --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    --font-head: "Playfair Display", "Pretendard Variable", Pretendard, Georgia, serif;
    --content-max: 1200px;
    --content-gutter: 24px;
    --header-h: 72px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- 2. Reset + base ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--ink);
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin: 0 0 0.6em;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 3px solid rgba(30, 58, 95, 0.35); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 10px; background: var(--primary); color: #fff; padding: .6rem 1rem; z-index: 9999; border-radius: var(--radius-sm); }
.skip-link:focus { left: 10px; }

/* ---------- 3. Layout ------------------------------------- */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--content-gutter); }
.section { padding: 72px 0; }
.section-muted { background: var(--cream); }
.section-dark { background: var(--primary); color: #e6ecf3; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head-light .section-title { color: #fff; }
.section-head-light .section-sub { color: rgba(255, 255, 255, 0.75); }
.section-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dark);
    padding: .3rem .9rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 .5em; }
.section-title-sm { font-size: 1.5rem; margin-bottom: 1rem; color: var(--ink); }
.section-sub { font-size: 1.05rem; color: var(--muted); margin: 0; }
.section-actions { text-align: center; margin-top: 40px; }
.grid-main-sidebar { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.grid-sidebar-main { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.muted { color: var(--muted); }

/* ---------- 4. Components --------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.4rem;
    font-weight: 600;
    font-size: .95rem;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    transition: transform .15s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .2s var(--ease);
    white-space: nowrap;
    line-height: 1.2;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #2b1f00; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--line-soft); color: var(--primary); }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; border-radius: var(--radius); }
.btn-block { width: 100%; display: flex; }
.btn-label { display: inline-block; }
.btn-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.is-loading .btn-spinner { display: inline-block; }
.is-loading .btn-label { opacity: 0.55; }
@keyframes spin { to { transform: rotate(360deg); } }

.tag {
    display: inline-flex;
    align-items: center;
    font-size: .78rem;
    padding: .24rem .6rem;
    border-radius: 999px;
    background: var(--line-soft);
    color: var(--muted);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.tag-primary { background: var(--primary-100); color: var(--primary); }
.tag-accent { background: var(--accent-soft); color: var(--accent-dark); }
.tag-sm { font-size: .72rem; padding: .18rem .5rem; }

.form-label { display: block; font-weight: 600; margin-bottom: .45rem; color: var(--ink); }
.form-label .required { color: var(--danger); margin-left: 2px; }
.form-input {
    width: 100%;
    padding: .85rem 1rem;
    font-size: 1rem;
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .15s var(--ease), box-shadow .2s var(--ease);
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1); outline: none; }
.form-textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-help { font-size: .82rem; color: var(--muted); display: block; margin-top: .35rem; }
.form-error { font-size: .85rem; color: var(--danger); display: block; margin-top: .35rem; min-height: 1.2em; }
.form-input.is-error { border-color: var(--danger); }
.check-inline { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .93rem; }
.check-inline input { accent-color: var(--primary); }
.check-btn { position: relative; display: block; }
.check-btn input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-btn span {
    display: block;
    text-align: center;
    padding: .6rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    font-size: .92rem;
    font-weight: 500;
    transition: all .18s var(--ease);
    cursor: pointer;
}
.check-btn input:checked + span { border-color: var(--primary); background: var(--primary-100); color: var(--primary); font-weight: 600; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: .6rem; }
.form-check-agree { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: 1rem; background: var(--cream); border-radius: var(--radius); }
.form-check-agree .form-error { flex-basis: 100%; margin: 0; }
.form-privacy-link { font-size: .85rem; color: var(--muted); text-decoration: underline; }
.form-actions { margin-top: 1.5rem; }
.form-result { margin-top: 1.25rem; padding: 1rem; border-radius: var(--radius); font-weight: 500; }
.form-result.is-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-result.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.ico { display: inline-block; width: 1em; height: 1em; margin-right: .35rem; vertical-align: -2px; }
.ico::before {
    content: "";
    display: inline-block;
    width: 1em; height: 1em;
    background: currentColor;
    mask: var(--ico) center / contain no-repeat;
    -webkit-mask: var(--ico) center / contain no-repeat;
}
.ico-phone { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6A19.79 19.79 0 012.12 4.18 2 2 0 014.11 2h3a2 2 0 012 1.72c.12.9.33 1.78.63 2.62a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.46-1.45a2 2 0 012.11-.45c.84.3 1.72.51 2.62.63a2 2 0 011.72 2z"/></svg>'); }
.ico-clock { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>'); }
.ico-check { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>'); color: var(--success); }
.ico-users { --ico: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87"/><path d="M16 3.13a4 4 0 010 7.75"/></svg>'); }

/* ---------- 5. Header & topbar ---------------------------- */
.site-wrapper { min-height: 100dvh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.topbar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: .82rem;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 8px 0; flex-wrap: wrap; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 16px; }
.topbar-item a { color: inherit; }
.topbar-cta .topbar-link {
    color: var(--accent);
    font-weight: 600;
    transition: color .15s;
}
.topbar-cta .topbar-link:hover { color: #fff; }

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: box-shadow .2s var(--ease), border-color .2s var(--ease), padding .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-branding { display: flex; align-items: center; }
.site-title { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.site-title:hover { color: var(--primary); }
.site-logo-link, .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.site-logo-img, .custom-logo { display: block; max-height: 40px; width: auto; height: auto; }
@media (min-width: 768px) {
    .site-logo-img, .custom-logo { max-height: 48px; }
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}
.brand-text { letter-spacing: -0.02em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.primary-menu > li > a {
    color: var(--ink);
    font-weight: 500;
    font-size: .95rem;
    padding: .5rem 0;
    position: relative;
}
.primary-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .2s var(--ease);
}
.primary-menu > li > a:hover::after,
.primary-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.primary-menu > li > a:hover { color: var(--primary); }
.nav-cta { margin-left: 8px; }

.menu-toggle {
    display: none;
    position: relative;
    width: 38px; height: 38px;
    border-radius: 10px;
}
.menu-toggle span {
    position: absolute;
    left: 9px; right: 9px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 18px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* ---------- 6. Footer ------------------------------------- */
.cta-band { background: var(--primary); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top right, rgba(212, 168, 67, 0.18), transparent 50%);
    pointer-events: none;
}
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; }
.cta-band-copy h2 { margin: 0 0 .5em; font-size: clamp(1.5rem, 2.4vw, 2rem); color: #fff; }
.cta-band-copy p { margin: 0; color: rgba(255, 255, 255, 0.78); }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: #0f1b2d; color: rgba(255, 255, 255, 0.75); padding: 64px 0 0; margin-top: auto; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { font-size: 1.4rem; color: #fff; margin: 0 0 .5rem; font-family: var(--font-head); }
.footer-slogan { color: rgba(255, 255, 255, 0.65); font-size: .92rem; margin-bottom: 1.3rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.footer-contact li { margin-bottom: .5rem; color: rgba(255, 255, 255, 0.7); }
.footer-contact strong { color: #fff; margin-right: .4rem; font-weight: 600; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-contact a:hover { color: var(--accent); }
.widget-title { font-family: var(--font-head); color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255, 255, 255, 0.72); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-map, .footer-map-placeholder { aspect-ratio: 16/9; background: #1a2a3e; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.footer-map iframe { width: 100%; height: 100%; border: 0; }
.footer-map-placeholder span { color: rgba(255, 255, 255, 0.35); font-size: .85rem; }
.footer-map-note { color: rgba(255, 255, 255, 0.55); font-size: .82rem; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0; background: rgba(0, 0, 0, 0.2); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255, 255, 255, 0.5); }
.footer-bottom-inner p { margin: 0; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; }
.footer-menu a { color: rgba(255, 255, 255, 0.6); }

/* ---------- 7. Hero --------------------------------------- */
.hero { position: relative; padding: 96px 0 120px; overflow: hidden; background: var(--cream); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-pattern {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(30, 58, 95, 0.08), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(212, 168, 67, 0.12), transparent 55%),
        radial-gradient(circle at 65% 85%, rgba(30, 58, 95, 0.05), transparent 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-copy .hero-eyebrow {
    display: inline-block;
    background: rgba(30, 58, 95, 0.08);
    color: var(--primary);
    padding: .35rem 1rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 1rem;
}
.hero-title .accent { color: var(--primary); }
.hero-desc { font-size: 1.1rem; color: var(--ink-soft); max-width: 560px; margin: 0 0 2rem; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.hero-badges li { display: inline-flex; align-items: center; }
.hero-badges li .ico { color: var(--success); }

.hero-visual { position: relative; min-height: 280px; }
.hero-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.4rem;
    box-shadow: var(--shadow-lg);
}
.hero-card-label { font-size: .8rem; color: var(--muted); display: block; margin-bottom: .35rem; }
.hero-card-value {
    font-family: var(--font-head);
    font-size: 2.4rem;
    color: var(--primary);
    display: block;
    line-height: 1;
}
.hero-card-value span { font-size: .9rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.hero-card-sub { font-size: .82rem; color: var(--muted); display: block; margin-top: .4rem; }
.hero-card-1 { top: 10%; left: 5%; }
.hero-card-2 { top: 40%; right: 10%; background: var(--primary); color: #fff; }
.hero-card-2 .hero-card-label, .hero-card-2 .hero-card-sub { color: rgba(255, 255, 255, 0.7); }
.hero-card-2 .hero-card-value { color: var(--accent); }
.hero-card-3 { bottom: 5%; left: 18%; border-color: var(--accent); }
.hero-card-3 .hero-card-value { color: var(--accent-dark); }

/* Page hero (narrow variant) */
.page-hero { background: var(--primary); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(212, 168, 67, 0.15), transparent 60%);
}
.page-hero-sm { padding: 56px 0; }
.page-hero-title { color: #fff; font-size: clamp(1.75rem, 4vw, 3rem); margin: 0 0 .5em; font-family: var(--font-head); }
.page-hero-sub { color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; margin: 0; max-width: 680px; }
.page-hero-badge { display: inline-block; padding: .3rem .8rem; background: var(--accent); color: #2b1f00; border-radius: 999px; font-size: .78rem; font-weight: 600; margin-bottom: 1rem; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 8. Home sections ------------------------------ */
.stats-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.stat-card { text-align: center; }
.stat-value {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.stat-unit { font-size: 0.55em; color: var(--accent-dark); margin-left: 2px; }
.stat-label { font-size: .92rem; color: var(--muted); margin-top: .35rem; }

.usp-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.usp-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.usp-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    background: var(--primary-100);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
}
.usp-icon svg { width: 28px; height: 28px; }
.usp-card h3 { font-size: 1.25rem; margin: 0 0 .5em; }
.usp-card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* Grid system — auto-fill minmax (responsive without media queries).
 * .class-grid / .teacher-grid / .blog-grid / .testimonial-grid / .review-grid
 * all use the same responsive pattern so cards flow from 1 to N columns
 * based on container width, avoiding media-query breakpoint drift.
 */
.class-grid,
.teacher-grid,
.blog-grid,
.testimonial-grid,
.review-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.blog-grid { gap: 28px; }
.review-grid { gap: 20px; }
.teacher-grid-full { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.class-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
    display: flex; flex-direction: column;
}
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.class-card-thumb { display: block; aspect-ratio: 3/2; position: relative; background: var(--line-soft); overflow: hidden; }
.class-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.class-card:hover .class-card-thumb img { transform: scale(1.05); }
.class-card-thumb-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-head);
}
.class-card-subject-mark { font-size: 4rem; font-weight: 700; }
.class-card-status { position: absolute; top: 12px; right: 12px; background: var(--accent); color: #2b1f00; padding: .25rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.class-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.class-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .7rem; }
.class-card-title { font-size: 1.15rem; margin: 0 0 .6em; font-family: var(--font-head); }
.class-card-title a { color: var(--ink); }
.class-card-title a:hover { color: var(--primary); }
.class-card-meta { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--muted); }
.class-card-meta li { margin-bottom: .25rem; }
.class-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.class-card-price { font-family: var(--font-head); color: var(--primary); font-weight: 700; font-size: 1.15rem; }
.class-card-price small { color: var(--muted); font-weight: 500; margin-left: 3px; font-size: .75rem; }
.class-card-demo .class-card-thumb { cursor: default; }

.teacher-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.teacher-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.teacher-avatar-wrap { display: inline-block; }
.teacher-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 3px solid var(--line); }
.teacher-avatar-fallback {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
}
.teacher-name { font-size: 1.15rem; margin: 0 0 .2em; }
.teacher-name a { color: var(--ink); }
.teacher-role { color: var(--primary); font-weight: 600; font-size: .9rem; margin: 0 0 .6rem; }
.teacher-role-lg { color: #fff; font-size: 1.1rem; margin: .5rem 0; font-weight: 500; opacity: 0.85; }
.teacher-school { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); padding: .15rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: .6rem; }
.teacher-subjects { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; margin-bottom: .75rem; }
.teacher-bio { font-size: .88rem; color: var(--muted); margin: 0 0 .8rem; }
.teacher-link { font-size: .85rem; color: var(--primary); font-weight: 500; }

.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; gap: 20px; transition: transform .35s var(--ease); will-change: transform; }
.testimonial-card {
    flex: 0 0 100%;
    background: #fff;
    color: var(--ink-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.testimonial-rating { color: var(--accent); margin-bottom: 1rem; font-size: 1rem; }
.testimonial-rating .star { opacity: 0.3; }
.testimonial-rating .star.is-filled { opacity: 1; }
.testimonial-quote { margin: 0 0 1.2rem; font-style: italic; color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.testimonial-quote p { margin: 0; }
.testimonial-meta strong { color: var(--primary); display: block; }
.testimonial-meta { font-size: .88rem; color: var(--muted); }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testimonial-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: background .18s var(--ease), transform .18s var(--ease); }
.testimonial-dots button.is-active { background: var(--accent); transform: scale(1.3); }
.review-grid .testimonial-card { background: var(--cream); }

.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-thumb { display: block; aspect-ratio: 3/2; background: var(--line-soft); overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-thumb-placeholder { background: linear-gradient(135deg, var(--primary-100), var(--cream)); }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: .5rem; }
.blog-card-meta { font-size: .82rem; color: var(--muted); }
.blog-card-cat { color: var(--primary); font-weight: 600; }
.blog-card-title { font-size: 1.15rem; margin: 0; font-family: var(--font-head); }
.blog-card-title a { color: var(--ink); }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { color: var(--muted); font-size: .92rem; margin: 0; }
.blog-card-excerpt p { margin: 0; }
.blog-card-more { font-size: .88rem; color: var(--primary); font-weight: 500; margin-top: .5rem; }

.cta-center { background: var(--cream); }
.cta-center-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-center-title { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: 0 0 1rem; }
.cta-center-sub { color: var(--muted); margin: 0 0 1.5rem; font-size: 1.05rem; }
.cta-center-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.consult-inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
.consult-copy .section-title { text-align: left; }
.consult-checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.consult-checklist li { padding: .35rem 0; color: var(--ink-soft); font-weight: 500; display: flex; align-items: center; }

.faq-section { background: var(--cream); }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-list { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 1.5rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    transition: background .15s var(--ease);
}
.faq-q:hover { background: var(--surface); }
.faq-q-icon { color: var(--primary); font-size: 1.3rem; transition: transform .25s var(--ease); font-weight: 400; }
.faq-item.is-open .faq-q-icon { transform: rotate(45deg); }
.faq-a { padding: 0 1.5rem 1.5rem; color: var(--ink-soft); }
.faq-a p { margin: 0; }
.faq-item.is-open .faq-a { animation: fadein .25s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- 9. CPT archive + single ----------------------- */
.archive-filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.filter-group + .filter-group { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.filter-title { font-size: .95rem; color: var(--ink); margin: 0 0 .8rem; }
.filter-check { display: flex; align-items: center; gap: .5rem; padding: .4rem 0; font-size: .92rem; cursor: pointer; color: var(--ink-soft); }
.filter-check input { accent-color: var(--primary); }
.filter-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.filter-day { position: relative; display: block; }
.filter-day input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.filter-day span { display: block; text-align: center; padding: .45rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .85rem; background: var(--bg); cursor: pointer; }
.filter-day input:checked + span, .filter-day.is-active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-actions { margin-top: 1.5rem; }
.filter-reset { display: block; text-align: center; margin-top: .5rem; font-size: .85rem; color: var(--muted); text-decoration: underline; }

.archive-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.archive-count { color: var(--muted); font-size: .92rem; }
.archive-count strong { color: var(--primary); }
.archive-sort select { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--cream); border-radius: var(--radius-lg); }
.empty-state p { color: var(--muted); margin-bottom: 1rem; }

.mml-pagination { margin-top: 48px; }
.mml-pagination ul.page-numbers { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 0; flex-wrap: wrap; }
.mml-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-soft); font-size: .9rem; }
.mml-pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.mml-pagination .page-numbers:hover:not(.current) { border-color: var(--primary); color: var(--primary); }

.page-hero-class { padding-bottom: 32px; }
.class-hero { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 20px; }
.class-hero-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1rem; }
.class-hero-desc { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 600px; }
.class-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.class-hero-meta { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(4px); }
.class-info-list { margin: 0; padding: 0; display: grid; gap: 16px; }
.class-info-list > div { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.class-info-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.class-info-list dt { color: rgba(255, 255, 255, 0.7); font-size: .88rem; margin: 0; }
.class-info-list dd { color: #fff; font-weight: 600; margin: 0; font-size: .95rem; text-align: right; }
.class-info-price { color: var(--accent) !important; font-family: var(--font-head); font-size: 1.3rem !important; }
.class-info-price small { color: rgba(255, 255, 255, 0.6); font-weight: 400; font-size: .75rem; margin-left: 3px; }

.single-thumb { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.class-curriculum, .class-teacher { margin-top: 40px; }
.curriculum-steps { list-style: none; counter-reset: curr; padding: 0; margin: 0; }
.curriculum-steps li { position: relative; padding: 18px 0 18px 56px; border-bottom: 1px solid var(--line-soft); }
.curriculum-steps li::before {
    counter-increment: curr;
    content: counter(curr, decimal-leading-zero);
    position: absolute; left: 0; top: 18px;
    font-family: var(--font-head);
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
}
.curriculum-steps strong { color: var(--ink); display: block; margin-bottom: .2rem; }
.teacher-inline { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); transition: border-color .15s; }
.teacher-inline:hover { border-color: var(--primary); }
.teacher-inline-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.teacher-inline-body strong { display: block; font-family: var(--font-head); color: var(--primary); font-size: 1.05rem; }
.teacher-inline-body em { font-style: normal; color: var(--muted); font-size: .88rem; }

.page-hero-teacher { padding: 72px 0 48px; }
.teacher-hero { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin-top: 20px; }
.teacher-hero-avatar img, .teacher-hero-avatar .teacher-avatar-fallback { width: 160px; height: 160px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.2); margin: 0 auto; }
.teacher-hero-copy { text-align: center; }
.teacher-hero-tags { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 1rem; }
.teacher-hero-tags .tag-primary { background: var(--accent); color: #2b1f00; }
.facts-list { margin: 0; display: grid; gap: 16px; }
.facts-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.facts-list dt { font-weight: 600; color: var(--primary); margin: 0; }
.facts-list dd { margin: 0; color: var(--ink-soft); }
.teacher-bio, .teacher-facts, .teacher-classes, .teacher-reviews { margin-bottom: 32px; }
.class-grid-compact { grid-template-columns: 1fr; }

/* ---------- 10. Pages ------------------------------------- */
.consult-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
.consult-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.consultation-form.is-compact .form-row { grid-template-columns: 1fr; }
.consultation-form.is-compact .form-check-agree { background: transparent; padding: 0; }
.consult-sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.consult-sidebar-card h3 { font-size: 1.05rem; margin: 0 0 1rem; color: var(--primary); }
.consult-steps { list-style: none; padding: 0; margin: 0; }
.consult-steps li { padding: .5rem 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); font-size: .92rem; }
.consult-steps li:last-child { border-bottom: 0; }
.consult-steps strong { color: var(--primary); margin-right: .35rem; }
.consult-promise-list { list-style: none; padding: 0; margin: 0; }
.consult-promise-list li { padding: .4rem 0; font-size: .92rem; display: flex; align-items: center; color: var(--ink-soft); }
.consult-phone { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--primary); font-weight: 700; margin-bottom: .3rem; }
.privacy-detail { margin-top: 1rem; background: var(--cream); padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.privacy-detail summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.privacy-body { margin-top: 1rem; font-size: .88rem; color: var(--ink-soft); line-height: 1.7; }
.privacy-body p { margin-bottom: .5rem; }

.tuition-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
.tuition-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tuition-card.is-highlight { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); transform: scale(1.02); }
.tuition-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tuition-card.is-highlight:hover { transform: scale(1.02) translateY(-4px); }
.tuition-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #2b1f00; padding: .35rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: 0.02em; }
.tuition-name { font-size: 1.35rem; text-align: center; margin: 0 0 1rem; color: var(--primary); }
.tuition-price { text-align: center; margin: 0 0 1.5rem; font-family: var(--font-head); }
.tuition-price strong { font-size: 3rem; color: var(--ink); font-weight: 800; }
.tuition-price span { font-size: .95rem; color: var(--muted); margin-left: 4px; }
.tuition-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tuition-features li { padding: .6rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); font-size: .93rem; display: flex; align-items: center; }
.tuition-features li:last-child { border-bottom: 0; }
.tuition-extras { margin: 48px 0; }
.tuition-extras-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.tuition-extra { background: var(--cream); padding: 24px; border-radius: var(--radius-lg); }
.tuition-extra h3 { font-size: 1.1rem; margin: 0 0 .5em; color: var(--primary); }
.tuition-extra p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.tuition-notes { background: var(--surface); padding: 28px 32px; border-radius: var(--radius-lg); border-left: 4px solid var(--primary); }
.notes-list { padding-left: 1.2rem; color: var(--muted); margin: 0; }
.notes-list li { margin-bottom: .5rem; font-size: .92rem; }

.location-map { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--line-soft); margin-bottom: 32px; }
.location-map iframe { width: 100%; height: 100%; border: 0; }
.location-map-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-100), var(--cream)); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.location-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
.location-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.location-card h3 { font-size: 1.05rem; margin: 0 0 .5em; color: var(--primary); }
.location-card p { margin: 0 0 .3rem; font-size: .92rem; color: var(--ink-soft); }
.location-cta { text-align: center; padding: 32px; background: var(--cream); border-radius: var(--radius-lg); }
.location-cta p { margin-bottom: 1rem; color: var(--ink-soft); }

.about-story, .about-values, .about-timeline, .about-cta { margin-bottom: 48px; }
.about-story p { font-size: 1.05rem; color: var(--ink-soft); max-width: 760px; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: relative; transition: transform .2s, box-shadow .2s; }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value-num { font-family: var(--font-head); color: var(--accent); font-size: 2.5rem; font-weight: 800; line-height: 1; display: block; margin-bottom: .5rem; }
.value-card h3 { font-size: 1.15rem; margin: 0 0 .5em; color: var(--primary); }
.value-card p { margin: 0; color: var(--ink-soft); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; border-left: 2px solid var(--primary); padding-left: 24px; }
.timeline li { position: relative; padding: .8rem 0; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 1.1rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid var(--primary); }
.timeline strong { color: var(--primary); font-family: var(--font-head); margin-right: .5rem; font-size: 1.05rem; }
.about-cta-inner { text-align: center; padding: 48px 32px; background: var(--primary); color: #fff; border-radius: var(--radius-lg); }
.about-cta-inner h2 { color: #fff; font-size: 1.8rem; }
.about-cta-inner p { color: rgba(255, 255, 255, 0.8); margin-bottom: 1.5rem; }

/* 404 */
.error-404 { padding: 96px 0; background: var(--cream); text-align: center; }
.error-404-inner { max-width: 560px; margin: 0 auto; }
.error-404-num { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); color: var(--primary); font-weight: 800; line-height: 1; margin-bottom: 1rem; opacity: 0.15; }
.error-404-title { font-size: 1.8rem; margin-bottom: 1rem; }
.error-404-desc { color: var(--muted); margin-bottom: 2rem; }
.error-404-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 3rem; }
.error-404-search { margin-top: 2rem; }
.error-404-search h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.search-field { flex: 1; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); }
.search-submit { padding: .75rem 1.4rem; background: var(--primary); color: #fff; border-radius: var(--radius); font-weight: 600; }
.search-submit:hover { background: var(--primary-dark); }

/* ---------- 11. Blog single + sidebar --------------------- */
.single-meta { color: rgba(255, 255, 255, 0.7); font-size: .9rem; margin-bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.single-cat { color: var(--accent); font-weight: 600; }
.single-title { max-width: 900px; }
.single-post .entry-content { font-size: 1.02rem; line-height: 1.85; }
.single-post .entry-content h2 { margin-top: 2.5rem; font-size: 1.75rem; color: var(--primary); }
.single-post .entry-content h3 { margin-top: 2rem; font-size: 1.3rem; }
.single-post .entry-content p { margin-bottom: 1.2rem; }
.single-post .entry-content blockquote { border-left: 4px solid var(--accent); padding: .8rem 1.5rem; margin: 1.5rem 0; background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-soft); font-style: italic; }
.single-tags { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .88rem; color: var(--muted); }
.single-tags a { color: var(--primary); padding: .3rem .7rem; background: var(--surface); border-radius: var(--radius-sm); }
.widget { margin-bottom: 32px; }
.widget-cta-sticky { background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 28px; border-radius: var(--radius-lg); text-align: center; position: sticky; top: calc(var(--header-h) + 16px); }
.widget-cta-sticky .widget-title { color: #fff; text-transform: none; letter-spacing: 0; font-size: 1.1rem; }
.widget-cta-sticky p { color: rgba(255, 255, 255, 0.82); font-size: .92rem; margin-bottom: 1.2rem; }
.widget-cta-sticky .btn-primary { background: var(--accent); color: #2b1f00; border-color: var(--accent); }
.widget-cta-sticky .btn-primary:hover { background: var(--accent-dark); color: #fff; }
.widget-note { color: rgba(255, 255, 255, 0.55); font-size: .78rem; margin: .8rem 0 0; }
.no-posts { text-align: center; color: var(--muted); padding: 48px; }

/* ---------- 12. Responsive -------------------------------- */
/* Card grids (.class-grid / .teacher-grid / .blog-grid / .review-grid /
 * .testimonial-grid / .teacher-grid-full) auto-flow via `auto-fill minmax`
 * declared earlier — no per-breakpoint column rules needed here.
 * Only non-card layout grids (footer/hero/sidebar/tuition/etc.) break by MQ.
 */
@media (min-width: 560px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .values-grid, .location-grid, .tuition-extras-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .section { padding: 96px 0; }
    .usp-grid { grid-template-columns: repeat(3, 1fr); }
    .class-grid-cols-1 { grid-template-columns: 1fr; }
    .class-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .class-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .teacher-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .teacher-grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
    .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
    .tuition-grid { grid-template-columns: repeat(3, 1fr); }
    .consult-layout { grid-template-columns: 2fr 1fr; }
    .consult-inner { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .location-grid { grid-template-columns: repeat(2, 1fr); }
    .tuition-extras-grid { grid-template-columns: repeat(3, 1fr); }
    .teacher-hero { grid-template-columns: 200px 1fr; text-align: left; }
    .teacher-hero-copy { text-align: left; }
    .teacher-hero-tags { justify-content: flex-start; }
    .class-hero { grid-template-columns: 1.5fr 1fr; }
    .class-grid-compact { grid-template-columns: repeat(2, 1fr); }
    .grid-main-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
    .grid-sidebar-main { grid-template-columns: 260px minmax(0, 1fr); }
    .hero { padding: 120px 0 150px; }
    .hero-inner { grid-template-columns: 1.15fr 1fr; }
    .hero-visual { min-height: 420px; }
}

@media (min-width: 1024px) {
    .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
    .usp-grid { gap: 32px; }
    .testimonial-card { flex: 0 0 calc((100% - 20px * 2) / 3); }
}

@media (max-width: 767px) {
    :root { --header-h: 64px; }
    .topbar-hours { display: none; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 0;
        transform: translateY(-10px);
        opacity: 0; pointer-events: none;
        transition: transform .22s var(--ease), opacity .22s var(--ease);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
    }
    .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .primary-menu { flex-direction: column; gap: 0; }
    .primary-menu > li > a { padding: .9rem 24px; display: block; border-bottom: 1px solid var(--line-soft); }
    .primary-menu > li > a::after { display: none; }
    .nav-cta { margin: 16px 24px 0; text-align: center; }
    .hero { padding: 48px 0 72px; }
    .hero-visual { display: none; }
    .hero-card-2, .hero-card-3 { display: none; }
    .page-hero { padding: 48px 0; }
    .section { padding: 56px 0; }
    .archive-filters { position: static; margin-bottom: 24px; }
    .widget-cta-sticky { position: static; }
    .tuition-card.is-highlight { transform: none; }
    .tuition-card.is-highlight:hover { transform: translateY(-4px); }
    .class-info-list > div { flex-direction: column; align-items: flex-start; gap: 4px; }
    .class-info-list dd { text-align: left; }
    .facts-list > div { grid-template-columns: 1fr; gap: 4px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .testimonial-card { padding: 24px; }
    .cta-band-actions, .cta-center-actions, .hero-actions { flex-direction: column; align-items: stretch; }
    .cta-band-actions .btn, .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    :root { --content-gutter: 16px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.45rem; }
    .hero-title { font-size: 1.9rem; }
    .topbar-info { font-size: .75rem; gap: 8px; }
    .topbar-cta { display: none; }
    .filter-days { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 13. Motion + print ---------------------------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-in.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .fade-in { opacity: 1; transform: none; }
}

@media print {
    body { background: #fff; color: #000; }
    .site-header, .topbar, .cta-band, .site-footer, .widget-cta-sticky, .hero-visual, .menu-toggle { display: none !important; }
    .page-hero { background: #fff !important; color: #000 !important; padding: 20px 0; }
    .page-hero-title, .page-hero-sub { color: #000 !important; }
    a { color: #000; text-decoration: underline; }
    .section { padding: 20px 0; }
    .btn { border: 1px solid #000; }
}

/* MML-T6-VARS-BEGIN — Theme Contract v1 externalization tokens (added 2026-04-23) */
:root {
    --radius-card: var(--radius, 12px);
    --radius-hero: var(--radius-lg, 20px);
    --shadow-hero: 0 20px 48px rgba(15, 23, 42, 0.18), 0 6px 12px rgba(15, 23, 42, 0.08);
    --shadow-card: var(--shadow, 0 4px 12px rgba(15, 23, 42, 0.08));
    --mml-transition-fast: 120ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1));
    --mml-transition: 200ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1));
    --mml-transition-slow: 400ms var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1));
}
/* MML-T6-VARS-END */

/* ---------- 5b. Sub-menu dropdown (2026-04-24 — universal across child themes) ---------- */
.main-nav li,
.primary-menu > li,
.glass-nav .menu > li,
.minimal-nav .menu > li,
.mml-retro-nav > li,
.mml-clay-nav > li,
.brut-nav > li,
.cy-nav > li,
nav ul.menu > li { position: relative; }

.main-nav .sub-menu,
.primary-menu .sub-menu,
.glass-nav .sub-menu,
.minimal-nav .sub-menu,
.mml-retro-nav .sub-menu,
.mml-clay-nav .sub-menu,
.brut-nav .sub-menu,
.cy-nav .sub-menu,
nav ul.menu .sub-menu,
nav ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    z-index: 200;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu,
.glass-nav li:hover > .sub-menu,
.glass-nav li:focus-within > .sub-menu,
.minimal-nav li:hover > .sub-menu,
.minimal-nav li:focus-within > .sub-menu,
.mml-retro-nav li:hover > .sub-menu,
.mml-retro-nav li:focus-within > .sub-menu,
.mml-clay-nav li:hover > .sub-menu,
.mml-clay-nav li:focus-within > .sub-menu,
nav ul.menu li:hover > .sub-menu,
nav ul.menu li:focus-within > .sub-menu,
nav ul > li:hover > .sub-menu,
nav ul > li:focus-within > .sub-menu { display: block; }

.sub-menu li { list-style: none; margin: 0; }
.sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--ink, #0f172a);
    font-size: 0.92rem;
    white-space: nowrap;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.sub-menu li a:hover,
.sub-menu li a:focus { background: var(--primary, #1a365d); color: #fff; }

.menu-item-has-children > a::after {
    content: " \25BE";
    font-size: 0.7em;
    opacity: 0.6;
    margin-left: 4px;
}

/* ---------- 12b. Mobile sub-menu (static, collapsed by default) ---------- */
@media (max-width: 767px) {
    .main-nav .sub-menu,
    .primary-menu .sub-menu,
    .glass-nav .sub-menu,
    .minimal-nav .sub-menu,
    .mml-retro-nav .sub-menu,
    .mml-clay-nav .sub-menu,
    .brut-nav .sub-menu,
    .cy-nav .sub-menu,
    nav .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 24px;
        min-width: 0;
    }
    .main-nav .menu-item-has-children > .sub-menu,
    .primary-menu .menu-item-has-children > .sub-menu,
    nav .menu-item-has-children > .sub-menu { display: none; }
    .main-nav .menu-item-has-children.is-open > .sub-menu,
    .primary-menu .menu-item-has-children.is-open > .sub-menu,
    nav .menu-item-has-children.is-open > .sub-menu { display: block; }
    .menu-item-has-children > a::after { content: " +"; }
    .menu-item-has-children.is-open > a::after { content: " \2212"; }
    body.nav-open { overflow: hidden; }
}

/* ---------- 12c. Mobile slide-in nav for ALL style child themes (2026-04-24) ---------- */
@media (max-width: 767px) {
    /* Show hamburger */
    .menu-toggle { display: flex !important; align-items: center; justify-content: center; }

    /* All nav containers slide in */
    .glass-nav,
    .minimal-nav,
    .brut-nav,
    .cy-nav,
    .mml-retro-nav-wrap,
    .mml-clay-nav {
        position: fixed !important;
        inset: var(--header-h, 64px) 0 auto !important;
        background: #fff;
        color: var(--ink, #0f172a);
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px 0 !important;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform .22s, opacity .22s;
        border-bottom: 1px solid var(--line, #e5e7eb);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
        max-height: calc(100dvh - var(--header-h, 64px));
        overflow-y: auto;
        z-index: 90;
        gap: 0 !important;
    }
    .glass-nav.is-open,
    .minimal-nav.is-open,
    .brut-nav.is-open,
    .cy-nav.is-open,
    .mml-retro-nav-wrap.is-open,
    .mml-clay-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }

    /* menu-item links vertical */
    .glass-nav a,
    .minimal-nav a,
    .brut-nav a,
    .brut-nav .menu-item,
    .cy-nav a,
    .cy-nav .menu-item,
    .mml-retro-nav a,
    .mml-clay-nav a {
        display: block !important;
        padding: 14px 24px !important;
        width: 100%;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        color: var(--ink, #0f172a) !important;
        font-size: 1rem !important;
        text-align: left !important;
    }
    .glass-nav ul,
    .minimal-nav ul,
    .mml-retro-nav,
    .mml-clay-nav {
        flex-direction: column !important;
        gap: 0 !important;
        list-style: none;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* ---------- Demo tenant — suppress duplicate banners (2026-04-24) ---------- */
body.is-demo-tenant .topbar { display: none; }
body.is-demo-tenant .counter-bar { display: none; }
body.is-demo-tenant .demo-banner { padding: 6px 0; font-size: 0.85rem; }
body.is-demo-tenant .mml-features-banner { padding: 4px 0; font-size: 0.85rem; }
body.is-demo-tenant .event-banner { font-size: 0.9rem; }

/* =========================================================
 * Child-theme skin for FOR 학원장 + DEMO banners (2026-04-24)
 * Selector: wp-child-theme-mml-academy-<slug> (WP core auto class)
 * ========================================================= */

/* ---------- BRUTALIST ---------- */
body.wp-child-theme-mml-academy-brutalist .mml-features-banner {
    background: #facc15 !important;
    border-bottom: 4px solid #000 !important;
}
body.wp-child-theme-mml-academy-brutalist .mml-features-banner-tag {
    background: #000 !important;
    color: #facc15 !important;
    padding: 4px 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 0;
}
body.wp-child-theme-mml-academy-brutalist .mml-features-banner-text {
    color: #000 !important;
    font-weight: 700;
}
body.wp-child-theme-mml-academy-brutalist .mml-features-banner-cta {
    background: #000 !important;
    color: #facc15 !important;
    padding: 4px 12px;
    border: 2px solid #000;
    font-weight: 900;
}
body.wp-child-theme-mml-academy-brutalist .demo-banner {
    background: #000 !important;
    color: #facc15 !important;
    border-bottom: 4px solid #facc15 !important;
}
body.wp-child-theme-mml-academy-brutalist .demo-link {
    color: #facc15 !important;
    text-decoration: underline;
}

/* ---------- GLASS ---------- */
body.wp-child-theme-mml-academy-glass .mml-features-banner {
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(220,230,255,0.5)) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(126, 34, 206, 0.15) !important;
}
body.wp-child-theme-mml-academy-glass .mml-features-banner-tag {
    background: linear-gradient(135deg, #7e22ce, #ec4899) !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 3px 14px;
    font-weight: 600;
}
body.wp-child-theme-mml-academy-glass .mml-features-banner-text {
    color: #1e1b4b !important;
    font-family: "Fraunces", serif;
    font-style: italic;
}
body.wp-child-theme-mml-academy-glass .mml-features-banner-cta {
    background: rgba(126, 34, 206, 0.9) !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 4px 14px;
}
body.wp-child-theme-mml-academy-glass .demo-banner {
    background: rgba(255,255,255,0.6) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #1e1b4b !important;
    border-bottom: 1px solid rgba(30, 27, 75, 0.08) !important;
}
body.wp-child-theme-mml-academy-glass .demo-link {
    color: #7e22ce !important;
}

/* ---------- EDITORIAL ---------- */
body.wp-child-theme-mml-academy-editorial .mml-features-banner {
    background: #fbf7ef !important;
    border-bottom: 1px solid #1c1917 !important;
    color: #1c1917;
    font-family: "Playfair Display", "Noto Serif KR", serif;
}
body.wp-child-theme-mml-academy-editorial .mml-features-banner-tag {
    background: #1c1917 !important;
    color: #fbf7ef !important;
    font-family: "Playfair Display", serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 0;
    font-weight: 700;
}
body.wp-child-theme-mml-academy-editorial .mml-features-banner-text {
    color: #1c1917 !important;
    font-family: "Playfair Display", "Noto Serif KR", serif;
}
body.wp-child-theme-mml-academy-editorial .mml-features-banner-cta {
    color: #1c1917 !important;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    font-weight: 600;
}
body.wp-child-theme-mml-academy-editorial .demo-banner {
    background: #f7efdf !important;
    border-bottom: 1px double #1c1917 !important;
    color: #1c1917 !important;
    font-family: "Playfair Display", "Noto Serif KR", serif;
}
body.wp-child-theme-mml-academy-editorial .demo-link {
    color: #991b1b !important;
    border-bottom: 1px solid currentColor;
}

/* ---------- MINIMAL ---------- */
body.wp-child-theme-mml-academy-minimal .mml-features-banner {
    background: #fafafa !important;
    border-bottom: 1px solid #e5e5e5 !important;
    color: #171717;
    font-family: -apple-system, "SF Pro Text", "Inter", sans-serif;
    font-weight: 400;
}
body.wp-child-theme-mml-academy-minimal .mml-features-banner-tag {
    background: transparent !important;
    color: #737373 !important;
    border: 1px solid #d4d4d4;
    padding: 2px 10px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 4px;
}
body.wp-child-theme-mml-academy-minimal .mml-features-banner-text {
    color: #404040 !important;
    font-weight: 400;
}
body.wp-child-theme-mml-academy-minimal .mml-features-banner-cta {
    color: #000 !important;
    border-bottom: 1px solid #000;
    padding-bottom: 1px;
    font-weight: 500;
}
body.wp-child-theme-mml-academy-minimal .demo-banner {
    background: #f5f5f5 !important;
    color: #525252 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    font-size: 0.82rem !important;
}
body.wp-child-theme-mml-academy-minimal .demo-link {
    color: #000 !important;
    border-bottom: 1px solid currentColor;
}

/* ---------- CYBERPUNK ---------- */
body.wp-child-theme-mml-academy-cyberpunk .mml-features-banner {
    background: #0a0e17 !important;
    color: #22d3ee !important;
    border-bottom: 1px solid #22d3ee !important;
    box-shadow: inset 0 -8px 16px rgba(34, 211, 238, 0.1);
    font-family: "JetBrains Mono", monospace;
}
body.wp-child-theme-mml-academy-cyberpunk .mml-features-banner-tag {
    background: transparent !important;
    color: #22d3ee !important;
    border: 1px solid #22d3ee;
    padding: 2px 10px;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.1em;
    text-shadow: 0 0 6px rgba(34, 211, 238, 0.6);
    border-radius: 0;
}
body.wp-child-theme-mml-academy-cyberpunk .mml-features-banner-text {
    color: #a7f3d0 !important;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
}
body.wp-child-theme-mml-academy-cyberpunk .mml-features-banner-cta {
    background: transparent !important;
    color: #ec4899 !important;
    border: 1px solid #ec4899;
    padding: 2px 10px;
    text-shadow: 0 0 6px rgba(236, 72, 153, 0.6);
    font-family: "JetBrains Mono", monospace;
}
body.wp-child-theme-mml-academy-cyberpunk .demo-banner {
    background: #0f172a !important;
    color: #a7f3d0 !important;
    border-bottom: 1px dashed rgba(34, 211, 238, 0.4) !important;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.82rem !important;
}
body.wp-child-theme-mml-academy-cyberpunk .demo-link {
    color: #22d3ee !important;
    text-shadow: 0 0 4px rgba(34, 211, 238, 0.5);
}

/* ---------- JAPANESE (edo) ---------- */
body.wp-child-theme-mml-academy-japanese .mml-features-banner {
    background: #fdf8ed !important;
    border-bottom: 2px double #5c1e1e !important;
    color: #1c1917;
    font-family: "Noto Serif JP", "Noto Serif KR", serif;
}
body.wp-child-theme-mml-academy-japanese .mml-features-banner-tag {
    background: #5c1e1e !important;
    color: #fdf8ed !important;
    padding: 3px 12px;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    border-radius: 0;
    letter-spacing: 0.08em;
}
body.wp-child-theme-mml-academy-japanese .mml-features-banner-text {
    color: #1c1917 !important;
    font-family: "Noto Serif JP", serif;
}
body.wp-child-theme-mml-academy-japanese .mml-features-banner-cta {
    color: #5c1e1e !important;
    border: 1px solid #5c1e1e;
    padding: 2px 10px;
    font-weight: 600;
}
body.wp-child-theme-mml-academy-japanese .demo-banner {
    background: #f5ecd3 !important;
    color: #3a2319 !important;
    border-bottom: 1px solid #5c1e1e !important;
    font-family: "Noto Serif JP", serif;
}
body.wp-child-theme-mml-academy-japanese .demo-link {
    color: #5c1e1e !important;
    border-bottom: 1px solid currentColor;
    font-weight: 600;
}

/* ---------- RETRO (Y2K arcade) ---------- */
body.wp-child-theme-mml-academy-retro .mml-features-banner {
    background: linear-gradient(90deg, #fb7185 0%, #a855f7 50%, #06b6d4 100%) !important;
    color: #fff !important;
    border-bottom: 3px solid #000 !important;
    font-family: "Press Start 2P", monospace;
    font-size: 0.72rem !important;
}
body.wp-child-theme-mml-academy-retro .mml-features-banner-tag {
    background: #000 !important;
    color: #facc15 !important;
    padding: 3px 10px;
    font-family: "Press Start 2P", monospace;
    font-size: 0.62rem;
    border: 2px solid #fff;
    border-radius: 0;
}
body.wp-child-theme-mml-academy-retro .mml-features-banner-text {
    color: #fff !important;
    text-shadow: 2px 2px 0 #000;
    font-family: "Press Start 2P", monospace;
    font-size: 0.62rem;
}
body.wp-child-theme-mml-academy-retro .mml-features-banner-cta {
    background: #ec4899 !important;
    color: #fff !important;
    padding: 3px 10px;
    border: 2px solid #000;
    box-shadow: 3px 3px 0 #000;
    font-family: "Press Start 2P", monospace;
    font-size: 0.62rem;
}
body.wp-child-theme-mml-academy-retro .demo-banner {
    background: #0f0f23 !important;
    color: #06b6d4 !important;
    border-bottom: 1px solid #ec4899 !important;
    font-family: "Press Start 2P", monospace;
    font-size: 0.58rem !important;
}
body.wp-child-theme-mml-academy-retro .demo-link {
    color: #facc15 !important;
    text-shadow: 0 0 4px rgba(250, 204, 21, 0.7);
}

/* ---------- CLAY ---------- */
body.wp-child-theme-mml-academy-clay .mml-features-banner {
    background: linear-gradient(135deg, #fce7f3, #ddd6fe) !important;
    border-bottom: none !important;
    color: #5b21b6;
    font-family: "Quicksand", sans-serif;
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.08);
}
body.wp-child-theme-mml-academy-clay .mml-features-banner-tag {
    background: linear-gradient(135deg, #fb7185, #f472b6) !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 4px 14px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(251, 113, 133, 0.35);
}
body.wp-child-theme-mml-academy-clay .mml-features-banner-text {
    color: #5b21b6 !important;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
}
body.wp-child-theme-mml-academy-clay .mml-features-banner-cta {
    background: linear-gradient(135deg, #a855f7, #7e22ce) !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 4px 14px;
    box-shadow: 0 3px 8px rgba(168, 85, 247, 0.3);
    font-weight: 600;
}
body.wp-child-theme-mml-academy-clay .demo-banner {
    background: #fef7ff !important;
    color: #5b21b6 !important;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15) !important;
}
body.wp-child-theme-mml-academy-clay .demo-link {
    color: #7e22ce !important;
    font-weight: 600;
}


/* ===========================================================
 * 5 신규 테마 배너 skin (2026-04-25)
 * Selector: wp-child-theme-mml-academy-<slug>
 * =========================================================== */

/* ---------- APPLE REFINED ---------- */
body.wp-child-theme-mml-academy-apple-refined .mml-features-banner {
    background: rgba(255,255,255,0.94) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
body.wp-child-theme-mml-academy-apple-refined .mml-features-banner-tag {
    background: #1d1d1f !important; color: #fff !important;
    padding: 3px 10px; border-radius: 980px;
    font-family: -apple-system, "SF Pro Text", sans-serif; font-weight: 600;
    font-size: 0.78rem; letter-spacing: -0.01em;
}
body.wp-child-theme-mml-academy-apple-refined .mml-features-banner-text {
    color: #1d1d1f !important; font-family: -apple-system, "SF Pro Text", sans-serif;
    font-weight: 400;
}
body.wp-child-theme-mml-academy-apple-refined .mml-features-banner-cta {
    background: #0071e3 !important; color: #fff !important;
    padding: 4px 14px; border-radius: 980px; font-weight: 500;
}
body.wp-child-theme-mml-academy-apple-refined .demo-banner {
    background: #f5f5f7 !important; color: #1d1d1f !important;
    border-bottom: 1px solid #d2d2d7 !important; font-size: 0.82rem !important;
}
body.wp-child-theme-mml-academy-apple-refined .demo-link { color: #0071e3 !important; }

/* ---------- HANJI MUKGRIM ---------- */
body.wp-child-theme-mml-academy-hanji-mukgrim .mml-features-banner {
    background: #f5edda !important; color: #1c1917 !important;
    border-bottom: 2px double #8b1f1f !important;
    font-family: "Noto Serif KR", serif;
}
body.wp-child-theme-mml-academy-hanji-mukgrim .mml-features-banner-tag {
    background: #8b1f1f !important; color: #f5edda !important;
    padding: 3px 12px; border-radius: 0;
    font-family: "Noto Serif KR", serif; font-weight: 700;
    letter-spacing: 0.08em;
}
body.wp-child-theme-mml-academy-hanji-mukgrim .mml-features-banner-text {
    color: #1c1917 !important; font-family: "Noto Serif KR", serif;
}
body.wp-child-theme-mml-academy-hanji-mukgrim .mml-features-banner-cta {
    color: #8b1f1f !important; border: 1px solid #8b1f1f;
    padding: 2px 12px; font-weight: 600; background: transparent !important;
}
body.wp-child-theme-mml-academy-hanji-mukgrim .demo-banner {
    background: #e8dec3 !important; color: #44403c !important;
    border-bottom: 1px solid #8b1f1f !important;
    font-family: "Noto Serif KR", serif;
}
body.wp-child-theme-mml-academy-hanji-mukgrim .demo-link {
    color: #8b1f1f !important; border-bottom: 1px solid currentColor;
    font-weight: 600;
}

/* ---------- EDITORIAL NYT ---------- */
body.wp-child-theme-mml-academy-editorial-nyt .mml-features-banner {
    background: #000000 !important; color: #fffaf0 !important;
    border-bottom: 4px double #c8102e !important;
    font-family: "Inter", sans-serif;
}
body.wp-child-theme-mml-academy-editorial-nyt .mml-features-banner-tag {
    background: #c8102e !important; color: #fffaf0 !important;
    padding: 3px 10px; border-radius: 0;
    font-family: "Inter", sans-serif; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem;
}
body.wp-child-theme-mml-academy-editorial-nyt .mml-features-banner-text {
    color: #fffaf0 !important; font-family: "Playfair Display", "Noto Serif KR", serif;
    font-style: italic;
}
body.wp-child-theme-mml-academy-editorial-nyt .mml-features-banner-cta {
    color: #fffaf0 !important; border-bottom: 1px solid currentColor;
    padding-bottom: 1px; font-family: "Inter", sans-serif;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
    font-size: 0.82rem;
}
body.wp-child-theme-mml-academy-editorial-nyt .demo-banner {
    background: #fdf6e3 !important; color: #000000 !important;
    border-bottom: 1px double #000 !important;
    font-family: "Playfair Display", serif; font-style: italic;
}
body.wp-child-theme-mml-academy-editorial-nyt .demo-link {
    color: #c8102e !important; border-bottom: 1px solid currentColor;
}

/* ---------- BENTO APPLE ---------- */
body.wp-child-theme-mml-academy-bento-apple .mml-features-banner {
    background: linear-gradient(90deg, #06b6d4, #a855f7, #ec4899) !important;
    color: #fff !important; border-bottom: 0 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.1);
}
body.wp-child-theme-mml-academy-bento-apple .mml-features-banner-tag {
    background: rgba(0,0,0,0.65) !important; color: #fff !important;
    padding: 3px 12px; border-radius: 999px;
    font-family: -apple-system, "SF Pro Text", sans-serif; font-weight: 600;
    backdrop-filter: blur(8px); font-size: 0.76rem;
}
body.wp-child-theme-mml-academy-bento-apple .mml-features-banner-text {
    color: #fff !important; font-family: -apple-system, "SF Pro Text", sans-serif;
    font-weight: 500;
}
body.wp-child-theme-mml-academy-bento-apple .mml-features-banner-cta {
    background: #fff !important; color: #000 !important;
    padding: 4px 14px; border-radius: 980px; font-weight: 600;
}
body.wp-child-theme-mml-academy-bento-apple .demo-banner {
    background: #1c1c1e !important; color: #f5f5f7 !important;
    border-bottom: 1px solid #38383a !important;
    font-family: -apple-system, sans-serif;
}
body.wp-child-theme-mml-academy-bento-apple .demo-link { color: #06b6d4 !important; }

/* ---------- NOTION SOFT ---------- */
body.wp-child-theme-mml-academy-notion-soft .mml-features-banner {
    background: #faf9f5 !important; color: #2f3437 !important;
    border-bottom: 1px solid #e6e3da !important;
    font-family: "Inter", sans-serif;
}
body.wp-child-theme-mml-academy-notion-soft .mml-features-banner-tag {
    background: #2382e2 !important; color: #fff !important;
    padding: 3px 10px; border-radius: 8px;
    font-family: "Inter", sans-serif; font-weight: 600;
    font-size: 0.78rem;
}
body.wp-child-theme-mml-academy-notion-soft .mml-features-banner-text {
    color: #2f3437 !important; font-family: "Inter", sans-serif;
}
body.wp-child-theme-mml-academy-notion-soft .mml-features-banner-cta {
    background: #2f3437 !important; color: #fff !important;
    padding: 4px 14px; border-radius: 8px; font-weight: 500;
    box-shadow: rgba(15,15,15,0.1) 0px 0px 0px 1px, rgba(15,15,15,0.05) 0px 4px 12px;
}
body.wp-child-theme-mml-academy-notion-soft .demo-banner {
    background: #f1efe9 !important; color: #2f3437 !important;
    border-bottom: 1px solid #e6e3da !important;
    font-family: "Inter", sans-serif;
}
body.wp-child-theme-mml-academy-notion-soft .demo-link {
    color: #2382e2 !important; font-weight: 500;
}
