/* ======================================================
   Activiteiten — shared styles for calendar & detail pages
   ====================================================== */

/* Local --gap fallback in case Ghost's screen.css hasn't loaded yet */
:root {
    --container-width: 1400px;
    --gap: 3.6rem;
}

@media (max-width: 767px) {
    :root {
        --gap: 1rem;
    }
}


/* ======================================================
   HERO
   ====================================================== */
.ev-hero {
    background: #eef9fa;
    position: relative;
    overflow: hidden;
}

/* Dot-grid texture overlay */
.ev-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 80, 90, .12) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 1;
}

.ev-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ev-hero-bg svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Content sits above background layers */
.ev-hero-inner {
    position: relative;
    z-index: 2;
}

.ev-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ghost-accent-color) 0%, #0da2ae 100%);
}

.ev-hero-inner {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 3.5rem var(--gap, 3.6rem) 3.5rem;
}

.ev-hero-eyebrow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.6rem;
}

.ev-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #0da2ae;
    margin: 0;
}

.ev-hero-eyebrow span {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #0da2ae;
    border-radius: 2px;
}

.ev-hero h1 {
    font-family: var(--font-serif) !important;
    font-size: clamp(3.2rem, 5vw, 5.6rem);
    color: #071a1d !important;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0 0 1.6rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.ev-hero-desc {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: rgba(7, 26, 29, .72);
    line-height: 1.6;
    max-width: 850px;
}

.ev-hero-count {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #0da2ae;
}

.ev-hero-count strong {
    font-weight: 800;
}

/* Frosted-glass backdrop behind text to lift it off the colour blobs */
.ev-hero-inner>div {
    /* background: rgba(255, 255, 255, .55); */
    /* -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px); */
    border-radius: 16px;
    padding: 0 3.6rem;
    display: block;
    max-width: 850px;
    /* box-shadow: 0 2px 24px rgba(13, 162, 174, .08); */
}

@media (max-width: 767px) {
    .ev-hero-inner {
        padding: 3.2rem var(--gap, 2rem);
    }

    .ev-hero-eyebrow-row {
        flex-direction: column;
        align-items: flex-start;
        gap: .6rem;
    }
}

/* ======================================================
   STICKY FILTER BAR
   ====================================================== */
.ev-filters {
    background: var(--color-white, #fff);
    border-bottom: 1px solid var(--color-light-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}


.ev-filters:not(.ev-filters-months) {
    border-bottom: none;
}

.ev-filters-months::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 6px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .03), transparent);
    pointer-events: none;
}

.ev-filters-inner {
    max-width: calc(var(--container-width, 1400px) + 2 * var(--gap, 3.6rem));
    margin: 0 auto;
    padding: 0 var(--gap, 3.6rem);
    display: flex;
    align-items: center;
    gap: .8rem;
    height: 42px;
    overflow-x: auto;
    scrollbar-width: none;
}

/* Left-side fade + chevron — mirrors the right-side indicator */
.ev-filters-inner::before {
    content: '';
    position: sticky;
    left: calc(-1 * var(--gap, 3.6rem) - 2px);
    flex-shrink: 0;
    align-self: stretch;
    width: 80px;
    margin-right: -80px;
    z-index: 1;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='rgba(0,0,0,.3)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center left 10px / 16px 16px no-repeat,
        linear-gradient(to left, transparent, var(--color-white, #fff) 80%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
}

.ev-filters-inner.has-overflow:not(.is-at-start)::before {
    opacity: 1;
}

/* Right-side fade + chevron — sticky flex item that floats at the right edge of the
   scroll row. z-index:1 ensures it paints above the chips. */
.ev-filters-inner::after {
    content: '';
    position: sticky;
    right: calc(-1 * var(--gap, 3.6rem) - 2px);
    flex-shrink: 0;
    align-self: stretch;
    width: 80px;
    margin-left: -80px;
    z-index: 1;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='rgba(0,0,0,.3)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center right 10px / 16px 16px no-repeat,
        linear-gradient(to right, transparent, var(--color-white, #fff) 80%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
}

.ev-filters-inner.has-overflow:not(.is-at-end)::after {
    opacity: 1;
}

.ev-filters-inner::-webkit-scrollbar {
    display: none;
}

.ev-filters-months {
    top: calc(42px);
}

.ev-filter-divider {
    width: 1px;
    height: 18px;
    background: var(--color-light-gray);
    flex-shrink: 0;
    margin: 0 .4rem;
}

.ev-filter-btn {
    flex-shrink: 0;
    height: 28px;
    padding: 0 1.2rem;
    border-radius: 99px;
    border: 1px solid var(--color-light-gray);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -.006em;
    color: var(--color-primary-text);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s, background .15s, color .15s;
}

.ev-filter-btn:hover {
    border-color: #0da2ae;
    color: #0da2ae;
}

.ev-filter-btn.is-active {
    background: #ff1a75;
    border-color: #ff1a75;
    color: #fff;
}

/* ======================================================
   PAGE BODY
   ====================================================== */
.ev-body {
    max-width: calc(var(--container-width, 1400px) + 2 * var(--gap, 3.6rem));
    width: 100%;
    margin: 0 auto;
    padding: 4rem var(--gap, 3.6rem) 8rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 5.6rem;
}

@media (max-width: 1100px) {
    .ev-body {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ev-sidebar {
        display: none;
    }
}

/* ======================================================
   MONTH SECTION
   ====================================================== */
.ev-month {
    margin-bottom: 5.6rem;
}

.ev-month[data-hidden="1"] {
    display: none;
}

.ev-month-head {
    position: sticky;
    top: calc(84px);
    z-index: 10;
    background: var(--color-white, #fff);
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding: .8rem 0 1.2rem;
    border-bottom: 2px solid var(--color-darker-gray);
}

.ev-month-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-darker-gray);
}

.ev-month-count {
    font-size: 1.2rem;
    color: var(--color-secondary-text);
}

/* ======================================================
   EVENT CARD
   ====================================================== */
.ev-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0 2rem;
    padding: 3.5rem 0;
    text-decoration: none;
    color: inherit;
    transition: background .12s;
}

.ev-card[data-hidden="1"] {
    display: none;
}

.ev-card+.ev-card {
    border-top: 1px solid var(--color-light-gray);
}

.ev-card.is-highlighted,
.ev-card.is-highlighted+.ev-card {
    border-top: none;
}

@media (hover: hover) {
    .ev-card:hover {
        background: var(--color-lighter-gray, #f9fafb);
        border-radius: 8px;
        opacity: 1;
    }
}

.ev-card.is-featured {
    background: rgba(13, 162, 174, .06);
    border: 1px solid rgba(13, 162, 174, .2);
    border-radius: 10px;
    padding: 2.5rem 1.6rem;
    margin-bottom: .4rem;
}

@media (hover: hover) {
    .ev-card.is-featured:hover {
        background: rgba(13, 162, 174, .1);
        margin-left: 0;
        margin-right: 0;
    }
}

/* Date bubble */
.ev-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: .2rem;
}

.ev-date-day {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: #ff1a75;
}

.is-featured .ev-date-day {
    font-size: 2.8rem;
}

.ev-date-wd {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-secondary-text);
    margin-top: .2rem;
}

.ev-date-wd-full {
    display: none;
}

@media (max-width: 767px) {
    .ev-date-wd-short {
        display: none;
    }

    .ev-date-wd-full {
        display: inline;
    }
}

.ev-date-range {
    font-size: 1.1rem;
    color: var(--color-secondary-text);
    text-align: center;
    margin-top: .3rem;
    line-height: 1.2;
}

/* Card content */
.ev-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.ev-card-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.015em;
    color: var(--color-darker-gray);
    flex: 1;
    min-width: 0;
}

/* .ev-card:hover .ev-card-title { opacity: .8; } */

/* Category badge */
.ev-badge {
    flex-shrink: 0;
    display: inline-block;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .2rem .7rem;
    border-radius: 3px;
    margin-top: .2rem;
}

.ev-badge {
    background: rgba(13, 162, 174, .12);
    color: #0a7d87;
}

.ev-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem 1.2rem;
    margin-top: .6rem;
    font-size: 1.4rem;
    color: var(--color-secondary-text);
}

.ev-meta-item {
    display: inline-flex;
    align-items: flex-start;
    gap: .4rem;
}

.ev-meta-item svg,
.ev-meta-item i {
    flex-shrink: 0;
    margin-top: .30em;
}

.ev-past-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 1rem var(--gap, 3.6rem);
    background: #0da2ae;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    /* position: sticky; */
    /* top: calc(42px * 2); */
    /* z-index: 100; */
}

.ev-card-desc {
    margin-top: 2rem;
    font-family: var(--font-serif);
    font-size: 1.7rem;
    /* line-height: 1.55; */
    color: var(--color-primary-text);
}

.ev-card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ghost-accent-color);
    text-decoration: none;
}

.ev-card-link:hover {
    text-decoration: underline;
    opacity: 1;
}

/* ── Card image column ── */
.ev-card:has(.ev-card-img) {
    grid-template-columns: 64px 1fr auto;
}

.ev-card-img {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

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

@media (max-width: 1300px) {
    .ev-card-top {
        flex-direction: column;
        gap: .4rem;
    }

    .ev-card-img {
        width: 210px;
        height: 140px;
    }
}

@media (max-width: 767px) {
    .ev-card {
        display: flex;
        flex-direction: column;
    }

    .ev-card-date {
        flex-direction: row;
        gap: .6rem;
        margin-bottom: 1rem;
    }

    .ev-card-img {
        order: -1;
        width: 100%;
        height: 220px;
        border-radius: 8px;
        margin-bottom: 1.2rem;
    }
}

/* ======================================================
   HIGHLIGHTED EVENT — Variant A (gold accent)
   Warm amber border + subtle gold background.
   ====================================================== 
.ev-card.is-highlighted {
    background: rgba(255, 183, 44, .07);
    border: 1px solid rgba(218, 155, 20, .30);
    border-radius: 10px;
    padding: 1.6rem;
    margin-bottom: .4rem;
}

@media (hover: hover) {
    .ev-card.is-highlighted:hover {
        background: rgba(255, 183, 44, .13);
        margin-left: 0;
        margin-right: 0;
    }
}

.is-highlighted .ev-date-day {
    color: #b8860b;
} */

/* ======================================================
   HIGHLIGHTED EVENT — Variant B (pink left stripe)
   Bold left border + light pink wash.
   Uncomment this block and comment Variant A to switch.
   ====================================================== */
.ev-card.is-highlighted {
    background-image: linear-gradient(170deg, #0da2ae, #6ab1d7);
    border: none;
    border-radius: 10px;
    padding: 3.5rem 1.6rem;
    margin-bottom: .4rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(13, 162, 174, .35);
    transition: transform .15s ease, box-shadow .15s ease;
}

@media (hover: hover) {
    .ev-card.is-highlighted:hover {
        background-image: linear-gradient(170deg, #0b8f99, #5a9fc4);
        margin-left: 0;
        margin-right: 0;
        box-shadow: 0 6px 24px rgba(13, 162, 174, .45);
        transform: scale(1.02);
    }
}

.is-highlighted .ev-date-day {
    color: #fff;
}

.is-highlighted .ev-date-wd,
.is-highlighted .ev-date-range {
    color: rgba(255, 255, 255, .8);
}

.is-highlighted .ev-card-title {
    color: #fff;
}

.is-highlighted .ev-card-title::before {
    content: "\2605";
    margin-right: .4rem;
    color: #fff;
}

.is-highlighted .ev-card-meta {
    color: rgba(255, 255, 255, .85);
}

.is-highlighted .ev-card-desc {
    color: rgba(255, 255, 255, .9);
}

.is-highlighted .ev-badge {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.is-highlighted .ev-card-link {
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}

.is-highlighted .ev-card-link:hover {
    background: rgba(255, 255, 255, .15);
}

.is-highlighted .ev-card-img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

/* ======================================================
   NO RESULTS
   ====================================================== */
.ev-empty {
    display: none;
    text-align: center;
    padding: 6.4rem 0;
    color: var(--color-secondary-text);
    font-size: 1.7rem;
    font-family: var(--font-serif);
}

.ev-empty.is-visible {
    display: block;
}

/* ======================================================
   EVENTS MAIN — stable width, no layout jump
   ====================================================== */
.ev-main {
    min-width: 0;
    min-height: 50vh;
    width: 100%;
}

/* ======================================================
   SIDEBAR
   ====================================================== */
.ev-sidebar {
    align-self: stretch;
}

.ev-cat-sticky {
    position: sticky;
    top: calc(84px + 2.4rem);
    margin-top: 2rem;
}

.ev-sidebar-head {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-secondary-text);
    margin-bottom: 1.2rem;
}

/* Category chips — word cloud */
.ev-cat-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.ev-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .9rem;
    border: 1px solid var(--color-light-gray);
    border-radius: 99px;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary-text);
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}

.ev-cat-btn:hover {
    border-color: #0da2ae;
    color: #0da2ae;
    background: rgba(13, 162, 174, .06);
}

.ev-cat-btn.is-active {
    background: #ff1a75;
    border-color: #ff1a75;
    color: #fff;
}

/* Ongoing items */
.ev-ongoing-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--color-light-gray);
    font-size: 1.35rem;
}

.ev-ongoing-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ev-ongoing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0da2ae;
    flex-shrink: 0;
    margin-top: .55rem;
}

.ev-ongoing-text {
    line-height: 1.45;
}

.ev-ongoing-sub {
    display: block;
    font-size: 1.15rem;
    color: var(--color-secondary-text);
    margin-top: .2rem;
}

.ev-ongoing-info {
    color: var(--color-darker-gray);
}

/* ======================================================
   EVENT DETAIL PAGE
   ====================================================== */
.ev-detail {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 2.4rem var(--gap, 3.6rem) 8rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .ev-detail {
        min-width: 640px;
    }
}

.ev-detail-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ev-detail-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ghost-accent-color);
    text-decoration: none;
}

.ev-detail-back:hover {
    text-decoration: underline;
    opacity: 1;
}

.ev-detail-header {
    margin-bottom: 3.2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ev-detail-title {
    font-family: var(--font-serif) !important;
    font-size: clamp(2.8rem, 4vw, 5.2rem);
    color: #071a1d !important;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 1.6rem;
}

.ev-detail-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.ev-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 2rem;
    font-size: 1.4rem;
    color: var(--color-secondary-text);
    padding: 1.6rem 0;
    border-top: 1px solid var(--color-light-gray);
    border-bottom: 1px solid var(--color-light-gray);
}

.ev-detail-image {
    margin-bottom: 3.2rem;
    text-align: center;
}

.ev-detail-image img {
    width: 100%;
    max-width: 720px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto;
}

.ev-image-copyright {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-secondary-text);
    margin-top: 0.4rem;
}

.ev-detail-body {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ev-detail-map {
    margin-top: 2.4rem;
    margin-bottom: 2.4rem;
}

.ev-map-iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 8px;
}

.ev-map-osm-link {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.2rem;
    color: var(--color-muted, #6b7280);
    text-align: right;
}

.ev-detail-contact {
    margin-top: 2.4rem;
    padding: 1.6rem;
    background: var(--color-lighter-gray, #f9fafb);
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-secondary-text);
}

.ev-detail-contact strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-secondary-text);
    margin-bottom: .6rem;
}

.ev-occurrences {
    margin-top: 2.4rem;
    margin-bottom: 2.4rem;
    padding: 1.6rem 1.8rem;
    background: var(--color-lighter-gray, #f9fafb);
    border-radius: 8px;
    border-left: 4px solid #0da2ae;
    font-size: 1.5rem;
    line-height: 1.6;
}

.ev-occurrences strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #0da2ae;
    margin-bottom: 1rem;
}

.ev-occurrences-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.ev-occurrences-list li {
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    color: var(--color-text);
    font-weight: 500;
}

.ev-occurrences-time {
    color: var(--color-secondary-text);
    font-weight: 400;
    flex-shrink: 0;
}

.ev-detail-contacts {
    margin-top: 2.4rem;
    padding: 1.6rem;
    background: var(--color-lighter-gray, #f9fafb);
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-secondary-text);
}

.ev-detail-contacts strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-secondary-text);
    margin-bottom: 1rem;
}

.ev-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ev-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
}

.ev-contact-name {
    font-weight: 600;
    color: var(--color-primary-text);
    width: 100%;
}

.ev-contact-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--color-darker-gray, #333);
    text-decoration: none;
    font-size: 1.3rem;
}

.ev-contact-link:hover {
    text-decoration: underline;
}

.ev-detail .kg-button-card {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

.ev-elements .kg-button-card .kg-btn {
    display: inline-block;
    padding: 0 1.2em;
    height: 2.4em;
    line-height: 2.4em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: opacity .2s ease;
}

.ev-elements .kg-button-card .kg-btn-accent {
    background-color: #ff1a75;
    color: #fff;
    width: 100%;
    text-align: center;
}

.ev-elements .kg-button-card .kg-btn:hover {
    opacity: .85;
}

/* ======================================================
   CTA CARD — reusable submission prompt
   ====================================================== */
.ev-cta {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: 4rem;
    padding: 2rem 2.4rem;
    background: rgba(13, 162, 174, .05);
    border: 1px solid rgba(13, 162, 174, .15);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background .15s, border-color .15s;
}

.ev-cta:hover {
    background: rgba(13, 162, 174, .10);
    border-color: rgba(13, 162, 174, .30);
    opacity: 1;
}

.ev-cta-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(13, 162, 174, .12);
    border-radius: 10px;
    color: #0da2ae;
}

.ev-cta-body {
    flex: 1;
    min-width: 0;
}

.ev-cta-title {
    color: var(--color-darker-gray);
    font-family: var(--font-serif);
    line-height: 1.7;
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 .2rem !important;
    white-space: pre-line;
}

.ev-cta-text {
    color: var(--color-primary-text);
    font-family: var(--font-serif);
    font-size: 1.7rem;
    line-height: 1.7;
    margin: 0 2rem 0 0 !important;
    white-space: pre-line;
}

.ev-cta-btn {
    font-family: var(--font-serif);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 36px;
    padding: 0 1.6rem;
    border-radius: 99px;
    background: #0da2ae;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.006em;
    white-space: nowrap;
    text-decoration: none;
    transition: background .15s;
}

.ev-cta-btn:hover {
    background: #0b8f99;
}

.ev-cta-sidebar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-top: 2.4rem;
    padding: 1.6rem;
}

.ev-cta-sidebar .ev-cta-btn {
    width: 100%;
    justify-content: center;
}

.ev-disclaimer {
    margin-top: 3rem;
    font-size: 1rem;
    color: #999;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .ev-cta {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
        padding: 2rem 1.6rem;
    }

    .ev-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ======================================================
   COMPACT EVENT CARD (v2) — calendar_new.html
   Thumbnail left, key info right, no description.
   ====================================================== */
.ev2-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0 1.6rem;
    padding: 1.6rem 0;
    text-decoration: none;
    color: inherit;
    transition: background .12s;
    align-items: center;
}

.ev2-card[data-hidden="1"] {
    display: none;
}

.ev2-card+.ev2-card {
    border-top: 1px solid var(--color-light-gray);
}

@media (hover: hover) {
    .ev2-card:hover {
        background: var(--color-lighter-gray, #f9fafb);
        border-radius: 8px;
        opacity: 1;
    }
}

/* Highlighted variant */
.ev2-card.is-highlighted {
    background-image: linear-gradient(170deg, #0da2ae, #6ab1d7);
    border: none;
    border-radius: 10px;
    padding: 1.6rem;
    margin-bottom: .4rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(13, 162, 174, .35);
    transition: transform .15s ease, box-shadow .15s ease;
    grid-template-columns: 220px 1fr;
}

.ev2-card.is-highlighted+.ev2-card {
    border-top: none;
}

@media (hover: hover) {
    .ev2-card.is-highlighted:hover {
        background-image: linear-gradient(170deg, #0b8f99, #5a9fc4);
        box-shadow: 0 6px 24px rgba(13, 162, 174, .45);
        transform: scale(1.02);
    }
}

.ev2-card.is-highlighted .ev2-card-title {
    color: #fff;
}

.ev2-card.is-highlighted .ev2-card-meta,
.ev2-card.is-highlighted .ev2-card-date {
    color: rgba(255, 255, 255, .85);
}

.ev2-card.is-highlighted .ev-badge {
    background: rgba(255, 255, 255, .95);
    color: #0a7d87;
}

.ev2-card.is-highlighted .ev2-card-thumb {
    width: 220px;
    height: 220px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

/* ── Thumbnail ── */
.ev2-card-thumb {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef9fa;
}

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

/* Fallback: teal block with day number */
.ev2-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0da2ae 0%, #6ab1d7 100%);
}

.ev2-thumb-fallback img {
    display: none;
}

.ev2-thumb-day {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

/* ── Info column ── */
.ev2-card-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.ev2-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .4rem;
}

.ev2-card-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.015em;
    color: var(--color-darker-gray);
    margin: 0;
}

.ev2-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem 1rem;
    font-size: 1.45rem;
    color: var(--color-secondary-text);
}

.ev2-card-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .15rem .8rem;
    font-size: 1.45rem;
    color: var(--dlz-accent);
    margin-top: .1rem;
}

.ev2-date-part,
.ev2-time-part {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
}

.ev2-card-date i {
    font-size: 1.1rem;
}

.ev2-date-range {
    margin-left: .3rem;
    font-weight: 600;
    color: #0da2ae;
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .ev2-card {
        grid-template-columns: 72px 1fr;
        gap: 0 1.2rem;
        padding: 1.2rem 0 1.2rem 2px;
        align-items: start;
    }

    .ev2-card-thumb {
        width: 72px;
        height: 72px;
        border-radius: 8px;
    }

    .ev2-thumb-day {
        font-size: 2.4rem;
    }

    .ev2-card-title {
        font-size: 1.5rem;
    }

    .ev2-card-meta {
        font-size: 1.35rem;
    }

    .ev2-card-date {
        font-size: 1.35rem;
    }

    .ev2-card.is-highlighted {
        padding: 1.2rem;
        grid-template-columns: 96px 1fr;
    }

    .ev2-card.is-highlighted .ev2-card-thumb {
        width: 96px;
        height: 96px;
    }
}