/* Events listing page. */
.soves-events-page {
    --soves-primary: #e24a3b;
    --soves-primary-dark: #be3429;
    --soves-text: #172033;
    --soves-muted: #667085;
    --soves-border: #e6eaf0;
    --soves-blue: #0d63f3;
    background: #ffffff;
    color: var(--soves-text);
}

.soves-events-hero {
    min-height: 400px;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(8, 13, 22, 0.72), rgba(8, 13, 22, 0.52)),
        url("https://images.unsplash.com/photo-1527529482837-4698179dc6ce?auto=format&fit=crop&w=1600&q=80");
    background-position: center;
    background-size: cover;
}

.soves-events-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.58));
}

.soves-events-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
}

.soves-events-hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(36px, 3.25vw, 48px);
    line-height: 1.1;
    font-weight: 600;
}

.soves-events-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
}

.soves-events-breadcrumb a {
    color: #ffffff;
}

.soves-events-breadcrumb svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.soves-events-search-wrap {
    margin-top: 48px;
}

.soves-events-search {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 12px;
    border: 1px solid var(--soves-border);
    border-radius: 12px;
    background: #ffffff;
    padding: 14px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.11);
}

.soves-events-search label,
.soves-events-filter label {
    display: grid;
    gap: 7px;
    margin: 0;
}

.soves-events-search span,
.soves-events-filter label span,
.soves-events-filter__group > span {
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.soves-events-search input,
.soves-events-filter input,
.soves-events-toolbar select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--soves-border);
    border-radius: 7px;
    background: #ffffff;
    color: var(--soves-text);
    padding: 9px 11px;
    font-size: 14px;
}

.soves-events-search button,
.soves-events-filter button {
    border: 0;
    border-radius: 8px;
    background: var(--soves-primary);
    color: #ffffff;
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
}

.soves-events-main {
    padding-top: 28px;
    padding-bottom: 72px;
}

.soves-event-types {
    margin-bottom: 24px;
}

.soves-event-types h2 {
    margin: 0 0 14px;
    color: var(--soves-text);
    font-size: 17px;
    font-weight: 600;
}

.soves-event-types__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.soves-event-types__grid a {
    min-height: 74px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--soves-border);
    border-radius: 10px;
    background: #ffffff;
    color: inherit;
    padding: 12px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.soves-event-types__grid a:hover,
.soves-event-types__grid a:focus-visible,
.soves-event-types__grid a.is-active {
    border-color: rgba(226, 74, 59, 0.34);
    background: #fff8f6;
    outline: 0;
}

.soves-event-types__grid i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--soves-primary);
    font-size: 20px;
}

.soves-event-types__grid strong,
.soves-event-types__grid em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.soves-event-types__grid strong {
    color: var(--soves-text);
    font-size: 13px;
}

.soves-event-types__grid em {
    margin-top: 3px;
    color: var(--soves-muted);
    font-size: 12px;
    font-style: normal;
}

.soves-events-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.soves-events-filter {
    border: 1px solid var(--soves-border);
    border-radius: 10px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.soves-events-filter h2 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 600;
}

.soves-events-filter form {
    display: grid;
    gap: 14px;
}

.soves-events-filter__group {
    display: grid;
    gap: 10px;
}

.soves-events-filter__group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #344054;
    font-size: 13px;
}

.soves-events-support {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    border-top: 1px solid var(--soves-border);
    padding-top: 16px;
}

.soves-events-support strong {
    margin-top: 8px;
    font-size: 13px;
}

.soves-events-support a {
    color: var(--soves-primary);
    font-size: 14px;
    text-decoration: none;
}

.soves-events-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.soves-events-toolbar p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.soves-events-toolbar form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.soves-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.soves-event-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(230, 234, 240, 0.9);
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.soves-event-card__favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 25px !important;
    min-width: 25px !important;
    max-width: 25px !important;
    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 999px;
    padding: 5px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--soves-primary) !important;
    line-height: 1;
    box-shadow: none !important;
    cursor: pointer;
    pointer-events: auto;
    transform: none !important;
}

.soves-event-card__favorite i {
    width: 15px !important;
    height: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    line-height: 1 !important;
    color: inherit !important;
}

.soves-event-card__favorite:hover,
.soves-event-card__favorite:focus-visible,
.soves-event-card__favorite.is-favorite {
    border: 0 !important;
    background: var(--soves-primary) !important;
    color: #ffffff !important;
    outline: 0 !important;
    transform: none !important;
    box-shadow: none !important;
}

.soves-event-card__favorite[disabled] {
    cursor: wait;
    opacity: 0.7;
}

.soves-event-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    display: block;
    overflow: hidden;
    background: #eef3f9;
}

.soves-event-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.soves-event-card:hover .soves-event-card__media img {
    transform: scale(1.05);
}

.soves-event-card__media span {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 999px;
    background: var(--soves-blue);
    color: #ffffff;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
}

.soves-event-card__body {
    padding: 14px 15px 15px;
}

.soves-event-card__media-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.soves-event-card__media-badge.is-featured {
    background: var(--soves-primary);
}

.soves-event-card__media-badge.is-category {
    left: auto;
    right: auto;
    background: var(--soves-blue);
}

.soves-event-card__media-badge.is-featured + .soves-event-card__media-badge.is-category {
    left: auto;
    margin-left: 10px;
}

.soves-event-card__amenities {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 0;
    border-top: 1px solid var(--soves-border);
}

.soves-event-card__amenities strong {
    display: inline-flex;
    align-items: center;
    color: var(--soves-text);
    font-size: 12px;
    font-weight: 700;
}

.soves-event-card__amenities span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--soves-primary);
}

.soves-event-card__amenities .soves-ms-icon {
    font-size: 16px;
    color: currentColor;
}

.soves-event-card__rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #4e5561;
    font-size: 13px;
}

.soves-event-card__rating i {
    color: #ffb703;
}

.soves-event-card__rating em {
    font-style: normal;
}

.soves-event-card h3 {
    margin: 8px 0 7px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
}

.soves-event-card h3 a {
    color: var(--soves-text);
    text-decoration: none;
}

.soves-event-card__location,
.soves-event-card__summary {
    margin: 0;
    color: var(--soves-muted);
    font-size: 13px;
    line-height: 1.45;
}

.soves-event-card__location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.soves-event-card__location i {
    color: var(--soves-primary);
}

.soves-event-card__summary {
    min-height: 58px;
}

.soves-event-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    border-top: 1px solid var(--soves-border);
    padding-top: 13px;
}

.soves-event-card__footer span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--soves-muted);
    font-size: 13px;
}

.soves-event-card__footer strong {
    color: var(--soves-primary);
    font-size: 15px;
    text-align: right;
}

@media (max-width: 1180px) {
    .soves-event-types__grid,
    .soves-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .soves-events-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .soves-events-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .soves-event-types__grid,
    .soves-events-grid,
    .soves-events-search {
        grid-template-columns: 1fr;
    }

    .soves-events-toolbar,
    .soves-events-toolbar form,
    .soves-event-card__footer {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Events listing parity with hotels listing. Kept last to override the older event layout. */
.iti__selected-country-primary:hover,
.iti__selected-country-primary:focus,
.iti__selected-country-primary:focus-visible,
.iti__selected-country-primary:active {
    background: transparent !important;
    background-color: transparent !important;
}

.soves-events-hero__overlay {
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.58));
}

.soves-events-hero__inner {
    padding: 70px 0 62px;
}

.soves-events-search-wrap {
    position: relative;
    z-index: 2;
    margin-top: 48px;
}

.soves-events-search {
    display: block;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.soves-events-search .soves-hotel-search-card {
    width: 100%;
}

.soves-events-search .soves-hotel-search-label {
    color: #344054;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
}

.soves-events-search .soves-hotel-search-main {
    color: var(--soves-text);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
}

.soves-events-search .soves-hotel-search-helper {
    color: var(--soves-muted);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 400;
}

.soves-events-search .soves-hotel-search-fields {
    grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(132px, 1fr));
}

.soves-events-page .soves-hotel-search-card {
    max-width: none !important;
}

.soves-event-types {
    margin-bottom: 28px;
}

.soves-event-types h2 {
    margin-bottom: 14px;
    font-size: 17px;
}

.soves-event-types__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.soves-event-types__grid a.soves-event-type-card {
    min-height: 126px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: #172033;
    color: #ffffff;
    padding: 14px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.soves-event-types__grid a.soves-event-type-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.72));
    z-index: 1;
}

.soves-event-types__grid a.soves-event-type-card:hover,
.soves-event-types__grid a.soves-event-type-card:focus-visible,
.soves-event-types__grid a.soves-event-type-card.is-active {
    border: 0;
    background: #172033;
    outline: 0;
    box-shadow: 0 16px 32px rgba(226, 74, 59, 0.2);
}

.soves-event-types__grid a.soves-event-type-card.is-active {
    box-shadow: 0 0 0 3px var(--soves-primary), 0 16px 32px rgba(226, 74, 59, 0.22);
}

.soves-event-types__grid a.soves-event-type-card.is-active::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--soves-primary);
    box-shadow: inset 0 0 0 4px #ffffff;
}

.soves-event-type-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.soves-event-type-card:hover img,
.soves-event-type-card:focus-visible img {
    transform: scale(1.04);
}

.soves-event-types__grid .soves-event-type-card span {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.soves-event-types__grid .soves-event-type-card strong,
.soves-event-types__grid .soves-event-type-card em {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(15, 23, 42, 0.44);
}

.soves-events-toolbar {
    margin-bottom: 16px;
}

.soves-events-page .soves-events-filter {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.soves-events-page .soves-events-filter form {
    display: block;
}

.soves-events-page .soves-filter-field {
    display: grid;
    align-items: stretch;
    gap: 6px;
    cursor: default;
}

.soves-events-page .soves-filter-field input {
    width: 100%;
    min-height: 39px;
    cursor: text;
}

.soves-events-page .soves-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475467;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 500;
    cursor: default;
}

.soves-events-page .soves-filter-card .soves-filter-check[hidden],
.soves-events-page .soves-filter-card .soves-filter-pill[hidden],
.soves-events-page .soves-filter-card .is-extra[hidden] {
    display: none !important;
}

.soves-events-page .soves-filter-option-list {
    display: grid;
    gap: 10px;
    padding: 0 0px 16px;
}

.soves-events-page .soves-filter-check input {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    margin: 0;
    border: 1px solid #dce6ef;
    border-radius: 4px;
    background: #ffffff;
    accent-color: var(--soves-primary);
    display: inline-grid;
    place-items: center;
    flex: 0 0 15px;
    cursor: default;
}

.soves-events-page .soves-filter-check input[type="radio"] {
    border-radius: 4px;
}

.soves-events-page .soves-filter-check input:checked {
    border-color: var(--soves-primary);
    background: var(--soves-primary);
}

.soves-events-page .soves-filter-check input:checked::before {
    content: "";
    width: 7px;
    height: 4px;
    border: solid #ffffff;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg) translateY(-1px);
}

.soves-events-page .soves-filter-check span {
    color: #4e5561;
}

.soves-events-page .soves-filter-body-inner {
    display: grid;
    gap: 15px;
}

.soves-events-page .soves-filter-search .soves-filter-body-inner {
    display: block;
}

.soves-events-page .soves-filter-search {
    padding: 15px;
}

.soves-events-page .soves-filter-search .soves-filter-field {
    display: grid;
    align-items: stretch;
    gap: 6px;
    cursor: default;
}

.soves-events-page .soves-filter-search .soves-filter-field > span:first-child {
    color: #4E5561;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.soves-events-page .soves-filter-search-box {
    min-height: 41px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--soves-border);
    border-radius: 4px;
    background: #ffffff;
    padding: 0 12px;
}

.soves-events-page .soves-filter-search-box input {
    min-height: 39px;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.soves-events-page .soves-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.soves-events-page .soves-results-count {
    margin: 0;
    color: var(--soves-text);
    font-size: 15px;
    font-weight: 600;
}

.soves-events-page .soves-results-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.soves-events-page .soves-results-view-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.soves-events-page .soves-results-view-icons button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--soves-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--soves-text);
    padding: 0;
    box-shadow: none;
    cursor: pointer;
}

.soves-events-page .soves-results-view-icons button:hover,
.soves-events-page .soves-results-view-icons button:focus-visible,
.soves-events-page .soves-results-view-icons .is-active {
    border-color: var(--soves-primary);
    background: var(--soves-primary);
    color: #ffffff;
    outline: 0;
}

.soves-events-page .soves-results-sort {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.soves-events-page .soves-results-sort-menu {
    position: relative;
}

.soves-events-page .soves-results-sort-menu summary {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--soves-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--soves-text);
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.soves-events-page .soves-results-sort-menu summary::-webkit-details-marker {
    display: none;
}

.soves-events-page .soves-results-sort-menu__value {
    color: var(--soves-primary);
}

.soves-events-page .soves-results-sort-menu__chevron {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.soves-events-page .soves-results-sort-menu[open] .soves-results-sort-menu__chevron {
    transform: rotate(225deg) translateY(-1px);
}

.soves-events-page .soves-results-sort-menu__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    width: 260px;
    border: 1px solid var(--soves-border);
    border-radius: 10px;
    background: #ffffff;
    padding: 14px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
}

.soves-events-page .soves-results-sort-menu__panel strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
}

.soves-events-page .soves-results-sort-menu__options {
    display: grid;
    gap: 8px;
}

.soves-events-page .soves-results-sort-menu__options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--soves-text);
    font-size: 13px;
    font-weight: 700;
}

.soves-events-page .soves-results-sort-menu__footer {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.soves-events-page .soves-results-sort-menu__reset,
.soves-events-page .soves-results-sort-menu__apply {
    flex: 1;
    min-height: 36px;
    border: 1px solid var(--soves-primary);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.soves-events-page .soves-results-sort-menu__reset {
    background: #ffffff;
    color: var(--soves-primary);
}

.soves-events-page .soves-results-sort-menu__apply {
    background: var(--soves-primary);
    color: #ffffff;
}

.soves-events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.soves-events-grid.is-list-view {
    grid-template-columns: 1fr;
}

.soves-events-grid.is-list-view .soves-event-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.soves-events-grid.is-list-view .soves-event-card__media {
    min-height: 100%;
    aspect-ratio: auto;
}

.soves-events-grid.is-list-view .soves-event-card__body {
    display: flex;
    flex-direction: column;
}

.soves-events-grid.is-list-view .soves-event-card__footer {
    margin-top: 0;
}

.soves-event-card__body {
    display: flex;
    flex-direction: column;
}

.soves-event-card h3 {
    margin-top: 0;
}

.soves-event-card__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    margin-top: 0;
}

.soves-event-card__facts {
    display: grid;
    gap: 7px;
}

.soves-event-card__facts span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--soves-muted);
    font-size: 13px;
    font-weight: 700;
}

.soves-event-card__facts i {
    color: var(--soves-primary);
}

.soves-event-card__book {
    display: grid;
    justify-items: end;
    gap: 7px;
}

.soves-event-card__book strong {
    color: var(--soves-primary);
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    text-align: right;
}

.soves-event-card__book a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--soves-primary);
    color: #ffffff;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.soves-events-page .soves-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 28px;
}

.soves-events-page .soves-pagination .page-numbers {
    min-width: 34px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--soves-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--soves-text);
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.soves-events-page .soves-pagination .page-numbers.current,
.soves-events-page .soves-pagination .current {
    border-color: var(--soves-primary);
    background: var(--soves-primary);
    color: #ffffff;
}

@media (max-width: 1180px) {
    .soves-events-search .soves-hotel-search-fields,
    .soves-event-types__grid,
    .soves-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .soves-events-grid.is-list-view .soves-event-card {
        grid-template-columns: 1fr;
    }

    .soves-events-grid.is-list-view .soves-event-card__media {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 700px) {
    .soves-events-search .soves-hotel-search-fields,
    .soves-event-types__grid,
    .soves-events-grid {
        grid-template-columns: 1fr;
    }

    .soves-events-page .soves-results-toolbar,
    .soves-events-page .soves-results-actions,
    .soves-event-card__footer {
        align-items: stretch;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .soves-events-page .soves-results-sort,
    .soves-events-page .soves-results-sort-menu,
    .soves-events-page .soves-results-sort-menu summary {
        width: 100%;
    }

    .soves-events-page .soves-results-sort-menu__panel {
        left: 0;
        right: auto;
        width: 100%;
    }

    .soves-event-card__book {
        justify-items: stretch;
    }
}

/* Match hotel filter checkbox rendering exactly on the events page. */
.soves-events-page .soves-filter-check input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 15px !important;
    min-width: 15px !important;
    height: 15px !important;
    min-height: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dce6ef !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    accent-color: var(--soves-primary) !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 15px !important;
    box-shadow: none !important;
    cursor: default;
}

.soves-events-page .soves-filter-check input[type="checkbox"]:checked {
    border-color: var(--soves-primary) !important;
    background: var(--soves-primary) !important;
}

.soves-events-page .soves-filter-check input[type="checkbox"]:checked::before {
    content: "";
    width: 7px;
    height: 4px;
    border: solid #ffffff;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg) translateY(-1px);
}


/* Events listing Material icon cleanup */

.soves-events-page .soves-ms-icon {
  flex: 0 0 auto;
  color: currentColor;
  vertical-align: middle;
}

.soves-event-card__favorite .soves-ms-icon {
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
  clip: auto !important;
  color: inherit !important;
  font-size: 18px !important;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 20;
}

.soves-event-card__favorite.is-favorite .soves-ms-icon,
.soves-event-card__favorite[aria-pressed="true"] .soves-ms-icon {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 20;
}

/* Unified favorite button on event cards (matches hotel/tour cards). */
.soves-event-card .soves-hotel-card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 25px !important;
  min-width: 25px !important;
  max-width: 25px !important;
  height: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--soves-primary);
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  transform: none;
}

.soves-event-card .soves-hotel-card__fav .soves-ms-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  color: inherit;
}

.soves-event-card .soves-hotel-card__fav:hover,
.soves-event-card .soves-hotel-card__fav:focus-visible {
  background: var(--soves-primary);
  color: #ffffff;
  outline: 0;
  transform: none;
}

.soves-event-card .soves-hotel-card__fav.is-favorite {
  background: var(--soves-primary);
  color: #ffffff;
}

.soves-event-card .soves-hotel-card__fav[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.soves-event-card__location .soves-ms-icon,
.soves-event-card__facts .soves-ms-icon {
  color: var(--soves-primary);
  font-size: 18px;
}

.soves-event-card__location,
.soves-event-card__facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.soves-events-page .soves-results-view-icons .soves-ms-icon {
  font-size: 20px;
}

.soves-events-page .soves-filter-search-box__icon {
  color: var(--soves-primary);
  font-size: 19px;
}

/* Event favorite button cleanup */

.soves-event-card__favorite {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  top: 12px !important;
  right: 12px !important;
  padding: 0 !important;
  border: 1px solid rgba(226, 74, 59, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--soves-primary) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
}

.soves-event-card__favorite .soves-ms-icon {
  position: static !important;
  width: 21px !important;
  height: 21px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  clip: auto !important;
  color: inherit !important;
  font-size: 21px !important;
  line-height: 1 !important;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 20;
}

.soves-event-card__favorite:hover,
.soves-event-card__favorite:focus-visible,
.soves-event-card__favorite.is-favorite,
.soves-event-card__favorite[aria-pressed="true"] {
  border-color: var(--soves-primary) !important;
  background: var(--soves-primary) !important;
  color: #ffffff !important;
  outline: 0 !important;
}

.soves-event-card__favorite.is-favorite .soves-ms-icon,
.soves-event-card__favorite[aria-pressed="true"] .soves-ms-icon {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 20;
}