:root {
  --color-gry: #db8bd8;    /* 행정역량 */
  --color-brwn: #61acf3;   /* 중간지원조직 */
  --color-blue: #61acf3;   /* 사업현황 */
  --color-grn: #ffc94f;    /* 주민자치 */
  --color-sky: #FF6B6B;    /* 공간 */
  --color-skyb: #4ECDC4;   /* 자료실 */
  --color-yel: #FFD93D;    /* 지원센터 */
}

/* 태그 배경색 */
.notice-list-tag.gry { background: var(--color-gry); }
.notice-list-tag.brwn { background: var(--color-brwn); }
.notice-list-tag.blue { background: var(--color-blue); }
.notice-list-tag.grn { background: var(--color-grn); }
.notice-list-tag.sky { background: var(--color-sky); }
.notice-list-tag.skyb { background: var(--color-skyb); }
.notice-list-tag.yel { background: var(--color-yel); }

/* active 상태의 before 요소 */
.notice-list-item.active .notice-list-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 5px;
  z-index: 1;
  transition: transform 0.3s ease;
}

.notice-list-item.active .notice-list-tag.gry ~ .notice-list-title::before { background: var(--color-gry); }
.notice-list-item.active .notice-list-tag.brwn ~ .notice-list-title::before { background: var(--color-brwn); }
.notice-list-item.active .notice-list-tag.blue ~ .notice-list-title::before { background: var(--color-blue); }
.notice-list-item.active .notice-list-tag.grn ~ .notice-list-title::before { background: var(--color-grn); }
.notice-list-item.active .notice-list-tag.sky ~ .notice-list-title::before { background: var(--color-sky); }
.notice-list-item.active .notice-list-tag.skyb ~ .notice-list-title::before { background: var(--color-skyb); }
.notice-list-item.active .notice-list-tag.yel ~ .notice-list-title::before { background: var(--color-yel); }

/* hover 상태의 화살표 */
.notice-list-item:hover .notice-list-tag.gry ~ .notice-list-arrow { color: var(--color-gry); }
.notice-list-item:hover .notice-list-tag.brwn ~ .notice-list-arrow { color: var(--color-brwn); }
.notice-list-item:hover .notice-list-tag.blue ~ .notice-list-arrow { color: var(--color-blue); }
.notice-list-item:hover .notice-list-tag.grn ~ .notice-list-arrow { color: var(--color-grn); }
.notice-list-item:hover .notice-list-tag.sky ~ .notice-list-arrow { color: var(--color-sky); }
.notice-list-item:hover .notice-list-tag.skyb ~ .notice-list-arrow { color: var(--color-skyb); }
.notice-list-item:hover .notice-list-tag.yel ~ .notice-list-arrow { color: var(--color-yel); }



.m_br {display: none;}

/*header*/
#header {position:fixed; top:0; width:100%; height:100px; background:#fff; box-shadow:0px 5px 11px 0px rgb(50 50 50 / 8%); z-index:9999; display:flex; align-items:center;}

#header .logo {position:relative; /*top:50%; transform:translateY(-50%);*/ left:50px; width:400px; z-index:999;}
#header .logo a {display:inline-block; width:100%;}
#header .logo img {max-width:100%;}


#header .header-wrap {width:100%; max-width:1000px; height:100%; margin:0 auto; position:relative;}
#header .header-wrap .gnb {display:flex; align-items:center; height:100%; justify-content:space-between;}
#header .header-wrap .gnb li { text-align:center; font-family: 'ONE-Mobile-Regular', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;}
#header .header-wrap .gnb li a {width:100%; padding:0 30px; font-size:1.125rem; font-weight:600; letter-spacing:-0.03em; color:inherit;}
#header .header-wrap .gnb li a:hover {color:#656565;}

#header .login-menu {display:flex; position:relative; right:1%;}
#header .login-menu li {margin:0 4px; font-family: 'ONE-Mobile-Regular', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;}
#header .login-menu li a {display:inline-block; width:100%; padding:8px 18px;  border-radius:30px; border:1px solid #4DB7C4; box-sizing:border-box;}
#header .login-menu li a:hover {background:#4DB7C4; color:#fff; transition:.2s;}
.m-btn {display: none;}
.m-navWrap {display: none;}

@media screen and (max-width:1720px){
	#header .header-wrap {max-width:860px;}
	#header .header-wrap .gnb li a {padding:0 20px;}
}

@media screen and (max-width:1610px){
	#header .logo {width:350px; left:1%;}
}

@media screen and (max-width:1460px){
	#header .login-menu li a {font-size:0.875rem;}

	#header .header-wrap {max-width:760px;}
	#header .header-wrap .gnb li a {padding:0 10px;}
}

@media screen and (max-width:1340px){
	#header .logo {width:300px;}
}

@media screen and (max-width:1280px){
	#header .header-wrap {max-width:680px;}
}

@media (max-width:960px){
	#header .header-wrap {display: none;}
	#header .login-menu {display: none;}
	#header .m-btn {display:block; position: absolute; right:20px; top: 50%; transform:translateY(-50%); width: 36px; height: 36px; margin-left: 40px; background-color:transparent; border: none; font-size: 0; vertical-align: middle; text-indent: -9999px; cursor:pointer;}
	#header .m-btn .bar_top,
	#header .m-btn .bar_mid,
	#header .m-btn .bar_bot {display: block; position: absolute; right: 2px; width: 32px; height: 3px; background-color: #4DB7C4; transform-origin: top right; transition: background-color .3s ease-in-out; border-radius: 4px;}
	#header .m-btn .bar_top {top: 4px; width:30px;}
	#header .m-btn .bar_mid {top: 50%; width:40px; transform: translate(0, -50%);}
	#header .m-btn .bar_bot {bottom: 4px; width:34px;}

	.m-navWrap {display:block; position:fixed; right:0; top:0; width:0; overflow:hidden; height: 100%; z-index:1000;}
	
	.m-navWrap .bBg {display:none; background-color: rgba(0,0,0,0.3); width: 100%; height: 100%; position:absolute; z-index: 99; }
	
	.m-navWrap .m-navbox {position: absolute;  right: -100%; top:0; width: 70%; height: 100vh; overflow-y:scroll; background-color: #fff; z-index: 999; transition:all 0.5s;}
   	.m-navWrap .m-navbox.on {right: 0;}

	.m-navWrap .m-navbox .mn-top {position: relative; height: 90px; /*background-color: #c1c1c1;*/}
    .m-navWrap .m-navbox .mn-top .closeBtn {position: absolute; top: 50%; transform:translateY(-50%); right: 20px; width: 30px; height: 30px;}
    .m-navWrap .m-navbox .mn-top .closeBtn a {display: block; width: 100%; height: 100%; color: #4DB7C4;}
    .m-navWrap .m-navbox .mn-top .closeBtn .lnr-cross {font-size: 38px; color: #4DB7C4; font-weight: bold;}

    .m-navWrap .m-navbox .m-nav > li {position: relative;}
    .m-navWrap .m-navbox .m-nav > li > a {display: block; height: 90px; line-height: 90px; color: /*#383c46*/#4DB7C4; border-bottom: 1px solid #ddedef; text-indent: 20px; font-size:1.5rem; font-weight: 700; font-family: 'ONE-Mobile-Regular', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;}
	.m-login-menu {display:flex; }
	.m-login-menu li {margin:50px 20px 0; font-family: 'ONE-Mobile-Regular', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;}
	.m-login-menu li a {display:inline-block; width:100%; padding:10px 20px;  border-radius:30px; border:1px solid #4DB7C4; box-sizing:border-box; font-size:1.375rem; }
	.m-login-menu li a:hover {background:#4DB7C4; color:#fff; transition:.2s;}
}

@media (max-width:760px){
	.m-navWrap .m-navbox .m-nav > li > a {
		height: 60px;
		line-height: 60px;
		font-size: 1.125rem;
	}
	.m-login-menu li {
		margin: 30px 20px 0;
	}
	.m-login-menu li a {
		font-size: 1rem;
	}
	#header {
		height: 80px;
	}
	#header .logo {
		width: 250px;
	}
	#header .m-btn {
		width: 32px;
		height: 32px;
	}
	.m-navWrap .m-navbox .mn-top {
		height: 80px;
	}
}



/*footer*/
.cont-wrap2 {width:1280px; margin:0 auto;}





/* Main Visual */
#main-visual {
  width: 100%;
  position: relative;
  padding-bottom: 100px;
  box-sizing: border-box;
}

/* Wave Animation */
.main_bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0px;
  z-index: -1;
  overflow: hidden;
  opacity: 0.5;
}

.wave, .wave1, .wave2 {
  z-index: 1;
}

.wave {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg) repeat-x;
  position: absolute;
  left: 0;
  bottom: 0px !important;
  width: 6400px;
  pointer-events: none;
  z-index: 1;
  animation: waveMove 12s linear infinite;
  transform: scale(1.3);
}

.wave1 {
  height: 200px;
  filter: brightness(1.8) drop-shadow(0 8px 24px #4596ff9f);
  animation-delay: 0s;
  background-blend-mode: lighten;
}

.wave2 {
  height: 200px;
  filter: brightness(1.5) blur(1.5px) drop-shadow(0 12px 32px #4fdcffb9);
  animation-delay: -1s;
  background-blend-mode: lighten;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg) repeat-x;
  mix-blend-mode: lighten;
}

@keyframes waveMove {
  0% { margin-left: 0; }
  100% { margin-left: -1600px; }
}


.main-hero-grid {
  z-index: 1;
  overflow: hidden;
  display: flex;
  gap: 32px;
  margin: 150px auto 30px;
  width: 80%;
  max-height: 650px;
  box-sizing: border-box;
}

/* 메인 왼쪽 슬라이드 */
.main-card-slider {
  width: 70%;
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
}


.main-card-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transition: background 0.3s, width 0.3s;
}

.main-card-slider .swiper-pagination-bullet-active {
  background: #fff;
  width: 30px;
  border-radius: 16px;
}

.main-card-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  box-shadow: 0 12px 40px rgba(35,166,183,0.25);
}

.main-card {
  width: 100%;
  display: flex;
  border-radius: 30px;
  padding: 45px 40px;
  box-sizing: border-box;
  background: #61acf3;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.main-card-content-wrap {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.main-card-texts {
  flex: 1 1 0;
}

.main-card-label {
  font-size: 16px;
  color: #fff;
  margin-bottom: 30px;
}

.main-card-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: #fff;
}

.main-card-desc {
  font-size: 20px;
  color: #eaf6fa;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 24px;
}

.main-card-img {
  height: 300px;
  width: auto;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}

.main-card.a .main-card-img {
  height: 260px;
}

.main-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff;
  color: #61acf3;
  font-size: 16px;
  font-weight: 700;
  padding: 7px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(97,172,243,0.10);
}

/* 메인 오른쪽 슬라이드 */
.main-card-right-col {
  display: flex;
  flex-direction: column;
  width: 30%;
  height: 600px;
  justify-content: stretch;
}

.main-stats-slider {
  background: #ffd471;
  border-radius: 16px;
  padding: 20px 0px !important;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-stats-slider.vertical {
  height: 600px;
  padding: 20px !important;
  box-sizing: border-box;
}

.main-stats-slider>.swiper-wrapper {
  width: 100%;
}

.stats-slide {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  /* margin: 12px 0; */
  overflow: hidden;
  transition: all 0.3s ease;
}

.stats-left {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.stats-right {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.main-stats-icon {
  width: 60px;
  height: 60px;
  background: #4DB7C4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(77, 183, 196, 0.2);
  transition: all 0.3s ease;
}

.stats-slide:hover .main-stats-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(77, 183, 196, 0.3);
}

.main-stats-icon>i {
  font-size: 26px;
  color: #fff;
}

.main-stats-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
  overflow: hidden;
  /* text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; */
}

.main-stats-number {
  font-size: 32px;
  font-weight: 700;
  color: #4DB7C4;
  overflow: hidden;
  text-shadow: 0 2px 10px rgba(77, 183, 196, 0.1);
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
}

.main-stats-unit {
  font-size: 18px;
  font-weight: 500;
  color: #666;
  margin-left: 5px;
}



/* 공통 */

.section {
  margin: 0 auto 120px;
  width: 80%;
}

.section-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 60px;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 1px;
  background: linear-gradient(to right, rgba(99, 102, 241, 0.2), rgba(16, 185, 129, 0.2), rgba(99, 102, 241, 0.2));
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  position: relative;
  letter-spacing: -0.02em;
  color: #23A6B7;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  display: inline-block;
  flex: 1;
  width: 100%;
}

.section-title::after {
  margin-top: 8px;
  display: block;
  position: static;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title-wrapper {
  display: flex;
  gap: 1rem;
}

.section-subtext {
  font-size: 20px;
  color: #676767;
  line-height: 1.5;
  display: flex;
  align-items: center;  
  justify-content: center;
  font-weight: 600;
}





/* Story Section */
.story-section {
  padding-top: 200px;
  box-sizing: border-box;
}

.story-section-grid {
  width: 100%;
  display: flex;
  gap: 40px;
  margin: 0 auto;
}

.story-section-left {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 8px;
}

.story-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.story-section-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 19px;
  padding-left: 19px;
  color: #23A6B7;
  position: relative;
  letter-spacing: -0.16px;
}

.story-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #23A6B7;
}

.story-section-subtext {
  width: 85%;
  font-size: 20px;
  color: #676767;
  line-height: 1.7;
  font-weight: 600;
  margin: 0 0 50px;
  padding-left: 18px;
  box-sizing: border-box;
}

.story-section-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 8px;
}

.story-tag {
  display: inline-block;
  background: #f3f4f6;
  color: #222;
  font-size: 18px;
  font-weight: 600;
  border-radius: 20px;
  padding: 8px 19px;
}

.story-section-right {
  flex: 1;
}

.story-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.story-card {
  background-clip: padding-box;
  transition: box-shadow 0.3s;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  aspect-ratio: 4/3;
  border: solid 1px #eee;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(35,166,183,0.15);
  transition: all .3s ease-in-out;
}

.story-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
}

.story-card-desc {
  padding: 19.2px 19.2px 19.2px 0;
  font-size: 16px;
  color: #222;
  flex: 1;
  display: none;
}


/* Section Viz */
.section-viz {
  padding: 0 !important;
}

.section-viz .section-title-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.viz-section-title {
  text-align: center;
}

.viz-section-title::before {
  display: none;
}


/* Viz Grid */
.viz-grid {
  width: 100%;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.viz-card {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(35,166,183,0.10);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  max-height: 360px;
  background: #23a6b716;
}

.viz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(35,166,183,0.15);
}

.viz-header {
  height: 20%;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
  align-items: center;
}

.viz-title {
  font-size: 18px;
  font-weight: 600;
  color: #23A6B7;
  line-height: 1.4;
  display: block;
}

.viz-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.viz-preview {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.viz-preview svg {
  width: 100% !important;
  height: 100% !important;
  padding: 40px 20px;
  box-sizing: border-box;
}

.viz-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.viz-card:hover .viz-overlay {
  opacity: 1;
  pointer-events: auto;
}

.viz-detail-button {
  padding: 11.2px 22.4px;
  background-color: #23A6B7;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(35,166,183,0.10);
  transform: translateY(20px);
  opacity: 0;
}

.viz-card:hover .viz-detail-button {
  transform: translateY(0);
  opacity: 1;
}

.viz-detail-button:hover {
  background-color: #1B8A98;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(35,166,183,0.13);
}



/* map Banner */
.map-banner {
  width: 80%;
  background: #61acf3;
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 128px 40px;
  box-sizing: border-box;
  margin: 128px auto;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(97,172,243,0.10);
}

.map-banner-content {
  z-index: 2;
  max-width: 60%;
}

.map-banner-title {
  font-size: 51px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.16px;
}

.map-banner-desc {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 24px;
  font-weight: 400;
}

.map-banner-btn {
  display: inline-block;
  background: #fff;
  color: #61acf3;
  font-weight: 700;
  font-size: 16px;
  border-radius: 20px;
  padding: 13px 32px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(97,172,243,0.10);
  transition: all 0.2s;
  margin-top: 8px;
}

.map-banner-btn:hover {
  background: #ffc94f;
  color: #222;
}

.map-banner-illust {
  position: absolute;
  right: 35px;
  bottom: 25px;
  width: 180px;
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
}

.map-banner-illust.a {
  width: 500px;
  z-index: 1;
  opacity: 0.95;
  right: 9%;
  bottom: -50px;
  pointer-events: none;
  opacity: 0.85;
}



/* Double Section */
.double-section {
  display: flex;
  gap: 40px;
  margin: 0 auto 120px;
  width: 80%;
}

.double-section-header {
  align-items: baseline;
  margin-bottom: 40px;
}

.double-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* 시각화 데이터 그리드 조정 */
.double-col .viz-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
}

.double-col .viz-card {
  max-height: 280px;
}

.double-col .viz-header {
  height: 15%;
  padding: 15px;
}

.double-col .viz-content {
  height: 85%;
  padding: 15px;
}

.double-col .viz-title {
  font-size: 16px;
}

/* 반응형 조정 */
@media screen and (max-width: 1280px) {
  .double-section {
    flex-direction: column;
    gap: 60px;
  }
  
  .double-col .viz-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 993px) {
  .double-col .viz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .double-col .viz-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.notice-list-container {
  border: solid 1px #eee;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(35,166,183,0.15); 
}

.notice-list-item {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  text-decoration: none;
  color: #454545;
  border-bottom: 1px solid #eee;
  position: relative;
  transition: all 0.3s ease;
  background: white;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  font-weight: 500;
}

/* 순차적 애니메이션을 위한 딜레이 설정 */
.notice-list-item:nth-child(1) { animation-delay: 0.1s; }
.notice-list-item:nth-child(2) { animation-delay: 0.2s; }
.notice-list-item:nth-child(3) { animation-delay: 0.3s; }
.notice-list-item:nth-child(4) { animation-delay: 0.4s; }
.notice-list-item:nth-child(5) { animation-delay: 0.5s; }

.notice-list-item:last-child {
  border-bottom: none;
}

.notice-list-item:hover {
  background: rgb(236, 247, 253);
  padding-left: 40px;
}

/* .notice-list-item:hover::before {
  transform: scaleY(1);
} */

.notice-pin {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--accent);
  font-size: 14px;
  animation: bounce 2s infinite;
}

.notice-list-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  color: var(--main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 20px;
}

/* .notice-list-item:hover .notice-list-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--main);
  color: white;
} */

.notice-list-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 25px;
  transition: all 0.3s ease;
  padding: 8px 16px;
  box-sizing: border-box;
  font-size: 16px;
}

.notice-list-date {
  font-size: 14px;
  color: #545454;
  font-weight: 600;
  margin-right: 25px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}



.notice-list-tag {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 20px;
    padding: 8px 16px;
    box-sizing: border-box;
    margin-right: 20px;
    min-width: 100px;
    text-align: center;
    letter-spacing: 0.32px;
    transition: background 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.notice-list-item.active .notice-list-title {
  font-size: 18px;
  font-weight: 700;
}

.notice-list-item.active .notice-list-tag.gry ~ .notice-list-arrow { color: var(--color-gry); }
.notice-list-item.active .notice-list-tag.brwn ~ .notice-list-arrow { color: var(--color-brwn); }
.notice-list-item.active .notice-list-tag.blue ~ .notice-list-arrow { color: var(--color-blue); }
.notice-list-item.active .notice-list-tag.grn ~ .notice-list-arrow { color: var(--color-grn); }
.notice-list-item.active .notice-list-tag.sky ~ .notice-list-arrow { color: var(--color-sky); }
.notice-list-item.active .notice-list-tag.skyb ~ .notice-list-arrow { color: var(--color-skyb); }
.notice-list-item.active .notice-list-tag.yel ~ .notice-list-arrow { color: var(--color-yel); }

.notice-list-item.gry:hover .notice-list-arrow { color: var(--color-gry); }
.notice-list-item.brwn:hover .notice-list-arrow { color: var(--color-brwn); }
.notice-list-item.blue:hover .notice-list-arrow { color: var(--color-blue); }
.notice-list-item.grn:hover .notice-list-arrow { color: var(--color-grn); }
.notice-list-item.sky:hover .notice-list-arrow { color: var(--color-sky); }
.notice-list-item.skyb:hover .notice-list-arrow { color: var(--color-skyb); }
.notice-list-item.yel:hover .notice-list-arrow { color: var(--color-yel); }

.notice-list-arrow {
  color: #4DB7C4;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-10px);
  font-size: 20px;
}



.notice-list-item:hover .notice-list-arrow {
  color: #4DB7C4;
  opacity: 1;
  transform: translateX(0);
}


.notice-list-item.active .notice-list-tag {
  display: none;
}

.double-title-wrapper {
  margin-right: 10px;
}


.double-more-btn {
  background: #23A6B7;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 2;
  position: relative;
  flex-shrink: 0;
}

.double-more-btn:hover { 
  background: #1B8A98;
}

.double-more-btn::after {
  content: '\f067';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  display: block;
  font-size: 18px;
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .3s ease-in-out;
}

.double-more-btn:hover::after {
  transform: translate(-50%, -50%) rotate(180deg);
}

@media screen and (max-width: 993px) {
  .double-more-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}

@media screen and (max-width: 768px) {
  .double-more-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}




/* 반응형 */

@media screen and (max-width: 1645px) {
  
  .main-card-img {
    height: 250px;
  }


  .main-stats-title {
    font-size: 16px;
  }


}

@media screen and (max-width: 1440px) {


  .main-stats-icon {
    width: 50px;
    height: 50px;
  }

}

@media screen and (max-width: 1280px) {

  .br {
    display: none;
  }
  .main-hero-grid,
  .section {
    width: 90%;
  }
  .map-banner {
    width: 95%;
  }

  .main-card-title {
    font-size: 36px;
  }

  .main-card-desc {
    font-size: 16px;
  }

  .main-card-img {
    height: 200px;
  }

  .main-stats-icon {
    width: 60px;
    height: 60px;
  }

  .story-section-grid {
    flex-direction: column;
  }

  .story-section-left {
    flex: 1;
    margin-top: 0;
  }

  .story-title-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-left: 0;
    margin-bottom: 30px;
  }

  .story-section-title {
    margin-bottom: 20px;
  }

  .story-section-subtext {
    width: 60%;
    margin-bottom: 0;
  }

  .story-section-tags{
    padding-left: 0;
    flex-direction: row;
    justify-content: flex-end;
  }


  .viz-header {
    height: 20%;
  }

  .viz-content {
    height: 80%;
  }

  .map-banner-title {
    font-size: 42px;
  }
  
}

@media screen and (max-width: 1280px) {


  .main-hero-grid {
    flex-direction: column;
    max-height: none;
    gap: 20px;
  }

  .main-card-slider {
    width: 100%;
    height: 550px;
    min-height: 550px;
  }

  .main-card {
    padding: 40px 35px;
    height: 100%;
    min-height: 550px;
  }

  .main-card-content-wrap {
    padding: 20px 0;
  }

  .main-card-badge {
    font-size: 14px;
  }

  .main-card-texts {
    flex: 1;
    padding-right: 20px;
  }


  .main-card-desc {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .main-card-img {
    height: 220px;
    width: auto;
    object-fit: contain;
  }

  .main-card-right-col {
    width: 100%;
    height: 200px;
  }

  .main-stats-slider.vertical {
    height: 200px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
  }

  /* .main-stats-slider>.swiper-wrapper {
    width: 95%;
    margin: 0 auto;
  } */

  
  /* .stats-slide {
    width: 90% !important;
    padding: 20px;
  } */


  .story-section-subtext {
    width: 100%;
  }

  .story-section-tags {
    width: 100%;
  }

}

@media screen and (max-width: 993px) {
  .main-card.a .main-card-img{
    height: 180px;
  }

  .story-section {
    padding-top: 150px;
  }

  .story-section-title,
  .section-title {
    font-size: 40px;
  }
  .section-subtext {
    font-size: 18px;
  }

  .story-section-subtext {
    font-size: 18px;
    margin-bottom: 20px;
  }
  

  .story-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;  
  }
  .story-section-tags {
    padding-left: 8px;
    justify-content: flex-start;
  }
  .story-tag {
    font-size: 16px;
  }


  .viz-header {
    height: 15%;
  }
  .viz-content {
    height: 85%;
  }

  .viz-title {
    font-size: 16px;
  }

  .map-banner-title {
    font-size: 38px;
  }

  .map-banner-desc {
    font-size: 16px;
  }

  .map-banner-illust.a {
    width: 350px;
    bottom: 0;
    right: 0%;
  }

  .map-banner-illust {
    width: 150px;
  }

  .double-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .double-section-subtext {
    margin-bottom: 20px;
  }

}

  @media screen and (max-width: 768px) {

        
    .section-subtext,
    .story-section-subtext {
      font-size: 16px;
    }


    .main-card-content-wrap {
      width: 100%;
      flex-direction: column;
      gap: 20px;
    }

    .main-card-texts {
      width: 90%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
    }

    .main-card-title {
      font-size: 34px;
      margin-bottom: 15px;
    }
  
    .main-card-desc {
      font-size: 16px;
      margin-bottom: 20px;
    }

    .main-card {
      padding: 20px 15px;
    }
  
    .main-card-img {
      height: 180px;
    }

    .stats-slide {
      padding: 15px;
    }
    
    /* .main-stats-icon {
      width: 42px;
      height: 42px;
      margin-right: 12px;
    }
    
    
    .main-stats-title {
      font-size: 14px;
      margin-bottom: 8px;
    }
    
    .main-stats-number {
      font-size: 24px;
    }
    
    .main-stats-unit {
      font-size: 14px;
    } */


    .story-section-tags {
      padding-left: 0;
    }

    .story-tag {
      font-size: 14px;
    }

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

    .map-banner {
      padding: 80px 40px;
      margin: 80px auto;
    }


    .map-banner-illust.a {
      width: 230px;
      right: -10%;
      bottom: 10%;
    }

    .map-banner-illust {
      width: 100px;
    }


    .notice-list-tag {
      font-size: 14px;
    }

    .notice-list-title {
      font-size: 16px;
    }

    .notice-list-item:hover .notice-list-title ,
    .notice-list-item.active .notice-list-title  {
      font-size: 16px;
    }

  }


  @media screen and (max-width: 480px) {

    .main-card-title {
      font-size: 28px;
    }

    .story-section {
      padding-top: 100px;
    }

    .story-section-title, .section-title {
      font-size: 36px;
    }


    .story-section-tags {
      display: block;
      width: 100%;
    }

    .story-tag {
      margin-bottom: 10px;
    }

    .viz-title {
      font-size: 14px;
    }

    .viz-section-subtext {
      text-align: center;
      flex-direction: column;
    }
    
    .viz-section-subtext>.br {
      display: block;
    }

    .map-banner {
      margin: 40px auto;
    }

    .notice-list-item {
      padding: 20px 15px;
    }
    .notice-list-tag {
      padding: 6px;
      margin-right: 10px;
    }
    .notice-list-title {
      margin-right: 10px;
      padding: 4px 8px;
    }
    .notice-list-date {
      display: none;
    }
  }

/* Story Section 내부 요소 조정 */
.story-section .viz-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}

.story-section .viz-card {
  max-height: 280px;
}

.story-section .viz-header {
  height: 15%;
  padding: 15px;
}

.story-section .viz-content {
  height: 85%;
}

.story-section .viz-title {
  font-size: 16px;
}

.story-section .notice-list-container {
  margin-bottom: 0;
}

/* 반응형 조정 */
@media screen and (max-width: 1645px) {
  .story-card-grid,
  .story-section .viz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1280px) {
  .story-card-grid,
  .story-section .viz-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 993px) {
  .story-card-grid,
  .story-section .viz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .story-card-grid,
  .story-section .viz-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

