/* 메인 비주얼 영역 */

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


.notice-section .box { background: #EEEFF3; position: relative; display: inline-block; width: 100%; height: 536px; }
.notice-section .box h2 { position: absolute; top: -10px; left: 20px; font-size: 20px;}
.notice-section .bbs ul.tab { display: inline-block; width: 80px; }
.notice-section .bbs ul.tab li { background: #fff; padding: 0px 10px; width: 100px; text-align: center; margin-bottom: 10px; line-height: 50px; clear: both; float: left;}
.notice-section .bbs ul.tab li a { display: block; width: 100%; height: 100%; }  
.notice-section .tel ul li { background: #fff; padding: 10px; margin-bottom: 10px; min-height: 50px; display: flex; align-items: center; justify-content: space-between; }
.notice-section .box ul { margin: 0px 20px 40px 20px; padding-top: 40px; }
.notice-section .box ul.list { display: inline-block; vertical-align: top; width: calc(100% - 165px); }
.notice-section .box ul.list li { line-height: 40px; border-bottom: 1px solid #ddd; }
.notice-section .box ul.list li:last-child { border-bottom: none; }
.notice-section .box ul.list li a { display: flex; justify-content: space-between; align-items: center; color: #333; text-decoration: none; transition: color 0.2s; }
.notice-section .box ul.list li a:hover { color: #29425D; }
.notice-section .box ul.list li a span:first-child { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 15px; font-size: 15px; }
.notice-section .box ul.list li a span.pc_view { flex-shrink: 0; font-size: 13px; color: #888; }
.notice-section .box ul.list li.more-link { text-align: right; border-bottom: none; padding-top: 10px; }
.notice-section .box ul.list li.more-link a { display: inline-block; color: #29425D; font-size: 14px; font-weight: 600; }
.notice-section .box ul.list li.more-link a:hover { color: #1a2d3f; text-decoration: underline; }
.notice-section .box ul li span.txt { flex: 1; padding-right: 10px; line-height: 1.4; word-break: keep-all; font-size: 16px; font-weight: 500; }
.notice-section .box ul li span.tel { background-color: #29425D; border-radius: 10px; color: #fff; padding: 8px 12px; line-height: 1.2; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
.notice-section .box .box-footer { background: #29425D; color: #fff; padding: 10px 20px; text-align: center; position: relative; }
.notice-section .box .bg-white { padding: 25px 0px 0px 20px; font-size: 16px; color: #29425D; text-align: left;  position: absolute; left: 0px; bottom: 0px; width: 94%; }
.notice-section .box .bg-white b { font-size: 22px; font-weight: 800; }
.notice-section .box .bg-white .abs { position: absolute; bottom: 30px; right: 20px; }

.notice-section h3 { font-size: 20px; font-weight: 800; color: #29425D; line-height: 40px; }
.notice-section h3 span { font-size: 16px; }

@media (max-width: 769px) {
    .notice-section .box {
        height: auto;
        min-height: 400px;
    }
    
    .notice-section .box ul {
        margin: 0px 10px 20px 10px;
        padding-top: 50px;
    }
    
    .notice-section .box ul.list {
        width: 100%;
        display: block;
    }
    
    .notice-section .box ul.list li {
        line-height: 1.5;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }
    
    .notice-section .box ul.list li a {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .notice-section .box ul.list li a span:first-child {
        font-size: 14px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: keep-all;
        padding-right: 0;
    }
    
    .notice-section .box ul.list li a span.pc_view {
        font-size: 12px;
        color: #888;
    }
    
    .notice-section .bbs ul.tab {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .notice-section .bbs ul.tab li {
        width: auto;
        flex: 1;
        float: none;
        display: inline-block;
    }
    
    .notice-section .tel ul li { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 12px; 
        gap: 8px;
    }
    
    .notice-section .box ul li span.txt { 
        width: 100%; 
        line-height: 1.5; 
        padding-right: 0;
        word-break: keep-all;
        font-size: 14px;
    }
    
    .notice-section .box ul li span.tel { 
        align-self: flex-end;
        margin-top: 4px;
    }
    
    .notice-section .box h2 {
        font-size: 18px;
        left: 10px;
    }
    
    .notice-section .box .bg-white {
        padding: 15px 0px 0px 10px;
        font-size: 14px;
        width: 96%;
    }
    
    .notice-section .box .bg-white b {
        font-size: 18px;
    }
}


.letter-section {
    margin: 60px auto;
    text-align: center;
  }
  
  .letter-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 16px;
  }
  
  .letter-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
  }
  
  .letter-input input {
    width: 70%;
    padding: 12px 16px;
    border: none;
    border-radius: 25px;
    background-color: #f0f4f8;
    font-size: 14px;
    color: #555;
  }
  
  .letter-input input::placeholder {
    color: #aaa;
  }
  
  .send-btn {
    background-color: #003366;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .send-btn:hover {
    background-color: #002244;
  }
  
  .letter-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }
  
  .letter-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  .letter-card p {
    color: #333;
    font-size: 14px;
    line-height: 30px;
    margin: 0;
  }
  
  .send-icon {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 18px;
    color: #0066cc;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .send-icon:hover {
    transform: scale(1.2);
  }

/* 팝업존 배너 스타일 */
.popup-banner-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.popup-banner-section h3 {
    color: #0D4FA3;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.popup-banner-slider {
    position: relative;
    overflow: hidden;
}

.popup-banner-slider .slick-slide img{
    width: 100%; height: 100%; object-fit: cover;
}

.popup-banner-slider .banner-slide:first-child {
    display: block;
}

.popup-banner-slider .banner-slide:hover {
    transform: translateY(-2px);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .banner-section {
        padding: 20px 0;
    }
    
    .banners-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .banner-item {
        width: 100%;
        max-width: 300px;
    }
}


.hero-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 100px;
}

.hero-section::before {
    position: absolute;
    bottom: 0;
    height: 50%;
    left: -100px;
    width: 100%;
    background: #f5f5f5;
    content: '';
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* 스크롤 인디케이터 */
.hero-section::after {
    position: absolute;
    content: '';
    bottom: 70px;
    left: -50px;
    transition: all ease 0.3s;
    width: 10px;
    height: 161px;
    background: url(/images/scroll.png) no-repeat 0 0;
    animation-name: bounce-7;
    animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Quick Menu 플로팅 */
.quick-menu {
    position: fixed;
    top: 130px;
    right: 20px;
    width: 110px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 9999;
}

.quick-menu h2 {
    background: var(--primary-color);
    color: white;
    margin: 0;
    padding: 15px 10px;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.quick-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s, transform 0.3s;
}

.quick-menu-item:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.quick-menu-item img {
    margin-bottom: 8px;
}

.quick-menu-item p {
    margin: 0;
    font-size: 12px;
    text-align: center;
    color: #555;
}

.quick-menu-item:first-child {
    border-top: none;
}

/* 태블릿 및 모바일 */
@media (max-width: 768px) {
    .quick-menu {
        display: none;
    }
}


/* 분양안내 카드 */
.sales-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    position: relative;
  }

.sales-section::before {
    height: calc(100% - 100px);
    content: '';
    position: absolute;
    width: 100%;
    top: 0;
    background: #f5f5f5;
    z-index: -1;
}


.sales-section-nav {position:absolute; bottom:140px; left:100px; z-index: 10;}
.sales-section-nav a:first-child {margin-right:26px;}
.sales-section-nav a img {cursor:pointer;}
.sales-section-nav a span {color:#999999; font-weight:600;margin-right:5px; transition:all ease 0.3s;}
.sales-section-nav a:hover span {color:#444;}
.sales-section-nav a:first-child span {margin-left:0; margin-left:5px;}
.sales-section-nav > span {display:inline-block; margin:0 10px; font-size:13px; color:#666; line-height:17px; vertical-align:middle;}
.sales-section-nav > span strong {font-size:16px; color:#111; font-weight:700;}

  
  .sales-section .sales-container {
    width: 100%;
    padding-left: 100px;
    margin: 20px 0px 40px 0px;
  }

  .sales-section .sales-container::before {
    height: calc(100% - 100px);
    content: '';
    position: absolute;
    width: 100%;
    top: 0;
    z-index: -1;
}
  
  .sales-text {
    float: left;
    margin-top: 100px;
  }
  
  .sales-text h2 {
    font-size: 40px;
    color: #333;
    font-weight: 500;
  }
  
  .sales-text span {
    font-size: 18px;
    color: #333;
    position: relative;
    margin-top: 20px;
  }
  
  .slider-nav {
    display: flex;
    gap: 10px;
  }
  
  .prev-btn, .next-btn {
    background: none;
    border: 2px solid #333;
    color: #333;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .prev-btn:hover, .next-btn:hover {
    background: #333;
    color: #fff;
  }
  
  /* ===== 슬라이드 ===== */
  .sales-slider {
    float: right;
    position: relative;
    width: calc(100% - 335px);
    overflow: hidden;    
    z-index: 10;
  }
  
  .sales-slider ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 1840px;
  }
  
  .sales-slider li {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 0 10px;
  }
  
  .sales-slider li:hover {
    transform: translateY(-5px);
  }
  
  .sales-slider li img {
    width: 100%;
    height: 600px;
    object-fit: cover;
  }
  
  .slide-text {
    padding: 15px;
    background: rgba(0, 0, 0);
    color: #fff;
    opacity: 0.6;
  }

  .bg-white {background: #fff; position:absolute; bottom:100px; z-index: 1; left:0; width:100%; height:100px; }
  
  .slide-text h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
  }
  
  .slide-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
  }
  
/* Slick 기본 스타일 커스텀 */
.sales-slider .slick-list {
    overflow: visible;
}

/* 모바일 */
@media screen and (max-width:767px){	
    
    .sales-section {padding: 0px;}
    .sales-section::before {display:none;}
    .sales-section > div {padding:0 9.6618vw; box-sizing:Border-box;}
    
    .sales-section .sales-container {width:100%; margin: 0px 0px 0px 0px; padding: 0px;}
    .sales-section .sales-container::before {display:none;}
    
    .sales-section .sales-text { margin-top: 20px; text-align: center; float: unset;}
    .sales-section .sales-text h2 {font-size: 40px; color: #333; font-weight: 500;}
    .sales-section .sales-text span {font-size: 18px; color: #333; position: relative; margin-top: 20px;}
    
    .sales-section .sales-slider {width:100%; margin:3vw 0px 20px 0px;}
    .sales-section .sales-slider ul {width:100%;}
    .sales-section .sales-slider ul li {width:100%; padding:3.7vw 0;}
    
    .sales-section .sales-slider ul li > div > div strong {font-size:6vw;}
    .sales-section .sales-slider ul li > div > div p {font-size:20px;}
    
    .sales-section .sales-slider .slick-slide > div {
        position: relative; 
        display: inline-block;
    }

    .bg-white { display:none;}
    .sales-section-nav { display: inline-block; bottom: 10px; width: 100%; z-index: 100; left: 50%; transform: translateX(-50%); }
    
}

/* 검색 및 예약 현황 */
.search-section {
    background: #A3B6CC;
    padding: 0;
}

.search-section .container {
    margin: 0 auto;
    padding: 0;
}

.search-section .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    align-items: stretch;
}

/* 고인검색 섹션 */
.search-section .deceased {
    padding: 15px 25px;
    width: 35%;
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 1px solid #ddd;
}

.search-section .deceased h3 {
    background-image: url('/images/icon_deceased.png');
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: left center;
    padding-left: 35px;
    line-height: 28px;
    color: #29425D;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.search-section .deceased ul {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.search-section .deceased ul li {
    display: flex;
    align-items: center;
}

.search-section .deceased ul li label {
    position: absolute;
    left: -9999px;
}

.search-section .deceased ul li select,
.search-section .deceased ul li input,
.search-section .deceased ul li button {
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
}

.search-section .deceased ul li select {
    min-width: 70px;
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 25px;
}

.search-section .deceased ul li select::-ms-expand {
    display: none;
}

.search-section .deceased ul li input {
    width: 140px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #ccc;
    border-right: none;
}

.search-section .deceased ul li input::placeholder {
    color: #999;
    font-size: 12px;
}

.search-section .deceased ul li button.info_btn {
    width: 36px;
    border-radius: 0 4px 4px 0;
    border: 1px solid #29425D;
    background: #29425D url('/images/icon_s.png') center center no-repeat;
    background-size: 16px;
    text-indent: -9999px;
    cursor: pointer;
}

/* 화장예약현황 섹션 */
.cremation {
    background: #29425D;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 60%;
    flex: 1;
}

.cremation h3 {
    background-image: url('/images/icon_cremation.png');
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: left center;
    padding-left: 35px;
    line-height: 28px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.cremation ul {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    flex: 1;
    justify-content: flex-end;
}

.cremation ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 85px;
    padding: 8px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
}

.cremation ul li:last-child {
    background: rgba(255, 255, 255, 0.2);
}

.cremation ul li span.date {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
    margin-bottom: 4px;
}

.cremation ul li strong.count {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.cremation ul li strong.count span {
    font-size: 13px;
    font-weight: 400;
    margin-left: 2px;
}

/* 반응형 - 태블릿 */
@media (max-width: 992px) {
    .search-section .row {
        flex-direction: column;
    }

    .search-section .deceased {
        border-right: none;
        border-bottom: 1px solid #ddd;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cremation {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cremation ul {
        justify-content: center;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 576px) {
    .search-section .deceased {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .search-section .deceased ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-section .deceased ul li input {
        width: 120px;
    }

    .cremation {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .cremation ul {
        flex-wrap: wrap;
        gap: 6px;
    }

    .cremation ul li {
        min-width: 70px;
        padding: 6px 8px;
    }

    .cremation ul li span.date {
        font-size: 10px;
    }

    .cremation ul li strong.count {
        font-size: 18px;
    }
}

/* 화장 이용 현황 */
.cremation-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.cremation-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.cremation-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cremation-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 그리운마음 */
.memorial-messages {
    margin-top: 50px;
}

.message-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border-left: 5px solid var(--point-color);
}

.message-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.message-content {
    color: var(--text-light);
    line-height: 1.6;
}

.message-date {
    font-size: 0.85rem;
    color: #999;
    margin-top: 10px;
}

/* 공지사항 & FAQ */
.notice-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.notice-box, .faq-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
}

.list-item:hover {
    background: var(--bg-light);
}

.list-title {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
}

.list-date {
    color: #999;
    font-size: 0.9rem;
}

/* family site */
.family-sites {
    text-align: center;
    margin: 30px auto;
    width: 90%;
    max-width: 1200px;
    display: flex;
}




/* 반응형 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .search-reservation,
    .notice-faq {
        grid-template-columns: 1fr;
    }
    
    .quick-menu {
        right: 10px;
        width: 80px;
    }
    
    .quick-menu h2 {
        font-size: 12px;
        padding: 10px 5px;
    }
    
    .quick-menu-item {
        padding: 10px 5px;
    }
    
    .quick-menu-item img {
        width: 30px;
        height: 30px;
    }
    
    .quick-menu-item p {
        font-size: 10px;
    }
}

/* 팝업존 배너 섹션 */
.popup-banner-section {
    position: relative;
    padding: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.popup-banner-slider {
    position: relative;
    height: 300px;
}

.popup-banner-slider .slick-slide {
    height: 300px;
}

.popup-banner-slider .slick-slide > div {
    height: 100%;
}

.banner-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-clickable {
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    background-color: #f8f9fa;
}

.banner-clickable:hover .banner-image {
    transform: scale(1.05);
}

.banner-content {
    padding: 50px 20px;
    text-align: center;
    background: #f8f9fa;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-content h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.banner-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.banner-fallback {
    display: none;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex-direction: column;
}

.banner-fallback i {
    margin-bottom: 10px;
}

.banner-fallback p {
    margin: 5px 0;
    font-size: 14px;
}

.banner-fallback small {
    font-size: 11px;
    color: #999;
    word-break: break-all;
}

.popupzone { margin: 40px 0px 0px 0px; padding: 100px 0px 60px 0px; background: url('/images/bg_popzone.png'); background-size: cover; background-position: center;}

/* Slick 슬라이더 커스터마이징 */
.popup-banner-slider .slick-dots {
    display: none !important;
}

.popup-banner-slider .slick-arrow {
    display: none !important;
}

.popupzone-title {
    position: absolute;
    top: 15px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10;
}

.popupzone-pagination {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.popupzone-pagination .current-slide {
    color: #ffd700;
}

.popupzone-pagination .total-slides {
    color: #ccc;
}

/* 팝업존 반응형 */
@media (max-width: 768px) {
    .popup-banner-section {
        margin-bottom: 15px;
    }
    
    .popup-banner-slider {
        height: 200px;
    }
    
    .popup-banner-slider .slick-slide {
        height: 200px;
    }
    
    .popupzone-title {
        top: 10px;
        left: 15px;
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .popupzone-pagination {
        bottom: 10px;
        right: 15px;
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .banner-content h4 {
        font-size: 16px;
    }
    
    .banner-content p {
        font-size: 12px;
    }
}

.txt_white { color: #fff; }

.ex-tit {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
  }
  
  .ex-tit i {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: #003366; /* 아이콘 배경색 */
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    line-height: 32px;
    color: #fff;
    font-size: 16px;
  }
  
  .icon1::before {
    content: "🌸"; /* 아이콘 대체 */
  }
  
  .icon2::before {
    content: "📅";
  }
  
  .icon3::before {
    content: "🏠";
  }
  
  .time {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
  }
  
  .bold {
    font-weight: 500;
  }
    
  /* 반응형 처리 */
  @media (max-width: 768px) {
    .col-md-4 {
      width: 100%;
    }
  
    .ex-tit {
      font-size: 16px;
    }
  
    .time {
      font-size: 14px;
    }
  }

/* 패밀리사이트 섹션 스타일 */
.family-sites-section {
    padding: 10px 0;
}

#mapTabContent { height: 258px; overflow: hidden;}

#mapTabs .nav-link { color: #333 ; }
#mapTabs .nav-link { background-color: #fff;}
#mapTabs .nav-link.active { background-color: #003366; color: #fff; }

.family-sites-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.partners-title { 
    display: inline-block; 
    width: 200px; 
    text-align: left; 
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.partners-slider-wrapper {
    flex: 1;
    min-width: 0;
}

.partners-slider {
    overflow: hidden;
}

.partner-item {
    padding: 0 15px;
    outline: none;
}

.partner-logo {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.partner-text {
    width: 100%;
}

.partner-text span {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    word-break: keep-all;
    line-height: 1.4;
}

.partners-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    width: 180px;
}

.partners-controls button {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.partners-controls button:hover {
    transform: scale(1.1);
}

.partners-controls button:active {
    transform: scale(0.95);
}

/* Slick 슬라이더 커스터마이징 */
.partners-slider .slick-track {
    display: flex;
    align-items: center;
}

.partners-slider .slick-slide {
    height: auto;
}

.partners-slider .slick-slide > div {
    height: 100%;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .partner-logo {
        height: 90px;
        padding: 15px;
    }
    
    .partner-text span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .family-sites-section {
        padding: 40px 0;
    }
    
    .family-sites-section .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .partners-title {
        font-size: 1.5rem;
        margin-bottom: 0;
        width: auto;
        text-align: center;
    }
    
    .partners-slider-wrapper {
        width: 100%;
    }
    
    .partner-logo {
        height: 80px;
        padding: 10px;
    }
    
    .partner-text span {
        font-size: 0.75rem;
    }
    
    .partners-controls {
        gap: 10px;
        width: auto;
    }
    
    .partners-controls button {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .partners-title {
        font-size: 1.3rem;
    }
    
    .partner-logo {
        height: 70px;
        padding: 8px;
    }
    
    .partner-text span {
        font-size: 0.7rem;
    }
}
