.imk-events {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.imk-events--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.imk-event {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.imk-events--grid .imk-event {
    flex-direction: column;
}

.imk-event__image {
    flex: 0 0 140px;
}

.imk-events--grid .imk-event__image {
    flex: 0 0 auto;
}

.imk-event__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.imk-event__title {
    margin: 0 0 8px;
    font-size: 1.1em;
}

.imk-event__title a {
    text-decoration: none;
}

.imk-event__date,
.imk-event__address,
.imk-event__excerpt {
    margin: 0 0 6px;
    color: #555;
}

.imk-events--error,
.imk-events--empty {
    padding: 12px 16px;
    border: 1px dashed #ccc;
    border-radius: 6px;
    background: #fafafa;
}

.imk-agenda {
    width: 100%;
}

.imk-agenda--events {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 40px);
}

.imk-agenda-event {
    margin: 0;
}

.imk-agenda-event__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: visible;
    aspect-ratio: 500 / 360;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 18.953px 23.691px rgba(119, 115, 170, 0.1);
    text-decoration: none;
    color: inherit;
}

.imk-agenda-event__media {
    position: relative;
    flex: 0 0 70%;
    border-radius: 19px 19px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, #ef8b60 0%, #d96f41 100%);
}

.imk-agenda-event__image {
    position: absolute;
    top: -28.96%;
    left: -0.02%;
    display: block;
    width: 100%;
    height: 219.19%;
    object-fit: cover;
}

.imk-agenda-event__image--placeholder {
    position: static;
    min-height: 100%;
    height: 100%;
}

.imk-agenda-event__date {
    font-family: "DM Sans", sans-serif;
    font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    min-height: 72px;
    padding: 4px 6px 3px;
    border-radius: 8px 8px 0 0;
    background: #fff;
    box-shadow: none;
    color: #4b4b4b;
    text-align: center;
    line-height: 1;
}

.imk-agenda-event__date--range {
    flex-direction: row;
    justify-content: space-between;
    width: 163px;
    min-height: 72px;
    padding: 7px 10px 6px;
}

.imk-agenda-event__date-part {
    display: flex;
    flex: 0 0 50px;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.imk-agenda-event__date-separator {
    flex: 0 0 auto;
    align-self: center;
    color: #9e0102;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.imk-agenda-event__dates {
    position: absolute;
    left: 26px;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: calc(100% - 52px);
}

.imk-agenda-event__date-day {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.2666666667;
    letter-spacing: 0;
    text-transform: none;
}

.imk-agenda-event__date-number {
    font-family: "DM Sans", sans-serif;
    margin: 3px 0 2px;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
    color: #9e0102;
}

.imk-agenda-event__date-month {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1333333333;
    letter-spacing: 0;
    text-transform: uppercase;
}

.imk-agenda-event__body {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 11px;
    min-width: 0;
    padding: 18px 52px 0 26px;
}

.imk-agenda-event__kicker {
    font-family: "DM Sans", sans-serif;
    font-style: normal;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3.52px;
    line-height: 1;
    text-transform: uppercase;
    color: #000;
}

.imk-agenda-event__title {
    display: block;
    font-family: "Bebas Neue Book", "Bebas Neue", sans-serif;
    font-style: normal;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.64px;
    color: #000;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imk-agenda-event__address {
    display: none;
}

.imk-agenda-event__cta {
    font-family: "DM Sans", sans-serif;
    font-style: normal;
    position: absolute;
    right: 23px;
    bottom: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 24px;
    border-radius: 12.5px;
    background: #9e0102;
    box-shadow: none;
}

.imk-agenda-event__cta-glyph {
    position: absolute;
    top: 5px;
    left: 8px;
    width: 11px;
    color: #fcfcfc;
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 12px;
    letter-spacing: 0.72px;
    text-align: left;
}

.imk-event-single {
    background: #fbf8f5;
    padding: 2px 0 120px;
}

.imk-event-detail {
    margin: 0 auto;
}

.imk-event-detail__article {
    color: #4b4b4b;
}

.imk-event-detail__hero {
    position: relative;
    margin: 0 auto;
}

.imk-event-detail__hero--no-image {
    min-height: 24px;
}

.imk-event-detail__hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1046 / 468;
    object-fit: cover;
    border-radius: 18.95px 18.95px 0 0;
}

.imk-event-detail__ticket {
    position: absolute;
    left: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #9e0102;
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.68px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateY(-50%);
}

.imk-event-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 27px;
    margin: 46px auto 0;
}

.imk-event-detail__sidebar {
    padding-top: 2px;
}

.imk-event-detail__meta-block + .imk-event-detail__meta-block {
    margin-top: 32px;
}

.imk-event-detail__meta-title {
    margin: 0 0 -2px;
    padding-bottom: 5px;
    color: #4b4b4b;
    font-family: "Bebas Neue Book", "Bebas Neue", sans-serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.64px;
    line-height: 1;
    text-transform: uppercase;
}

.imk-event-detail .imk-event-detail__sidebar .imk-event-detail__meta-list {
    margin: 0;
    padding: 0;
    padding-left: 0;
    list-style: none;
}

.imk-event-detail .imk-event-detail__sidebar .imk-event-detail__meta-line {
    margin: 0;
    padding-left: 0;
    color: #4b4b4b;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    list-style: none;
}

.imk-event-detail .imk-event-detail__sidebar .imk-event-detail__meta-line + .imk-event-detail__meta-line {
    margin-top: 2px;
}

.imk-event-detail__meta-link {
    color: #9e0102;
    font-weight: 600;
    text-decoration: none;
}

.imk-event-detail__kicker {
    margin: 0 0 10px;
    color: #000;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3.52px;
    line-height: 1;
    text-transform: uppercase;
}

.imk-event-detail__title {
    margin: 0 0 12px;
    color: #4b4b4b;
    font-family: "Bebas Neue", sans-serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.96px;
    line-height: 0.9;
    text-transform: uppercase;
}

.imk-event-detail__content {
    color: #4b4b4b;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}

.imk-event-detail__content p {
    margin: 0 0 12px;
}

.imk-event-detail__content a {
    color: inherit;
    text-decoration: underline;
}

.imk-event-detail__video {
    margin-top: 34px;
}

.imk-event-detail__video-frame {
    overflow: hidden;
    background: #000;
}

.imk-event-detail__video-frame iframe {
    display: block;
    width: 100%;
    aspect-ratio: 765 / 483;
    border: 0;
}

.imk-event-detail__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.imk-event-detail__gallery-button {
    display: block;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    text-align: left;
    width: 100%;
}

.imk-event-detail__gallery-button:focus-visible {
    outline: 3px solid #4b4b4b;
    outline-offset: 3px;
}

.imk-event-detail__gallery-image {
    aspect-ratio: 4 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.imk-lightbox-open {
    overflow: hidden;
}

.imk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 38px 76px;
    background: rgba(18, 18, 18, 0.92);
}

.imk-lightbox.is-open {
    display: flex;
}

.imk-lightbox__figure {
    margin: 0;
    max-width: min(1120px, 100%);
    max-height: 100%;
}

.imk-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 76px);
    object-fit: contain;
}

.imk-lightbox__close,
.imk-lightbox__nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.imk-lightbox__close span,
.imk-lightbox__nav span {
    display: block;
    line-height: 1;
}

.imk-lightbox__close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 34px;
}

.imk-lightbox__close span {
    transform: translateY(-1px);
}

.imk-lightbox__nav {
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    font-size: 44px;
}

.imk-lightbox__nav span {
    transform: translateY(-2px);
}

.imk-lightbox__nav--prev {
    left: 20px;
}

.imk-lightbox__nav--next {
    right: 20px;
}

.imk-lightbox__close:hover,
.imk-lightbox__close:focus-visible,
.imk-lightbox__nav:hover,
.imk-lightbox__nav:focus-visible {
    background: #fff;
    color: #121212;
}

.imk-event-detail__upcoming {
    margin: 122px auto 0;
}

.imk-event-detail__section-title {
    margin: 0 0 40px;
    color: #4b4b4b;
    font-family: "Bebas Neue Book", "Bebas Neue", sans-serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.96px;
    line-height: 0.9;
    text-align: center;
    text-transform: uppercase;
}

.imk-event-detail__upcoming-grid {
    gap: 46px;
}

.imk-events-archive {
    background: #fbf8f5;
    padding: 0 0 120px;
}

.imk-events-archive .site-main {
    width: 100%;
}

.imk-archives {
    margin: 0 auto;
}

.imk-events-archive .imk-archives {
    width: min(1046px, calc(100% - 32px));
    padding: 180px 0 0;
}

.imk-archives__header {
    margin-bottom: 38px;
}

.imk-archives__eyebrow {
    margin: 0 0 23px;
    color: #000;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3.52px;
    line-height: 1;
    text-transform: uppercase;
}

.imk-archives__title {
    margin: 0;
    color: #4b4b4b;
    font-family: "Bebas Neue", sans-serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.96px;
    line-height: 0.9;
    text-transform: uppercase;
}

.imk-archives__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 196px;
    align-items: start;
}

.imk-archives__grid--single {
    grid-template-columns: 1fr;
}

.imk-archives__column {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.imk-archives__group {
    margin: 0;
}

.imk-archives__year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 0 14px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #9e0102;
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.68px;
    line-height: 1;
    text-transform: uppercase;
}

.imk-archives .imk-archives__list {
    margin: 0;
    padding: 0;
    padding-left: 0;
    list-style: none;
}

.imk-archives__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.imk-archives__item + .imk-archives__item {
    margin-top: 2px;
}

.imk-archives__link {
    color: #4b4b4b;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    text-decoration: none;
}

.imk-archives__link:hover,
.imk-archives__link:focus-visible {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .imk-agenda--events {
        grid-template-columns: 1fr;
    }

    .imk-agenda-item,
    .imk-agenda-event {
        grid-template-columns: 1fr;
    }

    .imk-agenda-event__body {
        padding: 30px 44px 0 20px;
    }

    .imk-agenda-event__title {
        max-width: none;
        font-size: clamp(1.85rem, 8vw, 32px);
    }

    .imk-agenda-event__date {
        width: 56px;
        min-height: 68px;
        padding: 4px 5px 3px;
    }

    .imk-agenda-event__date--range {
        width: 152px;
        min-height: 68px;
        padding: 6px 9px 5px;
    }

    .imk-agenda-event__date-separator {
        font-size: 15px;
    }

    .imk-agenda-event__dates {
        left: 18px;
        gap: 6px;
        max-width: calc(100% - 36px);
    }

    .imk-agenda-event__cta {
        right: 18px;
        bottom: 22px;
    }

    .imk-agenda-event__card {
        aspect-ratio: auto;
    }

    .imk-agenda-event__media {
        flex-basis: auto;
    }

    .imk-agenda-event__image {
        position: static;
        aspect-ratio: 500 / 321;
        height: auto;
    }

    .imk-agenda-event__image--placeholder {
        min-height: 230px;
    }

    .imk-event-single {
        padding-bottom: 72px;
    }

    .imk-event-detail__hero-image img {
        aspect-ratio: 16 / 10;
    }

    .imk-event-detail__ticket {
        left: 20px;
        bottom: -12px;
    }

    .imk-event-detail__layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "sidebar";
        gap: 28px;
        margin-top: 34px;
    }

    .imk-event-detail__main {
        grid-area: main;
    }

    .imk-event-detail__sidebar {
        grid-area: sidebar;
    }

    .imk-event-detail__title {
        font-size: clamp(2.4rem, 10vw, 3rem);
    }

    .imk-event-detail__meta-title {
        font-size: 28px !important;
    }

    .imk-event-detail__video {
        margin-top: 24px;
    }

    .imk-event-detail__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 28px;
    }

    .imk-lightbox {
        padding: 64px 14px;
    }

    .imk-lightbox__image {
        max-height: calc(100vh - 128px);
    }

    .imk-lightbox__nav {
        top: auto;
        bottom: 16px;
        transform: none;
    }

    .imk-event-detail__upcoming {
        margin-top: 76px;
    }

    .imk-event-detail__section-title {
        margin-bottom: 26px;
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .imk-event-detail__upcoming-grid {
        gap: 24px;
    }

    .imk-events-archive .imk-archives {
        width: calc(100% - 24px);
        padding-top: 140px;
    }

    .imk-archives__header {
        margin-bottom: 30px;
    }

    .imk-archives__title {
        font-size: clamp(2.4rem, 10vw, 3rem);
    }

    .imk-archives__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .imk-archives__column {
        gap: 40px;
    }
}
