.news-slider-wrapper,
.activity-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.news-slider-container,
.activity-slider-container {
    overflow: hidden;
    width: 100%;
}

.news-slider,
.activity-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.news-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex: 0 0 auto;
    width: 80%;
    max-width: 300px;
    aspect-ratio: 2/2.5;
    margin: 10px;
    transition: transform 0.3s;
}

.news-card img {
    width: 100%;
    aspect-ratio: 1.5/1;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.news-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    flex-grow: 1;
}

.news-card-content span {
    font-family: "Noto Sans KR", sans-serif;
    text-align: right;
    font-weight: 300;
}

.news-card h3 {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 1rem;
    padding: 0 15px 15px 15px;
    text-align: left;
    font-weight: 500;
}

.carc.first-card {
    transform: scale(1.05);
    /* 첫 카드만 약간 확대 */
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

@media (max-width: 768px) {
    .news-card {
        width: 70%;
        max-width: none;
    }

    .news-card h3 {
        font-size: 3.5vw;
    }

    .news-card-content {
        padding: 10px;
    }

    .news-card-content span {
        font-size: 11px;
    }
}