/* ── Archive Conferences Current ────────────────────────────────────────────── */

.archive-conferences-current {
    padding: 48px 0 80px;
    background: var(--wp--preset--color--white);
}

.acc-no-results {
    padding: 64px 0;
    text-align: center;
    font-size: 16px;
    color: var(--wp--preset--color--neutral-300);
}

/* ── Desktop list ─────────────────────────────────────────────────────────────── */

.acc-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.acc-card {
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--wp--preset--color--white);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, background 0.25s ease, border 0.25s ease;
}

.acc-card:hover {
    box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.15);
    background: linear-gradient(168.12deg, rgba(156, 105, 224, 0.036) 0%, rgba(36, 3, 81, 0.038) 100%);
    border-color: var(--wp--preset--color--purple-100)
}

.acc-card-link {
    display: flex;
    align-items: stretch;
    gap: 48px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    min-height: 228px;
}

/* ── Left: content ────────────────────────────────────────────────────────────── */

.acc-card-left {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Badges ───────────────────────────────────────────────────────────────────── */

.acc-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.acc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid var(--wp--preset--color--purple-100);
    box-sizing: border-box;
}

.acc-badge svg {
    flex-shrink: 0;
}

.acc-badge--promo {
    background: #ddf1e7;
    border-color: var(--wp--preset--color--purple-100);
    color: #098257;
}

.acc-badge--cat {
    background: rgba(139, 92, 246, 0.05);
    border-color: var(--wp--preset--color--purple-100);
    color: var(--wp--preset--color--purple);
}

.acc-badge--early-bird {
    background: rgba(236, 72, 153, 0.05);
    border-color: var(--wp--preset--color--purple-100);
    color: var(--wp--preset--color--pink);
}

.acc-badge--edition {
    padding: 0 8px;
    background: var(--wp--preset--color--white);
    border-color: var(--wp--preset--color--neutral-200);
    color: var(--wp--preset--color--black);
    font-weight: 400;
}

/* ── Related series link ──────────────────────────────────────────────────────── */

.acc-card-related {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: var(--wp--preset--color--purple-500);
}

.acc-card-related svg {
    flex-shrink: 0;
    color: var(--wp--preset--color--purple-500);
}

.acc-related-link {
    color: var(--wp--preset--color--purple-500);
    text-decoration: none;
    line-height: 20px;
}

a.acc-related-link:hover {
    text-decoration: underline;
}

/* ── Title ────────────────────────────────────────────────────────────────────── */

.acc-card-title {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--wp--preset--color--black);
}

/* ── Excerpt ──────────────────────────────────────────────────────────────────── */

.acc-card-desc {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: var(--wp--preset--color--dark);
}

/* ── Tag chips ────────────────────────────────────────────────────────────────── */

.acc-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.acc-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: var(--wp--preset--color--neutral-100);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 400;
    color: var(--wp--preset--color--dark);
    line-height: 16px;
    white-space: nowrap;
}

/* ── Center: image ────────────────────────────────────────────────────────────── */

.acc-card-image {
    width: 405px;
    height: 228px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    align-self: center;
}

.acc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.acc-card:hover .acc-card-image img {
    transform: scale(1.04);
}

/* ── Right: termin + meta ─────────────────────────────────────────────────────── */

.acc-card-meta {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 1px 0;
    padding-left: 24px;
    position: relative;
}

.acc-date {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--wp--preset--color--black);
}

.acc-meta-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.acc-meta-icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--wp--preset--color--neutral-300);
    max-width: 20px;
    width: 100%;
    height: auto;
}

.acc-meta-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc-meta-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--wp--preset--color--neutral-300);
    line-height: 20px;
}

.acc-meta-value {
    font-size: 14px;
    font-weight: 400;
    color: var(--wp--preset--color--dark);
    line-height: 20px;
    white-space: nowrap;
}

/* ── Hover CTA arrow ─────────────────────────────────────────────────────────── */

.acc-card-cta {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.acc-card:hover .acc-card-cta {
    opacity: 1;
    pointer-events: auto;
}

.acc-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--wp--preset--color--purple-500);
    border-radius: 4px 4px 2px 4px;
    color: var(--wp--preset--color--white);
}

/* ── Mobile Swiper ────────────────────────────────────────────────────────────── */

.acc-swiper {
    display: none;
}

.acc-mobile-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--wp--preset--color--purple-100);
    border-radius: 4px;
    background: var(--wp--preset--color--white);
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.acc-mobile-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-top: 4px;
}

.acc-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.acc-mobile-card .acc-card-title {
    font-size: 18px;
}

.acc-mobile-card .acc-date {
    font-size: 22px;
    margin-top: 4px;
}

/* ── Mobile pagination — all dots round ───────────────────────────────────────── */

.acc-swiper-pagination {
    margin-top: 20px;
    position: static !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.acc-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50% !important;
    background: var(--wp--preset--color--neutral-200);
    opacity: 1;
    margin: 0 !important;
    flex-shrink: 0;
    transition: background 0.2s, width 0.2s, height 0.2s;
}

.acc-swiper-pagination .swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    border-radius: 50% !important;
    background: var(--wp--preset--color--dark);
}

/* ── Responsive ───────────────────────────────────────────────────────────────── */

@media (max-width: 1199px) {
    .acc-card-image {
        width: 320px;
    }

    .acc-card-link {
        gap: 32px;
    }

    .acc-card-title {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .acc-card-image {
        width: 240px;
        height: auto;
        min-height: 180px;
    }

    .acc-card-link {
        gap: 24px;
        padding: 20px;
    }

    .acc-card-meta {
        width: 180px;
        padding-left: 16px;
    }

    .acc-date {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .archive-conferences-current {
        padding: 32px 0 60px;
    }

    .acc-list {
        display: none;
    }

    .acc-swiper {
        display: block;
    }
}

/* ── Dark mode ────────────────────────────────────────────────────────────────── */

html[data-theme="dark"] .archive-conferences-current {
    background: var(--wp--preset--color--black, #1A1A25);
}

html[data-theme="dark"] .acc-no-results {
    color: rgba(255, 255, 255, .6);
}

html[data-theme="dark"] .acc-card,
html[data-theme="dark"] .acc-mobile-card {
    background: var(--wp--preset--color--dark, #2E2E39);
    border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .acc-card:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .2);
}

html[data-theme="dark"] .acc-badge--promo {
    background: rgba(9, 130, 87, .18);
    border-color: rgba(9, 130, 87, .45);
    color: #4ade80;
}

html[data-theme="dark"] .acc-badge--promo svg path {
    stroke: #4ade80;
}

html[data-theme="dark"] .acc-badge--cat {
    background: rgba(139, 92, 246, .15);
    border-color: rgba(139, 92, 246, .4);
    color: #c4a6f5;
}

html[data-theme="dark"] .acc-badge--early-bird {
    background: rgba(236, 72, 153, .15);
    border-color: rgba(236, 72, 153, .4);
}

html[data-theme="dark"] .acc-badge--edition {
    background: transparent;
    border-color: rgba(255, 255, 255, .25);
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .acc-card-related,
html[data-theme="dark"] .acc-card-related svg,
html[data-theme="dark"] .acc-related-link {
    color: var(--wp--preset--color--yellow, #FFE500);
}

html[data-theme="dark"] .acc-card-title,
html[data-theme="dark"] .acc-date {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .acc-card-desc {
    color: rgba(255, 255, 255, .7);
}

html[data-theme="dark"] .acc-chip {
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .8);
}

html[data-theme="dark"] .acc-meta-icon,
html[data-theme="dark"] .acc-meta-icon path,
html[data-theme="dark"] .acc-meta-label {
    color: rgba(255, 255, 255, .5);
    stroke: rgba(255, 255, 255, .5);
}

html[data-theme="dark"] .acc-meta-value {
    color: rgba(255, 255, 255, .85);
}

html[data-theme="dark"] .acc-cta-btn {
    background: var(--wp--preset--color--yellow, #FFE500);
    color: var(--wp--preset--color--dark, #2E2E39);
}

html[data-theme="dark"] .acc-cta-btn svg path {
    stroke: var(--wp--preset--color--dark, #2E2E39);
}

html[data-theme="dark"] .acc-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, .2);
}

html[data-theme="dark"] .acc-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--wp--preset--color--white);
}