.akce-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.akce-card {
    --akce-color: #2f647d;
    --akce-bg: #eaf3f7;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 160px 16px;
    grid-template-areas: "type body date arrow";
    align-items: center;
    column-gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
    color: inherit;
    text-decoration: none;
    transition: background-color 0.15s, box-shadow 0.15s;
}

.akce-card--seminar {
    --akce-color: #4c956c;
    --akce-bg: #4c956c;
}

.akce-card--seminar .akce-badge {
    color: #111827;
}

.akce-card:hover,
.akce-card:focus {
    background: #f9fafb;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.09);
    color: inherit;
    text-decoration: none;
}

.akce-card__type { grid-area: type; }

.akce-badge {
    display: block;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    background: var(--akce-bg);
    color: var(--akce-color);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.akce-card__body {
    grid-area: body;
    min-width: 0;
}

.akce-card__title {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.15s;
}

.akce-card:hover .akce-card__title { color: var(--akce-color); }

.akce-card__desc {
    margin: 0.25rem 0 0;
    overflow: hidden;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.akce-card__date {
    grid-area: date;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.6;
}

.akce-card__date-end {
    color: #9ca3af;
    font-weight: 400;
}

.akce-card__arrow {
    grid-area: arrow;
    color: #d1d5db;
    font-size: 13px;
    transition: color 0.15s, transform 0.15s;
}

.akce-card:hover .akce-card__arrow {
    color: var(--akce-color);
    transform: translateX(3px);
}

.akce-empty {
    margin: 0;
    padding: 2rem;
    color: #6b7280;
    text-align: center;
}

.akce-list--ikony .akce-card {
    grid-template-columns: 44px minmax(0, 1fr) 160px 16px;
}

.akce-list--ikony .akce-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: 17px;
}

@media (max-width: 992px) {
    .akce-card {
        grid-template-columns: 100px minmax(0, 1fr) 16px;
        grid-template-areas:
            "type body arrow"
            "type date arrow";
        column-gap: 1rem;
        row-gap: 0.5rem;
        padding: 1rem;
    }

    .akce-list--ikony .akce-card {
        grid-template-columns: 44px minmax(0, 1fr) 16px;
    }

    .akce-card__date { align-items: flex-start; }
}

.detail-hero,
.detail-hero.detail-hero--radek {
    background: #4C956C;
}

.detail-hero .detail-hero__badge,
.detail-hero .detail-hero__title,
.detail-hero .detail-hero__time {
    color: #111827;
}

.akce-card .akce-card__date-end {
    color: #545454 !important;
    opacity: 1;
}

