/* ======================================================
   UI-003 · Event Cards
   Chang Tong Core 2.0
   ====================================================== */

/* Event-Bereich */

.ct-events {
    padding: 80px 0;
}


/* Event-Grid */

.ct-events__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}


/* Event Card */

.ct-event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ct-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Eventbild */

.ct-event-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ======================================================
   UI-003.2 · Event Card Content
   ====================================================== */


/* Card-Inhalt */

.ct-event-card__content {
    padding: 22px;
}

.ct-event-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

/* Eventtyp */

.ct-event-card__type {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 14px;
    padding: 6px 12px;
    background: #C69214;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* Eventtitel */

.ct-event-card__title {
    margin: 0 0 14px;
    color: #222222;
    font-size: 1.35rem;
    line-height: 1.25;
}


/* Datum */

.ct-event-card__date {
    margin: 6px 0;
    color: #555555;
    font-size: 0.95rem;
}


/* Ort / Platz */

.ct-event-card__location {
    margin: 6px 0;
    color: #555555;
    font-size: 0.95rem;
}


/* CTA */

.ct-event-card__cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 12px 18px;
    background: #222222;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
}

/* ======================================================
   UI-003.3 · Responsive Event Cards
   ====================================================== */


/* Tablet */

@media (max-width: 1024px) {

    .ct-events__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* Mobile */

@media (max-width: 767px) {

    .ct-events__grid {
        grid-template-columns: 1fr;
    }

}
