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

.tab-selector-title h5 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #c9171e;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tab-selector-title h3 {
    font-family: 'KnuTruth', 'Noto Sans KR', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: #222;
}

.tab-selector {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 24px;
    gap: 0;
    background: #f0f0f0;
    border-radius: 12px;
    padding: 4px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.tab {
    text-align: center;
    flex: 1;
    padding: 12px 0;
    cursor: pointer;
    color: #888;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.25s ease;
    border: none;
}

.tab.middle {
    border-left: none;
    border-right: none;
}

.tab.selected {
    color: #fff;
    background: #c9171e;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(201, 23, 30, 0.25);
}

.tab:hover:not(.selected) {
    color: #c9171e;
    background: rgba(201, 23, 30, 0.06);
}

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

.activity-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 300px;
    flex: 0 0 auto;
    margin: 10px;
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

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

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

.activity-card-content {
    padding: 1.1rem;
    font-size: 0.9rem;
}

.activity-card .title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-card .info {
    color: #888;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .tab-selector-title h5 {
        font-size: 12px;
    }

    .tab-selector-title h3 {
        font-size: 1.5rem;
    }

    .tab {
        font-size: 14px;
        padding: 10px 0;
    }

    .tab-selector {
        max-width: 100%;
    }

    .activity-card {
        width: 260px;
    }

    .activity-card img {
        height: 180px;
    }
}
