<style>
/* ============================== */
/* RESET & BASE STYLES */
/* ============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Google Sans', sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.5;
}

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

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


/* ============================== */
/* WRAPPER with GRID BACKGROUND */
/* ============================== */
.page-wrapper {
  background-color: #2d3e80;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 5px 5px;
  border-radius: 6px;
  max-width: 920px;
  margin: 0 auto 5px;
  overflow: hidden
}

.page-wrapper > * {
  background-color: #ffffff;
  border-radius: 6px;
  margin-bottom: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden
}

/* ============================== */
/* HEADER */
/* ============================== */
.header-wrapper {
  background: #4f5aba url('/img/Newsletter/Header-bg.png') no-repeat center/cover;
  color: #fff;
  max-width: 910px;
  margin-top: 0;         /* 상단 여백 5px */
  padding-left: 5px;          /* 좌우 여백 */
  padding-right: 5px;
}
.header-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  flex: 1 1 100%;
  max-width: 260px;
  text-align: center;
  margin: 0 auto;
}

.header-text {
  flex: 1 1 100%;
  text-align: center;
  font-size: 16px;
  margin-top: 10px;
}

@media (min-width: 600px) {
  .header-logo {
    flex: 0 0 33.33%;
    text-align: left;
  }

  .header-text {
    flex: 0 0 66.66%;
    text-align: right;
    margin-top: 0;
  }
}

/* ============================== */
/* TITLE SECTION */
/* ============================== */
.title-wrapper {
  background: #efeef4 url('/img/Newsletter/math_bg.png') no-repeat center/cover;
  text-align: center;
    color: #fff;
  max-width: 910px;
  margin: 5px auto 0;         /* 상단 여백 5px */
  padding: 30px 5px;          /* 좌우 여백 */
}

.title-heading h1 {
 font-family: 'Google Sans', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.title-subject {
  font-size: 16px;
  font-weight: 400;
  margin: 10px 0;
}

.title-button {
  padding-top: 20px;
}

.title-button span {
  background: #fff;
  color: #201f42;
   font-family: 'Google Sans', sans-serif;
  font-size: 16px;
  padding: 5px 30px;
  display: inline-block;
}

/* ============================== */
/* CONTENT CONTAINER & MAIN IMAGE */
/* ============================== */
.nl-container,
.nl-inner {
  margin: 0;
  padding: 0;
  text-align: center;
}

.nl-inner img {
  width: 100%;
  height: 300px; /* 이미지의 세로 고정값 */
  object-fit: cover;
  object-position: center;
}


@media (max-width: 768px) {
  .nl-inner img {
    width: 100%;
  }
}
.main-image {
  text-align: center;
  margin: 0 ;
  
}

.main-image img {
 border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}
.news-button a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #4f5aba;
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.news-button a:hover {
  background-color: #3c458a;
}
/* ============================== */
/* NEWS CONTENT SECTION */
/* ============================== */
.news-content {
   padding: 0 25px 30px;
  text-align: center;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
}

.news-title h1 {
  color: #4f5aba;
   font-family: 'Google Sans', sans-serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 20px;
}

.news-body p {
  font-size: 16px;
  color: #201f42;
  margin-bottom: 15px;
}

.news-button a {
  background: #201f42;
  color: #fff;
   font-family: 'Google Sans', sans-serif;
  font-size: 16px;
  padding: 5px 30px;
  display: inline-block;
  border: 1px solid #201F42;
}

/* ============================== */
/* SECTION TITLE / DIVIDER */
/* ============================== */
.section-header {
  background: transparent;
  text-align: center;
  padding: 50px 20px 5px;
  margin-bottom: 0; /* ➤ news-card와의 간격 지정 */
}
.section-video-title {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px 35px;
}

.section-header h2 {
  color: #ffffff;          /* 흰색 텍스트 */
  font-family: 'Google Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;      /* h2도 명시적으로 중앙 정렬 */
}
.section-title h2,
.section-video-title h2 {
 font-family: 'Google Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #201f42;
  margin-bottom: 15px;
  text-align: left;
}
.section-divider {
  border-top: 2px solid #E3DFFB;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}
.divider {
  border-top: 2px solid #E3DFFB;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}
/* ============================== */
/* HOIZONTAL SLIDER CONTAINER */
/* ============================== */
/* 💡 슬라이더 전체 컨테이너 */

/* 🎯 슬라이더 전체 컨테이너 */
.horizontal-slider-wrapper {
  max-width: 910px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.horizontal-slider {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease;
  will-change: transform;
}

.horizontal-slide {
  min-width: 100%;
  box-sizing: border-box;
}

/* 🧾 슬라이드 카드 단위 */
.h-news-card {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 6px;
  box-sizing: border-box;
  min-height: 350px;
  position: relative;
}

/* 🖼 이미지 섹션 */
.h-news-card .news-image {
  flex: 1 1 45%;
  position: relative;
  z-index: 1;
}
.h-news-card .news-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* ✍️ 텍스트 섹션 */
.h-news-card .news-text {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 2;
  padding: 10px 0;
}
.h-news-card .news-text h1 {
  font-size: 21px;
  color: #4f5aba;
  font-weight: bold;
  margin: 0;
}
.h-news-card .news-text p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}
.h-news-card .news-text a.button-outline {
  padding: 6px 20px;
  border: 2px solid #4f5aba;
  background-color: transparent;
  color: #4f5aba;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  display: inline-block;
  margin-top: 10px;
}

/* ◀▶ 네비게이션 버튼 */
.horizontal-prev,
.horizontal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  font-size: 20px;
  color: #4f5aba;
  border: 2px solid #4f5aba;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}
.horizontal-prev { left: 1px; }
.horizontal-next { right: 1px; }

/* ● dot 인디케이터 */
.horizontal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}
.horizontal-dots .dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.horizontal-dots .dot.active {
  background-color: #4f5aba;
}

/* 📱 반응형 모바일 처리 */

@media (max-width: 768px) {
  .h-news-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 15px;
    min-height: unset;
    box-sizing: border-box;
  }

  .h-news-card .news-image {
    order: 0; /* 이미지가 먼저! */
    width: 100%;
    padding: 0;
  }

  .h-news-card .news-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto; /* 중앙 정렬 */
  }

  .h-news-card .news-text {
    order: 1; /* 텍스트가 아래로! */
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    box-sizing: border-box;
  }

  .h-news-card .news-text h1 {
    font-size: 18px;
    color: #4f5aba;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
  }

  .h-news-card .news-text p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 10px;
  }

  .h-news-card .news-text a.button-outline {
    padding: 6px 16px;
    font-size: 14px;
    border-radius: 4px;
  }
}


/* ============================== */
/* VERTICAL SLIDER CONTAINER */
/* ============================== */
.vertical-slider-wrapper {
  position: relative;
  max-width: 910px;
  height: 420px;
  margin: 0;
  overflow: hidden;
}

.vertical-slider {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
}

.vertical-slide {
  flex: 0 0 100%;
  height: 100%;
}

.vertical-prev,
.vertical-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  font-size: 20px;
  font-family: sans-serif;
  line-height: 1;
  text-align: center;
  color: #4f5aba;
  border: 2px solid #4f5aba;
  background-color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.vertical-prev {
  left: 1px;
}

.vertical-next {
  right: 1px;
}

.news-card,
.vertical-slide {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 5px;
  padding: 30px 5px;
  background-color: #ffffff;
  border-radius: 6px;
  box-sizing: border-box;
}

.news-card.reverse,
.vertical-slide.reverse {
  background-color: #fffbfb;
  flex-direction: row-reverse;
}

.news-image,
.news-text {
  flex: 1 1 50%;
  box-sizing: border-box;
  margin-bottom: 5px;
}

.news-image {
  padding: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-image img {
  width: 100%;
  max-width: 390px;
  border-radius: 6px;
}

.news-text {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.news-text h1 {
  color: #4f5aba;
  font-size: 21px;
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  margin: 5px 0 15px;
  line-height: 1.3;
}

.news-text p {
  font-size: 16px;
  color: #515151;
  line-height: 1.8;
  margin-bottom: 15px;
}

.button-outline {
  display: inline-block;
  padding: 5px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #201f42;
  background-color: #fff;
  border: 2px solid #201f42;
  border-radius: 4px;
  text-decoration: none;
  margin: 0 auto;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-outline:hover {
  background-color: #201f42;
  color: #ffffff;
}

@media (max-width: 768px) {
  .news-card,
  .vertical-slide {
    flex-direction: column;
  }

  .news-card .news-image,
  .news-card .news-text,
  .vertical-slide .news-image,
  .vertical-slide .news-text {
    flex: 1 1 100%;
    padding: 15px 0;
    text-align: center;
  }

  /* 모든 이미지가 텍스트보다 항상 위에 오도록 설정 */
  .news-card .news-image,
  .vertical-slide .news-image,
  .news-card.reverse .news-image,
  .vertical-slide.reverse .news-image {
    order: -1;
  }

  .news-card .news-text,
  .vertical-slide .news-text {
    order: 0;
  }
}

/* ============================== */
/* 이벤트 섹션 스타일 (반응형) */
/* ============================== */
.events-wrapper {
  padding: 30px 20px;
  max-width: 960px;
  margin: 0 auto;
}

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

.event-card {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 10px;
  text-align: center;
   margin-bottom: 5px;
}

.event-date {
  font-size: 14px;
  color: #4f5aba;
  margin-bottom: 10px;
}

.event-image img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.event-title {
  font-size: 16px;
  font-weight: 600;
  color: #201f42;
}

/* 화면 폭 600px 이상일 때 2개 */
@media (min-width: 600px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 화면 폭 900px 이상일 때 3개 */
@media (min-width: 900px) {
  .event-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* ============================== */
/* 섹션 버튼 (양 옆 중앙에 원형) */
/* ============================== */


/*
.alumni-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 30px;
  background-color: #ffffff;
}

.alumni-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.alumni-carousel > div {
  flex: 0 0 50%; // 한 번에 2개 보임 
  box-sizing: border-box;
  padding: 10px 20px;
}


@media (max-width: 768px) {
  .alumni-carousel > div {
    flex: 0 0 100%; // 화면 작아지면 한 개씩 
  }
}

.alumni-carousel-prev,
.alumni-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #4f5aba;
  color: #4f5aba;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.alumni-carousel-prev:hover,
.alumni-carousel-next:hover {
  background-color: #4f5aba;
  color: #ffffff;
}

.alumni-carousel-prev {
  left: -20px;
}

.alumni-carousel-next {
  right: -20px;
}

*/

/* ============================== */
/* 캐러셀 버튼 (양 옆 중앙에 원형) */
/* ============================== */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  font-size: 20px;
  font-family: sans-serif;
  line-height: 1;
  text-align: center;
  color: #4f5aba;
  border: 2px solid #4f5aba;
  background-color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

/* 버튼 hover 시 효과 */
.carousel-prev:hover,
.carousel-next:hover {
  background-color: #4f5aba;
  color: #ffffff;
}

/* 왼쪽 버튼 위치 */
.carousel-prev {
  left: 1px;
}
.carousel-next {
  right: 1px;
}

/* 모바일 대응 (버튼 크기 줄이기) */
@media (max-width: 600px) {
  .carousel-prev,
  .carousel-next {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }
}

/* ============================== */
/* MAIN NEWS CAROUSEL */
/* ============================== */
.custom-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}

.custom-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  flex: 0 0 100%;  
  margin:0 ;
}

.custom-carousel-track {
  margin:0;
  max-width: 910px;
}
.nl-container {
  flex: 0 0 100%;  /* 슬라이드 하나가 트랙 전체 너비 차지 */
  max-width: 910px;
  margin:0;
  overflow: hidden;
}


.custom-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 10px;
}

.custom-carousel-prev,
.custom-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  font-size: 20px;
  font-family: sans-serif;
  line-height: 1;
  text-align: center;
  color: #4f5aba;
  border: 2px solid #4f5aba;
  background-color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;

}
.custom-carousel-prev { left: 1px; }
.custom-carousel-next { right: 1px; }

.custom-carousel-prev:hover,
.custom-carousel-next:hover {
  background-color: #3c458a;
}




/* ============================== */
/* CAROUSEL / VIDEO SLIDE */
/* ============================== */
.news-carousel-wrapper {
  max-width: 910px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.news-carousel {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.news-slide {
  flex: 0 0 50%;
  padding: 10px;
  text-align: center;
  background-color: #ffffff;
  box-sizing: border-box;
}

.news-slide img {
  max-width: 390px;
  margin: 0 auto 10px;
  border-radius: 6px;
}

.news-slide h1 {
  font-size: 21px;
  font-weight: 700;
  color: #4f5aba;
   font-family: 'Google Sans', sans-serif;
  margin: 5px 0 20px;
}

.news-slide p {
  font-size: 16px;
  color: #515151;
  line-height: 1.8;
}

.news-slide a {
  font-size: 16px;
   font-family: 'Google Sans', sans-serif;
  padding: 5px 30px;
  margin-top: 15px;
  display: inline-block;
 /* border: 2px solid #201f42; */
  color: #201f42;
  background-color: #fff;
  text-decoration: none;
}
@media (max-width: 768px) {
  .news-slide {
    flex: 0 0 100%;
  }
}
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #4f5aba;
}
/* ============================== */
/* CONTACT US SECTION */
/* ============================== */

.contact-wrapper {
  padding: 40px 5px;       /* 좌우 5px */
  max-width: 920px;
  margin: 0 auto 5px;
  margin-top: 5px;
  background: #4f5aba url('/img/Newsletter/Header-bg.png') no-repeat center/cover;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  border-radius: 6px;
  box-sizing: border-box;
  justify-content: center; gap: 20px; padding: 24px;
}

.contact-left {
  flex: 1 1 50%;
  padding: 0 10px;
  box-sizing: border-box;
}

.contact-left h1 {
  margin: 0;
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.contact-right {
  flex: 1 1 50%;
  padding-right: 10px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
}

.contact-right a {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: underline;
}
/* ============================== */
/* QUICK-LINK SECTION */
/* ============================== */
.quick-link-wrapper {
  max-width: 920px;
  margin: 10px auto;
  padding: 24px;
  background: #6a7de0 url('/img/Newsletter/Header-bg.png') no-repeat center/cover; /* 기존보다 밝은 블루톤 */
  border-radius: 6px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.quick-link-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  background: linear-gradient(135deg, #5a6adb, #3e4ea1);
  border: none;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quick-link-btn img {
  width: 150px;
  height: auto;
  object-fit: contain;
  margin-right: 0;
  display: block;
}


.quick-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.quick-link-icon {
  width: 150px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background-color: #e0e4ff; /* 밝은 배경색 */
  padding: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.quick-link-icon:hover {
  transform: scale(1.05);
}

/* ============================== */
/* FOOTER SECTION */
/* ============================== */
.footer-wrapper {
  max-width: 920px;
  margin-right: 0;         /* 상단 여백 5px */
  margin-bottom: 0;         /* 상단 여백 5px */
  background-color: #201f42;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  border-radius: 6px;
  box-sizing: border-box;
}

.footer-logo {
  flex: 1 1 33.33%;
  text-align: center;
  padding-right: 0;
  box-sizing: border-box;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
}

.footer-text {
  flex: 1 1 66.66%;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  padding-left: 25px;
  text-align: right;
  box-sizing: border-box;
}
.icon-signin {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 17l5-5-5-5v3H0v4h10v3zM21 0H3v4h18V0zm0 20H3v4h18v-4z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
}

.icon-signout {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 7l-5 5 5 5v-3h10v-4H14V7zM3 0h18v4H3V0zm0 20h18v4H3v-4z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
}

    .subscribe-btn {
	  padding: 14px 28px;
      font-size: 18px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.4);
      transition: transform 0.2s ease, box-shadow 0.2s ease;

      background: linear-gradient(135deg, #4CAF50, #2e7d32);
      color: white;
    }

    .unsubscribe-btn {
	  padding: 14px 28px;
      font-size: 18px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.4);
      transition: transform 0.2s ease, box-shadow 0.2s ease;

      background: linear-gradient(135deg, #f44336, #c62828);
      color: white;
    }

    .icon-signin,
    .icon-signout {
      margin-right: 10px;
      font-size: 20px;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.6);
    }

    .modal-content {
      background-color: #fff;
      color: #333;
      margin: 10% auto;
      padding: 30px;
      width: 90%;
      max-width: 500px;
      border-radius: 12px;
      position: relative;
      box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }

    .modal-content input[type="text"],
    .modal-content input[type="email"] {
      width: 100%;
      padding: 10px;
      margin-bottom: 16px;
      border: 1px solid #ccc;
      border-radius: 6px;
    }

    .terms-box {
      max-height: 150px;
      overflow-y: auto;
      background-color: #f9f9f9;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 14px;
      margin-bottom: 24px;
    }

    .modal-content button[type="submit"] {
      width: 100%;
      padding: 12px;
      font-size: 16px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .close {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 28px;
      cursor: pointer;
      color: #aaa;
    }
/* ============================== */
/* FLOATING SECTION */
/* ============================== */
/* 📦 메뉴 박스: 버튼과 함께 움직이는 고정 구조 */
/* 📦 전체 래퍼: 고정 플로팅 */
.floating-wrapper {
  position: fixed;
  top: 60px;
  right: -320px; /* 메뉴 숨겨진 상태 */
  display: flex;
  align-items: flex-start;
  transition: right 0.4s ease-in-out;
  z-index: 1100;
}

/* ✅ 메뉴 열기 상태 */
.floating-wrapper.open {
  right: 0;
}

/* ☰ 토글 버튼: 항상 오른쪽에 보임 */
.floating-tab {
  width: 40px;
  height: 40px;
  background: #4b6ef5;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  cursor: pointer;
}

/* 📦 메뉴 박스 */
.floating-box {
  width: 320px;
  background-color: #ffffff;
  border-radius: 0 0 0 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  font-family: 'Pretendard', sans-serif;
}

/* 🎨 콘텐츠 영역 */
.floating-content {
  padding: 20px;
  background: linear-gradient(135deg, #4b6ef5, #6f90f8);
  color: #ffffff;
}
.floating-content h3 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}


/* 📂 섹션 리스트 */
.section_list {
  margin-top: 16px;
  background: #f7f9ff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 #e0e6f0;
}

.section_list-header {
  padding: 12px 16px;
  font-weight: 600;
  background: #eef2fb;
  color: #333;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease-in-out;
}

.section_list-header:hover {
  background: #e0e6f8;
}

.section_list-header::after {
  content: "▼";
  position: absolute;
  right: 16px;
  transition: transform 0.2s ease;
}

.section_list.open .section_list-header::after {
  transform: rotate(180deg);
}

.section_list-list {
  display: none;
  padding: 10px 20px;
  list-style: disc;
  background: #ffffff;
  font-size: 14px;
  color: #444;
  max-height: 250px;       /* 약 15줄 기준으로 제한 */
  overflow-y: auto;
}

.section_list.open .section_list-list {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ✨ 애니메이션 효과 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

  </style>
