/* =============================================================
   Media Academy — RAPA
   Mobile-first, blue-tone bright palette
   ============================================================= */

:root {
    --ma-primary: #1F6FEB;
    --ma-primary-dark: #1A4FB5;
    --ma-primary-soft: #E8F1FF;
    --ma-accent: #00C2D7;
    --ma-accent-warm: #FFB347;
    --ma-accent-pink: #FF6B9D;
    --ma-bg: #F4F8FF;
    --ma-bg-deep: #EAF1FB;
    --ma-text: #1A1F36;
    --ma-text-muted: #5A6478;
    --ma-line: #DCE5F2;
    --ma-white: #FFFFFF;

    --ma-shadow-sm: 0 4px 12px rgba(31, 111, 235, 0.08);
    --ma-shadow-md: 0 12px 32px rgba(31, 111, 235, 0.12);
    --ma-shadow-lg: 0 20px 48px rgba(31, 111, 235, 0.18);

    --ma-radius-sm: 8px;
    --ma-radius-md: 16px;
    --ma-radius-lg: 24px;
    --ma-radius-pill: 999px;

    --ma-header-h: 64px;
    --ma-container: 1500px;

    --ma-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Anchor target offset — leave room for fixed header when scrolled to */
section[id] { scroll-margin-top: calc(var(--ma-header-h) + 16px); }
/* ma-section은 자체 padding-top이 커서 보정값을 줄여 h2가 헤더 바로 아래 위치 */
.ma-section[id] { scroll-margin-top: 24px; }
.ma-sub-block[id] { scroll-margin-top: calc(var(--ma-header-h) + 12px); }

body.ma {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    color: var(--ma-text);
    background: var(--ma-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.ma > main { flex: 1 0 auto; min-height: 60vh; }
body.ma > .ma-footer { flex-shrink: 0; }

body.ma a { color: inherit; text-decoration: none; }
body.ma img { max-width: 100%; height: auto; display: block; }

.ma-container {
    width: 100%;
    max-width: var(--ma-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------- Header / GNB ---------------- */
.ma-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--ma-header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    z-index: 9000;
    transition: border-color .25s var(--ma-ease), box-shadow .25s var(--ma-ease);
}
.ma-burger { position: relative; z-index: 9100; }
.ma-mobile-nav { z-index: 9500; }
.ma-header.is-scrolled {
    border-bottom-color: var(--ma-line);
    box-shadow: var(--ma-shadow-sm);
}
.ma-header__inner {
    max-width: var(--ma-container);
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ma-logo {
    display: flex; align-items: center; gap: 8px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: var(--ma-primary);
}
body.ma .ma-logo__img { height: 28px; width: auto; max-width: 320px; display: block; flex-shrink: 0; }

/* Hero floating dots (장식 - 점 격자 1 + 빈 원 1 + 채워진 원 2) */
body.ma .ma-hero__inner { position: relative; }
body.ma .ma-hero__dot {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
/* 1. 12점 격자 */
body.ma .ma-hero__dot--1 {
    width: 60px; height: 44px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='%23B8D0F4'><circle cx='6' cy='6' r='3'/><circle cx='20' cy='6' r='3'/><circle cx='34' cy='6' r='3'/><circle cx='48' cy='6' r='3'/><circle cx='6' cy='20' r='3'/><circle cx='20' cy='20' r='3'/><circle cx='34' cy='20' r='3'/><circle cx='48' cy='20' r='3'/><circle cx='6' cy='34' r='3'/><circle cx='20' cy='34' r='3'/><circle cx='34' cy='34' r='3'/><circle cx='48' cy='34' r='3'/></svg>");
    top: 100px; left: 36%;
    opacity: 0.6;
}
/* 2. 빈 원 (outline) */
body.ma .ma-hero__dot--2 {
    width: 18px; height: 18px;
    border: 2px solid #9CC0F2;
    border-radius: 50%;
    top: 24px; right: 6%;
    opacity: 0.7;
}
/* 3. 채워진 원 (큰 것) */
body.ma .ma-hero__dot--3 {
    width: 12px; height: 12px;
    background: #9CC0F2;
    border-radius: 50%;
    bottom: 14px; left: 38%;
    opacity: 0.55;
}
/* 4. 채워진 원 (작은 것) */
body.ma .ma-hero__dot--4 {
    width: 8px; height: 8px;
    background: #B8D0F4;
    border-radius: 50%;
    bottom: 48px; right: 22%;
    opacity: 0.6;
}

/* Hero visual 높이 고정 + 좌우 4:6 비율 */
body.ma .ma-hero__visual { aspect-ratio: 620 / 360; height: auto; max-width: 680px; margin: 0 auto; }
body.ma .ma-hero__inner { padding-top: 20px; }
@media (min-width: 1024px) {
    body.ma .ma-hero__inner { grid-template-columns: 2fr 2fr; }
}
body.ma .ma-hero .ma-quickinfo__grid { margin-top: 20px; }
body.ma .ma-hero .ma-highlights__grid { margin-top: 20px; }
/* 모바일 가로 overflow 방지 */
body.ma { overflow-x: hidden; }
body.ma .ma-highlights__grid,
body.ma .ma-quickinfo__grid,
body.ma .ma-hcard,
body.ma .ma-hcard__bullets,
body.ma .ma-hcard__flow,
body.ma .ma-hcard__bullets > li,
body.ma .ma-hcard__flow > li { min-width: 0; max-width: 100%; }
body.ma .ma-hcard__notice-link .ttl { word-break: break-word; }

/* Process 영역 폰트 키움 */
body.ma .ma-hcard__flow li .num { font-size: 12px; }
body.ma .ma-hcard__flow li .lbl { font-size: 14px; }
body.ma .ma-hcard__flow li .sub { font-size: 12px; }
@media (max-width: 1023px) {
    body.ma .ma-hcard__flow li .num { font-size: 14px; }
    body.ma .ma-hcard__flow li .lbl { font-size: 17px; }
    body.ma .ma-hcard__flow li .sub { font-size: 13.5px; }
}
body.ma .ma-hero__icon { width: 60px; height: 60px; font-size: 28px; border-radius: 18px; animation: none; }
body.ma .ma-hero__icon:nth-child(3) { right: 4%; }
body.ma .ma-hero__blob {
    animation: none;
    background: linear-gradient(135deg, #C5DDFB, #DCE9FB);
    border-radius: 30%;
}
body.ma .ma-hero__photo {
    position: absolute;
    inset: 16px;
    overflow: hidden;
    border-radius: 26%;
    z-index: 1;
}
body.ma .ma-hero__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 1024px) {
    body.ma .ma-hero__icon { width: 76px; height: 76px; font-size: 34px; border-radius: 22px; }
}

/* hero copy 폰트 축소 */
body.ma .ma-hero h1 { font-size: clamp(28px, 5.6vw, 54px); line-height: 1.12; margin-bottom: 16px; letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 480px) {
    body.ma .ma-hero h1 { font-size: clamp(24px, 7.6vw, 32px); white-space: nowrap; }
}
body.ma .ma-hero p.lead { font-size: 16px; line-height: 1.65; margin-bottom: 20px; letter-spacing: -0.02em; word-spacing: -1px; }
.ma-logo__mark {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-accent));
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 14px;
}
.ma-gnb { display: none; }
.ma-gnb-cta { display: none; }
.ma-gnb__list { display: flex; gap: 64px; }
.ma-gnb__list a {
    font-weight: 600;
    font-size: 15px;
    color: var(--ma-text);
    padding: 6px 0;
    position: relative;
    transition: color .2s var(--ma-ease);
}
.ma-gnb__list a:hover { color: var(--ma-primary); }
.ma-gnb__list a::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--ma-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ma-ease);
}
.ma-gnb__list a:hover::after { transform: scaleX(1); }

.ma-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--ma-radius-pill);
    background: var(--ma-primary);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform .2s var(--ma-ease), box-shadow .2s var(--ma-ease), background .2s var(--ma-ease);
    box-shadow: 0 6px 16px rgba(31, 111, 235, .25);
}
/* Button class — more aggressive override (some browsers apply background-color: transparent on <button>) */
.ma-cta-btn,
button.ma-cta-btn,
input[type="submit"].ma-cta-btn,
input[type="button"].ma-cta-btn {
    background: var(--ma-primary) !important;
    background-color: var(--ma-primary) !important;
    color: #fff !important;
    border: 2px solid transparent !important;
    cursor: pointer;
    font-family: inherit;
}
.ma-cta-btn:hover,
button.ma-cta-btn:hover { background: var(--ma-primary-dark) !important; background-color: var(--ma-primary-dark) !important; }

/* Ghost variant must override base */
.ma-cta-btn.ma-cta-btn--ghost,
button.ma-cta-btn.ma-cta-btn--ghost,
a.ma-cta-btn.ma-cta-btn--ghost {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--ma-primary) !important;
    border: 2px solid var(--ma-primary) !important;
}
.ma-cta-btn.ma-cta-btn--ghost:hover { background: var(--ma-primary-soft) !important; background-color: var(--ma-primary-soft) !important; }
.ma-cta-btn:hover {
    background: var(--ma-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31, 111, 235, .35);
}
.ma-cta-btn--ghost {
    background: transparent;
    color: var(--ma-primary) !important;
    border: 2px solid var(--ma-primary);
    box-shadow: none;
}
.ma-cta-btn--ghost:hover { background: var(--ma-primary-soft); }

.ma-burger {
    width: 44px; height: 44px;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    border-radius: 10px;
}
.ma-burger span {
    width: 22px; height: 2px; background: var(--ma-text); border-radius: 2px;
    transition: transform .25s var(--ma-ease), opacity .2s var(--ma-ease);
}
.ma-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ma-burger.is-open span:nth-child(2) { opacity: 0; }
.ma-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ma-mobile-nav {
    position: fixed;
    inset: var(--ma-header-h) 0 0 0;
    background: rgba(244, 248, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 90;
    padding: 24px 20px 40px;
    transform: translateY(-40px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ma-ease), opacity .3s var(--ma-ease);
    overflow-y: auto;
}
.ma-mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.ma-mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.ma-mobile-nav a {
    display: block;
    padding: 16px 12px;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--ma-radius-sm);
}
.ma-mobile-nav a:active { background: var(--ma-primary-soft); }
.ma-mobile-nav .ma-cta-btn {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
}

/* ---------------- Hero ---------------- */
.ma-hero {
    position: relative;
    padding: calc(var(--ma-header-h) + 44px) 0 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(0, 194, 215, .18), transparent 50%),
        radial-gradient(ellipse at 0% 60%, rgba(31, 111, 235, .15), transparent 50%),
        var(--ma-bg);
}
.ma-hero > .ma-container { width: 100%; }
.ma-hero__inner {
    display: grid;
    gap: 0;
    align-items: center;
    width: 100%;
}
.ma-hero__copy { position: relative; z-index: 2; }
.ma-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    border-radius: var(--ma-radius-pill);
    background: var(--ma-primary-soft);
    color: var(--ma-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.ma-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--ma-primary);
    animation: ma-pulse 1.6s var(--ma-ease) infinite;
}
@keyframes ma-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: .4; }
}
.ma-hero__eyebrow {
    display: inline-block;
    color: var(--ma-primary);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.005em;
    margin-bottom: 5px;
}
.ma-hero h1 {
    font-size: clamp(34px, 6.4vw, 60px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--ma-text);
    white-space: nowrap;
}
.ma-hero__title-line {
    display: inline-block;
    white-space: nowrap;
}
.ma-hero h1 .grad {
    background: linear-gradient(90deg, var(--ma-primary), var(--ma-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ma-hero p.lead {
    font-size: clamp(16px, 2.6vw, 20px);
    line-height: 1.7;
    color: var(--ma-text-muted);
    margin-bottom: 32px;
    max-width: 580px;
}
.ma-hero__ctas {
    display: flex; flex-wrap: wrap; gap: 12px;
}
.ma-hero__ctas .ma-cta-btn { padding: 4px 28px; font-size: 16px; }
/* 모집요강 보기 + AI/VP 지원하기 — 모두 동일 폭(200px) */
.ma-hero__ctas > .ma-cta-btn { flex: 0 0 200px; justify-content: center; }
.ma-hero__cta-apply { display: flex; flex-wrap: wrap; gap: 12px; flex-basis: 100%; }
.ma-hero__cta-apply .ma-cta-btn { flex: 0 0 200px; justify-content: center; }
.ma-hero__highlights {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 24px;
}
.ma-hero__chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    border-radius: var(--ma-radius-pill);
    background: rgba(255,255,255,.7);
    border: 1px solid var(--ma-line);
    font-size: 13px;
    font-weight: 600;
    color: var(--ma-text);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.ma-hero__chip .ico { font-size: 14px; }
.ma-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px 24px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--ma-line);
    max-width: 580px;
}
.ma-hero__stat .num {
    display: block;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: var(--ma-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.ma-hero__stat .label {
    display: block;
    font-size: 13px;
    color: var(--ma-text-muted);
    margin-top: 4px;
}
@media (min-width: 540px) { .ma-hero__stats { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.ma-hero__visual {
    position: relative;
    aspect-ratio: 620 / 360;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}
.ma-hero__illust {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    animation: ma-float 6s ease-in-out infinite;
}
.ma-hero__blob {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-accent));
    border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
    animation: ma-morph 12s ease-in-out infinite;
    opacity: .9;
}
@keyframes ma-morph {
    0%, 100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; }
    33%       { border-radius: 60% 40% 35% 65% / 55% 65% 35% 45%; }
    66%       { border-radius: 50% 50% 70% 30% / 35% 60% 40% 65%; }
}
.ma-hero__icon {
    position: absolute;
    width: 78px; height: 78px;
    background: #fff;
    border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    box-shadow: var(--ma-shadow-md);
    animation: ma-float 5s ease-in-out infinite;
}
.ma-hero__icon:nth-child(2) { top: 6%; left: -6%; animation-delay: 0s; }
.ma-hero__icon:nth-child(3) { top: 18%; right: -8%; animation-delay: 1s; }
.ma-hero__icon:nth-child(4) { bottom: 14%; left: -4%; animation-delay: 2s; }
.ma-hero__icon:nth-child(5) { bottom: 2%; right: 12%; animation-delay: 3s; }
@keyframes ma-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------------- Section base ---------------- */
.ma-section { padding: 64px 0; }
.ma-section__head { text-align: center; margin-bottom: 40px; }
.ma-section__eyebrow {
    color: var(--ma-primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.ma-section__title {
    font-size: clamp(26px, 4.8vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.ma-section__desc {
    margin-top: 12px;
    color: var(--ma-text-muted);
    font-size: 16px;
}

/* ---------------- About ---------------- */
.ma-about__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
.ma-feature {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    padding: 28px 24px;
    transition: transform .25s var(--ma-ease), box-shadow .25s var(--ma-ease), border-color .25s var(--ma-ease);
}
.ma-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--ma-shadow-md);
    border-color: transparent;
}
.ma-feature__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    background: var(--ma-primary-soft);
    color: var(--ma-primary);
}
.ma-feature:nth-child(2) .ma-feature__icon { background: rgba(0,194,215,.12); color: var(--ma-accent); }
.ma-feature:nth-child(3) .ma-feature__icon { background: rgba(255,179,71,.18); color: #C97A00; }
.ma-feature:nth-child(4) .ma-feature__icon { background: rgba(255,107,157,.14); color: #D74480; }
.ma-feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.ma-feature p { color: var(--ma-text-muted); font-size: 14.5px; }

/* ---------------- Curriculum ---------------- */
.ma-curri { background: linear-gradient(180deg, var(--ma-bg) 0%, #fff 100%); }
.ma-curri__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
.ma-card {
    background: #fff;
    border-radius: var(--ma-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ma-line);
    transition: transform .25s var(--ma-ease), box-shadow .25s var(--ma-ease);
}
.ma-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ma-shadow-lg);
}
.ma-card__cover {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-accent));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 48px;
}
.ma-card:nth-child(2) .ma-card__cover { background: linear-gradient(135deg, var(--ma-accent), var(--ma-accent-warm)); }
.ma-card:nth-child(3) .ma-card__cover { background: linear-gradient(135deg, var(--ma-accent-warm), var(--ma-accent-pink)); }
.ma-card:nth-child(4) .ma-card__cover { background: linear-gradient(135deg, var(--ma-accent-pink), var(--ma-primary)); }
.ma-card__body { padding: 24px; }
.ma-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--ma-radius-pill);
    background: var(--ma-primary-soft);
    color: var(--ma-primary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}
.ma-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ma-card p { color: var(--ma-text-muted); font-size: 14.5px; margin-bottom: 16px; }
.ma-card__meta {
    display: flex; flex-wrap: wrap; gap: 12px;
    font-size: 13px;
    color: var(--ma-text-muted);
}
.ma-card__meta span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ma-primary); margin-right: 8px; vertical-align: middle; }

/* ---------------- CTA banner ---------------- */
.ma-cta-banner {
    margin: 40px 0;
}
.ma-cta-banner__inner {
    background: linear-gradient(135deg, var(--ma-primary) 0%, var(--ma-primary-dark) 100%);
    border-radius: var(--ma-radius-lg);
    padding: 40px 28px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ma-cta-banner__inner::before,
.ma-cta-banner__inner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}
.ma-cta-banner__inner::before { width: 220px; height: 220px; top: -80px; right: -60px; }
.ma-cta-banner__inner::after { width: 160px; height: 160px; bottom: -60px; left: -40px; }
.ma-cta-banner h2 {
    font-size: clamp(22px, 4.5vw, 32px);
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
}
.ma-cta-banner p {
    opacity: .9;
    margin-bottom: 24px;
    position: relative;
}
.ma-cta-banner .ma-cta-btn {
    background: #fff;
    color: var(--ma-primary) !important;
    padding: 16px 32px;
    font-size: 16px;
    position: relative;
}
.ma-cta-banner .ma-cta-btn:hover { background: var(--ma-primary-soft); transform: translateY(-3px); }

/* ---------------- Notices ---------------- */
.ma-notice__list {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    overflow: hidden;
}
.ma-notice__item {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--ma-line);
    transition: background .2s var(--ma-ease);
}
.ma-notice__item:last-child { border-bottom: 0; }
.ma-notice__item:hover { background: var(--ma-primary-soft); }
.ma-notice__cat {
    flex-shrink: 0;
    padding: 5px 12px;
    border-radius: var(--ma-radius-pill);
    background: var(--ma-primary-soft);
    color: var(--ma-primary);
    font-size: 13px;
    font-weight: 700;
}
.ma-notice__title {
    flex: 1;
    font-weight: 600;
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ma-notice__date {
    flex-shrink: 0;
    color: var(--ma-text-muted);
    font-size: 14.5px;
}
.ma-notice__more {
    margin-top: 20px;
    text-align: center;
}

/* ---------------- Footer ---------------- */
.ma-footer {
    background: #0F1B33;
    color: rgba(255,255,255,.7);
    padding: 40px 0 32px;
    margin-top: 40px;
}
body.ma-bru .ma-footer { margin-top: 0; }
.ma-footer__inner {
    display: flex; flex-direction: column; gap: 24px;
    align-items: flex-start;
}
.ma-footer__left { font-size: 14px; }
.ma-footer__left .name {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}
.ma-footer__right {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.ma-footer__org {
    display: flex; align-items: center; gap: 10px;
}
.ma-footer__org-logo {
    width: 64px; height: 40px;
    background: rgba(255,255,255,.06);
    border: 1px dashed rgba(255,255,255,.28);
    border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.4);
    flex-shrink: 0;
}
.ma-footer__org-label { display: flex; flex-direction: column; line-height: 1.3; }
.ma-footer__org-role { font-size: 10px; color: rgba(255,255,255,.45); letter-spacing: 0.08em; text-transform: uppercase; }
.ma-footer__org-name { font-size: 13px; font-weight: 700; color: #fff; }
.ma-footer__orgs-img {
    max-height: 60px; width: auto; display: block;
    background: #fff;
    padding: 10px 18px; border-radius: 8px;
}
/* Brutalist 시안 — 푸터 톤 맞춤 */
body.ma-bru .ma-footer__org-logo {
    border-radius: 0;
    border-color: rgba(255,255,255,.4);
}

/* ---------------- Reveal on scroll ---------------- */
.ma-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ma-ease), transform .7s var(--ma-ease);
}
.ma-reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------- GNB active ---------------- */
.ma-gnb__list a.is-active { color: var(--ma-primary); }
.ma-gnb__list a.is-active::after { transform: scaleX(1); }
.ma-mobile-nav a.is-active { color: var(--ma-primary); background: var(--ma-primary-soft); }

/* ---------------- Page header (subpage hero) ---------------- */
.ma-page-header {
    padding: calc(var(--ma-header-h) + 36px) 0 36px;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(0, 194, 215, .14), transparent 55%),
        radial-gradient(ellipse at 0% 80%, rgba(31, 111, 235, .12), transparent 55%),
        var(--ma-bg);
}
.ma-page-header__title {
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.ma-page-header__desc {
    margin-top: 12px;
    color: var(--ma-text-muted);
    font-size: 16px;
    max-width: 720px;
}
.ma-breadcrumb { margin-bottom: 24px; }
.ma-breadcrumb ol {
    display: flex; flex-wrap: wrap; align-items: center;
    font-size: 13px; color: var(--ma-text-muted);
    line-height: 1.5;
}
.ma-breadcrumb li { display: inline-flex; align-items: center; }
.ma-breadcrumb li + li::before {
    content: '›';
    margin: 0 10px;
    color: var(--ma-line);
    font-weight: 400;
    font-size: 14px;
}
.ma-breadcrumb a {
    padding: 4px 0;
    transition: color .2s var(--ma-ease);
}
.ma-breadcrumb a:hover { color: var(--ma-primary); }
.ma-breadcrumb [aria-current="page"] {
    color: var(--ma-text);
    font-weight: 600;
    padding: 4px 0;
}

.ma-page { padding: 40px 0 60px; }

/* ---------------- Prose / detail content ---------------- */
.ma-prose { max-width: 820px; }
.ma-prose h2 { font-size: 22px; font-weight: 800; margin: 32px 0 12px; letter-spacing: -0.01em; }
.ma-prose h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.ma-prose p { font-size: 16px; line-height: 1.8; color: var(--ma-text); margin-bottom: 14px; }
.ma-prose ul, .ma-prose ol { margin: 8px 0 16px 20px; }
.ma-prose ul li { list-style: disc; margin-bottom: 6px; }
.ma-prose ol li { list-style: decimal; margin-bottom: 6px; }
.ma-prose strong { font-weight: 700; color: inherit; }
.ma-prose blockquote {
    background: var(--ma-primary-soft);
    padding: 14px 18px;
    border-radius: var(--ma-radius-sm);
    margin: 16px 0;
}

/* ---------------- Info panel / definition list ---------------- */
.ma-panel {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    padding: 24px;
}
.ma-panel + .ma-panel { margin-top: 16px; }
.ma-panel h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.ma-dl { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ma-dl > div { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--ma-line); }
.ma-dl > div:last-child { border-bottom: 0; }
.ma-dl dt { flex-shrink: 0; width: 110px; color: var(--ma-text-muted); font-weight: 600; font-size: 14px; }
.ma-dl dd { font-size: 14.5px; }

/* ---------------- Board (list table) ---------------- */
.ma-board {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    overflow: hidden;
}
.ma-board__row {
    display: grid;
    grid-template-columns: 56px 1fr 100px;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--ma-line);
    font-size: 14.5px;
}
.ma-board__row:last-child { border-bottom: 0; }
.ma-board__row--head {
    background: var(--ma-bg-deep);
    font-weight: 700;
    color: var(--ma-text-muted);
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.ma-board__row--link { transition: background .2s var(--ma-ease); }
.ma-board__row--link:hover { background: var(--ma-primary-soft); cursor: pointer; }
.ma-board__num { color: var(--ma-text-muted); text-align: center; font-variant-numeric: tabular-nums; }
.ma-board__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}
.ma-board__title .ma-tag { margin-right: 8px; vertical-align: middle; }
.ma-board__title .lock { margin-right: 6px; opacity: .7; }
.ma-board__date { color: var(--ma-text-muted); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }

.ma-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ma-text-muted);
}
.ma-empty__icon { font-size: 40px; margin-bottom: 12px; }

/* ---------------- Board toolbar (검색·필터) ---------------- */
.ma-board__toolbar {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-sm);
    margin-bottom: 12px;
}
.ma-board__toolbar input[type="text"],
.ma-board__toolbar select {
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-sm);
    font-size: 14px;
    background: #fff;
    color: var(--ma-text);
    font-family: inherit;
}
.ma-board__toolbar input[type="text"] { flex: 1 1 200px; min-width: 140px; }
.ma-board__toolbar input[type="text"]:focus,
.ma-board__toolbar select:focus { outline: 2px solid var(--ma-primary); outline-offset: 1px; }
.ma-board__toolbar select { min-width: 120px; cursor: pointer; }
.ma-board__toolbar-count {
    margin-left: auto;
    font-size: 13px;
    color: var(--ma-text-muted);
    font-weight: 600;
}
.ma-cta-btn--sm {
    padding: 0 14px !important;
    height: 38px !important;
    min-width: auto !important;
    font-size: 13px !important;
    line-height: 38px !important;
}
@media (max-width: 600px) {
    .ma-board__toolbar { padding: 10px 12px; gap: 6px; }
    .ma-board__toolbar input[type="text"] { flex: 1 1 100%; }
    .ma-board__toolbar-count { margin-left: 0; width: 100%; text-align: right; }
}

/* ---------------- Pagination ---------------- */
.ma-pager {
    display: flex; justify-content: center; gap: 4px;
    margin-top: 24px;
}
.ma-pager a, .ma-pager span {
    min-width: 38px; height: 38px;
    padding: 0 10px;
    border-radius: var(--ma-radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600;
    color: var(--ma-text-muted);
    border: 1px solid transparent;
}
.ma-pager a:hover { background: var(--ma-primary-soft); color: var(--ma-primary); }
.ma-pager .is-current { background: var(--ma-primary); color: #fff; }
.ma-pager .is-disabled { opacity: .35; pointer-events: none; }

/* ---------------- Form ---------------- */
.ma-form {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    padding: 24px;
    max-width: 720px;
}
.ma-form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.ma-form__label { font-weight: 700; font-size: 14px; }
.ma-form__label .req,
.ma-form .req { color: #E11D48; margin-left: 4px; font-weight: 700; }
.ma-input, .ma-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-sm);
    background: #fff;
    font-size: 15px;
    font-family: inherit;
    color: var(--ma-text);
    transition: border-color .2s var(--ma-ease), box-shadow .2s var(--ma-ease);
}
.ma-input:focus, .ma-textarea:focus {
    outline: 0;
    border-color: var(--ma-primary);
    box-shadow: 0 0 0 4px rgba(31,111,235,.12);
}
.ma-textarea { min-height: 200px; resize: vertical; }
.ma-form__hint { font-size: 12.5px; color: var(--ma-text-muted); line-height: 1.6; }
.ma-form__hint strong { color: var(--ma-text); }
.ma-form__actions { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }

/* 신청 유형 라디오 */
.ma-reqtype { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .ma-reqtype { grid-template-columns: 1fr; } }
.ma-reqtype__opt {
    display: flex; flex-direction: column; gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-sm);
    background: #fff;
    cursor: pointer;
    transition: border-color .15s var(--ma-ease), box-shadow .15s var(--ma-ease), background .15s var(--ma-ease);
    position: relative;
}
.ma-reqtype__opt:hover { border-color: var(--ma-primary); }
.ma-reqtype__opt input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.ma-reqtype__opt:has(input[type="radio"]:checked) {
    border-color: var(--ma-primary);
    background: var(--ma-primary-soft);
    box-shadow: 0 0 0 3px rgba(31,111,235,.12);
}
.ma-reqtype__title { font-weight: 700; font-size: 15px; color: var(--ma-text); }
.ma-reqtype__desc  { font-size: 13px; color: var(--ma-text-muted); line-height: 1.5; }

/* 별표(*) 강조 노트 — *만 빨강, 본문은 파랑 */
.ma-form__hint .note,
.ma-form__callout .note { color: var(--ma-primary); font-weight: 700; }
.ma-form__hint .note-star,
.ma-form__callout .note-star { color: #E11D48; }

/* 증빙자료 안내 콜아웃 */
.ma-form__callout {
    margin-top: 10px;
    padding: 14px 16px;
    background: #FFF8E1;
    border: 1px solid #F2D77B;
    border-left: 4px solid #E5B400;
    border-radius: var(--ma-radius-sm);
    font-size: 13px;
    color: var(--ma-text);
    line-height: 1.7;
}
.ma-form__callout strong { color: var(--ma-text); }
.ma-form__callout > strong { display: block; margin-bottom: 8px; font-size: 14px; }
.ma-form__callout ol { margin: 0; padding-left: 20px; }
.ma-form__callout ol > li { margin-bottom: 8px; }
.ma-form__callout ol > li:last-child { margin-bottom: 0; }
.ma-form__callout ul { list-style: none; margin: 4px 0 0; padding-left: 0; }
.ma-form__callout ul li { margin-bottom: 2px; }
.ma-alert {
    padding: 12px 16px;
    border-radius: var(--ma-radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
}
.ma-alert--err { background: #FFE9EE; color: #B0234E; border: 1px solid #FFC1CF; }
.ma-alert--ok { background: #E5F8F2; color: #0E7D5A; border: 1px solid #B6EAD6; }
.ma-alert--info { background: var(--ma-primary-soft); color: var(--ma-primary-dark); }

/* ---------------- Detail view ---------------- */
.ma-detail {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    padding: 32px 24px;
}
.ma-detail__head {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ma-line);
    margin-bottom: 24px;
}
.ma-detail__title { font-size: 22px; font-weight: 800; margin-bottom: 10px; line-height: 1.4; }
.ma-detail__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ma-text-muted); font-size: 13px; }
.ma-detail__meta span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ma-line); margin-right: 8px; vertical-align: middle; }
.ma-detail__body { font-size: 15.5px; line-height: 1.85; min-height: 160px; white-space: pre-wrap; word-break: break-word; }
.ma-detail__nav { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; justify-content: space-between; }

/* ---------------- Toolbar ---------------- */
.ma-toolbar {
    display: flex; gap: 12px; align-items: center; justify-content: space-between;
    margin-bottom: 16px; flex-wrap: wrap;
}
.ma-toolbar__count { color: var(--ma-text-muted); font-size: 14px; }

/* ---------------- Spec annotation overlay (review-only) ---------------- */
body.ma.spec-on .spec-target { position: relative; outline: 2px dashed rgba(31, 111, 235, .6); outline-offset: 6px; border-radius: 12px; }
body.ma:not(.spec-on) .spec-marker,
body.ma:not(.spec-on) .spec-legend { display: none !important; }

.spec-marker {
    position: absolute;
    top: -14px; left: -14px;
    z-index: 5;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    border-radius: var(--ma-radius-pill);
    background: var(--ma-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--ma-shadow-md);
    white-space: nowrap;
    pointer-events: none;
}
.spec-marker--cyan { background: var(--ma-accent); }
.spec-marker--orange { background: var(--ma-accent-warm); color: #5A3A00; }

.spec-legend {
    position: fixed;
    right: 16px; bottom: 16px;
    z-index: 200;
    width: 280px;
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    padding: 14px 14px 10px;
    box-shadow: var(--ma-shadow-lg);
    font-size: 13px;
}
.spec-legend h4 {
    font-size: 13px; font-weight: 800;
    margin-bottom: 8px;
    color: var(--ma-text);
    letter-spacing: -0.01em;
}
.spec-legend ul { display: flex; flex-direction: column; gap: 6px; }
.spec-legend li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.spec-legend .pill {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    color: #fff; font-weight: 800; font-size: 11px;
    background: var(--ma-primary);
    margin-top: 1px;
}
.spec-legend .pill.cyan { background: var(--ma-accent); }
.spec-legend .pill.orange { background: var(--ma-accent-warm); color: #5A3A00; }
.spec-legend .desc { color: var(--ma-text-muted); font-size: 12.5px; }
.spec-toggle {
    position: fixed;
    right: 16px; bottom: 16px;
    z-index: 199;
    background: var(--ma-text);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--ma-radius-pill);
    font-size: 12.5px; font-weight: 700;
    box-shadow: var(--ma-shadow-md);
    display: inline-flex; align-items: center; gap: 6px;
    transition: transform .2s var(--ma-ease), background .2s var(--ma-ease);
}
.spec-toggle:hover { background: #000; transform: translateY(-2px); }
body.ma.spec-on .spec-toggle { right: 308px; }
@media (max-width: 720px) {
    .spec-legend { width: calc(100% - 32px); }
    body.ma.spec-on .spec-toggle { right: 16px; bottom: calc(16px + 220px); }
}

/* ---------------- Mobile (≤480px) optimizations ---------------- */
@media (max-width: 480px) {
    .ma-container { padding: 0 16px; }

    /* Hero — tighter, full-width CTAs */
    .ma-hero { padding: calc(var(--ma-header-h) + 12px) 0 28px; }
    .ma-hero__inner { gap: 28px; }
    .ma-hero h1 { line-height: 1.18; }
    .ma-hero p.lead { margin-bottom: 24px; }
    .ma-hero__highlights { margin-bottom: 20px; }
    .ma-hero__chip { font-size: 12px; padding: 6px 11px; }
    .ma-hero__ctas { flex-direction: column; width: 100%; }
    .ma-hero__ctas .ma-cta-btn,
    .ma-hero__cta-apply .ma-cta-btn {
        flex: 0 1 auto;
        width: 100%;
        justify-content: center;
        padding: 14px 22px;
    }
    .ma-hero__cta-apply { flex-direction: column; width: 100%; }

    /* Hero visual — smaller icons fit phone screen */
    .ma-hero__visual { max-width: 320px; }
    .ma-hero__icon {
        width: 60px; height: 60px;
        border-radius: 16px;
        font-size: 28px;
    }
    .ma-hero__icon:nth-child(2) { top: 4%; left: 0; }
    .ma-hero__icon:nth-child(3) { top: 16%; right: -2%; }
    .ma-hero__icon:nth-child(4) { bottom: 18%; left: 0; }
    .ma-hero__icon:nth-child(5) { bottom: 4%; right: 14%; }

    /* Section spacing tighter */
    .ma-section { padding: 48px 0; }
    .ma-section__head { margin-bottom: 28px; }
    .ma-section__title { font-size: 24px; }

    /* Cards / features */
    .ma-card__body { padding: 20px; }
    .ma-feature { padding: 22px 18px; }
    .ma-feature h3 { font-size: 17px; }

    /* Home notice items — title left, date right, both vertically centered */
    .ma-notice__item { gap: 12px; padding: 14px 16px; align-items: center; }
    .ma-notice__title { white-space: normal; line-height: 1.45; font-size: 16px; }
    .ma-notice__date { margin-left: auto; font-size: 13.5px; flex-shrink: 0; }
    .ma-faq__q { padding: 14px 16px; }
    .ma-faq__a { padding: 14px 16px; }

    /* Board (notice/inquiry list) — stacked card rows */
    .ma-board__row { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
    .ma-board__row--head { display: none; }
    .ma-board__num { display: none; }
    .ma-board__title { order: 1; white-space: normal; line-height: 1.45; width: 100%; }
    .ma-board__date { order: 2; text-align: left; font-size: 12px; }

    /* Page header */
    .ma-page-header { padding: calc(var(--ma-header-h) + 48px) 0 48px; }
    .ma-page-header__title { font-size: 22px; }
    .ma-page-header__desc { font-size: 14px; }
    .ma-page { padding: 24px 0 40px; }

    /* Breadcrumb tighter */
    .ma-breadcrumb { margin-bottom: 18px; }
    .ma-breadcrumb li + li::before { margin: 0 7px; }

    /* CTA banner */
    .ma-cta-banner { margin: 28px 0; }
    .ma-cta-banner__inner { padding: 32px 22px; }
    .ma-cta-banner .ma-cta-btn { padding: 14px 24px; font-size: 15px; width: 100%; }

    /* Form / detail */
    .ma-form { padding: 18px; }
    .ma-form__actions .ma-cta-btn { flex: 1; justify-content: center; }
    .ma-detail { padding: 22px 18px; }
    .ma-detail__title { font-size: 19px; }
    .ma-detail__nav { flex-direction: column; }
    .ma-detail__nav .ma-cta-btn { width: 100%; justify-content: center; }

    /* Footer */
    .ma-footer { padding: 32px 0 28px; }
    .ma-footer__right { gap: 8px; }
    .ma-footer__ci { font-size: 11px; padding: 6px 10px; }

    /* Pager — bigger touch targets */
    .ma-pager a, .ma-pager span { min-width: 42px; height: 42px; }

    /* Spec overlay — hidden on mobile to keep header clean */
    body.ma.spec-on .spec-target { outline: none !important; }
    .spec-marker, .spec-legend, .spec-toggle { display: none !important; }

    /* Slow morph slightly to save battery on small devices */
    .ma-hero__blob { animation-duration: 18s; }
}

/* ---------------- Touch interactions ---------------- */
.ma-cta-btn { -webkit-tap-highlight-color: transparent; }
.ma-cta-btn:active { transform: translateY(0) scale(0.98); }
.ma-card:active, .ma-feature:active, .ma-notice__item:active, .ma-board__row--link:active {
    transform: scale(0.995);
    background: var(--ma-primary-soft);
}

/* ---------------- Safe area (notch phones) ---------------- */
@supports (padding: env(safe-area-inset-top)) {
    .ma-header__inner {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    .ma-mobile-nav { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
    .spec-toggle, .spec-legend { bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* =============================================================
   ma-mag — media-academy2 · Magazine asymmetric layout
   ============================================================= */
body.ma-mag .mag-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--ma-header-h) + 40px) 0 60px;
    background: #0F1B33;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
}
body.ma-mag .mag-hero__inner { width: 100%; position: relative; z-index: 2; }
body.ma-mag .mag-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(31, 111, 235, .35), transparent 60%),
        radial-gradient(ellipse at 10% 90%, rgba(0, 194, 215, .25), transparent 60%);
    pointer-events: none;
}
body.ma-mag .mag-hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: .35;
    filter: blur(40px);
    animation: ma-float 8s ease-in-out infinite;
}
body.ma-mag .mag-hero__shape--1 { width: 280px; height: 280px; background: var(--ma-primary); top: -60px; right: -40px; }
body.ma-mag .mag-hero__shape--2 { width: 200px; height: 200px; background: var(--ma-accent); bottom: 10%; left: -40px; animation-delay: 2s; }
body.ma-mag .mag-hero__shape--3 { width: 160px; height: 160px; background: var(--ma-accent-pink); top: 40%; right: 15%; animation-delay: 4s; opacity: .25; }

body.ma-mag .mag-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: var(--ma-radius-pill);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    font-weight: 700; font-size: 13px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
body.ma-mag .mag-hero h1 {
    font-size: clamp(44px, 10vw, 96px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    max-width: 14ch;
}
body.ma-mag .mag-hero h1 .grad {
    background: linear-gradient(90deg, #6BA8FF, #6FE4F2);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.ma-mag .mag-hero p.lead {
    font-size: clamp(16px, 2.4vw, 20px);
    color: rgba(255,255,255,.78);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.7;
}
body.ma-mag .mag-hero__row {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
body.ma-mag .mag-hero__row .ma-cta-btn {
    background: #fff; color: var(--ma-primary) !important;
    padding: 16px 28px; font-size: 16px;
}
body.ma-mag .mag-hero__row .ma-cta-btn:hover { background: var(--ma-primary-soft); }
body.ma-mag .mag-hero__row .ma-cta-btn--ghost {
    background: transparent !important; color: #fff !important;
    border-color: rgba(255,255,255,.4);
}
body.ma-mag .mag-hero__scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.6); font-size: 12px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
body.ma-mag .mag-hero__scroll::after {
    content: ''; width: 1px; height: 32px; background: rgba(255,255,255,.4);
    animation: ma-scroll-hint 2s ease-in-out infinite;
}
@keyframes ma-scroll-hint {
    0% { transform: scaleY(.2); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(.2); transform-origin: bottom; }
}

/* Magazine Hero Visual — illustration + icons + motion */
body.ma-mag .mag-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
body.ma-mag .mag-hero__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}
body.ma-mag .mag-hero__blob {
    position: absolute; inset: 12%;
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-accent));
    border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
    animation: ma-morph 10s ease-in-out infinite, ma-pulse-glow 4s ease-in-out infinite;
    box-shadow: 0 30px 80px rgba(31, 111, 235, .45);
}
@keyframes ma-pulse-glow {
    0%, 100% { box-shadow: 0 30px 80px rgba(31,111,235,.45); }
    50% { box-shadow: 0 40px 110px rgba(0,194,215,.55); }
}
body.ma-mag .mag-hero__icon {
    position: absolute;
    width: 64px; height: 64px;
    background: #fff;
    color: var(--ma-text);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
    animation: ma-float 5.5s ease-in-out infinite;
    z-index: 2;
}
body.ma-mag .mag-hero__icon:nth-child(2) { top: 4%; left: -2%; animation-delay: 0s; }
body.ma-mag .mag-hero__icon:nth-child(3) { top: 18%; right: -4%; animation-delay: 1s; }
body.ma-mag .mag-hero__icon:nth-child(4) { bottom: 22%; left: -6%; animation-delay: 2s; }
body.ma-mag .mag-hero__icon:nth-child(5) { bottom: 4%; right: 8%; animation-delay: 3s; }
body.ma-mag .mag-hero__icon:nth-child(6) { top: 50%; right: -8%; animation-delay: 1.5s; }
body.ma-mag .mag-hero__center {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #fff;
    text-align: center;
    z-index: 3;
    pointer-events: none;
}
body.ma-mag .mag-hero__center span {
    font-size: 14px; font-weight: 700;
    letter-spacing: 0.32em;
    opacity: .9;
}
body.ma-mag .mag-hero__center strong {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-top: 4px;
}

@media (min-width: 1024px) {
    body.ma-mag .mag-hero__inner { grid-template-columns: 1.2fr 1fr; gap: 60px; }
    body.ma-mag .mag-hero__visual { max-width: 480px; }
    body.ma-mag .mag-hero__icon { width: 80px; height: 80px; font-size: 36px; border-radius: 22px; }
}

/* ZigZag */
body.ma-mag .mag-zigzag { padding: 80px 0; }
body.ma-mag .mag-zig {
    display: grid; grid-template-columns: 1fr; gap: 28px;
    align-items: center;
    margin-bottom: 64px;
}
body.ma-mag .mag-zig:last-child { margin-bottom: 0; }
body.ma-mag .mag-zig__visual {
    aspect-ratio: 4 / 3;
    border-radius: var(--ma-radius-lg);
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 80px; color: #fff;
    box-shadow: var(--ma-shadow-md);
}
body.ma-mag .mag-zig:nth-child(2) .mag-zig__visual { background: linear-gradient(135deg, var(--ma-accent), var(--ma-accent-warm)); }
body.ma-mag .mag-zig:nth-child(3) .mag-zig__visual { background: linear-gradient(135deg, var(--ma-accent-warm), var(--ma-accent-pink)); }
body.ma-mag .mag-zig:nth-child(4) .mag-zig__visual { background: linear-gradient(135deg, var(--ma-accent-pink), var(--ma-primary)); }
body.ma-mag .mag-zig__num {
    font-size: 14px; font-weight: 800; color: var(--ma-primary);
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}
body.ma-mag .mag-zig h3 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
    margin-bottom: 14px;
}
body.ma-mag .mag-zig p { color: var(--ma-text-muted); font-size: 16px; line-height: 1.8; }
body.ma-mag .mag-zig__list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
body.ma-mag .mag-zig__list li {
    display: flex; gap: 8px; align-items: flex-start;
    font-size: 14.5px; color: var(--ma-text);
}
body.ma-mag .mag-zig__list li::before {
    content: '✓'; flex-shrink: 0; width: 22px; height: 22px;
    border-radius: 50%; background: var(--ma-primary-soft); color: var(--ma-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}

/* Horizontal scroll cards */
body.ma-mag .mag-hscroll { padding: 80px 0; background: var(--ma-bg-deep); overflow: hidden; }
body.ma-mag .mag-hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
body.ma-mag .mag-hscroll__head h2 { font-size: clamp(26px, 4.8vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
body.ma-mag .mag-hscroll__viewport {
    display: flex; gap: 16px;
    overflow-x: auto; overflow-y: visible;
    scroll-snap-type: x mandatory;
    padding: 8px 0 20px;
    margin: 0 -20px; padding-left: 20px; padding-right: 20px;
    scrollbar-width: thin;
}
body.ma-mag .mag-hscroll__viewport::-webkit-scrollbar { height: 6px; }
body.ma-mag .mag-hscroll__viewport::-webkit-scrollbar-thumb { background: var(--ma-line); border-radius: 4px; }
body.ma-mag .mag-hcard {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: var(--ma-radius-lg);
    padding: 24px;
    border: 1px solid var(--ma-line);
    transition: transform .25s var(--ma-ease), box-shadow .25s var(--ma-ease);
    position: relative;
    overflow: hidden;
}
body.ma-mag .mag-hcard:hover { transform: translateY(-4px); box-shadow: var(--ma-shadow-md); }
body.ma-mag .mag-hcard__num {
    font-size: 64px; font-weight: 900;
    color: var(--ma-primary-soft);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: -8px;
}
body.ma-mag .mag-hcard h3 { font-size: 18px; font-weight: 700; margin: 12px 0 8px; }
body.ma-mag .mag-hcard p { color: var(--ma-text-muted); font-size: 14.5px; }
body.ma-mag .mag-hcard__icon { font-size: 36px; margin-bottom: 8px; }

@media (min-width: 768px) {
    body.ma-mag .mag-zig { grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 100px; }
    body.ma-mag .mag-zig:nth-child(even) .mag-zig__visual { order: 2; }
    body.ma-mag .mag-hcard { flex: 0 0 320px; }
}
@media (min-width: 1024px) {
    body.ma-mag .mag-hero { padding: var(--ma-header-h) 0 0; }
    body.ma-mag .mag-zigzag { padding: 120px 0; }
    body.ma-mag .mag-hscroll { padding: 120px 0; }
    body.ma-mag .mag-hcard { flex: 0 0 360px; padding: 32px; }
    body.ma-mag .mag-hcard__num { font-size: 88px; }
}

/* =============================================================
   ma-edit — media-academy3 · Editorial centered layout
   ============================================================= */
body.ma-edit .ed-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--ma-header-h) + 60px) 0 80px;
    text-align: center;
    overflow: hidden;
    background:
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(31,111,235,.04) 60px, rgba(31,111,235,.04) 61px),
        var(--ma-bg);
    display: flex; align-items: center; justify-content: center;
}
body.ma-edit .ed-hero::before, body.ma-edit .ed-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: .55;
}
body.ma-edit .ed-hero::before { width: 360px; height: 360px; background: var(--ma-primary); top: -100px; left: -100px; }
body.ma-edit .ed-hero::after { width: 320px; height: 320px; background: var(--ma-accent); bottom: -120px; right: -100px; }
body.ma-edit .ed-hero__inner { max-width: 920px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
body.ma-edit .ed-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: var(--ma-radius-pill);
    background: #fff; border: 1px solid var(--ma-line);
    font-weight: 700; font-size: 13px;
    color: var(--ma-primary);
    margin-bottom: 28px;
    box-shadow: var(--ma-shadow-sm);
}
body.ma-edit .ed-hero h1 {
    font-size: clamp(40px, 9vw, 88px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}
body.ma-edit .ed-hero h1 .grad {
    background: linear-gradient(90deg, var(--ma-primary), var(--ma-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.ma-edit .ed-hero p.lead {
    font-size: clamp(16px, 2.4vw, 20px);
    color: var(--ma-text-muted);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 36px;
}
body.ma-edit .ed-hero__ctas { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
body.ma-edit .ed-hero__ctas .ma-cta-btn { padding: 16px 28px; font-size: 16px; }

/* Stats strip */
body.ma-edit .ed-stats {
    background: #0F1B33; color: #fff;
    padding: 60px 0;
}
body.ma-edit .ed-stats__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 32px 24px; text-align: center;
}
body.ma-edit .ed-stat .num {
    display: block; font-size: clamp(36px, 6vw, 56px);
    font-weight: 900; line-height: 1;
    background: linear-gradient(90deg, #6BA8FF, #6FE4F2);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}
body.ma-edit .ed-stat .label {
    font-size: 13px; color: rgba(255,255,255,.6);
    letter-spacing: 0.08em; text-transform: uppercase;
}
@media (min-width: 768px) { body.ma-edit .ed-stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* Vertical timeline curriculum */
body.ma-edit .ed-section { padding: 80px 0; }
body.ma-edit .ed-section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
body.ma-edit .ed-section__head h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 12px; }
body.ma-edit .ed-section__head p { color: var(--ma-text-muted); font-size: 16px; }

body.ma-edit .ed-timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 32px; }
body.ma-edit .ed-timeline::before {
    content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
    width: 2px; background: linear-gradient(var(--ma-primary), var(--ma-accent));
}
body.ma-edit .ed-step { position: relative; padding-bottom: 40px; }
body.ma-edit .ed-step:last-child { padding-bottom: 0; }
body.ma-edit .ed-step::before {
    content: ''; position: absolute; left: -27px; top: 6px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--ma-primary);
    box-shadow: 0 0 0 4px rgba(31,111,235,.15);
}
body.ma-edit .ed-step__num {
    font-size: 12px; font-weight: 800;
    color: var(--ma-primary); letter-spacing: 0.18em;
    margin-bottom: 6px;
}
body.ma-edit .ed-step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
body.ma-edit .ed-step p { color: var(--ma-text-muted); font-size: 15px; line-height: 1.8; }
body.ma-edit .ed-step__meta {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 12px;
}
body.ma-edit .ed-step__meta span {
    font-size: 12.5px; padding: 4px 10px;
    border-radius: var(--ma-radius-pill);
    background: var(--ma-primary-soft); color: var(--ma-primary);
    font-weight: 600;
}

/* Values 3-card */
body.ma-edit .ed-values__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
body.ma-edit .ed-value {
    background: #fff; border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    padding: 32px 28px;
    text-align: center;
    transition: transform .25s var(--ma-ease), box-shadow .25s var(--ma-ease);
}
body.ma-edit .ed-value:hover { transform: translateY(-4px); box-shadow: var(--ma-shadow-md); }
body.ma-edit .ed-value__icon {
    width: 56px; height: 56px;
    border-radius: var(--ma-radius-md);
    background: var(--ma-primary-soft); color: var(--ma-primary);
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
}
body.ma-edit .ed-value h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
body.ma-edit .ed-value p { color: var(--ma-text-muted); font-size: 14.5px; line-height: 1.7; }
@media (min-width: 768px) { body.ma-edit .ed-values__grid { grid-template-columns: repeat(3, 1fr); } }

/* Instructor showcase */
body.ma-edit .ed-instructors { background: var(--ma-bg-deep); padding: 80px 0; }
body.ma-edit .ed-instructors__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
body.ma-edit .ed-instructor {
    background: #fff; border-radius: var(--ma-radius-md);
    padding: 28px 24px;
    border: 1px solid var(--ma-line);
    text-align: center;
    transition: transform .25s var(--ma-ease), box-shadow .25s var(--ma-ease);
}
body.ma-edit .ed-instructor:hover { transform: translateY(-4px); box-shadow: var(--ma-shadow-md); }
body.ma-edit .ed-instructor__avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-accent));
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 32px;
}
body.ma-edit .ed-instructor:nth-child(2) .ed-instructor__avatar { background: linear-gradient(135deg, var(--ma-accent), var(--ma-accent-warm)); }
body.ma-edit .ed-instructor:nth-child(3) .ed-instructor__avatar { background: linear-gradient(135deg, var(--ma-accent-warm), var(--ma-accent-pink)); }
body.ma-edit .ed-instructor:nth-child(4) .ed-instructor__avatar { background: linear-gradient(135deg, var(--ma-accent-pink), var(--ma-primary)); }
body.ma-edit .ed-instructor__name { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
body.ma-edit .ed-instructor__role {
    font-size: 12.5px; font-weight: 700; color: var(--ma-primary);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 10px;
}
body.ma-edit .ed-instructor__bio { color: var(--ma-text-muted); font-size: 14px; line-height: 1.7; }
@media (min-width: 768px) { body.ma-edit .ed-instructors__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { body.ma-edit .ed-instructors__grid { grid-template-columns: repeat(4, 1fr); } }

/* Ribbon CTA */
body.ma-edit .ed-ribbon {
    background: linear-gradient(135deg, var(--ma-primary) 0%, var(--ma-primary-dark) 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
body.ma-edit .ed-ribbon::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,.04) 30px, rgba(255,255,255,.04) 31px);
}
body.ma-edit .ed-ribbon h2 {
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 12px; position: relative;
}
body.ma-edit .ed-ribbon p { opacity: .9; margin-bottom: 28px; font-size: 16px; position: relative; }
body.ma-edit .ed-ribbon .ma-cta-btn {
    background: #fff; color: var(--ma-primary) !important;
    padding: 16px 32px; font-size: 16px; position: relative;
}

/* =============================================================
   ma-bru — media-academy4 · Brutalist / Editorial-Strict
   ============================================================= */
body.ma-bru {
    background: #FAFAFA;
}
body.ma-bru .bru-hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    padding: calc(var(--ma-header-h) + 60px) 0 60px;
    background: #FAFAFA;
    border-bottom: 2px solid var(--ma-text);
    display: flex; align-items: center;
}
body.ma-bru .bru-hero__inner { width: 100%; }
body.ma-bru .bru-tag {
    display: inline-block;
    background: var(--ma-text); color: #fff;
    padding: 6px 14px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
body.ma-bru .bru-hero h1 {
    font-size: clamp(38px, 8.5vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    text-transform: none;
}
body.ma-bru .bru-hero h1 .accent { color: var(--ma-primary); }
body.ma-bru .bru-hero p.lead {
    font-size: clamp(16px, 2.4vw, 20px);
    color: var(--ma-text);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 32px;
    border-left: 4px solid var(--ma-text);
    padding-left: 18px;
}
body.ma-bru .bru-meta {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    border-top: 2px solid var(--ma-text);
    padding-top: 24px;
    margin-top: 32px;
    max-width: 640px;
}
body.ma-bru .bru-meta dt { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ma-text-muted); margin-bottom: 4px; }
body.ma-bru .bru-meta dd { font-size: 16px; font-weight: 700; }
body.ma-bru .bru-hero__ctas { display: flex; gap: 0; margin-top: 32px; }
body.ma-bru .bru-hero__ctas .ma-cta-btn {
    border-radius: 0;
    padding: 18px 28px;
    font-size: 15px;
    background: var(--ma-text) !important;
    color: #fff !important;
}
body.ma-bru .bru-hero__ctas .ma-cta-btn--ghost {
    background: transparent !important;
    color: var(--ma-text) !important;
    border: 2px solid var(--ma-text);
    border-left: 0;
}

body.ma-bru .bru-section {
    padding: 80px 0;
    border-bottom: 2px solid var(--ma-text);
}
body.ma-bru .bru-section__num {
    font-size: 14px; font-weight: 900; letter-spacing: 0.2em;
    color: var(--ma-text-muted);
    margin-bottom: 12px;
}
body.ma-bru .bru-section__title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 900; line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    max-width: 14ch;
}
body.ma-bru .bru-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
body.ma-bru .bru-cell {
    padding: 28px 0;
    border-top: 2px solid var(--ma-text);
    display: grid; grid-template-columns: 60px 1fr; gap: 20px;
    align-items: start;
}
body.ma-bru .bru-cell:last-child { border-bottom: 2px solid var(--ma-text); }
body.ma-bru .bru-cell__num { font-size: 24px; font-weight: 900; }
body.ma-bru .bru-cell h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
body.ma-bru .bru-cell p { color: var(--ma-text-muted); font-size: 15px; line-height: 1.7; }
body.ma-bru .bru-cell__meta { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ma-text-muted); margin-top: 10px; }

body.ma-bru .bru-cta {
    background: var(--ma-text); color: #fff;
    padding: 80px 0;
    text-align: center;
}
body.ma-bru .bru-cta h2 { font-size: clamp(28px, 5vw, 44px); font-weight: 900; margin-bottom: 14px; letter-spacing: -0.02em; }
body.ma-bru .bru-cta p { opacity: .8; margin-bottom: 28px; }
body.ma-bru .bru-cta .ma-cta-btn {
    background: #fff !important; color: var(--ma-text) !important;
    border-radius: 0; padding: 18px 32px;
}

/* Hero visual — bold geometric poster */
body.ma-bru .bru-hero__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--ma-text);
    color: #fff;
    padding: 24px;
    overflow: hidden;
    margin-top: 32px;
}
body.ma-bru .bru-hero__visual::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 40%; height: 40%;
    background: var(--ma-primary);
    animation: ma-bru-block 6s ease-in-out infinite;
}
body.ma-bru .bru-hero__visual::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 50%; height: 30%;
    background: var(--ma-accent);
    animation: ma-bru-block 7s ease-in-out infinite reverse;
}
@keyframes ma-bru-block {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-8px, 8px); }
}
body.ma-bru .bru-hero__poster {
    animation: ma-bru-blink 3.5s steps(2, end) infinite;
}
@keyframes ma-bru-blink {
    0%, 92%, 100% { opacity: 1; }
    94% { opacity: .25; }
    96% { opacity: 1; }
}
/* Floating geometric accents around the visual */
body.ma-bru .bru-hero__visual .accent-shape {
    position: absolute;
    background: var(--ma-accent-warm);
    z-index: 3;
    pointer-events: none;
}
body.ma-bru .bru-hero__visual .accent-shape--circle {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--ma-accent-pink);
    top: 12%; left: 8%;
    animation: ma-bru-orbit 5s linear infinite;
}
body.ma-bru .bru-hero__visual .accent-shape--square {
    width: 24px; height: 24px;
    bottom: 18%; right: 12%;
    animation: ma-bru-spin 8s linear infinite;
}
body.ma-bru .bru-hero__visual .accent-shape--bar {
    width: 36px; height: 6px;
    background: #fff;
    top: 50%; left: 4%;
    animation: ma-bru-bar 4s ease-in-out infinite;
}
@keyframes ma-bru-orbit {
    0% { transform: translate(0, 0); }
    25% { transform: translate(8px, -8px); }
    50% { transform: translate(0, -16px); }
    75% { transform: translate(-8px, -8px); }
    100% { transform: translate(0, 0); }
}
@keyframes ma-bru-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes ma-bru-bar {
    0%, 100% { transform: scaleX(1); transform-origin: left; }
    50%      { transform: scaleX(2.5); transform-origin: left; }
}

/* Animated stripe across the bru hero */
body.ma-bru .bru-hero {
    position: relative;
    overflow: hidden;
}
body.ma-bru .bru-hero__ticker {
    position: absolute;
    bottom: 16px; left: 0; right: 0;
    overflow: hidden;
    pointer-events: none;
    border-top: 2px solid var(--ma-text);
    border-bottom: 2px solid var(--ma-text);
    padding: 6px 0;
    background: #FAFAFA;
}
body.ma-bru .bru-hero__ticker__track {
    display: inline-block;
    white-space: nowrap;
    animation: ma-bru-ticker 18s linear infinite;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--ma-text);
}
body.ma-bru .bru-hero__ticker__track span {
    margin: 0 24px;
}
body.ma-bru .bru-hero__ticker__track .accent {
    color: var(--ma-primary);
}
@keyframes ma-bru-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
body.ma-bru .bru-hero__poster {
    position: relative; z-index: 2;
    font-size: clamp(80px, 22vw, 180px);
    font-weight: 900; line-height: .9;
    letter-spacing: -0.05em;
    margin-top: 8px;
}
body.ma-bru .bru-hero__poster .accent { color: var(--ma-accent); }
body.ma-bru .bru-hero__poster span.dot { color: var(--ma-primary); }
body.ma-bru .bru-hero__visual .corner {
    position: absolute; bottom: 18px; right: 18px;
    border: 2px solid #fff;
    padding: 6px 12px;
    font-size: 11px; font-weight: 800;
    letter-spacing: 0.18em; text-transform: uppercase;
    z-index: 2;
}
body.ma-bru .bru-hero__visual .yr {
    position: absolute; top: 24px; right: 24px;
    z-index: 3;
    font-size: 14px; font-weight: 800;
    letter-spacing: 0.15em;
}

/* Cell icon graphics */
body.ma-bru .bru-cell__icon {
    width: 64px; height: 64px;
    background: var(--ma-text); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}
body.ma-bru .bru-cell:nth-child(2) .bru-cell__icon { background: var(--ma-primary); }
body.ma-bru .bru-cell:nth-child(3) .bru-cell__icon { background: var(--ma-accent); color: var(--ma-text); }
body.ma-bru .bru-cell:nth-child(4) .bru-cell__icon { background: var(--ma-accent-warm); color: var(--ma-text); }

/* Notice list — brutalist */
body.ma-bru .bru-notice { padding: 80px 0; border-bottom: 2px solid var(--ma-text); }
body.ma-bru .bru-notice__list { border-top: 2px solid var(--ma-text); }
body.ma-bru .bru-notice__row {
    display: grid;
    grid-template-columns: 90px 1fr 110px;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 2px solid var(--ma-text);
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: background .2s var(--ma-ease);
}
body.ma-bru .bru-notice__row:hover { padding-left: 24px; }
body.ma-bru .bru-notice__row:hover { background: var(--ma-text); color: #fff; }
body.ma-bru .bru-notice__row:hover .bru-notice__date { color: rgba(255,255,255,.7); }
body.ma-bru .bru-notice__cat {
    font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 2px solid currentColor;
    padding: 4px 8px;
    text-align: center;
}
body.ma-bru .bru-notice__title { font-size: 16px; font-weight: 700; }
body.ma-bru .bru-notice__date {
    font-size: 13px; color: var(--ma-text-muted);
    text-align: right; font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    body.ma-bru .bru-meta { grid-template-columns: repeat(4, 1fr); }
    body.ma-bru .bru-cell { grid-template-columns: 80px 1fr 200px; }
    body.ma-bru .bru-cell__icon-cell { grid-template-columns: 80px 80px 1fr 200px !important; }
    body.ma-bru .bru-hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
    body.ma-bru .bru-hero__visual { margin-top: 0; }
}

/* =============================================================
   ma-glass — media-academy5 · Glassmorphic / Modern
   ============================================================= */
body.ma-glass {
    background:
        radial-gradient(circle at 20% 0%, rgba(31, 111, 235, .25), transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(0, 194, 215, .25), transparent 50%),
        linear-gradient(135deg, #E8F1FF 0%, #F4F8FF 50%, #E0F4F7 100%);
    background-attachment: fixed;
}
body.ma-glass .ma-header { background: rgba(255,255,255,.55); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }

body.ma-glass .glass-hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    padding: calc(var(--ma-header-h) + 40px) 0 60px;
    display: flex; align-items: center;
    overflow: hidden;
}
body.ma-glass .glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: ma-float 12s ease-in-out infinite;
}
body.ma-glass .glass-orb--1 { width: 420px; height: 420px; background: rgba(31,111,235,.5); top: -120px; right: -80px; }
body.ma-glass .glass-orb--2 { width: 360px; height: 360px; background: rgba(0,194,215,.5); bottom: -120px; left: -80px; animation-delay: 3s; }
body.ma-glass .glass-orb--3 { width: 280px; height: 280px; background: rgba(255,107,157,.35); top: 40%; right: 30%; animation-delay: 6s; }

body.ma-glass .glass-card {
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 28px;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow: 0 20px 60px rgba(31,111,235,.18), inset 0 1px 0 rgba(255,255,255,.7);
}

body.ma-glass .glass-hero__card {
    position: relative; z-index: 2;
    padding: 40px 28px;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
body.ma-glass .glass-hero__card .ma-eyebrow { background: rgba(255,255,255,.6); }
body.ma-glass .glass-hero h1 {
    font-size: clamp(38px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}
body.ma-glass .glass-hero h1 .grad {
    background: linear-gradient(90deg, var(--ma-primary), var(--ma-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.ma-glass .glass-hero p.lead {
    font-size: clamp(15px, 2.4vw, 18px);
    color: var(--ma-text);
    line-height: 1.7;
    margin-bottom: 28px;
}
body.ma-glass .glass-hero__ctas { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

body.ma-glass .glass-section { padding: 80px 0; position: relative; }
body.ma-glass .glass-section__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
body.ma-glass .glass-section__head h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
body.ma-glass .glass-section__head p { color: var(--ma-text-muted); font-size: 16px; }

body.ma-glass .glass-grid {
    display: grid; grid-template-columns: 1fr; gap: 16px;
}
body.ma-glass .glass-tile {
    padding: 28px 24px;
    transition: transform .3s var(--ma-ease), box-shadow .3s var(--ma-ease);
}
body.ma-glass .glass-tile:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(31,111,235,.22); }
body.ma-glass .glass-tile__icon {
    width: 56px; height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--ma-primary), var(--ma-accent));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}
body.ma-glass .glass-tile h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
body.ma-glass .glass-tile p { color: var(--ma-text-muted); font-size: 14.5px; line-height: 1.7; }
body.ma-glass .glass-tile__meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--ma-text-muted); font-weight: 600; }

body.ma-glass .glass-cta {
    text-align: center;
    padding: 48px 28px;
    margin: 40px 0;
}
body.ma-glass .glass-cta h2 { font-size: clamp(24px, 4.5vw, 36px); font-weight: 800; margin-bottom: 12px; }
body.ma-glass .glass-cta p { color: var(--ma-text-muted); margin-bottom: 24px; }

body.ma-glass .ma-footer { background: rgba(15,27,51,.92); backdrop-filter: blur(20px); }

@media (min-width: 768px) {
    body.ma-glass .glass-hero__card { padding: 56px 48px; }
    body.ma-glass .glass-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
    body.ma-glass .glass-grid { grid-template-columns: repeat(4, 1fr); }
    body.ma-glass .glass-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------- Modal (notice popup) ---------------- */
.ma-modal {
    position: fixed; inset: 0;
    z-index: 9990;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: ma-modal-in .25s var(--ma-ease);
}
.ma-modal[hidden] { display: none; }
@keyframes ma-modal-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.ma-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 27, 51, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}
.ma-modal__panel {
    position: relative;
    background: #fff;
    border-radius: var(--ma-radius-lg);
    padding: 36px 32px 32px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(15, 27, 51, .35);
    animation: ma-modal-pop .3s var(--ma-ease);
}
@keyframes ma-modal-pop {
    from { transform: translateY(20px) scale(.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}
.ma-modal__close {
    position: absolute;
    top: 12px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--ma-text);
    background: var(--ma-bg);
    cursor: pointer;
    transition: background .2s var(--ma-ease), transform .2s var(--ma-ease);
}
.ma-modal__close:hover { background: var(--ma-line); transform: rotate(90deg); }
.ma-modal__head {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ma-line);
}
.ma-modal__head h2 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    margin: 8px 0 10px;
    letter-spacing: -0.01em;
}
.ma-modal__meta {
    color: var(--ma-text-muted);
    font-size: 13px;
}
.ma-modal__body {
    font-size: 15px;
    line-height: 1.85;
    word-break: break-word;
    color: var(--ma-text);
}
.ma-modal__body p { margin: 0 0 12px; }
.ma-modal__body p:last-child { margin-bottom: 0; }
.ma-modal__body h1, .ma-modal__body h2, .ma-modal__body h3, .ma-modal__body h4 {
    margin: 18px 0 10px; font-weight: 800; line-height: 1.4;
}
.ma-modal__body h1 { font-size: 22px; }
.ma-modal__body h2 { font-size: 20px; }
.ma-modal__body h3 { font-size: 18px; }
.ma-modal__body h4 { font-size: 16px; }
.ma-modal__body strong, .ma-modal__body b { font-weight: 700; }
.ma-modal__body em, .ma-modal__body i { font-style: italic; }
.ma-modal__body ul, .ma-modal__body ol { margin: 8px 0 14px; padding-left: 24px; }
.ma-modal__body li { margin: 4px 0; }
.ma-modal__body a { color: var(--ma-primary); text-decoration: underline; }
.ma-modal__body a:hover { color: #1655B8; }
.ma-modal__body blockquote {
    margin: 12px 0; padding: 10px 16px; border-left: 4px solid var(--ma-primary);
    background: #F4F8FF; color: var(--ma-text-muted);
}
.ma-modal__body code {
    background: #F4F6FA; color: #C9512E; padding: 2px 6px; border-radius: 4px;
    font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px;
}
.ma-modal__body pre {
    background: #1F2A45; color: #E8ECF3; padding: 14px 16px; border-radius: 8px;
    overflow-x: auto; margin: 12px 0; font-size: 13.5px; line-height: 1.6;
}
.ma-modal__body pre code { background: transparent; color: inherit; padding: 0; }
.ma-modal__body hr { border: 0; border-top: 1px solid var(--ma-line); margin: 18px 0; }
.ma-modal__body img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.ma-modal__body table {
    width: 100%; border-collapse: collapse; margin: 12px 0;
    font-size: 14px; border: 1px solid var(--ma-line);
}
.ma-modal__body th, .ma-modal__body td {
    border: 1px solid var(--ma-line); padding: 8px 12px; text-align: left;
    vertical-align: top;
}
.ma-modal__body thead th, .ma-modal__body th {
    background: #F4F7FD; font-weight: 700; color: var(--ma-text);
}

/* Notice items as clickable triggers */
.ma-notice__item[data-notice-id], .bru-notice__row[data-notice-id] { cursor: pointer; }
.ma-notice__item[data-notice-id] > * { pointer-events: none; }

@media (max-width: 480px) {
    .ma-modal { padding: 12px; }
    .ma-modal__panel { padding: 28px 22px 22px; max-height: 92vh; }
    .ma-modal__head h2 { font-size: 18px; }
}

/* ---------------- Inquiry / Tuition (single-page modal flows) ---------------- */
.ma-inq__head {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    margin-bottom: 16px;
}
.ma-inq__list {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    overflow: hidden;
}
.ma-inq__row {
    display: grid;
    grid-template-columns: 1fr 100px 100px;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--ma-line);
    cursor: pointer;
    align-items: center;
    transition: background .2s var(--ma-ease);
}
.ma-inq__row:last-child { border-bottom: 0; }
.ma-inq__row:hover { background: var(--ma-primary-soft); }
.ma-inq__row .lock { margin-right: 6px; opacity: .7; }
.ma-inq__title { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-inq__author, .ma-inq__date { color: var(--ma-text-muted); font-size: 13px; }
.ma-inq__date { text-align: right; font-variant-numeric: tabular-nums; }
.ma-inq__empty,
.ma-faq__empty,
.ma-list-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--ma-text-muted);
    font-size: 14px;
}

/* Modal form */
.ma-modal__form { display: flex; flex-direction: column; gap: 14px; color: var(--ma-text); }
.ma-modal__form label { font-weight: 700; font-size: 13.5px; color: var(--ma-text); display: block; margin-bottom: 6px; }
/* Buttons inside modal — force standard primary/ghost colors regardless of body theme */
.ma-modal .ma-cta-btn { background: var(--ma-primary); color: #fff !important; border-radius: var(--ma-radius-pill); border: 0; }
.ma-modal .ma-cta-btn:hover { background: var(--ma-primary-dark); }
.ma-modal .ma-cta-btn--ghost { background: transparent; color: var(--ma-primary) !important; border: 2px solid var(--ma-primary); }
.ma-modal .ma-cta-btn--ghost:hover { background: var(--ma-primary-soft); }
/* Inquiry write button — always primary blue regardless of body theme */
.ma-inq__head [data-inq-write] { background: var(--ma-primary) !important; color: #fff !important; border-radius: var(--ma-radius-pill); }
.ma-inq__head [data-inq-write]:hover { background: var(--ma-primary-dark) !important; }
.ma-modal__form input[type="text"],
.ma-modal__form input[type="password"],
.ma-modal__form select,
.ma-modal__form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-sm);
    font-size: 14.5px;
    font-family: inherit;
    color: var(--ma-text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.ma-modal__form select {
    height: 44px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A6478' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.ma-modal__form input:focus, .ma-modal__form select:focus, .ma-modal__form textarea:focus {
    outline: 0;
    border-color: var(--ma-primary);
    box-shadow: 0 0 0 4px rgba(31,111,235,.12);
}
.ma-modal__form textarea { min-height: 160px; resize: vertical; }
.ma-modal__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ma-modal__form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.ma-modal__form .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
.ma-modal__form .hint { font-size: 12px; color: var(--ma-text-muted); margin-top: 2px; }
.ma-modal__alert {
    padding: 10px 14px; border-radius: var(--ma-radius-sm);
    font-size: 13.5px; margin-bottom: 12px;
}
.ma-modal__alert--err { background: #FFE9EE; color: #B0234E; border: 1px solid #FFC1CF; }
.ma-modal__alert--ok  { background: #E5F8F2; color: #0E7D5A; border: 1px solid #B6EAD6; }

/* Tuition gate */
.ma-tuition__gate {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    padding: 32px 24px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}
.ma-tuition__gate .icon { font-size: 36px; margin-bottom: 12px; }
.ma-tuition__gate h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ma-tuition__gate p { color: var(--ma-text-muted); font-size: 13.5px; margin-bottom: 18px; }
.ma-tuition__gate input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-sm);
    font-size: 15px;
    margin-bottom: 12px;
}
.ma-tuition__gate input[type="password"]:focus {
    outline: 0;
    border-color: var(--ma-primary);
    box-shadow: 0 0 0 4px rgba(31,111,235,.12);
}
.ma-tuition__content {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    padding: 28px 24px;
    line-height: 1.85;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 14.5px;
}
.ma-tuition__err {
    color: #B0234E;
    background: #FFE9EE;
    padding: 10px 14px;
    border-radius: var(--ma-radius-sm);
    font-size: 13px;
    margin-bottom: 10px;
}

@media (max-width: 480px) {
    .ma-inq__row { grid-template-columns: 1fr auto; padding: 14px 16px; }
    .ma-inq__author { display: none; }
    .ma-modal__form .row { grid-template-columns: 1fr; }
}

/* ---------------- Hero meta (주최·주관·대상·기간) ---------------- */
.ma-hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 24px 0;
    padding: 18px 0;
    border-top: 1px solid var(--ma-line);
    border-bottom: 1px solid var(--ma-line);
    max-width: 560px;
}
.ma-hero__meta div { display: flex; flex-direction: column; gap: 4px; }
.ma-hero__meta dt {
    font-size: 11px; font-weight: 800;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ma-text-muted);
}
.ma-hero__meta dd { font-size: 14.5px; font-weight: 700; color: var(--ma-text); }
@media (min-width: 540px) {
    .ma-hero__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Magazine variant — light text on dark hero */
body.ma-mag .mag-hero .ma-hero__meta {
    border-color: rgba(255,255,255,.18);
    max-width: 720px;
}
body.ma-mag .mag-hero .ma-hero__meta dt { color: rgba(255,255,255,.55); }
body.ma-mag .mag-hero .ma-hero__meta dd { color: #fff; }

/* =============================================================
   ma-craft — media-academy6 · 에디토리얼 / 사람 손맛 스타일
   답변서 "푸른 계열" 톤 유지하되 AI 자동 생성 느낌을 줄이기 위해
   각진 모서리·옵셋 그림자·미세 회전·이탤릭 액센트 등 인쇄물 디테일.
   ============================================================= */
body.ma-craft {
    background: #F2F6FD;  /* 차가운 푸른 종이 톤 */
    color: var(--ma-text);
}
body.ma-craft .ma-header {
    background: rgba(242, 246, 253, .92);
    border-bottom: 1px solid rgba(31, 111, 235, .12);
}
body.ma-craft .ma-header.is-scrolled {
    border-bottom-color: rgba(31, 111, 235, .25);
}
body.ma-craft .ma-logo { color: var(--ma-text); font-weight: 800; letter-spacing: -0.01em; }
body.ma-craft .ma-logo__mark { display: none; }  /* 로고 마크 숨김 */

body.ma-craft .ma-gnb__list a { color: var(--ma-text); font-weight: 500; }
body.ma-craft .ma-gnb__list a::after { background: var(--ma-primary); }
body.ma-craft .ma-gnb__list a:hover { color: var(--ma-primary); }

/* CTA 버튼 — 푸른 톤 + 손그림 옵셋 그림자 */
body.ma-craft .ma-cta-btn {
    background: var(--ma-primary-dark); color: #fff !important;
    border-radius: 0;  /* 각진 버튼 */
    box-shadow: 4px 4px 0 var(--ma-primary);  /* 솔리드 옵셋 그림자 */
    padding: 14px 22px;
    transition: transform .15s var(--ma-ease), box-shadow .15s var(--ma-ease);
}
body.ma-craft .ma-cta-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ma-primary);
    background: var(--ma-primary-dark);
}
body.ma-craft .ma-cta-btn--ghost {
    background: transparent !important;
    color: var(--ma-primary-dark) !important;
    border: 2px solid var(--ma-primary-dark);
    box-shadow: 4px 4px 0 var(--ma-primary-dark);
}
body.ma-craft .ma-cta-btn--ghost:hover { background: var(--ma-primary-dark) !important; color: #fff !important; }

/* Hero — 비대칭 타이포 중심 */
body.ma-craft .ma-hero {
    background: #F2F6FD;
    padding: calc(var(--ma-header-h) + 60px) 0 80px;
    min-height: auto;
    display: block;
}
body.ma-craft .ma-hero__inner { display: block; }
body.ma-craft .ma-hero__copy { max-width: 820px; }
body.ma-craft .ma-eyebrow {
    background: transparent;
    border: 1px dashed var(--ma-primary);
    color: var(--ma-primary-dark);
    font-style: italic;
    letter-spacing: 0;
    padding: 4px 12px;
}
body.ma-craft .ma-eyebrow .dot { background: var(--ma-primary); }
body.ma-craft .ma-hero h1 {
    font-size: clamp(40px, 7vw, 80px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
}
body.ma-craft .ma-hero h1 .grad {
    background: none;
    color: var(--ma-primary-dark);
    -webkit-text-fill-color: var(--ma-primary-dark);
    position: relative;
    display: inline-block;
}
/* 푸른 형광펜 밑줄 효과 (손그림 느낌) */
body.ma-craft .ma-hero h1 .grad::after {
    content: '';
    position: absolute;
    left: -2%; right: -2%; bottom: -4px;
    height: 12px;
    background: rgba(31,111,235,.22);
    z-index: -1;
    transform: skewX(-2deg);
}
body.ma-craft .ma-hero p.lead {
    color: var(--ma-text-muted);
    font-size: clamp(16px, 2.4vw, 19px);
    max-width: 640px;
    line-height: 1.85;
}
body.ma-craft .ma-hero__visual { display: none; }  /* AI풍 블롭+이모지 제거 */

body.ma-craft .ma-hero__highlights { gap: 10px; margin-bottom: 28px; }
body.ma-craft .ma-hero__chip {
    background: #FFF;
    border: 1px solid rgba(31,111,235,.18);
    color: var(--ma-text);
    font-weight: 600;
}

body.ma-craft .ma-hero__meta {
    border-top: 1px solid var(--ma-text);
    border-bottom: 1px solid var(--ma-text);
    max-width: 640px;
}
body.ma-craft .ma-hero__meta dt { color: var(--ma-text-muted); }
body.ma-craft .ma-hero__meta dd { color: var(--ma-text); font-weight: 700; }

/* 섹션 구분 — 손그림 점선 */
body.ma-craft .ma-section { padding: 72px 0; }
body.ma-craft .ma-section + .ma-section { border-top: 1px dashed rgba(31,111,235,.22); }
body.ma-craft .ma-section__head { text-align: left; max-width: 720px; margin-bottom: 36px; }
body.ma-craft .ma-section__eyebrow {
    color: var(--ma-primary-dark);
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-size: 16px;
}
body.ma-craft .ma-section__title {
    font-size: clamp(28px, 4.8vw, 44px);
    text-align: left;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ma-text);
    position: relative;
    padding-left: 24px;
}
body.ma-craft .ma-section__title::before {
    content: '';
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 6px;
    background: var(--ma-primary);
    transform: skewY(-1deg);
}
body.ma-craft .ma-section__desc { text-align: left; color: var(--ma-text-muted); max-width: 600px; }

/* About 카드 — 종이 느낌 */
body.ma-craft .ma-feature {
    background: #FFF;
    border: 1px solid rgba(31,111,235,.15);
    border-radius: 0;
    padding: 28px 26px;
    box-shadow: 5px 5px 0 rgba(31,111,235,.1);
    transition: transform .25s var(--ma-ease), box-shadow .25s var(--ma-ease);
}
body.ma-craft .ma-feature:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 rgba(31,111,235,.3);
    border-color: rgba(31,111,235,.15);
}
body.ma-craft .ma-feature__icon {
    background: transparent;
    color: var(--ma-primary);
    font-size: 30px;
    width: auto; height: auto;
    border-radius: 0;
    padding: 0;
    margin-bottom: 14px;
}
body.ma-craft .ma-feature h3 { font-weight: 800; color: var(--ma-text); }
body.ma-craft .ma-feature p { color: var(--ma-text-muted); }
/* 카드별 약간의 회전 (사람 손맛) */
body.ma-craft .ma-about__grid > .ma-feature:nth-child(1) { transform: rotate(-.4deg); }
body.ma-craft .ma-about__grid > .ma-feature:nth-child(2) { transform: rotate(.3deg); }
body.ma-craft .ma-about__grid > .ma-feature:nth-child(3) { transform: rotate(-.2deg); }
body.ma-craft .ma-about__grid > .ma-feature:nth-child(4) { transform: rotate(.4deg); }
body.ma-craft .ma-about__grid > .ma-feature:hover { transform: translate(-2px,-2px) rotate(0); }

/* 강의 카드 — 인덱스 카드 느낌 */
body.ma-craft .ma-curri { background: transparent; }
body.ma-craft .ma-card {
    background: #FFF;
    border: 1px solid rgba(31,111,235,.15);
    border-radius: 0;
    box-shadow: 6px 6px 0 rgba(31,111,235,.1);
    transition: transform .25s var(--ma-ease), box-shadow .25s var(--ma-ease);
}
body.ma-craft .ma-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 rgba(31,111,235,.3); }
body.ma-craft .ma-card__cover {
    background: var(--ma-primary-dark);
    color: #fff;
    aspect-ratio: 5/3;
    font-size: 56px;
}
body.ma-craft .ma-card:nth-child(2n) .ma-card__cover { background: var(--ma-primary); }
body.ma-craft .ma-card:nth-child(3n) .ma-card__cover { background: var(--ma-accent); color: var(--ma-text); }
body.ma-craft .ma-tag {
    background: transparent;
    border: 1px solid var(--ma-primary);
    color: var(--ma-primary-dark);
    border-radius: 0;
    font-weight: 700;
}

/* 인덱스 카드 코너 — 페이지 번호 마진 노트 */
body.ma-craft .ma-card { position: relative; }
body.ma-craft .ma-curri__grid { counter-reset: card; }
body.ma-craft .ma-card::before {
    counter-increment: card;
    content: counter(card, decimal-leading-zero) ".";
    position: absolute;
    top: -10px; left: 14px;
    background: #F2F6FD;
    padding: 0 8px;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--ma-primary-dark);
    z-index: 2;
}

/* 모집요강 패널 — 영수증/노트 느낌 */
body.ma-craft .ma-panel {
    background: #FFF;
    border: 1px solid rgba(31,111,235,.18);
    border-radius: 0;
    box-shadow: 5px 5px 0 rgba(31,111,235,.1);
}
body.ma-craft .ma-dl > div { border-bottom-style: dashed; border-bottom-color: rgba(31,111,235,.22); }
body.ma-craft .ma-dl dt { color: var(--ma-text-muted); font-family: 'Times New Roman', serif; font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
body.ma-craft .ma-dl dd { color: var(--ma-text); font-weight: 500; }

/* CTA 배너 — 큰 손글씨 카드 */
body.ma-craft .ma-cta-banner__inner {
    background: var(--ma-primary-dark);
    border-radius: 0;
    box-shadow: 12px 12px 0 var(--ma-accent);
    transform: rotate(-.3deg);
}
body.ma-craft .ma-cta-banner h2 { color: #fff; }
body.ma-craft .ma-cta-banner p { color: rgba(255,255,255,.8); }
body.ma-craft .ma-cta-banner .ma-cta-btn {
    background: var(--ma-accent) !important;
    color: var(--ma-text) !important;
    box-shadow: 4px 4px 0 #fff;
}

/* 공지사항 — 노트 줄 느낌 */
body.ma-craft .ma-notice__list {
    background: #FFF;
    border: 1px solid rgba(31,111,235,.15);
    border-radius: 0;
    box-shadow: 5px 5px 0 rgba(31,111,235,.1);
}
body.ma-craft .ma-notice__item { border-bottom: 1px dashed rgba(31,111,235,.18); }
body.ma-craft .ma-notice__cat { background: var(--ma-primary-dark); color: #fff; border-radius: 0; }
body.ma-craft .ma-notice__item:hover { background: var(--ma-primary-soft); }

/* 푸터 — 다크 네이비 인쇄 느낌 */
body.ma-craft .ma-footer { background: #0F1B33; color: rgba(255,255,255,.7); margin-top: 0; }
body.ma-craft .ma-footer__ci { background: #fff; color: #0F1B33; border-radius: 0; }

/* 1:1 문의 — 카드 */
body.ma-craft .ma-inq__list,
body.ma-craft #ma-inq-listbox > div {
    border-radius: 0;
    border-color: rgba(31,111,235,.15);
}

/* Footer — 한 줄 정렬 */
body.ma-craft .ma-footer__inner { gap: 20px; }

/* ---------------- GNB Submenu Dropdown (media-academy 1번 전용) ---------------- */
.ma-gnb__list > li { position: relative; }
.ma-gnb__sub {
    position: absolute;
    top: 100%; left: -16px;
    min-width: 200px;
    padding: 12px 0;
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    box-shadow: var(--ma-shadow-md);
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s var(--ma-ease), transform .2s var(--ma-ease), visibility .2s;
    z-index: 1010;
    list-style: none;
}
.ma-gnb__list > li:hover > .ma-gnb__sub,
.ma-gnb__list > li:focus-within > .ma-gnb__sub {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.ma-gnb__sub li { margin: 0; }
.ma-gnb__sub a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ma-text);
    white-space: nowrap;
}
.ma-gnb__sub a:hover { background: var(--ma-primary-soft); color: var(--ma-primary); }
.ma-gnb__sub a::after { display: none; }
.ma-gnb__has-sub > a::after {
    content: '▾';
    margin-left: 4px; font-size: 10px;
    transform: none; background: none; position: static; display: inline-block;
    height: auto; width: auto; line-height: 1; color: var(--ma-text-muted);
}
.ma-gnb__has-sub > a:hover::after { color: var(--ma-primary); transform: none; }
@media (max-width: 1023px) {
    .ma-mobile-nav .ma-gnb__sub { padding: 4px 0 8px 14px; list-style: none; }
    .ma-mobile-nav .ma-gnb__sub a { padding: 8px 12px; font-size: 14.5px; color: var(--ma-text-muted); border-radius: 0; }
}

/* Sub-section heading */
.ma-sub-block { margin-bottom: 48px; }
.ma-sub-block:last-child { margin-bottom: 0; }
.ma-sub-block__head {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ma-primary);
    display: inline-block;
}
.ma-sub-block__head h3 {
    font-size: 16px; font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ma-text);
}

/* FAQ accordion */
.ma-faq__list {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    overflow: hidden;
}
.ma-faq__item {
    background: #fff;
    border-bottom: 1px solid var(--ma-line);
    border-radius: 0;
    overflow: hidden;
}
.ma-faq__list .ma-faq__item:last-child { border-bottom: 0; }
.ma-faq__q {
    width: 100%; text-align: left;
    padding: 18px 20px;
    background: transparent;
    font-size: 15px; font-weight: 700;
    color: var(--ma-text);
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
    list-style: none;
}
.ma-faq__q::-webkit-details-marker { display: none; }
.ma-faq__q::after {
    content: '+'; font-size: 22px; color: var(--ma-primary);
    flex-shrink: 0; transition: transform .2s var(--ma-ease);
}
.ma-faq__item[open] .ma-faq__q::after { content: '−'; }
.ma-faq__a {
    padding: 0 20px 18px;
    color: var(--ma-text-muted);
    font-size: 14.5px; line-height: 1.75;
    border-top: 1px dashed var(--ma-line);
    margin-top: 0; padding-top: 16px;
}
.ma-faq__more-btn {
    display: block; width: 100%; margin-top: 14px;
    padding: 14px 20px;
    background: #fff; border: 1px solid var(--ma-line); border-radius: var(--ma-radius-md);
    font-size: 14.5px; font-weight: 700; color: var(--ma-text);
    cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s;
    font-family: inherit;
}
.ma-faq__more-btn:hover { background: var(--ma-primary); border-color: var(--ma-primary); color: #fff; }

/* 자료실 stub */
.ma-resource__list {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: var(--ma-radius-md);
    overflow: hidden;
}
.ma-resource__item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px; padding: 16px 20px;
    border-bottom: 1px solid var(--ma-line);
    align-items: center;
}
.ma-resource__item:last-child { border-bottom: 0; }
.ma-resource__title { font-weight: 600; font-size: 14.5px; }
.ma-resource__date { color: var(--ma-text-muted); font-size: 13px; }
.ma-resource__empty { padding: 40px; text-align: center; color: var(--ma-text-muted); }

/* 일정 타임라인 */
.ma-schedule { position: relative; padding-left: 28px; }
.ma-schedule::before {
    content: '';
    position: absolute; left: 8px; top: 6px; bottom: 6px;
    width: 2px; background: var(--ma-primary-soft);
}
.ma-schedule__item { position: relative; padding-bottom: 20px; }
.ma-schedule__item:last-child { padding-bottom: 0; }
.ma-schedule__item::before {
    content: '';
    position: absolute; left: -27px; top: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--ma-primary);
}
.ma-schedule__date {
    font-size: 12.5px; font-weight: 700;
    color: var(--ma-primary);
    letter-spacing: 0.06em; margin-bottom: 4px;
}
.ma-schedule__title { font-weight: 700; font-size: 15.5px; }
.ma-schedule__desc { font-size: 14px; color: var(--ma-text-muted); margin-top: 2px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 99999;
    padding: 10px 16px;
    background: var(--ma-text);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--ma-radius-sm);
}
.skip-link:focus {
    left: 16px;
    outline: 3px solid var(--ma-primary);
}
/* Visible focus ring for keyboard users only */
body.ma *:focus-visible {
    outline: 3px solid var(--ma-primary);
    outline-offset: 2px;
    border-radius: 4px;
}
body.ma button:focus-visible,
body.ma a:focus-visible,
body.ma [role="button"]:focus-visible {
    outline: 3px solid var(--ma-primary);
    outline-offset: 3px;
}
/* SR-only utility */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ---------------- Tuition hidden (운영자 결정 — 강의별 실습비로 통합 예정) ---------------- */
#tuition { display: none !important; }
.ma-gnb__list li:has(> a[href="#tuition"]),
.ma-mobile-nav li:has(> a[href="#tuition"]) { display: none !important; }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------------- Tablet ---------------- */
@media (min-width: 768px) {
    :root { --ma-header-h: 72px; }
    .ma-section { padding: 96px 0; }
    .ma-about__grid { grid-template-columns: repeat(2, 1fr); }
    .ma-curri__grid { grid-template-columns: repeat(2, 1fr); }
    .ma-cta-banner__inner { padding: 56px 40px; }
    .ma-footer__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ---------------- Desktop ---------------- */
@media (min-width: 1024px) {
    .ma-gnb { display: block; }
    .ma-gnb-cta { display: inline-flex !important; }
    .ma-burger, .ma-mobile-nav { display: none !important; }
    .ma-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
    .ma-header__inner .ma-logo { justify-self: start; }
    .ma-header__inner .ma-gnb { justify-self: center; }
    .ma-hero { padding: var(--ma-header-h) 0 0; }
    .ma-hero__inner { grid-template-columns: 2fr 2fr; gap: 0; }
    .ma-hero__visual { max-width: 680px; }
    .ma-hero__icon { width: 96px; height: 96px; border-radius: 26px; font-size: 44px; }
    .ma-curri__grid { grid-template-columns: repeat(4, 1fr); }
    .ma-about__grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   ma 메인 시안 — Hero 하단 (4 카드 + 3 블록 highlights)
   * Hero(.ma-hero) 영역 자체는 손대지 않음
   ============================================================= */

/* ---------- Quick info: 4 카드 row ---------- */
.ma-quickinfo {
    padding: 24px 0 0;
    background: var(--ma-bg);
}
.ma-quickinfo__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0;
    margin: 0;
    padding: 10px 8px;
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(15, 30, 60, 0.05);
}
@media (min-width: 768px) {
    .ma-quickinfo__grid { grid-template-columns: auto auto auto 1fr; padding: 10px 12px; }
    .ma-quickinfo__grid > div { padding: 12px 18px 12px 60px; }
    /* 좌측 3개 항목은 컨텐츠 폭(auto)에 추가 여유 패딩 */
    .ma-quickinfo__grid > div:not(:last-child) { padding-right: 72px; }
}
@media (min-width: 1100px) {
    .ma-quickinfo__grid dd { white-space: nowrap; }
    .ma-quickinfo__grid dd small { white-space: normal; }
}
.ma-quickinfo__grid > div {
    position: relative;
    padding: 12px 18px 12px 64px;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}
/* | divider between items (열 사이) — 모바일에서 2x2일 때는 짝수번째 li 왼쪽에만, 데스크톱 4열에서는 1·2·3 오른쪽에 */
.ma-quickinfo__grid > div + div::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 60%;
    background: var(--ma-line);
}
@media (max-width: 767px) {
    /* 2x2: 짝수 컬럼(2,4)에만 좌측 divider 표시 → 1·3에는 X */
    .ma-quickinfo__grid > div:nth-child(odd)::before { display: none; }
}
.ma-quickinfo__grid dt { font-size: 12.5px; font-weight: 700; color: var(--ma-text-muted); margin: 0; }
.ma-quickinfo__grid dd { font-size: 15px; font-weight: 800; color: var(--ma-text); letter-spacing: -0.01em; line-height: 1.35; margin: 0; }
.ma-quickinfo__grid dd small { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 500; color: var(--ma-text-muted); letter-spacing: -0.01em; line-height: 1.4; }
.ma-quickinfo__grid > div::after {
    content: '';
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 12px;
    background-color: rgba(31,111,235,.12);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}
.ma-quickinfo__grid > div[data-ico="cal"]::after    { background-color: rgba(31,111,235,.14);  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='17' rx='2'/><line x1='3' y1='9' x2='21' y2='9'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='16' y1='2' x2='16' y2='6'/></svg>"); }
.ma-quickinfo__grid > div[data-ico="people"]::after { background-color: rgba(138,92,245,.14);  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5CF5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/><circle cx='10' cy='7' r='4'/><path d='M23 21v-2a4 4 0 0 0-3-3.87'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>"); }
.ma-quickinfo__grid > div[data-ico="layers"]::after { background-color: rgba(0,194,215,.14);   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B0C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polygon points='12 2 2 7 12 12 22 7 12 2'/><polyline points='2 17 12 22 22 17'/><polyline points='2 12 12 17 22 12'/></svg>"); }
.ma-quickinfo__grid > div[data-ico="team"]::after   { background-color: rgba(249,168,38,.16);  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E08C00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='7' r='3'/><circle cx='17' cy='9' r='2.5'/><path d='M3 20v-1.5C3 16.6 5.6 15 9 15s6 1.6 6 3.5V20'/><path d='M15 20v-1c0-1.4 1.4-2.5 3-2.5s3 1.1 3 2.5V20'/></svg>"); }

/* ---------- Highlights: 3 blocks ---------- */
.ma-highlights {
    padding: 24px 0 56px;
    background: radial-gradient(900px 240px at 50% -50%, rgba(31,111,235,.07), transparent 70%), var(--ma-bg);
}
.ma-highlights__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 1024px) {
    .ma-highlights__grid { grid-template-columns: 4fr 4fr 2fr; gap: 22px; align-items: stretch; }
}
.ma-hcard {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: 22px;
    padding: 16px 22px;
    box-shadow: 0 8px 24px rgba(15, 30, 60, 0.05);
    display: flex;
    flex-direction: column;
}
/*.ma-hcard__head { margin-bottom: 18px; }*/
.ma-hcard__head h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--ma-text); line-height: 1.4; }
.ma-hcard__head .hl { color: var(--ma-primary); }

/* Benefit (4 cards 1x4) */
.ma-hcard__bullets {
    list-style: none; padding: 0;
    margin: auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}
.ma-hcard__bullets li {
    display: grid;
    grid-template-rows: 64px auto 1fr;
    justify-items: center;
    align-items: center;
    text-align: center;
    row-gap: 10px;
    padding: 16px 8px;
    background: #fff;
    border: 0;
    border-radius: 14px;
}
.ma-hcard__bullets strong {
    font-size: 14px; font-weight: 800; color: var(--ma-text);
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: anywhere;
    margin: 0;
}
.ma-hcard__bullets em {
    font-style: normal;
    font-size: 12px; color: var(--ma-text-muted); font-weight: 500;
    line-height: 1.7;
    align-self: start;
    word-break: keep-all;
    overflow-wrap: anywhere;
    margin: 0;
}
.ma-hcard__ico {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 1px solid var(--ma-line);
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px;
    flex-shrink: 0;
}
.ma-hcard__ico[data-ico="film"]      { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='2' width='20' height='20' rx='2.18'/><line x1='7' y1='2' x2='7' y2='22'/><line x1='17' y1='2' x2='17' y2='22'/><line x1='2' y1='12' x2='22' y2='12'/><line x1='2' y1='7' x2='7' y2='7'/><line x1='2' y1='17' x2='7' y2='17'/><line x1='17' y1='17' x2='22' y2='17'/><line x1='17' y1='7' x2='22' y2='7'/></svg>"); }
.ma-hcard__ico[data-ico="coin"]      { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E08C00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M9 9.5h4.5a2 2 0 0 1 0 4H10a2 2 0 0 0 0 4h5'/><line x1='12' y1='6' x2='12' y2='8'/><line x1='12' y1='16' x2='12' y2='18'/></svg>"); }
.ma-hcard__ico[data-ico="wallet"]    { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E08C00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12V7H5a2 2 0 0 1 0-4h14v4'/><path d='M3 5v14a2 2 0 0 0 2 2h16v-5'/><path d='M18 12a2 2 0 0 0 0 4h4v-4z'/></svg>"); }
.ma-hcard__ico[data-ico="mentor"]    { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5CF5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/><circle cx='10' cy='7' r='4'/><path d='M19 8v6'/><path d='M22 11h-6'/></svg>"); }
.ma-hcard__ico[data-ico="trophy"]    { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B0C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M8 21h8'/><path d='M12 17v4'/><path d='M7 4h10v5a5 5 0 0 1-10 0V4z'/><path d='M17 5h2a2 2 0 0 1 2 2v1a3 3 0 0 1-3 3'/><path d='M7 5H5a2 2 0 0 0-2 2v1a3 3 0 0 0 3 3'/></svg>"); }
.ma-hcard__ico[data-ico="megaphone"] { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 11v2a2 2 0 0 0 2 2h2l4 5V4L7 9H5a2 2 0 0 0-2 2z'/><path d='M16 8a5 5 0 0 1 0 8'/><path d='M19 5a9 9 0 0 1 0 14'/></svg>"); }
.ma-hcard__ico[data-ico="people2"]   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5CF5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/><circle cx='10' cy='7' r='4'/><path d='M23 21v-2a4 4 0 0 0-3-3.87'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>"); }
.ma-hcard__ico[data-ico="book"]      { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B0C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/><path d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/></svg>"); }
.ma-hcard__ico[data-ico="clap"]      { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9354A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polygon points='23 7 16 12 23 17 23 7'/><rect x='1' y='5' width='15' height='14' rx='2' ry='2'/></svg>"); }
.ma-hcard__ico[data-ico="chart"]     { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E08C00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='20' x2='12' y2='10'/><line x1='18' y1='20' x2='18' y2='4'/><line x1='6' y1='20' x2='6' y2='16'/></svg>"); }

/* Process flow (5 steps horizontal) */
.ma-hcard--process { display: flex; flex-direction: column; }
.ma-hcard__flow {
    list-style: none; padding: 0;
    margin: auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    width: 100%;
}
.ma-hcard__flow li {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 14px 6px 12px;
    background: #fff;
    border: 0;
    border-radius: 14px;
    position: relative;
}
.ma-hcard__flow li::after {
    content: '';
    position: absolute; top: 28%; right: -14px;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5B5B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
    background-repeat: no-repeat; background-position: center;
    background-size: 22px 22px;
    z-index: 2;
}
.ma-hcard__flow li:last-child::after { display: none; }
.ma-hcard__flow li .ma-hcard__ico { width: 56px; height: 56px; background-size: 28px 28px; margin-bottom: 8px; }
.ma-hcard__flow li .num {
    font-size: 10.5px; font-weight: 800; color: var(--ma-text);
    background: transparent;
    border: 0;
    padding: 0; border-radius: 0;
    margin-bottom: 4px;
}
.ma-hcard__flow li .lbl { font-size: 12.5px; font-weight: 800; color: var(--ma-text); line-height: 1.3; }
.ma-hcard__flow li .sub { font-size: 11px; color: var(--ma-text-muted); font-weight: 600; margin-top: 2px; }

/* People illustration (가운데 박스 하단) */
.ma-hcard__people {
    margin-top: auto;
    padding-top: 18px;
    text-align: center;
}
.ma-hcard__people img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Side card (주요 일정 row + 공지사항 row) */
.ma-hcard--side { padding: 0; gap: 0; overflow: visible; }
.ma-hcard__row { padding: 14px 20px; }
.ma-hcard__row + .ma-hcard__row { border-top: 1px solid var(--ma-line); }
/*.ma-hcard__row .ma-hcard__head { margin-bottom: 14px; }*/

/* 주요 일정 row — 흰 배경 (카드 기본) + 캘린더 absolute 겹침 */
.ma-hcard__row--sched {
    background: transparent;
    position: relative;
    overflow: hidden;
}
.ma-hcard__row--sched .ma-hcard__head h2 { color: var(--ma-text); }
.ma-hcard__sched {
    list-style: none; margin: 0;
    display: flex; flex-direction: column; gap: 4px;
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 14px;
    padding: 14px 0px 0px 0px;
    /*box-shadow: 0 2px 10px rgba(70, 40, 130, 0.08);*/
}
.ma-hcard__sched li {
    display: grid;
    grid-template-columns: 78px 1fr;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    background: transparent;
}
.ma-hcard__sched li .tag {
    background: #C9B6F2;
    color: #fff;
    font-size: 11.5px; font-weight: 500;
    padding: 5px 0; border-radius: 999px;
    text-align: center;
    line-height: 1;
}
.ma-hcard__sched li .lbl { font-size: 13.5px; font-weight: 700; color: var(--ma-text); }
.ma-hcard__sched-art {
    position: absolute;
    right: 4px; bottom: 4px;
    width: 100px; height: 104px;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
    pointer-events: none;
    z-index: 2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none'><rect x='12' y='22' width='58' height='50' rx='8' fill='%23E2D5F7'/><rect x='14' y='18' width='56' height='48' rx='8' fill='%23B8A3F0'/><rect x='14' y='18' width='56' height='14' rx='8' fill='%237C5BD7'/><rect x='14' y='26' width='56' height='6' fill='%237C5BD7'/><line x1='26' y1='10' x2='26' y2='24' stroke='%235A3FA8' stroke-width='4' stroke-linecap='round'/><line x1='58' y1='10' x2='58' y2='24' stroke='%235A3FA8' stroke-width='4' stroke-linecap='round'/><circle cx='24' cy='44' r='5' fill='%23fff'/><path d='M21 44 L23 46 L27 42' stroke='%237C5BD7' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/><circle cx='42' cy='44' r='5' fill='%23fff'/><path d='M39 44 L41 46 L45 42' stroke='%237C5BD7' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/><circle cx='60' cy='44' r='5' fill='%23fff'/><path d='M57 44 L59 46 L63 42' stroke='%237C5BD7' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/><circle cx='24' cy='58' r='5' fill='%23fff'/><path d='M21 58 L23 60 L27 56' stroke='%237C5BD7' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/><circle cx='42' cy='58' r='5' fill='none' stroke='%23DCD0F2' stroke-width='1.5'/><circle cx='60' cy='58' r='5' fill='none' stroke='%23DCD0F2' stroke-width='1.5'/></svg>");
}

/* 공지사항 row — bullet · + 우측 메가폰 + 더보기 + */
.ma-hcard__row--notice {
    position: relative;
    overflow: visible;
}
.ma-hcard__row--notice .ma-hcard__head {
    display: flex; justify-content: space-between; align-items: center;
}
.ma-hcard__plus {
    color: var(--ma-text-muted);
    font-size: 22px; font-weight: 400;
    line-height: 1;
    text-decoration: none;
    padding: 0 6px;
}
.ma-hcard__plus:hover { color: var(--ma-primary); }
.ma-hcard__notices {
    list-style: none; margin: 0;
    display: flex; flex-direction: column; gap: 4px;
    position: relative;
    z-index: 1;
    padding: 14px 0 0 0;
}
.ma-hcard__notice-link {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
    padding: 1px 4px;
    text-decoration: none;
    color: var(--ma-text);
}
.ma-hcard__notice-link::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #7C5BD7;
    flex-shrink: 0;
    margin-right: 6px;
}
.ma-hcard__notice-link .ttl {
    font-size: 16px; font-weight: 500;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    flex: 1 1 auto; min-width: 0;
}
.ma-hcard__notice-link .dt { font-size: 14px; color: var(--ma-text-muted); font-weight: 400; flex-shrink: 0; }
.ma-hcard__notice-link:hover .ttl { color: var(--ma-primary); }
.ma-hcard__empty { padding: 18px 0; text-align: center; color: var(--ma-text-muted); font-size: 13px; }
.ma-hcard__notice-art {
    position: absolute;
    right: -64px; bottom: -16px;
    width: 96px; height: 92px;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
    pointer-events: none;
    transform: scaleX(-1);
    z-index: 3;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231F6FEB'><path d='M18 8v8c.83 0 1.5-.67 1.5-1.5v-5c0-.83-.67-1.5-1.5-1.5zM16 5L11 9H7c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h1v3a1 1 0 0 0 2 0v-3h1l5 4V5z'/></svg>");
}
.ma-hcard__more {
    display: inline-block;
    margin-top: 10px;
    font-size: 12.5px; font-weight: 700;
    color: var(--ma-primary);
    text-decoration: none;
    align-self: flex-start;
}
.ma-hcard__more:hover { text-decoration: underline; }

/* Mobile fine tune */
@media (max-width: 1023px) {
    .ma-hcard__bullets, .ma-hcard__flow { margin: 0; }
    .ma-hcard__bullets { grid-template-columns: repeat(2, 1fr); }
    .ma-hcard__flow { gap: 4px; }
    .ma-hcard__flow li { padding: 12px 4px; }
    .ma-hcard__flow li::after { width: 18px; height: 18px; right: -10px; background-size: 18px 18px; }
    .ma-hcard__flow li .lbl { font-size: 11.5px; }
}
@media (max-width: 640px) {
    .ma-hcard { padding: 22px 18px; border-radius: 18px; }
    .ma-hcard__head h2 { font-size: 17px; }
    .ma-hcard__bullets { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ma-hcard__flow { grid-template-columns: 1fr; gap: 8px; }
    .ma-hcard__flow li { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; padding: 10px 0; text-align: left; }
    .ma-hcard__flow li .ma-hcard__ico { margin-bottom: 0; }
    .ma-hcard__flow li::after { top: auto; bottom: -10px; left: 50%; right: auto; transform: translateX(-50%) rotate(90deg); }
    .ma-hcard--side .ma-hcard__row { padding: 14px 0; }
    .ma-quickinfo__grid > div { min-height: 56px; padding: 10px 14px 10px 58px; }
    .ma-quickinfo__grid > div::after { width: 32px; height: 32px; left: 14px; }
    .ma-quickinfo__grid dd { font-size: 14px; }
    .ma-hcard__people { padding-top: 14px; }
}

/* ============================================
   About section — dark hero band + tabs + rich panels
   ============================================ */

/* Hide legacy section head inside about — replaced by dark hero band */
body.ma .ma-about > .ma-container > .ma-section__head { display: none; }

/* Dark hero band — wraps the title row + tab strip (tabs absolute at bottom).
   Bottom corners flat so the tab strip + content card below merge continuously. */
body.ma .ma-about__hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1B3A6B 0%, #2A4F8E 60%, #355CA1 100%);
    color: #fff;
    border-radius: 20px 20px 0 0;
    padding: 32px 22px 84px;
    margin-bottom: 0;
    display: block;
}
body.ma .ma-about__hero-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    position: relative;
    z-index: 1;
}
body.ma .ma-about__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.06) 0 2px, transparent 3px),
        radial-gradient(circle at 28% 78%, rgba(255,255,255,0.05) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 22%, rgba(255,255,255,0.05) 0 2px, transparent 3px),
        radial-gradient(circle at 92% 88%, rgba(255,255,255,0.06) 0 2px, transparent 3px);
    pointer-events: none;
}
body.ma .ma-about__hero-text { position: relative; z-index: 1; }
body.ma .ma-about__hero h2 {
    font-size: clamp(30px, 5.5vw, 44px);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
    color: #fff;
}
body.ma .ma-about__hero p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
}
body.ma .ma-about__hero-art {
    position: relative;
    z-index: 1;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
body.ma .ma-about__hero-shape {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px 26px;
}
body.ma .ma-about__hero-shape--play {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M8 5v14l11-7z'/></svg>");
}
body.ma .ma-about__hero-shape--cam {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M23 7l-7 5 7 5V7z'/><rect x='1' y='5' width='15' height='14' rx='2' ry='2'/></svg>");
}
body.ma .ma-about__hero-shape--ai {
    font-size: 16px; font-weight: 800; letter-spacing: 0.04em;
    color: #fff;
    background-image: linear-gradient(135deg, rgba(31,111,235,0.55), rgba(138,92,245,0.55));
}

@media (min-width: 768px) {
    body.ma .ma-about__hero { padding: 44px 40px 92px; }
    body.ma .ma-about__hero-top {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    body.ma .ma-about__hero-art { gap: 14px; }
    body.ma .ma-about__hero-shape { width: 64px; height: 64px; }
}

/* 2-tab variant (e.g., instructor section AI/VP) — used in place of the default 3-col grid */
body.ma .ma-tabs--two { grid-template-columns: repeat(2, 1fr) !important; }

/* Tabs — absolutely pinned to the bottom of dark band, 90% width centered,
   only top corners rounded (looks like a tab "card" emerging from the band bottom). */
body.ma .ma-about__hero .ma-tabs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 90%;
    margin: 0 auto;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
body.ma .ma-about__hero .ma-tabs__btn {
    position: relative;
    background: transparent;
    color: var(--ma-text-muted);
    border-radius: 0;
    padding: 22px 8px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
}
body.ma .ma-about__hero .ma-tabs__btn:hover {
    color: var(--ma-text);
    background: transparent;
}
body.ma .ma-about__hero .ma-tabs__btn.is-active {
    background: transparent;
    color: var(--ma-primary);
    box-shadow: none;
    font-weight: 700;
}
body.ma .ma-about__hero .ma-tabs__btn.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--ma-primary);
}
body.ma .ma-about__hero .ma-tabs__btn .ma-tabs__ico { opacity: 0.45; filter: grayscale(1); }
body.ma .ma-about__hero .ma-tabs__btn.is-active .ma-tabs__ico { opacity: 1; filter: none; }
body.ma .ma-tabs__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    background: transparent;
    border: 0;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ma-text-muted);
    cursor: pointer;
    transition: background-color 0.18s, color 0.18s, box-shadow 0.18s;
    line-height: 1;
}
body.ma .ma-tabs__btn:hover { color: var(--ma-text); }
body.ma .ma-tabs__btn.is-active {
    background: #fff;
    color: var(--ma-primary);
    box-shadow: 0 2px 8px rgba(15,30,60,0.06);
}
body.ma .ma-tabs__ico {
    width: 16px; height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    opacity: 0.7;
}
body.ma .ma-tabs__btn.is-active .ma-tabs__ico { opacity: 1; }
body.ma .ma-tabs__ico[data-ico="check"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
body.ma .ma-tabs__ico[data-ico="cal"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
}
body.ma .ma-tabs__ico[data-ico="loc"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>");
}
body.ma .ma-tabs__ico[data-ico="grid"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='8' height='8' rx='1.5'/><rect x='13' y='3' width='8' height='8' rx='1.5'/><rect x='3' y='13' width='8' height='8' rx='1.5'/><rect x='13' y='13' width='8' height='8' rx='1.5'/></svg>");
}
body.ma .ma-tabs__btn:not(.is-active) .ma-tabs__ico {
    filter: grayscale(1);
}

/* Tab panel base */
body.ma .ma-tab-panel { scroll-margin-top: 80px; }
body.ma .ma-tab-panel[hidden] { display: none; }

/* === 모집요강 — AI/VP 분야 탭 + 콘텐츠 그룹 카드 (탭이랑 내용이 한 블록) === */
body.ma .ma-apply-group {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: 14px;
    overflow: hidden;
}
body.ma .ma-apply-group .ma-apply-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--ma-line);
    background: #fafbfd;
}
body.ma .ma-apply-tabs__btn {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 20px 8px;
    color: var(--ma-text-muted);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    transition: color 0.18s, background-color 0.18s;
}
body.ma .ma-apply-tabs__btn:hover {
    color: var(--ma-text);
    background: rgba(31,111,235,0.04);
}
body.ma .ma-apply-tabs__btn.is-active {
    color: var(--ma-primary);
    background: #fff;
    box-shadow: inset 0 -3px 0 var(--ma-primary);
}
body.ma .ma-apply-group .ma-apply-panel { padding: 24px; }
body.ma .ma-apply-panel[hidden] { display: none; }
body.ma .ma-apply-panel { animation: maApplyFade 0.22s ease both; }
@keyframes maApplyFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
body.ma .ma-apply-group__dl { margin: 0; }
body.ma .ma-apply-group__dl > div { padding: 12px 0; }
body.ma .ma-apply-group__dl > div:first-child { padding-top: 0; }
body.ma .ma-apply-group__dl > div:last-child { padding-bottom: 0; }
body.ma .ma-apply-group__note {
    margin: 18px 0 0;
    padding: 12px 14px;
    background: #F7F9FE;
    border-radius: 8px;
    font-size: 13px;
    color: var(--ma-text-muted);
    line-height: 1.5;
}
body.ma .ma-apply-group__dl .ma-req { color: var(--ma-primary); }
body.ma .ma-apply-group__dl .ma-dd-note {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--ma-text-muted);
    line-height: 1.5;
}
body.ma .ma-apply-group__dl .ma-dd-sub {
    display: block;
    margin-top: 4px;
    font-size: 13.5px;
    color: var(--ma-text);
    line-height: 1.55;
}
body.ma .ma-apply-group__dl .ma-dd-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}
body.ma .ma-apply-group__dl .ma-dd-list > li {
    padding-left: 4px;
    line-height: 1.6;
}
body.ma .ma-apply-group__dl > div > dd { flex: 1 1 auto; min-width: 0; }
body.ma .ma-apply-group__dl .ma-dd-region {
    margin-top: 8px;
}
body.ma .ma-page-header__desc--nowrap { white-space: nowrap; }
@media (max-width: 767px) {
    body.ma .ma-page-header__desc--nowrap { white-space: normal; }
}
body.ma .ma-dd-region__table {
    width: 100%;
    margin: 6px 0;
    border-collapse: collapse;
    font-size: 13.5px;
    line-height: 1.5;
}
body.ma .ma-dd-region__table th,
body.ma .ma-dd-region__table td {
    border: 1px solid var(--ma-border, #e3e6ec);
    padding: 8px 10px;
    text-align: left;
    vertical-align: middle;
    color: var(--ma-text);
}
body.ma .ma-dd-region__table th {
    width: 30%;
    background: #f7f9fc;
    font-weight: 600;
    white-space: nowrap;
}
body.ma .ma-dd-region__table .ma-dd-region__fmt {
    width: 56px;
    text-align: center;
    color: var(--ma-text-muted);
    white-space: nowrap;
}
@media (max-width: 640px) {
    body.ma .ma-dd-region__table th { white-space: normal; }
    body.ma .ma-dd-region__table th,
    body.ma .ma-dd-region__table td { padding: 6px 7px; }
    body.ma .ma-dd-region__table { font-size: 12.5px; }
}
body.ma .ma-apply-steps {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative;
}
body.ma .ma-apply-steps > li {
    position: relative;
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: 14px;
    padding: 22px 12px 20px;
    text-align: center;
    transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
body.ma .ma-apply-steps > li:hover {
    border-color: var(--ma-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31,111,235,0.08);
}
body.ma .ma-apply-steps > li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -21px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5B5B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 6 15 12 9 18'/></svg>");
    z-index: 2;
}
body.ma .ma-apply-step__icon {
    width: 120px; height: 120px;
    border-radius: 50%;
    background-color: #F4F7FD;
    border: 1px solid #E5ECF7;
    display: flex; align-items: center; justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 78px 78px;
    flex-shrink: 0;
}
body.ma .ma-apply-step__icon[data-step-ico="click"]  { background-image: url("/assets/img/apply-step/step-01-signup.svg"); }
body.ma .ma-apply-step__icon[data-step-ico="doc"]    { background-image: url("/assets/img/apply-step/step-02-doc.svg"); }
body.ma .ma-apply-step__icon[data-step-ico="mic"]    { background-image: url("/assets/img/apply-step/step-03-interview.svg"); }
body.ma .ma-apply-step__icon[data-step-ico="check"]  { background-image: url("/assets/img/apply-step/step-04-select.svg"); }
body.ma .ma-apply-step__icon[data-step-ico="group"]  { background-image: url("/assets/img/apply-step/step-05-team.svg"); }
body.ma .ma-apply-step__num {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--ma-primary);
}
body.ma .ma-apply-step__body h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ma-text);
    margin: 0;
    line-height: 1.45;
}
@media (max-width: 1023px) {
    body.ma .ma-apply-step__icon { width: 96px; height: 96px; background-size: 64px 64px; }
    body.ma .ma-apply-steps { gap: 14px; }
    body.ma .ma-apply-steps > li:not(:last-child)::after { right: -17px; width: 18px; height: 18px; background-size: 18px 18px; }
}
@media (max-width: 760px) {
    body.ma .ma-apply-steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    body.ma .ma-apply-steps > li:not(:last-child)::after { display: none; }
    body.ma .ma-apply-steps > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
    body.ma .ma-apply-tabs__btn { padding: 10px 22px; font-size: 14px; }
}

/* === 과정소개 panel === */

/* 카드 공통 sub-head */
body.ma .ma-about__sub-head { margin-bottom: 20px; }
body.ma .ma-about__sub-head h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--ma-text);
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}
body.ma .ma-about__sub-head p {
    font-size: 16.5px;
    color: var(--ma-text-muted);
    line-height: 1.55;
}
/* When a 2nd (or later) sub-head follows an intro-card inside the same intro wrapper,
   give it generous top spacing so it reads as a new section. */
body.ma .ma-about__sub-head--next { margin-top: 36px; }

/* Intro outer wrapper — light blue background; title/subtitle live OUTSIDE the inner white card.
   Reused for all 3 tab panels (course-intro / schedule / venue) for consistent visual structure. */
body.ma .ma-about__intro {
    background: #EFF4FB;
    border: 1px solid var(--ma-line);
    border-radius: 0 0 18px 18px;
    border-top: 0;
    padding: 44px 28px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(15,30,60,0.04);
}
/* Inner white card holds the panel-specific content */
body.ma .ma-about__intro-card {
    background: #fff;
    border: 1px solid rgba(15,30,60,0.06);
    border-radius: 14px;
    padding: 22px 20px;
    margin-top: 22px;
    min-height: 200px;
}
/* Standalone variant — used when wrapper is NOT attached to dark hero above (e.g., instructor section).
   Has full rounded corners and full border (top is closed). */
body.ma .ma-about__intro--standalone {
    border-radius: 18px;
    border-top: 1px solid var(--ma-line);
}
/* Schedule/venue panels now share the same .ma-about__intro wrapper as course-intro,
   so no per-panel override is needed. */

/* ============================================
   Fields tab — 2 field cards (AI / VP) with dark hero + light body
   ============================================ */
body.ma .ma-about__fields-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 768px) {
    body.ma .ma-about__fields-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}

body.ma .ma-field {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15,30,60,0.06);
    display: flex;
    flex-direction: column;
}

/* Dark hero block */
body.ma .ma-field__hero {
    position: relative;
    padding: 26px 24px;
    color: #fff;
    background:
        radial-gradient(120% 80% at 90% 20%, rgba(31,111,235,0.65), transparent 60%),
        linear-gradient(135deg, #1A2D5C 0%, #243F7C 60%, #2D5099 100%);
    overflow: hidden;
}
/* Top-right circular icon */
body.ma .ma-field__hero-ico {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(4px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px 36px;
    z-index: 2;
}
body.ma .ma-field__hero-ico[data-ico="ai"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4'/><path d='M12 2v3'/><path d='M12 19v3'/><path d='M2 12h3'/><path d='M19 12h3'/><path d='M5.6 5.6l2.1 2.1'/><path d='M16.3 16.3l2.1 2.1'/><path d='M5.6 18.4l2.1-2.1'/><path d='M16.3 7.7l2.1-2.1'/></svg>");
}
body.ma .ma-field__hero-ico[data-ico="vp"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='7' width='20' height='10' rx='2'/><circle cx='8' cy='12' r='2'/><circle cx='16' cy='12' r='2'/><path d='M10 12h4'/></svg>");
}
body.ma .ma-field--vp .ma-field__hero {
    background:
        radial-gradient(120% 80% at 90% 20%, rgba(138,92,245,0.5), transparent 60%),
        linear-gradient(135deg, #2A1A55 0%, #3F2E7C 50%, #5A3DA6 100%);
}
body.ma .ma-field__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.06) 0 1.5px, transparent 2px),
        radial-gradient(circle at 70% 78%, rgba(255,255,255,0.05) 0 1.5px, transparent 2px),
        radial-gradient(circle at 88% 18%, rgba(255,255,255,0.06) 0 1.5px, transparent 2px);
    pointer-events: none;
}
body.ma .ma-field__hero > * { position: relative; z-index: 1; }

/* === Field card font hierarchy: title 22 / sub-title 16 / content 14 === */
body.ma .ma-field__tag {
    display: inline-block;
    background: var(--ma-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
body.ma .ma-field--vp .ma-field__tag { background: #8A5CF5; }

body.ma .ma-field__title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    line-height: 1.3;
}
body.ma .ma-field__desc {
    font-size: 16px;
    color: #fff;
    line-height: 1.55;
    margin-bottom: 18px;
}

body.ma .ma-field__stats {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
body.ma .ma-field__stats li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
body.ma .ma-field__stat-ico {
    width: 18px; height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}
body.ma .ma-field__stat-ico[data-ico="team"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/><circle cx='10' cy='7' r='4'/><path d='M23 21v-2a4 4 0 0 0-3-3.87'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>");
}
body.ma .ma-field__stat-ico[data-ico="person"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
}

body.ma .ma-field__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s;
}
body.ma .ma-field__cta:hover { background: rgba(255,255,255,0.3); }

/* Light body block */
body.ma .ma-field__body {
    padding: 20px 22px;
    background: rgba(31,111,235,0.04);
    flex: 1;
    display: flex;
    flex-direction: column;
}
body.ma .ma-field--vp .ma-field__body { background: rgba(138,92,245,0.05); }

body.ma .ma-field__sub {
    display: inline-block;
    background: rgba(31,111,235,0.12);
    color: var(--ma-primary);
    font-size: 16px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    align-self: flex-start;
}
body.ma .ma-field--vp .ma-field__sub {
    background: rgba(138,92,245,0.14);
    color: #8A5CF5;
}

body.ma .ma-field__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    gap: 8px;
}
body.ma .ma-field__bullets li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ma-text);
    line-height: 1.55;
}
body.ma .ma-field__bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 3px;
    width: 18px; height: 18px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 16px no-repeat;
}
body.ma .ma-field--vp .ma-field__bullets li::before {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5CF5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 16px no-repeat;
}

body.ma .ma-field__final {
    background: rgba(31,111,235,0.10);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: auto;
}
body.ma .ma-field--vp .ma-field__final { background: rgba(138,92,245,0.10); }
body.ma .ma-field__final-tag {
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    color: var(--ma-primary);
    margin-bottom: 6px;
}
body.ma .ma-field--vp .ma-field__final-tag { color: #8A5CF5; }
body.ma .ma-field__final p.ma-field__final-sub {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ma-text);
    line-height: 1.6;
}
body.ma .ma-field__final p.ma-field__final-note {
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--ma-text-muted);
    line-height: 1.5;
}
body.ma .ma-field__final p {
    font-size: 14px;
    color: var(--ma-text);
    line-height: 1.55;
    margin: 0;
}
body.ma .ma-about__intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
}
@media (min-width: 768px) {
    body.ma .ma-about__intro-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px;
    }
}

body.ma .ma-about__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}
body.ma .ma-about__features li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 12px 4px;
}
body.ma .ma-about__features li + li {
    border-top: 1px dashed rgba(31,111,235,0.12);
}
body.ma .ma-about__feat-ico {
    width: 44px; height: 44px;
    border-radius: 50%;
    background-color: rgba(31,111,235,0.08);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
    flex-shrink: 0;
}
body.ma .ma-about__feat-ico[data-ico="target"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='2' fill='%231F6FEB'/></svg>");
}
body.ma .ma-about__feat-ico[data-ico="growth"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 17 9 11 13 15 21 7'/><polyline points='14 7 21 7 21 14'/></svg>");
}
body.ma .ma-about__feat-ico[data-ico="gear"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3'/><path d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/></svg>");
}
body.ma .ma-about__feat-ico[data-ico="briefcase"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='7' width='20' height='14' rx='2'/><path d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/><line x1='2' y1='13' x2='22' y2='13'/></svg>");
}
body.ma .ma-about__feat-text h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ma-text);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
body.ma .ma-about__feat-text p {
    font-size: 15.5px;
    color: var(--ma-text-muted);
    line-height: 1.6;
}

/* Right illustration block — SVG fills the area, no border once content is present */
body.ma .ma-about__intro-art {
    border: 0;
    border-radius: 12px;
    background: transparent;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
body.ma .ma-about__intro-art svg {
    width: 100%;
    height: auto;
    max-height: 360px;
    display: block;
}

/* (.ma-about__structure no longer used — 교육 구성 is now nested inside .ma-about__intro) */

/* Education modules — 공통교육 / 맞춤형 교육 banners (icon-left + body-right) */
body.ma .ma-about__edu {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 18px;
    align-items: start;
    background: #E5EFFB;
    border: 1px solid rgba(31,111,235,0.14);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 0;
    border-left: 0;
    box-shadow: none;
}
body.ma .ma-about__edu--custom {
    background: #E1F2EA;
    border-color: rgba(46,180,124,0.20);
}
body.ma .ma-about__edu-ico {
    width: 84px; height: 84px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.78);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 38px;
}
body.ma .ma-about__edu-ico[data-ico="book"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/><path d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/></svg>");
}
body.ma .ma-about__edu-ico[data-ico="clap"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232EB47C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 9 L22 9 L22 20 L2 20 Z'/><path d='M3 4 L7 9'/><path d='M9 4 L13 9'/><path d='M15 4 L19 9'/><polygon points='10 13 10 17 15 15' fill='%232EB47C'/></svg>");
}

body.ma .ma-about__edu-body { min-width: 0; }
body.ma .ma-about__edu-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
body.ma .ma-about__edu-head h4 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
body.ma .ma-about__edu-head h4 small {
    font-size: 14px;
    font-weight: 600;
    margin-left: 4px;
}
/* 공통교육 — 파란 텍스트 */
body.ma .ma-about__edu--common .ma-about__edu-head h4 { color: var(--ma-primary); }
body.ma .ma-about__edu--common .ma-about__edu-head h4 small { color: rgba(31,111,235,0.72); }
/* 맞춤형 교육 — 초록 텍스트 */
body.ma .ma-about__edu--custom .ma-about__edu-head h4 { color: #1FA572; }
body.ma .ma-about__edu--custom .ma-about__edu-head h4 small { color: rgba(31,165,114,0.78); }

body.ma .ma-about__edu-tag {
    background: var(--ma-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
body.ma .ma-about__edu-tag--blue { background: var(--ma-primary); }
body.ma .ma-about__edu-tag--orange { background: #FF9A2B; }
body.ma .ma-about__edu-tag--green { background: #2EB47C; }
body.ma .ma-about__edu-tag--purple { background: #8A5CF5; }

body.ma .ma-about__edu-desc {
    font-size: 15.5px;
    color: var(--ma-text);
    line-height: 1.6;
    margin-bottom: 16px;
}

body.ma .ma-about__edu-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
}
body.ma .ma-about__edu-note {
    margin: 14px 0 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ma-text-muted);
}
body.ma .ma-about__edu-bullets li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: var(--ma-text);
    line-height: 1.5;
}
body.ma .ma-about__edu-bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 18px; height: 18px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 17px no-repeat;
    border-radius: 0;
}
body.ma .ma-about__edu--custom .ma-about__edu-bullets li::before {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232EB47C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 17px no-repeat;
}

/* Arrow between the two banners */
body.ma .ma-about__edu-arrow {
    text-align: center;
    color: var(--ma-text-muted);
    font-size: 22px;
    line-height: 1;
    padding: 12px 0;
    user-select: none;
}

/* Struct card — transparent (no white bg, no border) so banners/pills sit directly on the light blue outer */
body.ma .ma-about__intro-card--struct {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    min-height: 0;
}

/* Info pills row — single attached container with | dividers between cells (4 default, --5 for 5 cols) */
body.ma .ma-about__pills {
    list-style: none;
    margin: 22px 0 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    box-shadow: 0 2px 6px rgba(15,30,60,0.03);
}
body.ma .ma-about__pills--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 768px) {
    body.ma .ma-about__pills,
    body.ma .ma-about__pills--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.ma .ma-about__pills li {
    position: relative;
    padding: 16px 18px;
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "ico lbl"
        "ico val";
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    min-width: 0;
}
/* | divider between cells */
body.ma .ma-about__pills li + li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 62%;
    background: var(--ma-line);
}
@media (max-width: 767px) {
    body.ma .ma-about__pills li:nth-child(odd)::before { display: none; }
}
/* icon spans full height on the left; label sits in top row, value in bottom row on the right */
body.ma .ma-about__pills li::after {
    content: '';
    grid-area: ico;
    width: 52px; height: 52px;
    border-radius: 12px;
    background-color: rgba(31,111,235,0.10);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    align-self: center;
}
body.ma .ma-about__pills li > .lbl { grid-area: lbl; align-self: end; }
body.ma .ma-about__pills li > .val { grid-area: val; align-self: start; }
/* Legacy .ma-about__pill-ico span no longer used — kept hidden for safety */
body.ma .ma-about__pill-ico { display: none; }
/* Pill icons — applied to li[data-ico="..."]::after (circular badge on the left) */
body.ma .ma-about__pills li[data-ico="cal"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
}
body.ma .ma-about__pills li[data-ico="people"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/><circle cx='9' cy='7' r='4'/><path d='M23 21v-2a4 4 0 0 0-3-3.87'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>");
}
body.ma .ma-about__pills li[data-ico="time"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' 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>");
}
body.ma .ma-about__pills li[data-ico="coin"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M9 9.5h4.5a2 2 0 0 1 0 4H10a2 2 0 0 0 0 4h5'/><line x1='12' y1='6' x2='12' y2='8'/><line x1='12' y1='16' x2='12' y2='18'/></svg>");
}
body.ma .ma-about__pills li[data-ico="grid"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='8' height='8' rx='1.5'/><rect x='13' y='3' width='8' height='8' rx='1.5'/><rect x='3' y='13' width='8' height='8' rx='1.5'/><rect x='13' y='13' width='8' height='8' rx='1.5'/></svg>");
}
body.ma .ma-about__pills li[data-ico="people2"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6FEB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/><circle cx='10' cy='7' r='4'/><path d='M23 21v-2a4 4 0 0 0-3-3.87'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>");
}
body.ma .ma-about__pills .lbl {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--ma-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
    max-width: 100%;
    word-break: keep-all;
}
body.ma .ma-about__pills .val {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--ma-text);
    line-height: 1.4;
    margin: 0;
    max-width: 100%;
    word-break: keep-all;
}
body.ma .ma-about__pills .val small {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ma-text-muted);
    line-height: 1.35;
    margin-top: 3px;
    letter-spacing: -0.01em;
}

/* 최종 결과물 */
body.ma .ma-about__final {
    margin-top: 16px;
    padding: 20px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #E8EFFB 0%, #F0EAFE 100%);
    border: 1px solid rgba(138,92,245,0.15);
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
body.ma .ma-about__final-text { flex: 1 1 auto; min-width: 0; }
body.ma .ma-about__final-text p { margin: 0; }
body.ma .ma-about__final-eyebrow {
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ma-primary);
    margin-bottom: 8px;
}
body.ma .ma-about__final-text p {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ma-text);
    line-height: 1.6;
}
body.ma .ma-about__final-text p.ma-about__final-sub {
    margin-top: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ma-text);
    line-height: 1.6;
}
body.ma .ma-about__final-text p.ma-about__final-note {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    color: var(--ma-text-muted);
    line-height: 1.5;
}
body.ma .ma-about__final-art {
    width: 64px; height: 56px;
    border-radius: 12px;
    background: rgba(255,255,255,0.65);
    box-shadow: 0 4px 12px rgba(31,111,235,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body.ma .ma-about__final-art-ico {
    width: 28px; height: 28px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
body.ma .ma-about__final-art-ico[data-ico="play"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231F6FEB'><path d='M8 5v14l11-7z'/></svg>");
}

/* ============================================
   Mobile fine-tune for about section
   ============================================ */

/* Tablet & mobile (≤1023px) — generic tightening */
@media (max-width: 1023px) {
    /* Outer light-blue wrapper padding */
    body.ma .ma-about__intro { padding: 32px 20px; }

    /* Inner white card padding */
    body.ma .ma-about__intro-card { padding: 18px 16px; min-height: 0; }

    /* Edu banner (공통교육 / 맞춤형) — smaller icon column */
    body.ma .ma-about__edu {
        grid-template-columns: 60px 1fr;
        column-gap: 14px;
        padding: 18px 16px;
    }
    body.ma .ma-about__edu-ico { width: 60px; height: 60px; background-size: 28px; }
    body.ma .ma-about__edu-head h4 { font-size: 16px; }
    body.ma .ma-about__edu-head h4 small { font-size: 13px; }
    body.ma .ma-about__edu-desc { font-size: 14px; margin-bottom: 12px; }
    body.ma .ma-about__edu-bullets { grid-template-columns: 1fr; gap: 8px; }
    body.ma .ma-about__edu-bullets li { font-size: 13.5px; padding-left: 26px; }

    /* Field cards (AI/VP) — Title 19 / Sub-title 15 / Content 13.5 hierarchy */
    body.ma .ma-field__hero { padding: 22px 20px; }
    body.ma .ma-field__title { font-size: 19px; }
    body.ma .ma-field__desc,
    body.ma .ma-field__sub,
    body.ma .ma-field__final-tag { font-size: 15px; }
    body.ma .ma-field__tag,
    body.ma .ma-field__stats li,
    body.ma .ma-field__cta,
    body.ma .ma-field__bullets li,
    body.ma .ma-field__final p { font-size: 13.5px; }
    body.ma .ma-field__body { padding: 18px 18px; }
}

/* Mobile portrait (≤767px) */
@media (max-width: 767px) {
    /* Hero band — hide deco shapes to keep band compact, tighten padding */
    body.ma .ma-about__hero { padding: 28px 20px 70px; }
    body.ma .ma-about__hero h2 { font-size: clamp(26px, 6.5vw, 34px); margin-bottom: 8px; }
    body.ma .ma-about__hero p { font-size: 13px; }
    body.ma .ma-about__hero-top { padding-bottom: 0; gap: 0; }
    body.ma .ma-about__hero-art { display: none; }

    /* Tab buttons */
    body.ma .ma-about__hero .ma-tabs__btn {
        padding: 16px 4px;
        font-size: 12.5px;
        gap: 5px;
    }
    body.ma .ma-about__hero .ma-tabs__ico { width: 14px; height: 14px; }

    /* Sub-head titles */
    body.ma .ma-about__sub-head { margin-bottom: 16px; }
    body.ma .ma-about__sub-head h3 { font-size: 20px; }
    body.ma .ma-about__sub-head p { font-size: 14px; }
    body.ma .ma-about__sub-head--next { margin-top: 28px; }

    /* 4 features list */
    body.ma .ma-about__features li { padding: 10px 0; gap: 12px; }
    body.ma .ma-about__feat-ico { width: 40px; height: 40px; background-size: 20px; }
    body.ma .ma-about__feat-text h4 { font-size: 16px; }
    body.ma .ma-about__feat-text p { font-size: 14px; line-height: 1.55; }

    /* Right empty box: shorter on mobile */
    body.ma .ma-about__intro-art { min-height: 120px; }

    /* Pills — 2x2, tighter cells */
    body.ma .ma-about__pills { padding: 6px 8px; }
    body.ma .ma-about__pills li {
        padding: 12px 10px;
        min-height: 76px;
        column-gap: 10px;
    }
    body.ma .ma-about__pills li::after {
        width: 40px; height: 40px;
        background-size: 22px;
        border-radius: 10px;
    }
    body.ma .ma-about__pills .lbl { font-size: 14.5px; }
    body.ma .ma-about__pills .val { font-size: 13.5px; }
    body.ma .ma-about__pills .val small { font-size: 11.5px; }

    /* 최종 결과물 — stack vertically */
    body.ma .ma-about__final { grid-template-columns: 1fr; padding: 16px 18px; }
    body.ma .ma-about__final-art { justify-self: flex-start; }
    body.ma .ma-about__final-eyebrow { font-size: 16px; }
    body.ma .ma-about__final-text p { font-size: 14px; }

    /* Field card — Title 18 / Sub-title 14 / Content 13 hierarchy */
    body.ma .ma-field__hero { padding: 20px 18px; }
    body.ma .ma-field__title { font-size: 18px; line-height: 1.3; }
    body.ma .ma-field__desc,
    body.ma .ma-field__sub,
    body.ma .ma-field__final-tag { font-size: 14px; }
    body.ma .ma-field__tag,
    body.ma .ma-field__stats li,
    body.ma .ma-field__cta,
    body.ma .ma-field__bullets li,
    body.ma .ma-field__final p { font-size: 13px; }
    body.ma .ma-field__desc { margin-bottom: 14px; }
    body.ma .ma-field__stats { gap: 14px; margin-bottom: 14px; }
    body.ma .ma-field__cta { padding: 8px 14px; }
    body.ma .ma-field__body { padding: 16px 16px; }
    body.ma .ma-field__sub { padding: 5px 12px; }
    body.ma .ma-field__bullets li { padding-left: 22px; }
    body.ma .ma-field__final { padding: 12px 14px; }
}

/* ============================================
   Instructors section — tabs (AI / VP) + slider with dark cards
   ============================================ */
body.ma .ma-instr-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 22px 0 24px;
}

/* === Instructors section — distinct concept (centered showcase + segmented tabs) === */
body.ma .ma-instructors {
    background:
        radial-gradient(900px 320px at 50% 0%, rgba(31,111,235,0.06), transparent 70%),
        linear-gradient(180deg, #F4F8FF 0%, transparent 60%);
}
body.ma .ma-instructors__head {
    text-align: center;
    margin-bottom: 28px;
}
body.ma .ma-instructors__kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--ma-primary);
    margin-bottom: 14px;
}
body.ma .ma-instructors__title {
    font-size: clamp(26px, 4.2vw, 36px);
    font-weight: 800;
    color: var(--ma-text);
    letter-spacing: -0.015em;
    margin-bottom: 12px;
    line-height: 1.2;
}
body.ma .ma-instructors__lead {
    font-size: 16.5px;
    color: var(--ma-text-muted);
    line-height: 1.55;
    max-width: 540px;
    margin: 0 auto;
}

/* Segmented tab control (different from pill / underline tabs used elsewhere) */
body.ma .ma-instructors__seg-wrap {
    text-align: center;
    margin-bottom: 32px;
}
body.ma .ma-instructors__seg {
    display: inline-flex;
    background: #E8EFFB;
    border: 1px solid rgba(31,111,235,0.10);
    border-radius: 14px;
    padding: 6px;
    gap: 4px;
    box-shadow: inset 0 1px 2px rgba(15,30,60,0.04);
}
body.ma .ma-instructors__seg-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ma-text-muted);
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    line-height: 1;
}
body.ma .ma-instructors__seg-btn:hover { color: var(--ma-text); }
body.ma .ma-instructors__seg-btn.is-active {
    background: #fff;
    color: var(--ma-primary);
    box-shadow: 0 2px 8px rgba(15,30,60,0.08);
}
body.ma .ma-instructors__seg-btn .cnt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(31,111,235,0.12);
    color: var(--ma-primary);
    font-size: 11.5px;
    font-weight: 800;
}
body.ma .ma-instructors__seg-btn.is-active .cnt {
    background: var(--ma-primary);
    color: #fff;
}

@media (max-width: 640px) {
    body.ma .ma-instructors__seg-btn { padding: 9px 14px; font-size: 13px; gap: 7px; }
    body.ma .ma-instructors__seg-btn .cnt { min-width: 20px; height: 20px; font-size: 11px; padding: 0 6px; }
}

/* ============================================
   Board layout (table-style list) — used for 공지사항 + 1:1 문의 + 수강료 지원
   ============================================ */
body.ma .ma-board {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: 12px;
    overflow: hidden;
}
body.ma .ma-board__head,
body.ma .ma-board__row {
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    align-items: center;
    padding: 14px 18px;
    gap: 12px;
}
/* Notice variant — 4-col with 조회수 */
body.ma .ma-board--notice .ma-board__head,
body.ma .ma-board--notice .ma-board__row {
    grid-template-columns: 70px 1fr 110px 90px;
}
body.ma .ma-board__col-views {
    color: var(--ma-text-muted);
    text-align: center;
    font-size: 13.5px;
}
body.ma .ma-board__head {
    background: var(--ma-primary-soft);
    color: var(--ma-primary);
    font-weight: 800;
    font-size: 14px;
    border-bottom: 1px solid var(--ma-line);
    text-align: center;
}
body.ma .ma-board__head > span:nth-child(2) { text-align: center; }
body.ma .ma-board__row {
    border-bottom: 1px solid var(--ma-line);
    text-decoration: none;
    color: var(--ma-text);
    font-size: 14.5px;
    transition: background 0.18s;
    cursor: pointer;
}
/* Resource rows are clickable like notice rows (title → 상세 모달). 파일 링크는 별도 다운로드 */
body.ma .ma-board__row--res { cursor: pointer; }
body.ma .ma-board__row--res:hover { background: rgba(31,111,235,0.04); }
body.ma .ma-board__row:last-child { border-bottom: 0; }
body.ma .ma-board__row:hover { background: rgba(31,111,235,0.04); }
body.ma .ma-board__row:focus-visible { outline: 2px solid var(--ma-primary); outline-offset: -2px; }
body.ma .ma-board__col-num {
    color: var(--ma-primary);
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}
body.ma .ma-board__col-title {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.ma .ma-board__col-date {
    color: var(--ma-text-muted);
    text-align: center;
    font-size: 13.5px;
}
body.ma .ma-board__col-author {
    color: var(--ma-text-muted);
    text-align: center;
    font-size: 13.5px;
}
body.ma .ma-board__col-status { text-align: center; }
body.ma .ma-board__empty {
    padding: 36px 18px;
    text-align: center;
    color: var(--ma-text-muted);
    font-size: 14px;
}

/* 1:1 inquiry variant — 5-col table */
body.ma .ma-board--inq .ma-board__head,
body.ma .ma-board--inq .ma-board__row {
    grid-template-columns: 60px 90px 1fr 100px 110px;
}
body.ma .ma-board__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--ma-line);
    background: #fff;
    color: var(--ma-text-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
body.ma .ma-board__badge.is-done {
    background: #E5F8F2;
    color: #0E7D5A;
    border-color: rgba(14,125,90,0.2);
}
body.ma .ma-board__badge.is-rej {
    background: #FCEBEE;
    color: #B0234E;
    border-color: rgba(176,35,78,0.2);
}
body.ma .ma-board__badge.is-paid {
    background: #E0F0FF;
    color: #1A5FB4;
    border-color: rgba(26,95,180,0.2);
}

/* Resource library variant */
body.ma .ma-board--res .ma-board__head,
body.ma .ma-board--res .ma-board__row {
    grid-template-columns: 60px 1fr 200px 100px 90px;
}
body.ma .ma-board__col-file {
    text-align: center;
    font-size: 13.5px;
}
body.ma .ma-board__file-link {
    color: var(--ma-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
body.ma .ma-board__file-link:hover { text-decoration: underline; }

/* Sub-section heading inside support group */
body.ma .ma-sub-head4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ma-text);
    margin: 28px 0 12px;
    letter-spacing: -0.01em;
    padding-left: 4px;
    border-left: 4px solid var(--ma-primary);
    padding-top: 2px;
    padding-bottom: 2px;
}
body.ma .ma-sub-head4:first-child { margin-top: 0; }

/* AJAX 페이징 로딩 상태 */
body.ma .ma-sub-block.is-loading { opacity: 0.55; pointer-events: none; transition: opacity 0.18s; }

@media (max-width: 768px) {
    body.ma .ma-board--res .ma-board__head,
    body.ma .ma-board--res .ma-board__row {
        grid-template-columns: 50px 1fr 90px;
    }
    body.ma .ma-board--res .ma-board__col-file,
    body.ma .ma-board--res .ma-board__col-views,
    body.ma .ma-board--res .ma-board__head > span:nth-child(3),
    body.ma .ma-board--res .ma-board__head > span:nth-child(5) {
        display: none;
    }
}
body.ma .ma-board__lock {
    display: inline-block;
    margin-right: 6px;
    font-size: 12px;
    opacity: 0.7;
}
body.ma .ma-board__cta {
    margin-top: 22px;
    text-align: center;
}

@media (max-width: 768px) {
    body.ma .ma-board__head,
    body.ma .ma-board__row {
        grid-template-columns: 50px 1fr 90px;
        padding: 12px 14px;
        gap: 8px;
        font-size: 13px;
    }
    /* Notice mobile: hide 조회수 column for compactness */
    body.ma .ma-board--notice .ma-board__head,
    body.ma .ma-board--notice .ma-board__row {
        grid-template-columns: 50px 1fr 90px;
    }
    body.ma .ma-board--notice .ma-board__col-views,
    body.ma .ma-board--notice .ma-board__head > span:nth-child(4) {
        display: none;
    }
    body.ma .ma-board--inq .ma-board__head,
    body.ma .ma-board--inq .ma-board__row {
        grid-template-columns: 70px 1fr 80px;
    }
    /* On mobile, hide author column for inquiry (mask name moved into title) */
    body.ma .ma-board--inq .ma-board__col-author,
    body.ma .ma-board--inq .ma-board__head > span:nth-child(4) {
        display: none;
    }
    /* Reorder columns: status, title, date */
    body.ma .ma-board--inq .ma-board__head > span:nth-child(1),
    body.ma .ma-board--inq .ma-board__row > span:nth-child(1) {
        display: none;
    }
    body.ma .ma-board__col-num { font-size: 13px; }
    body.ma .ma-board__col-date { font-size: 12.5px; }
}

/* ============================================
   FAQ category tabs + Q. mark accordion items
   ============================================ */
/* Wrapper enables horizontal scroll/drag when many buttons */
body.ma .ma-faq__cats-wrap {
    margin-bottom: 18px;
    margin-left: -4px;
    margin-right: -4px;
    overflow: hidden;
    position: relative;
}
body.ma .ma-faq__cats {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scroll-snap-type: x proximity;
}
body.ma .ma-faq__cats.is-dragging { cursor: grabbing; scroll-behavior: auto; }
body.ma .ma-faq__cats::-webkit-scrollbar { height: 6px; }
body.ma .ma-faq__cats::-webkit-scrollbar-thumb { background: rgba(31,111,235,0.18); border-radius: 999px; }
body.ma .ma-faq__cats::-webkit-scrollbar-track { background: transparent; }
body.ma .ma-faq__cat-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 14px 32px;
    border-radius: 999px;
    border: 1px solid var(--ma-line);
    background: #fff;
    color: var(--ma-text-muted);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
}
body.ma .ma-faq__cat-btn:hover { color: var(--ma-text); border-color: var(--ma-primary); }
body.ma .ma-faq__cat-btn.is-active {
    background: var(--ma-primary);
    color: #fff;
    border-color: var(--ma-primary);
}
@media (max-width: 640px) {
    body.ma .ma-faq__cat-btn { padding: 12px 22px; font-size: 14.5px; }
}
body.ma .ma-faq__item[hidden] { display: none; }
body.ma .ma-faq__q {
    display: flex;
    align-items: center;
    gap: 12px;
}
body.ma .ma-faq__q-mark {
    color: var(--ma-primary);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
body.ma .ma-faq__q-text { flex: 1; min-width: 0; }
body.ma .ma-instr-tabs__btn {
    background: #fff;
    border: 1px solid var(--ma-line);
    border-radius: 999px;
    padding: 12px 26px;
    color: var(--ma-text-muted);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
body.ma .ma-instr-tabs__btn small {
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    opacity: 0.75;
    margin-left: 4px;
}
body.ma .ma-instr-tabs__btn:hover { color: var(--ma-text); border-color: var(--ma-primary); }
body.ma .ma-instr-tabs__btn.is-active {
    background: var(--ma-primary);
    color: #fff;
    border-color: var(--ma-primary);
}

/* Slider */
body.ma .ma-instr-panel { position: relative; }
body.ma .ma-instr-panel[hidden] { display: none; }
body.ma .ma-instr-slider {
    overflow: hidden;
    width: 100%;
}
body.ma .ma-instr-slides {
    display: flex;
    transition: transform 0.4s ease;
}
body.ma .ma-instr-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 2px;
}
body.ma .ma-instr-slide__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
    justify-content: center;
}
@media (min-width: 768px) {
    /* 태블릿·PC에서만 3열 (모바일 ≤767px는 1열 — JS가 슬라이드당 1명으로 flatten) */
    body.ma .ma-instr-slide__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Instructor card — text content (이름·소속·직책·주요경력) */
body.ma .ma-instr-card {
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--ma-line);
    box-shadow: 0 4px 14px rgba(15,30,60,0.06);
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 410px;
}
body.ma .ma-instr-card__head {
    border-bottom: 1px solid var(--ma-line);
    padding-bottom: 12px;
}
body.ma .ma-instr-card__name {
    font-size: 22px;
    font-weight: 800;
    color: var(--ma-text);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
body.ma .ma-instr-card__meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    line-height: 1.45;
}
body.ma .ma-instr-card__affil {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ma-text);
}
body.ma .ma-instr-card__role {
    font-size: 13px;
    font-weight: 700;
    color: var(--ma-primary);
    background: rgba(31,111,235,0.1);
    padding: 3px 10px;
    border-radius: 999px;
    line-height: 1.4;
}
body.ma .ma-instr-card__career {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
body.ma .ma-instr-card__career li {
    position: relative;
    padding-left: 14px;
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--ma-text);
    word-break: keep-all;
}
body.ma .ma-instr-card__career li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ma-primary);
    opacity: 0.7;
}
/* 슬라이드 안 모든 카드 같은 높이 유지 */
body.ma .ma-instr-slide__grid { align-items: stretch; }
/* 768~1199px (3열·좁은 카드폭에서 줄바꿈 보정) — 카드 더 높게 */
@media (min-width: 768px) and (max-width: 1199px) {
    body.ma .ma-instr-card { height: 600px; }
}

/* Slider controls */
body.ma .ma-instr-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}
body.ma .ma-instr-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--ma-line);
    background: #fff;
    color: var(--ma-text);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}
body.ma .ma-instr-arrow:hover {
    background: var(--ma-primary);
    border-color: var(--ma-primary);
    color: #fff;
}
body.ma .ma-instr-dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
body.ma .ma-instr-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(31,111,235,0.22);
    cursor: pointer;
    padding: 0;
    transition: background 0.18s, width 0.2s, border-radius 0.2s;
}
body.ma .ma-instr-dot.is-active {
    background: var(--ma-primary);
    width: 26px;
    border-radius: 4px;
}

body.ma .ma-instr-note {
    text-align: center;
    color: var(--ma-text-muted);
    font-size: 12.5px;
    margin-top: 22px;
}

@media (max-width: 767px) {
    body.ma .ma-instr-tabs__btn { padding: 10px 18px; font-size: 13.5px; }
    body.ma .ma-instr-tabs__btn small { font-size: 12px; }
    body.ma .ma-instr-card { padding: 18px 16px 16px; gap: 12px; height: 490px; }
    body.ma .ma-instr-card__name { font-size: 21px; }
    body.ma .ma-instr-card__affil { font-size: 14px; }
    body.ma .ma-instr-arrow { width: 38px; height: 38px; font-size: 14px; }
    body.ma .ma-instr-dot.is-active { width: 22px; }
}

/* Very small phones (≤380px) — final tightening */
@media (max-width: 380px) {
    body.ma .ma-about__hero { padding: 24px 16px 70px; }
    body.ma .ma-about__intro { padding: 26px 16px; }
    body.ma .ma-about__intro-card { padding: 14px 12px; }
    body.ma .ma-about__hero .ma-tabs__btn { font-size: 11.5px; padding: 14px 2px; }
    body.ma .ma-about__edu { grid-template-columns: 52px 1fr; column-gap: 12px; padding: 16px 14px; }
    body.ma .ma-about__edu-ico { width: 52px; height: 52px; background-size: 24px; }
    body.ma .ma-about__pills li { padding: 10px 8px; min-height: 70px; }
    body.ma .ma-about__pills li::after { width: 36px; height: 36px; background-size: 20px; }
    body.ma .ma-about__pills .lbl { font-size: 13.5px; }
    body.ma .ma-about__pills .val { font-size: 12.5px; }
}

/* ---------------- Curriculum page (VP/AI) ---------------- */
body.ma .ma-curri-switch {
    display: inline-flex;
    margin-top: 20px;
    border: 1px solid var(--ma-primary);
    border-radius: 999px;
    padding: 4px;
    background: #fff;
}
body.ma .ma-curri-switch__item {
    display: inline-block;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ma-primary);
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s, color .15s;
}
body.ma .ma-curri-switch__item:hover { background: var(--ma-primary-soft); }
body.ma .ma-curri-switch__item.is-on {
    background: var(--ma-primary);
    color: #fff;
}

body.ma .ma-curri-block {
    margin: 40px 0;
}
body.ma .ma-curri-block__head {
    margin-bottom: 18px;
}
body.ma .ma-curri-block__tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ma-primary-soft);
    color: var(--ma-primary);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
}
body.ma .ma-curri-block__tag--alt {
    background: #E8F8EE;
    color: #2E7D4F;
}
body.ma .ma-curri-block__title {
    margin-top: 10px;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    color: #16213A;
    letter-spacing: -.01em;
}
body.ma .ma-curri-block__title small {
    margin-left: 8px;
    font-size: .62em;
    font-weight: 600;
    color: var(--ma-text-muted);
}
body.ma .ma-curri-block__desc {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--ma-text-muted);
    line-height: 1.6;
}

body.ma .ma-curri-table-wrap {
    overflow-x: auto;
    border: 1px solid #D9E2F1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20,40,80,.04);
}
body.ma .ma-curri-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 14.5px;
}
body.ma .ma-curri-table thead th {
    padding: 14px 16px;
    background: #F4F8FF;
    color: #16213A;
    font-weight: 700;
    text-align: left;
    border-bottom: 1px solid #D9E2F1;
    font-size: 13.5px;
    letter-spacing: .02em;
}
body.ma .ma-curri-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #ECF0F8;
    vertical-align: top;
    color: #1F2A44;
    line-height: 1.55;
}
body.ma .ma-curri-table tbody tr:last-child td { border-bottom: 0; }
body.ma .ma-curri-table tbody tr:hover td { background: #FAFCFF; }

body.ma .ma-curri-table__when {
    font-weight: 700;
    color: #16213A;
    white-space: nowrap;
    vertical-align: middle;
}
body.ma .ma-curri-table__hour {
    font-weight: 700;
    color: var(--ma-primary);
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}
body.ma .ma-curri-table__topic {
    display: block;
    font-weight: 700;
    color: #16213A;
    font-size: 15px;
    margin-bottom: 6px;
}
body.ma .ma-curri-table__topic:last-child { margin-bottom: 0; }
body.ma .ma-curri-table__topic-extra {
    font-weight: 600;
    color: #1F2A44;
    font-size: 14.5px;
    margin-top: 4px;
}
body.ma .ma-curri-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--ma-text-muted);
    line-height: 1.6;
}
body.ma .ma-curri-table__sub {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}
body.ma .ma-curri-table__sub li {
    position: relative;
    padding-left: 14px;
    color: var(--ma-text-muted);
    font-size: 14px;
    line-height: 1.65;
    margin-top: 2px;
}
body.ma .ma-curri-table__sub li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ma-primary);
    opacity: .55;
}

body.ma .ma-curri-foot {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 40px 0 24px;
    padding-top: 24px;
    border-top: 1px dashed #D9E2F1;
}

@media (max-width: 640px) {
    body.ma .ma-curri-block { margin: 28px 0; }
    body.ma .ma-curri-table { font-size: 13.5px; }
    body.ma .ma-curri-table thead th,
    body.ma .ma-curri-table tbody td { padding: 12px 10px; }
    body.ma .ma-curri-table__topic { font-size: 14px; }
    body.ma .ma-curri-foot { flex-direction: column; }
    body.ma .ma-curri-foot .ma-cta-btn { width: 100%; text-align: center; }
}
