/* Adjust text padding on Media & Text blocks / 22456201-hc bc */
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	padding: 0 8% 0 0;
}

.wp-block-media-text.has-media-on-the-left .wp-block-media-text__content {
	padding: 0 0 0 8%;
}

/* Adjust text padding on Media & Text block / 22456201-hc bc */
/*.wp-block-media-text .wp-block-media-text__content {
	padding: 0;
}

/* Remove white bar behind search icon | kb-22455786-hc */
#site-branding {
	background: unset;
}

/*restore hamburger menu and search icons-hc-ks-22449230 */
.overlay-btn, .search-btn {
	color: black;
}

/* Hide line at top of all pages */
.page-template-default #primary .hentry, .page-fullwidth #primary .hentry, .page-template-no-sidebar #primary .hentry, .error404 #primary .page, .search-no-results #primary .no-results {
	border-top: none;
}

/* Hide page header */
.page .entry-header {
	display: none;
}

/* Hide header */
.page-template-default #primary .hentry, .page-fullwidth #primary .hentry, .page-template-no-sidebar #primary .hentry, #primary .hentry {
	border-top: none;
}

#site-header.vertical-header #site-navigation-wrap .sub-menu li > a {
	line-height: 1;
	font-size: 15px;
}

/* reduce space between lines in main nav menu | 38713087-hc tcrv */
#desktop-navigation {
	line-height: 1;
	padding-bottom: 20px;
}

#desktop-navigation ul li.menu-item {
	padding-bottom: 0;
}

/* End | 38713087-hc tcrv */
.wp-block-image.image-shadow img {
	box-shadow: rgba(0, 0, 0, 0.25) 0 14px 28px, rgba(0, 0, 0, 0.22) 0 10px 10px;
}

.wp-block-image.image-shadow-pv img {
	box-shadow: rgba(0, 0, 0, 0.3) 0 19px 38px, rgba(0, 0, 0, 0.22) 0 15px 12px;
}

.wp-block-image.hover img:hover {
	transform: scale(1.04) translateY(-6px);
	transition: all .15s;
}

.wp-block-jetpack-layout-grid-column.shadow {
	box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

.wp-block-jetpack-layout-grid-column.hover:hover {
	transform: scale(1.04) translateY(-6px);
	transition: all .15s;
}

.wp-block-columns.shadow {
	box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

.wp-block-jetpack-layout-grid-column.frame {
	box-shadow: rgba(6, 24, 44, 0.4) 0 0 0 2px, rgba(6, 24, 44, 0.65) 0 4px 6px -1px, rgba(255, 255, 255, 0.08) 0 1px 0 inset;
}

.wp-block-column.frame {
	box-shadow: rgba(6, 24, 44, 0.4) 0 0 0 2px, rgba(6, 24, 44, 0.65) 0 4px 6px -1px, rgba(255, 255, 255, 0.08) 0 1px 0 inset;
}

.wp-block-column.frame-red {
	box-shadow: rgba(255, 0, 0, 0.4) 0 0 0 2px, rgba(255, 0, 0, 0.65) 0 4px 6px -1px, rgba(255, 0, 0, 0.08) 0 1px 0 inset;
}

.wp-block-column.padding {
	padding: 10px;
}

.wp-block-columns.hover:hover {
	transform: scale(1.04) translateY(-6px);
	transition: all .15s;
}

.wp-block-cover.shadow {
	box-shadow: rgba(0, 0, 0, 0.3) 0 19px 38px, rgba(0, 0, 0, 0.22) 0 15px 12px;
}

.wp-block-column.shadow {
	box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

.wp-block-column.hover:hover {
	transform: scale(1.04) translateY(-6px);
	transition: all .15s;
}

.wp-block-media-text.hover:hover {
	transform: scale(1.04) translateY(-6px);
	transition: all .15s;
}

.wp-block-button:hover {
	transform: scale(1.04) translateY(-2px);
	transition: all .15s;
}

img.wp-post-image {
	box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

/*.post-10375 .wp-post-image {
	box-shadow: none !important;
}*/
.wp-block-heading.font {
	font-size: 50px;
}

@media (max-width: 600px) {
	.wp-block-heading.font {
		font-size: 25px;
	}
}

.wp-block-heading.font-front {
	font-size: 45px;
}

@media (max-width: 600px) {
	.wp-block-heading.font-front {
		font-size: 25px;
	}
}

.wp-block-heading.font-dads {
	font-size: 40px;
}

@media (max-width: 600px) {
	.wp-block-heading.font-dads {
		font-size: 25px;
	}
}

.wp-block-heading.font-medium {
	font-size: 35px;
}

@media (max-width: 600px) {
	.wp-block-heading.font-medium {
		font-size: 25px;
	}
}

.wp-block-list ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

/* ============================================================
   1. GLOBAL CLEANUP (SEARCH & BRANDING)
   ============================================================ */
#search-open, 
.search-open.search-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#site-branding {
    flex: 1 1 100% !important; 
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header-inner, .header-inner, .main-header-container {
    display: block !important; 
}

#overlay-open {
    float: right !important;
    position: relative !important;
    top: -50px !important; 
}

/* ============================================================
   2. DESKTOP VERSION (LOCKED)
   ============================================================ */
@media (min-width: 992px) {
    #masthead, .site-header, .site-branding-container {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background-color: inherit !important;
        background: inherit !important;
        border: none !important;
        border-bottom: 1px solid #000000 !important;
        box-shadow: none !important;
    }

    .sticky-header, .is-sticky, #sticky-navigation, .fixed-nav, #search-open {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
    }

    #site-branding {
        padding-bottom: 15px !important;
        margin-bottom: 0 !important;
        background: transparent !important;
    }
}

/* ============================================================
   3. PHONE VERSION (FINAL CLEAN HAMBURGER)
   ============================================================ */
@media (max-width: 991px) {
    /* Hide theme navigation to prevent ghost lines */
    .main-navigation, #site-navigation, .nav-menu {
        display: none !important;
    }

    /* Reset Header Container */
    #masthead, .site-header, .site-header-inner, .header-inner {
        position: sticky !important;
        top: 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        min-height: 60px !important;
        background-color: #ffffff !important;
        border: none !important; 
        border-bottom: 1px solid #000000 !important;
        padding: 0 15px !important;
        z-index: 9999 !important;
    }

    /* Target the Button: Kill background, text, and frame */
    #overlay-open, .menu-toggle {
        display: block !important;
        position: relative !important;
        top: 0 !important; /* Forces it back into the header bar */
        width: 25px !important; /* Match width of the lines */
        height: 18px !important; /* Height of the 3-line stack */
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        text-indent: -9999px !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
    }

    /* The 3 Lines: One real line + two shadows */
    #overlay-open::before, 
    .menu-toggle::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 2px !important;
        background: #000000 !important;
        /* The middle and bottom lines */
        box-shadow: 0 8px 0 #000000, 0 16px 0 #000000 !important;
        visibility: visible !important;
    }

    /* Ensure no other lines/text show up */
    #overlay-open::after, .menu-toggle::after, #overlay-open span, .menu-toggle span {
        display: none !important;
    }

    #site-branding {
        display: block !important;
        width: auto !important;
    }
}

/* Change featured image size for one specific post */
.postid-16546 .attachment-post-thumbnail {
    max-width: 700px; /* Change this to your preferred width */
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}