/* Event listing */
/* Keep the shortcode/widget width stable when all month accordions are closed.
   Elementor can otherwise shrink the shortcode widget to the intrinsic width of the summaries. */
.elementor-widget-shortcode:has(.et-event-calendar),
.elementor-widget-shortcode:has(.et-event-calendar) > .elementor-widget-container,
.elementor-widget-container:has(> .elementor-shortcode > .et-event-calendar),
.elementor-shortcode:has(> .et-event-calendar) {
    width: 100% !important;
    max-width: 1400px !important;
    min-width: 0 !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
}

.et-event-calendar {
    display: block !important;
    width: 100% !important;
    max-width: 1400px !important;
    min-width: 0;
    flex: 0 0 100%;
    margin: 0 auto;
    box-sizing: border-box;
    color: #092053;
}

.et-event-month {
    display: block;
    width: 100% !important;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    border-bottom: 1px solid #cfd3d8;
}

.et-event-month + .et-event-month {
    margin-top: 0;
}

.et-event-month__title {
    position: relative;
    width: 100% !important;
    box-sizing: border-box;
    display: flex;
    min-height: 106px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px 24px 30px;
    border: 0;
    color: #092053;
    cursor: pointer;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.12;
    list-style: none;
}

.et-event-month__title::-webkit-details-marker {
    display: none;
}

.et-event-month__chevron {
    width: 13px;
    height: 13px;
    margin-right: 2px;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    transform: rotate(45deg) translateY(3px);
    transition: transform .2s ease;
}

.et-event-month:not([open]) .et-event-month__chevron {
    transform: rotate(225deg) translateY(3px);
}

.et-event-month__events {
    width: 100% !important;
    border-top: 1px solid #cfd3d8;
    padding: 30px 0;
}

.et-event-row {
    position: relative;
    display: grid;
    grid-template-columns: 260px 35px 90px minmax(0, 1fr) 0;
    min-height: 95px;
    box-sizing: border-box;
    align-items: center;
    margin: 0;
    padding-right: 20px;
    border-bottom: 1px solid #cfd3d8;
    transition: opacity .2s ease;
}

.et-event-row:last-child {
    border-bottom: 0;
}

.et-event-row--past {
    opacity: .48;
}

.et-event-row__date {
    display: flex;
    min-height: 94px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    padding: 30px 0 30px 30px;
    border-right: 1px solid #cfd3d8;
    color: #092052;
    height: 100%;
}

.et-event-row__date strong {
    display: block;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    white-space: nowrap;
    letter-spacing: -.03em;
}

.et-event-row__date span {
    display: block;
    margin-top: 0;
    color: #626262;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
}

.et-event-row__dot {
    position: relative;
    z-index: 1;
    width: 15px;
    height: 15px;
    margin-left: -8px;
    border-radius: 50%;
    background: #1bb2d0;
}

.et-event-row__icon {
    display: flex;
    width: 75px;
    height: 75px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #061541;
}

.et-event-row__icon img {
    display: block;
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.et-event-row__content {
    min-width: 0;
    padding: 16px 20px 16px 8px;
}

.et-event-row__name {
    margin: 0 0 7px !important;
    color: #092052 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: -.01em !important;
}

.et-event-row__location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #626262;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.et-event-row__pin {
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 18px;
    object-fit: contain;
}

/* Kept in the row structure so the event content keeps the designer spacing.
   The button remains hidden until it is enabled again. */
.et-event-row__action {
    display: block;
    min-height: 1px;
}

.et-event-row__button {
    display: none !important;
}

.et-event-empty {
    margin: 0;
    padding: 22px 49px;
}

/* Single event page */
.et-event-single {
    width: 100%;
    margin: 0;
    background: #f5f7fb;
    color: #102047;
}

.et-event-single__container {
    width: min(100% - 40px, 1400px);
    margin-inline: auto;
}

.et-event-single__hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: #0b255b url(/wp-content/uploads/2026/04/contact_bg.jpg) no-repeat top center;
    color: #fff;
}

.et-event-single__hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: "";
    pointer-events: none;
    background: rgba(9, 32, 83, .2);
}

.et-event-single__back {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 35px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background-color: #31FFFF;
    text-transform: capitalize;
    color: #092053 !important;
    border-radius: 10px 10px 10px 10px;
    padding: 8px 20px;
}

.et-event-single__back:hover,
.et-event-single__back:focus {
    background-color: #092053 !important;
    color: #FFFFFF !important;
}

.et-event-single__hero-grid {
    position: relative;
    z-index: 1;
    display: flex;
    /*grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    align-items: center;
    gap: 64px;*/
}

.et-event-single__hero-content {
    width: 100%;
}

.et-event-single__eyebrow {
    margin: 0 0 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.et-event-single__title {
    max-width: 100%;
    margin: 0 0 30px !important;
    color: var(--e-global-color-accent) !important;
    font-size: clamp(38px, 5vw, 55px) !important;
    font-weight: 750 !important;
    line-height: 1.05 !important;
    letter-spacing: -.035em;
}

.et-event-single__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 0;
    max-width: 50%;
}

.et-event-single__meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 94px;
    padding: 18px 20px;
    border: 1px solid rgba(9, 32, 83, 1);
    border-radius: 12px;
    background: rgba(9, 32, 83, .7);
}

.et-event-single__meta-label {
    color: #2ce2ea;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.et-event-single__meta-value {
    color: #fff;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
}

.et-event-single__primary-button,
.et-event-single__secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 13px 24px;
    border-radius: 10px;
    background: #2ce2ea;
    color: #071b45;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.et-event-single__primary-button:hover,
.et-event-single__primary-button:focus,
.et-event-single__secondary-button:hover,
.et-event-single__secondary-button:focus {
    background: #0927eb;
    color: #fff;
    transform: translateY(-1px);
}

.et-event-single__image {
    overflow: hidden;
    min-height: 360px;
    margin: 0;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.et-event-single__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.et-event-single__body {
    padding: 70px 0 85px;
}

.et-event-single__content-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 55px;
}

.et-event-single__article,
.et-event-single__summary {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(14, 34, 82, .08);
}

.et-event-single__article {
    padding: clamp(26px, 4vw, 48px);
}

.et-event-single__section-title,
.et-event-single__summary-title {
    margin: 0 0 24px !important;
    color: #0b255b !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
}

.et-event-single__section-title {
    font-size: clamp(28px, 3vw, 38px) !important;
}

.et-event-single__summary-title {
    font-size: 24px !important;
}

.et-event-single__content {
    color: #4a5672;
    font-size: 17px;
    line-height: 1.75;
}

.et-event-single__content > :first-child {
    margin-top: 0;
}

.et-event-single__content > :last-child {
    margin-bottom: 0;
}

.et-event-single__summary {
    position: sticky;
    top: 30px;
    padding: 28px;
}

.et-event-single__summary-row {
    padding: 18px 0;
    border-top: 1px solid #e5e9f2;
}

.et-event-single__summary-row span,
.et-event-single__summary-row strong {
    display: block;
}

.et-event-single__summary-row span {
    margin-bottom: 5px;
    color: #73809b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.et-event-single__summary-row strong {
    color: #102047;
    font-size: 16px;
    line-height: 1.45;
}

.et-event-single__secondary-button {
    width: 100%;
    margin-top: 18px;
}

@media (max-width: 1024px) {
.et-event-single__meta {
    max-width: 70%;
}
}

@media (max-width: 960px) {
    .et-event-single__hero-grid,
    .et-event-single__content-wrap {
        grid-template-columns: 1fr;
    }

    .et-event-single__hero-grid {
        gap: 40px;
    }

    .et-event-single__image {
        min-height: 300px;
    }

    .et-event-single__image img {
        min-height: 300px;
    }

    .et-event-single__summary {
        position: static;
    }
    .et-event-single__meta {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .et-event-month__title {
        min-height: 85px;
        padding: 20px 30px;
        font-size: 35px;
    }
    .et-event-row__name {
        font-size: 25px !important;
    }
    .et-event-row__date {
        min-height: 0;
        padding: 35px 30px;
    }
    .et-event-row__date strong {
        font-size: 25px;
    }
    .et-event-row__date span {
        font-size: 20px;
    }
    .et-event-row {
        grid-template-columns: 190px 35px 90px minmax(0, 1fr) 0;
        min-height: 0;
    }
    .et-event-row__location {
        font-size: 15px;
    }
    .et-event-month__events {
        padding: 15px 0;
    }
}

@media (max-width: 767px) {
    .et-event-single__container {
        width: min(100% - 28px, 1400px);
    }

    .et-event-single__hero {
        padding: 60px 0;
    }

    .et-event-single__back {
        margin-bottom: 25px;
    }

    .et-event-single__title {
        margin-bottom: 24px !important;
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    .et-event-single__meta {
        grid-template-columns: 1fr;
    }

    .et-event-single__meta-item {
        min-height: auto;
    }

    .et-event-single__primary-button {
        width: 100%;
    }

    .et-event-single__image,
    .et-event-single__image img {
        min-height: 230px;
    }

    .et-event-single__body {
        padding: 38px 0 55px;
    }

    .et-event-single__content-wrap {
        gap: 24px;
    }

    .et-event-single__article,
    .et-event-single__summary {
        border-radius: 12px;
    }
    .et-event-month__events {
        padding: 10px 0;
    }
}

@media (max-width: 767px) {
    .et-event-calendar {
        width: 100%;
    }

    .et-event-month__title {
        min-height: 60px;
        padding: 10px;
        font-size: 25px;
    }

    .et-event-month__chevron {
        width: 10px;
        height: 10px;
        margin-right: 4px;
    }

    .et-event-row {
        grid-template-columns: 90px 15px 54px minmax(0, 1fr);
        min-height: 94px;
        margin-left: 0;
        padding: 0 10px;
    }

    .et-event-row__date {
        min-height: 72px;
        padding: 0 10px 0 0;
    }

    .et-event-row__date strong {
        font-size: 17px;
    }

    .et-event-row__date span {
        font-size: 12px;
    }

    .et-event-row__dot {
        width: 9px;
        height: 9px;
        margin-left: -5px;
    }

    .et-event-row__icon {
        width: 44px;
        height: 44px;
    }

    .et-event-row__icon img {
        width: 29px;
        height: 29px;
    }

    .et-event-row__content {
        padding: 10px 0;
    }

    .et-event-row__name {
        font-size: 14px !important;
    }

    .et-event-row__location {
        gap: 5px;
        font-size: 12px;
    }

    .et-event-row__action {
        display: none;
    }
}

/* Hide the footer event listing on single Event Calendar pages. */
body.single-event_calendar .events-calendar-car-wrap {
    display: none !important;
}
