/* 확장 콘텐츠 전용 스타일 */
.quick-stat-grid,
.schedule-summary-grid,
.notice-board-grid,
.notice-guide-grid,
.culture-grid,
.campus-focus-grid,
.facility-gallery,
.vehicle-dashboard-grid,
.route-notice-grid,
.mini-campus-cards,
.vehicle-table-grid {
  display: grid;
  gap: 22px;
}

.quick-stat-grid { grid-template-columns: repeat(4, 1fr); }
.schedule-summary-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 44px; }
.notice-board-grid { grid-template-columns: repeat(3, 1fr); }
.notice-guide-grid { grid-template-columns: repeat(3, 1fr); }
.culture-grid,
.campus-focus-grid,
.route-notice-grid { grid-template-columns: repeat(4, 1fr); }
.facility-gallery { grid-template-columns: repeat(4, 1fr); }
.vehicle-dashboard-grid { grid-template-columns: repeat(3, 1fr); }
.mini-campus-cards { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.vehicle-table-grid { grid-template-columns: 1fr; }

.quick-stat-card,
.home-links-card,
.report-card-large,
.intro-story-card,
.academy-map-card,
.learning-loop-grid article,
.culture-grid article,
.pinned-notice,
.rich-notice,
.notice-guide-grid article,
.campus-profile-card,
.campus-focus-grid article,
.daily-flow li,
.facility-gallery figure,
.vehicle-summary-card,
.route-panel-wrap,
.route-notice-grid article,
.event-poster,
.event-strip article,
.mini-campus-cards article,
.calendar-detail,
.calendar-shell {
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.quick-stat-card,
.home-links-card,
.report-card-large,
.intro-story-card,
.academy-map-card,
.learning-loop-grid article,
.culture-grid article,
.pinned-notice,
.rich-notice,
.notice-guide-grid article,
.campus-profile-card,
.campus-focus-grid article,
.daily-flow li,
.vehicle-summary-card,
.route-notice-grid article,
.event-poster,
.event-strip article,
.mini-campus-cards article,
.calendar-detail {
  padding: 26px;
}

.quick-stat-card span,
.schedule-summary-grid article span,
.vehicle-summary-card span,
.culture-grid article span,
.campus-focus-grid article span,
.route-notice-grid article span,
.mini-campus-cards article span,
.learning-loop-grid article span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-stat-card strong,
.schedule-summary-grid article strong,
.vehicle-summary-card strong,
.mini-campus-cards article strong,
.learning-loop-grid article strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.quick-stat-card p,
.schedule-summary-grid article p,
.vehicle-summary-card p,
.culture-grid article p,
.campus-focus-grid article p,
.route-notice-grid article p,
.mini-campus-cards article p,
.learning-loop-grid article p,
.report-card-large p,
.rich-notice p {
  margin: 0;
  color: var(--muted);
}

.schedule-summary-grid article {
  padding: 24px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-dashboard,
.report-preview-grid,
.intro-overview-grid,
.campus-detail-layout,
.daily-flow-layout,
.campus-time-layout,
.event-zone-grid,
.calendar-layout,
.route-section-grid {
  display: grid;
  gap: 34px;
}

.home-dashboard { grid-template-columns: 1.25fr 0.75fr; align-items: stretch; margin-top: 34px; }
.report-preview-grid { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
.intro-overview-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.campus-detail-layout { grid-template-columns: 1fr 1fr; align-items: stretch; }
.daily-flow-layout { grid-template-columns: 0.7fr 1.3fr; align-items: start; }
.campus-time-layout { grid-template-columns: 0.7fr 1.3fr; align-items: start; }
.event-zone-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.calendar-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.route-section-grid { grid-template-columns: 0.75fr 1.25fr; align-items: start; }

.mock-screen {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #0f172a;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.mock-screen-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.mock-screen-bar span {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.42);
}

.mock-screen-bar strong { margin-left: 10px; font-size: 14px; }
.mock-screen-body { padding: 26px; background: #f8fafc; }
.mock-profile { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.mock-profile b { font-size: 22px; letter-spacing: -0.03em; }
.mock-profile small { color: var(--muted); font-weight: 800; }

.progress-row {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.progress-row span { color: #334155; font-weight: 900; }
.progress-row em { color: var(--primary); font-style: normal; font-weight: 950; text-align: right; }
.progress-track { height: 12px; overflow: hidden; background: #e2e8f0; }
.progress-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #38bdf8); }

.mini-heatmap {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.mini-heatmap span { height: 32px; background: #e2e8f0; }
.mini-heatmap span.on { background: #93c5fd; }

.home-links-card { display: grid; align-content: start; gap: 12px; }
.home-links-card h3 { margin: 0 0 8px; font-size: 25px; letter-spacing: -0.04em; }
.home-links-card a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: #1d4ed8;
  font-weight: 950;
}
.home-links-card a::after { content: "→"; }

.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge-list span {
  padding: 8px 12px;
  color: #1e3a8a;
  background: #eff6ff;
  font-weight: 900;
  font-size: 14px;
}

.report-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.report-card-header strong { font-size: 22px; }
.report-card-header span { color: var(--primary); font-weight: 950; }
.report-columns,
.student-score-grid {
  display: grid;
  gap: 14px;
}
.report-columns { grid-template-columns: repeat(3, 1fr); }
.student-score-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.report-columns div,
.student-score-grid div {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.report-columns b,
.student-score-grid b { display: block; margin-bottom: 6px; }
.student-score-grid strong { color: var(--primary); font-size: 24px; }

.bar-chart {
  min-height: 180px;
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.bar-chart i { flex: 1; min-height: 28px; background: linear-gradient(180deg, #60a5fa, #1d4ed8); }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.compare-table th,
.compare-table td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: #eff6ff; color: #1e3a8a; }
.compare-table tbody th { color: var(--primary); }
.compare-table a { color: var(--primary); font-weight: 950; }

.mini-campus-cards article { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: center; }
.mini-campus-cards article span { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; margin: 0; color: #fff; background: var(--primary); font-size: 22px; }

.event-poster {
  color: #ffffff;
  background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(15, 23, 42, 0.92)), url("../images/classroom-discussion.jpg");
  background-size: cover;
  background-position: center;
}
.event-poster h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.05em; }
.event-poster p { max-width: 620px; margin: 0 0 24px; color: #dbeafe; }
.poster-label { display: inline-flex; margin-bottom: 22px; padding: 8px 12px; color: #1e3a8a; background: #ffffff; font-weight: 950; }
.event-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.event-strip article { display: grid; place-items: center; text-align: center; }
.event-strip b { color: var(--primary); font-size: 30px; }
.event-strip span { color: var(--muted); font-weight: 900; }

/* 소개 페이지 */
.page-hero-deep { background-image: linear-gradient(90deg, rgba(248,251,255,0.98), rgba(248,251,255,0.76)), url("../images/classroom-discussion.jpg"); }
.intro-story-card h2,
.campus-profile-card h2,
.cta-band h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 44px); line-height: 1.25; letter-spacing: -0.05em; }
.intro-story-card p,
.campus-profile-card p,
.cta-band p { color: var(--muted); }
.story-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.story-stat-row div { padding: 16px; border: 1px solid #dbeafe; background: #f8fbff; }
.story-stat-row strong { display: block; color: var(--primary); font-size: 26px; }
.story-stat-row span { color: #475569; font-size: 13px; font-weight: 800; }

.floor-title { padding: 18px 20px; color: #fff; background: #0f172a; font-weight: 950; letter-spacing: 0.08em; }
.floor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 20px; min-height: 330px; background: repeating-linear-gradient(45deg, #f8fafc 0, #f8fafc 14px, #eef2ff 14px, #eef2ff 15px); }
.room { display: grid; place-items: center; padding: 16px; border: 2px solid #93c5fd; background: rgba(255,255,255,0.92); color: #1e3a8a; font-weight: 950; text-align: center; }
.room-large { grid-column: span 2; grid-row: span 2; }
.room-wide { grid-column: span 3; }

.learning-loop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: loop; }
.learning-loop-grid article { position: relative; min-height: 190px; }
.learning-loop-grid article::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--primary); font-weight: 950; }
.learning-loop-grid article:last-child::after { display: none; }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 26px; color: #334155; font-weight: 800; }
.check-list li + li { margin-top: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 950; }
.culture-grid article h3,
.campus-focus-grid article h3,
.route-notice-grid article h3,
.notice-guide-grid article h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -0.03em; }
.cta-band-section { padding-top: 0; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; color: #fff; background: #0f172a; }
.cta-band p { color: #cbd5e1; }

/* 일정표 */
.calendar-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.calendar-toolbar h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.05em; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.legend { padding: 7px 10px; font-size: 13px; font-weight: 950; }
.legend.trial, .calendar-event.trial, .notice-badge.consult { background: #dbeafe; color: #1e40af; }
.legend.exam, .calendar-event.exam, .notice-badge.class { background: #dcfce7; color: #166534; }
.legend.consult, .calendar-event.consult { background: #fef3c7; color: #92400e; }
.legend.event, .calendar-event.event, .notice-badge.event { background: #ede9fe; color: #5b21b6; }
.calendar-weekdays,
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays span { padding: 12px; color: #1e3a8a; background: #eff6ff; font-weight: 950; text-align: center; border-right: 1px solid #dbeafe; }
.calendar-weekdays span:last-child { border-right: 0; }
.calendar-day { min-height: 142px; padding: 10px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: #fff; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day b { display: block; margin-bottom: 8px; font-size: 15px; }
.calendar-day.muted { background: #f8fafc; color: #94a3b8; }
.calendar-day.today { outline: 3px solid rgba(37, 99, 235, 0.25); outline-offset: -3px; background: #f8fbff; }
.calendar-event { width: 100%; display: block; margin-top: 6px; padding: 7px 8px; border: 0; text-align: left; font-size: 12px; font-weight: 950; line-height: 1.25; }
.calendar-event:hover,
.calendar-event:focus { filter: brightness(0.96); }
.calendar-detail { position: sticky; top: calc(var(--header-height) + 18px); }
.calendar-detail span { color: var(--primary); font-weight: 950; letter-spacing: 0.08em; }
.calendar-detail h3 { margin: 10px 0; font-size: 24px; letter-spacing: -0.04em; }
.calendar-detail p { margin: 0; color: var(--muted); }

.tab-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tab-buttons button,
.notice-filter-button { border: 1px solid #bfdbfe; padding: 11px 16px; color: #1e3a8a; background: #fff; font-weight: 950; }
.tab-buttons button.is-active,
.notice-filter-button.is-active { color: #fff; background: var(--primary); border-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.rich-table { box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05); }
.timeline-roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.timeline-roadmap li { padding: 24px; border: 1px solid #dbeafe; background: #fff; }
.timeline-roadmap span { display: inline-flex; margin-bottom: 12px; color: var(--primary); font-weight: 950; }
.timeline-roadmap strong { display: block; margin-bottom: 8px; font-size: 22px; }
.timeline-roadmap p { margin: 0; color: var(--muted); }

/* 공지사항 */
.notice-tools { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.notice-search { flex: 1; }
.notice-search label { display: block; margin-bottom: 8px; font-weight: 950; }
.notice-search input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #cbd5e1; outline: none; }
.notice-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,0.12); }
.notice-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pinned-notice { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; border-left: 6px solid var(--primary); }
.pinned-notice h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.05em; }
.pinned-notice p { margin: 0; color: var(--muted); }
.rich-notice { display: grid; align-content: start; gap: 10px; }
.rich-notice time { color: #64748b; font-size: 14px; font-weight: 800; }
.rich-notice h3 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.rich-notice a { margin-top: 8px; color: var(--primary); font-weight: 950; }
.notice-badge { width: fit-content; padding: 6px 10px; font-size: 12px; font-weight: 950; }
.notice-badge.vehicle { background: #fee2e2; color: #991b1b; }
.notice-empty { display: none; margin: 24px 0 0; padding: 20px; border: 1px solid var(--line); color: var(--muted); background: #fff; text-align: center; font-weight: 900; }
.notice-empty.show { display: block; }

/* 캠퍼스 */
.campus-detail-layout .campus-visual { min-height: 520px; }
.profile-table { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.profile-table div { padding: 16px; border: 1px solid #dbeafe; background: #f8fbff; }
.profile-table span { display: block; margin-bottom: 4px; color: var(--primary); font-weight: 950; font-size: 13px; }
.profile-table strong { color: #0f172a; }
.campus-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.daily-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.daily-flow li span { color: var(--primary); font-size: 13px; font-weight: 950; }
.daily-flow li strong { display: block; margin: 8px 0; font-size: 20px; }
.daily-flow li p { margin: 0; color: var(--muted); font-size: 14px; }
.facility-gallery figure { margin: 0; overflow: hidden; }
.facility-gallery img { width: 100%; height: 190px; object-fit: cover; }
.facility-gallery figcaption { display: grid; gap: 4px; padding: 18px; }
.facility-gallery figcaption span { color: var(--muted); font-size: 14px; }

/* 차량 */
.vehicle-tabs { margin-top: 24px; }
.route-map { padding: 24px; background: linear-gradient(180deg, #f8fafc, #fff); }
.route-map ol { position: relative; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.route-map ol::before { content: ""; position: absolute; left: 24px; top: 26px; bottom: 26px; width: 4px; background: #bfdbfe; }
.route-map li { position: relative; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 12px; background: #fff; border: 1px solid var(--line); }
.route-map li span { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--primary); font-weight: 950; z-index: 1; }
.route-map li strong { font-size: 20px; }
.route-map li small { color: var(--muted); font-weight: 900; }
.route-caption { margin: 0; padding: 0 24px 24px; color: var(--muted); }
.vehicle-card table { min-width: 760px; }
.vehicle-card { overflow-x: auto; }
.vehicle-card thead th { color: #1e3a8a; background: #eff6ff; }
.vehicle-card th,
.vehicle-card td { padding: 14px; border: 1px solid var(--line); }

@media (max-width: 1120px) {
  .quick-stat-grid,
  .schedule-summary-grid,
  .culture-grid,
  .campus-focus-grid,
  .facility-gallery,
  .learning-loop-grid,
  .timeline-roadmap,
  .route-notice-grid { grid-template-columns: repeat(2, 1fr); }
  .notice-board-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-layout { grid-template-columns: 1fr; }
  .calendar-detail { position: static; }
}

@media (max-width: 900px) {
  .home-dashboard,
  .report-preview-grid,
  .intro-overview-grid,
  .campus-detail-layout,
  .daily-flow-layout,
  .campus-time-layout,
  .event-zone-grid,
  .route-section-grid { grid-template-columns: 1fr; }
  .calendar-toolbar,
  .notice-tools,
  .pinned-notice,
  .cta-band { align-items: flex-start; flex-direction: column; }
  .report-columns,
  .student-score-grid,
  .story-stat-row,
  .profile-table,
  .mini-campus-cards,
  .vehicle-dashboard-grid,
  .notice-guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .quick-stat-grid,
  .schedule-summary-grid,
  .culture-grid,
  .campus-focus-grid,
  .facility-gallery,
  .learning-loop-grid,
  .timeline-roadmap,
  .route-notice-grid,
  .notice-board-grid,
  .daily-flow,
  .event-strip { grid-template-columns: 1fr; }
  .learning-loop-grid article::after { display: none; }
  .calendar-shell { overflow-x: auto; }
  .calendar-weekdays,
  .calendar-grid { min-width: 760px; }
  .calendar-day { min-height: 128px; }
  .progress-row { grid-template-columns: 1fr; gap: 6px; }
  .progress-row em { text-align: left; }
  .route-map li { grid-template-columns: 48px 1fr; }
  .route-map li small { grid-column: 2; }
}
