:root {
  --color-ink: #17202c;
  --color-muted: #687385;
  --color-line: #d9e0e8;
  --color-soft: #f4f7fa;
  --color-navy: #0f2f57;
  --color-blue: #1d6fb8;
  --color-teal: #1f8a8a;
  --color-white: #fff;
  --shadow: 0 18px 45px rgba(15, 47, 87, 0.13);
  --wrap: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--color-white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-soft);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame.contain img {
  object-fit: contain;
}

.media-caption {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
}

.image-pending {
  padding: 22px;
  border: 1px dashed #b6c4d4;
  border-radius: 8px;
  color: var(--color-muted);
  background: #f8fafc;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: #000;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(217, 224, 232, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(var(--wrap), calc(100% - 48px));
  max-width: none;
  height: 84px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.site-logo {
  margin: 0;
  flex: 0 0 auto;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  color: var(--color-navy);
}

.site-logo img {
  display: block;
  width: 240px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}
.nav-layer {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 0 14px;
  font-weight: 700;
  color: #243244;
}

.nav-item.is-active > a,
.nav-item > a:hover {
  color: var(--color-blue);
}

.nav-sub {
  position: absolute;
  left: 50%;
  top: 68px;
  min-width: 160px;
  padding: 10px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: 0.18s ease;
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  top: 74px;
  opacity: 1;
  pointer-events: auto;
}

.nav-sub a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #314155;
  font-size: 14px;
  white-space: nowrap;
}

.nav-sub a:hover {
  color: var(--color-blue);
  background: var(--color-soft);
}

.member-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-muted);
}

.member-links a {
  padding: 7px 9px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
}

.member-links .admin-link {
  color: #fff;
  border-color: var(--color-navy);
  background: var(--color-navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-navy);
}

.nav-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-main {
  min-height: 60vh;
}

.section {
  padding: 86px 24px;
}

.section.alt {
  background: var(--color-soft);
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading.compact {
  align-items: center;
  margin-bottom: 18px;
}

.section-heading p {
  margin: 0;
  color: var(--color-blue);
  font-weight: 800;
}

.section-heading h2 {
  margin: 7px 0 0;
  font-size: 34px;
  line-height: 1.24;
  letter-spacing: 0;
}

.section-heading .lead {
  max-width: 560px;
  margin: 0;
  color: var(--color-muted);
}

.section-heading a,
.text-link {
  color: var(--color-blue);
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--color-navy);
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  background: var(--color-navy);
}

.btn.secondary {
  color: var(--color-navy);
  background: #fff;
}

.site-footer {
  color: #dce6f0;
  background: #101b29;
}

.footer-inner {
  width: min(var(--wrap), calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 48px 0 34px;
}

.footer-inner-wide {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.footer-brand p {
  margin: 16px 0 0;
  color: #d8e4ef;
  line-height: 1.75;
  font-size: 16px;
}

.footer-note {
  margin-top: 20px !important;
  color: #91a7bc !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer-logo-panel {
  padding: 11px 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.footer-logo img {
  display: block;
  width: 218px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(420px, .9fr);
  gap: 48px;
}

.footer-section {
  min-width: 0;
}

.footer-section h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.footer-data-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.footer-data-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.footer-data-list.compact div {
  grid-template-columns: 76px minmax(0, 1fr);
}

.footer-data-list dt {
  color: #8eadca;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.footer-data-list dd {
  min-width: 0;
  margin: 0;
  color: #e5eef6;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.footer-service-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-service-list li {
  position: relative;
  padding-left: 13px;
  color: #d4e1ec;
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
}

.footer-service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #58b8ff;
}


.footer-visit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-visit-head h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.footer-visit-head p {
  margin: 0;
  color: #91a7bc;
  font-size: 14px;
  line-height: 1.65;
}

.footer-visit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-visit-list li {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-visit-list span {
  display: block;
  margin-bottom: 7px;
  color: #8eadca;
  font-size: 13px;
  font-weight: 800;
}

.footer-visit-list strong {
  display: block;
  color: #e5eef6;
  font-size: 15px;
  line-height: 1.55;
  word-break: keep-all;
}
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.footer-copy {
  max-width: 520px;
  margin: 0;
  color: #95aabd;
  font-size: 13px;
  line-height: 1.65;
  text-align: right;
}

@media (max-width: 1180px) {
  .footer-inner-wide {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-section-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-inner {
    width: min(100% - 32px, var(--wrap));
    padding: 34px 0 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-data-list div,
  .footer-data-list.compact div {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  
.footer-visit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-visit-head h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.footer-visit-head p {
  margin: 0;
  color: #91a7bc;
  font-size: 14px;
  line-height: 1.65;
}

.footer-visit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-visit-list li {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-visit-list span {
  display: block;
  margin-bottom: 7px;
  color: #8eadca;
  font-size: 13px;
  font-weight: 800;
}

.footer-visit-list strong {
  display: block;
  color: #e5eef6;
  font-size: 15px;
  line-height: 1.55;
  word-break: keep-all;
}
.footer-bottom {
    display: block;
  }

  .footer-copy {
    max-width: none;
    margin-top: 16px;
    text-align: left;
  }

  .footer-logo img {
    width: 190px;
    max-height: 40px;
  }
}
.site-popup {
  position: fixed;
  z-index: 200;
  width: calc(100% - 32px);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-popup-head,
.site-popup-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--color-soft);
}

.site-popup-body {
  max-height: 360px;
  overflow: auto;
  padding: 16px;
}

.popup-close,
.popup-today-close {
  border: 0;
  background: transparent;
  color: var(--color-navy);
  font-weight: 800;
  cursor: pointer;
}

.empty-text {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  color: var(--color-muted);
  background: #fff;
}

