.horizon-events-toolbar,
.horizon-events-toolbar *,
.horizon-event-card-grid,
.horizon-event-card-grid *,
.horizon-events-submission,
.horizon-events-submission * {
    box-sizing: border-box;
}

.horizon-events-toolbar {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 16px 0;
    padding: 10px 12px;
    border: 1px solid #d6deeb;
    border-radius: 7px;
    background: #ffffff;
}

.horizon-events-categories,
.horizon-events-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.horizon-events-categories a,
.horizon-events-controls label,
.horizon-events-controls button,
.horizon-events-clear {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #cbd5e5;
    border-radius: 4px;
    background: #ffffff;
    color: #172754;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.horizon-events-categories a {
    padding: 8px 16px;
}

.horizon-events-categories a > span {
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 15px;
}

.horizon-events-categories a:hover,
.horizon-events-categories a.is-active {
    border-color: var(
        --rl-competition-accent,
        #075bd8
    );
    background: var(
        --rl-competition-accent,
        #075bd8
    );
    color: #ffffff;
}

.horizon-events-categories a:hover > span,
.horizon-events-categories a.is-active > span {
    color: #ffffff;
}

.horizon-events-controls label {
    position: relative;
    min-width: 138px;
    overflow: hidden;
}

.horizon-events-controls select {
    width: 100%;
    min-height: 36px;
    padding: 7px 34px 7px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172754;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    appearance: auto;
    cursor: pointer;
}

.horizon-events-controls button,
.horizon-events-clear {
    padding: 8px 15px;
    cursor: pointer;
}

.horizon-events-controls button {
    border-color: var(
        --rl-competition-accent,
        #075bd8
    );
    background: var(
        --rl-competition-accent,
        #075bd8
    );
    color: #ffffff;
}

.horizon-events-clear {
    color: var(
        --rl-competition-accent,
        #075bd8
    );
}

.horizon-event-card-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(
        4,
        minmax(0, 1fr)
    );
    gap: 16px;
}

.horizon-event-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #d6deeb;
    border-radius: 7px;
    background: #ffffff;
}

.horizon-event-card__media {
    width: 100%;
    aspect-ratio: 16 / 8.8;
    overflow: hidden;
    display: block;
    background: #eef3f9;
}

.horizon-event-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.horizon-event-card__media > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(
        --rl-competition-accent,
        #075bd8
    );
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.horizon-event-card__body {
    min-height: 230px;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px;
}

.horizon-event-card__category {
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.horizon-event-card h3 {
    margin: 5px 0 0;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.16;
}

.horizon-event-card h3 a {
    color: #101d4f;
    text-decoration: none;
}

.horizon-event-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0 0;
    color: #52617e;
    font-size: 12px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.horizon-event-card__details {
    display: grid;
    gap: 5px;
    margin-top: 10px;
}

.horizon-event-card__details p {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 6px;
    margin: 0;
    color: #405070;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
}

.horizon-event-card__details p > span {
    color: var(
        --rl-competition-accent,
        #075bd8
    );
}

.horizon-event-card__button {
    min-height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 7px 10px;
    border: 1px solid #bdc9dc;
    border-radius: 3px;
    background: #ffffff;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 10px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.horizon-event-card__button:hover {
    border-color: var(
        --rl-competition-accent,
        #075bd8
    );
    background: var(
        --rl-competition-accent,
        #075bd8
    );
    color: #ffffff;
}

.horizon-events-list-empty {
    width: 100%;
    display: grid;
    gap: 5px;
    padding: 30px 20px;
    border: 1px solid #d6deeb;
    border-radius: 7px;
    background: #ffffff;
    text-align: center;
}

.horizon-events-list-empty strong {
    color: #101d4f;
    font-size: 17px;
}

.horizon-events-list-empty span {
    color: #64708a;
    font-size: 13px;
}

.horizon-events-submission {
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    margin-top: 16px;
    padding: 11px 18px;
    border: 1px solid #cbd6e7;
    border-radius: 7px;
    background: #ffffff;
}

.horizon-events-submission__icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(
        --rl-competition-accent,
        #075bd8
    );
    color: #ffffff;
    font-size: 22px;
}

.horizon-events-submission h2 {
    margin: 0;
    color: #101d4f;
    font-size: 16px;
    font-weight: 900;
}

.horizon-events-submission p {
    margin: 3px 0 0;
    color: #52617e;
    font-size: 12px;
}

.horizon-events-submission > a {
    min-width: 180px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 17px;
    border: 1px solid #bdc9dc;
    border-radius: 4px;
    background: #ffffff;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.horizon-events-submission > a:hover {
    border-color: var(
        --rl-competition-accent,
        #075bd8
    );
    background: var(
        --rl-competition-accent,
        #075bd8
    );
    color: #ffffff;
}

.horizon-events-load-more {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.horizon-events-load-more a,
.horizon-events-load-more > span {
    width: min(330px, 100%);
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 8px 18px;
    border: 1px solid #bdc9dc;
    border-radius: 4px;
    background: #ffffff;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.horizon-events-load-more > span {
    opacity: 0.5;
}

.horizon-events-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .horizon-events-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .horizon-event-card-grid {
        grid-template-columns: repeat(
            3,
            minmax(0, 1fr)
        );
    }
}

@media (max-width: 780px) {
    .horizon-event-card-grid {
        grid-template-columns: repeat(
            2,
            minmax(0, 1fr)
        );
    }

    .horizon-events-submission {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .horizon-events-submission > a {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 540px) {
    .horizon-event-card-grid {
        grid-template-columns: 1fr;
    }

    .horizon-events-categories,
    .horizon-events-controls {
        width: 100%;
    }

    .horizon-events-categories a {
        flex: 1;
    }

    .horizon-events-controls label {
        flex: 1;
        min-width: 135px;
    }
}

/* Horizon Events inline SVG icons */
.horizon-event-inline-icon {
    width: 17px;
    height: 17px;
    display: inline-flex;
    flex: 0 0 17px;
    align-items: center;
    justify-content: center;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
}

.horizon-event-inline-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.horizon-events-categories a.is-active
.horizon-event-inline-icon,
.horizon-events-categories a:hover
.horizon-event-inline-icon {
    color: #ffffff;
}

.horizon-competition-date {
    display: flex;
    gap: 8px;
    align-items: center;
}

.horizon-competition-date
.horizon-event-inline-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}

.horizon-event-card__details
.horizon-event-inline-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}

.horizon-events-submission__icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.horizon-events-load-more svg {
    width: 15px;
    height: 15px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

/* Compact featured Event panel — matches supplied Events reference */
.horizon-events-page
.horizon-competition-featured {
    min-height: 0;
    height: 300px;
    grid-template-columns: minmax(0, 47%) minmax(0, 53%);
    align-items: stretch;
}

.horizon-events-page
.horizon-competition-featured__media {
    width: 100%;
    height: 300px;
    min-height: 0;
}

.horizon-events-page
.horizon-competition-featured__media img {
    width: 100%;
    height: 300px;
    min-height: 0;
    object-fit: cover;
}

.horizon-events-page
.horizon-competition-featured__body {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 30px;
}

.horizon-events-page
.horizon-competition-badge {
    margin: 0 0 7px;
}

.horizon-events-page
.horizon-competition-featured__body h2 {
    margin: 0;
    line-height: 1.08;
}

.horizon-events-page
.horizon-competition-featured__summary {
    max-width: 620px;
    margin: 10px 0 0;
    line-height: 1.45;
}

.horizon-events-page
.horizon-competition-featured__body
.horizon-competition-date {
    margin: 12px 0 0;
}

.horizon-events-page
.horizon-competition-featured__body
.horizon-competition-date
+ .horizon-competition-date {
    margin-top: 7px;
}

.horizon-events-page
.horizon-competition-featured__body
.horizon-competition-button {
    margin-top: 14px;
}

@media (max-width: 780px) {
    .horizon-events-page
    .horizon-competition-featured {
        height: auto;
        grid-template-columns: 1fr;
    }

    .horizon-events-page
    .horizon-competition-featured__media,
    .horizon-events-page
    .horizon-competition-featured__media img {
        height: 280px;
    }

    .horizon-events-page
    .horizon-competition-featured__body {
        padding: 22px;
    }
}

/* EVENT DETAIL PAGE START */
.horizon-event-detail,
.horizon-event-detail * {
    box-sizing: border-box;
}

.horizon-event-detail__hero {
    min-height: 370px;
    display: grid;
    grid-template-columns:
        minmax(0, 49%)
        minmax(0, 51%);
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid #d6deeb;
    border-radius: 7px;
    background: #ffffff;
}

.horizon-event-detail__hero-media {
    min-height: 370px;
    overflow: hidden;
    display: block;
    background: #edf2f8;
}

.horizon-event-detail__hero-media img {
    width: 100%;
    height: 100%;
    min-height: 370px;
    display: block;
    object-fit: cover;
}

.horizon-event-detail__hero-media > span {
    width: 100%;
    height: 100%;
    min-height: 370px;
    display: grid;
    place-items: center;
    padding: 30px;
    background: var(
        --rl-competition-accent,
        #075bd8
    );
    color: #ffffff;
    font-size: 25px;
    font-weight: 900;
    text-align: center;
}

.horizon-event-detail__hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 28px 34px;
}

.horizon-event-detail__hero-content h2 {
    margin: 0;
    color: #101d4f;
    font-size: clamp(
        27px,
        3vw,
        38px
    );
    font-weight: 950;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.horizon-event-detail__meta {
    width: 100%;
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.horizon-event-detail__meta > div {
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: #34425f;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
}

.horizon-event-detail__meta svg,
.horizon-event-detail__actions svg,
.horizon-event-detail__info-grid svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.horizon-event-detail__meta svg {
    width: 18px;
    height: 18px;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
}

.horizon-event-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 19px;
}

.horizon-event-detail__button {
    min-width: 190px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 18px;
    border: 1px solid var(
        --rl-competition-accent,
        #075bd8
    );
    border-radius: 4px;
    background: #ffffff;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.horizon-event-detail__button.is-primary {
    background: var(
        --rl-competition-accent,
        #075bd8
    );
    color: #ffffff;
}

.horizon-event-detail__button svg {
    width: 16px;
    height: 16px;
}

.horizon-event-detail__intro {
    max-width: 660px;
    margin: 18px 0 0;
    color: #52617e;
    font-size: 13px;
    line-height: 1.55;
}

.horizon-event-detail__two-column {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.horizon-event-detail__section {
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid #d6deeb;
    border-radius: 7px;
    background: #ffffff;
}

.horizon-event-detail__section > h2 {
    margin: 0 0 14px;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.horizon-event-detail__body {
    color: #34425f;
    font-size: 13px;
    line-height: 1.62;
}

.horizon-event-detail__lineup {
    display: grid;
    gap: 7px;
}

.horizon-event-detail__lineup-row {
    min-height: 42px;
    display: grid;
    grid-template-columns:
        42px
        minmax(0, 1fr)
        20px;
    gap: 10px;
    align-items: center;
    padding: 3px 8px 3px 3px;
    border: 1px solid #dce3ef;
    border-radius: 4px;
    background: #ffffff;
}

.horizon-event-detail__lineup-image {
    width: 38px;
    height: 36px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 3px;
    background: #edf2f8;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 14px;
    font-weight: 900;
}

.horizon-event-detail__lineup-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.horizon-event-detail__lineup-row strong {
    color: #172754;
    font-size: 12px;
}

.horizon-event-detail__lineup-arrow {
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 21px;
    font-weight: 700;
    text-align: right;
}

.horizon-event-detail__info-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.horizon-event-detail__info-grid article {
    min-height: 86px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    padding: 12px;
    border: 1px solid #dce3ef;
    border-radius: 4px;
    background: #ffffff;
}

.horizon-event-detail__info-grid svg {
    width: 20px;
    height: 20px;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
}

.horizon-event-detail__info-grid strong {
    display: block;
    margin-bottom: 3px;
    color: #172754;
    font-size: 11px;
    font-weight: 900;
}

.horizon-event-detail__info-grid span {
    display: block;
    color: #66728b;
    font-size: 10px;
    line-height: 1.35;
}

.horizon-event-detail__location {
    display: grid;
    grid-template-columns:
        minmax(0, 62%)
        minmax(0, 38%);
    gap: 16px;
    align-items: stretch;
}

.horizon-event-detail__map {
    min-height: 180px;
    overflow: hidden;
    border-radius: 4px;
    background: #edf2f8;
}

.horizon-event-detail__map iframe {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: block;
    border: 0;
}

.horizon-event-detail__location-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizon-event-detail__location-copy strong {
    color: #172754;
    font-size: 13px;
    line-height: 1.35;
}

.horizon-event-detail__location-copy p {
    margin: 6px 0 12px;
    color: #52617e;
    font-size: 11px;
    line-height: 1.5;
}

.horizon-event-detail__location-copy a {
    margin-top: 8px;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.horizon-event-detail__section-empty {
    min-height: 90px;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #f5f7fb;
    color: #66728b;
    font-size: 12px;
    text-align: center;
}

.horizon-event-detail__related {
    margin-top: 16px;
}

.horizon-event-detail__related-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.horizon-event-detail__related-card {
    min-width: 0;
    display: grid;
    grid-template-columns:
        minmax(0, 44%)
        minmax(0, 56%);
    overflow: hidden;
    border: 1px solid #dce3ef;
    border-radius: 5px;
    background: #ffffff;
}

.horizon-event-detail__related-media {
    min-height: 132px;
    overflow: hidden;
    display: block;
    background: #edf2f8;
}

.horizon-event-detail__related-media img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    display: block;
    object-fit: cover;
}

.horizon-event-detail__related-media > span {
    width: 100%;
    height: 100%;
    min-height: 132px;
    display: grid;
    place-items: center;
    background: var(
        --rl-competition-accent,
        #075bd8
    );
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.horizon-event-detail__related-copy {
    display: flex;
    flex-direction: column;
    padding: 13px;
}

.horizon-event-detail__related-copy h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.horizon-event-detail__related-copy h3 a {
    color: #172754;
    text-decoration: none;
}

.horizon-event-detail__related-copy p {
    margin: 5px 0 0;
    color: #66728b;
    font-size: 10px;
    line-height: 1.35;
}

.horizon-event-detail__related-link {
    margin-top: auto;
    padding-top: 10px;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.horizon-event-detail__back {
    display: inline-flex;
    margin-top: 17px;
    color: var(
        --rl-competition-accent,
        #075bd8
    );
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .horizon-event-detail__hero {
        grid-template-columns: 1fr;
    }

    .horizon-event-detail__hero-media,
    .horizon-event-detail__hero-media img {
        min-height: 360px;
        height: 360px;
    }

    .horizon-event-detail__related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .horizon-event-detail__two-column {
        grid-template-columns: 1fr;
    }

    .horizon-event-detail__info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .horizon-event-detail__location {
        grid-template-columns: 1fr;
    }

    .horizon-event-detail__hero-content {
        padding: 24px 20px;
    }
}

@media (max-width: 520px) {
    .horizon-event-detail__hero-media,
    .horizon-event-detail__hero-media img {
        min-height: 250px;
        height: 250px;
    }

    .horizon-event-detail__actions,
    .horizon-event-detail__button {
        width: 100%;
    }

    .horizon-event-detail__info-grid {
        grid-template-columns: 1fr;
    }

    .horizon-event-detail__related-card {
        grid-template-columns: 1fr;
    }

    .horizon-event-detail__related-media,
    .horizon-event-detail__related-media img {
        min-height: 190px;
        height: 190px;
    }
}
/* EVENT DETAIL PAGE END */
