.tab-selector {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 15px;
    gap: 5px;
}

.tab-selector-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

.tab-selector-title h5 {
    font-size: 15px;
    font-weight: 400;
    color: #e60000;
}

.tab-selector-title h3 {
    font-size: 20px;
    font-weight: 500;
}

.tab {
    text-align: center;
    width: 150px;
    transition-duration: .2s;
    cursor: pointer;
    color: #797977;
    font-size: 1.3em;
}

.tab.middle {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.tab.selected {
    color: #e60000;
    font-weight: 800;
}

.tab:hover {
    color: #e60000;
    font-weight: 800;
}

.activity-contents {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 35px;
    justify-content: center;
}

.activity-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;
    width: 300px;
    flex: 0 0 auto;
    margin: 10px;
}

.activity-card a {
    color: #1b1b1b;
}

.activity-card img {
    width: 100%;
    object-fit: cover;
    height: 250px;
}

.activity-card-content {
    padding: 1rem;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .tab {
        text-align: center;
        width: 150px;
        font-size: 20px;
    }

    .tab-selector-title h5 {
        font-size: 13px;
    }

    .tab-selector-title h3 {
        font-size: 15px;
    }
}