/*
Welcome to Custom CSS!

To learn how this works, see https://wp.me/PEmnE-Bt
*/
h2.heading {
	font-family: roboto;
	font-size: 1.8em;
	font-weight: normal;
}

 {
	font-family: "Roboto Slab", serif;
}

section {
	-webkit-column-width: 500px;
	-moz-column-width: 500px;
	column-width: 500px;
}
.leo-hero-img-left {
    position: relative;
    z-index: 2;
    transform: translate(15px, -10px);
}

.leo-hero-img-middle {
    position: relative;
    z-index: 1;
    transform: translate(-5px, -20px);
}

.leo-hero-img-right {
    position: relative;
    z-index: 3;
    transform: translate(-35px, -15px);
}

.leo-hero-img-left img {
    width: 160px;
    max-width: none;
    border-radius: 18px;
}

.leo-hero-img-middle img {
    width: 185px;
    max-width: none;
    border-radius: 18px;
}

.leo-hero-img-right img {
    width: 170px;
    max-width: none;
    border-radius: 18px;
}
/* LEO 2026 Homepage - Stats Dividers */

.leo-stat-divider {
    position: relative;
}

.leo-stat-divider::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #CFC8B8;
}
/* LEO 2026 - reset old column styling inside Upcoming Events */
.leo-upcoming-events section {
    -webkit-column-width: auto;
    -moz-column-width: auto;
    column-width: auto;
}
/* LEO 2026 - Event Cards */

.leo-event-card,
.leo-event-card > .kt-inside-inner-col {
    padding: 0 !important;
}

.leo-event-card {
    overflow: hidden;
    border-radius: 16px;
}

.leo-event-card figure.wp-block-image {
    margin: 0 !important;
    width: 100% !important;
}

.leo-event-card figure.wp-block-image img {
    display: block;
    width: 100% !important;
    height: auto;
}
/* LEO 2026 - Partner logo boxes */

.leo-partner-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.leo-partner-logo-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leo-partner-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.leo-rounded-image img {
    border-radius: 18px;
}
/* LEO 2026 - Testimonial divider */
.leo-testimonial-card .kt-blocks-info-box-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #D8D1C4;
    margin: 18px 0 14px;
}
.leo-hero-front {
    position: relative;
    z-index: 10;
}
.leo-hero-back {
    position: relative;
    z-index: 1;
}
/* LEO values: horizontal swipe on mobile */
@media (max-width: 767px) {

  .leo-values-slider .kt-row-column-wrap {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 16px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }

  .leo-values-slider .kt-row-column-wrap > .wp-block-kadence-column {
    flex: 0 0 78% !important;
    width: 78% !important;
    min-width: 78% !important;
    max-width: 78% !important;
    scroll-snap-align: start;
  }

  .leo-values-slider .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col {
    height: 100%;
  }

}
body.page-id-4652 .entry-header,
body.page-id-4652 .page-header,
body.page-id-4652 h1.entry-title {
    display: none !important;
}
/* HOMEPAGE 2026 — full-width section backgrounds */
body.page-id-4652 .entry-content > .wp-block-kadence-rowlayout {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* Keep the actual content centered */
body.page-id-4652 .entry-content > .wp-block-kadence-rowlayout
> .kt-row-layout-inner
> .kt-row-column-wrap {
    width: 100% !important;
    max-width: 1259px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Network logo cards */
.leo-network-card {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Logos inside the cards */
.leo-network-card img {
    max-width: 82% !important;
    max-height: 72px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin: auto;
}
/* Homepage 2026 — hide old Ixion footer */
body.page-id-4652 .site-footer,
body.page-id-4652 #colophon {
    display: none !important;
}

/* Hide WordPress edit link */
body.page-id-4652 .edit-link {
    display: none !important;
}
/* Homepage 2026 — remove space below custom footer */
body.page-id-4652 .site-content,
body.page-id-4652 .content-area,
body.page-id-4652 #primary,
body.page-id-4652 .site-main,
body.page-id-4652 article,
body.page-id-4652 .entry-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure the final Kadence section has no external gap */
body.page-id-4652 .entry-content > .wp-block-kadence-rowlayout:last-child {
    margin-bottom: 0 !important;
}
.leo-footer-divider {
    width: calc(100% - 80px) !important;
    max-width: 1259px !important;
    margin: 28px auto 20px auto !important;
    border: 0 !important;
    border-top: 1px solid #D8D1C4 !important;
}
/* HOMEPAGE 2026 — compact Ixion header */

/* Remove Facebook / LinkedIn / search strip */
body.page-id-4652 .utility-container {
    display: none !important;
}

/* Compact the main logo + navigation area */
body.page-id-4652 .branding-container {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    max-width: 1259px !important;
    margin: 0 auto !important;
}

/* Reduce logo size */
body.page-id-4652 .site-logo img,
body.page-id-4652 .custom-logo-link img,
body.page-id-4652 .custom-logo {
    max-height: 58px !important;
    width: auto !important;
}

/* Keep navigation vertically centred */
body.page-id-4652 nav#site-navigation {
    float: right !important;
    margin-top: 0 !important;
}

/* Remove excess spacing below header */
body.page-id-4652 #masthead {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Hero begins directly below header */
body.page-id-4652 #content,
body.page-id-4652 .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* HERO COLLAGE STACKING */

.page-id-4652 .leo-hero-images {
    position: relative !important;
    overflow: visible !important;
    isolation: isolate;
}

.page-id-4652 .leo-front-wrap {
    position: relative !important;
    z-index: 50 !important;
    overflow: visible !important;
}

.page-id-4652 .leo-back-wrap {
    position: relative !important;
    z-index: 10 !important;
    overflow: visible !important;
}

/* preserve rounded image corners */
.page-id-4652 .leo-front-wrap img,
.page-id-4652 .leo-back-wrap img {
    border-radius: 18px !important;
}