.main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}
/* ============================================
   위젯 영역
   ============================================ */
.widget {
  background: var(--color-card-box);
  padding: var(--spacing-xl);
  border: 1px solid var(--color-soft-gray-line);
  transition: all var(--transition-slow);
  position: relative;
  min-height: 300px;
  overflow: hidden;
  z-index: 2;
}

.widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-soft-gray-line);
  transition: all var(--transition-slow);
}

.widget:hover {
  border-color: var(--color-muted-blue);
}

.widget--today::before {
  background: linear-gradient(90deg, var(--color-muted-blue) 0%, var(--color-deep-blue) 100%);
}

.widget h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--color-soft-gray-line);
  color: var(--color-text-primary);
  letter-spacing: 0.5px;
}

.widget--today h2 {
  border-bottom-color: var(--color-deep-blue);
  color: var(--color-deep-blue);
}

/* 날씨 위젯 */
.weather-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.weather-temp {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-muted-blue) 0%, var(--color-deep-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.weather-desc {
  font-size: 18px;
  color: var(--color-deep-blue);
  font-weight: 600;
}

.weather-detail {
  font-size: 14px;
  color: var(--color-text-secondary);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-soft-gray-line);
}

.weather-detail > div {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.weather-loading,
.weather-error {
  color: var(--color-text-secondary);
  font-size: 14px;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.weather-error {
  color: #EF4444;
}

.loading,
.error {
  color: var(--color-text-secondary);
  font-size: 14px;
  text-align: center;
  padding: var(--spacing-2xl) 0;
}

.error {
  color: #EF4444;
}

/* 날씨 도시 선택 칩 */
.weather-city-chips {
  margin-top: var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.weather-city-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-soft-gray-line);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.weather-city-chip:hover {
  border-color: var(--color-muted-blue);
  color: var(--color-deep-blue);
  background: #fff;
}

.weather-city-chip--active {
  background: linear-gradient(
    135deg,
    var(--color-muted-blue),
    var(--color-deep-blue)
  );
  color: #fff;
  border-color: transparent;
}

/* 날씨 애니메이션 배경 (inner1) */
.weather-visual {
  position: relative;
  overflow: hidden;
}

.weather-visual::before,
.weather-visual::after {
  pointer-events: none;
}

/* 날씨 애니메이션 SVG 컨테이너 */
.weather-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}

.weather-visual .weather-animation {
  opacity: 1;
}

.weather-cloud {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 100px;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.weather-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  overflow: hidden;
}

.weather-lightning {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
}

/* 구름 열림/닫힘 애니메이션 */
.cloud-open-left,
.cloud-open-right {
  transition: stroke-dashoffset 1s ease-in-out;
}

.weather-visual--rain .cloud-open-left,
.weather-visual--rain .cloud-open-right {
  stroke-dashoffset: 0;
}

.weather-visual--rain .cloud-path {
  fill: rgba(100, 120, 140, 0.2);
  stroke: rgba(100, 120, 140, 0.4);
  transition: all 0.8s ease-in-out;
}

.weather-visual--rain .weather-cloud {
  opacity: 1;
}

/* 비 떨어지는 애니메이션 */
.weather-visual--rain .weather-rain {
  opacity: 1;
}

.rain-line {
  stroke-dasharray: 20, 30;
  animation: rain-drop 0.8s linear infinite;
}

.rain-line-1 { animation-delay: 0s; }
.rain-line-2 { animation-delay: 0.1s; }
.rain-line-3 { animation-delay: 0.2s; }
.rain-line-4 { animation-delay: 0.3s; }
.rain-line-5 { animation-delay: 0.15s; }
.rain-line-6 { animation-delay: 0.25s; }
.rain-line-7 { animation-delay: 0.35s; }

@keyframes rain-drop {
  0% {
    transform: translateY(-100%);
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0.6;
  }
}

/* 번개 효과 */
.weather-visual--rain.weather-lightning-active .weather-lightning {
  animation: lightning-flash 0.3s ease-out;
}

@keyframes lightning-flash {
  0%, 100% {
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  20% {
    opacity: 0.2;
  }
  30% {
    opacity: 0.8;
  }
  40% {
    opacity: 0;
  }
}

/* 맑음: 떠다니는 해 */
.weather-visual.weather-visual--sunny::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe066 0, #ffb400 60%, #ff9800 100%);
  box-shadow: 0 0 40px rgba(255, 193, 7, 0.7);
  animation: sunny-move 6s ease-in-out infinite alternate;
}

@keyframes sunny-move {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(20px) translateX(-10px);
  }
}

/* 비: SVG 기반 애니메이션 (레퍼런스 기반 개선) */
.weather-visual.weather-visual--rain::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(100, 120, 140, 0.05) 0%,
    rgba(100, 120, 140, 0.1) 100%);
  opacity: 0.6;
  transition: all 0.8s ease-in-out;
}

/* 눈: 여러 크기의 눈송이가 천천히 떨어짐 */
.weather-visual.weather-visual--snow::before {
  content: '';
  position: absolute;
  inset: -30px;
  background-image: 
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.9) 2px, transparent 4px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.8) 3px, transparent 6px),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.85) 2.5px, transparent 5px),
    radial-gradient(circle at 35% 0%, rgba(255, 255, 255, 0.75) 4px, transparent 8px),
    radial-gradient(circle at 65% 0%, rgba(255, 255, 255, 0.7) 2.5px, transparent 5px);
  background-size: 100% 120px, 100% 150px, 100% 100px, 100% 180px, 100% 130px;
  background-position: 0 0, 15px 0, 30px 0, 45px 0, 60px 0;
  animation: snow-fall 8s linear infinite;
  opacity: 0.95;
}

@keyframes snow-fall {
  0% {
    background-position-y: 0, 0, 0, 0, 0;
    opacity: 0.9;
  }
  100% {
    background-position-y: 120px, 150px, 100px, 180px, 130px;
    opacity: 1;
  }
}

/* 흐림: 부드러운 구름 레이어 (더 자연스럽게) */
.weather-visual.weather-visual--cloudy::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -30%;
  width: 160%;
  height: 80%;
  background: 
    radial-gradient(ellipse 120% 60% at 15% 20%, rgba(255, 255, 255, 0.85) 0%, rgba(240, 245, 250, 0.7) 30%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 70% 40%, rgba(235, 240, 245, 0.75) 0%, rgba(220, 230, 240, 0.6) 35%, transparent 65%),
    radial-gradient(ellipse 90% 45% at 40% 60%, rgba(230, 235, 242, 0.7) 0%, rgba(210, 220, 235, 0.5) 40%, transparent 70%);
  animation: clouds-move 20s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes clouds-move {
  from {
    transform: translateX(0) translateY(0);
  }
  to {
    transform: translateX(-30px) translateY(10px);
  }
}

/* 바람: 가로로 스치는 바람 줄기 (더 역동적으로) */
.weather-visual.weather-visual--wind::before {
  content: '';
  position: absolute;
  left: -50%;
  top: 15%;
  width: 200%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(146, 184, 216, 0.5) 20%,
    rgba(47, 92, 156, 0.8) 50%,
    rgba(146, 184, 216, 0.5) 80%,
    transparent 100%
  );
  border-radius: 999px;
  filter: blur(1px);
  animation: wind-move 2.5s linear infinite;
}

.weather-visual.weather-visual--wind::after {
  content: '';
  position: absolute;
  left: -60%;
  top: 35%;
  width: 220%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(146, 184, 216, 0.4) 25%,
    rgba(47, 92, 156, 0.7) 55%,
    rgba(146, 184, 216, 0.4) 85%,
    transparent 100%
  );
  border-radius: 999px;
  filter: blur(1.5px);
  animation: wind-move 3s linear infinite;
}

@keyframes wind-move {
  from {
    transform: translateX(0);
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  to {
    transform: translateX(150px);
    opacity: 0.6;
  }
}
/* 모바일 (768px 이하) */
@media (max-width: 768px) {

    /* 메인 컨텐츠 */
    .main {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .widget {
        min-height: auto;
        padding: var(--spacing-lg);
    }

    .widget h2 {
        font-size: 20px;
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-sm);
    }

   
}

/* 태블릿 (769px ~ 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
     .main {
    padding: 0 var(--spacing-xl);
  }


}


/* ============================================
   템플릿 스타일 (메인 페이지 전용)
   ============================================ */

/* =========================== 메인 배너 (Swiper) */
.template-main-banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin-bottom: var(--spacing-2xl);
}

/* PC 화면에서 헤더와 같은 너비로 맞춤 */
@media (min-width: 1025px) {
  .template-main-banner {
    margin: 0 calc(-1 * var(--spacing-lg)) var(--spacing-2xl);
    width: calc(100% + 2 * var(--spacing-lg));
  }
}

.template-main-banner .swiper-slide {
  height: 600px;
  background: linear-gradient(135deg, var(--color-muted-blue) 0%, var(--color-deep-green) 100%);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.template-main-banner .banner-txt-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  padding-top: 200px;
  text-align: center;
}

.template-main-banner .banner-txt-box .move-txt01 {
  margin-top: -25px;
  font-size: 64px;
  color: #fff;
  font-weight: 100;
  letter-spacing: -0.2px;
  opacity: 0;
}

.template-main-banner .banner-txt-box .move-txt01 b {
  font-weight: 700;
}

.template-main-banner .banner-txt-box .move-txt02 {
  white-space: pre-line;
  margin: 30px 0 42px;
  font-size: 15px;
  line-height: 23px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  letter-spacing: -0.1px;
  opacity: 0;
}

.template-main-banner .swiper-pager {
  opacity: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.template-main-banner .swiper-pager span {
  opacity: 1;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.template-main-banner .swiper-pager span.on {
  background-color: rgba(255, 255, 255, 0.7);
}

.template-main-banner .scroll {
  display: inline-block;
  position: relative;
  top: 100px;
  color: #fff;
  opacity: 0;
  font-size: 13px;
  font-weight: 300;
}

/* =========================== 섹션 01: 이미지 + 텍스트 */
.template-section-01 {
  position: relative;
  height: 528px;
  margin: var(--spacing-2xl) auto 0;
  max-width: 1200px;
  letter-spacing: -0.3px;
}

.template-section-01::after {
  display: block;
  content: "";
  clear: both;
}

.template-section-01 .inner1 {
  position: absolute;
  left: 0;
  width: 42%;
  height: 528px;
  background: linear-gradient(135deg, var(--color-muted-blue) 0%, var(--color-deep-blue) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--spacing-xl);
  padding-left: var(--spacing-2xl);
  box-sizing: border-box;
}

.template-section-01 .inner1 .widget {
  width: 100%;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: var(--spacing-lg);
  min-height: 240px;
  margin: 0;
}

.template-section-01 .inner1 .widget h2 {
  color: var(--color-deep-blue);
  border-bottom-color: var(--color-deep-blue);
  font-size: 20px;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
}

.template-section-01 .inner2 {
  position: absolute;
  top: 99px;
  right: 0;
  width: 60%;
  height: 430px;
  padding: 77px 0 0 72px;
  border-top-left-radius: 50px;
  background: linear-gradient(135deg, #EAF3FF 0%, #FFFFFF 100%); /* 연한 파란색에서 흰색으로 그라데이션 */
  border: 1px solid rgba(146, 184, 216, 0.3); /* 프로젝트 블루 색상 테두리 */
  box-shadow: 0 2px 8px rgba(146, 184, 216, 0.08); /* 은은한 파란색 그림자 */
}

.template-section-01 .inner2 .tit {
  padding-bottom: 42px;
  color: var(--color-text-primary);
  font-size: 48px;
  line-height: 58px;
  font-weight: 200;
}

.template-section-01 .inner2 .tit b {
  font-weight: 700;
  color: var(--color-deep-blue);
}

.template-section-01 .inner2 .txt {
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text-secondary);
}

.template-section-01 .inner2 .more {
  width: 86px;
  padding-top: 37px;
  margin-left: -10px;
}

.template-section-01 .inner2 .more a {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
}

.template-section-01 .inner2 .more::after {
  display: block;
  content: "";
  width: 86px;
  height: 4px;
  margin: 8px auto 0;
  background: var(--color-soft-gray-line);
  transition: all 0.4s;
}

.template-section-01 .inner2 .more:hover::after {
  background: var(--color-deep-blue);
}

.template-section-01 .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  width: 157px;
  height: 157px;
  text-align: center;
  line-height: 1;
  font-weight: 700;
  font-size: 18px;
  background: linear-gradient(360deg, var(--color-deep-blue) 40%, var(--color-muted-blue) 100%);
  color: #fff;
  background-size: 200% 200%;
  transition: all 0.4s;
  border-radius: 50%;
  text-decoration: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.template-section-01 .btn:hover {
  background-position: 0% 100%;
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* =========================== 섹션 02: 아이콘 카드 (4개) */
.template-section-02 {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 320px;
  margin: var(--spacing-2xl) auto;
  text-align: center;
}

.template-section-02 ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
}

.template-section-02 ul li {
  flex: 1;
  height: 100%;
}

.template-section-02 ul li a {
  display: block;
  height: 100%;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 20px;
  transition: all 0.3s;
}

.template-section-02 ul li:hover a span {
  background: linear-gradient(360deg, var(--color-deep-blue) 40%, var(--color-muted-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.template-section-02 ul li a span {
  display: block;
  padding-bottom: 10px;
  line-height: 45px;
  transition: all 0.3s;
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--color-text-primary);
}

.template-section-02 ul li a .icon {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  transition: all 0.3s;
  margin-bottom: 20px;
}

/* =========================== 섹션 03: 공지/뉴스 리스트 */
.template-section-03 {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  height: 420px;
  margin: var(--spacing-2xl) auto;
  box-shadow: 6px 11px 31px -9px rgba(0, 0, 0, 0.1), -39px 109px 124px -141px rgba(0, 0, 0, 0.1);
  background: var(--color-card-box);
  display: flex;
  border-radius: 8px;
}

.template-section-03 > div {
  flex: 1;
  height: 100%;
  padding: 56px 52px 21px 45px;
}

.template-section-03 .tit {
  display: block;
  position: relative;
  padding-bottom: 18px;
  font-size: 23px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.template-section-03 .tit span {
  display: block;
  float: right;
  width: 35px;
  height: 35px;
  border: 1px solid var(--color-soft-gray-line);
  background: var(--color-background);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-text-secondary);
}

.template-section-03 .tit::before {
  display: block;
  content: '';
  position: absolute;
  top: 8px;
  left: 101px;
  width: 2px;
  height: 12px;
  background: var(--color-soft-gray-line);
}


.template-section-03 > div ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.template-section-03 > div ul li {
  height: 137px;
  padding: 17px 26px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.template-section-03 > div ul li:nth-child(2) {
  padding-top: 36px;
}

.template-section-03 > div ul li a.notice-link {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.template-section-03 > div ul li a.notice-link:hover {
  opacity: 0.8;
}

.template-section-03 > div ul .date-box {
  float: left;
  width: 76px;
  height: 76px;
  padding-top: 16px;
  border: 1px solid var(--color-soft-gray-line);
  text-align: center;
  background: var(--color-text-primary);
  color: #fff;
  border-radius: 4px;
  flex-shrink: 0;
}

.template-section-03 > div ul .date-box .day {
  font-size: 17px;
  font-weight: 700;
  display: block;
}

.template-section-03 > div ul .date-box .day-02 {
  font-size: 13px;
  line-height: 24px;
  opacity: 0.77;
  display: block;
}

.template-section-03 > div ul .txt-wrap {
  flex: 1;
  padding: 5px 0 0 0;
}

.template-section-03 > div ul .notice-title {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 14px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.template-section-03 > div ul .notice-contents {
  line-height: 24px;
  font-size: 14px;
  color: var(--color-text-secondary);
  opacity: 0.8;
}

.template-section-03 .index01 ul li:nth-child(1) {
  border-bottom: 1px solid var(--color-soft-gray-line);
  padding-bottom: 20px;
}

.template-section-03 .index02 {
  background: var(--color-text-primary);
}

.template-section-03 .index02 .tit {
  color: #fff;
}

.template-section-03 .index02 .tit span {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.template-section-03 .index02 .tit::before {
  background: rgba(255, 255, 255, 0.3);
}

.template-section-03 .index02 ul li:nth-child(1) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.template-section-03 .index02 ul .date-box {
  border: 4px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.template-section-03 .index02 ul .date-box .day-02 {
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.77;
}

.template-section-03 .index02 ul .notice-title {
  color: #fff;
}

.template-section-03 .index02 ul .notice-contents {
  color: #fff;
  opacity: 0.7;
}

/* =========================== 랜덤 시설 위젯 */
.template-section-facilities {
  width: 100%;
  max-width: 1200px;
  margin: var(--spacing-2xl) auto;
  padding: 0 var(--spacing-lg);
  box-sizing: border-box;
}

.facilities-container {
  width: 100%;
}

.facilities-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--color-soft-gray-line);
}

.facilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.template-section-facilities .facility-item {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-soft-gray-line);
  transition: all 0.3s ease;
}

.template-section-facilities .facility-item:last-child {
  border-bottom: none;
}

.template-section-facilities .facility-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
  padding-left: var(--spacing-md);
}

.template-section-facilities .facility-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.template-section-facilities .facility-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  min-width: 150px;
  flex-shrink: 0;
}

.template-section-facilities .facility-address {
  font-size: 14px;
  color: var(--color-text-secondary);
  flex: 1;
}

.template-section-facilities .facility-description {
  font-size: 14px;
  color: var(--color-text-secondary);
  opacity: 0.8;
  flex-shrink: 0;
  margin-left: auto;
}

.template-section-facilities .facility-item.loading {
  color: var(--color-text-secondary);
  font-size: 14px;
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.template-section-facilities .facility-item.error {
  color: #EF4444;
  font-size: 14px;
  padding: var(--spacing-lg) 0;
  text-align: center;
}

/* 템플릿 스타일 반응형 디자인 */
@media (max-width: 1024px) {
  .template-section-01 {
    height: auto;
    padding: 40px var(--spacing-lg);
    max-width: 100%;
  }
  
  .template-section-01 .inner1,
  .template-section-01 .inner2 {
    position: static;
    width: 100%;
    height: auto;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 20px;
  }
  
  .template-section-01 .inner1 .widget {
    max-width: 100%;
    min-height: 200px;
    padding: var(--spacing-md);
  }
  
  .template-section-01 .btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    line-height: 120px;
    transform: none;
  }
  
  .template-section-01 .btn:hover {
    transform: scale(1.05);
  }
  
  .template-section-02 {
    height: auto;
    padding: 0 var(--spacing-lg);
  }
  
  .template-section-02 ul {
    flex-wrap: wrap;
  }
  
  .template-section-02 ul li {
    width: 50%;
    margin-bottom: 30px;
  }
  
  .template-section-03 {
    flex-direction: column;
    height: auto;
    margin: 0 var(--spacing-lg);
    max-width: calc(100% - 2 * var(--spacing-lg));
  }
  
  .template-section-03 > div {
    width: 100%;
    padding: 40px 30px;
  }
  
  .template-section-facilities .facility-link {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }
  
  .template-section-facilities .facility-name {
    min-width: auto;
    width: 100%;
  }
  
  .template-section-facilities .facility-address {
    width: 100%;
  }
  
  .template-section-facilities .facility-description {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .template-main-banner {
    height: 400px;
    margin: 0 calc(-1 * var(--spacing-md)) var(--spacing-xl);
    width: calc(100% + 2 * var(--spacing-md));
    max-width: 100vw;
  }
  
  .template-main-banner .swiper-slide {
    height: 400px;
  }
  
  .template-main-banner .banner-txt-box {
    padding-top: 120px;
  }
  
  .template-main-banner .banner-txt-box .move-txt01 {
    font-size: 36px;
  }
  
  .template-main-banner .banner-txt-box .move-txt02 {
    font-size: 14px;
  }
  
  .template-section-01 {
    padding: 40px var(--spacing-md);
    margin-top: var(--spacing-xl);
  }
  
  .template-section-01 .inner1,
  .template-section-01 .inner2 {
    padding: 30px;
  }
  
  .template-section-01 .inner1 .widget {
    max-width: 100%;
    min-height: 180px;
    padding: var(--spacing-md);
    border-radius: 16px;
  }
  
  .template-section-01 .inner2 .tit {
    font-size: 28px;
    line-height: 38px;
  }
  
  .template-section-01 .inner2 .txt {
    font-size: 13px;
  }
  
  .template-section-01 .btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    line-height: 100px;
    font-size: 14px;
  }
  
  .template-section-01 .btn:hover {
    transform: scale(1.05);
  }
  
  .template-section-02 {
    padding: 0 var(--spacing-md);
    height: auto;
  }
  
  .template-section-02 ul li {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .template-section-02 ul li a .icon {
    height: 100px;
    font-size: 48px;
  }
  
  .template-section-03 {
    margin: 0 var(--spacing-md);
    max-width: calc(100% - 2 * var(--spacing-md));
  }
  
  .template-section-03 > div {
    padding: 30px 20px;
  }
  
  .template-section-03 > div ul li {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
  }
  
  .template-section-03 > div ul .date-box {
    width: 60px;
    height: 60px;
    padding-top: 12px;
  }
  
  .template-section-03 > div ul .txt-wrap {
    padding: 10px 0 0 0;
  }
  
  .template-section-facilities {
    padding: 0 var(--spacing-md);
  }
  
  .template-section-facilities .facilities-title {
    font-size: 24px;
    margin-bottom: var(--spacing-lg);
  }
  
  .template-section-facilities .facility-item {
    padding: var(--spacing-md) 0;
  }
  
  .template-section-facilities .facility-name {
    font-size: 16px;
  }
  
  .template-section-facilities .facility-address,
  .template-section-facilities .facility-description {
    font-size: 13px;
  }
}

.template-main-swiper .swiper-slide {
    opacity: 0;
    transition: opacity 0.9s ease;
}

.template-main-swiper .swiper-slide.swiper-slide-active {
    opacity: 1;
}