﻿.category-chip-row {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem 0 2rem 0;
    background: transparent;
}

.chip {
    position: relative;
    background: linear-gradient(90deg, #f0fafd 60%, #e7f6fa 100%);
    color: #178ea1;
    border: none;
    font-weight: 500;
    border-radius: 999px;
    padding: 0.6em 1.6em;
    font-size: 1.05rem;
    box-shadow: 0 2px 12px rgba(30,180,220,0.08);
    cursor: pointer;
    transition: color 0.18s, box-shadow 0.22s, background 0.22s, transform 0.16s;
    outline: none;
    overflow: hidden;
}

    .chip.active, .chip:focus {
        background: linear-gradient(90deg, #24c6dc 0%, #30a3d2 100%);
        color: #fff;
        box-shadow: 0 8px 22px rgba(44,170,200,0.16);
        transform: scale(1.08);
    }

    .chip::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        box-shadow: 0 0 0 0 rgba(36,198,220,0.13);
        transition: box-shadow 0.21s;
    }

    .chip:active::after {
        box-shadow: 0 0 0 8px rgba(36,198,220,0.08);
    }

@media (max-width: 600px) {
    .category-chip-row {
        gap: 0.35rem;
        padding-bottom: 1.2rem;
    }

    .chip {
        font-size: 0.98rem;
        padding: 0.5em 1.2em;
    }
}


.event-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    transition: box-shadow 0.19s, transform 0.15s;
}

    .event-card-link:hover .event-card {
        box-shadow: 0 6px 32px rgba(30,180,220,0.13), 0 2px 14px rgba(20,20,20,0.07);
        transform: translateY(-3px) scale(1.012);
    }

.event-card {
    border: none;
    border-radius: 1.2rem;
    background: #fff;
    min-height: 160px;
    transition: box-shadow 0.19s, transform 0.15s;
}

.event-card-img {
    max-width: 290px;
    max-height: 290px;
    border-radius: 0.7rem;
    background: #f4f9fc;
    box-shadow: 0 1px 6px rgba(30,180,220,0.07);
}

.event-title {
    font-weight: 700;
    color: #178ea1;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.event-description {
    color: #575757;
    font-size: 1.03rem;
    line-height: 1.4;
}

.event-meta span {
    font-size: 0.96rem;
    color: #8d99a8;
    font-weight: 500;
}

.event-badge {
    display: inline-block;
    min-width: 92px;
    padding: 0.6em 1em 0.5em 1em;
    border-radius: 0.7em;
    opacity: 0.97;
    box-shadow: 0 2px 10px rgba(30,180,220,0.07);
    text-align: right;
    font-size: 1.04em;
}

.badge-title {
    font-weight: 700;
    display: block;
}

.badge-subtitle {
    font-size: 0.95em;
    font-weight: 400;
    display: block;
    margin-top: 0.15em;
    opacity: 0.83;
}

@media (max-width: 700px) {
    .event-card-img {
        max-width: 165px;
        max-height: 165px;
    }

    .event-title {
        font-size: 1.12rem;
    }

    .event-description {
        font-size: 0.97rem;
    }
}
