.lazyblock-kalendar-akci {
    font-family: 'Figtree', system-ui, sans-serif;
    padding-block: 48px;
}

.lazyblock-kalendar-akci .ct-container {
    max-width: var(--theme-normal-container-max-width, 1320px);
    margin-inline: auto;
    /* padding-inline: clamp(16px, 4vw, 24px); */
}

/* ── Header ─────────────────────────────────────────────── */

.akce-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.akce-label {
    color: #4162ae;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.akce-heading {
    margin: 0;
    color: #1c2040;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.9px;
}

/* ── Month group ─────────────────────────────────────────── */

.akce-month-group {
    margin-bottom: 32px;
}

.akce-month-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2ecf7;
    color: #1c2040;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.akce-month-count {
    font-size: 13px;
    font-weight: 400;
    color: #5a6080;
    white-space: nowrap;
}

/* ── Grid (homepage widget) ──────────────────────────────── */

.akce-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.akce-grid .akce-thumb {
    display: none;
}

@media (max-width: 768px) {
    .akce-grid {
        grid-template-columns: 1fr;
    }
}

/* ── List (archive page) ─────────────────────────────────── */

.akce-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Card ────────────────────────────────────────────────── */

.akce-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    box-shadow: var(--theme-box-shadow);
    border-radius: 6px;
    padding: 17px;
    text-decoration: none;
    transition: border-color .15s;
}

.akce-card:hover {
    border-color: #4162ae;
}

.akce-card .hero-arrow {
    flex-shrink: 0;
    color: #d0d4e8;
    transition: color .15s, transform .15s;
}

.akce-card:hover .hero-arrow {
    color: #4162ae;
    transform: translateX(3px);
}

/* Date badge */
.akce-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 52px;
    padding: 8px 12px;
    background: #4162ae;
    border-radius: 3px;
    color: #f2f7fc;
}

.akce-date__day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.akce-date__month {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: .75;
}

/* Body */
.akce-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.akce-body__title {
    display: block;
    color: #1c2040;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: underline;
}

.akce-body__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 12px;
}

.akce-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #454a63;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
}

.akce-meta-icon {
    flex-shrink: 0;
    opacity: 0.65;
}

/* Thumbnail */
.akce-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    background: #e2ecf7;
}

.akce-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Past event */
.akce-card--done .akce-date {
    background: #d0d4e8;
    color: #5a6080;
}

.akce-card--done .akce-body__title,
.akce-card--done .akce-meta-item {
    color: #5a6080;
}

.akce-badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 3px;
    background: #f2f3fa;
    color: #5a6080;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Empty state */
.akce-empty {
    margin: 0 0 24px;
    color: #5a6080;
    font-size: 14px;
}

/* CTA */
.akce-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4162ae;
    border-radius: 3px;
    padding: 11px 22px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.65;
    text-decoration: none;
    transition: background-color .15s;
}

.akce-cta:hover {
    background: #35508f;
}

/* Archive page */
.akce-archiv {
    padding-block: 32px 64px;
}

/* Section title (backward compat) */
.akce-section-title {
    margin: 32px 0 12px;
    color: #1c2040;
    font-size: 20px;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 640px) {
    .akce-thumb {
        display: none;
    }

    .akce-heading {
        font-size: 28px;
    }

    .akce-body__meta {
        flex-direction: column;
        gap: 2px;
    }
}

/* ── Single event detail page ────────────────────────────── */

.akce-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    color: #4162ae;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.akce-detail-back:hover {
    text-decoration: underline;
}

.akce-detail-card {
    background: #fff;
    box-shadow: var(--theme-box-shadow);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 40px;
}

.akce-detail-image {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
}

.akce-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 380px;
}

.akce-detail-content {
    padding: 28px 32px;
}

.akce-detail-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.akce-detail-date-badge .akce-date {
    min-width: 62px;
    padding: 10px 14px;
    border-radius: 4px;
}

.akce-detail-date-badge .akce-date__day {
    font-size: 32px;
}

.akce-detail-title {
    margin: 0 0 24px;
    color: #1c2040;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.akce-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid #e2ecf7;
    border-bottom: 1px solid #e2ecf7;
    margin-bottom: 28px;
}

.akce-detail-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #454a63;
    line-height: 1.5;
}

.akce-detail-meta-row .akce-meta-icon {
    margin-top: 2px;
    color: #4162ae;
    opacity: 1;
    width: 16px;
    height: 16px;
}

.akce-detail-body {
    color: #3a3f5c;
    font-size: 15px;
    line-height: 1.75;
}

.akce-detail-body>*:first-child {
    margin-top: 0;
}

@media (max-width: 640px) {
    .akce-detail-content {
        padding: 20px 16px;
    }

    .akce-detail-title {
        font-size: 22px;
    }
}