:root {
  --vp-navy: #0f1c30;
  --vp-navy-2: #16283f;
  --vp-accent: #e7141a;
  --vp-gray-text: #6b7280;
  --vp-border: #e7e9ee;
  /* Bootstrap 컴포넌트(버튼/폼 등)가 참조하는 폰트 변수도 Pretendard로 통일 */
  --bs-font-sans-serif:
    "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
}

html,
body {
  /* .row.g-4/g-5(gutter 2~3rem)가 .container 바로 아래 쓰이면 음수 마진이
     container의 고정 패딩(0.75rem)보다 커져 뷰포트 밖으로 살짝 삐져나가
     모바일에서 가로 스크롤이 생긴다. row/gutter 마크업을 전부 건드리는 대신
     문서 루트에서 가로 오버플로만 잘라낸다. */
  overflow-x: hidden;
}
body {
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.05rem;
  color: #222;
}

/* ===== Scrollbar (footer 배경색과 동일하게) ===== */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--vp-navy) #f0f2f6;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f0f2f6;
}
::-webkit-scrollbar-thumb {
  background: var(--vp-navy);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--vp-navy-2);
}

a {
  text-decoration: none;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.3s ease;
}
.site-header.header-hidden {
  transform: translateY(-100%);
}
.site-header .container-fluid {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.site-header .utility-bar a {
  color: rgba(255, 255, 255, 0.7);
}
.site-header .utility-bar a:hover {
  color: #fff;
}
.navbar-brand {
  color: #fff !important;
  line-height: 1.1;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
}
.navbar-brand .brand-logo {
  height: 32px;
  width: auto;
  margin-right: 0.5rem;
}
.navbar-brand .brand-text {
  display: inline-block;
}
.navbar-brand .tagline {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem !important;
  font-size: 1.2rem;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #fff !important;
}
.navbar .dropdown-menu {
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 0.25rem;
}
.navbar .dropdown-toggle::after {
  display: none;
}
.navbar-toggler {
  border: none;
  padding-right: 0;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Desktop: submenu opens as a layer below the nav item on hover, not click */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    margin-top: 0;
  }
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* Home page: navbar sits on transparent hero from the start */
body.is-home .site-header {
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
}

/* Header is transparent only while at the very top of the page; once scrolled, it's solid white with dark text. */
@media (min-width: 992px) {
  .site-header.is-scrolled {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  .site-header.is-scrolled .utility-bar a {
    color: var(--section-title);
  }
  .site-header.is-scrolled .utility-bar a:hover {
    color: var(--vp-navy);
  }
  .site-header.is-scrolled .navbar-brand {
    color: var(--vp-navy) !important;
  }
  .site-header.is-scrolled .navbar-brand .tagline {
    color: var(--vp-gray-text);
  }
  .site-header.is-scrolled .navbar-nav .nav-link {
    color: var(--vp-navy) !important;
  }
  .site-header.is-scrolled .navbar-nav .nav-link.active,
  .site-header.is-scrolled .navbar-nav .nav-link:hover {
    color: var(--vp-accent) !important;
  }
}

/* ===== Home Hero (carousel) ===== */
.home-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.home-hero .carousel,
.home-hero .carousel-inner,
.home-hero .carousel-item {
  height: 100%;
}
.home-hero .carousel-item {
  overflow: hidden;
}
.home-hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1.18);
  will-change: transform;
}
.home-hero .carousel-item.active img {
  animation: heroZoomOut 5s ease-out forwards;
}
@keyframes heroZoomOut {
  from {
    transform: scale(1.18);
  }
  to {
    transform: scale(1);
  }
}
.home-hero .carousel-inner {
  cursor: grab;
  user-select: none;
}
.home-hero .carousel-inner.is-dragging {
  cursor: grabbing;
}
.home-hero .carousel-caption {
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  left: 8%;
  right: auto;
  max-width: 640px;
}
.home-hero .caption-eng {
  font-size: clamp(4.5rem, 6vw, 5.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
  line-height: 1;
}
.home-hero .caption-kor {
  font-size: 1.7rem;
  line-height: 1.7;
  font-weight: 500;
}

/* ===== Home sections ===== */
.section-pad {
  padding: 5.5rem 0;
}
.section-eyebrow {
  font-weight: 500;
  letter-spacing: 0;
  font-size: 3.7rem;
}
.section-title {
  font-weight: 400;
  font-size: 1.3rem;
  margin-top: 0.25rem;
}

.quick-card {
  border: 1px solid var(--vp-border);
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(15, 28, 48, 0.1);
}
.quick-card i {
  font-size: 2.2rem;
  color: var(--vp-accent);
}
.quick-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.8rem 0 1.5rem;
}
.quick-card p {
  color: var(--vp-gray-text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0;
}

/* ===== About hub (center logo + 4 orbiting nodes, connected by lines) =====
   Mobile-first: below 1200px it's a plain stacked list (the fixed-size radial
   layout doesn't fit smaller viewports). At 1200px+ it becomes the diagram:
   4 circular nodes anchored to the container edges, connector lines spanning
   from each edge to the center logo (the node's opaque background covers the
   inner half of its line, so only the "visible" segment reads as a connector). */
.about-hub {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hub-line,
.hub-center {
  display: none;
}
.hub-node {
  position: static;
  width: 100%;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--vp-border);
  box-shadow: 0 10px 30px rgba(15, 28, 48, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  color: #222;
  text-decoration: none;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.hub-node:hover {
  box-shadow: 0 16px 36px rgba(15, 28, 48, 0.14);
  border-color: var(--vp-accent);
  color: #222;
}
.hub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vp-accent);
  font-size: 2.2rem;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.hub-node:hover .hub-icon {
  color: var(--vp-navy);
}
.hub-node h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vp-navy);
  margin: 0 0 0.6rem;
}
.hub-node p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--vp-gray-text);
  margin: 0;
}

/* ===== About cards (Bootstrap grid card, .about-hub 대체) ===== */
.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--vp-border);
  border-radius: 0.75rem;
  background: #fff;
  color: #222;
  text-align: center;
  text-decoration: none;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.about-card:hover {
  box-shadow: 0 16px 36px rgba(15, 28, 48, 0.14);
  transform: translateY(-6px);
  color: #222;
}
.about-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(231, 20, 26, 0.1);
  flex-shrink: 0;
}
.about-card-icon i {
  font-size: 1.5rem;
  color: var(--vp-accent);
}
.about-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vp-navy);
  margin: 0 0 1rem;
}
.about-card-body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--vp-gray-text);
  margin: 0;
}

@media (min-width: 1200px) {
  .about-hub {
    position: relative;
    width: 100%;
    height: 830px;
    display: block;
  }
  .hub-line {
    display: block;
    position: absolute;
    background: var(--vp-border);
    z-index: 0;
  }
  .hub-line-top {
    top: 0;
    left: 50%;
    width: 2px;
    height: calc(50% - 55px);
    transform: translateX(-50%);
  }
  .hub-line-bottom {
    bottom: 0;
    left: 50%;
    width: 2px;
    height: calc(50% - 55px);
    transform: translateX(-50%);
  }
  .hub-line-left {
    top: 50%;
    left: 0;
    height: 2px;
    width: calc(50% - 55px);
    transform: translateY(-50%);
  }
  .hub-line-right {
    top: 50%;
    right: 0;
    height: 2px;
    width: calc(50% - 55px);
    transform: translateY(-50%);
  }
  .hub-center {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--vp-border);
    box-shadow: 0 8px 24px rgba(15, 28, 48, 0.12);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2;
  }
  .hub-center img {
    width: 76px;
    height: 46px;
  }
  .hub-node {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 0 2.75rem;
    z-index: 1;
  }
  .hub-node-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .hub-node-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .hub-node-left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
  .hub-node-right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
  .hub-node p {
    font-size: 0.82rem;
  }
}

/* ===== Marquee band (엘퓨전 fullwrap처럼 컨테이너 폭 제한 없이 화면 전체 폭으로 흐르는 텍스트) ===== */
.marquee-band {
  background: var(--vp-navy);
  overflow: hidden;
  padding: 2.5rem 0;
}
.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee-scroll 36s linear infinite;
}
.marquee-track span {
  white-space: nowrap;
  padding: 0 1.5rem;
  font-size: 5.2rem;
  font-weight: 800;
  color: rgba(185, 185, 185, 0.1);
  letter-spacing: 0.02em;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.marquee-track {
  animation-duration: 72s;
}

.business-band {
  background: var(--vp-navy);
  color: #fff;
  padding-bottom: 0;
}
/* 엘퓨전(lfusion2) 메인 제품소개 섹션과 동일한 호버 아코디언 패턴:
   하나만 hover/active 상태일 때 flex-grow가 커지며 나머지는 좁아진다. */
.business-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.business-item {
  position: relative;
  flex: 1 1 0;
  min-width: 60px;
  height: 420px;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: flex 0.6s ease;
}
.business-item.active,
.business-item:hover {
  flex: 2.4 1 0;
}
.business-item a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
}
.business-item .img_wrap {
  position: absolute;
  inset: 0;
}
.business-item .img_wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 35, 0.15),
    rgba(10, 20, 35, 0.85)
  );
}
.business-item .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business-item .text {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.business-item .text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
  white-space: nowrap;
  transition: font-size 0.4s ease;
}
.business-item .text p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  margin: 0;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    margin 0.4s ease,
    max-height 0.4s ease;
}
.business-item .more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #e7141a;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.business-item.active .text h4,
.business-item:hover .text h4 {
  font-size: 1.35rem;
  white-space: normal;
}
.business-item.active .text p,
.business-item:hover .text p {
  opacity: 1;
  visibility: visible;
  max-height: 100px;
  margin: 0.75rem 0;
}
.business-item.active .more,
.business-item:hover .more {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  .business-accordion {
    flex-direction: column;
  }
  .business-item,
  .business-item.active,
  .business-item:hover {
    flex: none;
    height: auto;
  }
  .business-item .text h4 {
    font-size: 1.35rem;
    white-space: normal;
  }
  /* 모바일은 hover가 없으므로 모든 항목의 설명을 항상 노출 */
  .business-item .text p,
  .business-item .more {
    opacity: 1;
    visibility: visible;
    max-height: none;
    margin: 0.75rem 0;
  }
}

.contact-card {
  background: #f5f7fb;
  border-radius: 0.5rem;
  padding: 2rem;
  height: 100%;
}
.contact-card dt {
  font-weight: 700;
  color: var(--vp-navy);
}
.contact-card dd {
  color: var(--vp-gray-text);
  margin-bottom: 1rem;
}

/* ===== Company overview spec list (table 대체) ===== */
.overview-list {
  border-top: 2px solid var(--vp-navy);
  margin: 0;
}
.overview-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.5rem 2rem;
  padding: 1.5rem 0.25rem;
  border-bottom: 1px solid var(--vp-border);
}
.overview-row dt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--vp-navy);
}
.overview-row dt i {
  color: var(--vp-accent);
  font-size: 1.05rem;
}
.overview-row dd {
  margin: 0;
  color: #333;
  line-height: 1.8;
}
.overview-tag {
  display: inline-block;
  background: #f5f7fb;
  color: var(--vp-navy);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0.2rem 0.5rem 0.2rem 0;
}
@media (max-width: 767px) {
  .overview-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1.25rem 0.25rem;
  }
  .overview-row dt {
    color: var(--vp-gray-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}

.cta-band {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 25, 0.55),
    rgba(10, 15, 25, 0.8)
  );
}
.cta-band .container {
  position: relative;
  z-index: 1;
}
.cta-eyebrow {
  font-size: 2.4rem;
  font-weight: 800;
  /* color: var(--vp-accent); */
  margin-bottom: 1rem;
}
.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(20, 25, 35, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 700;
  padding: 0.4rem 1.75rem 0.4rem 0.4rem;
  border-radius: 50px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.cta-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.cta-btn-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--vp-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
@media (max-width: 767px) {
  .cta-band {
    min-height: 360px;
  }
  .cta-eyebrow {
    font-size: 1.7rem;
  }
  .sub-tab .nav-link {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
}

/* ===== Sub page hero ===== */
.page-hero {
  margin-top: 0;
  padding: 11rem 0 3.5rem;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero .hero-eng {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.page-hero .hero-kor {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.sub-tab-bar {
  background: var(--vp-navy-2);
}
.sub-tab {
  max-width: 1140px;
  margin: 0 auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sub-tab .nav-item {
  flex: 0 0 auto;
}
.sub-tab .nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  padding: 1rem 1.75rem;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
}
.sub-tab .nav-link.active {
  background: #fff;
  color: var(--vp-navy);
}

/* ===== Generic content ===== */
.content-wrap {
  padding: 4.5rem 0;
}
.content-title {
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 5rem;
}
@media (max-width: 767px) {
  .content-title {
    font-size: 2rem;
  }
}
.page-lead {
  font-size: 0.95rem;
}

.leader-block p {
  color: #444;
  line-height: 1.9;
  margin-bottom: 1.1rem;
}
.leader-sign {
  text-align: right;
  font-weight: 700;
  margin-top: 2rem;
}

.gallery-grid img {
  border-radius: 0.25rem;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.gallery-grid figcaption {
  font-size: 0.85rem;
  color: var(--vp-gray-text);
  margin-top: 0.5rem;
}

.webzine-item + .webzine-item {
  border-top: 1px solid var(--vp-border);
  margin-top: 2.5rem;
  padding-top: 2.5rem;
}
.webzine-item img {
  border-radius: 0.25rem;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.webzine-item h5 {
  font-weight: 700;
}
.webzine-item p {
  color: var(--vp-gray-text);
}

.business-detail + .business-detail {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--vp-border);
}
.business-detail img {
  border-radius: 0.5rem;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.business-detail .eng {
  color: var(--vp-gray-text);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.business-detail h3 {
  font-weight: 800;
  font-size: 1.5rem;
}
.business-detail p {
  color: #444;
  line-height: 1.85;
}

.business-quote {
  background: var(--vp-navy);
  color: #fff;
  border-radius: 0.5rem;
  padding: 2.5rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.business-highlight {
  background: #f5f7fb;
  border: 1px solid var(--vp-border);
  border-radius: 0.5rem;
  padding: 2rem 2.5rem;
}
.business-highlight h4 {
  color: var(--vp-navy);
}
.business-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.business-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: #444;
}
.business-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--vp-accent);
  font-weight: 700;
}

.table-notice {
  border-top: 2px solid #222;
}
.table-notice thead {
  --bs-table-bg: #f5f7fb;
}
.table-notice th {
  font-weight: 400;
  color: var(--vp-navy);
  text-align: center;
}
.table-notice td,
.table-notice th {
  vertical-align: middle;
  padding: 1.1rem 1rem;
}
.table-notice tbody tr {
  cursor: pointer;
}
.table-notice tbody tr:hover {
  background: #f9fafc;
}

.pagination .page-link {
  border: none;
  color: #333;
  font-weight: 500;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.15rem;
  padding: 0;
}
.pagination .page-item.active .page-link {
  background: var(--vp-navy);
  color: #fff;
}
.pagination .page-item.disabled .page-link {
  color: #ccc;
  background: transparent;
}
.pagination .page-link:hover {
  background: #f0f2f6;
  color: var(--vp-navy);
}
.pagination .page-item.active .page-link:hover {
  background: var(--vp-navy);
  color: #fff;
}

/* ===== Notice detail view ===== */
.notice-view-title {
  font-size: 1.9rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.9rem;
}
.notice-view-meta {
  color: var(--vp-gray-text);
  font-size: 0.9rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid #222;
}
.notice-view-body {
  min-height: 220px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 3rem;
}
.notice-nav {
  border-top: 1px solid var(--vp-border);
}
.notice-nav-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--vp-border);
}
.notice-nav-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 90px;
  flex-shrink: 0;
  color: var(--vp-gray-text);
  font-weight: 600;
}
.notice-nav-link {
  color: #333;
  text-decoration: none;
}
.notice-nav-link:hover {
  color: var(--vp-accent);
}
.notice-nav-empty {
  color: #bbb;
}
.btn-list {
  display: inline-block;
  background: #eef0f3;
  color: #666;
  border-radius: 0.4rem;
  padding: 0.65rem 2.5rem;
  font-weight: 500;
  border: none;
  text-decoration: none;
}
.btn-list:hover {
  background: #e2e5ea;
  color: #333;
}

.privacy-policy-body {
  font-size: 0.9rem;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: 0.5rem;
}

/* ===== Forms ===== */
.form-control {
  border-color: #c3c8ce;
}
.form-control::placeholder {
  color: rgba(33, 37, 41, 0.35);
  opacity: 1;
}
/* 실시간 유효성 검증: 통과 시 초록 대신 파란색으로 표시 */
.form-control.is-valid {
  border-color: #0d6efd;
  background-image: none;
  padding-right: 0.75rem;
}
.form-control.is-valid:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.valid-feedback {
  color: #0d6efd;
}
.btn-accent {
  background-color: var(--vp-accent);
  border-color: var(--vp-accent);
  color: #fff;
}
.btn-accent:hover,
.btn-accent:focus,
.btn-accent:active {
  background-color: #c4111a;
  border-color: #c4111a;
  color: #fff;
}
.auth-links {
  font-size: 0.9rem;
  color: var(--vp-gray-text);
}
.auth-links a {
  color: var(--vp-gray-text);
}
.auth-links a:hover {
  color: var(--vp-navy);
}
.auth-links-divider {
  margin: 0 0.6rem;
  color: var(--vp-border);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--vp-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 2.5rem;
  font-size: 0.875rem;
}
.site-footer .footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 0;
  margin: 0 0 1.25rem;
}
@media (min-width: 992px) {
  .site-footer .footer-nav {
    justify-content: flex-end;
    margin: 0;
  }
}
.site-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}
.site-footer .footer-nav a:hover {
  color: #fff;
}
.footer-privacy-link {
  color: rgba(255, 255, 255, 0.6);
}
.footer-privacy-link:hover {
  color: rgba(255, 255, 255, 0.6);
}
.footer-top {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
  .site-header {
    background: var(--vp-navy);
  }
  .site-header .utility-bar {
    font-size: 0.75rem;
  }
  .navbar-collapse {
    background: var(--vp-navy);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
  }
  .navbar .dropdown-menu {
    background-color: var(--vp-navy);
    box-shadow: none;
  }
  .navbar .dropdown-item {
    padding-left: 30px;
    color: rgba(255, 255, 255, 0.75);
  }
  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
  }
  .home-hero .carousel-caption {
    left: 6%;
    right: 6%;
  }
}
