/* 2026 리뉴얼. 원본 시안: snbpt.mycafe24.com/gumsi2/assets/css/index.css (2026-12-02, C16) */
/* index.html 전용 스타일. 기존 캐스케이드 순서를 유지합니다. */

/* 기본 요소 및 공통 레이아웃 */
@import url("../fonts/pretendard-gov.css");
/* 공통 색상: 인디고 남색 #343d78과 중립 회색. 상태색은 해당 의미의 안내에만 사용합니다. */
:root {
  --color-primary: #343d78;
  --color-primary-hover: #2b3264;
  --color-primary-active: #222850;
  --color-primary-end: #49538c;
  --color-heading: var(--color-primary);
  --color-text: #28323e;
  --color-text-muted: #556170;
  --color-border: #cbd0d6;
  --color-border-strong: #89939f;
  --color-surface: #ffffff;
  --color-surface-subtle: #f6f7f8;
  --color-surface-emphasis: #eceff2;
  --color-surface-selected: #dfe4e9;
  --color-focus: var(--color-primary-active);
  --color-success: #365c46;
  --color-success-bg: #eef4ef;
  --color-warning: #765514;
  --color-warning-bg: #faf5e9;
  --color-error: #963f3f;
  --color-error-bg: #fbefef;
  --color-shadow-rgb: 34 40 80;
  --color-surface-rgb: 255 255 255;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: "Pretendard GOV Variable", "Pretendard GOV", "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.4px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  cursor: pointer;
}
button {
  border: 0px;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: var(--color-primary) solid 3px;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0px;
}
h2 {
  font-size: 31px;
  line-height: 1.35;
  letter-spacing: -1.3px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
}
.wrap {
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: auto;
}
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
  filter: none;
}
header {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
nav {
  display: flex;
  gap: 70px;
  font-weight: 700;
  font-size: 16px;
}
#menu-toggle {
  display: none;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 7px;
  padding: 14px 26px;
  background: var(--color-primary);
  color: var(--color-surface);
  font-weight: 700;
}
.primary .icon {
  filter: brightness(0) invert(1);
  width: 20px;
  height: 20px;
}
.primary:hover {
  filter: brightness(0.94);
}
.hero {
  height: 390px;
  position: relative;
  background: var(--color-surface-emphasis);
  overflow: hidden;
}
.hero-image {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 57%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0px;
  background: linear-gradient(
    90deg,
    var(--color-surface-emphasis) 35%,
    rgb(var(--color-shadow-rgb) / 0.62) 48%,
    transparent 65%
  );
}
.hero-copy {
  position: relative;
  max-width: 1200px;
  width: calc(100% - 80px);
  margin: auto;
  padding: 48px 0px;
}
.hero h1 {
  font-size: 45px;
  line-height: 1.25;
  letter-spacing: -2px;
  font-weight: 800;
}
.hero h1 em {
  color: var(--color-primary);
  font-style: normal;
}
.hero-description {
  font-size: 16px;
  margin: 23px 0px;
  line-height: 1.6;
}
.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 24px 0px;
  gap: 18px;
}
.step {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 12px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 65%;
  right: -35%;
  top: 23px;
  border-top: 2px dotted var(--color-border);
}
.step-content {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.step-content strong {
  font-size: 17px;
  margin: 3px 0px 8px;
}
.step-content > span {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 160px;
}
.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0px 0px;
}
.question {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 25px 20px;
  min-height: 126px;
  border-top: 1px solid var(--color-border);
}
.question:not(:last-child) {
  border-right: 1px solid var(--color-border);
}
.question h2 {
  font-size: 21px;
  letter-spacing: -0.8px;
}
.question p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 9px;
}
.question-icon .icon {
  width: 40px;
  height: 40px;
}
.question .arrow {
  width: 20px;
  margin-left: auto;
}
.institutions {
  background: var(--color-surface-subtle);
  padding: 36px 0px 22px;
}
form {
  display: flex;
  align-items: center;
  gap: 10px;
}
form label {
  display: block;
  min-width: 0px;
}
select,
input {
  width: 100%;
  min-width: 0px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-selected);
  border-radius: 5px;
  padding: 12px 14px;
  color: var(--color-text-muted);
  font-size: 14px;
  height: 46px;
}
select {
  cursor: pointer;
}
input::placeholder {
  color: var(--color-text-muted);
}
#institution-search > label:not(.keyword) {
  width: 145px;
}
#institution-search .primary {
  height: 46px;
  white-space: nowrap;
  padding: 10px 20px;
}
.institution-grid {
  display: grid;
  gap: 16px;
}
.institution-card {
  display: grid;
  grid-template-columns: 36% 1fr 24%;
  gap: 25px;
  padding: 10px;
  border-radius: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  align-items: center;
}
.institution-details {
  padding: 8px 0px;
}
.institution-details h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.tags {
  display: flex;
  gap: 8px;
  margin-bottom: 13px;
  flex-wrap: wrap;
}
.tag {
  background: var(--color-surface-emphasis);
  color: var(--color-text-muted);
  font-size: 12px;
  border-radius: 20px;
  padding: 4px 10px;
}
.tag:nth-child(2) {
  background: var(--color-surface-emphasis);
  color: var(--color-primary);
}
dl {
  display: grid;
  grid-template-columns: 20px 1fr;
  margin: 0px;
  gap: 7px;
  font-size: 13px;
  color: var(--color-text-muted);
}
dt,
dd {
  margin: 0px;
}
dl .icon {
  width: 17px;
  height: 17px;
}
.institution-detail {
  font-size: 12px;
  color: var(--color-primary);
  padding: 8px 0px;
  margin-top: 6px;
}

dialog {
  max-width: 540px;
  width: calc(100% - 32px);
  border: 1px solid var(--color-border);
  border-radius: 15px;
  padding: 35px;
  color: var(--color-text);
}
dialog::backdrop {
  background: rgb(var(--color-shadow-rgb) / 0.4);
}
dialog h2 {
  font-size: 25px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0px, 0px, 0px, 0px);
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: var(--color-surface);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
#empty {
  padding: 30px;
  text-align: center;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 40px);
  }
  header {
    gap: 20px;
  }
  nav {
    gap: 35px;
  }
  .hero-copy {
    width: calc(100% - 80px);
  }
  .hero h1 {
    font-size: 38px;
  }
  .question {
    gap: 16px;
    padding: 20px 16px;
  }
  .question h2 {
    font-size: 18px;
  }
  .question p {
    font-size: 12px;
  }
  .institution-card {
    gap: 18px;
    grid-template-columns: 34% 1fr 24%;
  }
  .institution-details h3 {
    font-size: 20px;
  }
  #institution-search > label:not(.keyword) {
    width: 110px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 32px);
  }
  header {
    height: 74px;
    gap: 10px;
  }
  #menu-toggle {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 74px;
    z-index: 10;
    padding: 20px;
    background: var(--color-surface);
    justify-content: center;
    gap: 28px;
    box-shadow: rgb(var(--color-shadow-rgb) / 0.067) 0px 8px 14px;
  }
  nav.open {
    display: flex;
  }
  .hero {
    height: 480px;
  }
  .hero-image {
    width: 100%;
    height: 250px;
    top: auto;
    bottom: 0px;
  }
  .hero-shade {
    background: linear-gradient(
      var(--color-surface-emphasis) 43%,
      rgb(var(--color-shadow-rgb) / 0.333) 63%,
      transparent
    );
  }
  .hero-copy {
    width: calc(100% - 40px);
    padding: 28px 0px;
  }
  .hero h1 {
    font-size: 31px;
    letter-spacing: -1.5px;
  }
  .hero-description {
    font-size: 14px;
    margin: 16px 0px;
  }
  .primary {
    padding: 12px 18px;
    font-size: 14px;
    gap: 16px;
  }
  .journey {
    overflow-x: auto;
    grid-template-columns: repeat(5, 150px);
    padding: 20px 0px;
  }
  .step-content strong {
    font-size: 15px;
  }
  .step-content > span {
    font-size: 11px;
  }
  .quick {
    grid-template-columns: 1fr;
    margin: 8px 0px 20px;
  }
  .question {
    padding: 20px;
    min-height: 100px;
    border: 1px solid var(--color-border) !important;
  }
  .question h2 {
    font-size: 18px;
  }
  .question p {
    font-size: 12px;
  }
  .institutions {
    padding: 24px 0px 18px;
  }
  #institution-search {
    flex-wrap: wrap;
    margin-top: 18px;
    margin-bottom: 20px;
  }
  #institution-search > label:not(.keyword) {
    width: calc(50% - 5px);
  }
  #institution-search .primary {
    width: 100%;
  }
  .institution-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }
  .institution-details {
    padding: 0px;
  }
  .institution-details h3 {
    font-size: 22px;
  }
  dl {
    font-size: 13px;
  }
}
h1,
h2,
h3,
p,
.step-content span {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 메인 레이아웃 */

.page-home .wrap {
  max-width: 1200px;
}
.hero-layout {
  display: grid;
  grid-template-columns: 70% 30%;
  border: 1px solid var(--color-surface-selected);
  border-radius: 16px;
  overflow: hidden;
}
.page-home .hero {
  height: 475px;
  background: var(--color-border);
}
.page-home .hero-image {
  width: 43%;
  object-position: center center;
}
.page-home .hero-shade {
  background: linear-gradient(
    90deg,
    var(--color-border) 25%,
    rgb(var(--color-shadow-rgb) / 0.753) 51%,
    transparent 72%
  );
}
.page-home .hero-copy {
  width: auto;
  margin: 0px;
  padding: 64px 45px;
}
.page-home .hero h1 {
  font-size: 43px;
}
.page-home .journey {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  gap: 4px;
  background: var(--color-surface);
}
.page-home .step {
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 12px 0px;
  gap: 18px;
  flex: 1 1 0%;
}
.page-home .step:not(:last-child)::after {
  inset: 60px auto -22px 27px;
  border-top: 0px;
  border-left: 1px solid var(--color-surface-selected);
}
.page-home .step-content {
  align-items: flex-start;
}
.page-home .step-content strong {
  font-size: 17px;
  margin: 2px 0px 3px;
}
.page-home .step-content > span {
  font-size: 11px;
  max-width: none;
}
.page-home .quick {
  gap: 18px;
  margin: 22px 0px;
}
.page-home .question {
  border-radius: 16px;
  min-height: 165px;
  padding: 25px 20px;
  position: relative;
  border: 0px !important;
}
.page-home .q1 {
  background: var(--color-surface-emphasis);
}
.page-home .q2 {
  background: var(--color-surface-emphasis);
}
.page-home .q3 {
  background: var(--color-surface-emphasis);
}
.page-home .question-icon {
  display: flex;
  background: var(--color-surface-selected);
  border-radius: 50%;
  width: 65px;
  height: 65px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.page-home .q2 .question-icon {
  background: var(--color-surface-selected);
}
.page-home .q3 .question-icon {
  background: var(--color-surface-selected);
}
.page-home .question-icon .icon {
  width: 32px;
  height: 32px;
}
.page-home .question h2 {
  font-size: 20px;
}
.page-home .question .arrow {
  position: absolute;
  right: 20px;
  bottom: 17px;
  width: 20px;
}
.page-home .institutions {
  background: transparent;
  padding: 0px;
}
.page-home #institution-search {
  margin-bottom: 20px;
}
.page-home .institution-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.page-home .institution-card {
  grid-template-columns: 46% 1fr;
  padding: 10px;
  gap: 15px;
  align-items: start;
}
.page-home .institution-details {
  grid-area: 1 / 2;
  padding: 5px 0px;
}
.page-home .institution-details h3 {
  font-size: 23px;
}
.page-home dl {
  font-size: 12px;
  gap: 8px;
}

@media (max-width: 1000px) {
  .page-home .hero-copy {
    padding: 54px 28px;
  }
  .page-home .hero h1 {
    font-size: 34px;
  }
  .page-home .journey {
    padding: 20px 15px;
  }
  .page-home .step {
    gap: 10px;
  }
  .page-home .step-content strong {
    font-size: 15px;
  }
  .page-home .step:not(:last-child)::after {
    left: 22px;
  }
  .page-home .quick {
    gap: 12px;
  }
  .page-home .question {
    gap: 12px;
    padding: 20px 15px;
  }
  .page-home .question-icon {
    width: 48px;
    height: 48px;
  }
  .page-home .question h2 {
    font-size: 17px;
  }
  .page-home .institution-card {
    grid-template-columns: 40% 1fr;
  }
  .page-home .institution-details h3 {
    font-size: 19px;
  }
}
@media (max-width: 700px) {
  .hero-layout {
    display: block;
  }
  .page-home .hero {
    height: 480px;
  }
  .page-home .hero-copy {
    padding: 30px 22px;
  }
  .page-home .hero h1 {
    font-size: 30px;
  }
  .page-home .hero-image {
    width: 100%;
    height: 230px;
  }
  .page-home .hero-shade {
    background: linear-gradient(
      var(--color-border) 44%,
      rgb(var(--color-shadow-rgb) / 0.333) 64%,
      transparent
    );
  }
  .page-home .journey {
    display: grid;
    grid-template-columns: repeat(5, 170px);
    padding: 20px;
    gap: 10px;
  }
  .page-home .step {
    flex-direction: column;
    text-align: center;
    padding: 10px;
    gap: 10px;
  }
  .page-home .step-content {
    align-items: center;
  }
  .page-home .step-content > span {
    font-size: 11px;
  }
  .page-home .step:not(:last-child)::after {
    display: none;
  }
  .page-home .quick {
    gap: 12px;
  }
  .page-home .question {
    min-height: 120px;
    padding: 20px;
  }
  .page-home .question h2 {
    font-size: 19px;
  }
  .page-home .institution-grid {
    grid-template-columns: 1fr;
  }
  .page-home .institution-card {
    grid-template-columns: 1fr;
  }
  .page-home .institution-details {
    grid-area: auto;
  }
  .page-home .institution-details h3 {
    font-size: 22px;
  }
}

/* 인터랙션 피드백 */
.page-home
  :is(
    button,
    .question,
    .resource-grid a,
    .step,
    .faq-link,
    .consultation-number,
    .footer-links a
  ) {
  transition:
    background-color 160ms,
    border-color 160ms,
    color 160ms,
    box-shadow 160ms;
}
.page-home .primary:hover,
.page-home .primary:focus-visible {
  filter: brightness(0.9);
  box-shadow: rgb(var(--color-shadow-rgb) / 0.15) 0px 3px 8px;
}
.page-home .header-search:hover,
.page-home .header-search:focus-visible,
.page-home #menu-toggle:hover,
.page-home #menu-toggle:focus-visible {
  background: var(--color-surface-selected);
  border-radius: 6px;
}
.page-home .large-text-toggle:focus-visible {
  background: var(--color-surface-selected);
  border-color: var(--color-text-muted);
}
.page-home .question:hover,
.page-home .question:focus-visible {
  box-shadow: var(--color-border-strong) 0px 0px 0px 2px inset;
}
.page-home .institution-detail:hover,
.page-home .institution-detail:focus-visible {
  color: var(--color-primary);
  text-decoration: none;
}
.page-home .hero-side-control:focus-visible,
.page-home [data-hero-control]:focus-visible {
  background: var(--color-surface-selected);
}
.page-home .site-search-close:hover,
.page-home .site-search-close:focus-visible {
  background: var(--color-surface-selected);
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .page-home :is(button, a) {
    transition: none;
  }
}

/* 콘텐츠 및 기관 검색 */
.page-home .header-logo {
  width: 200px;
  height: auto;
}

.page-home .header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-home .header-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
}
.page-home .gnb-list {
  display: contents;
  list-style: none;
  padding: 0px;
  margin: 0px;
}
.page-home .gnb-item {
  position: relative;
  list-style: none;
}
.page-home .gnb-trigger {
  padding: 0px;
  font: inherit;
  white-space: nowrap;
}
.page-home .gnb-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: 260px;
  list-style: none;
  padding: 8px;
  margin: 0px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-selected);
  box-shadow: rgb(var(--color-shadow-rgb) / 0.067) 0px 8px 16px;
}
.page-home .gnb-submenu a {
  display: block;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
}
.page-home .gnb-submenu a:hover {
  background: var(--color-surface-emphasis);
}
.page-home #institution-search > label:not(.keyword) {
  width: 125px;
}
.page-home main select {
  appearance: none;
  text-align: left;
  text-align-last: left;
  padding-inline: 12px 38px;
  line-height: normal;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23213850' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px auto;
}

@media (forced-colors: active) {
  .page-home main select {
    appearance: auto;
    background-image: none;
    padding-inline-end: 12px;
  }
}
.page-home .site-search-close {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 26px;
}
.page-home #site-search-form {
  margin: 20px 0px;
}
.page-home #site-search-keyword {
  flex: 1 1 0%;
}
.page-home #site-search-status {
  color: var(--color-text-muted);
  font-size: 13px;
}
@media (max-width: 1000px) {
  .page-home .header-logo {
    width: 190px;
  }
}
@media (max-width: 700px) {
  .page-home .header-logo {
    width: 160px;
  }
  .page-home .gnb-submenu {
    width: 220px;
  }
  .page-home #institution-search > label:not(.keyword) {
    width: calc(33.3333% - 6.66667px);
  }
}
.page-home .wrap {
  max-width: 1400px;
}
.page-home .hero-image {
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.page-home .journey {
  gap: 0px;
}
.page-home .step {
  display: grid;
  grid-template-columns: 48px minmax(0px, 1fr) 36px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0px;
  text-align: left;
  padding: 12px 0px;
  text-decoration: none;
}
.page-home .step + .step {
  border-top: 1px solid var(--color-surface-selected);
}
.page-home .step:not(:last-child)::after {
  content: none;
}
.page-home .step-content {
  min-width: 0px;
}
.page-home .step-content strong {
  font-size: 17px;
}
.page-home .step-content > span {
  font-size: 12px;
  line-height: 1.5;
}
.page-home .step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-surface-selected);
  border-radius: 50%;
  background: var(--color-surface-emphasis);
}
.page-home .step-arrow img {
  width: 18px;
  height: 18px;
}
.page-home .step:hover .step-arrow,
.page-home .step:focus-visible .step-arrow {
  background: var(--color-surface-selected);
  border-color: var(--color-primary);
}
@media (max-width: 1000px) and (min-width: 701px) {
  .page-home .step {
    grid-template-columns: 36px minmax(0px, 1fr) 28px;
    gap: 8px;
  }
  .page-home .step-arrow {
    width: 28px;
    height: 28px;
  }
  .page-home .step-content strong {
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  .page-home .hero {
    height: 320px;
  }
  .page-home .hero-image {
    inset: 0px;
    width: 100%;
    height: 100%;
  }
  .page-home .journey {
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 16px 20px;
  }
  .page-home .step-content {
    align-items: flex-start;
  }
}
.page-home .hero-layout {
  align-items: stretch;
}
.page-home .hero {
  display: flex;
  align-items: center;
  height: auto;
  min-height: 475px;
  align-self: stretch;
}
.page-home .hero-image {
  inset: 0px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.page-home .hero-shade {
  background: linear-gradient(
    90deg,
    rgb(var(--color-shadow-rgb) / 0.95) 0%,
    rgb(var(--color-shadow-rgb) / 0.86) 25%,
    rgb(var(--color-shadow-rgb) / 0.55) 48%,
    rgb(var(--color-shadow-rgb) / 0.12) 72%,
    transparent 100%
  );
}
.page-home .hero-copy {
  width: 100%;
  padding: 56px 40px;
}
.page-home .hero-description {
  color: var(--color-text-muted);
}
.page-home .journey {
  min-height: 475px;
}
.page-home .step-content > span {
  color: var(--color-text-muted);
}
@media (max-width: 1000px) {
  .page-home .hero-copy {
    padding: 44px 28px;
  }
}
@media (max-width: 700px) {
  .page-home .hero {
    min-height: 420px;
    height: auto;
  }
  .page-home .hero-copy {
    padding: 40px 22px;
  }
  .page-home .hero-shade {
    background: linear-gradient(
      90deg,
      rgb(var(--color-shadow-rgb) / 0.94),
      rgb(var(--color-shadow-rgb) / 0.7) 55%,
      rgb(var(--color-shadow-rgb) / 0.25)
    );
  }
  .page-home .journey {
    min-height: 0px;
  }
}
.page-home #institution-search > label:not(.keyword) {
  width: 160px;
}
@media (max-width: 700px) {
  .page-home #institution-search {
    display: grid;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
  .page-home #institution-search > label:not(.keyword) {
    width: 100%;
  }
  .page-home #institution-search .primary {
    grid-column: 1 / -1;
  }
}
.page-home .institution-card {
  grid-template-columns: minmax(0px, 1fr);
  align-items: stretch;
  gap: 16px;
  padding: 22px;
}
.page-home .institution-details {
  grid-area: auto / 1;
  min-width: 0px;
  padding: 0px;
}
@media (max-width: 700px) {
  .page-home .institution-card {
    padding: 18px;
  }
}
.page-home .institution-grid {
  grid-template-columns: minmax(0px, 1fr);
  gap: 18px;
}
.page-home .institution-card {
  grid-template-columns: minmax(0px, 1.85fr) minmax(0px, 1fr);
  align-items: stretch;
  gap: 28px;
  padding: 24px;
}
.page-home .institution-details {
  grid-area: 1 / 1;
}
@media (max-width: 700px) {
  .page-home .institution-card {
    grid-template-columns: minmax(0px, 1fr);
    gap: 18px;
    padding: 18px;
  }
  .page-home .institution-details {
    grid-area: auto / 1;
  }
}
.page-home .institution-grid {
  gap: 14px;
}
.page-home .institution-card {
  grid-template-columns: minmax(0px, 1.85fr) minmax(0px, 1fr);
  gap: 24px;
  padding: 20px;
  border-color: var(--color-surface-selected);
  border-radius: 12px;
}
.page-home .institution-details h3 {
  margin-bottom: 10px;
}
.page-home .institution-details .tags {
  margin-bottom: 14px;
}
.page-home .institution-details dl {
  grid-template-columns: 20px minmax(0px, 1fr) 20px minmax(0px, 1fr);
  gap: 10px 8px;
  align-items: baseline;
}
.page-home .institution-details dd {
  overflow-wrap: anywhere;
}
.page-home .institution-detail {
  margin-top: 8px;
}
@media (max-width: 1000px) {
  .page-home .institution-card {
    grid-template-columns: minmax(0px, 1.4fr) minmax(0px, 1fr);
  }
  .page-home .institution-details dl {
    grid-template-columns: 20px minmax(0px, 1fr);
    gap: 8px;
  }
}
@media (max-width: 700px) {
  .page-home .institution-card {
    grid-template-columns: minmax(0px, 1fr);
    gap: 14px;
    padding: 18px;
  }
}
.page-home .institution-browser {
  display: grid;
  grid-template-columns: 280px minmax(0px, 1fr);
  align-items: start;
  gap: 24px;
}
.page-home #institution-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin: 0px;
}
.page-home #institution-search > label,
.page-home #institution-search > label:not(.keyword) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.page-home #institution-search .institution-name-field {
  grid-column: 1 / -1;
}
.page-home #institution-search label > span {
  font-weight: 700;
}
.page-home #institution-search .primary {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
}
.page-home #institution-search select,
.page-home #institution-search input {
  height: 52px;
  min-height: 52px;
}
.page-home .institution-result-count {
  margin: 0px 0px 16px;
}
.page-home .institution-grid {
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 18px;
}
.page-home .institution-card {
  grid-template-columns: minmax(0px, 1fr);
  gap: 16px;
  padding: 20px;
}
.page-home .institution-details {
  grid-area: auto / 1;
}
.page-home .institution-details dl {
  grid-template-columns: 20px minmax(0px, 1fr);
  gap: 8px;
}
@media (max-width: 1100px) {
  .page-home .institution-browser {
    grid-template-columns: 260px minmax(0px, 1fr);
  }
  .page-home .institution-grid {
    grid-template-columns: minmax(0px, 1fr);
  }
}
@media (max-width: 700px) {
  .page-home .institution-browser {
    grid-template-columns: minmax(0px, 1fr);
    gap: 20px;
  }
  .page-home #institution-search {
    display: grid;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 14px;
  }
  .page-home #institution-search .primary {
    grid-column: 1 / -1;
  }
  .page-home .institution-card {
    padding: 18px;
  }
}
.page-home .institution-browser {
  display: block;
}
.page-home .institution-grid {
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 18px;
}
@media (max-width: 700px) {
  .page-home .institution-grid {
    grid-template-columns: minmax(0px, 1fr);
  }
}
.page-home .institution-grid {
  grid-template-columns: repeat(4, minmax(0px, 1fr));
  gap: 16px;
}
.page-home .institution-card {
  padding: 18px;
  gap: 14px;
}
@media (max-width: 1100px) {
  .page-home .institution-grid {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
}
@media (max-width: 700px) {
  .page-home .institution-grid {
    grid-template-columns: minmax(0px, 1fr);
  }
}
.page-home .institution-grid {
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  grid-auto-rows: auto;
  gap: 0px 18px;
  align-items: stretch;
}
.page-home .institution-card {
  display: grid;
  grid-row: span 9;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0px, 1fr);
  row-gap: 12px;
  padding: 22px;
}
.page-home .institution-details,
.page-home .institution-details dl {
  display: contents;
}
.page-home .institution-details h3 {
  grid-row: 1;
  margin: 0px;
}
.page-home .institution-details .tags {
  grid-row: 2;
  margin: 0px;
  align-self: start;
}
.page-home .institution-details dt {
  display: none;
}
.page-home .institution-details dd {
  display: block;
  position: relative;
  padding-left: 28px;
  min-height: 1.7em;
}
.page-home .institution-details dd::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 6px;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.page-home .institution-details dd:nth-of-type(1) {
  grid-row: 3;
}
.page-home .institution-details dd:nth-of-type(2) {
  grid-row: 4;
}
.page-home .institution-details dd:nth-of-type(3) {
  grid-row: 5;
}
.page-home .institution-details dd:nth-of-type(4) {
  grid-row: 6;
}
.page-home .institution-details dd:nth-of-type(1)::before {
  background-image: url("../icons/map-pin.svg");
}
.page-home .institution-details dd:nth-of-type(2)::before {
  background-image: url("../icons/phone.svg");
}
.page-home .institution-details dd:nth-of-type(3)::before {
  background-image: url("../icons/book-open.svg");
}
.page-home .institution-details dd:nth-of-type(4)::before {
  background-image: url("../icons/users.svg");
}
.page-home .institution-detail {
  grid-row: 7;
  margin: 0px;
  justify-self: start;
}
@media (max-width: 700px) {
  .page-home .institution-grid {
    grid-template-columns: minmax(0px, 1fr);
    row-gap: 18px;
  }
  .page-home .institution-card {
    padding: 18px;
  }
}

.page-home .hero-layout {
  grid-template-columns: minmax(0px, 68fr) minmax(0px, 32fr);
}
.page-home .journey {
  display: grid;
  grid-template-columns: minmax(0px, 1fr);
  grid-template-rows: repeat(5, minmax(min-content, 1fr));
  align-items: stretch;
  gap: 0px;
  padding: 16px;
}
.page-home .step {
  height: 100%;
  padding: 14px 10px;
  border-radius: 8px;
  transition: background-color 160ms;
}
.page-home .step:hover,
.page-home .step:focus-visible {
  background: var(--color-surface-emphasis);
}
.page-home .step:hover .step-arrow,
.page-home .step:focus-visible .step-arrow {
  background: var(--color-surface-selected);
  border-color: var(--color-primary);
}
@media (max-width: 700px) {
  .page-home .journey {
    display: grid;
    grid-template-columns: minmax(0px, 1fr);
    grid-template-rows: repeat(5, minmax(min-content, 1fr));
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .step {
    transition: none;
  }
}
.page-home .hero-layout.wrap {
  max-width: 1520px;
}
.page-home .hero-layout.wrap {
  max-width: 1600px;
}
.page-home .hero-layout {
  border: 0px;
  border-radius: 14px;
}
.page-home .hero {
  min-height: 540px;
}
.page-home .hero-copy {
  padding: 40px;
}
.page-home .journey {
  min-height: 540px;
  padding: 10px 14px;
  border-left: 1px solid var(--color-surface-selected);
  background: var(--color-surface-subtle);
}
.page-home .step {
  padding: 8px;
  gap: 10px;
  border-radius: 6px;
}
.page-home .step-content {
  gap: 0px;
}
.page-home .step-content strong {
  margin: 2px 0px;
}
.page-home .step-content > span {
  line-height: 1.5;
}
.page-home .step + .step {
  border-top-color: var(--color-surface-selected);
}
@media (max-width: 700px) {
  .page-home .hero {
    min-height: 420px;
  }
  .page-home .hero-copy {
    padding: 36px 22px;
  }
  .page-home .journey {
    min-height: 0px;
    border-left: 0px;
    border-top: 1px solid var(--color-surface-selected);
  }
}
.page-home .journey {
  padding: 14px 16px;
  background: var(--color-surface-subtle);
}
.page-home .step {
  position: relative;
  grid-template-columns: 36px minmax(0px, 1fr) 32px;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 8px;
}
.page-home .step + .step {
  border-top: 0px;
}
.page-home .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  z-index: 1;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background: var(--color-surface-subtle);
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.page-home .step-number {
  grid-area: 1 / 1;
}
.page-home .step-content {
  grid-area: 1 / 2;
}
.page-home .step-arrow {
  grid-area: 1 / 3;
  width: 32px;
  height: 32px;
}
.page-home .step:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: calc(50% + 18px) auto calc(-50% + 18px) 25px;
  width: 0px;
  border-width: 0px 0px 0px 2px;
  border-style: none none none solid;
  border-color: currentcolor currentcolor currentcolor var(--color-border);
  border-image: none;
  display: block;
  z-index: 0;
  pointer-events: none;
}
.page-home .step:hover .step-number,
.page-home .step:focus-visible .step-number {
  background: var(--color-primary);
  color: var(--color-surface);
  border-color: var(--color-primary);
}
@media (max-width: 1000px) and (min-width: 701px) {
  .page-home .step {
    grid-template-columns: 32px minmax(0px, 1fr) 28px;
    gap: 8px;
  }
  .page-home .step-number {
    width: 32px;
    height: 32px;
  }
  .page-home .step-content {
    grid-column: 2;
  }
  .page-home .step-arrow {
    grid-column: 3;
    width: 28px;
    height: 28px;
  }
  .page-home .step:not(:last-child)::after {
    left: 23px;
    top: calc(50% + 16px);
    bottom: calc(-50% + 16px);
  }
}
@media (max-width: 700px) {
  .page-home .journey {
    padding: 12px;
  }
  .page-home .step {
    grid-template-columns: 36px minmax(0px, 1fr) 32px;
    gap: 10px;
  }
  .page-home .step-content {
    grid-column: 2;
  }
  .page-home .step-arrow {
    grid-column: 3;
  }
}
.page-home .step-number {
  border: 1px solid var(--color-border);
  background: var(--color-surface-emphasis);
  color: var(--color-primary);
  font-weight: 700;
}
.page-home .step:not(:last-child)::after {
  border-left: 0px;
  width: 2px;
  background-image: radial-gradient(circle, var(--color-border) 1px, transparent 1.2px);
  background-size: 2px 7px;
  background-repeat: repeat-y;
}
.page-home .step-arrow {
  border-color: var(--color-surface-selected);
  background: var(--color-surface-emphasis);
}
.page-home .step:hover,
.page-home .step:focus-visible {
  background: var(--color-surface-emphasis);
}
.page-home .step:hover .step-number,
.page-home .step:focus-visible .step-number {
  background: var(--color-surface-selected);
  color: var(--color-primary);
  border-color: var(--color-border);
}
.page-home .step:hover .step-arrow,
.page-home .step:focus-visible .step-arrow {
  background: var(--color-surface-selected);
  border-color: var(--color-border);
}
.page-home .step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 54px;
  right: 8px;
  bottom: 0px;
  height: 1px;
  background: var(--color-surface-selected);
  pointer-events: none;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .page-home .step:not(:last-child)::before {
    left: 48px;
  }
}
.page-home .large-text-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface-subtle);
  color: var(--color-heading);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}
.page-home .large-text-symbol {
  font-size: 17px;
}
.page-home .large-text-toggle[aria-pressed="true"] {
  background: var(--color-surface-selected);
  border-color: var(--color-text-muted);
}
.page-home .large-text-toggle:hover {
  background: var(--color-surface-selected);
}
@media (max-width: 480px) {
  .page-home .large-text-toggle {
    gap: 5px;
    padding: 6px 8px;
    font-size: 12px;
  }
  .page-home .large-text-symbol {
    font-size: 15px;
  }
}
.page-home .hero-copy {
  padding-left: 72px;
  padding-right: 72px;
  padding-bottom: 88px;
}
.page-home .hero-side-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 56px;
  border: 1px solid rgb(var(--color-shadow-rgb) / 0.2);
  border-radius: 8px;
  background: rgb(var(--color-surface-rgb) / 0.88);
}
.page-home .hero-side-control img {
  width: 24px;
  height: 24px;
}
.page-home .hero-side-previous {
  left: 12px;
}
.page-home .hero-side-previous img {
  transform: rotate(180deg);
}
.page-home .hero-side-next {
  right: 12px;
}
.page-home .hero-side-control:hover {
  background: var(--color-surface-selected);
}
.page-home .hero-playback-panel {
  position: absolute;
  left: 72px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 4px 8px 4px 16px;
  border: 1px solid rgb(var(--color-shadow-rgb) / 0.2);
  border-radius: 24px;
  background: rgb(var(--color-surface-rgb) / 0.88);
  font-size: calc(15px * var(--font-scale));
  font-variant-numeric: tabular-nums;
  color: var(--color-heading);
}
.page-home .hero-playback-panel button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.page-home .hero-playback-panel button:hover {
  background: var(--color-surface-selected);
}
@media (max-width: 700px) {
  .page-home .hero {
    min-height: 480px;
  }
  .page-home .hero-copy {
    padding: 36px 48px 88px;
  }
  .page-home .hero-side-control {
    width: 36px;
    height: 48px;
  }
  .page-home .hero-side-previous {
    left: 6px;
  }
  .page-home .hero-side-next {
    right: 6px;
  }
  .page-home .hero-playback-panel {
    left: 48px;
    bottom: 18px;
  }
}
.page-home .hero-copy {
  padding-left: 100px;
  padding-right: 100px;
}
.page-home .hero-playback-panel {
  left: auto;
  right: 28px;
}
@media (max-width: 1000px) {
  .page-home .hero-copy {
    padding-left: 76px;
    padding-right: 64px;
  }
}
@media (max-width: 700px) {
  .page-home .hero-copy {
    padding-left: 54px;
    padding-right: 54px;
  }
  .page-home .hero-playback-panel {
    left: auto;
    right: 18px;
  }
}
.page-home:is(.page-home) .institution-details dd:nth-of-type(1)::before {
  background-image: url("../icons/tabler/map-pin.svg");
}
.page-home:is(.page-home) .institution-details dd:nth-of-type(2)::before {
  background-image: url("../icons/tabler/phone.svg");
}
.page-home:is(.page-home) .institution-details dd:nth-of-type(3)::before {
  background-image: url("../icons/tabler/book.svg");
}
.page-home:is(.page-home) .institution-details dd:nth-of-type(4)::before {
  background-image: url("../icons/tabler/users.svg");
}

/* 글꼴 크기와 가독성 */
.page-home {
  --base-font-scale: 1.2;
}
.page-home .hero h1 {
  font-size: calc(40px * var(--font-scale, 1));
}
.page-home .step-content strong {
  font-size: calc(15px * var(--font-scale, 1));
}
.page-home .step-content > span {
  font-size: calc(12px * var(--font-scale, 1));
  line-height: 1.5;
}
.page-home .step:not(:last-child)::after {
  line-height: 1;
  font-size: calc(25px * var(--font-scale, 1));
}
.page-home .question h2 {
  font-size: calc(21px * var(--font-scale, 1));
}
.page-home .question p {
  font-size: calc(13px * var(--font-scale, 1));
}
.page-home .institution-details dl {
  font-size: calc(13px * var(--font-scale, 1));
}
.page-home .institution-detail {
  font-size: calc(13px * var(--font-scale, 1));
}
.page-home .institution-details h3 {
  font-size: calc(19px * var(--font-scale, 1));
}
@media (max-width: 1000px) {
  .page-home .hero h1 {
    font-size: calc(36px * var(--font-scale, 1));
  }
  .page-home .step-content strong {
    font-size: calc(13px * var(--font-scale, 1));
  }
  .page-home .question h2 {
    font-size: calc(19px * var(--font-scale, 1));
  }
}
@media (max-width: 700px) {
  .page-home .hero h1 {
    font-size: calc(30px * var(--font-scale, 1));
  }
  .page-home .step-content strong {
    font-size: calc(14px * var(--font-scale, 1));
  }
  .page-home .question h2 {
    font-size: calc(19px * var(--font-scale, 1));
  }
}
@media (max-width: 700px) {
  .page-home .institution-details h3 {
    font-size: calc(18px * var(--font-scale, 1));
  }
}
@media (max-width: 700px) {
  .page-home .step-content > span {
    font-size: calc(12px * var(--font-scale, 1));
  }
}

.page-home .site-search-close {
  font-size: calc(28px * var(--font-scale, 1));
}
.page-home #site-search-status {
  font-size: calc(13px * var(--font-scale, 1));
}
@media (min-width: 701px) and (max-width: 1000px) {
  .page-home header nav {
    font-size: calc(14px * var(--font-scale, 1));
  }
}
.page-home .gnb-trigger {
  font-size: calc(16px * var(--font-scale, 1));
}
.page-home .gnb-submenu a {
  font-size: calc(14px * var(--font-scale, 1));
  line-height: 1.5;
}
.page-home main,
.page-home dialog {
  --font-scale: calc(var(--base-font-scale) * var(--content-font-scale, 1));
  font-size: calc(15px * var(--font-scale));
}
.page-home main h2 {
  font-size: calc(31px * var(--font-scale));
}
.page-home main h3 {
  font-size: calc(18px * var(--font-scale));
}
.page-home main .hero-description {
  font-size: calc(16px * var(--font-scale));
}
.page-home main input,
.page-home main select {
  font-size: calc(14px * var(--font-scale));
}
.page-home main .tag {
  font-size: calc(12px * var(--font-scale));
}
.page-home dialog h2 {
  font-size: calc(25px * var(--font-scale));
}
@media (max-width: 700px) {
  .page-home main .hero-description {
    font-size: calc(14px * var(--font-scale));
  }
}
.page-home main,
.page-home dialog {
  line-height: 1.65;
}
.page-home .step-content > span,
.page-home .question p,
.page-home .institution-details dl,
.page-home .institution-detail,
.page-home #site-search-status {
  font-size: calc(14px * var(--font-scale));
  line-height: 1.65;
}
.page-home .tag {
  font-size: calc(13.5px * var(--font-scale));
}
.page-home main input,
.page-home main select {
  font-size: calc(15px * var(--font-scale));
}
.page-home .hero h1 {
  font-size: calc(38px * var(--font-scale));
  line-height: 1.3;
}
.page-home .gnb-trigger {
  font-size: 18px;
}
.page-home .gnb-submenu a {
  font-size: 16px;
}
@media (max-width: 1000px) {
  .page-home .hero h1 {
    font-size: calc(34px * var(--font-scale));
  }
}
@media (max-width: 700px) {
  .page-home .hero h1 {
    font-size: calc(27px * var(--font-scale));
  }
  .page-home main .hero-description {
    font-size: calc(15px * var(--font-scale));
  }
  .page-home .step-content > span {
    font-size: calc(14px * var(--font-scale));
  }
}
.page-home .step-content strong {
  font-size: calc(15px * var(--font-scale));
  line-height: 1.5;
}
.page-home .step-content > span {
  font-size: calc(14px * var(--font-scale));
  line-height: 1.65;
}
.page-home .step:not(:last-child)::after {
  font-size: 26px;
  line-height: 1;
}

.page-home .step-content > span,
.page-home .question p,
.page-home .tag,
.page-home .institution-details dl,
.page-home .institution-detail,
.page-home #site-search-status {
  font-size: calc(15px * var(--font-scale));
  line-height: 1.7;
}
.page-home .question p,
.page-home .institution-details dl {
  color: var(--color-text-muted);
}
.page-home .institution-detail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.page-home main .tag {
  font-size: calc(15px * var(--font-scale));
  line-height: 1.5;
}
.page-home .institution-result-count,
.page-home #institution-search label > span {
  font-size: calc(15px * var(--font-scale));
  line-height: 1.6;
}

/* 센터 메인 테마 */
.page-home {

  background: var(--color-surface);
}
.page-home .gnb-trigger {
  color: var(--color-heading);
}
.page-home .gnb-trigger:hover,
.page-home .gnb-trigger[aria-expanded="true"] {
  color: var(--color-primary);
}
.page-home .gnb-submenu {
  border-color: var(--color-border);
  box-shadow: rgb(var(--color-shadow-rgb) / 0.1) 0px 12px 30px;
}
.page-home .gnb-submenu a:hover,
.page-home .gnb-submenu a:focus-visible {
  color: var(--color-primary);
  background: var(--color-surface-emphasis);
}
.page-home .large-text-toggle {
  color: var(--color-text);

  background: var(--color-surface);
  border-color: var(--color-border);
  border-radius: 9px;
}
.page-home .large-text-toggle:hover,
.page-home .large-text-toggle:focus-visible,
.page-home .large-text-toggle[aria-pressed="true"] {
  background: var(--color-surface-emphasis);
  border-color: var(--color-surface-selected);
}
.page-home .header-search:hover,
.page-home .header-search:focus-visible,
.page-home #menu-toggle:hover {
  background: var(--color-surface-emphasis);
}
.page-home .hero {
  background: var(--color-text-muted);
  color: var(--color-surface);
}
.page-home .hero-image {
  opacity: 0.3;
}
.page-home .hero-shade {
  background: linear-gradient(
    90deg,
    rgb(var(--color-shadow-rgb) / 0.98) 0%,
    rgb(var(--color-shadow-rgb) / 0.9) 36%,
    rgb(var(--color-shadow-rgb) / 0.35) 100%
  );
}
.page-home .hero h1 {
  color: var(--color-surface);
}
.page-home .hero h1 em {
  color: var(--color-surface);
}
.page-home .hero-description {
  color: var(--color-surface-emphasis);
}
.page-home .primary {
  background: var(--color-border-strong);
  color: var(--color-surface);
  border-radius: 13px;
}
.page-home .primary:hover,
.page-home .primary:focus-visible {
  background: var(--color-primary);
  filter: none;
  box-shadow: rgb(var(--color-shadow-rgb) / 0.18) 0px 8px 18px;
}
.page-home .hero-side-control {
  background: rgb(var(--color-shadow-rgb) / 0.55);
  border-color: rgb(var(--color-surface-rgb) / 0.4);
}
.page-home .hero-side-control img {
  filter: brightness(0) invert(1);
}
.page-home .hero-side-control:hover,
.page-home .hero-side-control:focus-visible {
  background: var(--color-primary);
}
.page-home .hero-playback-panel {
  color: var(--color-surface);
  background: rgb(var(--color-shadow-rgb) / 0.75);
  border-color: rgb(var(--color-surface-rgb) / 0.4);
}
.page-home .hero-playback-panel button:hover,
.page-home .hero-playback-panel button:focus-visible {
  background: var(--color-primary);
}
.page-home .journey {
  background: var(--color-surface-subtle);
  border-color: var(--color-border);
}
.page-home .step-content strong {
  color: var(--color-heading);
}
.page-home .step-content > span {
  color: var(--color-text-muted);
}
.page-home .step-number {
  color: var(--color-primary);
  background: var(--color-surface-emphasis);
  border-color: var(--color-border);
  font-weight: 800;
}
.page-home .step-arrow {
  background: var(--color-surface);
  border-color: var(--color-border);
}
.page-home .step-arrow img,
.page-home .question-icon .icon {
  filter: none;
}
.page-home .step:not(:last-child)::after {
  background-image: radial-gradient(circle, var(--color-border) 1px, transparent 1.2px);
}
.page-home .step:not(:last-child)::before {
  background: var(--color-border);
}
.page-home .step:hover,
.page-home .step:focus-visible {
  background: var(--color-surface-emphasis);
}
.page-home .step:hover .step-number,
.page-home .step:focus-visible .step-number {
  color: var(--color-surface);
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.page-home .step:hover .step-arrow,
.page-home .step:focus-visible .step-arrow {
  background: var(--color-surface-emphasis);
  border-color: var(--color-surface-selected);
}
.page-home .question {
  background: var(--color-surface);
  box-shadow:
    var(--color-surface-emphasis) 0px 0px 0px 1px inset,
    rgb(var(--color-shadow-rgb) / 0.06) 0px 8px 22px;
}
.page-home .question h2 {
  color: var(--color-heading);
}
.page-home .question p {
  color: var(--color-text-muted);
}
.page-home .q1 .question-icon {
  background: var(--color-surface-emphasis);
}
.page-home .q2 .question-icon {
  background: var(--color-surface-emphasis);
}
.page-home .q3 .question-icon {
  background: var(--color-surface-emphasis);
}
.page-home .question:hover,
.page-home .question:focus-visible {
  box-shadow:
    inset 0 0 0 1px var(--color-border),
    0 4px 12px rgb(var(--color-shadow-rgb) / 0.05);
}
.page-home .institution-result-count,
.page-home .institution-details dl {
  color: var(--color-text-muted);
}
.page-home input,
.page-home select {
  color: var(--color-text);
  background-color: var(--color-surface);
  border-color: var(--color-border);
}
.page-home input:focus-visible,
.page-home select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.page-home .institution-card {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: rgb(var(--color-shadow-rgb) / 0.04) 0px 8px 22px;
}
.page-home .institution-details h3 {
  color: var(--color-heading);
}
.page-home .tag {
  color: var(--color-text-muted);

  background: var(--color-surface-emphasis);
  border-color: var(--color-border);
}
.page-home .institution-detail {
  color: var(--color-primary);
}
.page-home .institution-detail:hover,
.page-home .institution-detail:focus-visible {
  color: var(--color-heading);
}

.page-home dialog {
  color: var(--color-text);
  background: var(--color-surface);
  border-color: var(--color-border);
}
.page-home .site-search-close:hover {
  background: var(--color-surface-emphasis);
}
.page-home .hero {
  background: var(--color-text-muted);
}
.page-home .hero-image {
  opacity: 0;
}
.page-home .hero-shade {
  background: linear-gradient(90deg, rgb(var(--color-shadow-rgb) / 0.36), transparent 75%);
}
.page-home .question-icon .icon {
  filter: none;
}
.page-home .question-icon,
.page-home .q1 .question-icon,
.page-home .q2 .question-icon,
.page-home .q3 .question-icon {
  background: transparent;
  border-radius: 0px;
}
.page-home .question-icon .icon {
  width: 58px;
  height: 58px;
}
.page-home main {
  font-size: calc(16px * var(--content-font-scale, 1));
}
.page-home .hero h1 {
  font-size: calc(54px * var(--content-font-scale, 1));
  line-height: 1.2;
  letter-spacing: -2px;
}
.page-home main .hero-description {
  font-size: calc(19px * var(--content-font-scale, 1));
  line-height: 1.7;
}
.page-home main h2 {
  font-size: calc(30px * var(--content-font-scale, 1));
  line-height: 1.4;
  letter-spacing: -1px;
}
.page-home main h3 {
  font-size: calc(21px * var(--content-font-scale, 1));
  line-height: 1.5;
}
.page-home .step-content strong {
  font-size: calc(20px * var(--content-font-scale, 1));
}
.page-home .step-content > span {
  font-size: calc(16px * var(--content-font-scale, 1));
  line-height: 1.6;
}
.page-home .question h2 {
  font-size: calc(22px * var(--content-font-scale, 1));
  line-height: 1.4;
  letter-spacing: -0.6px;
  color: var(--color-heading);
}
.page-home .question p,
.page-home .institution-details dl,
.page-home .institution-result-count {
  font-size: calc(16px * var(--content-font-scale, 1));
  line-height: 1.7;
}
.page-home .institution-details h3 {
  font-size: calc(23px * var(--content-font-scale, 1));
}
.page-home main .tag {
  font-size: calc(14px * var(--content-font-scale, 1));
}
.page-home .institution-detail,
.page-home #institution-search label > span,
.page-home main input,
.page-home main select {
  font-size: calc(16px * var(--content-font-scale, 1));
}
.page-home .hero-layout {
  margin-bottom: 40px;
  border-radius: 20px;

  box-shadow: 0 6px 20px rgb(var(--color-shadow-rgb) / 0.05);
}
.page-home main > .wrap:has(> .quick) {
  background: var(--color-surface-subtle);

  box-shadow: var(--color-surface-subtle) 0 0 0 100vmax;
  clip-path: inset(0px -100vmax);
  padding-block: 40px;
}
.page-home .quick {
  margin-block: 0px;
  gap: 24px;
}
.page-home .question {
  padding: 28px 24px;
  min-height: 160px;
  border-radius: 12px;
  background: rgb(var(--color-surface-rgb) / 0.96);
  box-shadow:
    inset 0 0 0 1px rgb(var(--color-shadow-rgb) / 0.65),
    inset 0 2px 0 rgb(var(--color-surface-rgb) / 0.95),
    0 6px 18px rgb(var(--color-shadow-rgb) / 0.07);
}
.page-home .institutions {
  padding-block: 48px;
  background: var(--color-surface-emphasis);
}
.page-home .institution-card {
  padding: 26px;

  border-radius: 12px;
  box-shadow: none;
}
@media (max-width: 1000px) {
  .page-home .hero h1 {
    font-size: calc(42px * var(--content-font-scale, 1));
  }
  .page-home .question h2 {
    font-size: calc(20px * var(--content-font-scale, 1));
  }
}
@media (max-width: 700px) {
  .page-home .hero {
    background-position: left center;
  }
  .page-home .hero-shade {
    background: linear-gradient(90deg, rgb(var(--color-shadow-rgb) / 0.65), rgb(var(--color-shadow-rgb) / 0.3));
  }
  .page-home .hero h1 {
    font-size: calc(32px * var(--content-font-scale, 1));
    letter-spacing: -1px;
  }
  .page-home main h2 {
    font-size: calc(25px * var(--content-font-scale, 1));
  }
  .page-home .question h2 {
    font-size: calc(20px * var(--content-font-scale, 1));
  }
  .page-home main .hero-description {
    font-size: calc(16px * var(--content-font-scale, 1));
  }
  .page-home .hero-layout {
    margin-bottom: 24px;
  }
  .page-home main > .wrap:has(> .quick) {
    padding-block: 28px;
  }
  .page-home .institutions {
    padding-block: 32px;
  }
  .page-home .institution-card {
    padding: 20px;
  }
}

/* 공지 및 검색 모달 */
.page-home footer {
  margin-top: 0px;
}
.page-home .wrap {
  max-width: 1400px;
}
.page-home .hero-layout.wrap {
  max-width: 1600px;
}
.page-home .discovery-layout {
  display: grid;
  grid-template-columns: minmax(0px, 0.9fr) minmax(0px, 1.1fr);
  gap: 32px;
  align-items: stretch;
  padding-block: 40px 48px;
}
.page-home .notices {
  display: flex;
  flex-direction: column;
  min-width: 0px;
  padding: 20px;
  border: 1px solid var(--color-surface-selected);
  border-radius: 12px;
  background: var(--color-surface);
  border-color: var(--color-border);
}
.page-home .notices h2 {
  margin: 0px 0px 16px;
  font-size: calc(25px * var(--font-scale, 1));
}
.page-home .notice-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(min-content, 1fr));
  flex: 1 1 0%;
  margin: 0px;
  padding: 0px;
  list-style: none;
  border-top: 2px solid var(--color-text-muted);
}
.page-home .notice-list li {
  display: flex;
}
.page-home .notice-list a {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0px, 1fr) 18px;
  gap: 4px 10px;
  align-content: center;
  align-items: center;
  padding: 12px 0px;
  border-bottom: 1px solid var(--color-surface-selected);
}
.page-home .notice-list a > span:nth-child(2) {
  font-size: calc(17px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.page-home .notice-list time {
  grid-area: 2 / 2;
  color: var(--color-text-muted);
  font-size: 16px;
}
.page-home .notice-list a > span:last-child {
  grid-area: 1 / 3;
}
.page-home .notice-badge {
  padding: 4px 10px;
  color: var(--color-primary);
  background: var(--color-surface-emphasis);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}
.page-home .discovery-layout .institutions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0px;
  min-width: 0px;
  border: 0px;
  border-radius: 0px;
  background: transparent;
  overflow: visible;
}
.page-home .education-office-select {
  display: grid;
  grid-template-columns: minmax(0px, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0px;
  padding: 14px 20px;
  background: var(--color-border-strong);
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
}
.page-home .education-office-select h2 {
  color: var(--color-surface);
  font-weight: 700;
  font-size: calc(20px * var(--font-scale, 1));
  line-height: 1.5;
}
.page-home .results-dialog-close {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-weight: 700;
  white-space: nowrap;
}
.page-home .institution-search-box {
  flex: 1 1 0%;
  padding: 20px;
  border: 1px solid var(--color-surface-selected);
  border-radius: 12px;
  background: var(--color-surface);
  border-color: var(--color-border);
}
.page-home .institution-search-box h2 {
  margin: 0px 0px 8px;
  font-size: calc(25px * var(--font-scale, 1));
}
.page-home .institution-search-box > p {
  margin: 0px 0px 16px;
  color: var(--color-text-muted);
}
.page-home #institution-search {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 12px;
  margin: 0px;
}
.page-home #institution-search > label,
.page-home #institution-search > label:not(.keyword) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0px;
}
.page-home #institution-search .institution-name-field {
  grid-column: 1 / -1;
}
.page-home #institution-search label > span {
  font-weight: 700;
}
.page-home #institution-search select,
.page-home #institution-search input {
  width: 100%;
  min-width: 0px;
  height: 52px;
}
.page-home #institution-search .primary {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 52px;
  margin: 0px;
}
.page-home .institution-results-dialog {
  width: min(1040px, -40px + 100vw);
  max-width: 1040px;
  max-height: 85dvh;
  padding: 28px;
  border: 1px solid var(--color-surface-selected);
  border-radius: 12px;
  overflow-y: auto;
}
.page-home .institution-results-dialog::backdrop {
  background: rgb(var(--color-shadow-rgb) / 0.55);
}
.page-home .results-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.page-home .results-dialog-heading h2 {
  margin: 0px;
  font-size: calc(25px * var(--font-scale, 1));
}
.page-home #institution-search-summary {
  margin: 20px 0px;
  color: var(--color-text-muted);
}
.page-home .institution-results-dialog .institution-browser {
  margin: 0px;
}
.page-home .institution-results-dialog .institution-grid {
  grid-template-columns: minmax(0px, 1fr);
  gap: 20px;
}
/* 기관 검색 결과: 기관 정보와 교육활동사진을 구분하는 남색·중립 회색 카드 */
.page-home .institution-results-dialog {
  background: var(--color-surface-subtle);
}
.page-home .institution-results-dialog .results-dialog-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-surface-selected);
}
.page-home .institution-results-dialog .results-dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 15px;
}
.page-home .institution-results-dialog .results-dialog-close:is(:hover, :focus-visible) {
  background: var(--color-surface-emphasis);
  border-color: var(--color-primary);
}
.page-home .institution-results-dialog #institution-search-summary {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--color-surface-emphasis);
  color: var(--color-text-muted);
  overflow-wrap: anywhere;
}
.page-home .institution-results-dialog .institution-card {
  grid-row: auto;
  grid-template-rows: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 22px;
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--color-surface-emphasis), var(--color-surface) 160px);
  box-shadow: 0 4px 14px rgb(var(--color-shadow-rgb) / 0.06);
}
.page-home .institution-results-dialog .institution-details {
  display: block;
}
.page-home .institution-results-dialog .institution-details .tags {
  margin-bottom: 14px;
}
.page-home .institution-results-dialog .institution-region {
  margin: 0 0 6px;
  color: var(--color-primary);
  font-size: calc(14px * var(--content-font-scale, 1));
  font-weight: 600;
}
.page-home .institution-results-dialog .institution-details h3 {
  margin-bottom: 14px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.page-home .institution-results-dialog .tag {
  border-radius: 6px;
  background: var(--color-primary);
  color: var(--color-surface);
  font-size: calc(14px * var(--content-font-scale, 1));
  font-weight: 600;
}
.page-home .institution-results-dialog .institution-details dl {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  padding-block: 8px 16px;
  gap: 12px 10px;
}
.page-home .institution-results-dialog .institution-details dt {
  display: block;
}
.page-home .institution-results-dialog .institution-details dd {
  grid-row: auto;
  padding-left: 0;
}
.page-home .institution-results-dialog .institution-details dd::before {
  content: none;
}
.page-home .institution-results-dialog .institution-detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-primary);
  font-weight: 600;
}
.page-home .institution-results-dialog .institution-detail:is(:hover, :focus-visible) {
  background: var(--color-surface-emphasis);
  border-color: var(--color-primary);
}
.page-home .institution-results-dialog .institution-activity {
  align-self: stretch;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border-radius: 10px;
  background: var(--color-surface-emphasis);
}
.page-home .institution-activity figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 12px;
}
.page-home .institution-activity-label {
  color: var(--color-primary);
  font-size: calc(18px * var(--content-font-scale, 1));
  font-weight: 800;
}
.page-home .institution-activity img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}
@media (max-width: 1000px) {
  .page-home .discovery-layout {
    grid-template-columns: minmax(0px, 1fr);
    gap: 24px;
  }
  .page-home .notice-list {
    flex: 1 1 auto;
  }
}
@media (max-width: 700px) {
  .page-home .discovery-layout {
    padding-block: 24px 32px;
  }
  .page-home .notices {
    padding: 20px;
  }
  .page-home .education-office-select {
    grid-template-columns: minmax(0px, 1fr) auto;
  }
  .page-home .education-office-select h2 {
    grid-column: 1 / -1;
  }
  .page-home .institution-search-box {
    padding: 20px;
  }
  .page-home .institution-results-dialog {
    width: calc(-24px + 100vw);
    padding: 20px;
    max-height: 90dvh;
  }
  .page-home .institution-results-dialog .institution-grid {
    grid-template-columns: minmax(0px, 1fr);
  }
}

/* 배움의 이야기: 상단 안내와 네 개의 고정 카드 */

/* 이용 여정 */
.page-home .hero {
  background: var(--color-surface-emphasis);
  min-height: 530px;
  isolation: isolate;
  color: var(--color-heading);
}
.page-home .hero .hero-image {
  opacity: 1;
  object-fit: cover;
  object-position: center 60%;
  z-index: -2;
}
.page-home .hero .hero-shade {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgb(var(--color-surface-rgb) / 0.92) 0%,
    rgb(var(--color-surface-rgb) / 0.62) 40%,
    rgb(var(--color-surface-rgb) / 0.05) 68%,
    transparent 85%
  );
}
.page-home .hero .hero-copy {
  position: relative;
  z-index: 2;
  width: 80%;
  padding: 64px 24px 110px 48px;
}
.page-home .hero .hero-stage {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgb(var(--color-surface-rgb) / 0.94);
  color: var(--color-primary);
  font-size: calc(14px * var(--content-font-scale, 1));
  font-weight: 700;
  line-height: 1.5;
}
.page-home .hero-stage-count {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-surface);
  font-size: calc(12px * var(--content-font-scale, 1));
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.page-home .hero-stage-name {
  min-width: 0;
  word-break: keep-all;
}
.page-home .hero h1 {
  color: var(--color-heading);
  font-size: calc(clamp(34px, 2.8vw, 44px) * var(--content-font-scale, 1));
  line-height: 1.45;
  letter-spacing: -1.5px;
  margin: 0px;
}
.page-home .hero h1 em {
  color: var(--color-primary);
}
.page-home main .hero .hero-description {
  color: var(--color-text-muted);
  font-size: calc(18px * var(--content-font-scale, 1));
  line-height: 1.9;
  margin: 24px 0px 0px;
}
.page-home .hero .hero-playback-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  left: 48px;
  right: auto;
  bottom: 32px;
  padding: 5px 8px;
  border: 1px solid rgb(var(--color-surface-rgb) / 0.9);
  border-radius: 30px;
  background: rgb(var(--color-surface-rgb) / 0.94);
  color: var(--color-heading);
  box-shadow:
    0 4px 16px rgb(var(--color-shadow-rgb) / 0.12),
    inset 0 1px 0 rgb(var(--color-surface-rgb) / 0.9);
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .page-home .question {
    background: linear-gradient(135deg, rgb(var(--color-surface-rgb) / 0.9), rgb(var(--color-surface-rgb) / 0.66));
    -webkit-backdrop-filter: blur(10px) saturate(110%);
    backdrop-filter: blur(10px) saturate(110%);
  }
  .page-home .hero .hero-playback-panel {
    background: rgb(var(--color-surface-rgb) / 0.72);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(10px) saturate(115%);
  }
}
.page-home .hero #hero-position {
  min-width: 65px;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.page-home .hero .hero-playback-panel button {
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 0px;
  background: transparent;
  border-radius: 50%;
}
.page-home .hero .hero-playback-panel .hero-side-control {
  position: static;
  inset: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .hero .hero-side-control img {
  width: 18px;
  height: 18px;
  filter: none;
}
.page-home .hero-playback-panel svg {
  color: var(--color-primary);
}
.page-home .hero .hero-playback-panel button:hover {
  background: var(--color-surface-emphasis);
}
.page-home .hero .hero-playback-panel button:focus-visible {
  outline: var(--color-primary) solid 3px;
  outline-offset: 2px;
}
@media (max-width: 1100px) {
  .page-home .hero .hero-copy {
    padding-left: 40px;
    width: 85%;
  }
  .page-home .hero h1 {
    font-size: calc(34px * var(--content-font-scale, 1));
  }
  .page-home main .hero .hero-description {
    font-size: calc(17px * var(--content-font-scale, 1));
  }
  .page-home .hero .hero-playback-panel {
    left: 40px;
  }
}
@media (max-width: 600px) {
  .page-home .hero {
    min-height: 610px;
    align-items: flex-start;
  }
  .page-home .hero .hero-copy {
    width: 100%;
    padding: 42px 28px 320px;
  }
  .page-home .hero h1 {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .page-home main .hero .hero-description {
    margin-top: 18px;
  }
  .page-home .hero .hero-playback-panel {
    left: 50%;
    right: auto;
    bottom: 22px;
    transform: translateX(-50%);
  }
  .page-home .hero .hero-image {
    object-position: 75% bottom;
  }
  .page-home .hero .hero-shade {
    background: linear-gradient(
      rgb(var(--color-surface-rgb) / 0.96) 0%,
      rgb(var(--color-surface-rgb) / 0.91) 36%,
      rgb(var(--color-surface-rgb) / 0.125) 70%
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .hero * {
    animation: auto ease 0s 1 normal none running none !important;
    transition: none !important;
  }
}

/* 반응형 레이아웃 */
.page-home header.wrap {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0px, 1fr) auto minmax(0px, 1fr);
  align-items: center;
  height: 96px;
  gap: 20px;
}
.page-home .brand {
  justify-self: start;
  min-width: 0px;
}
.page-home header .main-nav {
  position: static;
  display: block;
  padding: 0px;
  height: 100%;
  font-size: 17px;
  box-shadow: none;
  background: transparent;
}
.page-home .gnb-list {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 8px;
}
.page-home .gnb-item {
  position: relative;
  display: flex;
  align-items: stretch;
}
.page-home .gnb-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 0px 22px;
  font-size: 18px;
  border: 0px;
  color: var(--color-heading);
}
.page-home .gnb-trigger[aria-expanded="true"] {
  color: var(--color-primary);
  background: transparent;
}
.page-home .gnb-trigger::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 22px;
  right: 22px;
  height: 3px;
  background: transparent;
}
.page-home .gnb-trigger[aria-expanded="true"]::after {
  background: var(--color-primary);
}
.gnb-chevron {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
}
.gnb-trigger[aria-expanded="true"] .gnb-chevron {
  transform: rotate(225deg);
}
.page-home .gnb-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 224px;
  display: block;
  margin: 0px;
  padding: 8px 0px;
  border-width: 2px 1px 1px;
  border-style: solid;
  border-color: var(--color-primary) var(--color-surface-selected) var(--color-surface-selected);
  border-image: none;
  border-radius: 0px 0px 6px 6px;
  background: var(--color-surface);
  box-shadow: rgb(var(--color-shadow-rgb) / 0.07) 0px 8px 18px;
  list-style: none;
}
.page-home #submenu-education {
  width: 300px;
}
.page-home .gnb-submenu[hidden] {
  display: none;
}
.page-home .gnb-submenu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0px;
  border-radius: 0px;
  color: var(--color-heading);
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.page-home .gnb-submenu a:hover,
.page-home .gnb-submenu a:focus-visible {
  color: var(--color-primary);
  background: var(--color-surface-emphasis);
}
.page-home .gnb-submenu a:focus-visible {
  outline: var(--color-primary) solid 2px;
  outline-offset: -3px;
}
.page-home .header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  margin-left: 0px;
  flex-shrink: 0;
}
.page-home :is(.header-search, #menu-toggle) {
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}
.page-home #menu-toggle {
  display: none;
}
.page-home
  :is(
    main,
    .hero-layout,
    .quick-layout,
    .quick,
    .resources,
    .resource-grid,
    .support-band,
    .footer-support
  )
  > * {
  min-width: 0px;
}
.page-home :is(input, select) {
  max-width: 100%;
}

@media (min-width: 1025px) {
  .page-home .hero-layout.wrap {
    width: calc(100% - 48px);
  }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .page-home header.wrap {
    gap: 12px;
  }
  .page-home .gnb-trigger {
    padding-inline: 12px;
    font-size: 17px;
  }
  .page-home .gnb-list {
    gap: 4px;
  }
  .page-home .header-logo {
    width: 190px;
  }
}
@media (max-width: 1024px) {
  .page-home .wrap {
    width: calc(100% - 40px);
  }
  .page-home header.wrap {
    display: flex;
    height: 80px;
    gap: 12px;
  }
  .page-home .header-tools {
    margin-left: auto;
  }
  .page-home .header-logo {
    width: 190px;
    height: auto;
  }
  .page-home #menu-toggle {
    display: flex;
    flex-shrink: 0;
  }
  .page-home header .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0px;
    right: 0px;
    height: auto;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    padding: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-selected);
    border-radius: 0px 0px 12px 12px;
    box-shadow: rgb(var(--color-shadow-rgb) / 0.1) 0px 14px 28px;
  }
  .page-home header .main-nav.open {
    display: block;
  }
  .page-home .gnb-list {
    display: block;
    height: auto;
  }
  .page-home .gnb-item {
    display: block;
    border-bottom: 1px solid var(--color-surface-emphasis);
  }
  .page-home .gnb-item:last-child {
    border-bottom: 0px;
  }
  .page-home .gnb-trigger {
    justify-content: space-between;
    width: 100%;
    height: auto;
    min-height: 58px;
    padding: 16px;
    border: 0px;
    text-align: left;
    border-radius: 0px;
  }
  .page-home .gnb-trigger::after {
    display: none;
  }
  .page-home .gnb-submenu,
  .page-home #submenu-education {
    position: static;
    transform: none;
    width: 100%;
    padding: 4px 0px 10px;
    border: 0px;
    border-radius: 0px;
    background: var(--color-surface-subtle);
    box-shadow: none;
  }
  .page-home .gnb-submenu a {
    min-height: 48px;
    padding: 12px 24px;
  }
  .page-home .hero-layout {
    grid-template-columns: minmax(0px, 1fr);
  }
  .page-home .journey {
    min-height: 0px;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    grid-template-rows: auto;
    padding: 12px;
    border-width: 1px 0px 0px;
    border-style: solid none none;
    border-color: var(--color-surface-selected) currentcolor currentcolor;
    border-image: none;
    gap: 8px;
    overflow: visible;
  }
  .page-home .journey .step {
    grid-template-columns: 30px minmax(0px, 1fr);
    padding: 12px 8px;
    border: 0px;
  }
  .page-home .journey .step-arrow {
    display: none;
  }
  .page-home .journey .step-number {
    grid-area: 1 / 1;
    width: 28px;
    height: 28px;
  }
  .page-home .journey .step-content {
    grid-area: 1 / 2;
  }
  .page-home .journey .step::before,
  .page-home .journey .step::after {
    display: none;
  }
  .page-home .hero {
    min-height: 480px;
  }
  .page-home .hero .hero-copy {
    width: 80%;
  }
  .page-home .journey .step-content strong {
    font-size: calc(19px * var(--content-font-scale, 1));
  }
  .page-home .journey .step-content > span {
    font-size: calc(15px * var(--content-font-scale, 1));
  }
}
@media (max-width: 700px) {
  .page-home .wrap {
    width: calc(100% - 32px);
  }
  .page-home header.wrap {
    height: 72px;
    gap: 6px;
  }
  .page-home .header-logo {
    width: 164px;
    height: auto;
  }
  .page-home .header-tools {
    gap: 4px;
  }
  .page-home .large-text-toggle {
    min-width: 40px;
    padding: 8px;
  }
  .page-home .large-text-label {
    display: none;
  }
  .page-home .journey {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 4px;
  }
  .page-home .journey .step:last-child {
    grid-column: 1 / -1;
  }
  .page-home .journey .step-content > span {
    font-size: calc(14px * var(--content-font-scale, 1));
  }
  .page-home .journey .step-content strong {
    font-size: calc(18px * var(--content-font-scale, 1));
  }
  .page-home .quick {
    grid-template-columns: minmax(0px, 1fr);
  }
  .page-home .quick {
    margin-bottom: 24px;
  }
  .page-home :is(.site-search-dialog, #info-dialog) {
    width: calc(-32px + 100vw);
    max-width: calc(-32px + 100vw);
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .page-home .hero {
    min-height: 580px;
  }
  .page-home .hero .hero-copy {
    width: 100%;
    padding: 36px 24px 290px;
  }
  .page-home .hero .hero-image {
    height: 100%;
  }
  .page-home .hero h1 {
    font-size: calc(clamp(26px, 7vw, 30px) * var(--content-font-scale, 1));
  }
  .page-home main .hero .hero-description {
    font-size: calc(16px * var(--content-font-scale, 1));
    overflow-wrap: anywhere;
  }
  .page-home #institution-search {
    grid-template-columns: minmax(0px, 1fr);
  }
  .page-home .education-office-select {
    gap: 10px;
    padding: 16px;
  }
  .page-home .results-dialog-heading {
    align-items: flex-start;
  }
}
@media (max-width: 360px) {
  .page-home .header-logo {
    width: 140px;
  }
  .page-home :is(.header-search, #menu-toggle) {
    width: 40px;
  }
  .page-home .journey {
    grid-template-columns: minmax(0px, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gnb-chevron {
    transition: none;
  }
}
@media (max-width: 700px) {
  .page-home .journey .step-content strong {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .page-home:has(#large-text-toggle[aria-pressed="true"]) .journey {
    grid-template-columns: minmax(0px, 1fr);
  }
  .page-home .results-dialog-heading h2 {
    word-break: keep-all;
  }
  .page-home .site-search-dialog {
    max-height: 90dvh;
    overflow-y: auto;
  }
}
.page-home .section-point-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.page-home .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0px;
  margin: 0px;
}
.page-home .section-point-heading h2 {
  margin: 0px;
}
.page-home .section-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0px;
  border-radius: 0px;
  background: transparent;
}
.page-home .section-point-icon img {
  display: block;
  width: 28px;
  height: 28px;
  filter: none;
}
.page-home .section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0px;
  border: 1px solid var(--color-surface-selected);
  border-radius: 8px;
  color: var(--color-primary);
  background: var(--color-surface);
  border-color: var(--color-border);
}
.page-home .section-more:hover {
  background: var(--color-surface-emphasis);
  border-color: var(--color-border);
}
.page-home .section-more:focus-visible {
  outline: var(--color-primary) solid 2px;
  outline-offset: 3px;
}
.page-home .institution-search-description {
  margin: 0px 0px 16px;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.page-home .education-office-select {
  grid-template-columns: minmax(0px, 1fr);
  gap: 12px;
}
.page-home .education-office-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.page-home .education-office-link:hover {
  background: var(--color-surface-emphasis);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-home .education-office-link > span:last-child {
  flex-shrink: 0;
}
.page-home .education-office-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.page-home .education-office-heading h2 {
  margin: 0;
  font-size: 20px;
}

@media (max-width: 700px) {
  .page-home .section-title {
    gap: 7px;
  }
  .page-home .section-point-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  .page-home .section-point-icon img {
    width: 25px;
    height: 25px;
  }
  .page-home .education-office-heading h2 {
    font-size: 17px;
  }

}
.page-home .section-more svg {
  flex-shrink: 0;
}
@keyframes gumsi-icon-lift {
  0%,
  100% {
    translate: 0px;
  }
  35% {
    translate: 0px -5px;
  }
  65% {
    translate: 0px 1px;
  }
  82% {
    translate: 0px -2px;
  }
}
@keyframes gumsi-icon-turn {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}
@keyframes gumsi-icon-forward {
  0%,
  100% {
    translate: 0px;
  }
  45% {
    translate: 4px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .page-home .question:focus-visible .question-icon img,
  .page-home :is(.header-search, #menu-toggle, .primary):focus-visible > .icon,
  .page-home
    :is(.section-point-heading, .education-office-heading):focus-within
    .section-point-icon
    img {
    animation: 600ms ease-out 0s 1 normal none running gumsi-icon-lift;
  }
  .page-home .section-more:focus-visible svg {
    animation: 650ms cubic-bezier(0.3, 0.1, 0.2, 1) 0s 1 normal none running gumsi-icon-turn;
  }
  .page-home .step:focus-visible .step-arrow img,
  .page-home .question:focus-visible > .arrow {
    animation: 450ms ease-out 0s 1 normal none running gumsi-icon-forward;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .page-home .question:hover .question-icon img,
  .page-home :is(.header-search, #menu-toggle, .primary):hover > .icon,
  .page-home :is(.section-point-heading, .education-office-heading):hover .section-point-icon img {
    animation: 600ms ease-out 0s 1 normal none running gumsi-icon-lift;
  }
  .page-home .section-more:hover svg {
    animation: 650ms cubic-bezier(0.3, 0.1, 0.2, 1) 0s 1 normal none running gumsi-icon-turn;
  }
  .page-home .step:hover .step-arrow img,
  .page-home .question:hover > .arrow {
    animation: 450ms ease-out 0s 1 normal none running gumsi-icon-forward;
  }
}

/* 접근성 및 상태 표현 */
.page-home
  :is(
    #institution-search input,
    #institution-search select,
    #education-office,
    #site-search-keyword
  ) {
  border-color: var(--color-text-muted);
}
.page-home input::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}
.page-home .footer-contact a {
  font-weight: 600;
}

.page-home .primary {
  background: var(--color-primary);
  color: var(--color-surface);
}
.page-home .primary:is(:hover, :focus-visible) {
  background: var(--color-primary-hover);
  color: var(--color-surface);
  filter: none;
}
.page-home .primary:active {
  background: var(--color-primary-active);
}
.page-home .education-office-select {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.page-home .education-office-select .section-point-icon img {
  filter: brightness(0) invert(1);
}
.page-home :is(a, button, input, select, textarea):focus-visible {
  outline: var(--color-focus) solid 3px !important;
  outline-offset: 3px !important;
}
.page-home .education-office-select :is(a, button, input, select):focus-visible {
  outline-color: var(--color-surface) !important;

  box-shadow: none;
}
.page-home .notice-list a {
  position: relative;
  padding: 14px 12px;
  transition:
    background-color 160ms,
    box-shadow 160ms;
}
.page-home .notice-list a:is(:hover, :focus-visible) {
  background: var(--color-surface-emphasis);
  box-shadow: var(--color-primary) 4px 0px inset;
}
.page-home .notice-list a:is(:hover, :focus-visible) > span:nth-child(2) {
  color: var(--color-heading);
  text-decoration: none;
}
.page-home .notice-list a:active {
  background: var(--color-surface-emphasis);
  box-shadow: var(--color-focus) 4px 0px inset;
}
.page-home .notice-list a > span:last-child {
  color: var(--color-text-muted);
}
.page-home .gnb-submenu a:is(:hover, :focus-visible),
.page-home .footer-links a:is(:hover, :focus-visible),
.page-home .institution-detail:is(:hover, :focus-visible) {
  text-decoration: none;
}

/* 화면 폭과 큰글씨 보기에 맞춰 공통 글자 크기를 조정합니다. */
.page-home {
  --content-font-scale: 1.1;
  --page-title-size: calc(clamp(2rem, 3vw, 2.25rem) * var(--title-scale, 1));
  --section-title-size: calc(1.5rem * var(--content-font-scale));
  --card-title-size: calc(1.25rem * var(--content-font-scale));
  --body-text-size: calc(1.125rem * var(--content-font-scale));
  --note-text-size: calc(1rem * var(--content-font-scale));
}

.page-home main {
  font-size: var(--body-text-size);
  line-height: 1.7;
}

.page-home main :is(.primary, .education-office-link),
.page-home #institution-search :is(label, input, select, .primary),
.page-home .site-search-dialog :is(input, .primary) {
  font-size: var(--body-text-size);
}

.page-home :is(.hero-stage, .large-text-toggle, .large-text-symbol) {
  font-size: var(--note-text-size);
}

@media (max-width: 700px) {
  .page-home {
    --content-font-scale: 1;
    --page-title-size: calc(clamp(1.75rem, 7vw, 2rem) * var(--title-scale, 1));
  }

  .page-home .journey .step-content > span { font-size: var(--note-text-size); }
  .page-home main h2,
  .page-home main :is(.section-point-heading, .education-office-heading) h2 {
    font-size: var(--section-title-size);
  }
  .page-home main h3 { font-size: var(--card-title-size); }
  .page-home .hero h1 { font-size: var(--page-title-size); }

  .page-home main .hero .hero-description,
  .page-home main :is(.question p, input, select),
  .page-home :is(.gnb-trigger, .gnb-submenu a) {
    font-size: var(--body-text-size);
  }

  .page-home .question h2 { font-size: var(--card-title-size); }
}

.page-home.has-large-text {
  --content-font-scale: 1.3;
  --title-scale: 1.2;
}

.page-home .back-to-top {
  position: fixed;
  z-index: 31;
  inset-inline-end: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--color-primary-hover);
  border-radius: 999px;
  background: linear-gradient(105deg, var(--color-primary), var(--color-primary-end));
  color: var(--color-surface);
  box-shadow: 0 4px 12px rgb(var(--color-shadow-rgb) / 0.24);
  font: inherit;
  font-size: var(--body-text-size);
  font-weight: 700;
  cursor: pointer;
}

.page-home .back-to-top[hidden] { display: none; }

.back-to-top-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  background: var(--color-surface-emphasis);
  color: var(--color-heading);
}

.back-to-top-icon::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}

.page-home .back-to-top:is(:hover, :focus-visible) {
  background: linear-gradient(105deg, var(--color-primary-hover), var(--color-primary));
}

.page-home .back-to-top:active {
  box-shadow: 0 1px 4px rgb(var(--color-shadow-rgb) / 0.22);
}
.page-home .back-to-top:focus-visible { outline: 2px solid var(--color-heading); outline-offset: 3px; }

@media (max-width: 700px) and (min-height: 601px) {
  .page-home.has-mobile-notice .back-to-top {
    bottom: calc(var(--notice-card-height, 0px) + 16px + env(safe-area-inset-bottom, 0px));
  }
}

/* 푸터: 정책 메뉴와 기관 정보를 구분하는 공공기관형 레이아웃 */
.page-home .site-footer {
  margin-top: 0;
  padding: 0;
  border-top: 2px solid var(--color-heading);
  background: var(--color-surface-subtle);
  color: var(--color-text-muted);
  font-size: var(--note-text-size);
  line-height: 1.7;
}
.page-home .footer-policy-band {
  border-bottom: 1px solid var(--color-surface-selected);
  background: var(--color-surface);
}
.page-home .footer-links {
  position: static;
  inset: auto;
  z-index: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 32px;
  padding-block: 20px;
  padding-inline: 0;
  background: transparent;
  box-shadow: none;
  font-size: var(--note-text-size);
  font-weight: 500;
}
.page-home .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--color-text-muted);
}
.page-home .footer-links .footer-privacy {
  color: var(--color-primary);
  font-weight: 800;
}
.page-home .footer-privacy strong {
  font-weight: inherit;
}
.page-home .footer-body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  padding-block: 36px 40px;
}
.page-home .footer-brand {
  display: inline-flex;
  width: fit-content;
  padding-block: 6px;
}
.page-home .footer-logo {
  width: 220px;
  height: 23px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(20%) sepia(20%) saturate(1150%) hue-rotate(172deg)
    brightness(95%) contrast(94%);
}
.page-home .footer-information {
  min-width: 0;
}
.page-home .footer-contact {
  display: grid;
  gap: 6px;
  font-style: normal;
}
.page-home .footer-contact p {
  margin: 0;
}
.page-home .footer-contact-label {
  margin-right: 12px;
  color: var(--color-text-muted);
}
.page-home .footer-copyright {
  margin: 18px 0 0;
  color: var(--color-text-muted);
  font-size: var(--note-text-size);
  overflow-wrap: anywhere;
}
.page-home .site-footer a:hover {
  text-decoration: none;
}
.page-home .site-footer a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 2px;
}
@media (max-width: 1024px) {
  .page-home .footer-body {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
  }
}
@media (max-width: 700px) {
  .page-home .footer-links {
    gap: 4px 8px;
    padding-block: 10px;
  }
  .page-home .footer-links a {
    min-height: 44px;
    max-width: 100%;
    padding-inline: 8px;
    overflow-wrap: anywhere;
  }
  .page-home .footer-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-block: 20px 24px;
  }
  .page-home .footer-logo {
    width: min(185px, 100%);
    height: auto;
  }
  .page-home .footer-contact {
    overflow-wrap: anywhere;
  }
  .page-home .footer-contact a { text-decoration: underline; }
  .page-home .footer-copyright {
    margin-top: 12px;
  }
}
.page-home .gnb-trigger:hover {
  text-decoration: none;
}
.page-home .gnb-trigger[aria-expanded="true"] {
  color: var(--color-primary);
  font-weight: 750;
}
.page-home .step:is(:hover, :focus-visible) .step-content strong,
.page-home .question:is(:hover, :focus-visible) h2 {
  text-decoration: none;
}
.page-home .journey .step:is(:hover, :focus-visible) .step-content strong {
  color: var(--color-primary);
}
.page-home .step:is(:hover, :focus-visible) .step-number {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-surface);
}
.page-home .question:is(:hover, :focus-visible) {
  box-shadow:
    inset 0 0 0 2px var(--color-primary),
    inset 0 2px 0 rgb(var(--color-surface-rgb) / 0.95),
    0 8px 22px rgb(var(--color-shadow-rgb) / 0.1);
}
.page-home .section-more:is(:hover, :focus-visible),
.page-home :is(.header-search, #menu-toggle):is(:hover, :focus-visible) {
  background: var(--color-surface-emphasis);
  box-shadow: var(--color-primary) 0px 0px 0px 2px inset;
  color: var(--color-heading);
}
.page-home .large-text-toggle[aria-pressed="true"] {
  border-color: var(--color-primary);
  box-shadow: var(--color-primary) 0px -3px inset;
  color: var(--color-focus);
  font-weight: 700;
}
.page-home .hero .hero-playback-panel button:is(:hover, :focus-visible) {
  background: var(--color-surface-emphasis);
  color: var(--color-focus);
  box-shadow: var(--color-primary) 0px 0px 0px 2px inset;
}
.page-home :is(.primary, .section-more, .header-search, #menu-toggle, .large-text-toggle):active {
  box-shadow: var(--color-focus) 0px 0px 0px 2px inset;
}
@media (max-width: 1024px) {
  .page-home .gnb-trigger[aria-expanded="true"] {
    box-shadow: var(--color-primary) 4px 0px inset;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .notice-list a {
    transition: none;
  }
}
@media (forced-colors: active) {
  .page-home .question {
    background: Canvas;
    outline: 1px solid CanvasText;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .page-home .hero .hero-playback-panel {
    background: Canvas;
    color: CanvasText;
    border-color: CanvasText;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .page-home :is(a, button, input, select, textarea):focus-visible {
    outline-color: highlight !important;
  }
  .page-home .notice-list a:is(:hover, :focus-visible) {
    outline: highlight solid 2px;
    outline-offset: -2px;
  }
  .page-home :is([aria-pressed="true"], [aria-current="page"]) {
    border: 2px solid highlight;
  }
}
.page-home .institution-detail:is(:hover, :focus-visible) {
  text-decoration: none;
}

/* 기관별 교육활동사진: 수동 슬라이드 */
.page-home .institution-activity-slides img[hidden] {
  display: none;
}
.page-home .institution-activity-slides {
  position: relative;
}
.page-home .institution-activity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}
.page-home .institution-activity-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgb(var(--color-surface-rgb) / 0.9);
  color: var(--color-primary);
  cursor: pointer;
  pointer-events: auto;
}
.page-home .institution-activity-controls button:is(:hover, :focus-visible) {
  background: var(--color-surface-emphasis);
  border-color: var(--color-primary);
}
.page-home .institution-activity-count {
  min-width: 48px;
  color: var(--color-heading);
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
  .page-home .institution-results-dialog .institution-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-home .institution-activity img.institution-testimonial {
  object-fit: cover;
  background: var(--color-surface);
}

/* 사진의 가로 스와이프와 페이지의 세로 스크롤을 함께 지원 */
.page-home .institution-activity-slides img {
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.page-home .institution-activity-slides:has(img:nth-of-type(2)) img {
  cursor: grab;
}
.page-home .institution-activity-slides.is-dragging img {
  cursor: grabbing;
}

/* 3D 아이콘 공통 보정 (assets/icons/gumsi/3d) */
.page-home img[src*="icons/gumsi/3d/"] { filter: none; opacity: 1; object-fit: contain; }
.page-home .education-office-select .section-point-icon { border-radius: 8px; background: var(--color-surface); }
.page-home .education-office-select .section-point-icon img { filter: none; }
.page-home .flowstep-icon img[src*="icons/gumsi/3d/"] { width: 40px; height: 40px; }
.page-home .preparation-notice > img[src*="icons/gumsi/3d/"] { width: 44px; height: 44px; }
.page-home .provider-guide > img[src*="icons/gumsi/3d/"] { width: 44px; height: 44px; }
.page-home .section-point-icon img[src*="icons/gumsi/3d/"] { width: 32px; height: 32px; }

/* 메인 빠른 질문 카드: 테두리를 은은하게 */
.page-home .quick .question {
  box-shadow:
    inset 0 0 0 1px rgb(var(--color-shadow-rgb) / 0.1),
    inset 0 2px 0 rgb(var(--color-surface-rgb) / 0.95),
    0 6px 18px rgb(var(--color-shadow-rgb) / 0.06);
}
.page-home .quick .question:is(:hover, :focus-visible) {
  box-shadow:
    inset 0 0 0 2px var(--color-primary),
    0 10px 24px rgb(var(--color-shadow-rgb) / 0.12);
}

/* 메인 빠른 질문 영역: 배경 톤을 한 단계 진하게 */
.page-home main > .wrap:has(> .quick) {
  background: #e7eaf0;
  box-shadow: #e7eaf0 0 0 0 100vmax;
}

/* 큰글씨 보기: 고정 px로 남아 있던 영역까지 함께 키웁니다. */
.page-home.has-large-text .skip { font-size: var(--body-text-size); }
/* 헤더 메뉴·드롭다운도 본문 글자 크기 체계(--body-text-size)를 따릅니다. */
.page-home .gnb-trigger,
.page-home .gnb-submenu a { font-size: var(--body-text-size); }
.page-home.has-large-text .hero .hero-stage { font-size: calc(14px * 1.2); }
.page-home.has-large-text .hero .hero-stage-count,
.page-home.has-large-text .hero .hero-playback-panel #hero-position { font-size: calc(13px * 1.2); }
.page-home.has-large-text .step-number { font-size: calc(15px * 1.2); }
.page-home.has-large-text .notice-badge { font-size: calc(14px * 1.2); }
.page-home.has-large-text .notice-list time { font-size: var(--note-text-size); }
.page-home.has-large-text .education-office-heading h2 span,
.page-home.has-large-text .education-office-heading > span { font-size: calc(20px * 1.2); }
.page-home.has-large-text.page-sub main .sub-sidebar h2 { font-size: calc(25px * 1.2); }

/* 큰글씨일 때 데스크톱 상단 메뉴가 넘치지 않도록 간격만 줄입니다. */
@media (min-width: 1025px) and (max-width: 1280px) {
  .page-home.has-large-text .gnb-list { column-gap: 8px; }
  .page-home.has-large-text .gnb-trigger { padding-inline: 12px; }
}

/* 헤더 메뉴 호버·키보드 포커스 강조 (주색상 짙은 남색) */
.page-home .gnb-trigger { transition: color 0.2s ease, background-color 0.2s ease; }
.page-home .gnb-trigger:is(:hover, :focus-visible) { color: var(--color-primary); }
.page-home .gnb-submenu a {
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}
.page-home .gnb-submenu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--color-primary);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}
.page-home .gnb-submenu a:is(:hover, :focus-visible) {
  color: var(--color-primary);
  background: #eef0f7;
  padding-left: 26px;
  font-weight: 700;
}
.page-home .gnb-submenu a:is(:hover, :focus-visible)::before { transform: scaleY(1); }
@media (min-width: 1025px) {
  .page-home .gnb-trigger::after {
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
  }
  .page-home .gnb-trigger:is(:hover, :focus-visible, [aria-expanded="true"])::after { transform: scaleX(1); }
  .page-home .gnb-trigger:is(:hover, :focus-visible) { background: #f3f4f9; }
}
@media (max-width: 1024px) {
  .page-home .gnb-trigger:is(:hover, :focus-visible) { background: #eef0f7; }
  .page-home .gnb-submenu a:is(:hover, :focus-visible) { padding-left: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home :is(.gnb-trigger, .gnb-trigger::after, .gnb-submenu a, .gnb-submenu a::before) { transition: none; }
}

/* 2026 리뉴얼 적용: 웹접근성 인증마크(WA) — 레거시 푸터에서 이전. 푸터 본문 = 로고·정보·대표전화(시안 11/26)·인증마크 */
.page-home .footer-body {
  grid-template-columns: 260px minmax(0, 1fr) auto auto;
  align-items: center;
}
.footer-mark img.wa {
  display: block;
  width: auto;
  height: 72px;
}
.notice-list .notice-empty {
  padding: 24px 8px;
  color: var(--color-text-muted);
}
/* 푸터: 대표 전화번호·근무 시간 (오른쪽 칸, 모바일은 기관 정보 아래) — 이메일 줄과 같은 크기 */
.page-home .footer-call {
  display: grid;
  grid-template-columns: max-content;
  grid-auto-flow: row;
  gap: 6px;
  margin: 0;
  padding: 0 0 0 32px;
  font-size: var(--note-text-size);
  line-height: 1.7;
  border-left: 1px solid var(--color-surface-selected);
}
.page-home .footer-call-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
}
.page-home .footer-call dt {
  color: var(--color-text-muted);
  font-weight: 400;
}
.page-home .footer-call dd {
  margin: 0;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.page-home .footer-call .footer-call-number {
  color: var(--color-text-muted);
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 1024px) {
  .page-home .footer-body {
    grid-template-columns: 220px minmax(0, 1fr) auto;
  }
  .page-home .footer-mark {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .page-home .footer-call {
    grid-column: 2;
    padding: 0;
    border-left: 0;
  }
}
@media (max-width: 700px) {
  .page-home .footer-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-home .footer-mark {
    grid-column: auto;
    grid-row: auto;
  }
  .page-home .footer-call {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }
  .page-home .footer-call dd { white-space: normal; }
  .page-home .footer-call .footer-call-number { text-decoration: underline; }
  .footer-mark img.wa {
    height: 56px;
  }
}

/* 2026 리뉴얼: GNB 서브메뉴 항목은 한 줄로 표기 (폭은 가장 긴 항목에 맞춤) */
@media (min-width: 1025px) {
  .page-home .gnb-submenu {
    width: auto;
    min-width: 224px;
  }
  .page-home .gnb-submenu a {
    white-space: nowrap;
  }
}


/* 메인 교육기관 찾기 카드 : 등록된 교육활동사진·합격자 소감문이 없을 때 */
.page-home .institution-activity.is-empty {
  display: flex;
  flex-direction: column;
}
.page-home .institution-activity-none {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 200px;
  margin: 0;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  color: var(--color-text-muted);
  background: var(--color-surface);
}

/* 2026 리뉴얼(로컬 추가): 상단 메뉴(GNB) 글자 크기를 서브 페이지와 같게.
   시안 서브 페이지 CSS(.page-preparation·.page-providers)는 18px × 큰글씨 배율(기본 19.8px)로 키우고 메인은 18px 이라
   화면마다 달라 보였다. 메인·모든 서브(레거시 .rn-scope 포함)에 같은 값을 쓴다 */
.page-home .main-nav .gnb-trigger {
  font-size: calc(18px * var(--content-font-scale, 1.1));
  line-height: 1.7;
}
/* 레거시 화면 CSS 의 자간(-0.32px)이 상단 메뉴로 번지지 않게 */
.page-home .main-nav :is(.gnb-trigger, .gnb-submenu a) {
  letter-spacing: normal;
}

/* 2026 리뉴얼(로컬 추가): 메인 공지사항 제목이 2줄 이상이 되면 한 줄로 줄이고 말줄임(…) 표시.
   전체 제목은 title 속성(마우스 올림)과 링크 이름으로 그대로 전달된다 */
.page-home .notice-list a > span:nth-child(2) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-wrap: normal;
}

/* C15 메인 배너 : 관리자가 연결 주소를 넣은 배너의 [자세히 보기], 1장일 때 넘김 패널 숨김 */
.page-home .hero .hero-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 11px 22px;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-surface);
  font-size: calc(16px * var(--content-font-scale, 1));
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.page-home .hero .hero-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.page-home .hero .hero-more:hover {
  filter: brightness(0.94);
}
.page-home .hero .hero-more:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}
.page-home .hero .hero-more[hidden],
.page-home .hero .hero-playback-panel[hidden] {
  display: none;
}
@media (max-width: 600px) {
  .page-home .hero .hero-more {
    margin-top: 16px;
    padding: 9px 18px;
    font-size: calc(15px * var(--content-font-scale, 1));
  }
}
@media (forced-colors: active) {
  .page-home .hero .hero-more {
    border: 1px solid LinkText;
  }
}


/* 메인 퀵메뉴 카드 정리 (2026-11-26)
   - 아이콘: 카드 세로 가운데
   - 세 카드의 제목 줄·설명 줄 시작선과 높이를 서로 맞춤 (subgrid), 카드 높이 동일 */
.page-home .quick .question {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  min-height: 0;
  height: auto;
  padding: 20px 20px 20px 24px;
}
.page-home .quick .question > div { display: contents; }
.page-home .quick .question-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; margin: 0; }
.page-home .quick .question h2 { grid-column: 2; grid-row: 1; align-self: start; margin: 0; word-break: keep-all; }
.page-home .quick .question p { grid-column: 2; grid-row: 2; align-self: start; margin: 0; word-break: keep-all; text-wrap: pretty; }
.page-home .quick .question .arrow {
  position: static;
  grid-column: 3; grid-row: 1 / 3;
  align-self: center;
  margin: 0; transform: none;
}
@media (min-width: 701px) {
  @supports (grid-template-rows: subgrid) {
    .page-home .quick { grid-template-rows: auto auto; row-gap: 6px; }
    .page-home .quick .question { grid-row: span 2; grid-template-rows: subgrid; row-gap: 6px; }
  }
}
@media (max-width: 700px) {
  .page-home .quick .question { padding: 16px 16px 16px 18px; column-gap: 12px; }
}
@media (min-width: 701px) and (max-width: 1399px) {
  .page-home .quick .question { padding: 20px 16px 20px 20px; column-gap: 10px; }
}
/* 퀵메뉴 바로가기 화살표: 연한 남색 테두리 원 */
.page-home .quick .question .arrow {
  box-sizing: border-box;
  width: 40px; height: 40px;
  padding: 10px;
  border: 1.5px solid #c3c8e0;
  border-radius: 50%;
  background: #fff;
  transition: border-color .15s, background-color .15s;
}
.page-home .quick .question:is(:hover, :focus-visible) .arrow { border-color: var(--color-primary); background: #eef0f8; }
@media (min-width: 701px) {
  .page-home .quick .question { column-gap: 14px; padding-right: 16px; }
  .page-home .quick .question .arrow { width: 36px; height: 36px; padding: 8px; }
}
@media (min-width: 701px) and (max-width: 1399px) {
  .page-home .quick .question { column-gap: 10px; padding: 20px 14px 20px 18px; }
  .page-home .quick .question .arrow { width: 32px; height: 32px; padding: 7px; }
}
/* 퀵메뉴 카드 두께감: 아래쪽 남색 계열 단(6px) + 은은한 그림자 */
.page-home .quick .question {
  border: 1px solid #dde1ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 0 #c9cfe4, 0 12px 22px rgb(34 40 80 / .09);
  transition: transform .15s, box-shadow .15s;
}
.page-home .quick .question:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #b6bdd8, 0 16px 26px rgb(34 40 80 / .12);
}
@media (prefers-reduced-motion: reduce) {
  .page-home .quick .question { transition: none; }
  .page-home .quick .question:is(:hover, :focus-visible) { transform: none; }
}
