/* ===== HERO SECTION WITH MULTI-ITEM CAROUSEL ===== */
.hero-section {
    position: relative;
    height: auto;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6) 0;
}

/* Owl Carousel Image Styles */
.image-carousel {
    position: relative;
    width: 100%;
    max-width: var(--size-carousel-max);
    height: auto; /* 자동 높이로 변경 */
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: visible; /* peek 효과를 위해 visible로 변경 */
    padding: var(--space-slide-gap) 0;
}

/* 기본 슬라이드 스타일 */
.carousel-slide {
    transition: all 0.4s ease; /* 부드러운 전환 효과 */
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    max-width: var(--size-slide-max);
    margin: 0 auto;
}

/* 메인 active 슬라이드들 (중앙 2개) */
.image-carousel .owl-item.active .carousel-slide {
    opacity: 1; /* 완전 불투명 */
    z-index: 2;
}

/* peek 슬라이드들 (좌우에 살짝 보이는 부분) */
.image-carousel .owl-item:not(.active) .carousel-slide {
    opacity: 0.5; /* 살짝 투명하게 */
    z-index: 1;
}

.carousel-slide img,
.carousel-slide .carousel-image {
    width: 100%;
    max-width: var(--size-slide-max); /* 최대 크기 제한 */
    aspect-ratio: 1/1; /* 완벽한 1:1 비율 */
    object-fit: cover; /* 비율 안맞는 이미지 자동 크롭 */
    object-position: center; /* 중앙 기준으로 크롭 */
    border-radius: var(--radius-2xl);
    margin: 0 auto;
    display: block;
    transition: all 0.4s ease; /* 이미지도 부드럽게 전환 */
}

.carousel-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: var(--space-4);
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.carousel-slide:hover .carousel-overlay {
    transform: translateY(0);
}

.carousel-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 0 0 var(--space-2) 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.carousel-type {
    font-size: var(--text-sm);
    opacity: 0.8;
    background: var(--color-primary);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* Owl Carousel 간소화된 Navigation */
.image-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--size-icon-4xl); /* 50px */
    height: var(--size-icon-4xl); /* 50px */
    background: rgba(255, 255, 255, 0.9) !important;
    border: 0.125rem solid var(--color-primary) !important; /* 2px */
    border-radius: 50%;
    color: var(--color-primary) !important;
    transition: all 0.3s ease;
    z-index: 10;
}

.image-carousel .owl-nav button:hover {
    background: var(--color-primary) !important;
    color: white !important;
}

.image-carousel .owl-prev { left: var(--space-5); }
.image-carousel .owl-next { right: var(--space-5); }

/* Owl Carousel 간소화된 Dots */
.image-carousel .owl-dots {
    text-align: center;
}

.image-carousel .owl-dot {
    width: var(--size-icon-2xs);
    height: var(--size-icon-2xs);
    border-radius: 50%;
    background: var(--color-neutral-400) !important;
    margin: 0 var(--space-2);
    transition: var(--transition-normal);
}

.image-carousel .owl-dot.active,
.image-carousel .owl-dot:hover {
    background: var(--color-primary) !important;
}


/* ===== SECTION HEADINGS ===== */
.section-heading {
    margin: var(--space-5) 0;
    display: flex;
    align-items: center;
}

.section-heading-center {
    margin: var(--space-3) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3) 0;
}


/* ===== ESG SECTION ===== */
.esg-section {
    position: relative;
    min-height: var(--height-section-min);
    background: var(--color-primary-bg);
}

.esg-content {
    position: relative;
    z-index: 2;
    padding: var(--space-18) 0;
    max-width: var(--size-content-max);
    margin: 0 auto;
}


/* ===== 섹션 제목 아이콘 ===== */
.esg-section-title-icon {
    display: inline-block;
    width: auto;
    height: var(--size-icon-2xl); /* 35px */
    vertical-align: middle;
    object-fit: contain;
}

.esg-hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-5);
    padding: var(--space-24);
}

.esg-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.esg-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.esg-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.esg-text-content {
    display: flex;
    flex-direction: column;
    color: var(--color-white);
}

.esg-cta .btn {
    width: var(--size-btn);
    height: var(--height-btn);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== NEWS SECTION ===== */
.news-section {
    position: relative;
    background: var(--color-white);
    padding: var(--space-18) 0;
}

.news-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/main_container.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 1;
}

.news-bg-image {
    display: none; /* HTML의 img 태그 숨김 */
}

.news-section-content {
    position: relative;
    z-index: 2;
    max-width: var(--size-content-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
}

.news-grid {
    display: grid;
    width: 100%;
    /* 카드 최소 너비 260px, 최대는 남는 공간을 1fr로 채움 */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-5);
    justify-content: center;       /* 남는 공간 중앙 정렬 */
    margin-bottom: var(--space-12);
}

.news-card {
    /* 그리드 셀 내부에서 100% 너비 차지, 
       필요하다면 max-width로 디자인 폭 제한 가능 */
    width: 100%;
    background: var(--color-neutral-100);
    border: 1px solid var(--color-neutral-300);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-card:hover {
    box-shadow: var(--shadow-news);
}

/* 뉴스 카드 링크 스타일 */
.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.news-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

.news-card-link:hover .news-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-media {
    width: 100%;
    aspect-ratio: 384.67 / 240;    /* ≒ 16:10 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-neutral-100);
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.news-content {
    min-height: 100px;
    padding: var(--space-4) var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

/* News 섹션 제목도 배지 상태에 따라 공간 조정 */
.news-card:has(.badge.show) .news-title {
    max-width: calc(100% - var(--size-icon-md) - var(--space-2));
}

/* ===== 공통 배지 스타일 ===== */
.badge {
    background: var(--color-accent-red);
    color: var(--color-white);
    text-align: center;
    padding: 0;
    margin-left: var(--space-2);
    width: var(--size-icon-md); /* 18px */
    height: var(--size-icon-md); /* 18px */
    border-radius: var(--radius-md); /* 8px */
    display: none; /* 기본적으로 숨김 */
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: var(--font-bold);
    font-size: var(--text-2xs);
    line-height: var(--leading-none);
}

.badge.show {
    display: flex;
}


/* ===== NOTICE & PROGRAM SECTION ===== */
.notice-program-section {
    width: 100%;
    max-width: var(--size-content-max);
    padding: var(--space-8) 0;
    align-self: stretch;
    margin: 0 auto;
    display: flex;
    gap: var(--space-10);
}

.notice-section, 
.program-section {
    flex: 1;
    min-width: 0; /* flex item이 줄어들 수 있도록 */
    padding: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
}

.more-link {
    display: flex;
    align-items: center;
    color: var(--color-primary);
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    transition: var(--transition-fast);
}

.more-link:hover {
    text-decoration: none;
    transform: translateY(-0.125rem);
}

/* 시멘틱 리스트 스타일 초기화 */
.notice-list,
.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 0.0625rem solid var(--color-primary); /* 1px */
}

/* 접근성을 고려한 리스트 아이템 */
.notice-item,
.program-item {
    margin: 0;
}

/* 전체 행을 클릭 가능한 링크로 */
.notice-item-link,
.program-item-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-3) 0;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

.notice-item-link:hover,
.program-item-link:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-0.0625rem);
}

.notice-item-link:focus,
.program-item-link:focus {
    outline: 0.0625rem solid var(--color-primary);
    outline-offset: 0.0625rem;
}


/* 제목 호버 효과 */
.notice-item-link:hover .notice-title, .notice-item-link:hover .notice-date,
.program-item-link:hover .program-title, .program-item-link:hover .program-date {
    font-weight: var(--font-semibold);
}

/* 배지가 표시될 때만 제목 공간 조정 */
.notice-content:has(.badge.show) .notice-title,
.program-content:has(.badge.show) .program-title {
    max-width: calc(100% - var(--size-icon-md) - var(--space-2)); /* 배지 공간 확보 */
}

/* :has() 지원하지 않는 브라우저를 위한 폴백 */
@supports not selector(:has(*)) {
    .notice-title,
    .program-title {
        max-width: calc(100% - var(--size-icon-md) - var(--space-2)); /* 항상 배지 공간 확보 */
    }
}

.notice-content,
.program-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    align-items: center; /* 배지와 제목을 수직 가운데 정렬 */
    min-width: 0; /* flex item이 줄어들 수 있도록 */
    overflow: hidden; /* 컨테이너에서 넘치는 부분 숨김 */
}

/* 제목 텍스트 말줄임 처리 */
.notice-title,
.program-title {
    margin: 0;
    line-height: var(--leading-relaxed);
    
    /* 한 줄 말줄임 - 배지가 제목 바로 옆에 오도록 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%; /* 부모 컨테이너를 넘지 않도록 */
}

/* 날짜 래퍼 */
.notice-date-wrapper,
.program-date-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: var(--space-1);
}

.notice-date,
.program-date {
    text-align: right;
    white-space: nowrap;
}

/* ===== DONATION SECTION ===== */
.donation-section {
    background: var(--color-white);
    padding: var(--space-5) 0;
    position: relative;
    min-height: 300px;
}

.donation-section-content {
    position: relative;
    z-index: 2;
    max-width: var(--size-content-max);
    display: flex;
    flex-direction: column;
}

.donation-grid {
    display: flex;
    gap: var(--space-5);
    flex: 1;
    padding: var(--space-5) 0;
}

.donation-card {
    flex: 1;
    background: var(--color-primary-bg);
    border-top: 0.0625rem solid var(--color-primary);
    padding: var(--space-5) var(--space-8);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: var(--height-donation-card);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    color: inherit;
}

a.donation-card {
    text-decoration: none;
    color: inherit;
}

/* 계좌번호 줄 스타일 */
.account-line {
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    display: flex;
    justify-content: space-between;
}

.account-line:hover {
    background-color: rgba(255, 133, 58, 0.1);
    transform: translateX(1px);
}

/* 복사 아이콘 스타일 */
.copy-icon {
    color: var(--color-neutral-500);
    transition: var(--transition-normal);
    vertical-align: middle;
    user-select: none;
}

.copy-icon:hover,
.copy-icon:focus {
    color: var(--color-primary);
}

.donation-card:hover, a.donation-card:hover {
    transform: translateY(-0.25rem) !important;
    box-shadow: 0 0.5rem 1.5rem rgba(255, 133, 58, 0.15);
}

.donation-card .donation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donation-info p {
    color: var(--color-primary);
    margin: 0;
}

.donation-icon {
    max-width: 102px;
    max-height: 102px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donation-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: var(--space-10) 0;
}

.partners-content {
    max-width: var(--size-content-max);
    margin: 0 auto;
}

.partners-container {
    min-height: 9.375rem; /* 150px */
    display: flex;
    align-items: center;
    border: 1px solid var(--color-divider);
    padding: var(--space-4);
    justify-content: space-between;
}

.partners-title {
    flex-shrink: 0;
    margin: 0;
    white-space: nowrap;
}

/* 캐러셀+화살표를 감싸는 래퍼 */
.partners-carousel-wrapper {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 1040px;
    width: 100%;
    display: flex;
    align-items: center;
}

/* 화살표 버튼 고정 위치 */
.partners-carousel-wrapper .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 24px;
    height: 24px;
    font-size: 16px;
    color: var(--color-neutral-700);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partners-carousel-wrapper .prev-btn { left: 1px; }
.partners-carousel-wrapper .next-btn { right: 1px; }
.partners-carousel-wrapper .nav-btn:hover {
    color: var(--color-primary);
}
.partners-carousel-wrapper .nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Partners Carousel Styles */
.partners-carousel {
    flex: 1 1 0;
    margin: 0 60px; /* 화살표와 겹치지 않게 좌우 여백 */
    min-width: 0;
    width: auto;
}

.partners-carousel .owl-stage-outer {
    overflow: hidden; /* Owl Carousel 컨테이너 오버플로우 방지 */
}

.partner-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* 고정 높이로 일관성 유지 */
    width: auto; /* 너비는 이미지 비율에 맞춰서 유동적 */
}

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

.partner-slide img {
    height: 100%; /* 컨테이너 높이를 꽉 채움 */
    width: auto; /* 원본 비율 유지 */
    object-fit: contain; /* 비율 유지하며 맞춤 */
    transition: var(--transition-normal);
}

.partner-slide:hover img {
    transform: scale(1.05); /* 호버 시 살짝 확대 */
}


/* ===== RESPONSIVE DESIGN ===== */

/* ===== TABLET LANDSCAPE (1024px 이하) ===== */
@media (max-width: 1024px) {
    .esg-section {
        min-height: auto;
    }
    
    .donation-grid {
        gap: var(--space-4);
    }

    .donation-card {
        gap: var(--space-2);
        padding: var(--space-5) var(--space-3);
    }

    .donation-card .donation-icon {
        max-width: 80px;
        max-height: 80px;
    }
}

/* ===== TABLET PORTRAIT (900px 이하) ===== */
@media (max-width: 900px) {
    /* ===== NOTICE & PROGRAM 섹션 태블릿 스타일 ===== */
    .notice-program-section {
        gap: var(--space-8); /* 중간 크기 화면에서는 gap 줄이기 */
    }
    
    .donation-card {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .donation-section {
        min-height: auto;
        padding: var(--space-5) 0 var(--space-16);
    }
}

/* ===== TABLET SMALL (768px 이하) ===== */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
    }
    
    .image-carousel .owl-nav button {
        width: var(--size-icon-3xl);
        height: var(--size-icon-3xl);
    }

    .image-carousel .owl-prev {
        left: -5px;
    }

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

    .section-title {
        margin-bottom: var(--space-6);
        gap: var(--space-3);
    }
    
    .esg-section {
        min-height: auto;
    }

    .esg-content {
        padding: var(--space-10) 0;
    }

    .esg-section .section-heading {
        font-size: var(--text-4xl);
    }
    
    .esg-hero-card {
        padding: var(--space-16) var(--space-8);
    }
    
    .esg-main-message {
        font-size: var(--text-4xl);
        text-align: center;
    }

    .esg-cta .btn {
        margin: 0 auto;
    }

    /* ===== NOTICE & PROGRAM 섹션 모바일 스타일 ===== */
    .notice-program-section {
        gap: var(--space-6); /* 모바일에서는 상하 간격 줄이기 */
        flex-direction: column; /* 상하 배치 */
    }
    
    .notice-section, 
    .program-section {
        width: 100%;
        margin-bottom: var(--space-4);
    }
    
    .donation-section {
        min-height: auto;
        padding: var(--space-5) 0 var(--space-12);
    }

    .donation-grid {
        flex-direction: column;
    }

    .donation-card {
        flex-direction: row;
        padding: var(--space-5) var(--space-8);
    }
    
    
    .partners-container {
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
    }
    
    /* .partners-nav {
        order: -1;
    } */
    
    .partners-carousel {
        width: 100%;
    }

    .partners-nav {
        border-right: none;
    }
}

/* ===== MOBILE (480px 이하) ===== */
@media (max-width: 480px) {
    .hero-section {
        min-height: 300px;
    }
    
    .image-carousel .owl-nav button {
        width: var(--size-icon-2xl);
        height: var(--size-icon-2xl);
    }

    .image-carousel .owl-prev {
        left: var(--space-1);
    }

    .image-carousel .owl-next {
        right: var(--space-1);
    }

    .image-carousel .owl-dot {
        width: var(--size-icon-3xs);
        height: var(--size-icon-3xs);
        margin: 0 var(--space-1);
    }

    .esg-hero-card {
        padding: var(--space-5) var(--space-4);
        margin: var(--space-5) 0;
    }

    .esg-main-message {
        font-size: var(--text-xl);
    }
    
    /* ===== NOTICE & PROGRAM 섹션 초소형 모바일 스타일 ===== */
    .notice-program-section {
        gap: var(--space-5); /* 더 작은 간격 */
    }

    .donation-section {
        padding: var(--space-4) 0 var(--space-8);
    }
    
    .donation-icon {
        width: 80px;
        height: 80px;
        align-self: center;
    }
    
    .partners-container {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
    
    .partners-nav .nav-btn {
        width: var(--size-icon-lg);
        height: var(--size-icon-lg);
    }
    
}


/* 카드 애니메이션 */
.news-card,
.donation-card {
    animation: fadeInUp 0.6s ease-out;
}

.news-card:nth-child(2) {
    animation-delay: 0.1s;
}

.news-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .slider-track {
        transform: none !important;
    }
}

/* 포커스 스타일 */
.btn:focus,
.nav-link:focus,
.more-link:focus,
.dropdown-item:focus,
.social-link:focus,
.partners-nav .nav-btn:focus {
    outline: 2px solid var(--color-accent-red);
    outline-offset: 2px;
}

/* 고대비 모드 */
@media (prefers-contrast: high) {
    .hero-overlay,
    .esg-hero-bg::before,
    .news-background {
        opacity: 0.8;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid;
    }
}

/* Hero Banner Custom Overlay */
.carousel-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    max-width: var(--size-slide-max);
    aspect-ratio: 1/1;
    margin: 0 auto;
}

.carousel-image {
    width: 100%;
    height: 100%;
    max-width: var(--size-slide-max);
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-2xl);
    margin: 0 auto;
    display: block;
    transition: all 0.4s ease;
}

.carousel-dark-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.60);
    z-index: 1;
    border-radius: var(--radius-2xl);
}

.carousel-overlay-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 10%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0 var(--space-8);
    color: var(--color-white);
    pointer-events: none;
}

.carousel-subtitle {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    opacity: 0.95;
    margin-bottom: 1em;
    letter-spacing: 0.01em;
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.carousel-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;   
    font-size: var(--text-5xl);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0,0,0,0.22);
    letter-spacing: -0.01em;
}

.carousel-detail-btn {
    margin-top: 10%;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    border-radius: 2rem;
    padding: 0.8em 1.5em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: none;
    outline: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
}
.carousel-detail-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}
