/*!
Theme Name: Bridges Mind and Body
Theme URI: https://bmb.tikzrealty.com/
Author: Bridges Mind and Body
Author URI: https://tikzrealty.com/
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: Bridges Mind and Body
*/
/*.row.g-5{
    --bs-gutter-x: 0;
}*/
html,
body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

.nav-backdrop {
    background: rgba(255, 255, 255, 0.95); /* ya tari exact color */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
/* ── Hamburger ── */
.bmb-toggler {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10;
}
.tog-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #7a588d !important;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.bmb-toggler.is-open .tog-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bmb-toggler.is-open .tog-bar:nth-child(2) { opacity: 0; }
.bmb-toggler.is-open .tog-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.dropdown-item:hover,
.dropdown-item:active {
    color: #fff !important;
    background-color: #91c75e !important;
}
/* ── Desktop ── */
@media (min-width: 992px) {
    .bmb-collapse {
        display: flex !important;
        align-items: center;
        flex: 1;
    }
    .navbar-nav .dropdown {
        position: relative;
    }
    .navbar-nav .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 280px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px 0;
        margin-top: 0;
        z-index: 99999;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
    .navbar-nav .dropdown-item {
        display: block;
        padding: 10px 20px;
        text-decoration: none;
        font-size: 14px;
        text-transform: capitalize;
    }
}

/* ── Mobile ── */
@media (max-width: 991.98px) {
    .bmb-collapse {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,0.12);
        padding: 0.5rem 1.5rem 1.5rem;
        z-index: 999;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .bmb-collapse.is-open {
        display: flex;
    }
    .bmb-collapse .navbar-nav {
        flex-direction: column !important;
        width: 100%;
        gap: 0 !important;
    }
    .bmb-collapse .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }
    .bmb-collapse .navbar-nav .nav-link {
        padding: 0.8rem 0 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    /* Mobile submenu hidden by default */
    .bmb-collapse .sub-menu {
        display: none;
        padding: 0.5rem 1rem;
        width: 100%;
    }
    /* Open when parent has .open */
    .bmb-collapse .menu-item-has-children.open > .sub-menu {
        display: block;
    }
    .bmb-collapse .sub-menu a {
        display: block;
        padding: 0.5rem 0;
        font-size: 14px;
        color: inherit;
        text-decoration: none;
        text-transform: capitalize;
    }
    /* CTA */
    .bmb-nav-cta { width: 100%; }
    .bmb-nav-cta .wp-nav-cta-link {
        display: block;
        text-align: center;
        width: 100%;
    }
}



/* Reading Progress Bar */
        .progress-container {
            width: 100%;
            height: 6px;
            position: fixed;
            top: 0;
            left: 0;
            background: rgba(26, 32, 44, 0.1);
            z-index: 1000;
        }
        .progress-bar {
            height: 6px;
            background: var(--primary);
            width: 0%;
            border-right: 2px solid var(--dark);
        }

        /* Animation Classes */
        @keyframes drawPath { to { stroke-dashoffset: 0; } }
        .path-draw {
            stroke-dasharray: 1000;
            stroke-dashoffset: 1000;
            animation: drawPath 3s ease forwards;
        }

        .z-n10 { z-index: -10; }

        /* Layout Utilities */
        .blog-container {
            max-width: 850px;
            margin: 0 auto;
        }
        
        /* New Hero Image Setup */
        .hero-img-container {
            width: 100%;
            height: 50vh;
            min-height: 400px;
            overflow: hidden;
            border-bottom: 4px solid var(--dark);
        }
        .hero-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .content-section {
            padding: 2rem 0;
            position: relative;
        }

        /* Blog Content Styling */
        .blog-content p {
            font-size: 1.15rem;
            color: #374151; /* text-gray-700 */
            margin-bottom: 1.5rem;
        }
        
        .blog-content h2 {
            font-size: 2rem;
            color: var(--dark);
            margin-top: 3rem;
            margin-bottom: 1.25rem;
            position: relative;
        }
        
        .blog-content strong {
            color: var(--dark);
        }

        .highlight-quote {
            font-family: 'Inter', sans-serif;
            background-color: rgba(145, 199, 94, 0.1);
            border: 4px dashed var(--primary);
            padding: 2rem;
            margin: 3rem 0;
            border-radius: 8px;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark);
            text-align: center;
        }
        
        .highlight-quote .font-doodle {
            font-size: 2.5rem;
            color: var(--secondary);
            display: block;
            margin-top: 0.5rem;
        }

/* Equal Height Cards */
.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image Wrapper */
.blog-image-wrap {
    height: 220px; /* same height for all images */
    overflow: hidden;
    border-radius: 12px;
}

/* Image */
.blog-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.blog-card:hover .blog-image-wrap img {
    transform: scale(1.05);
}

/* Content Area */
.blog-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content p {
    margin-top: auto;
}

.blog-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
/*.blog-hero-image{
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 30px;
*/}

.blog-hero-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

/*.blog-hero-image:hover img{
    transform: scale(1.03);
}*/

/* Desktop */
@media(min-width:1200px){
    .blog-hero-image{
        height: 500px;
        margin-top: 120px;
    }
}
@media(min-width:1024px){
    .blog-hero-image{
        margin-top: 120px;
    }
}
/* Tablet */
@media(max-width:991px){
    .blog-hero-image{
        margin-top: 120px;
    }
}

/* Mobile */
@media(max-width:767px){
    .blog-hero-image{
        margin-top: 120px;
    }
}



.audio-btn{
    background: var(--secondary);
    color: #fff;
    border: 3px solid var(--dark);
    border-radius: 999px;
    min-width: 180px;
    height: 66px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 18px;
    font-weight: 700;

    box-shadow: 6px 6px 0 var(--dark);
    transition: all .3s ease;
}

.audio-btn:hover{
    transform: translate(3px,3px);
    box-shadow: 3px 3px 0 var(--dark);
}

.audio-btn i{
    width: 20px;
    text-align: center;
}


/* Top-level nav link active */
.navbar-nav .nav-link.active {
    color: #91c75e !important;
}

/* Dropdown item active */
.dropdown-menu .dropdown-item.active {
    color: #91c75e !important;
    background-color: transparent !important; /* jo hover-style background ni jarur nathi to */
}

/* Parent dropdown-toggle active pan (jyare child page open hoy) */
.navbar-nav .dropdown.active > .nav-link {
    color: #91c75e !important;
}

ul#menu-main-menu li a {
    color: #000;
}



.text-start input[type="submit"].btn-doodle {
  width: 100%;
  background: var(--dark);
  border-radius: 999px;
  border: 3px solid var(--dark);
  box-shadow: 6px 6px 0px 0px var(--secondary);
  cursor: pointer;
  color: #fff;
}