:root {
  color-scheme: light;
  --orange: #f88720;
  --orange-text: #b95b0c;
  --text: #27292c;
  --muted: #73767b;
  --line: #eeeff0;
  --warm: #fcf8f3;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; }
body:has(.notice-modal[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
#main:focus { outline: none; }
::selection { background: #ffe2c2; }
.container { width: min(1080px, calc(100% - 72px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; padding: 12px 16px; background: #fff; border: 1px solid var(--orange); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 24px; font-weight: 750; letter-spacing: -.055em; white-space: nowrap; }
.brand img { object-fit: contain; }
.school-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #71757a; font-size: 12px; }
.school-link .icon { width: 14px; height: 14px; }
.school-link:hover { color: var(--orange-text); }
.main-nav { border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; gap: 44px; }
.nav-inner > a { display: flex; align-items: center; position: relative; min-height: 53px; font-size: 14px; font-weight: 550; color: #62666c; white-space: nowrap; }
.nav-inner > .nav-home { color: var(--orange-text); padding-inline: 12px; font-weight: 650; }
.nav-home::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--orange); }
.nav-inner > a:hover { color: var(--orange-text); }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-block: 53px 44px; }
.school-label { font-size: 12px; font-weight: 550; color: #6c7075; margin-bottom: 12px; }
.page-heading h1 { font-size: 39px; font-weight: 750; line-height: 1.35; letter-spacing: -.055em; }
.page-heading h1 > span { color: var(--orange-text); }
.page-description { margin-top: 14px; color: #73777d; font-size: 14px; line-height: 1.8; word-break: keep-all; }
.today { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding-bottom: 5px; color: #7b7e84; font-size: 12px; }
.today .icon { width: 16px; height: 16px; color: #8a8e93; }

.services-section { padding-block: 30px 38px; background: var(--warm); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.section-heading h2 { font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; color: #74665a; }
.section-heading > span { font-size: 11px; color: #8a7c70; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.service-link { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-content: start; column-gap: 17px; min-width: 0; padding-block: 3px; }
.service-icon-wrap { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #d97823; }
.service-icon-wrap .icon { width: 25px; height: 25px; stroke-width: 1.65; }
.service-content { min-width: 0; padding-top: 1px; }
.service-content h3 { font-size: 21px; font-weight: 700; line-height: 1.5; letter-spacing: -.045em; }
.service-short { display: none; }
.service-description { margin-top: 9px; font-size: 12px; line-height: 1.85; color: #78726d; word-break: keep-all; overflow-wrap: break-word; letter-spacing: -.01em; }
.service-description br { display: none; }
.service-action { grid-column: 2; display: flex; align-items: center; gap: 12px; padding-top: 18px; font-size: 12px; font-weight: 600; color: var(--orange-text); }
.service-action .icon { width: 17px; height: 17px; transition: transform .18s; }
@media (hover: hover) {
  .service-link:hover h3 { color: var(--orange-text); }
  .service-link:hover .service-action .icon { transform: translateX(4px); }
}

.information-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 80px; padding-top: 45px; }
.notice-panel, .school-info-panel { min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-heading h2 { font-size: 21px; font-weight: 700; line-height: 1.5; letter-spacing: -.045em; }
.panel-heading > span { font-size: 11px; color: #81858b; }
.notice-list { margin-top: 19px; }
.notice-item { display: flex; align-items: center; gap: 17px; width: 100%; min-height: 65px; padding: 17px 0; border: 0; background: transparent; text-align: left; }
.notice-item + .notice-item { border-top: 1px solid var(--line); }
.notice-title { flex: 1; min-width: 0; font-size: 13px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; letter-spacing: -.01em; }
.notice-item:hover .notice-title { color: var(--orange-text); text-decoration: underline; text-underline-offset: 4px; }
.notice-date { flex-shrink: 0; color: #84878c; font-size: 11px; font-variant-numeric: tabular-nums; }
.notice-item .icon { width: 13px; height: 13px; color: #979ba0; }
.panel-heading > .ai-label { color: var(--orange-text); font-size: 11px; font-weight: 550; }
.info-description { margin-top: 10px; font-size: 12px; line-height: 1.7; color: #858086; word-break: keep-all; }
.school-shortcuts { display: grid; margin-top: 17px; }
.school-shortcuts > a { display: flex; align-items: center; gap: 13px; min-height: 50px; font-size: 13px; font-weight: 550; }
.school-shortcuts > a > .icon:first-child { width: 19px; height: 19px; color: #bd885c; }
.school-shortcuts .shortcut-arrow { margin-left: auto; width: 13px; height: 13px; color: #9b9b9b; }
.school-shortcuts a:hover { color: var(--orange-text); }

.site-footer { margin-top: 54px; background: #f8f8f7; }
.footer-inner { display: flex; align-items: center; gap: 20px; padding-block: 27px; }
.footer-brand { font-size: 15px; font-weight: 700; letter-spacing: -.045em; color: #6c7076; }
.footer-inner p { font-size: 11px; line-height: 1.8; color: #83868b; word-break: keep-all; }
.footer-inner > a { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-left: auto; color: #767b82; font-size: 11px; white-space: nowrap; }

.notice-modal {
  width: min(500px, calc(100% - 40px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
}
.notice-modal[open] {
  display: flex;
  flex-direction: column;
}
.notice-modal::backdrop {
  background: #17223166;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px 0;
  flex-shrink: 0;
}
.modal-header > span {
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 600;
}
.modal-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}
.modal-close:hover {
  color: var(--orange-text);
}
.modal-body {
  padding: 20px 28px 28px;
  overflow-y: auto;
}
.modal-meta {
  color: var(--muted);
  font-size: 12px;
}
.modal-body h2 {
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: -0.04em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.notice-detail {
  margin-top: 22px;
  white-space: pre-line;
  font-size: 14px;
  color: #60656c;
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.modal-footer {
  margin: 0;
  padding: 0 28px 24px;
  flex-shrink: 0;
  text-align: right;
}
.modal-confirm {
  min-width: 82px;
  min-height: 44px;
  padding: 10px 24px;
  border: 1px solid #e7e9ec;
  border-radius: 8px;
  background: #f5f6f8;
  font-size: 13px;
}
.modal-confirm:hover {
  background: #eceef2;
}

@media (max-width: 1000px) {
  .container { width: calc(100% - 56px); }
  .service-list { gap: 32px; }
  .service-link { grid-template-columns: 1fr; }
  .service-content { margin-top: 15px; }
  .service-action { grid-column: 1; }
  .information-grid { grid-template-columns: 1.5fr 1fr; gap: 46px; }
  .notice-item { gap: 12px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 76px; }
  .brand { font-size: 22px; }
  .nav-inner { gap: 32px; }
  .nav-inner > a { font-size: 13px; min-height: 50px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 19px; padding-block: 33px; }
  .page-heading h1 { font-size: 33px; }
  .page-description { font-size: 13px; margin-top: 11px; }
  .school-label { font-size: 11px; margin-bottom: 9px; }
  .today { padding: 0; font-size: 11px; }
  .section-heading > span { display: none; }
  .services-section { padding-block: 26px 31px; }
  .service-list { gap: 24px; }
  .service-content h3 { font-size: 19px; }
  .service-description { font-size: 11px; }
  .service-action { font-size: 11px; gap: 9px; }
  .information-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; }
  .panel-heading h2 { font-size: 20px; }
  .school-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 13px; }
  .school-shortcuts > a { gap: 9px; font-size: 12px; }
  .school-shortcuts .shortcut-arrow { display: none; }
  .site-footer { margin-top: 36px; }
  .footer-inner { flex-wrap: wrap; gap: 6px 16px; padding-block: 18px 23px; }
  .footer-inner p { flex-basis: 100%; order: 3; font-size: 10px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; gap: 14px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 28px; height: 30px; }
  .school-link { font-size: 10px; gap: 6px; }
  .school-link .icon { width: 12px; height: 12px; }
  .nav-inner { justify-content: space-between; gap: 14px; }
  .nav-inner > a { font-size: 12px; min-height: 47px; }
  .nav-inner > .nav-home { padding-inline: 6px; }
  .page-heading { padding-block: 30px; gap: 16px; }
  .page-heading h1 { font-size: 31px; }
  .page-description { max-width: 300px; font-size: 12px; line-height: 1.8; }
  .services-section { padding-block: 24px 28px; }
  .section-heading h2 { font-size: 13px; }
  .section-heading { margin-bottom: 20px; }
  .service-list { gap: 12px; }
  .service-link { justify-items: center; text-align: center; padding-block: 3px; }
  .service-icon-wrap { width: 51px; height: 51px; }
  .service-icon-wrap .icon { width: 25px; height: 25px; }
  .service-content { margin-top: 12px; }
  .service-content h3 { font-size: 14px; letter-spacing: -.045em; }
  .service-description, .service-action { display: none; }
  .service-short { display: block; font-size: 10px; color: #898078; margin-top: 5px; }
  .information-grid { padding-top: 29px; gap: 33px; }
  .panel-heading h2 { font-size: 19px; }
  .panel-heading > span { font-size: 10px; }
  .notice-list { margin-top: 11px; }
  .notice-item { min-height: 63px; gap: 13px; padding-block: 16px; }
  .notice-title { font-size: 12px; }
  .notice-date { font-size: 10px; }
  .notice-item .icon { display: none; }
  .info-description { font-size: 11px; margin-top: 8px; }
  .school-shortcuts { grid-template-columns: 1fr; gap: 0; margin-top: 9px; }
  .school-shortcuts > a { min-height: 47px; gap: 12px; font-size: 12px; }
  .school-shortcuts .shortcut-arrow { display: block; }
  .footer-brand { font-size: 14px; }
  .notice-modal { width: calc(100% - 32px); }
  .modal-header { padding: 10px 16px 0; }
  .modal-body { padding: 16px 22px 24px; }
  .modal-body h2 { font-size: 20px; }
  .modal-footer { padding: 0 22px 22px; }
}

@media (max-width: 360px) {
  .nav-inner { gap: 10px; }
  .nav-inner > a { font-size: 11px; }
  .school-link { font-size: 9px; }
  .service-content h3 { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
