
.card-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10% 10% 10% 11%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: white;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-container .title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.card-container .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.descriptions {
    flex: 2;
}

.description-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.description-label {
    font-weight: bold;
    min-width: 80px;
    margin-right: 10px;
}

.description-text {
    opacity: 0.9;
}

.button-container {
    display: flex;
    align-items: flex-end;
}

.link-button {
    display: inline-block;
    padding: 12px 40px;
    color: white;
    border : 4px solid #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight : 600;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.link-button:hover {
    background-color: #fff;
    color : black;
}

.link-button.disabled{display : none;}


/* Swiper 스타일 */
.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    position: relative;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    /*cursor: pointer;*/
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.3s ease;
}

.slide-title {
    position: absolute;
    
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
    z-index: 1;
}

.swiper-slide:hover .slide-title {
    transform: translate(-50%, -100%);
    
}

.swiper-slide:hover .slide-image {
    transform: scale(1.3);
    
}
@media (max-width: 700px) {
    .content-overlay {padding-top : 3vh;}

    .card-container .title {
        font-size: 20px;
    }

    .description-item {
        font-size: 14px;
        line-height: 1.1;
    }
    
    .link-button {
        font-size: 12px;
        padding: 8px 25px;
    }
    
}


@media (max-width: 480px) {

    .card-container .title {
        font-size: 16px;
    }
    .content-wrapper {
        gap: 15px;
    }

    .link-button {
        font-size: 11px;
        padding: 5px 12px;
    }

    .button-container {
        justify-content: flex-end;
    }

    .description-item {
        font-size: 11px;
        line-height: 0.9;
    }

    .description-label {
        min-width: 45px;
    }

    .swiper-slide {
        width: 250px;
        height: 170px;
    }
}