/* ========================================
   Main Page Styles
======================================== */

.main_page {
  width: 100%;
  padding-top: 90px;
}

.main_content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* ========================================
   Hero Section
======================================== */
.hero_section {
  position: relative;
  width: 100%;
  height: 700px;
  background-color: #0172FF;
  overflow: hidden;
}

.hero_section .hero_bg {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero_section .hero_inner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 100%;
  z-index: 10;
}

.hero_section .hero_image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

/* Climate Clock */
.hero_section .climate_clock {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
}

.hero_section .climate_clock .clock_desc {
  color: #fff;
  font-size: var(--fs-16);
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero_section .climate_clock .clock_display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px 30px;
  border-radius: 10px;
  width: fit-content;
}

.hero_section .climate_clock .clock_item {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.hero_section .climate_clock .clock_number {
  font-family: 'DS-Digital', monospace;
  font-size: var(--fs-32);
  font-weight: 700;
  color: #FFFF00;
  letter-spacing: 2px;
}

.hero_section .climate_clock .clock_label {
  font-size: var(--fs-16);
  color: #fff;
}

/* Hero Text */
.hero_section .hero_text {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
  text-align: start;
  color: #fff;
  max-width: 600px;
}

.hero_section .hero_text .hero_title {
  font-size: var(--fs-48);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero_section .hero_text .hero_subtitle {
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

.hero_section .hero_text .hero_btn {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  width: 200px;
  gap: 8px;
  padding: 10px 30px 10px 15px;
  background: #FFFF00;
  border-radius: 30px;
  font-size: var(--fs-18);
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}

.hero_section .hero_text .hero_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 0, 0.4);
}

.hero_section .hero_text .hero_btn:hover img {
  animation: shake 0.4s ease-in-out infinite;
}

.hero_section .hero_text .hero_btn img {
  width: 35px;
  height: 35px;
}

/* ========================================
   Notice Banner
======================================== */
.notice_banner {
  width: 100%;
  height: 90px;
  background-color: #F8FFF0;
}

.notice_banner .notice_inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.notice_banner .notice_title {
  font-size: var(--fs-32);
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

.notice_banner .notice_controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.notice_banner .notice_controls button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #B9E300;
  transition: background 0.2s;
}

.notice_banner .notice_controls button:hover {
  background: var( --color-neutral-100);
}

.notice_banner .notice_controls button img {
  width: 14px;
  height: 14px;
}

.notice_banner .notice_slide {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

.notice_banner .notice_item {
  display: none;
  align-items: center;
  gap: 20px;
}

.notice_banner .notice_item.active {
  display: flex;
}

.notice_banner .notice_date {
  color: #666;
  white-space: nowrap;
}

.notice_banner .notice_link {
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice_banner .notice_link:hover {
  color: var(--color-brand-blue);
  text-decoration: underline;
}

/* ========================================
   Promise Section Main (메인 약속하기)
======================================== */

.promise_section_main .section_inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.promise_section_main .section_title {
  font-size: var(--fs-32);
  font-weight: 700;
  margin-bottom: 20px;
}

.promise_section_main .promise_tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  background: var(--color-forest-green);
  padding: 15px 0;
  border-radius: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.promise_section_main .promise_tab_btn {
  display: flex;
  flex-direction: column;
  width: 130px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 100px;
}

.promise_section_main .promise_tab_btn img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.promise_section_main .promise_tab_btn span {
  font-size: var(--fs-16);
  white-space: nowrap;
}

.promise_section_main .promise_tab_btn:hover,
.promise_section_main .promise_tab_btn.active {
  background: #1B5B16;
  color: #fff;
}

.promise_section_main .promise_tab_btn:hover img,
.promise_section_main .promise_tab_btn.active img {
  filter: none;
}


.promise_section_main .promise_tab_btn.all img {
  filter: none;
}

.promise_section_main .promise_items_wrap {
  background: #fff;
  border-radius: 10px;
}

.promise_section_main .promise_items {
  display: none;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.promise_section_main .promise_items.active {
  display: flex;
}

.promise_section_main .promise_items li {
  flex: 0 0 calc(20% - 12px);
  min-width: 150px;
}

.promise_section_main .promise_item_btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 25px 15px;
  border: 1px solid var(--color-neutral-300);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.promise_section_main .promise_item_btn:hover {
  border-color: var(--color-forest-green);
  box-shadow: 0 4px 12px rgba(35, 134, 28, 0.15);
  transform: translateY(-2px);
}

.promise_section_main .promise_item_btn .item_icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promise_section_main .promise_item_btn .item_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promise_section_main .promise_item_btn .item_label {
  font-size: var(--fs-16);
  color: #333;
  text-align: center;
  word-break: keep-all;
}

/* 팝업 내 폼 레이아웃 (약속하기) */
.popup_body .form_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.popup_body .form_grid .form_row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.popup_body .form_row label,
.popup_body .form_label {
  display: block;
}
.popup_body .form_row input[type="text"],
.popup_body .form_row select {
  width: 100%;
}
.popup_body .radio_group {
  display: flex;
  gap: 14px;
  align-items: center;
}
.popup_body .form_row.agree_full {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.popup_body .radio_group.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.popup_body .radio_group.segmented .seg_item {
  position: relative;
  display: block;
}
.popup_body .radio_group.segmented .seg_item input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.popup_body .radio_group.segmented .seg_item span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 7px;
  border: 1px solid var(--color-neutral-300);
  background: var(--color-neutral-100);
  color: #9aa0a6;
  height: 42px; /* 입력/셀렉트와 동일 높이 */
  padding: 0 12px;
  font-weight: 700;
  box-sizing: border-box;
}
.popup_body .radio_group.segmented .seg_item input:checked + span {
  background: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
  color: #fff;
}
.popup_body .agree_box {
  width: 100%;
  border: 1px solid var(--color-neutral-300);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  min-height: 80px;
  max-height: 65px;
  overflow-y: auto;
  overflow-x: hidden;
}
.popup_body .agree_desc {
  color: var(--color-neutral-700);
  font-size: var(--fs-16);
  line-height: 1.5;
}
.popup_body .agree_desc a {
  text-decoration: underline;
}
.popup_body .form_actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}
.popup_body .form_actions.full {
  justify-content: stretch;
}
.popup_body .btn_primary.btn_full {
  width: 100%;
  display: block;
  text-align: center;
}
.popup_body .btn_primary {
  background: var(--color-brand-blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
}
.popup_body .btn_primary:disabled {
  background: var(--color-neutral-100);
  color: #888;
  cursor: not-allowed;
}
.popup_body .btn_secondary {
  background: var(--color-neutral-100);
  color: #000;
  padding: 10px 18px;
  border-radius: 10px;
}
@media (max-width: 600px) {
  .popup_body .form_grid {
    grid-template-columns: 1fr;
  }
}

/* 약속하기 탭 700px 이하 가로 스크롤 */
@media (max-width: 700px) {
  .promise_section_main .promise_tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .promise_section_main .promise_tabs::-webkit-scrollbar {
    height: 4px;
  }
  .promise_section_main .promise_tab_btn {
    flex-shrink: 0;
    min-width: 90px;
  }
}

/* 약속하기 팝업 오버레이 */
#promise_popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

#promise_popup_overlay.is-open {
  opacity: 1;
  visibility: visible;
}

#promise_popup_overlay .selected_promise_info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--color-neutral-100);
  border-radius: 8px;
}

#promise_popup_overlay .selected_promise_info img {
  width: 50px;
  height: 50px;
}

#promise_popup_overlay .selected_promise_info span {
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--color-forest-green);
}

/* ========================================
   Indicator Section (부문별 지표보기)
======================================== */
.indicator_section {
  background: #fff;
}

.indicator_section .section_inner {
  max-width: 1400px;
  margin: 0 auto;
}

.indicator_section .section_title {
  font-size: var(--fs-32);
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.indicator_section .indicator_wrap {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 40px;
}

.indicator_section .indicator_left {
  min-width: 0;
}

.indicator_section .indicator_right {
  min-width: 0;
  height: 100%;
}

.indicator_section .indicator_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  flex: 1;
  align-content: start;
}

.indicator_section .indicator_list li:last-child {
  grid-column: span 2;
}

.indicator_section .indicator_btn {
  width: 100%;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 25px 10px;
  border: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.indicator_section .indicator_btn img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s;
}

.indicator_section .indicator_btn span {
  color: #333;
  text-align: center;
}

.indicator_section .indicator_btn:hover img,
.indicator_section .indicator_btn.active img {
  transform: translateY(-5px);
}

.indicator_section .indicator_btn:hover span,
.indicator_section .indicator_btn.active span {
  color: #FF9500;
}


/* 기본 상태 (선택 안됨) */
.indicator_section .indicator_default {
  display: none;
  position: relative;
  align-items: flex-start;
  justify-content: center;
  height: 400px;
  padding: 30px 40px;
  background: #FFF8F0;
  border-radius: 15px;
  overflow: hidden;
}

.indicator_section .indicator_default.active {
  display: block;
}

.indicator_section .indicator_default img {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 500px;
  height: auto;
}

.indicator_section .indicator_default .default_text p {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
}

.indicator_section .indicator_default .default_text p strong {
  color: #000;
  font-weight: 700;
}

/* 선택된 상태 */
.indicator_section .indicator_detail {
  display: none;
  height: 410px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 15px;
  overflow: hidden;
  flex-direction: column;
}

.indicator_section .indicator_detail.active {
  display: flex;
}

.indicator_section .indicator_detail .detail_header {
  padding: 10px 20px;
  background: #FF9500;
}

.indicator_section .indicator_detail .detail_header .category_name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.indicator_section .indicator_detail .detail_list {
  flex: 1;
  overflow-y: auto;
}

.indicator_section .indicator_detail .detail_list li {
  border-bottom: 1px solid #f0f0f0;
}

.indicator_section .indicator_detail .detail_list li a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 15px;
  transition: background 0.2s;
}

.indicator_section .indicator_detail .detail_list li a:hover {
  background: #f9f9f9;
}

.indicator_section .indicator_detail .detail_list .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 20px;
  background: #FF9500;
  color: #fff;
  font-size: var(--fs-16);
  font-weight: 700;
  border-radius: 30px;
  flex-shrink: 0;
  white-space: nowrap;
}

.indicator_section .indicator_detail .detail_list .item_name {
  flex: 1;
  color: #333;
}

.indicator_section .indicator_detail .detail_list .item_year {
  font-size: var(--fs-16);
  color: #999;
  width: 60px;
  text-align: center;
}

.indicator_section .indicator_detail .detail_list .item_value {
  font-weight: 700;
  color: #000;
  width: 80px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================
   Search Section (통합검색)
======================================== */
.search_section {
  background: #f8f8f8;
  padding: 50px 0;
}

.search_section .section_inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.search_section .search_wrap {
  flex: 3;
  min-width: 0;
}

.search_section .search_title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.search_section .search_desc {
  color: #666;
  line-height: 1.6;
}

.search_section .search_box {
  flex: 7;
  min-width: 0;
}

.search_section .input_wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--color-brand-blue);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.search_section .input_wrap input {
  flex: 1;
  height: 55px;
  padding: 0 20px;
  border: none;
  outline: none;
}

.search_section .input_wrap input::placeholder {
  color: #aaa;
}

.search_section .input_wrap .btn_search {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.search_section .input_wrap .btn_search img {
  width: 24px;
  height: 24px;
}

.search_section .tag_list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search_section .tag_btn {
  padding: 8px 16px;
  font-size: var(--fs-16);
  color: #555;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: all 0.2s;
}

.search_section .tag_btn:hover {
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
}

.search_section .tag_btn:first-child {
  background: var(--color-brand-blue);
  color: #fff;
  border-color: var(--color-brand-blue);
}

/* ========================================
   Banner & Archive Section
======================================== */
.banner_archive_section {
  background: #fff;
}

.banner_archive_section .section_inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
}

.banner_archive_section .section_title {
  font-size: var(--fs-32);
  font-weight: 700;
  color: #000;
}

/* 알림창 */
.banner_archive_section .banner_wrap {
  flex: 5;
  min-width: 0;
}

.banner_archive_section .banner_wrap .banner_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.banner_archive_section .banner_wrap .banner_controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.banner_archive_section .banner_wrap .banner_controls button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f5;
  transition: background 0.2s;
}

.banner_archive_section .banner_wrap .banner_controls button:hover {
  background: #e0e0e0;
}

.banner_archive_section .banner_wrap .banner_controls button img {
  width: 14px;
  height: 14px;
}

.banner_archive_section .banner_wrap .banner_slide {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--color-neutral-300);
}

.banner_slide {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--color-neutral-300);
}

.banner_slide .swiper-wrapper {
  display: flex !important;
}

.banner_slide .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 정책 아카이브 */
.banner_archive_section .archive_wrap {
  min-width: 0;
}

.banner_archive_section .archive_wrap .archive_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.banner_archive_section .archive_wrap .btn_more_link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-32);
  color: var(--color-neutral-500);
  border: 1px solid #ddd;
  border-radius: 50%;
  transition: all 0.2s;
}

.banner_archive_section .archive_wrap .btn_more_link:hover {
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
}

.banner_archive_section .archive_wrap .archive_list {
  display: flex;
  gap: 20px;
}

.banner_archive_section .archive_wrap .archive_item {
  display: block;
  flex: 1;
}

.banner_archive_section .archive_wrap .archive_item .archive_thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  min-height: 300px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-neutral-300);
}

.banner_archive_section .archive_wrap .archive_item .archive_thumb img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  transition: transform 0.3s;
}

.banner_archive_section .archive_wrap .archive_item:hover .archive_thumb img {
  transform: translate(-50%, -50%) scale(1.05);
}

.banner_archive_section .archive_wrap .archive_item .archive_title {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 이미지 없을 때 표시 */
.banner_archive_section .archive_wrap .archive_item .archive_thumb.no_image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-neutral-100);
}
.banner_archive_section .archive_wrap .archive_item .archive_thumb.no_image::after {
  content: "이미지가 없습니다.";
  color: var(--color-neutral-500);
  font-size: var(--fs-16);
  text-align: center;
}

/* ========================================
  quick_menu (퀵메뉴)
======================================== */
  .quick_menu {
    position: fixed;
    right: 20px;
    top: 210px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.20);
  }

  .quick_menu .quick_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #555;
    transition: all 0.25s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    min-width: 80px;
  }

  .quick_menu .quick_item:hover {
    background: rgba(1, 114, 255, 0.1);
    color: var(--color-brand-blue);
  }

  .quick_menu .quick_item .quick_icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
  }

  .quick_menu .quick_item .quick_text {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
  }

  @keyframes quickShine {
    0% {
      transform: translateX(-100%) rotate(45deg);
    }

    100% {
      transform: translateX(100%) rotate(45deg);
    }
  }

/* ========================================
   Partners Section (함께하는 기관)
======================================== */
.partners_section {
  background: #f8f8f8;
  padding: 20px 0;
}

.partners_section .partners_container {
  max-width: 1400px;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0 auto;
}

.partners_section .partners_inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.partners_section .partners_title {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.partners_section .partners_controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.partners_section .partners_controls button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #666;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: all 0.2s;
}

.partners_section .partners_controls button:hover {
  border-color: #999;
  color: #333;
}

.partners_section .partners_slider {
  width: 100%;
  overflow: hidden;
}

.partners_section .partners_track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.partners_section .partner_item {
  flex-shrink: 0;
  padding: 5px 15px;
  white-space: nowrap;
}

.partners_section .partner_item a {
  font-size: var(--fs-16);
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.partners_section .partner_item a:hover {
  color: var(--color-primary);
}

/* ========================================
   반응형 미디어쿼리 시작
======================================== */
/* ========================================
   1400px
======================================== */
@media (max-width: 1400px) {
    .partners_section,
    .notice_banner .notice_inner,
    .section_inner
     {
        padding: 0 30px;
    }
}


@media (max-width: 1200px) {
  .hero_section {
    height: 550px;
  }
  .indicator_section .indicator_wrap, 
  .main_content {
    gap: 20px;
  }

  .hero_section .climate_clock .clock_number {
    font-size: 32px;
  }

  .indicator_section .indicator_wrap {
    grid-template-columns: 1fr;
  }

  .indicator_section .indicator_list {
    grid-template-columns: repeat(4, 1fr);
  }

  .indicator_section .indicator_list li:last-child {
    grid-column: span 1;
  }

  .search_section .section_inner {
    flex-direction: column;
    gap: 30px;
  }

  .banner_archive_section .section_inner {
    flex-direction: column;
  }

  .banner_archive_section .banner_wrap {
    flex: none;
    width: 100%;
  }

  .banner_archive_section .archive_wrap {
    flex: none;
    width: 100%;
  }

  .banner_archive_section .archive_wrap .archive_list {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .banner_archive_section .archive_wrap .archive_item {
    flex: 0 0 200px;
  }
  .hero_section .climate_clock .clock_display {
    padding: 10px 20px;
  }
  .hero_section .hero_text .hero_btn {
    width: 150px;
    padding: 10px 15px 10px 10px;
  }
}

@media (max-width: 1024px) {
    .partners_section,
    .notice_banner .notice_inner,
    .section_inner
     {
        padding: 0 20px;
    }
    .main_page {
      padding-top: 75px;
    }
    .main_content,
    .banner_archive_section .section_inner {
      gap: 30px;
    }
    
    .indicator_section .indicator_btn {
        padding: 15px 10px;
    }
    .search_section {
        padding: 30px 0;
    }
    .search_section .section_inner {
        gap: 20px;
    }
    .search_section .input_wrap input {
        height: 40px;
    }
    
  }
  
@media (max-width: 768px) {
    .main_content, .banner_archive_section .section_inner {
        gap: 20px;
    }
    .banner_archive_section .archive_wrap .archive_header,
    .banner_archive_section .banner_wrap .banner_header,
    .search_section .search_title,
    .indicator_section .section_title,
    .promise_section_main .section_title,
    .promise_section_main .promise_tabs {
        margin-bottom: 10px;
    }
    .partners_section,
    .notice_banner .notice_inner,
    .section_inner
     {
        padding: 0 15px;
    }
    .main_page {
        padding-top: 60px;
        }
    .hero_section {
        height: 350px;
    }

    .hero_section .hero_inner {
        height: 350px;
    }
    
    .hero_section .climate_clock {
        display: none;
    }

    .indicator_section .indicator_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero_section .climate_clock .clock_display {
        padding: 10px 20px;
        flex-wrap: wrap;
    }
    .search_section .input_wrap {
        margin-bottom: 0;
    }
    .search_section .input_wrap input {
        height: 35px;
        padding: 0 15px;
    }
    .search_section .input_wrap .btn_search {
        width: 35px;
        height: 35px;
    }
    .promise_section_main .promise_tabs {
      padding: 0;
      justify-content: start;
      padding: 0;
      gap: 0;
      border-radius: 5px;
    }
    .promise_section_main .promise_tab_btn {
      width: 0;
      padding: 5px 0;
      border-radius: 0;
    }
    .promise_section_main .promise_item_btn .item_icon img {
      width: 40px;
      height: 40px;
    }
    .promise_section_main .promise_item_btn .item_icon {
      width: auto;
      height: auto;
    }
    .promise_section_main .promise_items {
      gap: 7px;
    }
    .promise_section_main .promise_item_btn {
      padding: 10px 15px;
    }
    .promise_section_main .promise_items li {
      flex: 0 0 calc(50% - 4px);
      min-width: 100px;
    }
    #promise_popup_overlay .selected_promise_info {
      gap: 8px;
      padding: 10px;
    }
    #promise_popup_overlay .selected_promise_info img {
      width: 40px;
      height: 40px;
    }

  .hero_section .hero_text {
    max-width: 500px;
    left: 15px;
    top: 35%;
  }
  .notice_banner {
    height: auto;
  }

  .notice_banner .notice_inner {
    flex-wrap: wrap;
    padding: 15px 30px;
    gap: 15px;
  }

  .notice_banner .notice_slide {
    width: 100%;
    order: 3;
  }


  .indicator_section .indicator_default {
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px;
  }

  .indicator_section .indicator_default img {
    max-width: 350px;
  }
  .indicator_section .indicator_default {
    height: 350px;
  }
  .indicator_section .indicator_detail .detail_header {
    padding: 5px 10px;
  }
  .indicator_section .indicator_detail .detail_list li a {
    padding: 5px 10px;
    gap: 10px;
  }
  .indicator_section .indicator_detail {
    max-height: 300px;
  }
  .search_section .tag_list {
    display: none;
  }

  .search_section .tag_btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  .banner_archive_section .archive_wrap .archive_item {
    flex: 0 0 100%;
  }

  .partners_section .partners_inner {
    flex-direction: row;
    padding: 10px 0;
    gap: 10px;
  }
   .search_section .section_inner {
     flex-direction: column;
     gap: 10px;
   }
   .search_section .search_wrap,
   .search_section .search_box {
     flex: none;
     width: 100%;
   }
   .banner_archive_section .banner_wrap .banner_slide {
     height: 200px;
   }
   .banner_archive_section .archive_wrap .archive_item .archive_thumb {
     min-height: 200px;
   }
   .banner_archive_section .archive_wrap .archive_item {
     flex: 0 0 150px;
   }
}

@media (max-width: 480px) {
  .hero_section {
    height: 350px;
  }
  .indicator_section .indicator_default img {
    max-width: 250px;
  }

  .hero_section .hero_text {
    max-width: 280px;
    left: 10px;
  }

  .hero_section .hero_text .hero_title {
    margin-bottom: 10px;
    margin-top: 50px;
  }

  .hero_section .hero_text .hero_btn {
    padding: 8px 20px 8px 12px;
  }

  .hero_section .hero_text .hero_btn img {
    width: 24px;
    height: 24px;
  }

  .indicator_section .indicator_btn {
    min-height: 80px;
    padding: 10px;
  }

  .indicator_section .indicator_btn img {
    width: 30px;
    height: 30px;
  }

  /* 퀵메뉴 반응형 - 숨김 */
  .quick_menu {
    display: none;
  }
}

/* ===== 퀵메뉴 스타일 (gcea.or.kr 참고) ===== */
.quick_menu {
  position: fixed;
  right: 20px;
  top: 210px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.20);
}

.quick_menu .quick_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 15px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #555;
  transition: all 0.25s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  min-width: 80px;
}

.quick_menu .quick_item:hover {
  background: rgba(1, 114, 255, 0.1);
  color: var(--color-brand-blue);
}

.quick_menu .quick_item .quick_icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.quick_menu .quick_item .quick_text {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

@keyframes quickShine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* 1024px 이하에서 퀵메뉴 숨김 */
@media (max-width: 1024px) {
  .quick_menu {
    display: none;
  }
}

/* ===== 플로팅 대시보드 버튼 (반응형에서도 항상 표시) ===== */
.floating_dashboard {
  position: fixed;
  right: 20px;
  width: 70px;
  height: 70px;
  top: 120px;
  z-index: 90;
  display: flex;
  font-size: var(--fs-16);
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 50%;
  padding: 10px;
  background-color: var(--color-accent-purple);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

.floating_dashboard::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  animation: quickShine 3s infinite;
}

.floating_dashboard .floating_icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.floating_dashboard .floating_text {
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.floating_dashboard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.45);
  filter: brightness(1.1);
}

/* 반응형 - 대시보드 위치 조정 */
@media (max-width: 1024px) {
  .floating_dashboard {
    right: 15px;
    top: auto;
    bottom: 20px;
    padding: 10px 8px;
    min-width: 70px;
  }

  .floating_dashboard .floating_icon {
    width: 24px;
    height: 24px;
  }

  .floating_dashboard .floating_text {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .floating_dashboard {
    right: 10px;
    bottom: 15px;
    padding: 8px 6px;
    min-width: 60px;
    border-radius: 10px;
  }

  .floating_dashboard .floating_icon {
    width: 22px;
    height: 22px;
  }

  .floating_dashboard .floating_text {
    font-size: 9px;
  }
}