
/* 기본: body를 모바일 폭 컨테이너로 */
body.home-new { margin: 0 auto; background: #fff;}
/* 큰 화면 양옆 배경 */
html:has(body.home-new) { background: #ffffff;}


.mobile-header.home-new-mode .home-search-bar-wrap { width: 100%; padding: 8px 16px 12px;background: #fff; border-bottom: 1px solid #EBEBEB;}
.mobile-header.home-new-mode .home-search-trigger { display: flex; align-items: center; gap: 8px; width: 100%; height: 44px;padding: 0 14px; background: #f5f5f5; border-radius: 22px; text-decoration: none;color: #999;}
.mobile-header.home-new-mode .home-search-trigger .ico.search { width: 18px; height: 18px;flex-shrink: 0; background: url("../../images/main/search_icon_gray.svg") 50% 50% / contain no-repeat;}
.mobile-header.home-new-mode .home-search-trigger .placeholder { font-size: 14px; letter-spacing: -0.5px;}

/* 왼쪽 메뉴 아이콘 (left-wrap 전용)
   home-new-mode가 누락/변경되어도 표시되도록 selector를 넓게 잡습니다. */
.mobile-header .left-wrap .left-icons .icon .ico.menu { background: url("../../images/icon/menu-icon.svg") 50% 50% / contain no-repeat; width: 18px; height: 18px;}
.home-new-mode.mobile-header.white-design .top-bar{border-bottom: none;}
.home-new-mode.mobile-header .gdgnb_menu{padding: 0;}
.home-new-mode.mobile-header .gdgnb_menu .swiper .swiper-wrapper{gap: 0;}
.home-new-mode.mobile-header .gdgnb_menu .swiper .swiper-wrapper .swiper-slide{flex: 1;max-width: none;}



/* home */
/* 메인 */
.main-wrap { display: flex; flex-direction: column; width: 100%; gap: 30px; padding-bottom: 120px; box-shadow: none;} 
.guide-wrap{gap: 0; padding-bottom: 0;background-color: #ffffff;}
.home-new .beltBanner-close{right: 1%;}
.home-new .footer .footer-corp-wrap{padding: 0 16px 50px;}
.home-new .footer .footer-corp-wrap .corp-row{flex-direction: column;gap: 20px;}
.home-new .footer .corp-cs-wrap .corp-cs{flex-direction: column;gap: 10px;}
.home-new .v-line{width: 100%; height: 1px; display: block; background-color: #efefef;}
.footer .footer-corp-wrap .corp-row .corp-info .tit{color: #555555;}
/* 메인 슬라이드 */
.home-new .main-event-slide {  width: 100%; height: 100%; position: relative; max-width: 1920px; margin: 0 auto; } 
.home-new .main-event-slide .swiper-wrapper { position: relative; } 
.home-new .main-event-slide .swiper { width: 100%; height: 100%; } 
.home-new .main-event-slide .swiper-slide { width: 100%; height: 100%; } 
.home-new .main-event-slide .swiper-slide .slide { width: 100%; height: 100%; display: block; background-color: #000000; } 
.home-new .main-event-slide .swiper-slide .image { width: 100%; min-width: 0;  object-fit: cover; display: block; } 
/* .home-new .main-event-slide .swiper-slide .image.event1 { background: url("../../images/main/slide/slide1-1.jpg") 50% 50% no-repeat; background-size: cover; } 
.home-new .main-event-slide .swiper-slide .image.event2 { background: url("../../images/main/slide/slide2.jpg") 50% 50% no-repeat; background-size: cover; } 
.home-new .main-event-slide .swiper-slide .image.event3 { background: url("../../images/main/slide/slide3.jpg") 50% 50% no-repeat; background-size: cover; }  */
.home-new .main-event-slide .wrapper { max-width: 1280px; width: 100%; height: 100%; position: absolute; margin: 0 auto; top: 0; left: 50%; transform: translate(-50%, 0); z-index: 1; pointer-events: none; } 
.main-event-slide .wrapper .wrpr { width: 100%; height: 100%; position: relative; } 
.main-event-slide .wrapper .wrpr .swiper-controls.is-hidden { display:none !important; }
.main-event-slide .wrapper .wrpr .swiper-controls .swiper-pagination { width: 100%; display: flex; justify-content: flex-end; } 
.main-event-slide .wrapper .wrpr .swiper-controls .swiper-pagination .pagination { width:fit-content; display:flex; background-color:#00000099; border-radius:25px; flex-direction:row; align-items:center; gap:5px; padding:10px; justify-content:center } 
.main-event-slide .wrapper .wrpr .swiper-controls .swiper-pagination .pagination span { color:#eee; font-size:14px; line-height:1; letter-spacing:-.5px; font-weight:700 } 
.main-event-slide .wrapper .wrpr .swiper-controls .swiper-pagination .pagination .current-num { color:#fff } 
.main-event-slide .wrapper .wrpr .swiper-controls .swiper-button { width:55px; height:55px; border-radius:55px; background-color:#ffffff60; transition:.3s; pointer-events:auto } 
.main-event-slide .wrapper .wrpr .swiper-controls .swiper-button:hover { background-color:#ffffff80 } 
.main-event-slide .wrapper .wrpr .swiper-controls .swiper-button-next:after,.main-event-slide .wrapper .wrpr .swiper-controls .swiper-button-prev:after { font-size:16px; color:#fff; font-weight:600 } 
.main-event-slide .wrapper .wrpr .mobile-only { display:none; width:100%; height:100%; align-items:center; gap:8px; align-items:flex-end; justify-content:flex-end; padding:16px } 
.main-event-slide .wrapper .wrpr .mobile-only .mobile-wrap { display:flex; flex-direction:row; align-items:center; gap:10px } 
.main-event-slide .wrapper .wrpr .mobile-only
.mobile-wrap .info-wrap { display:flex; flex-direction:row; align-items:center; gap:10px; width:fit-content; background-color:#00000099; padding:10px; border-radius:30px } 
.main-event-slide .wrapper .wrpr .mobile-only .mobile-wrap .info-wrap span { font-size:12px; color:#fff; font-weight:500 } 
.main-event-slide .wrapper .wrpr .mobile-only .mobile-wrap .info-wrap .swiper-next-btn.swiper-button { width:14px; height:14px; border-radius:0; background-color:transparent; pointer-events:auto;display: flex; align-items: center;  justify-content: center;} 
.main-event-slide .wrapper .wrpr .mobile-only .mobile-wrap .info-wrap .swiper-next-btn.swiper-button i{color: #fff;font-size: 14px;}
.main-event-slide .wrapper .wrpr .mobile-only .mobile-wrap .info-wrap .swiper-next-btn { padding:0 } 
.main-event-slide .wrapper .wrpr .mobile-only .mobile-wrap .swiper-toggle-btn { pointer-events:auto; width:34px; height:34px; border-radius:34px; padding:0 } 
.main-event-slide .wrapper .wrpr .mobile-only .mobile-wrap .swiper-toggle-btn i{color: #fff;font-size: 14px;}
.home-new .slider-responsive-bg { width: 100% !important; height: 400px !important; background-size: cover !important; background-position: center center !important;}


.section-title-wrap{display: flex; padding: 0 16px 16px; flex-direction: row; justify-content: space-between; align-items: flex-end;flex-wrap: wrap}
.sec-tit{display: flex; flex-direction: column; gap: 6px; align-items: flex-start;flex: 1;}
.section-label{display: flex; padding: 2px 8px; border-radius: 50px; font-size: 13px; letter-spacing: -0.5px;  align-items: center; justify-content: center;font-weight: 600;}
.section-title{font-size: 22px; font-weight: 700; color: #1A1A2E; letter-spacing: -0.5px;}
.section-desc{font-size: 15px; letter-spacing: -0.75px; color: #888; line-height: 1.4; font-weight: 400;}

.orange{background-color: #FFF0EB; color: #FF6B35;}
.green{background-color: #EAF8F1; color: #23B16C;}


.view-btn{display: flex;flex-direction: row; align-items: flex-end; gap: 2px;}
.view-btn span{font-size: 14px; letter-spacing: -0.75px; color: #999;font-weight: 500; line-height: 1.4;}
.view-btn .arrow{width: 14px;height: 24px;background: url("../../images/icon/arrow-next-icon.svg") 50% 50% no-repeat; background-size: contain;}


.home-new .footer .service-support .family_link{justify-content: flex-start;}
.home-new .footer .service-support .family_link .link{flex: 1;}
.home-new .footer .service-support .family_link .link>a span{font-size: 12px;}

.home-card-section { width: 100%;overflow: hidden;display: flex;  flex-direction: column; gap: 20px;}
.home-card-swiper-wrap {width: 100%;;overflow: visible;box-sizing: border-box;}
.js-home-card-swiper {overflow: visible;}
.js-home-card-swiper .swiper-slide {width: 290px;}
.home-card-swiper-wrap{width: 100%;}
.home-card-item::after { content: "";position: absolute; inset: 0; z-index: 1;}
.home-subscribe-card{width: 100%; height: 100%;display: block;font-size: 0;border-radius: 14px; overflow: hidden;}
.home-subscribe-card img{width: 100%; height: 100%; object-fit: cover;}
.home-card-content { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 2; color: #fff;display: flex; flex-direction: column;justify-content: flex-start;gap: 20px;}
.home-card-content .content{display: flex; flex-direction: column; justify-content: flex-start;gap: 4px;}
.home-card-content h3 {font-size: 1.6rem; line-height: 1.25; font-weight: 800; letter-spacing: -1px;}
.home-card-content p { font-size: 1rem; line-height: 1.4; font-weight: 500;color: #fff;}
.home-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.home-card-tag {display: inline-flex;align-items: center; height: 30px; padding: 0 12px; border-radius: 6px; background: rgba(0, 0, 0, 0.25); font-size: 0.85rem;color: #fff; width: fit-content;}
.home-card-arrow {position: absolute; right: 20px; bottom: 22px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.28);}
.home-card-arrow::after { content: ""; position: absolute; top: 50%; left: 47%; width: 8px; height: 8px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg);}


.home-rental-section{border-top: 8px solid #F7F8FA; padding-top: 30px; width: 100%; display: flex; flex-direction: column;gap: 14px;}
.home-rental-list{width: 100%; display: flex;flex-direction: column; gap: 12px; padding: 0 16px;}
.home-rental-item {position: relative; display: flex; gap: 16px; width: 100%; min-height: 178px;}
/* 상품 이미지 */
.rental-thumb {position: relative; flex: 0 0 160px; width: 160px;height: 178px; border-radius: 10px; overflow: hidden; background: #f3f3f3; text-decoration: none;}
.rental-thumb img { display: block; width: 100%;height: 100%;object-fit: cover;}

/* 배지 */
.rental-badge { position: absolute; top: 9px; left: 9px; z-index: 2; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 700; line-height: 1;}

.rental-badge.orange { background: #ff6b35;}
.rental-badge.purple { background: #6c63ff;}
.rental-badge.green { background: #00a862;}


/* 찜 버튼 */
.wish-btn { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: #b8b8b8; font-size: 19px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); display: flex; align-items: center; justify-content: center;}
.wish-btn i{width: 14px; height: 14px;background: url("../../images/icon/heart_off_icon.svg") 50% 50% no-repeat; background-size: contain;transition: all 0.3s;}
.wish-btn.active i{background: url("../../images/icon/heart_on_icon.svg") 50% 50% no-repeat;background-size: contain;}
/* 상품 정보 */
.rental-info { flex: 1; min-width: 0; padding-top: 8px; color: inherit; text-decoration: none;text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;}
.rental-info .title{display: flex;flex-direction: column;align-items: flex-start;gap: 4px;}
.rental-benefit{display: flex; flex-direction: row;justify-content: flex-start; align-items: center;}
.rental-benefit .light{width: 12px;height: 12px; background: url("../../images/icon/lightning-icon.svg") 50% 50% no-repeat; background-size: contain;}
.rental-benefit p{ font-size: 12px; font-weight: 700; color: #4b63ff; letter-spacing: -0.75px; line-height: 1.2;}
.rental-name { display: -webkit-box; font-size: 16px; font-weight: 800;  line-height: 1.4;  color: #111; letter-spacing: -0.7px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.rental-price {display: flex; align-items: baseline;gap: 4px;white-space: nowrap;}
.rental-price strong { font-size: 22px; font-weight: 900; color: #13a863;letter-spacing: -0.8px;}
.rental-price span { font-size: 12px; color: #aaa; letter-spacing: -0.4px;}
.rental-rating { font-size: 12px; color: #777; letter-spacing: -0.3px;}
.rental-rating span {color: #ffb23f;}
.rental-rating em {  font-style: normal; color: #999;}



/* 마켓 */
.market-section {width: 100%;display: flex;  flex-direction: column; gap: 20px;border-top: 8px solid #F7F8FA; padding-top: 30px; }
.market-section .section-title-wrap { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;}
.market-section .section-label.orange { color: #ff6b35; background: #fff0e9;}
.market-card-list {display: flex; flex-direction: column; gap: 12px;padding: 0 16px;}
.market-empty-text {padding: 20px 0; text-align: center; font-size: 14px; color: #999; letter-spacing: -0.4px;}
.market-card {position: relative; display: flex;width: 100%; height: 100%; align-items: flex-end; min-height: 160px;padding: 34px 18px 22px; border-radius: 10px; overflow: hidden;text-decoration: none;}
.market-card.orange {background: #fff2ec; color: #FF6B35;}
.market-card.green { background: #edf8ef; color: #00C955;}
.market-card.blue {background: #edf8ff;color: #28A4FF;}
.market-card-text {width: auto; min-width: 0; flex: 1 1 auto; position: relative;z-index: 2;display: flex; flex-direction: column; align-items: flex-start; gap: 4px;}
.market-card h3 {font-size: 22px;font-weight: 800;line-height: 1.2;letter-spacing: -0.8px;}
.market-card p {max-width: 100%;font-size: 15px;font-weight: 600;line-height: 1.35;letter-spacing: -0.5px;overflow-wrap: anywhere;}
.market-card.orange p { color: #FF6B35;}
.market-card.green p{  color: #00C955;}
.market-card.blue p{color: #28A4FF;}
.market-tags { display: flex; flex-wrap: wrap; gap: 6px;padding-top: 8px;}
.market-tags span { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;  font-size: 13px; font-weight: 500;}

.orange .market-tags span {  background:#ff6b3510; color: #E99576;}
.green .market-tags span {  background:#1BB85E10; color: #7BBA96;}
.blue .market-tags span {  background:#28A4FF10; color: #88B9DD;}


.market-card .market-card-image { position: absolute; right: 10px; top: 10px; width: 60px; height: 60px; z-index: 1;display: block;}
.market-card .market-card-image img{width: 100%;height: 100%;object-fit: contain;}
.market-content{width: 100%; height: 100%; display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end;}
.market-arrow { min-width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0.9;}
.market-card.orange .market-arrow { background: #ffc7b7;}
.market-card.green .market-arrow { background: #9ee8bd;}
.market-card.blue .market-arrow { background: #aee1ff;}
.market-arrow i{width: 16px; height: 16px;background: url("../../images/icon/right-arrow-icon.svg") 50% 50% no-repeat; background-size: contain;}
.market-all-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 1px solid #eee; border-radius: 8px; background: #fff;  color: #696969; font-size: 14px; font-weight: 600; letter-spacing: -.75px;  text-decoration: none;}
.market-all-btn i{width: 16px; height: 16px;background: url("../../images/icon/arrow-next-icon.svg") 50% 50% no-repeat; background-size: contain;}

/* =========================
   home-new 기부 섹션
========================= */
.donation-section {border-top: 8px solid #F7F8FA; padding-top: 30px; width: 100%; display: flex; flex-direction: column;gap: 14px;}

.donation-section .section-label.green { color: #16a765; background: #eaf8ef;}

/* 누적 기부금 카드 */
.donation-total-card-wrap{width: 100%;  display: flex;  flex-direction: column;  gap: 14px;  padding: 0 16px;}
.donation-total-card {width: 100%; /* height: 150px; */ height: auto; padding: 16px;  border-radius: 10px;  background: linear-gradient(135deg, #12aa62 0%, #008d55 100%);  color: #fff; display: flex; flex-direction: column; justify-content: space-between;gap: 20px;}
.card-content-text{width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;}
.donation-total-label {display: flex; align-items: center; gap: 5px;  font-size: 15px; letter-spacing: -0.75px; font-weight: 600; color: #ADFFD6;}
.heart-icon {width: 14px; height: 14px;background: url("../../images/icon/main-heart-icon.svg") 50% 50% no-repeat; background-size: contain;}
.donation-total-price {display: flex; align-items: flex-end; flex-direction: row; font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -0.8px;color: #fff;}
.donation-total-price span { font-size: 18px; font-weight: 700;color: #fff;}
.donation-progress-wrap {display: flex; align-items: center;gap: 12px;}
.donation-progress-bar { flex: 1; height: 10px; border-radius: 999px; background: rgba(0, 80, 45, 0.45); overflow: hidden;}
.donation-progress-bar span { display: block; height: 100%; border-radius: 999px; background: #8cffb4;}
.donation-progress-percent { font-size: 12px; font-weight: 600;  white-space: nowrap; letter-spacing: -0.75px;}
.donation-total-desc{display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 2px;}
.donation-total-desc i{width: 14px; height: 14px;background: url("../../images/main/sprout.png") 50% 50% no-repeat; background-size: contain;}
.donation-total-desc p{ font-size: 14px; font-weight: 400; letter-spacing: -0.75px; color: rgba(255, 255, 255, 0.8);}
/* 랭킹 카드 */
.donation-ranking-card { padding-bottom: 18px; border-radius: 10px; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);overflow: hidden;}
.donation-ranking-title {display: flex;  align-items: center; gap: 6px; height: 48px; padding: 0 16px; background: #1B955A; color: #fff;}
.rank-icon {width: 14px; height: 14px;background: url("../../images/icon/rank-icon.svg") 50% 50% no-repeat; background-size: contain;}

.donation-ranking-title h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.5px;}
.donation-ranking-list { padding: 14px 16px 16px; list-style: none;display: flex; flex-direction: column; gap: 10px;}
.donation-ranking-list li { display: flex; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 4px;background: #fff;box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.04);}
.donation-empty { justify-content: center; color: #aaa; font-size: 14px; box-shadow: none; }

.rank-num { flex: 0 0 28px;  width: 28px; height: 28px;  margin-right: 14px;  border-radius: 50%;  background: #f9f9f9;  color: #BBBBBB;  font-size: 13px;  font-weight: 700;  display: flex; align-items: center;  justify-content: center; border: 1px solid #e5e5e5;}

.rank-num.gold {background: url(../../images/user/gold.png) 50% 50% no-repeat;background-size: contain; font-size: 0; border: none;}
.rank-num.silver {background: url(../../images/user/silver.png) 50% 50% no-repeat; background-size: contain;font-size: 0;border: none;}
.rank-num.bronze {background: url(../../images/user/bronze.png) 50% 50% no-repeat; background-size: contain;font-size: 0;border: none;}

.rank-name { flex: 1; min-width: 0; font-size: 16px; font-weight: 800; color: #00BD61; letter-spacing: -0.4px;}
.donation-ranking-list li:not(.top-rank) .rank-name {color: #333;}
.rank-amount {font-style: normal; font-size: 15px; font-weight: 800; color: #00BD61; white-space: nowrap;}
.donation-ranking-list li:not(.top-rank) .rank-amount {color: #444;}
.my-rank-btn { display: flex; align-items: center; justify-content: center; gap: 8px;height: 40px;  border-radius: 6px; background: #eef8f1; color: #00a862; font-size: 14px; font-weight: 700; text-decoration: none;}
.my-rank-btn span{ color: #00a862; font-size: 14px; font-weight: 700;}
.donation-ranking-card .button{padding: 16px 16px 0;}
.my-rank-btn i{width: 18px; height: 18px;background: url("../../images/icon/green-right-arrow.svg") 50% 50% no-repeat; background-size: contain;}

.main-popup-donation-amount .donation-amount span{font-size: 1.3rem; font-weight: 700; color: #39FF92;  text-align: center; line-height: 1.4;}
/* 모바일 구간 (갤럭시 폴드도 고려) */
@media (max-width: 768px) {
  .home-new .slider-responsive-bg,
  .home-new .main-event-slide .swiper-slide .image { height: auto !important;aspect-ratio: 430 / 230 !important;   /* 모바일 배너 비율에 맞춤 */background-size: cover !important;background-position: center center !important;background-repeat: no-repeat;}

  .home-rental-item{gap: 10px;}
  .rental-price{flex-wrap: wrap;}
  .rental-price strong{font-size: 16px;}
}


@media (min-width: 501px) {

  /* .beltBanner { height: 50px; } 
 .beltBanner, .img-wrap { height: 50px; } 
 .banner-content-wrap p { font-size: 16px; } 
 .banner-content-wrap .view-btn span,
.banner-content-wrap .view-btn i { font-size: 12px; } 
 .beltBanner .donation-counter p{font-size: 16px;}
 .beltBanner .donation-counter .digit,
 .beltBanner .donation-counter .comma { font-size: 14px; } 
  .beltBanner .donation-counter .digit{width: auto;max-width: 20px; min-width: 20px; min-height: 30px;}
body.home-new .webHeader {display: none !important;}*/
  /* 모바일 헤더 계속 표시 */
/*body.home-new .mobile-header { display: flex; flex-direction: column;width: 100%; max-width: 500px; margin: 0 auto;}*/

  /* 하단 네비도 유지할 경우 */
/*body.home-new .bottom-bar { display: flex !important; max-width: 500px; width: 100%; left: 50%;right: auto; transform: translateX(-50%); } */
}

.home-new .menu_item .menuitem_link:hover,
.home-new .menu_item.on .menuitem_link,
.home-new .menu_item.active .menuitem_link{
  background-color: inherit;
}

@media (min-width: 769px) and (max-width: 1400px) {
  .home-new .slider-responsive-bg {
    height: 300px !important;
  }
}
.home-new .menu_item .menuitem_link:hover span,
.home-new .menu_item.on .menuitem_link span ,
.home-new .menu_item.active .menuitem_link span{
  color: inherit !important;
}
.home-new .mobile-header .gdgnb_menu .menu_item .menuitem_link:hover::after,
.home-new .mobile-header .gdgnb_menu .menu_item.on .menuitem_link::after,
.home-new .mobile-header .gdgnb_menu .menu_item.active .menuitem_link::after{
  width: 0 !important;
  transform: scaleX(0) !important;
}

@media only screen and (max-width: 375px) {
  .main-wrap{box-shadow: none;}
  .home-new:has(.bottom-bar)::after{display: none;}
}

/*  웹화면 */
@media only screen and (min-width: 768px){
  .sec-tit{gap: 10px;}
  .section-title{font-size: 32px;}
  .section-label{font-size: 15px; height: auto; padding: 4px 8px;}
  .home-new .main-wrap{padding-bottom: 0; gap: 0;}
  .section-title-wrap{padding: 0;}
  /* PC 이미지 비율에 맞춤 */
  /* contain 여백색 */
  .home-card-section{max-width: 1050px; margin: 0 auto;padding: 40px 0;}
  .home-rental-section{border-top: none; position: relative; padding: 0 0 40px;}
    /* 화면 전체 너비 배경 */
  .home-rental-section::before { content: ""; position: absolute;  left: 50%;  top: 0; bottom: 0; width: 100%; transform: translateX(-50%);  background-color: #FAFAF8; z-index: -1;}
   /* 콘텐츠는 1050px 중앙 정렬 */
 .home-rental-section{padding-inline: max(16px, calc((100% - 1050px) / 2));}
  .home-rental-section .section-title-wrap,
  .home-rental-section .home-rental-list {max-width: 1050px;margin: 0 auto;width: 100%; }
  .home-rental-section .home-rental-list{padding-inline:0}
  .home-rental-section .section-title-wrap{padding-bottom: 40px;}
  .home-rental-section .home-rental-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .home-rental-item{flex-direction: column;}
  .rental-thumb{width: 100%;height: 320px; flex: none;}
  .market-section{max-width: 1050px; margin: 0 auto; border-top: none;padding: 0 0 40px;padding-inline: 0;}
  .market-section .section-title-wrap{padding: 0;padding-bottom: 40px;}
  .home-new .market-card-list > .market-card:nth-child(n+4) { display: none;}
  .home-new .market-card-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0;}
  .market-all-btn{display: none;}
  .donation-section{border-top: none; position: relative;padding:40px 0;padding-inline: max(16px, calc((100% - 1050px) / 2));}
  .donation-section::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 100%; transform: translateX(-50%); background: linear-gradient( 180deg, #009561 0%, #005034 100%);z-index: -1;}
  .donation-inner {max-width: 1050px; width: 100%; margin: 0 auto;display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; height: fit-content; align-content: start; align-items: stretch; grid-template-rows: auto 1fr; row-gap: 0; min-height: 380px;}
  .donation-inner .donation-total-card-wrap { display: contents;padding: 0;}
  .donation-section .section-title-wrap {grid-column: 1;  grid-row: 1;  padding: 0;  align-items: end;height: fit-content;}
  .donation-section .donation-total-card {background: #194A39; display: flex; flex-direction: column; justify-content: space-between; grid-column: 1; grid-row: 2; align-self: end; height: 70%;;}
  .donation-section .donation-ranking-card {grid-column: 2;  grid-row: 1 / span 2; display: flex;flex-direction: column;min-height: 100%;}
  .donation-ranking-list{height: 100%;}
  .donation-ranking-title{min-height: 48px;}
  .donation-section .section-title{color: #fff;}
  .donation-section .section-desc{color: #fff;}
  .donation-section .view-btn span{color: #fff;line-height: 2;font-size: 12px;}
  .donation-section .view-btn .arrow{background: url(../../images/icon/arrow-right-white.svg) 50% 50% no-repeat; background-size: contain;}
  .donation-total-desc p{font-size: 13px;}
  .donation-empty{height: 100%;box-shadow: none !important;}
  .donation-progress-bar{background-color: #ffffff20;}
  .donation-progress-bar span { background: linear-gradient(90deg, #fff 0%, #8cffb4 100%);  background-repeat: no-repeat;}
  .home-card-content p{font-size: 0.9rem; word-break: keep-all;}
  .card-content-text{gap: 40px;}
  .donation-total-price span{font-size: 2rem;}
}
@media only screen and (min-width: 768px) and (max-width: 1050px) {
  .market-section {padding-inline: 16px;}
   .home-card-section.subscribe-section{padding-inline: 16px;}
}
