/*
 Theme Name:   BPW International
 Theme URI:    https://www.bpw-international.org
 Description:  Custom WordPress theme for BPW International - International Federation of Business and Professional Women. Built on HighendWP framework.
 Author:       Weber Advertising & Marketing
 Author URI:   https://www.bpw-international.org
 Template:     HighendWP
 Version:      1.0.15
 Tags:         Responsive, Page-Builder, Business, Professional, Women, International
 Text Domain:  bpw-international
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* =================================================================
   BPW International Color Scheme
   Official BPW Colors: Yellow, Black, Grey
   ================================================================= */
:root {
    /* Official BPW Brand Colors */
    --bpw-yellow: rgb(255, 219, 53); /* Primary brand color - Pantone 109 C */
    --bpw-black: rgb(0, 0, 0); /* Primary text and dark backgrounds */
    --bpw-grey: rgb(179, 179, 179); /* Secondary color - 40% black */

    /* Supporting colors */
    --bpw-white: #ffffff;
    --bpw-blue: #1e3a8a; /* Optional accent color */
    --bpw-light-grey: rgb(230, 230, 230); /* Lighter grey for backgrounds */

    /* CMYK Reference (for print):
       YELLOW: 10% Magenta, 100% Yellow
       BLACK: 100% Black
       GREY: 40% Black
    */
}

/* =================================================================
   Typography
   ================================================================= */

/* Base body font - Montserrat */
body,
p,
.body-text,
.content,
article {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 400;
    line-height: 1.6;
}

/* Headings - Montserrat */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading,
.widget-title,
.entry-title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

/* Navigation top-level - Oswald */
#main-nav > li > a,
.sf-menu > li > a {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation dropdowns (2nd/3rd level) - Montserrat */
#main-nav ul.sub-menu li a,
#main-nav ul.sub-menu ul li a,
.sf-menu ul li a,
.sf-menu ul ul li a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.3px;
    font-size: 13px;
}

/* Other nav elements - Oswald */
.main-navigation,
.nav-menu,
.menu,
nav a {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons - Oswald */
.btn,
.button,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =================================================================
   Utility Classes
   ================================================================= */

/* Background Colors */
.bg-yellow { background-color: var(--bpw-yellow) !important; }
.bg-black { background-color: var(--bpw-black) !important; }
.bg-grey { background-color: var(--bpw-grey) !important; }
.bg-light-grey { background-color: var(--bpw-light-grey) !important; }
.bg-white { background-color: var(--bpw-white) !important; }

/* Text Colors */
.text-yellow { color: var(--bpw-yellow) !important; }
.text-black { color: var(--bpw-black) !important; }
.text-grey { color: var(--bpw-grey) !important; }
.text-white { color: var(--bpw-white) !important; }

/* Border Colors */
.border-yellow { border-color: var(--bpw-yellow) !important; }
.border-black { border-color: var(--bpw-black) !important; }
.border-grey { border-color: var(--bpw-grey) !important; }

/* =================================================================
   Section / Row Background Classes
   Apply these as VC Row "Extra class name" or in el_class
   ================================================================= */

/* Yellow swoosh — branded background image with overlay */
.bpw-section-yellow,
.yellow-swoosh-bkg {
    background-image: url('/wp-content/themes/HighendWP-child/assets/images/header-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

/* Yellow circles pattern background */
.bpw-section-yellow-circles,
.yellow-circles-bkg {
    background-image: url('/wp-content/themes/HighendWP-child/assets/images/yellow-circles-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Dark / black section */
.bpw-section-dark,
.black-bkg {
    background-color: var(--bpw-black) !important;
    color: var(--bpw-white) !important;
}
.bpw-section-dark h1, .bpw-section-dark h2, .bpw-section-dark h3,
.bpw-section-dark h4, .bpw-section-dark h5, .bpw-section-dark h6,
.bpw-section-dark p, .bpw-section-dark li, .bpw-section-dark span,
.black-bkg h1, .black-bkg h2, .black-bkg h3,
.black-bkg h4, .black-bkg h5, .black-bkg h6,
.black-bkg p, .black-bkg li, .black-bkg span {
    color: var(--bpw-white) !important;
}
.bpw-section-dark a, .black-bkg a {
    color: var(--bpw-yellow) !important;
    border-bottom-color: rgba(255, 219, 53, 0.4) !important;
}
.bpw-section-dark a:hover, .black-bkg a:hover {
    color: var(--bpw-white) !important;
    background-color: transparent !important;
}

/* Light grey section */
.bpw-section-light {
    background-color: #f7f7f7 !important;
}

/* Radial gradient — warm yellow from lower-left, slow fade */
.bpw-section-gradient,
.gradient-warm-bkg {
    background: radial-gradient(ellipse at 20% 85%, var(--bpw-yellow) 0%, #f5c518 30%, #f0a030 65%, #e8912d 100%) !important;
    color: var(--bpw-black) !important;
}

/* Inset row — not full width, rounded, with shadow */
.bpw-inset-row {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Section padding helpers — generous horizontal padding for breathing room */
.bpw-section-padding {
    padding: 60px 40px !important;
}
.bpw-section-padding-sm {
    padding: 40px 40px !important;
}
.bpw-section-padding-lg {
    padding: 80px 40px !important;
}
@media (max-width: 599px) {
    .bpw-section-padding {
        padding: 40px 20px !important;
    }
    .bpw-section-padding-sm {
        padding: 30px 20px !important;
    }
    .bpw-section-padding-lg {
        padding: 60px 20px !important;
    }
}

/* Adjacent button spacing — site-wide.
   Use inline-block so margin-left only applies when buttons are on the same line. */
.wpb_wrapper .vc_btn3-container {
    display: inline-block !important;
    margin-bottom: 6px !important;
    margin-right: 8px !important;
}

/* Section title with centered yellow underline */
.bpw-section-title {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 10px;
    color: var(--bpw-black);
}
.bpw-section-dark .bpw-section-title,
.black-bkg .bpw-section-title {
    color: var(--bpw-white) !important;
}
.bpw-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--bpw-yellow);
    margin: 12px auto 0;
}
.bpw-section-subtitle {
    text-align: center;
    color: var(--bpw-grey);
    font-size: 16px;
    margin-bottom: 35px;
    font-weight: 400;
}
.bpw-section-dark .bpw-section-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* White content box — rounded panel for content on colored backgrounds */
.bpw-content-box {
    background: rgba(255, 255, 255, 0.92) !important;
    border-radius: 10px;
    padding: 28px 28px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.bpw-content-box .bpw-section-title {
    text-align: left;
    font-size: 20px !important;
    margin-bottom: 12px;
}
.bpw-content-box .bpw-section-title::after {
    margin-left: 0;
    transform: none;
}
.bpw-content-box p {
    flex: 1;
}

/* Facebook embed box */
.bpw-fb-embed {
    background: rgba(255, 255, 255, 0.92) !important;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.bpw-fb-embed iframe {
    width: 100% !important;
    max-width: 100%;
    border-radius: 6px;
}

/* Woman silhouette overlay — injected as real <img> via JS because VC's
   .vc_row:after overrides ::after content. JS also forces overflow:visible. */
.bpw-woman-overlay,
.bpw-woman-overlay.vc_row[data-vc-full-width] {
    position: relative !important;
    overflow: visible !important;
}
.bpw-woman-overlay > .fw-content-wrap,
.bpw-woman-overlay > .vc_row,
.bpw-woman-overlay > div {
    overflow: visible !important;
}
.bpw-woman-silo {
    position: absolute;
    bottom: 0;
    right: -2%;
    width: 280px;
    height: auto;
    pointer-events: none;
    z-index: 100;
}
@media (max-width: 1200px) {
    .bpw-woman-silo {
        width: 200px;
        right: -1%;
    }
}
@media (max-width: 899px) {
    .bpw-woman-silo {
        width: 140px;
        right: 0;
    }
}
@media (max-width: 599px) {
    .bpw-woman-silo {
        width: 100px;
        right: 0;
    }
}

/* Rounded section rows — soften edges on colored sections.
   Works on both vc_row (single row) and vc_section (multi-row wrapper). */
.bpw-section-light,
.bpw-section-dark,
.black-bkg,
.gradient-warm-bkg {
    border-radius: 16px;
    margin-left: 20px !important;
    margin-right: 20px !important;
    margin-bottom: 24px !important;
}
/* When a vc_section has our BPW class, reset inner row backgrounds/margins
   so they inherit from the section wrapper seamlessly. */
.vc_section.bpw-section-dark > .vc_row,
.vc_section.bpw-section-light > .vc_row,
.vc_section.black-bkg > .vc_row,
.vc_section.gradient-warm-bkg > .vc_row {
    background-color: transparent !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
}
@media (max-width: 599px) {
    .bpw-section-light,
    .bpw-section-dark,
    .black-bkg,
    .gradient-warm-bkg {
        border-radius: 12px;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}

/* =================================================================
   BPW Cards
   Reusable card component for news, events, CTAs
   ================================================================= */

.bpw-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}
.bpw-cards.two-col {
    grid-template-columns: repeat(2, 1fr);
}
.bpw-cards.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.bpw-card {
    background: var(--bpw-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.bpw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bpw-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.bpw-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bpw-card-label {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bpw-yellow);
    margin-bottom: 6px;
}
.bpw-section-dark .bpw-card-label {
    color: var(--bpw-yellow) !important;
}

.bpw-card-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    color: var(--bpw-black);
}
.bpw-card-title a {
    color: var(--bpw-black) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    background: none !important;
}
.bpw-card-title a:hover {
    color: var(--bpw-yellow) !important;
}

.bpw-card-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--bpw-grey);
    margin-bottom: 15px;
    flex: 1;
}

.bpw-card-meta {
    font-size: 12px;
    color: #999;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.bpw-card-link {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bpw-black) !important;
    text-decoration: none !important;
    border-bottom: 2px solid var(--bpw-yellow) !important;
    background: none !important;
    padding-bottom: 2px;
    transition: color 0.2s ease;
    margin-top: auto;
}
.bpw-card-link:hover {
    color: var(--bpw-yellow) !important;
}

/* Dark section card overrides */
.bpw-section-dark .bpw-card,
.black-bkg .bpw-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.bpw-section-dark .bpw-card-title,
.black-bkg .bpw-card-title {
    color: var(--bpw-white) !important;
}
.bpw-section-dark .bpw-card-title a,
.black-bkg .bpw-card-title a {
    color: var(--bpw-white) !important;
}
.bpw-section-dark .bpw-card-excerpt,
.black-bkg .bpw-card-excerpt {
    color: rgba(255, 255, 255, 0.65) !important;
}
.bpw-section-dark .bpw-card-meta,
.black-bkg .bpw-card-meta {
    color: rgba(255, 255, 255, 0.4) !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}
.bpw-section-dark .bpw-card-link,
.black-bkg .bpw-card-link {
    color: var(--bpw-white) !important;
}

/* Card responsive */
@media (max-width: 899px) {
    .bpw-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .bpw-cards.four-col {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 599px) {
    .bpw-cards,
    .bpw-cards.two-col,
    .bpw-cards.four-col {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   Buttons & CTAs
   ================================================================= */

/* --- Base button reset (shared by all BPW buttons) --- */
.yellow-btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-dark,
.btn-light,
a.yellow-btn,
a.btn-primary,
a.btn-secondary,
a.btn-outline,
a.btn-outline-dark,
a.btn-light {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
    border: 2px solid transparent !important;
    background-image: none !important;
}

/* --- Size modifiers (default = md) --- */
.btn-sm { padding: 6px 16px !important; font-size: 12px !important; }
.btn-md { padding: 10px 26px !important; font-size: 14px !important; }
.btn-lg { padding: 14px 36px !important; font-size: 16px !important; }

/* Default size when no modifier */
.yellow-btn:not(.btn-sm):not(.btn-lg),
.btn-primary:not(.btn-sm):not(.btn-lg),
.btn-secondary:not(.btn-sm):not(.btn-lg),
.btn-outline:not(.btn-sm):not(.btn-lg),
.btn-outline-dark:not(.btn-sm):not(.btn-lg),
.btn-light:not(.btn-sm):not(.btn-lg) {
    padding: 10px 26px !important;
    font-size: 14px !important;
}

/* --- Yellow Button (primary CTA) --- */
.yellow-btn,
.btn-primary,
a.yellow-btn,
a.btn-primary {
    background-color: var(--bpw-yellow) !important;
    color: var(--bpw-black) !important;
    border-color: var(--bpw-yellow) !important;
}
.yellow-btn:hover,
.btn-primary:hover,
a.yellow-btn:hover,
a.btn-primary:hover {
    background-color: #e6c300 !important;
    color: var(--bpw-black) !important;
    border-color: #e6c300 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Secondary Button (black bg, white text) --- */
.btn-secondary,
a.btn-secondary {
    background-color: var(--bpw-black) !important;
    color: var(--bpw-white) !important;
    border-color: var(--bpw-black) !important;
}
.btn-secondary:hover,
a.btn-secondary:hover {
    background-color: var(--bpw-yellow) !important;
    color: var(--bpw-black) !important;
    border-color: var(--bpw-yellow) !important;
}

/* --- Outline Button (yellow border, transparent bg) --- */
.btn-outline,
a.btn-outline {
    background-color: transparent !important;
    color: var(--bpw-black) !important;
    border-color: var(--bpw-yellow) !important;
}
.btn-outline:hover,
a.btn-outline:hover {
    background-color: var(--bpw-yellow) !important;
    color: var(--bpw-black) !important;
}

/* --- Outline Dark Button (black border, black text) --- */
.btn-outline-dark,
a.btn-outline-dark {
    background-color: transparent !important;
    color: var(--bpw-black) !important;
    border-color: var(--bpw-black) !important;
}
.btn-outline-dark:hover,
a.btn-outline-dark:hover {
    background-color: var(--bpw-black) !important;
    color: var(--bpw-white) !important;
}

/* --- Light Button (white bg, for dark backgrounds) --- */
.btn-light,
a.btn-light {
    background-color: var(--bpw-white) !important;
    color: var(--bpw-black) !important;
    border-color: var(--bpw-white) !important;
}
.btn-light:hover,
a.btn-light:hover {
    background-color: var(--bpw-yellow) !important;
    color: var(--bpw-black) !important;
    border-color: var(--bpw-yellow) !important;
}

/* --- VC/WPBakery Button Overrides ---
   Make VC buttons use BPW brand styling consistently */
.vc_btn3.vc_btn3-color-warning {
    background-color: var(--bpw-yellow) !important;
    color: var(--bpw-black) !important;
    border-color: var(--bpw-yellow) !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    border-radius: 4px !important;
}
.vc_btn3.vc_btn3-color-warning:hover {
    background-color: #e6c300 !important;
    border-color: #e6c300 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.vc_btn3.vc_btn3-size-sm { padding: 6px 16px !important; font-size: 12px !important; }
.vc_btn3.vc_btn3-size-md { padding: 10px 26px !important; font-size: 14px !important; }
.vc_btn3.vc_btn3-size-lg { padding: 14px 36px !important; font-size: 16px !important; }

/* VC inverse buttons — black bg, white text */
.vc_btn3.vc_btn3-color-inverse.vc_btn3-style-classic {
    background-color: var(--bpw-black) !important;
    color: var(--bpw-white) !important;
    border-color: var(--bpw-black) !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    border-radius: 4px !important;
}
.vc_btn3.vc_btn3-color-inverse.vc_btn3-style-classic:hover {
    background-color: var(--bpw-yellow) !important;
    color: var(--bpw-black) !important;
    border-color: var(--bpw-yellow) !important;
}

/* VC outline inverse buttons — black outline, black text */
.vc_btn3.vc_btn3-color-inverse.vc_btn3-style-outline {
    background-color: transparent !important;
    color: var(--bpw-black) !important;
    border: 2px solid var(--bpw-black) !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    border-radius: 4px !important;
}
.vc_btn3.vc_btn3-color-inverse.vc_btn3-style-outline:hover {
    background-color: var(--bpw-black) !important;
    color: var(--bpw-white) !important;
}

/* =================================================================
   Typography
   ================================================================= */

/* Headings with Yellow accent */
.heading-accent {
    color: var(--bpw-black);
    position: relative;
    padding-bottom: 15px;
}

.heading-accent:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--bpw-yellow);
}

.heading-accent.center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--bpw-black);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--bpw-grey);
    margin-bottom: 40px;
}

/* =================================================================
   Links
   ================================================================= */

a {
    color: var(--bpw-black);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bpw-yellow);
}

/* Links in content areas */
#main-content a,
.entry-content a,
.page-content a {
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 219, 53, 0.5);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

#main-content a:hover,
.entry-content a:hover,
.page-content a:hover {
    color: var(--bpw-black);
    border-bottom-color: var(--bpw-yellow);
    background-color: rgba(255, 219, 53, 0.15);
}

/* Exclude buttons, nav, images, and UI elements from content link style */
#main-content .btn a,
#main-content .button a,
#main-content a.btn,
#main-content a.button,
#main-content a.wp-block-button__link,
#main-content .wp-block-button a,
#main-content .nav a,
#main-content .pagination a,
#main-content .post-navigation a,
#main-content .bpw-card a,
#main-content .bpw-child-page-card a,
#main-content a[class*="button"],
#main-content a.vc_btn3,
#main-content .vc_btn3-container a,
.entry-content .btn a,
.entry-content a.btn,
.entry-content a.button,
.entry-content a.wp-block-button__link,
.entry-content .wp-block-button a {
    border-bottom: none;
    padding-bottom: 0;
    background-color: transparent;
}

/* Image links — no underline or highlight */
#main-content a > img,
.entry-content a > img {
    display: inline-block;
}

#main-content a:has(> img),
.entry-content a:has(> img) {
    border-bottom: none;
    padding-bottom: 0;
    background-color: transparent !important;
}

/* =================================================================
   Single Post — Featured Image Float Right
   ================================================================= */
.single-post article .featured-image {
    float: right !important;
    width: 50% !important;
    max-width: 50% !important;
    margin: 0 0 1.8em 2em !important;
}

/* Hide duplicate h1 in post body (already shown in page title bar) */
.single-post .post-header .entry-title {
    display: none;
}

.single-post article .featured-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
}

.single-post article .featured-image a {
    border-bottom: none !important;
    background-color: transparent !important;
}

/* Clear float after entry content */
.single-post .entry-content.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* Mobile: full width, no float */
@media (max-width: 768px) {
    .single-post article .featured-image {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1.2em 0 !important;
    }
}

/* =================================================================
   Single Post — Neutralize section box styling
   Posts use white background by default; only gallery/multi-section
   posts get the colored section treatment.
   ================================================================= */
.single-post .entry-content .bpw-section-light {
    background-color: transparent !important;
    border-radius: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}
/* Keep dark/colored sections visible on posts (gallery posts use these) */
.single-post .entry-content .bpw-section-dark,
.single-post .entry-content .black-bkg,
.single-post .entry-content .gradient-warm-bkg {
    position: relative;
    z-index: 2;
}

/* =================================================================
   Content Figures — Float Right with Caption
   Used by batch-content-cleanup.php on imported Jimdo content
   ================================================================= */
/* Hide theme featured image when content has its own top figure (avoids duplicate) */
.has-content-figure article > .featured-image {
    display: none;
}

#main-content figure.bpw-content-figure {
    float: right;
    width: 40%;
    max-width: 300px;
    margin: 0.2em 0 1.5em 2em;
    padding: 0;
}

#main-content figure.bpw-content-figure img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

#main-content figure.bpw-content-figure figcaption {
    font-size: 0.85em;
    font-style: italic;
    color: #666;
    margin-top: 0.5em;
    line-height: 1.4;
    text-align: center;
}

#main-content figure.bpw-content-figure a {
    border-bottom: none !important;
    background-color: transparent !important;
}

/* Mobile: full width content figures */
@media (max-width: 768px) {
    #main-content figure.bpw-content-figure {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 1.2em 0;
    }
}

/* Full-width image — BPW preset for vc_single_image */
.bpw-full-width-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}
.bpw-full-width-image {
    margin-bottom: 1.5em;
}

/* Gallery grid for imported Jimdo image galleries */
#main-content .bpw-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin: 1.5em 0;
    clear: both;
}

#main-content .bpw-gallery figure {
    margin: 0;
    overflow: hidden;
}

#main-content .bpw-gallery figure a {
    display: block;
    border-bottom: none !important;
    background-color: transparent !important;
}

#main-content .bpw-gallery figure img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

#main-content .bpw-gallery figure a:hover img {
    transform: scale(1.05);
}

#main-content .bpw-gallery figure figcaption {
    font-size: 0.8em;
    font-style: italic;
    color: #666;
    padding: 4px 2px;
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 768px) {
    #main-content .bpw-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 6px;
    }
    #main-content .bpw-gallery figure img {
        height: 140px;
    }
}

/* Image pairs — 2 side-by-side images */
#main-content .bpw-image-pair {
    display: flex;
    gap: 10px;
    margin: 1.5em 0;
    clear: both;
}
#main-content .bpw-image-pair figure {
    flex: 1;
    margin: 0;
}
#main-content .bpw-image-pair figure a {
    display: block;
    border-bottom: none !important;
    background-color: transparent !important;
}
#main-content .bpw-image-pair figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
#main-content .bpw-image-pair figure figcaption {
    font-size: 0.8em;
    font-style: italic;
    color: #666;
    padding: 4px 2px;
    text-align: center;
}
@media (max-width: 480px) {
    #main-content .bpw-image-pair {
        flex-direction: column;
    }
}

/* Image slider — CSS scroll-snap carousel for converted bxSlider galleries */
#main-content .bpw-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    margin: 1.5em 0;
    clear: both;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.3) transparent;
}
#main-content .bpw-slider::-webkit-scrollbar {
    height: 6px;
}
#main-content .bpw-slider::-webkit-scrollbar-track {
    background: transparent;
}
#main-content .bpw-slider::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
}
#main-content .bpw-slider figure {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin: 0;
    position: relative;
}
#main-content .bpw-slider figure a {
    display: block;
    border-bottom: none !important;
    background-color: transparent !important;
}
#main-content .bpw-slider figure img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
}
#main-content .bpw-slider figure figcaption {
    font-size: 0.85em;
    font-style: italic;
    color: #666;
    padding: 6px 4px;
    text-align: center;
}

/* Dynamic sitemap page */
.bpw-sitemap h2 { font-size: 1.3em; margin: 1.5em 0 0.5em; border-bottom: 2px solid var(--bpw-yellow, #FFDB35); padding-bottom: 0.3em; }
.bpw-sitemap h2 a { color: var(--bpw-black, #333); }
.bpw-sitemap ul { margin: 0 0 0.5em 1.5em; list-style: disc; }
.bpw-sitemap ul ul { margin: 0.2em 0 0.2em 1.5em; }
.bpw-sitemap li { margin-bottom: 0.3em; }
.bpw-sitemap .bpw-sitemap-date { color: #999; font-size: 0.85em; }

/* Hide duplicate h1 on pages (already shown in page title bar) */
.page .hb-main-content > div > div > h1:first-child {
    display: none;
}

/* Headings in content areas — ensure spacing above and below */
#main-content h1,
#main-content h2,
#main-content h3,
#main-content h4,
#main-content h5,
#main-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 1.4em;
    margin-bottom: 0.6em;
}

/* Lists in content areas */
#main-content ul,
#main-content ol,
.entry-content ul,
.entry-content ol {
    margin: 0 0 2em 40px;
    padding: 0;
}

#main-content li,
.entry-content li {
    margin-bottom: 0.4em;
}

/* =================================================================
   Wave Divider (from mockup)
   ================================================================= */

.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: relative;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider.yellow svg {
    fill: var(--bpw-yellow);
}

.wave-divider.white svg {
    fill: var(--bpw-white);
}

.wave-divider.black svg {
    fill: var(--bpw-black);
}

/* =================================================================
   Header Customization
   ================================================================= */

/* Header wrapper - Yellow wavy background */
#header-wrapper,
#header-inner,
#header-inner-bg {
    background-image: url('assets/images/header-background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
}

/* Header container - minimal yellow space below */
#header-inner {
    padding: 0 0 0 0 !important;
    position: relative !important;
    min-height: 95px !important;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Desktop (900px+): 40%-20%-40% split with centered logo */
@media (min-width: 900px) {
    /* Header layout */
    #header-inner-bg {
        position: relative !important;
        border-bottom: 0 !important
    }

    /* Hide the logo's original container visually but keep it for positioning */
    #header-inner-bg > .container {
        position: relative !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: visible !important;
    }

    /* Logo - absolutely centered over navigation, positioned on white bar */
    #logo {
        visibility: visible !important;
        position: absolute !important;
        left: 50% !important;
        top: 55px !important;
        transform: translate(-50%, -50%) !important;
        z-index: 99999 !important;
    }

    /* Hide mobile search elements on desktop */
    .bpw-mobile-only,
    #bpw-mobile-search,
    #bpw-mobile-search-bar {
        display: none !important;
    }

    /* Logo link styling */
    #logo a {
        position: relative !important;
        display: inline-block !important;
    }

    /* Show only dark logo - hide others */
    #logo .hb-light-logo,
    #logo img.retina {
        display: none !important;
    }

    /* Show dark logo default image - ~90px width (non-sticky only) */
    body:not(.highend-sticky-header) #header-inner #logo .hb-dark-logo img:not(.retina),
    body:not(.highend-sticky-header) #header-inner #logo img:not(.retina) {
        display: block !important;
        position: relative !important;
        z-index: 2 !important;
        max-height: 90px !important;
        width: auto !important;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15)) !important;
        transition: all 0.3s ease !important;
    }

    /* Remove oval - no ::before pseudo-element needed */

    /* Navigation container - white background with top margin for search icon space */
    .main-navigation-container,
    nav.main-navigation {
        width: 100% !important;
        padding: 0 !important;
        margin-top: 45px !important;
        float: none !important;
        clear: both !important;
        border-top: 0px !important;
    }

    /* Only set position relative when NOT sticky */
    body:not(.highend-sticky-header) #header-inner .main-navigation-container,
    body:not(.highend-sticky-header) #header-inner nav.main-navigation {
        position: relative !important;
    }

    /* White navigation bar - no extra padding or height */
    nav.main-navigation {
        background-color: var(--bpw-white) !important;
        padding: 0 !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    .main-navigation-container .container {
        max-width: 1140px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        position: relative !important;
        display: block !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    /* Main navigation menu - override parent theme floats */
    #main-nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        float: none !important;
        width: 100% !important;
        height: 40px !important;
        border-bottom: 0 !important
    }

    /* All nav items - 10% width each (25% of their 40% side), override floats */
    #main-nav > li,
    ul#main-nav > li,
    .sf-menu > li {
        flex: 0 0 10% !important;
        max-width: 10% !important;
        min-width: 10% !important;
        width: 10% !important;
        text-align: center !important;
        float: none !important;
        display: flex !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    /* Create 20% gap for logo between item 4 and 5 */
    #main-nav > li:nth-child(4),
    ul#main-nav > li:nth-child(4) {
        margin-right: 20% !important;
    }

    /* Ensure last item has no extra margin */
    #main-nav > li:nth-child(8),
    ul#main-nav > li:nth-child(8) {
        margin-right: 0 !important;
    }

    /* Navigation links - uppercase, allow wrapping, center vertically, tight line height */
    #main-nav > li > a,
    ul#main-nav > li > a,
    .sf-menu > li > a {
        color: var(--bpw-black) !important;
        font-size: 10px !important;
        padding: 4px 0 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: normal !important;
        text-align: center !important;
        text-transform: uppercase !important;
        line-height: 1.3em !important;
        min-height: 22px !important;
        height: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border: none !important;
    }

    /* Ensure span inside link also has tight line height and move up slightly */
    #main-nav > li > a > span,
    ul#main-nav > li > a > span,
    .sf-menu > li > a > span {
        line-height: 1.3em !important;
        transform: translateY(-6px) !important;
        display: inline-block !important;
        padding: 0 !important;
    }

    /* Override parent theme span padding/border */
    .hb-effect-10 #main-nav > li > a span,
    .third-skin #main-nav > li > a span,
    .default-skin #main-nav > li > a span {
        padding: 0 !important;
        border-bottom: none !important;
    }

    #main-nav > li > a span::before {
        background-color: transparent !important;
    }

    /* Tighten dropdown arrow indicator */
    #main-nav > li > a > i.sf-sub-indicator {
        margin-left: 2px !important;
        font-size: 0.7em !important;
    }

    /* Remove any parent theme padding overrides */
    .default-skin #main-nav > li > a,
    .third-skin #main-nav > li > a {
        padding: 5px 2px !important;
        border: none !important;
    }

    /* Hover state - light grey background with black text, no rounded corners */
    #main-nav > li > a:hover,
    ul#main-nav > li > a:hover,
    .sf-menu > li > a:hover {
        color: var(--bpw-black) !important;
        background-color: #f4f4f4 !important;
        border-radius: 0 !important;
    }
    .hb-effect-10 #main-nav > li > a:hover {
        color: var(--bpw-black) !important;
    }

    /* Active/selected state - black background with white text, no rounded corners */
    #main-nav > li.current-menu-item > a,
    #main-nav > li.current-menu-parent > a,
    #main-nav > li.current-menu-ancestor > a,
    ul#main-nav > li.current-menu-item > a,
    ul#main-nav > li.current-menu-parent > a,
    ul#main-nav > li.current-menu-ancestor > a,
    .sf-menu > li.current-menu-item > a,
    .sf-menu > li.current-menu-parent > a,
    .sf-menu > li.current-menu-ancestor > a,
    nav.main-navigation #main-nav > li.current-menu-item > a,
    nav.main-navigation #main-nav > li.current-menu-parent > a,
    nav.main-navigation ul#main-nav > li.current-menu-item > a,
    .main-navigation-container .sf-menu > li.current-menu-item > a {
        color: var(--bpw-white) !important;
        background-color: var(--bpw-black) !important;
        border-radius: 0 !important;
    }

    /* Override parent theme's yellow background on active items */
    #main-nav > li.current-menu-item > a > span,
    ul#main-nav > li.current-menu-item > a > span,
    .sf-menu > li.current-menu-item > a > span {
        background-color: transparent !important;
    }

    /* Set consistent height on links, let flexbox handle centering */
    #main-nav > li > a,
    ul#main-nav > li > a,
    .sf-menu > li > a {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    /* Search icon - remove from navigation flow but keep visible above nav */
    #main-nav > li#nav-search,
    ul#main-nav > li#nav-search,
    .sf-menu > li#nav-search {
        position: absolute !important;
        right: 0px !important;
        top: -45px !important;
        width: auto !important;
        height: auto !important;
        flex: 0 0 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #nav-search a {
        color: var(--bpw-black) !important;
        font-size: 22px !important;
        padding: 8px !important;
        display: block !important;
        border: none !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

    #nav-search a:hover {
        color: var(--bpw-yellow) !important;
        background-color: rgba(0, 0, 0, 0.1) !important;
        border-radius: 50% !important;
    }

    /* Remove borders from search icon */
    #nav-search a i,
    #search-trigger {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* ============================================================
       Sticky Navigation - Maintain same styling when scrolled
       ============================================================ */

    /* Remove yellow background from sticky header - just white bar */
    body.highend-sticky-header,
    body.highend-sticky-header #header-wrapper,
    body.highend-sticky-header #header-inner,
    body.highend-sticky-header #header-inner-bg {
        background-image: none !important;
        background-color: var(--bpw-white) !important;
    }

    /* Sticky header - minimal height */
    body.highend-sticky-header #header-inner {
        min-height: auto !important;
        padding: 0 !important;
    }

    /* Hide the logo container but show logo */
    body.highend-sticky-header #header-inner-bg > .container {
        height: 0 !important;
        overflow: visible !important;
    }

    /* Logo in sticky mode - reposition to navigation bar with transition */
    body.highend-sticky-header #logo {
        visibility: visible !important;
        display: block !important;
        position: fixed !important;
        left: 50% !important;
        top: 8px !important;
        transform: translateX(-50%) !important;
        z-index: 99999 !important;
        transition: all 0.3s ease !important;
    }

    /* Adjust sticky logo position when WordPress admin bar is NOT present */
    body.highend-sticky-header:not(.admin-bar) #logo {
        top: -24px !important;
    }

    /* Show dark logo in sticky mode - compact 30px, no drop shadow */
    body.highend-sticky-header #logo .hb-dark-logo img:not(.retina),
    body.highend-sticky-header #logo img:not(.retina) {
        display: block !important;
        filter: none !important;
        max-height: 30px !important;
        transition: all 0.3s ease !important;
    }

    /* Hide light logo and retina in sticky */
    body.highend-sticky-header #logo .hb-light-logo,
    body.highend-sticky-header #logo img.retina {
        display: none !important;
    }

    /* Sticky nav bar - keep at 40px height */
    body.highend-sticky-header nav.main-navigation {
        min-height: 40px !important;
        max-height: 40px !important;
    }

    body.highend-sticky-header .main-navigation-container .container {
        min-height: 40px !important;
        max-height: 40px !important;
    }

    body.highend-sticky-header .main-navigation-container .container {
        position: relative !important;
    }

    /* Ensure other logos stay hidden in sticky */
    body.highend-sticky-header #logo .hb-light-logo,
    body.highend-sticky-header #logo img.retina {
        display: none !important;
        visibility: hidden !important;
    }

    /* Sticky navigation container - white background, no margin, drop shadow and yellow border */
    body.highend-sticky-header .main-navigation-container,
    body.highend-sticky-header nav.main-navigation {
        background-color: var(--bpw-white) !important;
        margin-top: 0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        border-bottom: 2px solid var(--bpw-yellow) !important;
    }

    /* Sticky nav links - same styling */
    body.highend-sticky-header #main-nav > li > a,
    body.highend-sticky-header ul#main-nav > li > a,
    body.highend-sticky-header .sf-menu > li > a {
        color: var(--bpw-black) !important;
        padding: 5px 3px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        border: none !important;
    }

    /* Sticky hover state */
    body.highend-sticky-header #main-nav > li > a:hover,
    body.highend-sticky-header ul#main-nav > li > a:hover,
    body.highend-sticky-header .sf-menu > li > a:hover {
        color: var(--bpw-black) !important;
        background-color: #f4f4f4 !important;
        border-radius: 0 !important;
    }

    /* Sticky active state */
    body.highend-sticky-header #main-nav > li.current-menu-item > a,
    body.highend-sticky-header #main-nav > li.current-menu-parent > a,
    body.highend-sticky-header #main-nav > li.current-menu-ancestor > a,
    body.highend-sticky-header ul#main-nav > li.current-menu-item > a,
    body.highend-sticky-header ul#main-nav > li.current-menu-parent > a,
    body.highend-sticky-header ul#main-nav > li.current-menu-ancestor > a {
        color: var(--bpw-white) !important;
        background-color: var(--bpw-black) !important;
        border-radius: 0 !important;
    }

    /* Keep 20% gap for logo in sticky mode */
    body.highend-sticky-header #main-nav > li:nth-child(4),
    body.highend-sticky-header ul#main-nav > li:nth-child(4) {
        margin-right: 20% !important;
    }

    /* Keep search icon positioned in sticky mode */
    body.highend-sticky-header #main-nav > li#nav-search,
    body.highend-sticky-header ul#main-nav > li#nav-search {
        position: absolute !important;
        right: 40px !important;
        top: -45px !important;
        background-color: transparent !important;
    }
    body.highend-sticky-header #main-nav > li#nav-search a:hover,
    body.highend-sticky-header ul#main-nav > li#nav-search a:hover {
        background-color: transparent !important;
        color: var(--bpw-white) !important;
    }


}

/* Medium screens (900px - 1065px) - smaller nav font and padding */
@media (min-width: 900px) and (max-width: 1065px) {
    /* Reduce navigation font size and padding */
    #main-nav > li > a,
    ul#main-nav > li > a,
    .sf-menu > li > a {
        font-size: 9.5px !important;
        padding: 5px 2px !important;
    }

    /* Also reduce for sticky nav */
    body.highend-sticky-header #main-nav > li > a,
    body.highend-sticky-header ul#main-nav > li > a,
    body.highend-sticky-header .sf-menu > li > a {
        font-size: 9.5px !important;
        padding: 5px 2px !important;
    }
}

/* Narrow medium screens (900px - 920px) - even smaller text */
@media (min-width: 900px) and (max-width: 920px) {
    #main-nav > li > a,
    ul#main-nav > li > a,
    .sf-menu > li > a {
        font-size: 8.5px !important;
    }

    body.highend-sticky-header #main-nav > li > a,
    body.highend-sticky-header ul#main-nav > li > a,
    body.highend-sticky-header .sf-menu > li > a {
        font-size: 8.5px !important;
    }
}

/* Tablet and Mobile (below 900px) */
@media (max-width: 899px) {
    /* Add padding to body to account for fixed header (60px) */
    body {
        padding-top: 60px !important;
    }

    /* Adjust body padding when WordPress admin bar is present */
    body.admin-bar {
        padding-top: 106px !important; /* 60px header + 46px admin bar */
    }

    /* Fixed header on mobile - compact height with bigger logo */
    #header-inner {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 60px !important;
        z-index: 9998 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        background-color: var(--bpw-white) !important;
    }

    /* Position mobile header below admin bar when present */
    body.admin-bar #header-inner {
        top: 46px !important;
    }

    /* Adjust mobile header position when WordPress admin bar is NOT present */
    body:not(.admin-bar) #header-inner {
        top: 0 !important;
    }

    /* Remove horizontal rules on nav bar */
    #header-inner.nav-type-2 .main-navigation-container {
        border-top: 0 !important;
        border-bottom: 0 !important;
    }

    #header-inner-bg {
        border-top: 0 !important;
        border-bottom: 0 !important;
        background: transparent !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Show logo container on mobile */
    #header-inner-bg > .container,
    #header-inner .container {
        visibility: visible !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        position: static !important;
    }

    /* Logo centered both vertically and horizontally on mobile - relative to header */
    #logo {
        visibility: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        position: fixed !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        max-width: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        z-index: 9997 !important;
    }

    #logo a {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Show only non-retina logo on mobile */
    #logo img:not(.retina),
    #logo .hb-dark-logo img:not(.retina) {
        max-height: 55px !important;
        width: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Hide retina logo on mobile */
    #logo img.retina,
    #logo .hb-dark-logo img.retina {
        display: none !important;
    }

    /* Remove white oval behind logo on mobile */
    #logo a::before {
        display: none !important;
    }

    /* Prevent sticky logo from repositioning on mobile */
    body.highend-sticky-header #logo {
        position: relative !important;
        margin: 0 auto !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
    }

    /* Hide desktop search icon on mobile */
    #nav-search {
        display: none !important;
    }

    /* Mobile search icon - upper left */
    #bpw-mobile-search {
        position: fixed !important;
        left: 15px !important;
        top: -22px !important;
        z-index: 9999 !important;
        display: block !important;
    }

    /* Position search icon below admin bar when present */
    body.admin-bar #bpw-mobile-search {
        top: 24px !important; /* 46px admin bar - 22px */
    }

    #bpw-mobile-search a {
        color: var(--bpw-black) !important;
        font-size: 110px !important;
        padding: 8px !important;
        margin: 0 !important;
        display: block !important;
        border: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }

    #bpw-mobile-search a i {
        font-size: 24px;
    }

    #bpw-mobile-search a:hover {
        color: var(--bpw-white) !important;
    }

    /* Mobile sliding search bar */
    #bpw-mobile-search-bar {
        position: fixed !important;
        top: 95px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background-color: var(--bpw-white) !important;
        padding: 15px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        z-index: 10000 !important;
        display: none;
        border-bottom: 1px solid var(--bpw-grey) !important;
        box-sizing: border-box !important;
    }

    /* Position search bar below admin bar when present */
    body.admin-bar #bpw-mobile-search-bar {
        top: 141px !important; /* 46px admin bar + 95px */
    }

    #bpw-mobile-search-bar form {
        max-width: 600px !important;
        margin: 0 auto !important;
        position: relative !important;
        padding: 0 10px !important;
    }

    #bpw-mobile-search-bar input[type="search"],
    #bpw-mobile-search-bar input[type="text"] {
        width: 100% !important;
        padding: 12px 45px 12px 20px !important;
        border: 1px solid var(--bpw-grey) !important;
        background-color: var(--bpw-white) !important;
        color: var(--bpw-black) !important;
        border-radius: 8px !important;
        font-size: 16px !important;
        outline: none !important;
        transition: all 0.3s ease !important;
        box-sizing: border-box !important;
    }

    #bpw-mobile-search-bar input[type="search"]:focus,
    #bpw-mobile-search-bar input[type="text"]:focus {
        border-color: var(--bpw-yellow) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    #bpw-mobile-search-bar input[type="search"]::placeholder,
    #bpw-mobile-search-bar input[type="text"]::placeholder {
        color: var(--bpw-grey) !important;
    }

    #bpw-mobile-search-bar button[type="submit"] {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: transparent !important;
        border: none !important;
        color: var(--bpw-black) !important;
        font-size: 18px !important;
        cursor: pointer !important;
        padding: 8px !important;
    }

    #bpw-mobile-search-bar button[type="submit"]:hover {
        color: var(--bpw-yellow) !important;
    }

    /* Hamburger menu - vertically centered in right side */
    #show-nav-menu {
        position: fixed !important;
        right: 15px !important;
        top: 30px !important;
        z-index: 9999 !important;
        color: var(--bpw-black) !important;
        font-size: 24px !important;
        padding: 8px !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        line-height: 1 !important;
        display: block !important;
        transform: none !important;
    }

    /* Position hamburger menu below admin bar when present */
    body.admin-bar #show-nav-menu {
        top: 76px !important; /* 46px admin bar + 30px */
    }

    #show-nav-menu:hover {
        color: var(--bpw-white) !important;
    }

    /* Navigation stacked on mobile */
    .main-navigation-container {
        width: 100% !important;
        padding: 0 !important;
    }

    #main-nav {
        flex-direction: column !important;
        text-align: center !important;
        width: 100% !important;
    }

    #main-nav > li {
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
        flex: none !important;
    }

    #main-nav > li:nth-child(4) {
        margin-right: 0 !important;
    }

    #main-nav > li > a {
        display: block !important;
        padding: 15px 20px !important;
        color: var(--bpw-black) !important;
        white-space: normal !important;
    }
}

/* =================================================================
   Footer Customization
   ================================================================= */

/* =================================================================
   FOOTER LAYOUT - Complete Reset
   ================================================================= */

/* Footer wrapper - white background */
#footer-wrapper {
    background-color: var(--bpw-white) !important;
    color: var(--bpw-black);
    border-top: none !important;
    padding: 10px 0 30px !important;
    margin: 0 !important;
}

/* Footer element — inverted arch top border */
#footer {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 6px solid var(--bpw-black) !important;
    border-top-left-radius: 50% 40px !important;
    border-top-right-radius: 50% 40px !important;
    padding-top: 20px !important;
}

@media (max-width: 900px) {
    #footer {
        border-top-left-radius: 50% 28px !important;
        border-top-right-radius: 50% 28px !important;
        padding-top: 24px !important;
        border-top-width: 4px !important;
    }
}

@media (max-width: 576px) {
    #footer {
        border-top-left-radius: 50% 20px !important;
        border-top-right-radius: 50% 20px !important;
        padding-top: 18px !important;
        border-top-width: 3px !important;
    }
}

/* Container - matches site width, negative top margin pulls content up into arch */
#footer .container,
#footer-wrapper .container {
    max-width: 1140px !important;
    margin: -20px auto 0 !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1200px) {
    #footer .container,
    #footer-wrapper .container {
        padding: 0 60px !important;
    }
}

/* Footer row - flexbox container. Parent theme .row sets margin:0 -15px */
#footer .footer-row,
#footer .row.footer-row,
#footer.dark-style .row.footer-row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* All columns - reset parent theme .col-3{width:25%} */
#footer .footer-row .col-3,
#footer .footer-row .widget-column,
#footer .row .col-3.widget-column {
    box-sizing: border-box !important;
    padding: 0 15px !important;
    margin: 0 0 30px 0 !important;
    float: none !important;
}

/* Desktop (992px+): Custom widths for better content fit */
/* Column 1: Contact - 30% (more space) */
#footer .footer-row .widget-column:nth-child(1) {
    width: 30% !important;
    flex: 0 0 30% !important;
}

/* Column 2: Navigation - 50% (more space for menu) */
#footer .footer-row .widget-column:nth-child(2) {
    width: 50% !important;
    flex: 0 0 50% !important;
}

/* Column 3: Social - 20% (narrower), centered content */
#footer .footer-row .widget-column:nth-child(3) {
    width: 20% !important;
    flex: 0 0 20% !important;
    text-align: center !important;
}

/* Center logo and social icons in Column 3 */
#footer .footer-row .widget-column:nth-child(3) .footer-logo {
    margin-left: auto !important;
    margin-right: auto !important;
}

#footer .footer-row .widget-column:nth-child(3) .footer-social-icons {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
}

/* Column 4: Full width below */
#footer .footer-row .widget-column:nth-child(4) {
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-top: 10px !important;
    padding-top: 40px !important;
    position: relative !important;
}

/* Full-width horizontal rule above Column 4 */
#footer .footer-row .col-3:nth-child(4)::before,
#footer .footer-row .widget-column:nth-child(4)::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background-color: var(--bpw-grey) !important;
}

/* Footer widget titles */
#footer .widget-title,
#footer .widgettitle {
    color: var(--bpw-black) !important;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Footer text and links */
#footer,
#footer p,
#footer .textwidget {
    color: var(--bpw-black);
    line-height: 1.9;
    font-size: 15px;
}

#footer a {
    color: var(--bpw-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--bpw-yellow);
}

/* Footer logo styling - Height of 2 line heights */
.footer-logo {
    max-height: 48px;
    width: auto;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

/* Footer navigation menu styling - Multi-column layout */
#footer .menu,
#footer .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Column 2: Navigation menu in 2 columns */
#footer .footer-row .widget-column:nth-child(2) .menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
    column-gap: 15px;
}

#footer .menu li {
    margin-bottom: 0;
    padding-left: 0;
}

#footer .menu li:before {
    content: none;
}

/* Navigation links - Override HighendWP white text */
#footer .menu a,
#footer .footer-row .widget-column:nth-child(2) .menu a {
    display: block !important;
    padding: 8px 12px !important;
    font-size: 15px;
    line-height: 1.4;
    color: var(--bpw-black) !important;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

#footer .menu a:hover,
#footer .footer-row .widget-column:nth-child(2) .menu a:hover {
    background-color: var(--bpw-yellow) !important;
    color: var(--bpw-black) !important;
}

/* Contact widget styling */
.footer-contact-info {
    line-height: 2;
}

.footer-contact-info strong {
    color: var(--bpw-black);
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-contact-info p {
    margin-bottom: 15px;
}

.footer-contact-info a {
    color: var(--bpw-black);
    text-decoration: underline;
}

.footer-contact-info a:hover {
    color: var(--bpw-yellow);
    text-decoration: none;
}

/* Social media icons - 2x2 Grid layout */
.footer-social-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    max-width: 130px;
}

.footer-social-icons a,
#footer .footer-social-icons a,
#footer .widget .footer-social-icons a,
#footer .textwidget .footer-social-icons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 55px !important;
    height: 55px !important;
    background-color: var(--bpw-black) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.footer-social-icons a:hover,
#footer .footer-social-icons a:hover,
#footer .widget .footer-social-icons a:hover,
#footer .textwidget .footer-social-icons a:hover {
    background-color: var(--bpw-yellow) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-social-icons a:hover svg,
.footer-social-icons a:hover svg path,
#footer .footer-social-icons a:hover svg,
#footer .footer-social-icons a:hover svg path {
    fill: var(--bpw-black) !important;
}

.footer-social-icons svg,
.footer-social-icons svg path,
#footer .footer-social-icons svg,
#footer .footer-social-icons svg path,
#footer .widget .footer-social-icons svg,
#footer .widget .footer-social-icons svg path {
    width: 24px !important;
    height: 24px !important;
    fill: var(--bpw-white) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.footer-social-icons img {
    width: 24px;
    height: 24px;
}

/* Bottom footer (4th column) - Split layout for menu and search */
#footer .footer-row .widget-column:nth-child(4),
#footer .footer-row .col-3.widget-column:nth-child(4),
#footer .col-3.no-separator.widget-column {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    text-align: left !important;
}

/* Column 4 inner wrapper */
#footer .column-4-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    width: 100% !important;
}

/* Hide widget titles in Column 4 */
#footer .footer-row .widget-column:nth-child(4) .widget-title,
#footer .footer-row .widget-column:nth-child(4) .widgettitle,
#footer #nav_menu-3 .widget-title,
#footer #search-2 .widget-title {
    display: none !important;
}

/* Bottom menu widget - remove numbering, style as inline links */
#footer .footer-row .widget-column:nth-child(4) .widget_nav_menu,
#footer .col-3.widget-column #nav_menu-3,
#footer #nav_menu-3.widget_nav_menu,
#footer .footer-row .widget-column:nth-child(4) .widget_item.widget_nav_menu {
    flex: 1 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

/* Menu container - keep display block but no margins */
#footer .footer-row .widget-column:nth-child(4) .menu-footer-bottom-links-container {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

#footer .footer-row .widget-column:nth-child(4) .widget_nav_menu ul,
#footer .column-4-inner .footer-bottom-menu ul,
#footer .footer-row .widget-column:nth-child(4) .custom-html-widget ul,
#footer #menu-footer-bottom-links,
#footer .menu-footer-bottom-links-container ul,
#footer .menu-footer-bottom-links-container .menu {
    display: flex !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    list-style-type: none !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

#footer .footer-row .widget-column:nth-child(4) .widget_nav_menu li,
#footer .column-4-inner .footer-bottom-menu li,
#footer .footer-row .widget-column:nth-child(4) .custom-html-widget ul li,
#footer #menu-footer-bottom-links li,
#footer .menu-footer-bottom-links-container li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
}

#footer .footer-row .widget-column:nth-child(4) .widget_nav_menu li:before,
#footer .column-4-inner .footer-bottom-menu li:before,
#footer .footer-row .widget-column:nth-child(4) .custom-html-widget ul li:before,
#footer #menu-footer-bottom-links li:before,
#footer .menu-footer-bottom-links-container li:before {
    content: none !important;
    display: none !important;
}

/* Hide chevrons and bullets from menu links and items */
#footer .footer-row .widget-column:nth-child(4) a:before,
#footer .footer-row .widget-column:nth-child(4) a:after,
#footer #menu-footer-bottom-links a:before,
#footer #menu-footer-bottom-links a:after {
    content: none !important;
    display: none !important;
}

/* Pipe separators removed per design requirement */
/* #footer #menu-footer-bottom-links > li:not(:last-child):after {
    content: '|' !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    color: var(--bpw-yellow) !important;
    display: inline-block !important;
} */

#footer .footer-row .widget-column:nth-child(4) .widget_nav_menu a,
#footer .column-4-inner .footer-bottom-menu a,
#footer .footer-row .widget-column:nth-child(4) .custom-html-widget a,
#footer #menu-footer-bottom-links a,
#footer .menu-footer-bottom-links-container a {
    color: var(--bpw-yellow) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    background: none !important;
    padding: 8px 12px !important;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

#footer .footer-row .widget-column:nth-child(4) .widget_nav_menu a:hover,
#footer .column-4-inner .footer-bottom-menu a:hover,
#footer .footer-row .widget-column:nth-child(4) .custom-html-widget a:hover,
#footer #menu-footer-bottom-links a:hover,
#footer .menu-footer-bottom-links-container a:hover {
    color: var(--bpw-black) !important;
}

/* Search widget in footer (Column 4) */
#footer .footer-row .widget-column:nth-child(4) .widget_search,
#footer .footer-row .widget-column:nth-child(4) .widget_item.widget_search,
#footer .col-3.widget-column #search-2,
#footer #search-2.widget_search {
    flex: 0 0 auto !important;
    width: 320px !important;
    max-width: 320px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#footer .footer-row .widget-column:nth-child(4) .widget_search input[type="search"],
#footer .footer-row .widget-column:nth-child(4) .widget_search input.search-field,
#footer #search-2 input[type="text"],
#footer #search-2 input#s,
#footer .widget_search input#s,
#footer .searchform input[type="text"],
#footer .searchform input#s,
#footer #searchform input[type="text"],
#footer #searchform input#s,
#footer .widget-column #search-2 #searchform input#s,
#footer .widget-column #search-2 .searchform input#s,
#footer .widget-column .widget_search #searchform input[type="text"],
#footer .widget-column .widget_search .searchform input[type="text"],
#footer .widget-item.widget_search #searchform input#s,
#footer .widget-item.widget_search .searchform input#s {
    width: 100% !important;
    padding: 12px 45px 12px 20px !important;
    border: 1px solid var(--bpw-grey) !important;
    background-color: var(--bpw-white) !important;
    color: var(--bpw-black) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

#footer .footer-row .widget-column:nth-child(4) .widget_search input[type="search"]::placeholder,
#footer .footer-row .widget-column:nth-child(4) .widget_search input.search-field::placeholder,
#footer #search-2 input[type="text"]::placeholder,
#footer #search-2 input#s::placeholder,
#footer .widget_search input#s::placeholder,
#footer .searchform input[type="text"]::placeholder,
#footer .searchform input#s::placeholder,
#footer #searchform input[type="text"]::placeholder,
#footer #searchform input#s::placeholder {
    color: var(--bpw-grey) !important;
}

#footer .footer-row .widget-column:nth-child(4) .widget_search input[type="search"]:focus,
#footer .footer-row .widget-column:nth-child(4) .widget_search input.search-field:focus,
#footer #search-2 input[type="text"]:focus,
#footer #search-2 input#s:focus,
#footer .widget_search input#s:focus,
#footer .searchform input[type="text"]:focus,
#footer .searchform input#s:focus,
#footer #searchform input[type="text"]:focus,
#footer #searchform input#s:focus,
#footer .widget-column #search-2 #searchform input#s:focus,
#footer .widget-column #search-2 .searchform input#s:focus,
#footer .widget-column .widget_search #searchform input[type="text"]:focus,
#footer .widget-column .widget_search .searchform input[type="text"]:focus,
#footer .widget-item.widget_search #searchform input#s:focus,
#footer .widget-item.widget_search .searchform input#s:focus {
    border-color: var(--bpw-yellow) !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

#footer .footer-row .widget-column:nth-child(4) .widget_search button[type="submit"],
#footer .footer-row .widget-column:nth-child(4) .widget_search input[type="submit"],
#footer #search-2 button[type="submit"],
#footer #search-2 #searchsubmit,
#footer .widget_search #searchsubmit {
    background: transparent !important;
    border: none !important;
    color: var(--bpw-grey) !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color 0.3s ease !important;
}

#footer .footer-row .widget-column:nth-child(4) .widget_search button:hover,
#footer #search-2 button:hover,
#footer #search-2 #searchsubmit:hover,
#footer .widget_search #searchsubmit:hover {
    color: var(--bpw-yellow) !important;
}

#footer .footer-row .widget-column:nth-child(4) .searchform,
#footer .searchform,
#footer #searchform,
#footer #search-2 .searchform {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
}

#footer .searchform input[type="text"],
#footer .searchform input#s,
#footer #searchform input[type="text"],
#footer #searchform input#s {
    width: 100% !important;
    padding: 10px 40px 10px 15px !important;
    border: 2px solid var(--bpw-grey) !important;
    background-color: var(--bpw-white) !important;
    color: var(--bpw-black) !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    margin: 0 !important;
}

#footer .searchform input[type="text"]::placeholder,
#footer .searchform input#s::placeholder,
#footer #searchform input[type="text"]::placeholder,
#footer #searchform input#s::placeholder {
    color: var(--bpw-grey) !important;
}

#footer .searchform input[type="text"]:focus,
#footer .searchform input#s:focus,
#footer #searchform input[type="text"]:focus,
#footer #searchform input#s:focus {
    border-color: var(--bpw-yellow) !important;
    outline: none !important;
}

#footer .searchform button[type="submit"],
#footer .searchform #searchsubmit,
#footer #searchform button[type="submit"],
#footer #searchform #searchsubmit {
    position: absolute !important;
    right: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: var(--bpw-grey) !important;
    cursor: pointer !important;
    padding: 5px !important;
    font-size: 16px !important;
    width: 32px !important;
    height: 32px !important;
}

#footer .searchform button[type="submit"]:before,
#footer .searchform #searchsubmit:before,
#footer #searchform button[type="submit"]:before,
#footer #searchform #searchsubmit:before {
    content: "\f002" !important;
    font-family: "Font Awesome 5 Free", FontAwesome !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

#footer .searchform button:hover,
#footer .searchform #searchsubmit:hover,
#footer #searchform button:hover,
#footer #searchform #searchsubmit:hover {
    color: var(--bpw-yellow) !important;
}

/* Legacy footer-search class support */
.footer-search form {
    position: relative;
}

.footer-search input[type="search"],
.footer-search input[type="text"] {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid var(--bpw-grey);
    background-color: var(--bpw-white);
    color: var(--bpw-black);
    border-radius: 6px;
    font-size: 15px;
}

.footer-search input[type="search"]::placeholder,
.footer-search input[type="text"]::placeholder {
    color: var(--bpw-grey);
}

.footer-search input[type="search"]:focus,
.footer-search input[type="text"]:focus {
    border-color: var(--bpw-yellow);
    outline: none;
}

.footer-search button[type="submit"],
.footer-search input[type="submit"] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--bpw-grey);
    cursor: pointer;
    padding: 8px;
    font-size: 18px;
}

.footer-search button:hover {
    color: var(--bpw-yellow);
}

/* Copyright section */
.footer-copyright,
#footer .hb-footer-copyright,
#footer-bottom {
    text-align: center;
    padding: 15px 0 !important;
    margin-top: 20px !important;
    border-top: none !important;
    font-size: 13px;
    color: var(--bpw-black);
}

/* Hide automatic footer menu in copyright bar from theme */
#footer .footer-copyright-wrapper .footer-copyright-menu,
#footer .hb-footer-copyright .menu,
#footer .hb-footer-copyright nav,
#footer-bottom .menu,
#footer-bottom nav {
    display: none !important;
}

/* Override HighendWP dark style for footer */
#footer.dark-style,
#footer.dark-style a,
#footer.dark-style .textwidget,
#footer.dark-style p {
    background-color: var(--bpw-white) !important;
    color: var(--bpw-black) !important;
}

/* Force remove list styling from all footer lists */
#footer ul,
#footer .menu {
    list-style: none !important;
    list-style-type: none !important;
}

#footer li {
    list-style: none !important;
    list-style-type: none !important;
}

#footer li:before {
    content: none !important;
    display: none !important;
}

/* Additional Footer Spacing - Reduced */
#footer .footer-widgets,
#footer .container {
    padding: 30px 0 10px !important;
}

#footer .footer-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#footer .footer-widgets .hb-column-container,
#footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer widget spacing */
#footer .widget {
    margin-bottom: 0 !important;
}

#footer .widget-item {
    margin-bottom: 0 !important;
}

/* Sitemap link styling if added separately */
.footer-sitemap-link {
    color: var(--bpw-yellow) !important;
}

.footer-sitemap-link:hover {
    color: var(--bpw-black) !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    /* Tablet (below 900px): All columns stack vertically */
    /* Fix container/row alignment */
    #footer .container,
    #footer-wrapper .container {
        padding: 0 40px !important;
    }

    #footer .footer-row {
        margin: 0 !important;
        padding: 40px 0 !important;
    }

    /* Override desktop widths - all columns 100% with proper padding */
    /* Column 1: Add top padding and margin */
    #footer .footer-row .col-3:nth-child(1),
    #footer .footer-row .widget-column:nth-child(1) {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 30px 15px 0 !important;
        margin-top: 40px !important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }

    #footer .footer-row .col-3:nth-child(2),
    #footer .footer-row .widget-column:nth-child(2) {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }

    #footer .footer-row .col-3:nth-child(3),
    #footer .footer-row .widget-column:nth-child(3) {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin-bottom: 30px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Column 4: Override desktop flex, add bottom padding and margin */
    #footer .footer-row .col-3:nth-child(4),
    #footer .footer-row .widget-column:nth-child(4),
    #footer .col-3.no-separator.widget-column {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 30px 15px 30px !important;
        margin-bottom: 60px !important;
        text-align: center !important;
    }

    /* Center all logos */
    .footer-logo {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    /* Center contact info content */
    .footer-contact-info {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Override no-separator class to prevent layout issues */
    #footer .col-3.no-separator,
    #footer .col-3.no-separator.widget-column {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 0 30px 0 !important;
    }

    /* Social icons in single row, centered */
    .footer-social-icons {
        display: flex !important;
        flex-direction: row !important;
        max-width: none !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 15px !important;
        grid-template-columns: none !important;
    }

    /* Navigation: 2 columns, centered */
    #footer .footer-row .widget-column:nth-child(2) .menu {
        grid-template-columns: 1fr 1fr !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-items: center !important;
    }

    #footer .footer-row .widget-column:nth-child(2) .menu li {
        text-align: center !important;
    }

    /* Column 4: Stack menu and search vertically below 900px */
    #footer .footer-row .widget-column:nth-child(4) {
        flex-wrap: wrap !important;
    }

    /* Make menu and search full width and stack */
    #footer .menu-footer-bottom-links-container,
    #footer .widget-item.widget_search {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    #footer .footer-row .widget-column:nth-child(4) .widget_search,
    #footer #search-2.widget_search {
        width: 280px !important;
        min-width: 220px !important;
    }
}

@media (max-width: 768px) {
    /* Mobile (below 768px): Reduce padding for more content width */
    /* Container: Reduced padding on mobile */
    #footer .container,
    #footer-wrapper .container {
        padding: 0 20px !important;
    }

    /* Row: No negative margin */
    #footer .footer-row {
        margin: 0 !important;
    }

    /* All columns: 100% width with reduced padding */
    #footer .footer-row .widget-column,
    #footer .footer-row .col-3 {
        width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 10px !important;
        margin-bottom: 30px !important;
    }

    /* Column 1: Top padding and centered */
    #footer .footer-row .widget-column:nth-child(1) {
        padding: 30px 10px 0 !important;
        text-align: center !important;
    }

    /* Columns 2-3: Centered text */
    #footer .footer-row .widget-column:nth-child(2),
    #footer .footer-row .widget-column:nth-child(3) {
        text-align: center !important;
    }

    /* Column 3: Additional flexbox centering for social icons */
    #footer .footer-row .widget-column:nth-child(3) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Column 4: Override desktop flex, add padding all around */
    #footer .footer-row .widget-column:nth-child(4),
    #footer .footer-row .col-3.widget-column:nth-child(4),
    #footer .col-3.no-separator.widget-column {
        display: flex !important;
        flex-direction: column !important;
        padding: 30px 10px 30px !important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }

    /* Logo centered on mobile */
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    /* Navigation: Single column, full width, horizontal rules between items */
    #footer .footer-row .widget-column:nth-child(2) .menu {
        grid-template-columns: 1fr !important;
        display: block !important;
        width: 100% !important;
    }

    #footer .footer-row .widget-column:nth-child(2) .menu li {
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #footer .footer-row .widget-column:nth-child(2) .menu li:last-child {
        border-bottom: none !important;
    }

    #footer .footer-row .widget-column:nth-child(2) .menu a {
        display: block !important;
        width: 100% !important;
        padding: 12px 15px !important;
        text-align: center !important;
    }

    /* Social icons centered with explicit rules */
    .footer-social-icons {
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
        display: flex !important;
        width: 100% !important;
    }

    /* Widget title in Column 3 centered */
    #footer .footer-row .widget-column:nth-child(3) .widget-title {
        text-align: center !important;
        width: 100% !important;
    }

    /* Bottom section stacked */
    #footer .column-4-inner,
    #footer .footer-row .widget-column:nth-child(4) {
        flex-direction: column !important;
        align-items: center !important;
    }

    #footer .footer-row .widget-column:nth-child(4) .widget_nav_menu,
    #footer #nav_menu-3.widget_nav_menu {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    #footer .column-4-inner .footer-bottom-menu ul,
    #footer .footer-row .widget-column:nth-child(4) .custom-html-widget ul,
    #footer #menu-footer-bottom-links {
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    #footer .footer-row .widget-column:nth-child(4) .widget_search,
    #footer #search-2.widget_search {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
    }
}

/* =================================================================
   Homepage Hero Section
   ================================================================= */

/* Homepage hero container with rounded arch bottom and yellow border */
.homepage-hero {
    position: relative !important;
    padding: 60px 50px 100px !important;
    margin-bottom: 100px !important;
    overflow: visible !important;
    border-bottom-left-radius: 50% 120px !important;
    border-bottom-right-radius: 50% 120px !important;
    border: 6px solid var(--bpw-yellow) !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

/* Vignette overlay using box-shadow inset */
.homepage-hero {
    box-shadow: inset 0 0 200px 50px rgba(0, 0, 0, 1.0) !important;
}

/* Ensure content appears above the vignette overlay */
.homepage-hero .wpb_column,
.homepage-hero .vc_column_container,
.homepage-hero .wpb_wrapper,
.homepage-hero .wpb_text_column,
.homepage-hero .vc_btn3-container {
    position: relative !important;
    z-index: 1000 !important;
}

/* Center the column containers */
.homepage-hero .vc_column_container,
.homepage-hero .vc_column-inner {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Text content spacing within hero */
.homepage-hero .wpb_wrapper {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 30px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure text alignment is centered */
.homepage-hero .wpb_text_column,
.homepage-hero .wpb_text_column p,
.homepage-hero h1,
.homepage-hero h2 {
    text-align: center !important;
}

/* Main heading styling */
.homepage-hero h1 {
    font-size: 48px !important;
    line-height: 1.3 !important;
    margin-bottom: 25px !important;
    margin-top: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: var(--bpw-white) !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Subheading styling */
.homepage-hero h2 {
    font-size: 32px !important;
    line-height: 1.4 !important;
    margin-bottom: 30px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: var(--bpw-white) !important;
    font-weight: 500 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Theme text styling */
.homepage-hero p,
.homepage-hero strong {
    font-size: 20px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: var(--bpw-white) !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3) !important;
}

/* BPW Listens icon - positioned on the arch with white circle background */
.bpw-listens-circle {
    position: absolute !important;
    bottom: -168px !important;
    right: 0px !important;
    z-index: 10 !important;
}

.bpw-listens-circle .vc_single_image-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 132px !important;
    height: 132px !important;
    background-color: var(--bpw-white) !important;
    border: 4px solid var(--bpw-yellow) !important;
    border-radius: 50% !important;
    padding: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
}

.bpw-listens-circle .vc_single_image-wrapper:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}

.bpw-listens-circle img {
    width: 100% !important;
    padding: 12% !important;
    height: auto !important;
    border-radius: 50% !important;
    overflow: visible !important;
    background-color: var(--bpw-white) !important;
}

/* Tablet adjustments */
@media (max-width: 900px) {
    .homepage-hero {
        padding: 50px 30px 90px !important;
        margin-bottom: 60px !important;
        border-bottom-left-radius: 50% 60px !important;
        border-bottom-right-radius: 50% 60px !important;
    }

    .homepage-hero .wpb_wrapper {
        max-width: 100% !important;
        padding: 30px 15px !important;
    }

    .homepage-hero h1 {
        font-size: 36px !important;
    }

    .homepage-hero h2 {
        font-size: 26px !important;
    }

    .homepage-hero p,
    .homepage-hero strong {
        font-size: 18px !important;
    }

    .bpw-listens-circle {
        right: 0px !important;
        bottom: -180px !important;
    }

    .bpw-listens-circle .vc_single_image-wrapper {
        width: 106px !important;
        height: 106px !important;
        padding: 12px !important;
        border-width: 3px !important;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .homepage-hero {
        padding: 40px 15px 80px !important;
        margin-bottom: 50px !important;
        border-bottom-left-radius: 50% 40px !important;
        border-bottom-right-radius: 50% 40px !important;
        border-width: 3px !important;
    }

    .homepage-hero .wpb_wrapper {
        max-width: 100% !important;
        padding: 20px 10px !important;
    }

    .homepage-hero h1 {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }

    .homepage-hero h2 {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }

    .homepage-hero p,
    .homepage-hero strong {
        font-size: 16px !important;
    }

    .bpw-listens-circle {
        right: 0px !important;
        bottom: -160px !important;
    }

    .bpw-listens-circle .vc_single_image-wrapper {
        width: 86px !important;
        height: 86px !important;
        padding: 10px !important;
        border-width: 3px !important;
    }
}

/* =================================================================
   VC Button Styling — see also Buttons & CTAs section above
   ================================================================= */

/* Homepage hero button specific styling */
.homepage-hero .vc_btn3-container {
    display: block !important;
    text-align: center !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

.homepage-hero .vc_btn3 {
    font-size: 18px !important;
    padding: 15px 40px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Extra Small Screens (Phones) */
@media (max-width: 576px) {
    /* XS (below 576px): Minimal padding for maximum content width */
    /* Container: Minimal padding on XS */
    #footer .container,
    #footer-wrapper .container {
        padding: 0 8px !important;
    }

    /* Row: Adjust negative margin to match column padding */
    #footer .footer-row {
        margin: 0 -8px !important;
    }

    /* All columns: Minimal padding, centered */
    #footer .footer-row .widget-column,
    #footer .footer-row .col-3 {
        width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 8px !important;
        text-align: center !important;
    }

    /* Column 1: Top padding */
    #footer .footer-row .widget-column:nth-child(1) {
        padding: 30px 8px 0 !important;
    }

    /* Column 3: Additional flexbox centering for social icons */
    #footer .footer-row .widget-column:nth-child(3) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Social icons: Maintain centering */
    .footer-social-icons {
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
    }

    /* Column 4: Override desktop flex, add padding all around */
    #footer .footer-row .widget-column:nth-child(4),
    #footer .footer-row .col-3.widget-column:nth-child(4),
    #footer .col-3.no-separator.widget-column {
        display: flex !important;
        flex-direction: column !important;
        padding: 30px 8px 30px !important;
        margin-bottom: 30px !important;
        align-items: center !important;
    }

    /* Column 4: Full width menu with spacing */
    #footer .footer-row .widget-column:nth-child(4) .widget_nav_menu,
    #footer #nav_menu-3.widget_nav_menu {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    /* Center the menu items */
    #footer .footer-row .widget-column:nth-child(4) .menu-footer-bottom-links-container,
    #footer .footer-row .widget-column:nth-child(4) .widget_nav_menu ul,
    #footer #menu-footer-bottom-links {
        text-align: center !important;
        justify-content: center !important;
    }

    /* Column 4: Full width search */
    #footer .footer-row .widget-column:nth-child(4) .widget_search,
    #footer #search-2.widget_search {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
    }

    /* Footer font sizes */
    #footer {
        font-size: 14px !important;
    }

    /* Social icons slightly smaller on XS */
    .footer-social-icons a {
        width: 48px !important;
        height: 48px !important;
    }
}

/* =============================================
   [bpw_child_pages] Shortcode — Card Grid
   ============================================= */

.bpw-child-pages {
    display: grid;
    gap: 28px;
    margin: 24px 0;
}

.bpw-child-pages--cols-1 { grid-template-columns: 1fr; }
.bpw-child-pages--cols-2 { grid-template-columns: repeat(2, 1fr); }
.bpw-child-pages--cols-3 { grid-template-columns: repeat(3, 1fr); }
.bpw-child-pages--cols-4 { grid-template-columns: repeat(4, 1fr); }

.bpw-child-page-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bpw-child-page-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    transform: translateY(-2px);
}

.bpw-child-page-card__image {
    display: block;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

.bpw-child-page-card__image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: inherit;
    filter: blur(8px);
    z-index: 0;
}

.bpw-child-page-card__image img {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

.bpw-child-page-card:hover .bpw-child-page-card__image img {
    transform: scale(1.04);
}

.bpw-child-page-card__content {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bpw-child-page-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
}

.bpw-child-page-card__title a {
    color: var(--bpw-black);
    text-decoration: none;
}

.bpw-child-page-card__title a:hover {
    color: var(--bpw-blue);
}

.bpw-child-page-card__date {
    display: block;
    font-size: 12px;
    color: var(--bpw-grey);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.bpw-child-page-card__excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 16px;
    flex-grow: 1;
}

.bpw-child-page-card__button {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--bpw-yellow);
    color: var(--bpw-black);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
}

.bpw-child-page-card__button:hover {
    background-color: #d4a800;
    color: var(--bpw-black);
}

/* Dark section card overrides */
.bpw-section-dark .bpw-child-page-card,
.black-bkg .bpw-child-page-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.bpw-section-dark .bpw-child-page-card__title a,
.black-bkg .bpw-child-page-card__title a {
    color: var(--bpw-white);
}
.bpw-section-dark .bpw-child-page-card__date,
.black-bkg .bpw-child-page-card__date {
    color: rgba(255, 255, 255, 0.5);
}
.bpw-section-dark .bpw-child-page-card__excerpt,
.black-bkg .bpw-child-page-card__excerpt {
    color: rgba(255, 255, 255, 0.65);
}

/* Child page card responsive */
@media (max-width: 899px) {
    .bpw-child-pages--cols-3,
    .bpw-child-pages--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 599px) {
    .bpw-child-pages,
    .bpw-child-pages--cols-2,
    .bpw-child-pages--cols-3,
    .bpw-child-pages--cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Pagination */
.bpw-pagination {
    text-align: center;
    margin: 32px 0 16px;
    font-family: 'Montserrat', sans-serif;
}

.bpw-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--bpw-black);
    background: #f0f0f0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bpw-pagination .page-numbers.current {
    background-color: var(--bpw-yellow);
    color: var(--bpw-black);
    font-weight: 700;
}

.bpw-pagination .page-numbers:hover:not(.current):not(.dots) {
    background-color: var(--bpw-yellow);
    color: var(--bpw-black);
}

.bpw-pagination .page-numbers.dots {
    background: transparent;
    cursor: default;
}

.bpw-pagination .page-numbers.prev,
.bpw-pagination .page-numbers.next {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Responsive: 2 cols on tablet */
@media (max-width: 899px) {
    .bpw-child-pages--cols-3,
    .bpw-child-pages--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Related posts section (replaces HighendWP default) */
.bpw-related-posts {
    margin: 40px 0 20px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.bpw-related-posts__heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    color: var(--bpw-black);
}

/* Hide the old HighendWP related posts if it still shows */
.hb-related-posts {
    display: none !important;
}

/* Responsive: 1 col on mobile */
@media (max-width: 599px) {
    .bpw-child-pages--cols-2,
    .bpw-child-pages--cols-3,
    .bpw-child-pages--cols-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   Page Title Bar — BPW override
   ========================================================================= */

/* Base: black bg, centered */
#hb-page-title {
    background: var(--bpw-black, #1a1a1a) !important;
    padding: 50px 30px 0px !important;
    overflow: visible !important;
    text-align: center !important;
    position: relative !important;
    margin-bottom: 100px !important;
    border-radius: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 0 120px 30px rgba(0, 0, 0, 0.8) !important;
}
/* Extra top padding when subnav is present — lets arch tuck behind the fixed nav */
body.has-page-nav #hb-page-title {
    padding-top: 90px !important;
}

/* Black arch dome extending below the bar */
#hb-page-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100px;
    height: 100px;
    background: var(--bpw-black, #1a1a1a);
    border-bottom-left-radius: 50% 100%;
    border-bottom-right-radius: 50% 100%;
    border-bottom: 6px solid var(--bpw-yellow);
    z-index: 1;
}

/* Featured image background: B&W, 15% opacity — extends into arch */
#hb-page-title .hb-image-bg-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -100px !important;
    width: 100% !important;
    height: auto !important;
    background-size: cover !important;
    background-position: center top !important;
    background-attachment: scroll !important;
    filter: grayscale(100%) blur(5px) !important;
    opacity: 0.10 !important;
    z-index: 2 !important;
    border-bottom-left-radius: 50% 100px !important;
    border-bottom-right-radius: 50% 100px !important;
}

/* No background image: just show black with no style attr issues */
#hb-page-title.hb-color-background .hb-image-bg-wrap {
    background-color: transparent !important;
}

/* Content above the overlay */
#hb-page-title .container {
    position: relative !important;
    z-index: 3 !important;
    margin-top: 40px !important;
}

/* Title: white, centered, more space below */
#hb-page-title h1 {
    color: #fff !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 12px 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Subtitle */
#hb-page-title h2 {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    margin: 0 0 12px 0 !important;
}

/* Breadcrumbs: white, centered, spacing from title */
#hb-page-title > .container > span {
    display: block !important;
    text-align: center !important;
    margin-top: 16px !important;
}

#hb-page-title span,
#hb-page-title span a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
}

#hb-page-title span a:hover {
    color: var(--bpw-yellow) !important;
}

/* Yoast breadcrumb separator */
#hb-page-title .breadcrumb_last {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Responsive */
@media (max-width: 900px) {
    #hb-page-title {
        padding: 60px 20px 60px !important;
        margin-bottom: 50px !important;
    }

    #hb-page-title::after {
        bottom: -50px;
        height: 50px;
    }

    #hb-page-title .hb-image-bg-wrap {
        bottom: -50px !important;
        border-bottom-left-radius: 50% 50px !important;
        border-bottom-right-radius: 50% 50px !important;
    }

    #hb-page-title h1 {
        font-size: 32px !important;
    }
}

@media (max-width: 576px) {
    #hb-page-title {
        padding: 50px 15px 50px !important;
        margin-bottom: 35px !important;
    }

    #hb-page-title::after {
        bottom: -35px;
        height: 35px;
    }

    #hb-page-title .hb-image-bg-wrap {
        bottom: -35px !important;
        border-bottom-left-radius: 50% 35px !important;
        border-bottom-right-radius: 50% 35px !important;
    }

    #hb-page-title h1 {
        font-size: 26px !important;
    }
}


/* =============================================
   Committee Members Section
   ============================================= */

/* Centered heading with decorative bar — matches .bpw-section-title style */
.bpw-committee-members-heading {
    text-align: center;
    margin-bottom: 1.8em;
}
.bpw-committee-members-heading h2 {
    margin-bottom: 10px;
}
.bpw-committee-members-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--bpw-yellow);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Two-column member list within a single vc_column_text */
.bpw-members-list {
    columns: 2;
    column-gap: 3em;
}
.bpw-members-list p {
    break-inside: avoid;
    margin-bottom: 0.45em;
}
@media (max-width: 768px) {
    .bpw-members-list {
        columns: 1;
    }
}

/* Three-column variant for large committees (25+) */
.bpw-members-list-3col {
    columns: 3;
    column-gap: 2.5em;
}
.bpw-members-list-3col p {
    break-inside: avoid;
    margin-bottom: 0.45em;
}
@media (max-width: 991px) {
    .bpw-members-list-3col {
        columns: 2;
    }
}
@media (max-width: 599px) {
    .bpw-members-list-3col {
        columns: 1;
    }
}


/* =============================================
   Outline Button on Dark Backgrounds
   ============================================= */

/* btn-outline inside dark sections: white text + white border */
.bpw-section-dark .btn-outline,
.bpw-section-dark a.btn-outline,
.black-bkg .btn-outline,
.black-bkg a.btn-outline {
    color: var(--bpw-white) !important;
    border-color: var(--bpw-white) !important;
    background-color: transparent !important;
}
.bpw-section-dark .btn-outline:hover,
.bpw-section-dark a.btn-outline:hover,
.black-bkg .btn-outline:hover,
.black-bkg a.btn-outline:hover {
    background-color: var(--bpw-white) !important;
    color: var(--bpw-black) !important;
    border-color: var(--bpw-white) !important;
}

/* ── Mailchimp form — always transparent (Mailchimp stylesheet sets grey/white bg) ── */
#mc_embed_signup {
    background: transparent !important;
}

/* ── Mailchimp form on dark backgrounds ── */
.bpw-section-dark #mc_embed_signup,
.black-bkg #mc_embed_signup {
    color: rgba(255,255,255,0.85);
}
.bpw-section-dark #mc_embed_signup h2,
.black-bkg #mc_embed_signup h2 {
    color: #fff;
}
.bpw-section-dark #mc_embed_signup label,
.bpw-section-dark #mc_embed_signup .indicates-required,
.bpw-section-dark #mc_embed_signup .asterisk,
.black-bkg #mc_embed_signup label,
.black-bkg #mc_embed_signup .indicates-required {
    color: rgba(255,255,255,0.85);
}
.bpw-section-dark #mc_embed_signup input[type="email"],
.bpw-section-dark #mc_embed_signup input[type="text"],
.bpw-section-dark #mc_embed_signup select,
.black-bkg #mc_embed_signup input[type="email"],
.black-bkg #mc_embed_signup input[type="text"],
.black-bkg #mc_embed_signup select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}
.bpw-section-dark #mc_embed_signup input::placeholder,
.black-bkg #mc_embed_signup input::placeholder {
    color: rgba(255,255,255,0.5);
}
.bpw-section-dark #mc_embed_signup .button,
.black-bkg #mc_embed_signup .button {
    background: var(--bpw-yellow) !important;
    color: var(--bpw-black) !important;
    border: none;
}
.bpw-section-dark #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error,
.black-bkg #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    background: rgba(200,50,50,0.8) !important;
}
.bpw-section-dark #mc_embed_signup .mc-field-group,
.black-bkg #mc_embed_signup .mc-field-group {
    padding-bottom: 10px;
}

/* ── Section Sub-Navigation Bar ── */
.bpw-page-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 997;
    background: var(--bpw-black);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bpw-page-nav::-webkit-scrollbar { display: none; }
/* Spacer fills the space the nav would have occupied in flow */
.bpw-page-nav-spacer {
    height: 44px;
}
.bpw-page-nav ul {
    display: inline-flex;
    align-items: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 12px !important;
    gap: 0;
    white-space: nowrap;
    height: 44px;
}
/* Center the items when they fit; left-align when overflowing */
.bpw-page-nav {
    text-align: center;
}
.bpw-page-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    height: 100%;
}
.bpw-page-nav li::before,
.bpw-page-nav li::marker {
    content: none !important;
    display: none !important;
}
.bpw-page-nav a {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 22px;
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
}
.bpw-page-nav a:hover {
    color: var(--bpw-yellow) !important;
    background: rgba(255,255,255,0.05);
}
.bpw-page-nav a.active {
    color: var(--bpw-yellow) !important;
    border-bottom-color: var(--bpw-yellow);
}
@media (max-width: 899px) {
    /* Position subnav directly below 60px mobile header on initial load (before JS) */
    .bpw-page-nav {
        top: 60px;
    }
    body.admin-bar .bpw-page-nav {
        top: 106px;
    }
    /* Extra breathing room so page title clears the fixed subnav on mobile */
    body.has-page-nav #hb-page-title {
        padding-top: 80px !important;
    }
}
@media (max-width: 768px) {
    .bpw-page-nav ul {
        justify-content: flex-start;
        padding: 0 8px !important;
    }
    .bpw-page-nav a {
        padding: 0 14px;
        font-size: 11px;
    }
}

/* Sub-nav icon indicators: page (›) vs section anchor (↓) */
.bpw-nav-icon {
    display: inline-block;
    margin-left: 4px;
    opacity: 0.4;
    font-size: 0.85em;
    transition: opacity 0.2s;
}
.bpw-page-nav a:hover .bpw-nav-icon,
.bpw-page-nav a.active .bpw-nav-icon {
    opacity: 0.7;
}
.bpw-nav-icon--section {
    font-size: 0.7em;
    vertical-align: 1px;
}