/*
Theme Name: BMHS 2026
Theme URI: https://blackmhsymposium.com
Author: LifeSkills Cares, Inc.
Author URI: https://blackmhsymposium.com
Description: Custom WordPress theme for the Black Mental Health Symposium 2026, optimized for Elementor Pro with 100% full-width layouts and dynamic containers.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bmhs-2026
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --bmhs-primary: #1a1a2e;
    --bmhs-accent: #c9a227;
    --bmhs-teal: #16697a;
    --bmhs-coral: #e07a5f;
    --bmhs-sage: #81b29a;
    --bmhs-white: #ffffff;
    --bmhs-off-white: #f8f9fa;
    --bmhs-dark-gray: #343a40;
    --bmhs-light-gray: #e9ecef;
    
    /* Spacing */
    --section-padding-desktop: 100px;
    --section-padding-tablet: 70px;
    --section-padding-mobile: 50px;
    --container-max-width: 1400px;
    --content-max-width: 1200px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--bmhs-dark-gray);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   100% FULL WIDTH - GLOBAL
   ============================================ */
body,
.site,
.site-content,
main,
article,
.entry-content,
.page-content,
.elementor-page .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Remove WordPress default content width */
.wp-site-blocks,
.wp-block-group,
.has-global-padding {
    padding: 0 !important;
}

/* ============================================
   HIDE PAGE TITLES - GLOBAL
   ============================================ */
.entry-title,
.page-title,
.wp-block-post-title,
h1.entry-title,
h1.page-title,
.elementor-page-title,
article header.entry-header,
.hentry .entry-title {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide header/footer when using Elementor Canvas */
.elementor-template-canvas header,
.elementor-template-canvas footer,
.elementor-template-full_width header.site-header,
.elementor-template-full_width footer.site-footer {
    display: none !important;
}

/* ============================================
   ELEMENTOR FULL WIDTH OVERRIDES
   ============================================ */
.elementor-page,
.elementor-page .site-content,
.elementor-page main,
.elementor-page article {
    max-width: 100% !important;
    width: 100vw !important;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--container-max-width) !important;
}

.elementor-section.elementor-section-full_width,
.elementor-container,
.e-con {
    max-width: 100% !important;
}

/* Elementor Container (Flexbox) full width */
.e-con {
    --container-max-width: 100%;
}

.e-con.e-con-full {
    max-width: 100% !important;
    width: 100% !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--bmhs-primary);
    margin-top: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.25rem); }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.25em;
}

a {
    color: var(--bmhs-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bmhs-accent);
}

/* ============================================
   BUTTONS
   ============================================ */
.bmhs-btn,
.elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.bmhs-btn-primary {
    background: var(--bmhs-accent);
    color: var(--bmhs-primary);
}

.bmhs-btn-primary:hover {
    background: #dbb82e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.bmhs-btn-outline {
    background: transparent;
    border: 2px solid var(--bmhs-white);
    color: var(--bmhs-white);
}

.bmhs-btn-outline:hover {
    background: var(--bmhs-white);
    color: var(--bmhs-primary);
}

.bmhs-btn-outline-dark {
    background: transparent;
    border: 2px solid var(--bmhs-primary);
    color: var(--bmhs-primary);
}

.bmhs-btn-outline-dark:hover {
    background: var(--bmhs-primary);
    color: var(--bmhs-white);
}

.bmhs-btn-small {
    padding: 12px 24px;
    font-size: 12px;
}

/* ============================================
   CONTAINERS
   ============================================ */
.bmhs-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.bmhs-container-wide {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.bmhs-container-full {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

/* ============================================
   HEADER (when using theme header)
   ============================================ */
.bmhs-header {
    background: var(--bmhs-primary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.bmhs-top-bar {
    background: rgba(0,0,0,0.2);
    padding: 8px 20px;
    text-align: center;
    color: var(--bmhs-white);
    font-size: 14px;
}

.bmhs-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 100%;
    width: 100%;
}

.bmhs-logo img {
    max-height: 50px;
    width: auto;
}

.bmhs-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.bmhs-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.bmhs-nav-menu li a {
    color: var(--bmhs-white);
    font-weight: 500;
    transition: color 0.3s;
}

.bmhs-nav-menu li a:hover {
    color: var(--bmhs-accent);
}

.bmhs-header-cta {
    background: var(--bmhs-accent);
    color: var(--bmhs-primary) !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
}

.bmhs-menu-toggle {
    display: none;
}

/* ============================================
   FOOTER
   ============================================ */
.bmhs-footer {
    background: var(--bmhs-primary);
    color: var(--bmhs-white);
    padding: 80px 40px 40px;
    width: 100%;
}

.bmhs-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}

.bmhs-footer h5 {
    color: var(--bmhs-white);
    margin-bottom: 20px;
}

.bmhs-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bmhs-footer-menu li {
    margin-bottom: 10px;
}

.bmhs-footer-menu a {
    color: rgba(255,255,255,0.8);
}

.bmhs-footer-menu a:hover {
    color: var(--bmhs-accent);
}

.bmhs-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: var(--section-padding-tablet);
    }
    
    .bmhs-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bmhs-main-header {
        padding: 15px 20px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 767px)
   ============================================ */
@media (max-width: 767px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    body {
        font-size: 15px;
    }
    
    .bmhs-nav-menu {
        display: none;
    }
    
    .bmhs-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    
    .bmhs-menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--bmhs-white);
        margin: 5px 0;
        transition: all 0.3s ease;
    }
    
    .bmhs-footer {
        padding: 60px 20px 30px;
    }
    
    .bmhs-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bmhs-btn,
    .elementor-button {
        padding: 14px 28px;
        font-size: 13px;
        width: 100%;
        max-width: 300px;
    }
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bmhs-primary);
    color: var(--bmhs-white);
    padding: 15px 30px;
    z-index: 10000;
}

.skip-link:focus {
    top: 10px;
}

/* ============================================
   HERO SECTION - DYNAMIC BACKGROUND IMAGE
   ============================================ */
.bmhs-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

/* Hero Background - Customizable Image */
.bmhs-hero-section .bmhs-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Hero Overlay - Gradient */
.bmhs-hero-section .bmhs-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 105, 122, 0.8) 100%);
    z-index: 1;
}

/* Hero Content */
.bmhs-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 120px 40px 100px;
    margin: 0 auto;
    width: 100%;
}

.bmhs-hero-date {
    color: var(--bmhs-accent);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.bmhs-hero-title {
    color: var(--bmhs-white);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px;
}

.bmhs-hero-tagline {
    color: var(--bmhs-accent);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 25px;
}

.bmhs-hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bmhs-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.bmhs-hero-buttons .bmhs-btn {
    min-width: 220px;
}

/* ============================================
   MODULAR SECTIONS - DRAG & DROP READY
   ============================================ */
.bmhs-section {
    width: 100%;
    padding: var(--section-padding-desktop) 40px;
    position: relative;
}

.bmhs-section-white {
    background-color: var(--bmhs-white);
}

.bmhs-section-light {
    background-color: var(--bmhs-off-white);
}

.bmhs-section-dark {
    background: linear-gradient(135deg, var(--bmhs-primary) 0%, var(--bmhs-teal) 100%);
    color: var(--bmhs-white);
}

.bmhs-section-dark h1,
.bmhs-section-dark h2,
.bmhs-section-dark h3,
.bmhs-section-dark h4,
.bmhs-section-dark h5,
.bmhs-section-dark h6 {
    color: var(--bmhs-white);
}

.bmhs-section-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    width: 100%;
}

.bmhs-section-content-wide {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
}

/* Section Headers */
.bmhs-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.bmhs-section-label {
    color: var(--bmhs-accent);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.bmhs-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 15px;
}

.bmhs-section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--bmhs-dark-gray);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   GRID LAYOUTS - RESPONSIVE
   ============================================ */
.bmhs-grid {
    display: grid;
    gap: 30px;
    width: 100%;
}

.bmhs-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.bmhs-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bmhs-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .bmhs-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bmhs-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .bmhs-grid-2,
    .bmhs-grid-3,
    .bmhs-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .bmhs-section {
        padding: var(--section-padding-mobile) 20px;
    }
}

/* ============================================
   CARDS - MODULAR COMPONENTS
   ============================================ */
.bmhs-card {
    background: var(--bmhs-white);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bmhs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.bmhs-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: var(--bmhs-accent);
}

.bmhs-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.bmhs-card-text {
    color: var(--bmhs-dark-gray);
    opacity: 0.8;
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.bmhs-cta-section {
    background: linear-gradient(135deg, var(--bmhs-primary) 0%, var(--bmhs-teal) 100%);
    padding: var(--section-padding-desktop) 40px;
    text-align: center;
    color: var(--bmhs-white);
    width: 100%;
}

.bmhs-cta-section h2,
.bmhs-cta-section h3 {
    color: var(--bmhs-white);
}

.bmhs-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .bmhs-cta-section {
        padding: var(--section-padding-mobile) 20px;
    }
}

/* ============================================
   HERO RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .bmhs-hero-content {
        padding: 100px 30px 80px;
    }
}

@media (max-width: 767px) {
    .bmhs-hero-section {
        min-height: auto;
    }
    
    .bmhs-hero-content {
        padding: 80px 20px 60px;
    }
    
    .bmhs-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .bmhs-hero-buttons .bmhs-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   SINGLE POST
   ============================================ */
.bmhs-single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.entry-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.entry-meta {
    color: var(--bmhs-dark-gray);
    opacity: 0.7;
}

.entry-thumbnail {
    margin-bottom: 30px;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--bmhs-off-white);
}

/* ============================================
   ARCHIVE / POSTS GRID
   ============================================ */
.bmhs-archive-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.archive-title {
    margin-bottom: 15px;
}

.bmhs-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.bmhs-post-card {
    background: var(--bmhs-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bmhs-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.bmhs-post-card .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bmhs-post-card .post-content {
    padding: 25px;
}

.bmhs-post-card .post-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.bmhs-post-card .post-title a {
    color: var(--bmhs-primary);
}

.bmhs-post-card .post-meta {
    font-size: 0.875rem;
    color: var(--bmhs-dark-gray);
    opacity: 0.7;
    margin-bottom: 15px;
}

.bmhs-post-card .post-excerpt {
    margin-bottom: 20px;
}

.bmhs-btn-small {
    padding: 10px 20px;
    font-size: 12px;
}

/* ============================================
   SPEAKERS
   ============================================ */
.bmhs-speakers-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.bmhs-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.bmhs-speaker-card {
    text-align: center;
}

.bmhs-speaker-card a {
    display: block;
    text-decoration: none;
}

.bmhs-speaker-card .speaker-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.bmhs-speaker-card .speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bmhs-speaker-card .speaker-placeholder {
    background: var(--bmhs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bmhs-speaker-card .speaker-placeholder span {
    font-size: 4rem;
    font-weight: 700;
    color: var(--bmhs-accent);
}

.bmhs-speaker-card .speaker-name {
    color: var(--bmhs-primary);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.bmhs-speaker-card .speaker-title {
    color: var(--bmhs-dark-gray);
    font-size: 0.9rem;
}

/* Speaker Single */
.bmhs-speaker-single {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.speaker-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.speaker-header .speaker-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.speaker-header .speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 2rem;
    margin-bottom: 10px;
}

.speaker-bio {
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .speaker-header {
        flex-direction: column;
        text-align: center;
    }
    
    .speaker-header .speaker-image {
        width: 180px;
        height: 180px;
    }
}

/* ============================================
   404 PAGE
   ============================================ */
.bmhs-404-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.bmhs-404-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.bmhs-404-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.bmhs-btn-outline-dark {
    background: transparent;
    border: 2px solid var(--bmhs-primary);
    color: var(--bmhs-primary);
}

.bmhs-btn-outline-dark:hover {
    background: var(--bmhs-primary);
    color: var(--bmhs-white);
}

/* ============================================
   SEARCH
   ============================================ */
.bmhs-search-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.search-header {
    margin-bottom: 40px;
}

.search-title span {
    color: var(--bmhs-accent);
}

.search-result {
    padding: 25px 0;
    border-bottom: 1px solid var(--bmhs-off-white);
}

.result-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.result-title a {
    color: var(--bmhs-primary);
}

.result-title a:hover {
    color: var(--bmhs-teal);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: var(--bmhs-off-white);
    color: var(--bmhs-dark-gray);
    border-radius: 4px;
    text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--bmhs-primary);
    color: var(--bmhs-white);
}

/* ============================================
   ELEMENTOR FULL WIDTH SUPPORT
   ============================================ */
.elementor-page .bmhs-page-content,
.elementor-page .bmhs-single-content,
.elementor-page .bmhs-archive-content {
    max-width: 100%;
    padding: 0;
}

.elementor-section.elementor-section-full_width {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* ============================================
   ELEMENTOR CONTAINER (FLEXBOX) SUPPORT
   ============================================ */

/* Full width containers */
.e-con {
    --container-max-width: 100%;
    max-width: 100% !important;
}

.e-con.e-con-full,
.e-con[data-settings*="full"] {
    width: 100% !important;
    max-width: 100% !important;
}

/* Boxed content within full-width containers */
.e-con.e-con-boxed > .e-con-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    width: 100%;
}

/* Container responsive padding */
.e-con {
    --padding-top: 100px;
    --padding-bottom: 100px;
    --padding-left: 40px;
    --padding-right: 40px;
}

@media (max-width: 1024px) {
    .e-con {
        --padding-top: 70px;
        --padding-bottom: 70px;
        --padding-left: 30px;
        --padding-right: 30px;
    }
}

@media (max-width: 767px) {
    .e-con {
        --padding-top: 50px;
        --padding-bottom: 50px;
        --padding-left: 20px;
        --padding-right: 20px;
    }
}

/* ============================================
   ELEMENTOR WIDGET RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Headings */
.elementor-widget-heading .elementor-heading-title {
    word-wrap: break-word;
}

/* Buttons - Full width on mobile */
@media (max-width: 767px) {
    .elementor-widget-button .elementor-button {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .elementor-button-wrapper {
        text-align: center;
    }
}

/* Icon boxes responsive */
@media (max-width: 767px) {
    .elementor-widget-icon-box {
        text-align: center;
    }
    
    .elementor-widget-icon-box .elementor-icon-box-wrapper {
        flex-direction: column;
    }
}

/* Counter responsive */
@media (max-width: 767px) {
    .elementor-widget-counter .elementor-counter-number-wrapper {
        font-size: 36px !important;
    }
}

/* Price table responsive */
@media (max-width: 767px) {
    .elementor-widget-price-table {
        margin-bottom: 30px;
    }
}

/* Accordion responsive */
@media (max-width: 767px) {
    .elementor-widget-accordion .elementor-accordion-item {
        margin-bottom: 10px;
    }
}

/* ============================================
   FORM STYLES
   ============================================ */
.bmhs-form input[type="text"],
.bmhs-form input[type="email"],
.bmhs-form input[type="tel"],
.bmhs-form input[type="url"],
.bmhs-form textarea,
.bmhs-form select,
.elementor-field-textual {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--bmhs-light-gray);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bmhs-form input:focus,
.bmhs-form textarea:focus,
.bmhs-form select:focus,
.elementor-field-textual:focus {
    border-color: var(--bmhs-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 105, 122, 0.1);
}

.bmhs-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--bmhs-primary);
}

.bmhs-form .form-group {
    margin-bottom: 25px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 30px !important; }
.mb-4 { margin-bottom: 40px !important; }
.mb-5 { margin-bottom: 60px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mt-2 { margin-top: 20px !important; }
.mt-3 { margin-top: 30px !important; }
.mt-4 { margin-top: 40px !important; }
.mt-5 { margin-top: 60px !important; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

.full-width { width: 100% !important; max-width: 100% !important; }

.hidden { display: none !important; }
.visible { display: block !important; }

@media (max-width: 767px) {
    .hidden-mobile { display: none !important; }
    .visible-mobile { display: block !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hidden-tablet { display: none !important; }
    .visible-tablet { display: block !important; }
}

@media (min-width: 1025px) {
    .hidden-desktop { display: none !important; }
    .visible-desktop { display: block !important; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .bmhs-header,
    .bmhs-footer,
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}
