/* ============================================================
   MENU
   ============================================================ */

/* enable the code between these measures */

@media (min-width: 960px) and (max-width: 1300px){

/* reduce the padding around the logo */
.col-lg-0 {
padding: 27px 12px 27px 36px;
}

/* reduce the menu letter spacing */
.menu-container ul.menu-smart > li > a, .menu-container ul.menu-smart li.dropdown > a{
letter-spacing:0px !important;
}

/* reduce the dropdown arrows padding */
.menu-smart i.fa-dropdown {
padding: 0px 0px 0px 2px;
}

/* reduce the first menu item padding */
body[class*=hmenu-] .menu-borders .navbar-nav + .navbar-nav-last > *:first-child {
margin: 0px 0px 0px 0px;
}
}

/*#menu-primary-menu i {
    display: none !important;
}*/

/* ------------------------------------------------------------
 * Desktop reserved-area menu icon
 * ------------------------------------------------------------ */

/* Match the original site menu icon width */
@media (min-width: 960px) {
    #masthead .menu-smart .menu-icon.fa-unlock-alt {
        width: auto;
    }
}

/* ------------------------------------------------------------
 * Desktop primary menu spacing
 * ------------------------------------------------------------ */

/* Restore the previously approved original site menu padding */
@media (min-width: 960px) {
    #masthead #menu-primary-menu {
        padding-left: 13px;
        padding-right: 13px;
    }
}

/* ------------------------------------------------------------
 * Desktop header social icon spacing
 * ------------------------------------------------------------ */

/* Match the original site spacing around the header social group */
@media (min-width: 960px) {
    #masthead .menu-smart-social {
        padding-left: 36px;
    }

    /* Restore spacing before each icon except the first */
    #masthead .menu-smart-social > li:not(:first-child) > a {
        padding-left: 9px;
    }

    /* Restore spacing after each icon except the last */
    #masthead .menu-smart-social > li:not(:last-child) > a {
        padding-right: 9px;
    }
}

/* ------------------------------------------------------------
 * Compact desktop menu on narrow screens
 * ------------------------------------------------------------ */

/* Keep all header icons visible before the mobile menu breakpoint */
@media (min-width: 960px) and (max-width: 1023px) {
    #masthead #menu-primary-menu > li > a {
        padding-left: 9px;
    }

    /* Preserve the existing zero padding after the last menu item */
    #masthead #menu-primary-menu > li:not(:last-child) > a {
        padding-right: 9px;
    }
}

/* ------------------------------------------------------------
 * Mobile menu text case
 * ------------------------------------------------------------ */

/* Preserve the original menu labels on mobile layouts */
@media (max-width: 959px) {
    #masthead #menu-primary-menu a {
        text-transform: none;
    }
}

/* ------------------------------------------------------------
 * Secondary menu spacing
 * ------------------------------------------------------------ */

/* Match the original site top bar height on desktop layouts */
@media (min-width: 960px) {
    .top-menu.top-menu-padding .menu-smart > li {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

/* Secondary Menu */
.menu-bloginfo i:not(:first-child)  {
    padding-left: 5px;
}

@media (max-width: 959px){
    #menu-secondary-menu-1{
        padding-top: 15px !important;
    }
}

@media (max-width: 959px){
    #menu-secondary-menu-1 li a {
        font-weight: 400;
        font-size: 3.0vw !important;
        letter-spacing: 0em;
    }
}

/* CTA Menu */
.menu-btn-cell span {
    font-size: 10px;
}

/* Pages */
/* Preserve GECOEF title sizes against newer Uncode heading defaults */
body .geco-header-title h1 {
    font-size: 5em;
}

@media (max-width: 767px) {
body .geco-header-title h1 {
    font-size: 3.5em;
    }
 }
 
 .geco-intro p {
    text-align: justify;
}

@media (max-width: 767px) {
 .geco-intro p {
    text-align: center;
    }
 }

.icon-box-left .icon-box-content {
    padding-left: 16px;
}

.icon-box-heading, .icon-box-heading a, .icon-box-heading h3 {
    text-transform: uppercase;
    /*font-size: 14px !important;*/
    color: #777777 !important;
}

.icon-box-content p {
    color: #303133 !important;
    line-height: 1.60!important;
    margin-top: 9px !important;
}

.geco-icon-box-content {
    vertical-align: bottom !important;
    font-size: 16px;
    color: #656565;
    font-weight: 600;
}

@media (max-width: 998px) {
.col-widgets-sidebar {
    display: none !important;
    }
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.widget-container {
    margin: 30px 0px 0px 0px !important;
}

h3.widget-title {
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-family: Oswald !important;
    letter-spacing: 0.03em;
    text-transform: uppercase !important;
    color: #303133 !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

#colophon p {
  line-height: 1.50;
}

#colophon a:hover {
  text-decoration: underline;
  color: white;
}

#colophon a:visited {
  color: white;
}

.site-footer p {
    font-size: 0.85em !important;
}

/* Match the old site bottom footer padding on mobile layouts */
@media (max-width: 959px) {
    #colophon .footer-last {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* ============================================================
   SIMPE SIDE TAB
   ============================================================ */

#rum_sst_tab {
    font-family: Cairo !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.rum_sst_contents {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
    font-size: 12px !important;
}

@media screen and (max-width: 959px) {
#rum_sst_tab {
    display: none !important;
    }
}

/* ============================================================
   EVENTON — PAGE LAYOUT
   ============================================================ */

/* ------------------------------------------------------------
 * Main content dimensions and spacing
 * ------------------------------------------------------------ */

/* Set the single-event content width */
.evo_page_body {
    width: 90vw !important;
    max-width: 1040px;
}

/* Set vertical spacing for the main event section */
.eventon_main_section {
    padding-top: 60px;
    padding-bottom: 90px;
}

/* Reduce section spacing on smaller screens */
@media (max-width: 768px) {
    .eventon_main_section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* ------------------------------------------------------------
 * Event description typography
 * ------------------------------------------------------------ */

/* Set the font size for description list items */
.eventon_full_description li {
    font-size: 16px !important;
}


/* ============================================================
   EVENTON — CUSTOM FIELDS AND RECURRING EVENTS
   ============================================================ */

/* ------------------------------------------------------------
 * Recurring-event heading and date labels
 * ------------------------------------------------------------ */

/* REVIEW: Style the recurring-events heading */
.evose_repeat_header span.title {
    background-color: #dedede;
    font-weight: 700;
}

/* REVIEW: Prefix recurring-event dates with an Italian label */
.evo_page_body .evcal_cmd::before,
.eventon_events_list .evcal_cmd::before {
    content: "Tutte le date: ";
    color: #038fe6;
}

/* ------------------------------------------------------------
 * Empty custom-field links
 * ------------------------------------------------------------ */

/* REVIEW: Hide legacy custom-field buttons without a destination */
.evocmd_button[data-href=""] {
    display: none !important;
}

/* Hide EventCard rows containing an empty custom PDF link */
.evo_page_body .evocard_row:has(a.evo_cusmeta_btn[href=""]) {
    display: none !important;
}


/* ============================================================
   EVENTON — EVENT TITLES AND TAXONOMY LABELS
   ============================================================ */

/* ------------------------------------------------------------
 * Event title weight
 * ------------------------------------------------------------ */

/* Match the original site title weight across EventON views */
body .eventon_list_event .evoet_cx span.evcal_event_title {
    font-weight: 700;
}

/* ------------------------------------------------------------
 * Event title spacing and status
 * ------------------------------------------------------------ */

/* Apply bottom padding to event titles in all EventON views */
.evcal_event_title {
    padding-bottom: 2px !important;
}

/* Prevent strikethrough on completed-event titles */
.eventon_events_list .eventon_list_event
.evcal_list_a.completed-event .evcal_event_title {
    text-decoration: none !important;
}

/* ------------------------------------------------------------
 * Event Type 2 labels
 * ------------------------------------------------------------ */

/* Display all Event Type 2 labels in uppercase */
em.evoetet_val[data-filter="event_type_2"] {
    font-weight: 600 !important;
    font-style: normal;
    text-transform: uppercase !important;
    letter-spacing: 0.02em;
}

/* Set Event Type 2 label color on the single-event page */
.evo_page_body span.evcal_event_types.ett2 em {
    color: #6b6b6b !important;
}

/* ------------------------------------------------------------
 * Event type heading visibility
 * ------------------------------------------------------------ */

/* Hide event type heading labels in the slider */
.evo_slider_outter .level_4 em i {
    display: none !important;
}

/* Hide event type heading labels in event lists */
.eventon_events_list .eventon_list_event .evoet_cx .level_4 em i {
    display: none !important;
}


/* ============================================================
   EVENTON — SINGLE EVENT PAGE
   ============================================================ */

/* ------------------------------------------------------------
 * Single-event title size
 * ------------------------------------------------------------ */

/* Match the original site title size on the single-event page */
.evo_page_body .evo_sin_page .eventon_list_event .evoet_cx span.evcal_event_title {
    font-size: 22px;
    line-height: 1.2;
}

/* ------------------------------------------------------------
 * Event header and EventCard headings
 * ------------------------------------------------------------ */

/* Emphasize the displayed month in the event header */
.evo_page_body #evcal_cur {
    font-weight: 700 !important;
}

/* Style EventCard section headings */
.evo_page_body h3.evo_h3 {
    color: #6b6b6b !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* ------------------------------------------------------------
 * Date, time and location typography
 * ------------------------------------------------------------ */

/* Match typography for event date, time and location values */
.evo_page_body .evo_eventcard_time_t,
.evo_page_body p.evo_location_name {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    color: #656565 !important;
    font-weight: 400 !important;
}

/* Match the original site location size on mobile event pages */
@media (max-width: 480px) {
    .evo_page_body p.evo_location_name {
        font-size: 12px !important;
        line-height: 1.4;
    }
}

/* Capitalize the weekday in the formatted event date */
.evo_page_body .evo_eventcard_time_t {
    text-transform: capitalize;
}

/* Hide the timezone label in the date/time row */
.evo_page_body .evo_metarow_time .evo_tz {
    display: none !important;
}

/* ------------------------------------------------------------
 * Location-related actions
 * ------------------------------------------------------------ */

/* Hide the location-specific "Other Events" button */
.evo_page_body button.evosp_trigger[data-lbvals*="event_location"],
.evo_page_body button.evosp_trigger[data-d*="event_location"] {
    display: none !important;
}

/* ------------------------------------------------------------
 * EventCard links and action colors
 * ------------------------------------------------------------ */

/* Emphasize calendar and learning-material download links */
.evo_metarow_ICS .evcal_evdata_cell p a,
.evo_metarow_learnMICS .evcal_col50 .evcal_evdata_cell p a {
    font-weight: 700 !important;
    color: #6b6b6b !important;
}

/* Change the Learn More section heading color on hover */
.evo_page_body #event_learnmore a.evo_clik_row:hover h3.evo_h3 {
    color: #ffffff !important;
}

/* Change calendar-export links to the primary blue on hover */
.evo_page_body .evcal_evdata_cell a:is(.evo_ics_nCal, .evo_ics_gCal):hover {
    color: #0178c4 !important;
}

/* ------------------------------------------------------------
 * Social sharing buttons
 * ------------------------------------------------------------ */

/* Set the default social sharing icon color */
.evo_metarow_socialmedia a.evo_ss i {
    color: #6b6b6b !important;
}

/* Change the social sharing icon color on hover */
.evo_metarow_socialmedia a.evo_ss:hover i {
    color: #ffffff !important;
}

/* Change the social sharing button background on hover */
.evo_metarow_socialmedia a.evo_ss:hover {
    background-color: #237ebd !important;
}

/* ------------------------------------------------------------
 * Additional EventCard elements
 * ------------------------------------------------------------ */

/* REVIEW: Set the progress indicator to the primary blue */
.evcal_desc3 .evo_ep_bar b,
.evcal_desc3 .evo_ep_bar b::before {
    background-color: #0178c4 !important;
}

/* Set the font size for EventCard detail paragraphs */
.evcal_evdata_row.evcal_event_details .evcal_evdata_cell p {
    font-size: 16px !important;
}


/* ============================================================
   EVENTON — SIDEBAR
   ============================================================ */

/* ------------------------------------------------------------
 * Sidebar width and responsive visibility
 * ------------------------------------------------------------ */

/* Set sidebar width and top spacing on larger screens */
@media (min-width: 960px) {
    .evo_page_sidebar,
    body:not(.page-id-5) .col-widgets-sidebar {
        padding-top: 40px;
        flex-basis: 28% !important;
        width: 28% !important;
    }
}

/* Hide the EventON sidebar on smaller screens */
@media (max-width: 980px) {
    .evo_page_sidebar {
        display: none !important;
    }
}

/* ------------------------------------------------------------
 * Sidebar location typography
 * ------------------------------------------------------------ */

/* Match the original site location size in EventON sidebar widgets */
.widget.EvcalWidget_SC .evo_widget .event_location_name {
    font-size: 11px;
}

/* ------------------------------------------------------------
 * Search icon positioning fix
 * ------------------------------------------------------------ */

/* Establish the positioning context for icon and loading text */
.EVOSR_section .evosr_search_box {
    position: relative !important;
}

/* Center the search icon vertically inside the field */
.EVOSR_section a.evo_do_search {
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

/* ------------------------------------------------------------
 * Search loading indicator
 * ------------------------------------------------------------ */

/* REVIEW: Set the sidebar-specific search overlay color */
.sidebar-widgets .evosr_blur {
    background-color: #c5c5c5;
}

/* Center the loading message with Flexbox */
.EVOSR_section .evosr_search_box .evosr_blur_text {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    color: #ffffff !important;
    z-index: 11;
}

/* Replace the search loading overlay with the primary blue */
.EVOSR_section .evosr_search_box .evosr_blur,
.EVOSR_section .evosr_search_box .evosr_blur_process {
    background-color: #0178c4 !important;
}

/* ------------------------------------------------------------
 * Search results and status messages
 * ------------------------------------------------------------ */

/* Style the result counter inside sidebar widgets */
.sidebar-widgets .evo_search_results_count span {
    background-color: #ffffff;
    color: #14141e;
}

/* Set the global search results counter background */
.evo_search_results_count span {
    background-color: #237ebd !important;
}

/* Set the results counter font size */
.evo_search_results_count {
    font-size: 14px !important;
}

/* Remove italic styling from the results counter */
.evo_search_results_count span {
    font-style: normal !important;
}

/* Remove italic styling from search status messages */
.EVOSR_section .evosr_msg {
    font-style: normal !important;
}

/* ------------------------------------------------------------
 * Sidebar icons and sorting filters
 * ------------------------------------------------------------ */

/* Remove right margin from the sidebar location icon */
#sidebar i.fa.fa-location-pin {
    margin-right: 0 !important;
}

/* Hide the Event Location filter */
.eventon_filter[data-tax="event_location"] {
    display: none !important;
}

/* Change the selected category checkmark color */
.eventon_filter_dropdown p.select::before {
    color: #6b6b6b !important;
}


/* ============================================================
   EVENTON — EVENT LIST AND CALENDAR
   ============================================================ */

/* ------------------------------------------------------------
 * Calendar search bar layout
 * ------------------------------------------------------------ */

/* Prevent clipping inside the calendar search bar */
#evcal_head .evo_search_bar {
    height: auto !important;
    min-height: 50px;
    overflow: visible !important;
}

/* Allow the calendar header to expand with its contents */
#evcal_head {
    height: auto !important;
    overflow: visible !important;
}

/* Avoid overlap between the search bar and month heading */
#evcal_head .evo_cal_header_end_content {
    position: relative;
    float: none !important;
    width: 100%;
    padding-bottom: 20px !important;
}

/* Keep the month title in the normal document flow */
#evcal_head .evo_header_title {
    position: relative;
    clear: both;
}

/* Align the calendar search input with its container */
#evcal_head .evo_search_bar_in_field {
    height: 50px !important;
    margin-top: 0 !important;
    box-sizing: border-box;
}

/* Set the calendar search field typography */
.evo_search_bar input,
.evo_search_bar input[type=text] {
    font: 18px Cairo !important;
    font-style: italic !important;
}

/* ------------------------------------------------------------
 * Event type filter controls
 * ------------------------------------------------------------ */

/* Set the active filter counter background to blue */
#evcal_head .evo-filter-btn em.o {
    background-color: #0178c4 !important;
}

/* Set the selected filter button background to blue */
.eventon_filter_line .evo_filter_tax_box.set .filtering_set_val {
    background-color: #0178c4 !important;
}

/* Override inline category colors with white and gray */
.eventon_filter_dropdown p.evo_filter_val,
.eventon_filter_dropdown p.evo_filter_val:hover,
.eventon_filter_dropdown p.evo_filter_val.select {
    background-color: #ffffff !important;
    color: #6b6b6b !important;
}

/* Set the open filter button and caret backgrounds to blue */
.eventon_filter_line .eventon_filter.evo_filter_tax_box.vis
.eventon_filter_selection .filtering_set_val,
.eventon_filter_line .eventon_filter.evo_filter_tax_box.vis
.eventon_filter_selection .filtering_set_val em.fa-caret-down {
    background-color: #0178c4 !important;
    color: #ffffff !important;
}

/* ------------------------------------------------------------
 * Event list month spacing
 * ------------------------------------------------------------ */

/* Add spacing before months except the first */
.evcal_month_line:not(:first-child) {
    padding-top: 30px;
}


/* ============================================================
   EVENTON — EVENT SLIDER
   ============================================================ */

/* ------------------------------------------------------------
 * Home slider location typography
 * ------------------------------------------------------------ */

/* Match the original site location size and line height */
body.home .evosliderbox.multiSlider .evoet_location {
    font-size: 12px;
    line-height: 1.5;
}

/* Keep location names upright */
body.home .evosliderbox.multiSlider .event_location_name {
    font-style: normal;
}

/* Match the original site mobile location size */
@media only screen and (max-width: 650px) {
    body.home .evosliderbox.multiSlider .evoet_location {
        font-size: 10px;
    }
}

/* ------------------------------------------------------------
 * Slide card layout
 * ------------------------------------------------------------ */

/* Set the internal padding of each slider event card */
.evosliderbox.ajde_evcal_calendar
.eventon_events_list .eventon_list_event .evcal_list_a {
    padding: 20px !important;
}

/* Keep slider content at the top-left edge of each card */
.evosliderbox .desc_trig_outter > a.desc_trig {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

/* Prevent wrapped rows from distributing spare height between date and details */
.evosliderbox .desc_trig_outter > a.desc_trig > .evoet_in {
    align-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

/* Keep the slider date block at its intrinsic width */
.evosliderbox .evoet_c2 {
    flex: 0 0 auto;
    margin: 0 !important;
}

/* Let event details occupy the remaining card width */
.evosliderbox .evoet_c3 {
    flex: 1 1 0;
    min-width: 0;
    margin-top: 0 !important;
}

/* Allow event titles to wrap onto multiple lines */
.evosliderbox .evoet_c3 .evcal_desc2 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Set the slider event title line height */
.evosliderbox span.evoet_title {
    line-height: 22px !important;
}


/* ------------------------------------------------------------
 * Slider hover effect
 * ------------------------------------------------------------ */

/* Keep all event cards fully visible */
.evosliderbox .eventon_list_event,
.evosliderbox .eventon_list_event .desc_trig {
    opacity: 1 !important;
}

/* Smooth background transition */
.evosliderbox .eventon_list_event .desc_trig {
    transition: box-shadow 0.3s ease !important;
}

/* Lighten only the hovered event background */
.evosliderbox .eventon_list_event .desc_trig:hover {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.20) !important;
}


/* ------------------------------------------------------------
 * Countdown and recurring-event labels
 * ------------------------------------------------------------ */

/* REVIEW: Set the countdown text to white */
.evosliderbox span.evo_ep_time.evo_countdowner.evo_cd_on {
    color: #ffffff !important;
}

/* REVIEW: Display the recurring dates label in white */
.evo_slider_outter .evcal_cmd::before {
    content: "Tutte le date: ";
    color: #ffffff !important;
}


/* ============================================================
   EVENTON — WIDGETS AND LIGHTBOX
   ============================================================ */

/* ------------------------------------------------------------
 * Calendar widget appearance
 * ------------------------------------------------------------ */

/* REVIEW: Hide the calendar widget heading */
#evcal_widget #evcal_head {
    display: none;
}

/* ------------------------------------------------------------
 * Lightbox buttons and description links
 * ------------------------------------------------------------ */

/* Set EventON lightbox buttons to the primary blue */
.evo_lightbox .evcal_btn {
    background: #0178c4 !important;
}

/* Set the description link hover color */
.eventon_desc_in a:hover {
    color: #0179c4 !important;
}


/* ============================================================
   EVENTON — REGISTRATION STATUS ANIMATION
   ============================================================ */

/* ------------------------------------------------------------
 * Blinking "Iscrizioni Aperte" label
 * ------------------------------------------------------------ */

/* Blink only the matching Event Type 2 label, using opacity */
.evoet_eventtypes em[data-filter="event_type_2"][data-v="Iscrizioni Aperte"] {
    color: #6b6b6b;
    animation: gecoefBlink 1.2s infinite !important;
}

/* Display the blinking label in white within the event slider */
.evo_slider_outter .evoet_eventtypes em[data-filter="event_type_2"][data-v="Iscrizioni Aperte"] {
    color: #ffffff;
    letter-spacing: 0.05em;
}

/* Alternate between visible and transparent states */
@keyframes gecoefBlink {
    0%, 49%, 100% {
        opacity: 1;
    }

    60%, 99% {
        opacity: 0;
    }
}

/* ------------------------------------------------------------
 * Reduced motion accessibility
 * ------------------------------------------------------------ */

/* Disable blinking when the user requests reduced motion */
@media (prefers-reduced-motion: reduce) {
    .evoet_eventtypes .evoetet_val[data-filter="event_type_2"][data-v="Iscrizioni Aperte"],
    .evo_slider_outter .evoet_eventtypes .evoetet_val[data-filter="event_type_2"][data-v="Iscrizioni Aperte"] {
        animation: none !important;
    }
}

/* ============================================================
   POPUP MAKER
   ============================================================ */

.pum-close {
    color: #FFFFFF !important;
}

/* ============================================================
   HOME PAGE
   ============================================================ */

/* ------------------------------------------------------------
 * Mobile and tablet banner spacing
 * ------------------------------------------------------------ */

/* Match the old site banner padding below the desktop breakpoint */
@media (max-width: 959px) {
    body.home .geco-header-home.row-container > .row-parent {
        padding-top: 108px;
        padding-bottom: 108px;
    }
}


/* ============================================================
   ARCHIVE PAGE
   ============================================================ */

/* ------------------------------------------------------------
 * Responsive content width
 * ------------------------------------------------------------ */

/* Preserve archive title spacing against the existing compact-row override */
@media (max-width: 998px) {
    body.page-id-5 .post-content > .row-container:first-child > .row-parent {
        padding-top: 72px;
    }
}

/* Match the old site content width without negative outer margins */
@media (min-width: 768px) and (max-width: 959px) {
    body.page-id-5 .un-sidebar-layout.row-parent {
        padding-left: 34.5px;
        padding-right: 34.5px;
    }
}
@media (max-width: 767px) {
    body.page-id-5 .un-sidebar-layout.row-parent {
        padding-left: 31.5px;
        padding-right: 31.5px;
    }
}

/* ------------------------------------------------------------
 * Event list layout and typography
 * ------------------------------------------------------------ */

/* Match the old site card insets while preserving rounded corners */
body.page-id-5 .geco-events-list .eventon_list_event .evcal_list_a {
    padding: 15px 15px 15px 13px;
}

/* Keep dates and details in separate flexible columns */
body.page-id-5 .geco-events-list .evoet_in {
    column-gap: 10px;
    align-items: flex-start;
}
body.page-id-5 .geco-events-list .evoet_c2 {
    flex: 0 0 auto;
    min-width: 52px;
}
body.page-id-5 .geco-events-list .mul_val .evoet_c2 {
    min-width: 72px;
}
body.page-id-5 .geco-events-list .evoet_c3 {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    gap: 0;
    padding-top: 3px;
}

/* Match the old site event title size and spacing */
body.page-id-5 .geco-events-list .evoet_cx span.evcal_event_title {
    font-size: 22px;
    line-height: 1.2;
    padding-bottom: 3px !important;
}

/* Restore spacing between subtitle, location and event categories */
body.page-id-5 .geco-events-list .evcal_event_subtitle {
    padding-bottom: 3px;
}
body.page-id-5 .geco-events-list .eventon_list_event .evoet_cx .evoet_location {
    display: block;
    padding-left: 0;
    padding-bottom: 2px;
    margin-bottom: 6px;
}
body.page-id-5 .geco-events-list .eventon_list_event .evoet_cx .evoet_eventtypes {
    display: block;
    gap: 0;
    font-size: 11px;
    line-height: 1.1;
    padding-bottom: 2px;
}
body.page-id-5 .geco-events-list .evoet_eventtypes > em:not(.evoetet_val) {
    display: none;
}
body.page-id-5 .geco-events-list .evoet_eventtypes > .evoetet_val {
    display: inline-block;
    font-size: 11px;
    line-height: 1.1;
    margin-bottom: 6px;
    padding-right: 6px;
}

/* Match the old site month heading weight */
body.page-id-5 .geco-events-list .evcal_month_line p {
    font-weight: 700;
}

/* ------------------------------------------------------------
 * Sidebar typography
 * ------------------------------------------------------------ */

/* Match the old site widget heading without changing other pages */
body.page-id-5 .col-widgets-sidebar h3.widget-title {
    font-size: 12px !important;
    line-height: 1.2;
    font-weight: 600 !important;
}

/* Match the old site sidebar search font family */
body.page-id-5 .col-widgets-sidebar .EVOSR_section input[type="text"] {
    font-family: Cairo, sans-serif !important;
}


/* ============================================================
   INNER PAGES
   ============================================================ */

/* ------------------------------------------------------------
 * Compact page title spacing
 * ------------------------------------------------------------ */

/* Keep old site title spacing after changing the native row padding */
@media (max-width: 998px) {
    body:is(.page-id-506, .page-id-905, .page-id-836, .page-id-799, .page-id-884)
    .post-content > .row-container:first-child > .row-parent {
        padding-top: 72px;
    }
}

/* ------------------------------------------------------------
 * Wide-screen spacing
 * ------------------------------------------------------------ */

/* Preserve the old site larger spacing on wide desktop screens */
@media (min-width: 1500px) and (max-width: 1699px) {
    body.page-id-506 .post-content > .row-container:last-child > .row-parent {
        padding-bottom: 108px;
    }
}
@media (min-width: 1700px) {
    body:is(.page-id-506, .page-id-905, .page-id-836, .page-id-799, .page-id-884)
    .post-content > .row-container:first-child > .row-parent {
        padding-top: 108px;
    }
    body.page-id-506 .post-content > .row-container:last-child > .row-parent {
        padding-bottom: 144px;
    }
    body:is(.page-id-799, .page-id-884)
    .post-content > .row-container:last-child > .row-parent {
        padding-bottom: 108px;
    }
}

/* ------------------------------------------------------------
 * Introductory text width
 * ------------------------------------------------------------ */

/* Match the old site horizontal inset without changing page titles */
@media (min-width: 960px) {
    body:is(.page-id-506, .page-id-799, .page-id-884) .geco-intro {
        margin-left: 36px;
        margin-right: 36px;
    }
}
