/**
 * 메인 히어로 Swiper (design_3.html 히어로 스타일 기반)
 * index_test.html .slideVisual 안에서만 사용
 */
@import url("//cdn.jsdelivr.net/npm/font-kopubworld@1.0/batang.min.css");
@import url("./footer_design3.css");

.slideVisual .hero-swiper-wrap {
  --hero-navy: #1a2b4a;
  --hero-gold: #b8902a;
  --hero-gold-light: #d4aa4a;
  --hero-white: #ffffff;
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.slideVisual .fixed-banner-title {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255, 255, 255, 0.95);
  font-family: "KoPubWorldBatang", "Noto Serif KR", serif;
  font-size: clamp(20px, 3.2vw, 34px);
  letter-spacing: 0.35em;
  padding: 0 16px;
  pointer-events: none;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.slideVisual .heroSwiper.swiper {
  width: 100%;
  height: 100%;
}

.slideVisual .heroSwiper .swiper-slide {
  position: relative;
  overflow: hidden;
  display: block;
  text-align: initial;
  background: #0f1c30;
}

.slideVisual .heroSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 7s ease;
  display: block;
}

.slideVisual .heroSwiper .swiper-slide-active img {
  transform: scale(1);
}

.slideVisual .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 20, 40, 0.65) 0%,
    rgba(10, 20, 40, 0.2) 55%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

.slideVisual .slide-caption {
  position: absolute;
  left: 50%;
  top: 55%;
  z-index: 3;
  color: var(--hero-white);
  width: 100%;
  max-width: 1240px;
  transform: translate(-50%, -50%);
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
}

.slideVisual .slide-caption h2 {
  font-family: "KoPubWorldBatang", "Noto Serif KR", serif;
  font-size: clamp(26px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* design_3.html .slide-caption .label / p 와 동일 (셀렉터만 .slideVisual 로 스코프) */
.slideVisual .slide-caption .label {
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--hero-gold-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.slideVisual .slide-caption .label::before,
.slideVisual .slide-caption .label::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--hero-gold-light);
}

.slideVisual .slide-caption p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  max-width: 800px;
}

.slideVisual .slide-caption .slide-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 13px 28px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--hero-white);
  font-size: 15px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.slideVisual .slide-caption .slide-btn:hover {
  background: var(--hero-gold);
  border-color: var(--hero-gold);
  color: var(--hero-white);
}

.slideVisual .slide-caption .slide-btn i {
  font-size: 16px;
}

/* 페이지네이션 · 네비 (히어로 전용) */
.slideVisual .heroSwiper .swiper-pagination {
  bottom: 28px !important;
}

.slideVisual .heroSwiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.slideVisual .heroSwiper .swiper-pagination-bullet-active {
  background: var(--hero-gold-light);
  width: 30px;
  border-radius: 4px;
  transition: width 0.3s;
}

.slideVisual .heroSwiper .swiper-button-prev,
.slideVisual .heroSwiper .swiper-button-next {
  width: 46px;
  height: 46px;
  background: rgba(10, 20, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}

.slideVisual .heroSwiper .swiper-button-prev:hover,
.slideVisual .heroSwiper .swiper-button-next:hover {
  background: var(--hero-gold);
  border-color: var(--hero-gold);
}

.slideVisual .heroSwiper .swiper-button-prev::after,
.slideVisual .heroSwiper .swiper-button-next::after {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .slideVisual .hero-swiper-wrap {
    height: 420px;
  }

  .slideVisual .fixed-banner-title {
    top: 16%;
    letter-spacing: 0.2em;
    font-size: 22px;
  }

  .slideVisual .slide-caption {
    top: 58%;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .slideVisual .hero-swiper-wrap {
    height: 340px;
  }

  .slideVisual .fixed-banner-title {
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .slideVisual .heroSwiper .swiper-button-prev,
  .slideVisual .heroSwiper .swiper-button-next {
    display: none;
  }
}


 /* ===== QUICK STRIP ===== */
 .quick-strip {
  background: var(--bg);
  padding: 52px 0 0;
}

.quick-strip .inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.quick-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border: 1.5px solid #d8e3f0;
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 2px 12px rgba(60, 100, 180, 0.06);
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 1;
  position: relative;
  transition: transform 0.2s;
}

.quick-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: #dde8f5;
}

.quick-item:hover {
  transform: translateY(-3px);
}

.quick-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
}

.quick-item:hover .quick-icon {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.quick-icon i {
  font-size: 34px;
  transition: color 0.2s;
}

.quick-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.2s;
}

/* Pastel colors for quick items */
.quick-item:nth-child(1) .quick-icon {
  background: #e8f0fb;
}

.quick-item:nth-child(1) .quick-icon i {
  color: #3a6abf;
}

.quick-item:nth-child(1):hover .quick-icon {
  background: #d0e2f8;
}

.quick-item:nth-child(1):hover .quick-label {
  color: #3a6abf;
}

.quick-item:nth-child(2) .quick-icon {
  background: #fbebf0;
}

.quick-item:nth-child(2) .quick-icon i {
  color: #c85a7c;
}

.quick-item:nth-child(2):hover .quick-icon {
  background: #f5d4df;
}

.quick-item:nth-child(2):hover .quick-label {
  color: #c85a7c;
}

.quick-item:nth-child(3) .quick-icon {
  background: #eef8f0;
}

.quick-item:nth-child(3) .quick-icon i {
  color: #4b9e65;
}

.quick-item:nth-child(3):hover .quick-icon {
  background: #d3ecd7;
}

.quick-item:nth-child(3):hover .quick-label {
  color: #4b9e65;
}

.quick-item:nth-child(4) .quick-icon {
  background: #fef0e6;
}

.quick-item:nth-child(4) .quick-icon i {
  color: #d97736;
}

.quick-item:nth-child(4):hover .quick-icon {
  background: #fcd5b5;
}

.quick-item:nth-child(4):hover .quick-label {
  color: #d97736;
}

.quick-item:nth-child(5) .quick-icon {
  background: #f4eefa;
}

.quick-item:nth-child(5) .quick-icon i {
  color: #8a5bc2;
}

.quick-item:nth-child(5):hover .quick-icon {
  background: #e6d8f5;
}

.quick-item:nth-child(5):hover .quick-label {
  color: #8a5bc2;
}

.quick-item:nth-child(6) .quick-icon {
  background: #e0f6f5;
}

.quick-item:nth-child(6) .quick-icon i {
  color: #389e98;
}

.quick-item:nth-child(6):hover .quick-icon {
  background: #c2ecea;
}

.quick-item:nth-child(6):hover .quick-label {
  color: #389e98;
}

.quick-item:nth-child(7) .quick-icon {
  background: #fdf5df;
}

.quick-item:nth-child(7) .quick-icon i {
  color: #c9931c;
}

.quick-item:nth-child(7):hover .quick-icon {
  background: #fae4ac;
}

.quick-item:nth-child(7):hover .quick-label {
  color: #c9931c;
}

 /* ===== RESPONSIVE ===== */
 @media (max-width: 1024px) {

  .quick-icon {
    width: 52px;
    height: 52px;
  }

  .quick-icon i {
    font-size: 24px;
  }

  .quick-label {
    font-size: 12px;
  }
}

@media (max-width: 640px) {

  .quick-box {
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 12px;
  }

  .quick-item {
    flex: 0 0 calc(25% - 8px);
    min-width: 70px;
  }

  .quick-item:not(:last-child)::after {
    display: none;
  }

  .quick-icon {
    width: 48px;
    height: 48px;
  }

  .quick-icon i {
    font-size: 20px;
  }

  .quick-label {
    font-size: 11px;
  }
}

/* =====================================================================
 * design_3.html — INFO / GALLERY / BOTTOM (동일 스펙, index_test 메인)
 * ===================================================================== */
:root {
  --navy: #1a2b4a;
  --navy-dark: #0f1c30;
  --gold: #b8902a;
  --gold-light: #d4aa4a;
  --bg: #ffffff;
  --bg-section: #f8f9fb;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #555555;
  --text-light: #888888;
  --border: #e2e6ee;
  --bg-alt: #f2f4f8;
}

.main-wrap {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section-title {
  font-family: "KoPubWorldBatang", "Noto Serif KR", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title .bar {
  display: none;
}

.section-more {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 400;
  transition: color 0.2s;
}

.section-more:hover {
  color: var(--gold);
}

.section-more i {
  font-size: 16px;
}

/* ===== INFO SECTION ===== */
.info-section {
  padding: 52px 0 44px;
  background: var(--bg);
}

.info-grid {
  display: grid;
  grid-template-columns: 248px 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.info-grid > * {
  min-width: 0;
}

.left-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-width: 0;
}

.left-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex: 1;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.left-card.alt {
  background: linear-gradient(135deg, #243657, #1a2b4a);
}

.left-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 43, 74, 0.28);
}

.left-card i {
  font-size: 32px;
  flex-shrink: 0;
}

.left-card:nth-child(1) i {
  color: #fce8b3;
}

.left-card:nth-child(2) i {
  color: #b3d4fc;
}

.left-card:nth-child(3) i {
  color: #bdf2cd;
}

.left-card:nth-child(4) i {
  color: #ff6b6b;
}

.left-card-text {
  min-width: 0;
}

.left-card-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.left-card-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 4px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.left-card .card-arr {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.2);
  font-size: 22px;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.left-card:hover .card-arr {
  color: var(--gold-light);
  transform: translateX(3px);
}

.notice-box,
.board-box {
  background: #faf8f5;
  border: 1px solid #efebe1;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.notice-box .section-title,
.board-box .section-title {
  font-size: 16px;
  font-weight: 600;
  color: #a06b35;
  font-family: "Noto Sans KR", sans-serif;
  margin-bottom: 14px;
  min-width: 0;
  flex-wrap: wrap;
}

.board-featured {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: block;
  text-decoration: none;
  transition: transform 0.2s;
}

.board-featured:hover {
  transform: translateY(-2px);
}

.board-featured:hover .featured-title {
  color: var(--gold);
}

.featured-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.featured-desc {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.featured-date {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.board-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.board-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  min-width: 0;
  max-width: 100%;
}

.board-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.board-list li .dot {
  font-size: 6px;
  color: var(--gold);
  flex-shrink: 0;
}

.board-list a {
  color: var(--navy-dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.board-list .date {
  font-size: 14px;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 12px;
  white-space: nowrap;
}

.board-list a:hover {
  color: var(--gold);
}

.board-list .arr {
  font-size: 16px;
  color: #ccc;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.board-list li:hover .arr {
  color: var(--gold);
  transform: translateX(2px);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 44px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

a.gallery-item {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.gallery-item .gallery-ph {
  width: 100%;
  height: 155px;
  background: #243657;
}

.gallery-item {
  border-radius: 7px;
  overflow: hidden;
  background: var(--navy-dark);
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}

.gallery-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 74, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--gold-light);
  font-size: 28px;
}

.gallery-label {
  padding: 16px 14px;
  background: var(--white);
  font-size: 15px;
  color: var(--text-mid);
  text-align: center;
  font-weight: 500;
  border-top: 2px solid transparent;
  transition: border-color 0.2s;
}

.gallery-item:hover .gallery-label {
  border-color: var(--gold);
}

/* ===== BOTTOM SECTION ===== */
.bottom-section {
  padding: 52px 0 44px;
  background: var(--bg);
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 338px;
  gap: 40px;
}

.relics-head {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.slider-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slider-badge {
  font-size: 12px;
  color: var(--text-light);
  padding: 0 6px;
  min-width: 36px;
  text-align: center;
}

.slider-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  font-size: 16px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.slider-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.relicsSwiper {
  overflow: hidden;
  width: 100%;
}

.relicsSwiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.relics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.relics-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-mid);
  font-size: 15px;
  grid-column: 1 / -1;
}

.relic-card {
  background: var(--white);
  border: 1.5px solid #d8e3f0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(60, 100, 180, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}

.relic-card:hover {
  box-shadow: 0 8px 24px rgba(60, 100, 180, 0.14);
  transform: translateY(-3px);
}

.relic-img {
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: var(--bg-alt);
}

.relic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.relic-card:hover .relic-img img {
  transform: scale(1.06);
}

.relic-body {
  padding: 13px 15px;
}

.relic-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.relic-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.2s;
}

.relic-more:hover {
  gap: 8px;
}

.relic-more i {
  font-size: 14px;
}

.history-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.history-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.history-more-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #d8e3f0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  font-size: 18px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.history-more-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.history-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: var(--white);
  border: 1.5px solid #d8e3f0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(60, 100, 180, 0.08);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.history-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #d8e3f0, #b8c8e8);
  border-radius: 12px 0 0 12px;
  transition: background 0.2s;
}

.history-card:hover {
  border-color: #a8c0e0;
  box-shadow: 0 8px 24px rgba(60, 100, 180, 0.15);
  background: #f8faff;
  transform: translateY(-2px);
}

.history-card:hover::before {
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}

.history-card-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 8px;
}

.history-card-label i {
  font-size: 18px;
  color: #7a9fd4;
  transition: color 0.2s;
}

.history-card:hover .history-card-label i {
  color: var(--gold);
}

.history-card-arr {
  font-size: 20px;
  color: #b0c4dc;
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.history-card:hover .history-card-arr {
  color: var(--gold);
  transform: translateX(3px);
}

/* design_3 메인 콘텐츠 반응형 (푸터는 footer_design3.css) */
@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .left-cards {
    flex-direction: row;
    flex-wrap: wrap;
    grid-column: 1 / -1;
  }

  .left-card {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(n + 4) {
    display: none;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .left-cards {
    flex-direction: column;
    grid-column: auto;
  }

  .left-card {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .left-cards {
    flex-direction: column;
    grid-column: auto;
  }

  .left-card {
    padding: 18px 16px;
    gap: 12px;
  }

  .main-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .notice-box,
  .board-box {
    padding: 16px 14px;
  }

  .notice-box .section-title,
  .board-box .section-title {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .featured-title {
    font-size: 17px;
  }

  .board-list {
    gap: 0;
  }

  .board-list li {
    gap: 8px;
    align-items: flex-start;
  }

  .board-list .date {
    margin-right: 4px;
    font-size: 12px;
    align-self: center;
  }

  .board-list a {
    font-size: 14px;
  }

  .board-list .arr {
    font-size: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(n + 3) {
    display: none;
  }

  .gallery-item:nth-child(2) {
    display: block;
  }

  .relics-grid {
    grid-template-columns: 1fr;
  }
}