/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* .above_hero {
    background-color: var(--base);
} */

.menu-toggle {
    display:none!important;
}

.main-navigation .inside-navigation {
    display: block !important;
}

.post-password-form{
  margin-bottom: 20rem;
}


/* MAIN CONTAINER */
.post-navigation {
    display: flex;
    margin-top: 80px;
    border-top: 1px solid #eee;
    font-family: inherit;
}

/* LEFT + RIGHT BLOCKS */
.post-navigation .nav-previous,
.post-navigation .nav-next {
    width: 50%;
    padding: 40px;
    min-height: 160px;
    display: flex;
    align-items: center;
}

/* CENTER DIVIDER */
.post-navigation .nav-previous {
    border-right: 1px solid #eee;
    justify-content: flex-start;
    text-align: left;
}

.post-navigation .nav-next {
    justify-content: flex-end;
    text-align: right;
}

/* ICONS */
.post-navigation .gp-icon {
    font-size: 26px;
    margin: 0 15px;
    flex-shrink: 0;
}

/* TEXT */
.post-navigation .prev a,
.post-navigation .next a {
    display: block;
    max-width: 320px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: inherit;
}

/* ORDER FIX */
.post-navigation .nav-previous .gp-icon {
    order: 0;
}

.post-navigation .nav-previous .prev {
    order: 1;
}

.post-navigation .nav-next .next {
    order: 0;
}

.post-navigation .nav-next .gp-icon {
    order: 1;
}

/* HOVER */
.post-navigation a:hover {
    opacity: 0.75;
}

pre {
    white-space: pre-wrap;    
    word-wrap: break-word;       
    overflow-wrap: break-word;  
    max-width: 100%;
    background-color:transparent;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .entry-header {
        margin-top: 80px;
    }

    .post-navigation {
        flex-direction: column;
    }

    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        justify-content: flex-start;
        text-align: left;
    }

    .post-navigation .nav-next {
        border-bottom: none;
    }
}


/* MERGE HEADER — add "merge-header" as Additional CSS Class on pages with a hero block */
.merge-header .site-header {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
}
.merge-header:not(.no-featured-image) .site-header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
}
/* Merge + featured image: white TOP-LEVEL menu only, leave submenus alone */
.merge-header:not(.no-featured-image) #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: #fff !important;
}
.merge-header:not(.no-featured-image) #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
.merge-header:not(.no-featured-image) #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
    color: rgba(255,255,255,0.7) !important;
}
.merge-header:not(.no-featured-image) #mega-menu-wrap-primary #mega-menu-primary,
.merge-header:not(.no-featured-image) .main-navigation,
.merge-header:not(.no-featured-image) .site-header {
    background-color: transparent !important;
}
.merge-header:not(.no-featured-image) #mega-menu-wrap-primary .mega-menu-toggle,
.merge-header:not(.no-featured-image) .mega-menu-toggle {
    background: transparent;
}
.merge-header:not(.no-featured-image) .mega-toggle-animated-inner,
.merge-header:not(.no-featured-image) .mega-toggle-animated-inner::before,
.merge-header:not(.no-featured-image) .mega-toggle-animated-inner::after {
    background-color: #fff;
}

/* Mobile header — merge + featured image */
.merge-header #mobile-header {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
}
.merge-header:not(.no-featured-image) #mobile-header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
}

/* Center the entry header / page title */
.entry-header {
    text-align: center;
    margin-bottom:6rem;
}

h1.entry-title{
  color: black;
}
/* Prevent first content image from going full width */
.entry-content > img:first-of-type {
    max-width: 300px !important;
    width: auto !important;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}





















/* FULL WIDTH SECTIONS */
.page-section.background-width--full-bleed {
    width: 100%;
    padding: 80px 0;
    position: relative;
}

/* BACKGROUND IMAGE */
.section-background img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* CONTAINER WIDTHS */
.content-width--medium .content { max-width: 900px; margin: 0 auto; }
.content-width--wide .content { max-width: 1200px; margin: 0 auto; }

/* GRID SYSTEM */
.sqs-row { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
}

.sqs-col-12 { width: 100%; }
.sqs-col-6 { width: 48%; }

@media(max-width: 768px) {
    .sqs-col-6 { width: 100%; }
}









.splide__list {
  display: flex;
}
/* Let Splide control slide width */
.postslider .splide__slide {
  width: auto !important;
  max-width: none !important;
}

/* Ensure GB loop items fill the slide */
.postslider .gb-loop-item {
  width: 100%;
  box-sizing: border-box;
}
.postslider {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.postslider.is-initialized {
  opacity: 1;
}

.postslider .splide__list {
  display: flex !important;
}