@charset "utf-8";

/* ==========================================================================
   신생원 홈페이지 - 공통 스타일시트
   디자인 레퍼런스: 대구아동복지센터(i-sarang.org) 스타일 재해석
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #4cab6e;
  --color-primary-dark: #3b8f5a;
  --color-primary-soft: #eaf5ee;
  --color-accent: #ffb400;
  --color-text: #464646;
  --color-text-dark: #333333;
  --color-muted: #777777;
  --color-muted-light: #999999;
  --color-border: #dddddd;
  --color-border-light: #e2e2e2;
  --color-bg-soft: #f7f7f7;
  --font-kr: 'Pretendard', 'Malgun Gothic', sans-serif;
  --font-en: 'Quicksand', sans-serif;
  --max-width: 1300px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  min-width: 320px;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, table, th, td {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-kr);
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-text-size-adjust: none;
}

ul, ol { list-style: none; }
img { max-width: 100%; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
table { width: 100%; border-collapse: collapse; }

.blind {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  font-size: 0;
}

.width-wrap {
  margin: 0 auto;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  top: -60px; left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 10000;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   Header / GNB
   ========================================================================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

#headerInner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo img { height: 46px; }

.header-right { display: flex; align-items: center; gap: 28px; }

.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 30px;
  transition: background .2s;
}
.btn-donate:hover { background: var(--color-primary-dark); }

#gnb { display: flex; }
#gnb > ul { display: flex; }
#gnb > ul > li { position: relative; }
#gnb > ul > li > a {
  display: block;
  padding: 0 22px;
  height: 84px;
  line-height: 84px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-dark);
}
#gnb > ul > li:hover > a,
#gnb > ul > li.active > a { color: var(--color-primary); }

.gnb-2dep {
  position: absolute;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 170px;
  background: #fff;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
#gnb > ul > li:hover .gnb-2dep { opacity: 1; visibility: visible; }
.gnb-2dep li a {
  display: block;
  padding: 10px 20px;
  font-size: 14.5px;
  color: var(--color-text);
  white-space: nowrap;
  text-align: center;
}
.gnb-2dep li a:hover { color: var(--color-primary); font-weight: 700; background: var(--color-primary-soft); }

.nav-open-btn {
  display: none;
  width: 30px; height: 24px;
  position: relative;
}
.nav-open-btn .line {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--color-text-dark);
  transition: all .25s;
}
.nav-open-btn .line1 { top: 0; }
.nav-open-btn .line2 { top: 11px; }
.nav-open-btn .line3 { top: 22px; }
.nav-open-btn.on .line1 { top: 11px; transform: rotate(45deg); }
.nav-open-btn.on .line2 { opacity: 0; }
.nav-open-btn.on .line3 { top: 11px; transform: rotate(-45deg); }

#gnbM {
  display: none;
  position: fixed;
  top: 84px; right: -100%;
  width: 300px; max-width: 82%;
  height: calc(100vh - 84px);
  background: #fff;
  box-shadow: -6px 0 20px rgba(0,0,0,0.1);
  overflow-y: auto;
  transition: right .3s;
  z-index: 999;
}
#gnbM.on { right: 0; }
#gnbM > ul > li > a {
  display: block;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-border-light);
}
#gnbM .gnb-2dep-m { display: none; background: var(--color-bg-soft); }
#gnbM .gnb-2dep-m li a {
  display: block;
  padding: 13px 36px;
  font-size: 14px;
  color: var(--color-muted);
  border-bottom: 1px solid #eee;
}
#gnbM > ul > li.on .gnb-2dep-m { display: block; }

@media all and (max-width: 1100px) {
  #gnb { display: none; }
  .nav-open-btn { display: block; }
  #gnbM { display: block; }
}

@media all and (max-width: 480px) {
  #headerInner { height: 66px; }
  .logo img { height: 34px; }
  .btn-donate span.label-full { display: none; }
  #gnbM, #gnbM > ul > li a { top: 66px; }
  #gnbM { top: 66px; height: calc(100vh - 66px); }
}

/* ==========================================================================
   Title utilities
   ========================================================================== */
.section-tit {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.3;
}
.section-tit span { color: var(--color-primary); }
.section-desc {
  margin-top: 14px;
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
}

@media all and (max-width: 640px) {
  .section-tit { font-size: 28px; }
}

/* ==========================================================================
   Main Visual
   ========================================================================== */
#mainVisual { position: relative; margin-top: 84px; }
#mainVisual .swiper-slide {
  height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
#mainVisual .swiper-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20,45,32,0.66), rgba(20,45,32,0.30));
}
#mainVisual .swiper-slide.slide-bg-1 {
  background-image: url(../images/hero/hero-1.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#mainVisual .swiper-slide.slide-bg-2 {
  background-image: url(../images/hero/hero-2.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#mainVisual .swiper-slide.slide-bg-3 {
  background-image: url(../images/hero/hero-3.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.main-visual-txt {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.main-visual-txt strong {
  display: block;
  font-size: 48px;
  color: #fff;
  font-weight: 800;
  line-height: 1.35;
}
.main-visual-txt strong span { color: var(--color-accent); }
.main-visual-txt .eng {
  display: block;
  margin-top: 20px;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}

.swiper-button-next, .swiper-button-prev { color: #fff !important; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 22px !important; }

@media all and (max-width: 768px) {
  #mainVisual .swiper-slide { height: 480px; }
  .main-visual-txt strong { font-size: 32px; }
  .main-visual-txt .eng { font-size: 15px; }
}
@media all and (max-width: 480px) {
  #mainVisual { margin-top: 66px; }
  #mainVisual .swiper-slide { height: 420px; }
  .main-visual-txt strong { font-size: 26px; }
}

/* Quick menu floating card */
.quick-menu {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.quick-menu-inner {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(70,70,70,0.14);
  display: flex;
  margin-top: -40px;
  position: relative;
  z-index: 5;
}
.quick-menu-inner a {
  flex: 1;
  text-align: center;
  padding: 30px 10px;
  border-right: 1px solid var(--color-border-light);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  transition: color .2s;
}
.quick-menu-inner a:last-child { border-right: 0; }
.quick-menu-inner a .icon {
  display: block;
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  color: var(--color-primary);
}
.quick-menu-inner a .icon svg { width: 100%; height: 100%; }
.quick-menu-inner a:hover { color: var(--color-primary); }

@media all and (max-width: 768px) {
  .quick-menu-inner { flex-wrap: wrap; margin-top: 20px; box-shadow: none; background: transparent; gap: 10px; }
  .quick-menu-inner a {
    flex: 1 1 45%;
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(70,70,70,0.08);
    padding: 22px 10px;
  }
}

/* ==========================================================================
   Notice section
   ========================================================================== */
.notice-section { padding: 110px 0 90px; }
.notice-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.notice-box {
  border: 1px solid var(--color-border);
  padding: 40px;
}
.notice-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-text-dark);
}
.notice-box-head h3 { font-size: 22px; font-weight: 800; }
.notice-box-head a { font-size: 13px; color: var(--color-muted); font-weight: 600; }
.notice-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed #ccc;
}
.notice-list li:last-child { border-bottom: 0; }
.notice-list a {
  font-size: 15.5px;
  color: var(--color-text-dark);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-list .date { font-size: 13px; color: var(--color-muted-light); flex-shrink: 0; }

@media all and (max-width: 900px) {
  .notice-section { padding: 70px 0 60px; }
  .notice-grid { grid-template-columns: 1fr; gap: 20px; }
}

.notice-list.thumb-list li { align-items: center; gap: 14px; }
.notice-list.thumb-list .thumb { flex-shrink: 0; width: 72px; height: 52px; border-radius: 4px; overflow: hidden; }
.notice-list.thumb-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.notice-list.thumb-list .txt { flex: 1; min-width: 0; }
.notice-list.thumb-list a { display: block; white-space: normal; }
.notice-list.thumb-list .date { align-self: flex-start; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-section { 
  padding: 20px 0 100px; 
  background: #ffffff;
  position: relative;
  z-index: 2;
}
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.gallery-head a { font-size: 14px; font-weight: 700; color: var(--color-primary); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  border-radius: 4px;
}
.gallery-card .thumb { height: 200px; overflow: hidden; }
.gallery-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-card:hover .thumb img { transform: scale(1.08); }
.gallery-card .cap { padding: 20px; }
.gallery-card .cap .ti { font-size: 16px; font-weight: 700; color: var(--color-text-dark); }
.gallery-card .cap .de { margin-top: 8px; font-size: 13px; color: var(--color-muted); }

@media all and (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media all and (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA / business band (Parallax Fixed Background)
   ========================================================================== */
.cta-band {
  position: relative;
  z-index: 1;
  background-image: linear-gradient(rgba(12, 24, 16, 0.48), rgba(12, 24, 16, 0.62)), url('../images/cta-banner-bg.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 135px 0;
  text-align: center;
  color: #fff;
}
.cta-band h2 {
  font-size: 38px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.cta-band h2 span { 
  color: #ffd233; 
}
.cta-band p {
  margin-top: 22px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.75;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  word-break: keep-all;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  background: #3b9e65;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 34px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.cta-btn:hover {
  background: #2f8753;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.cta-btn svg {
  transition: transform 0.25s ease;
}
.cta-btn:hover svg {
  transform: translate(2px, -2px);
}

@media all and (max-width: 768px) {
  .cta-band { 
    padding: 85px 0; 
    background-attachment: scroll; /* 모바일 성능 및 디바이스 호환성 최적화 */
  }
  .cta-band h2 { font-size: 25px; line-height: 1.4; }
  .cta-band p { font-size: 14.5px; margin-top: 16px; padding: 0 10px; }
  .cta-btn { padding: 12px 28px; font-size: 15px; margin-top: 28px; }
}

/* ==========================================================================
   Quick banner (4 col)
   ========================================================================== */
.quick-banner-section { 
  padding: 110px 0; 
  background: #ffffff;
  position: relative;
  z-index: 2;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.04);
}
.quick-banner-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.qb-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 44px 24px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 380px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.qb-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.qb-box:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 36px rgba(76, 171, 110, 0.16);
}
.qb-box:hover::before {
  opacity: 1;
}

/* 아이콘 래퍼 */
.qb-box .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px; 
  height: 76px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  margin: 0 auto;
  color: var(--color-primary);
  transition: transform 0.35s ease, background-color 0.35s ease, color 0.35s ease;
  flex-shrink: 0;
}
.qb-box .icon svg { 
  width: 38px; 
  height: 38px; 
  transition: transform 0.35s ease;
}
.qb-box:hover .icon {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.1) rotate(4deg);
}

.qb-box h4 { 
  margin-top: 24px; 
  font-size: 21px; 
  font-weight: 800; 
  color: var(--color-text-dark);
  transition: color 0.3s ease;
}
.qb-box:hover h4 {
  color: var(--color-primary-dark);
}

.qb-box p { 
  margin-top: 12px; 
  font-size: 14.5px; 
  color: var(--color-muted); 
  line-height: 1.65; 
  flex-grow: 1;
  word-break: keep-all;
}

.qb-box .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  background: transparent;
  border: 1.5px solid var(--color-primary);
  border-radius: 30px;
  padding: 10px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.qb-box:hover .more {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(76, 171, 110, 0.35);
  transform: scale(1.05);
}

@media all and (max-width: 1024px) {
  .quick-banner-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media all and (max-width: 580px) {
  .quick-banner-grid { grid-template-columns: 1fr; gap: 16px; }
  .qb-box { min-height: auto; padding: 36px 20px; }
}

/* ==========================================================================
   Partner Banner Continuous Slider (관계기관 슬라이더)
   ========================================================================== */
.partner-slider-section {
  background: #ffffff;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.partner-slider-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* 양 끝단이 자연스럽게 서서히 나타나고 사라지는 페이드 마스크 */
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.partner-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  /* 끊김 없이 부드럽게 흐르는 무한 롤링 애니메이션 */
  animation: partnerFlow 36s linear infinite;
  will-change: transform;
}
/* 마우스 올리면 부드럽게 일시 정지 */
.partner-slider-wrap:hover .partner-track {
  animation-play-state: paused;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  height: 66px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 16px;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.partner-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 6px 16px rgba(76, 171, 110, 0.16);
}
.partner-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.92;
}
.partner-item:hover img {
  opacity: 1;
  transform: scale(1.02);
}

@keyframes partnerFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media all and (max-width: 768px) {
  .partner-slider-section {
    padding: 20px 0;
  }
  .partner-item {
    width: 160px;
    height: 56px;
    padding: 6px 12px;
  }
  .partner-track {
    gap: 14px;
    animation-duration: 26s;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
#footer { background: var(--color-bg-soft); }
.footer-top { padding: 70px 0 40px; display: flex; flex-wrap: wrap; gap: 30px; }
.footer-logo { flex: 0 0 240px; }
.footer-logo img { height: 40px; }
.footer-logo .f-name { display: block; margin-top: 14px; font-size: 22px; font-weight: 800; color: var(--color-text-dark); }
.footer-logo .f-eng { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--color-muted); font-family: var(--font-en); }
.footer-info { flex: 1 1 380px; font-size: 14.5px; color: var(--color-text); line-height: 1.9; }
.footer-family { flex: 0 0 220px; }
.footer-family select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-size: 13.5px;
}
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .copyright { font-size: 12.5px; color: var(--color-muted); }
.footer-bottom .footer-links a { font-size: 13px; color: var(--color-muted); font-weight: 700; margin-left: 18px; }

@media all and (max-width: 640px) {
  .footer-top { padding: 50px 0 30px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom .footer-links a { margin-left: 0; margin-right: 16px; }
}

/* ==========================================================================
   Sub page common (Theme Sub Visual Banner + Breadcrumb Bar + Side Menu)
   ========================================================================== */
.sub-visual {
  position: relative;
  margin-top: 84px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #2e5a3c;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.sub-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.48) 0%, rgba(15, 23, 42, 0.65) 100%);
  z-index: 1;
}
.sub-visual .width-wrap {
  position: relative;
  z-index: 2;
  padding: 45px 20px;
}
.sub-visual h1 {
  font-size: 38px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin: 0;
}
.sub-visual .sub-eng {
  margin: 8px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: capitalize;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* 카테고리별 테마 배경 이미지 */
.sub-visual.sub-about {
  background-image: url('../images/sub/sub-about.jpg?v=20260921_building');
  background-position: center 32%;
}
.sub-visual.sub-business {
  background-image: url('../images/sub/sub-business.jpg');
}
.sub-visual.sub-support {
  background-image: url('../images/sub/sub-support.jpg');
}
.sub-visual.sub-community {
  background-image: url('../images/sub/sub-community.jpg');
}
.sub-visual.sub-rights {
  background-image: url('../images/sub/sub-rights.jpg');
}
.sub-visual.sub-supporters {
  background-image: url('../images/sub/sub-supporters.jpg');
}

/* ==========================================================================
   신생원 서포터즈 (함께하는 기관·기업) 스타일 (대구아동복지센터 스타일)
   ========================================================================== */
.supporters-intro {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 2px solid #e2e8f0;
}
.supporters-intro h3 {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.supporters-intro h3 span {
  color: var(--color-primary);
}
.supporters-intro p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 카테고리 필터 버튼 바 */
.supporters-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn-filter-supporter {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-filter-supporter:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.btn-filter-supporter.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(76, 171, 110, 0.3);
}

/* 3열 카드 그리드 */
.supporters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.supporter-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.supporter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}
.supporter-img-box {
  width: 100%;
  height: 160px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}
.supporter-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.supporter-card:hover .supporter-img-box img {
  transform: scale(1.04);
}
.supporter-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.supporter-category-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  background: #eef8f1;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 8px;
}
.supporter-name {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
  line-height: 1.4;
  word-break: keep-all;
}
.supporter-link-hint {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.supporter-card:hover .supporter-link-hint {
  color: var(--color-primary);
}

@media (max-width: 992px) {
  .supporters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .supporters-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .supporter-img-box {
    height: 150px;
  }
}


/* 서브 비주얼 하단 시그니처 그린 브레드크럼 바 (대구아동복지센터 스타일) */
.sub-lnb-bar {
  background: #4cab6e;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.sub-lnb-bar .width-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
}
.sub-lnb-crumbs {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  color: #ffffff;
}
.sub-lnb-crumbs a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.sub-lnb-crumbs a:hover {
  opacity: 0.85;
  text-decoration: underline;
}
.sub-lnb-crumbs .sep {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}
.sub-lnb-crumbs .curr {
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 768px) {
  .sub-visual {
    min-height: 190px;
    margin-top: 70px;
  }
  .sub-visual h1 {
    font-size: 28px;
  }
  .sub-visual .sub-eng {
    font-size: 13px;
    letter-spacing: 1px;
  }
  .sub-lnb-bar .width-wrap {
    height: 42px;
  }
  .sub-lnb-crumbs {
    font-size: 12.5px;
  }
}


.sub-body {
  max-width: var(--max-width);
  margin: 60px auto 100px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
  align-items: start;
}

.side-menu {
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  overflow: hidden;
}
.side-menu .side-tit {
  background: var(--color-primary);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  padding: 20px;
}
.side-menu ul li a {
  display: block;
  padding: 15px 22px;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid #eee;
  font-weight: 600;
}
.side-menu ul li a:hover,
.side-menu ul li a.on { color: var(--color-primary); background: var(--color-primary-soft); }
.side-menu .side-contact {
  padding: 20px 22px;
  background: var(--color-bg-soft);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.7;
}
.side-menu .side-contact strong { display: block; color: var(--color-text-dark); font-size: 15px; margin-bottom: 4px; }

.content h2.page-tit {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text-dark);
  padding-bottom: 18px;
  border-bottom: 2px solid var(--color-text-dark);
  margin-bottom: 34px;
}

.content .lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  white-space: pre-line;
}

.bullet-list {
  margin-top: 14px;
  padding-left: 20px;
  list-style: disc;
}
.bullet-list li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}

.info-box {
  background: var(--color-bg-soft);
  border-radius: 8px;
  padding: 30px 34px;
  margin: 20px 0;
}
.info-box strong.box-tit { display: inline-block; background: var(--color-primary); color: #fff; font-size: 14px; font-weight: 700; padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; }

table.data-table { border-top: 2px solid var(--color-text-dark); margin: 20px 0; }
table.data-table th, table.data-table td {
  border: 1px solid var(--color-border);
  padding: 14px 10px;
  text-align: center;
  font-size: 14.5px;
}
table.data-table th { background: var(--color-bg-soft); font-weight: 700; color: var(--color-text-dark); }

.timeline { margin-top: 10px; }
.timeline li {
  display: grid;
  grid-template-columns: 90px 90px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px dashed var(--color-border);
}
.timeline li .yy { font-size: 22px; font-weight: 800; color: var(--color-primary); font-family: var(--font-en); }
.timeline li .md { font-size: 13px; color: var(--color-muted-light); }
.timeline li .desc { font-size: 15px; color: var(--color-text); }

.step-flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 30px 0; }
.step-flow .step {
  flex: 1 1 150px;
  background: var(--color-bg-soft);
  border-radius: 10px;
  text-align: center;
  padding: 22px 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-text-dark);
}
.step-flow .arrow { color: var(--color-primary); font-size: 20px; }

.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.program-card { border: 1px solid var(--color-border-light); border-radius: 8px; padding: 26px 28px; }
.program-card h3 { font-size: 18px; font-weight: 800; color: var(--color-primary-dark); margin-bottom: 10px; }
.program-card ul li { font-size: 14.5px; color: var(--color-text); line-height: 1.8; padding-left: 14px; position: relative; }
.program-card ul li::before { content: "·"; position: absolute; left: 0; color: var(--color-primary); font-weight: 900; }

.account-box {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 20px;
  font-weight: 800;
  padding: 18px 30px;
  border-radius: 8px;
  margin: 16px 0;
}

.btn-line {
  display: inline-block;
  border: 1px solid var(--color-primary);
  color: var(--color-primary) !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  margin-top: 10px;
}

.map-embed { margin: 20px 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--color-border); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

.notice-tbl { border-top: 2px solid var(--color-text-dark); }
.notice-tbl th, .notice-tbl td { padding: 16px 10px; border-bottom: 1px solid var(--color-border); font-size: 14.5px; }
.notice-tbl th { background: var(--color-bg-soft); font-weight: 700; }
.notice-tbl td.ti { text-align: left; }
.notice-tbl td.date, .notice-tbl th.date { width: 130px; text-align: center; color: var(--color-muted); }

.callout {
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-soft);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--color-text-dark);
  margin: 20px 0;
}

.placeholder-note {
  margin-top: 40px;
  padding: 18px 22px;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--color-muted-light);
  line-height: 1.8;
}

@media all and (max-width: 900px) {
  .sub-body { grid-template-columns: 1fr; }
  .side-menu { display: none; }
  .program-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Top button
   ========================================================================== */
.top-btn {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  z-index: 500;
}
.top-btn.show { opacity: 1; visibility: visible; }

/* ==========================================================================
   Board & Notice Common Styles (Search Bar, Write Button, Table Polish)
   ========================================================================== */
.board-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}
.board-total-count {
  font-size: 14.5px;
  color: #64748b;
  font-weight: 500;
}
.board-total-count strong {
  color: var(--color-primary);
  font-weight: 700;
}
.board-search-form {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.board-search-select {
  border: none;
  background: #f8fafc;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #334155;
  outline: none;
  cursor: pointer;
  border-right: 1px solid #e2e8f0;
}
.board-search-input {
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  min-width: 220px;
}
.board-search-btn {
  border: none;
  background: #ffffff;
  padding: 10px 14px;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background-color 0.2s;
}
.board-search-btn:hover {
  color: var(--color-primary);
  background: #f1f5f9;
}
.btn-board-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(76, 171, 110, 0.25);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-board-write:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 171, 110, 0.35);
}

/* 게시판 테이블 헤더 녹색 라인 */
.notice-tbl {
  border-top: 2px solid var(--color-primary) !important;
}

@media all and (max-width: 640px) {
  .board-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .board-search-form {
    width: 100%;
  }
  .board-search-input {
    flex: 1;
    min-width: 0;
  }
}

/* ==========================================================================
   온라인 신청 양식 (후원 / 자원봉사) - 육영학사 양식 기반 신생원 커스텀
   ========================================================================== */
.subpage-highlight-banner {
  background: #f4faf6;
  border-left: 4px solid var(--color-primary);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.subpage-highlight-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0;
  line-height: 1.5;
}

.online-form-container {
  background: #ffffff;
  border: 1px solid #dce8e0;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-guide-notice {
  background: #f7fbf9;
  border: 1px solid #cce5d6;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13.5px;
  color: #2e6644;
  margin-bottom: 28px;
  line-height: 1.65;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #edf3ef;
}

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
}

.form-label.required::after {
  content: " *";
  color: #e53e3e;
  font-weight: 800;
}

.form-input-text,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ccdcd2;
  border-radius: 6px;
  font-size: 14px;
  color: #333333;
  transition: all 0.2s ease;
  background: #ffffff;
  font-family: inherit;
  box-sizing: border-box;
}

.form-input-text:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(76, 171, 110, 0.15);
}

.form-radio-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.form-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  user-select: none;
}

.privacy-consent-box {
  background: #f9fbf9;
  border: 1px solid #e0eae3;
  border-radius: 8px;
  padding: 18px;
  margin: 28px 0 20px 0;
}

.privacy-scroll-area {
  max-height: 120px;
  overflow-y: auto;
  font-size: 12.5px;
  color: #666666;
  line-height: 1.65;
  padding-right: 8px;
}

.form-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.btn-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 44px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(76, 171, 110, 0.35);
  transition: all 0.2s ease;
}

.btn-form-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(76, 171, 110, 0.45);
}

.btn-apply-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #ffffff !important;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(76, 171, 110, 0.3);
  transition: all 0.2s;
  text-decoration: none;
}
.btn-apply-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(76, 171, 110, 0.4);
}

@media all and (max-width: 640px) {
  .online-form-container {
    padding: 24px 16px;
  }
  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: flex-start;
  }
  .btn-form-submit {
    width: 100%;
    padding: 13px 20px;
  }
}

/* 섹션 타이틀 (아이콘 포함) */
.content-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 800;
  color: #244b33;
  margin: 36px 0 16px 0;
}

.content-section-title svg {
  color: var(--color-primary);
}

/* 정갈한 테이블 스타일 */
.custom-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  border-top: 2px solid var(--color-primary);
  font-size: 14.5px;
  background: #ffffff;
}

.custom-info-table th {
  background: #f6faf7;
  color: #244b33;
  font-weight: 700;
  padding: 14px 16px;
  border: 1px solid #dce8e0;
  text-align: center;
  vertical-align: middle;
}

.custom-info-table td {
  padding: 14px 18px;
  border: 1px solid #dce8e0;
  color: #444444;
  vertical-align: middle;
  line-height: 1.7;
}

@media all and (max-width: 640px) {
  .custom-info-table th {
    padding: 10px 8px;
    font-size: 13.5px;
  }
  .custom-info-table td {
    padding: 10px 12px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   소식지 (Newsletter) 바둑판 그리드 스타일 (첨부 레퍼런스 스타일 완벽 구현)
   ========================================================================== */
.newsletter-top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.newsletter-filter-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 8px;
  gap: 4px;
}

.newsletter-filter-btn {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.newsletter-filter-btn.active,
.newsletter-filter-btn:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.newsletter-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  transition: transform 0.28s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 11;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.newsletter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.newsletter-card-thumb {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.newsletter-card:hover .newsletter-card-thumb {
  transform: scale(1.04);
}

.newsletter-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  z-index: 2;
  letter-spacing: -0.2px;
}

.newsletter-card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  color: #ffffff;
}

.newsletter-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  word-break: keep-all;
}

.newsletter-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
}

.newsletter-card-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.newsletter-card-pdf-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
}

/* 소식지 상세 뷰어 모달 */
.nl-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.nl-modal-backdrop.show {
  display: flex;
}

.nl-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: modalFadeIn 0.25s ease-out;
}

.nl-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nl-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.nl-modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nl-modal-close-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.nl-modal-body {
  padding: 24px;
}

.nl-modal-cover-wrap {
  text-align: center;
  background: #f8fafc;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.nl-modal-cover-img {
  max-height: 380px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.nl-modal-info-box {
  background: #fcfdfa;
  border: 1px solid #dce8d2;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.nl-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 반응형 */
@media all and (max-width: 960px) {
  .newsletter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media all and (max-width: 580px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .newsletter-card {
    aspect-ratio: 16 / 10;
  }
}




