/* @import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap'); */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', sans-serif;
    line-height: 1.6;
    color: #333;
}
/* nav.css */

/* Navbar - Mobile First */
.navbar {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-container {
    width: 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 35px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Hamburger Menu Styles */
.hamburger {
    display: block;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: #2c3e50;
}

/* Mobile Navigation Styles */
.nav-links {
    display: none;
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    list-style-type: none; /* Remove bullets */
}

.nav-links.active {
    display: flex;
    left: 0;
}

.nav-item {
    margin: 16px 0;
    position: relative;
    list-style: none; /* Remove bullets */
}

.nav-item > a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
    display: block;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dropdown arrow styling */
.dropdown-arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Hamburger Animation Classes */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Submenu Styles */
.submenu {
    display: none;
    background-color: rgba(248, 249, 250, 0.95);
    padding: 0;
    margin-top: 10px;
    width: 100%;
    list-style: none; /* Remove bullets */
}

.submenu.show {
    display: block;
}

.submenu li {
    width: 100%;
    list-style: none; /* Remove bullets */
}

.submenu li a {
    padding: 12px 20px;
    color: #2c3e50;
    font-size: 0.9rem;
    font-family: 'Sora', serif;
    display: block;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.submenu li a:hover {
    background-color: #0284c7;
    color: white;
}

.nav-item.active .dropdown-arrow {
    transform: rotate(180deg);
}



/* Tablet and Desktop Styles */
@media screen and (min-width: 768px) {
    .navbar {
        padding: 1rem 0;
        position: fixed !important;
    }

    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .logo img {
        height: 40px;
    }

    .hamburger {
        display: none;
    }

    .nav-links {
        display: flex;
        z-index: 3;
        position: static;
        flex-direction: row;
        gap: 2rem;
        background: none;
        box-shadow: none;
        width: auto;
    }

    .nav-item {
        margin: 0;
        transition: all 0.3s ease;
    }

    .nav-item > a {
        font-size: 0.9rem; /* Smaller text for desktop */
        padding: 0.5rem 0.8rem;
    }

    /* Underline Effect - Desktop Only */
    .nav-item > a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: #2c3e50;
        transition: all 0.3s ease;
    }

    .nav-item > a:hover::after {
        width: 100%;
        left: 0;
    }

    /* Desktop Submenu Styles */
    .submenu {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        background-color: white;
        min-width: 250px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        border-radius: 4px;
        padding: 0.5rem 0;
        list-style: none;
        display: block;
    }

    .nav-item:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .submenu li {
        padding: 0;
        width: 100%;
    }

    .submenu li a {
        color: #2c3e50;
        text-decoration: none;
        padding: 0.8rem 1.5rem;
        display: block;
        font-size: 0.85rem; /* Smaller than main items */
        transition: all 0.3s ease;
        border-left: 4px solid transparent;
    }

    .submenu li a:hover {
        background-color: #f8f9fa;
        color: #0284c7;
        border-left: 4px solid #0284c7;
        padding-left: 2rem;
    }
}

/* Large Desktop Styles */
@media screen and (min-width: 1024px) {
    .nav-container {
        padding: 0 3rem;
    }

    .nav-item > a {
        font-size: 0.95rem; /* Still keeping it relatively small */
    }

    .submenu li a {
        font-size: 0.85rem;
    }
}

/*        BEGIN HERO                 */

.hero-wrapper {
    width: 100%;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    height: 522px;
    position: relative;
    overflow: hidden;
}

/* Make sure picture takes up full container space */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Style the image to properly cover the area */
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Add the dark overlay that was previously in your gradient */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Position content over the image */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
}

.hero-content h1 {
    margin-top: 40px;  /* Pushes title towards top */
    font-size: 2.5rem; /* Adjust size as needed */
}

.hero-content p {
    margin-bottom: 60px;  /* Pushes paragraph towards bottom */
    font-size: 1.1rem;    /* Adjust size as needed */
    max-width: 600px;     /* Limits paragraph width */
    margin-left: auto;    /* Centers the paragraph */
    margin-right: auto;   /* Centers the paragraph */
}

/*        BEGIN SECTIONS                 */


.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: center;
}

.content-wrapper {
    flex: 1;
    min-width: 300px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    color: #34495e;
}

ul {
    list-style-type: none;
}

.text-content {
    font-size: 1.1rem;
}

.text-content p {
    margin-bottom: 15px;
}

.text-content ul {
    margin: 15px 0 15px 40px;
}

.text-content ul li {
    margin-bottom: 8px;
}

.ce-box {
    width: 400px;
    height: 500px;
    border: none;
    margin: 0;
    padding: 0;
}

.second-section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.second-section .content-wrapper {
    width: 66.67%;
    flex: none;
}

.third-section {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.third-section .content-wrapper {
    width: 65%;
    flex: 1;
}

.fourth-section {
    display: flex;
    gap: 30px;
    align-items: center;
}

.fourth-section .content-wrapper {
    flex: 1;
    order: 1;
}

.fifth-section {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.fifth-section .content-wrapper {
    width: 65%;
    flex: 1;
}

.fourth-section .ce-box {
    order: 2;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(44, 62, 80, 0.1);
}

.sidebar-header {
    background: linear-gradient(to right, #2c3e50, #34495e);
    color: white;
    padding: 15px 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid #0284c7;
}

.sidebar-content {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 15px;
    background-color: #fff;
}

.sidebar-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sidebar-content ul li {
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar-content ul li:hover {
    background-color: #f8fafc;
    transform: translateX(5px);
}

.sidebar-content ul li:last-child {
    margin-bottom: 0;
}

.sidebar-content ul li a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    position: relative;
    padding-left: 15px;
    transition: color 0.3s ease;
}

.sidebar-content ul li a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #0284c7;
    font-weight: bold;
}

.sidebar-content ul li a:hover {
    color: #0284c7;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .main-content {
        padding: 10px;
    }

    .section-container {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .content-wrapper {
        width: 95%;
        min-width: unset;
    }

    .second-section .content-wrapper,
    .third-section .content-wrapper,
    .fifth-section .content-wrapper {
        width: 95%;
    }

    .text-content {
        padding: 0 5px;
    }

    .text-content ul {
        margin: 15px 0 15px 25px;
    }

    .fourth-section .content-wrapper {
        order: 2;
    }

    .fourth-section .ce-box {
        order: 1;
    }
}

@media screen and (max-width: 480px) {
    .main-content {
        padding: 5px;
    }

    .content-wrapper {
        width: 100%;
    }

    .section-container {
        gap: 10px;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 1.25rem;
    }

    .ce-box {
        width: 95%;
        height: 400px;
        margin-bottom: 200px;
    }
}

/* Add to your existing CSS */


.google-box {
    min-width: 300px; /* Minimum width for most ads */
    min-height: 250px; /* Minimum height for most ads */
    max-width: 100%; /* Ensures responsiveness */
    background-color: #f8fafc; /* Light background to visualize the space */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    flex-shrink: 0;
}

.google-box-inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* =================BEGIN FOOTER============================================== */

footer{
    bottom: 0px;
    width: 100%;
    background: #646464;
    color: #c7c7c7;
 /*   margin-bottom: 60px; */
}


.main-content{
    display: flex;
}

.main-content .box{
    flex-basis: 50%;
    padding: 10px 20px;
}

.box h2{
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}

.box .content{
    margin: 20px 0 0 0;
    position: relative;
}

.box .content:before{
    position: absolute;
    content: '';
    top: -10px;
    height: 2px;
    width: 100%;
    background: #1a1a1a;
}

.box .content:after{
    position: absolute;
    content: '';
    height: 2px;
    width: 15%;
    background: #f12020;
    top: -10px;
}

.content a{
    color: #fff;
    text-decoration: none;
}

.content a:hover{
    color: #fff;
}
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!BEGIN LEFT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

.left .content .social{
    margin: 20px 0 0 0;
}

.left .content .social a {
    display: inline-block;
    margin: 6px;   /* more space between touch targets */
}

.left .content .social a span {
    height: 48px;
    width: 48px;
    line-height: 48px;
    font-size: 20px; /* scale icon slightly */
    background: #1a1a1a;
    text-align: center;
    border-radius: 5px;
    transition: 0.3s;
    color: #fff;
}
/*

.left .content .social a{
    padding: 0 2px;
}

.left .content .social a span{
    height: 40px;
    width: 40px;
    background: #1a1a1a;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}
*/
.left .content .social a span:hover{
    background: #f12020;
}

.left .content p{
    text-align: justify;
}
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!END LEFT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!BEGIN CENTER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
.center .content .fas{
    font-size: 1.4375rem;
    background: #1a1a1a;
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

.center .content .fas:hover{
    background: #f12020;
}

.center .content .text{
    font-size: 1.0625rem;
    font-weight: 500;
    padding-left: 10px;
}

.center .content .phone{
    margin: 10px 0;
}
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!END CENTER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!BEGIN RIGHT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
.right form .text{
    font-size: 1.0625rem;
    margin-bottom: 2px;
    color: #656565;
}

.right form .msg{
    margin-top: 10px;
}

.right form input, .right form textarea{
    width: 100%;
    font-size:  1.0625rem;
    background: #151515;
    padding-left: 10px;
    border: 1px solid #222222;
}

.right form input:focus, 
.right form textarea:focus{
    outline-color: #3498db;
}

.right form input{
    height: 35px;
}

.right form .btn{
    margin-top: 10px;
}

.right form .btn button{
    height: 40px;
    width: 100%;
    border: none;
    outline: none;
    background: #f12020;
    font-size: 1.0625rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.right form .btn button:hover{
  background: #000;  
}
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!END RIGHT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

.bottom center{
    padding: 5px;
    font-size: 0.9375rem;
    background: #151515;
}

.bottom center span{
    color: #656565;
}

.bottom center a{
    color: #f12020;
    text-decoration: none;
}

.bottom center a:hover{
    color: #f12020;
    text-decoration: underline;
}

@media screen and (max-width: 900px){
    footer{
        /* position: relative; */
        bottom: 0px;
    }

    .main-content{
        flex-wrap: wrap;
        flex-direction: column;
    }

    .main-content .box{
        margin: 5px 0;
    }
}

/* Accessibility overrides */
footer, footer a, footer span, .bottom center span {
  color: #fff !important;
}



/*Begin intro.css*/

.intro-section {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 0;
}

.intro-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #212529;
    text-align: center;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
}

.intro-section .lead-text {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 48px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #495057;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat {
    text-align: center;
    flex: 0 1 auto;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0066cc;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
}

.stat-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    font-weight: 500;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Accent bar under stats */
.stat::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #0066cc;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .intro-section {
        padding: 40px 0;
    }
    
    .intro-section h2 {
        font-size: 26px;
    }
    
    .intro-section .lead-text {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .stats-bar {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}

/*Begin nav.css*/

/* ===== SURGICAL TECH NAV COMPONENT - MOBILE FIRST ===== */

/* Mobile First - Base styles for small screens */
.surgical-nav {
    /* Full width on mobile, but contained on desktop */
    width: 100%;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    padding: 20px 15px;
    margin: 30px 0; /* Space between sections */
    position: relative;
    overflow: hidden;
    
    /* Ensure it doesn't inherit any weird margins from parent containers */
    box-sizing: border-box;
}


/* Container that matches your main content width */
.surgical-nav-container {
    /* Mobile: full width with padding */
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.surgical-nav-title {
    color: white;
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.surgical-nav-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.surgical-nav-items li {
    margin: 0;
}

.surgical-nav-items a {
    display: inline-block;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Hover effect */
.surgical-nav-items a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Active/Current page styling */
.surgical-nav-items a.current-page {
    background: white;
    color: #006680; /* Teal color for current page text */
    cursor: default;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.surgical-nav-items a.current-page:hover {
    transform: none;
    background: white;
}

.surgical-nav-items a.current-page::after {
    content: '✓';
    margin-left: 5px;
    font-size: 0.85rem;
    color: #10b981; /* Mint green checkmark */
}

/* Tablet - 768px and up */
@media (min-width: 768px) {
    .surgical-nav {
        padding: 25px 20px;
        margin: 35px 0;
    }
    
    .surgical-nav-container {
        max-width: 100%;
        padding: 0;
    }
    
    .surgical-nav-title {
        font-size: 1rem;
        margin-bottom: 18px;
        letter-spacing: 1px;
    }
    
    .surgical-nav-items {
        gap: 8px;
    }
    
    .surgical-nav-items a {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}

/* Desktop - 1200px and up */
@media (min-width: 1200px) {
    .surgical-nav {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    /* Match your main content container width */
    .surgical-nav-container {
        max-width: 1200px;
        padding: 0 20px; /* Match your main-content padding */
    }
    
    .surgical-nav-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .surgical-nav-items {
        gap: 10px;
    }
    
    .surgical-nav-items a {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Special wrapper class for when it's between sections */
.section-break-nav {
    /* This wrapper ensures the nav takes full viewport width */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.section-break-nav .surgical-nav {
    margin: 40px 0;
}

/* For when it's inside your existing section containers */
.section-container .surgical-nav {
    /* Reset the full-width styling when inside a section */
    width: 100%;
    margin: 30px -20px; /* Negative margins to break out of parent padding */
}

@media screen and (min-width: 768px) {
    .navbar {
      position: relative;  /* creates a stacking context */
      z-index: 2000;       /* lifts the whole navbar above hero overlay */
    }
  
    .nav-item {
      position: relative;  /* ensures .submenu is anchored to its parent */
    }
  }
  
  
  
  /* Begin adsense.css*/
  
  /* Wrapper you can keep even for real ads */
.ad-container {
    margin: 20px auto;
    text-align: center;
    max-width: 100%;
  }
  
/* Ad Box container (outside sidebar menus) */
.ad-box {
    width: 300px;          /* allow standard 300x250 ads */
    margin-top: 20px;
    flex-shrink: 0;
  }
  
  /* Header for Sponsored section */
  .ad-header {
    background: #f1f5f9;      /* light neutral background */
    color: #1e293b;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px solid #0284c7;
    border-radius: 6px 6px 0 0;
  }
  
  /* Ad content area */
  .ad-content {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 10px;
    text-align: center;
    background-color: #f8fafc;  /* light gray fallback */
    min-height: 250px;          /* matches common ad size */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Wrapper for the AdSense code */
  .ad-container {
    width: 100%;
    max-width: 300px;     /* don’t let it overflow */
  }
  
  /* Optional fallback text if you add it */
  .ad-fallback {
    font-size: 0.85rem;
    color: #64748b;
    display: none;         /* stays hidden unless triggered by JS */
  }

  .first-section .ad-box,
.fourth-section .ad-box {
  width: 300px;   /* standard sidebar ad size */
  flex-shrink: 0; /* prevent shrinking */
}

.third-section .right-column {
    display: flex;
    flex-direction: column; /* stack menus + ad vertically */
    gap: 20px;
    width: 300px;           /* keep menus + ad in a neat column */
    flex-shrink: 0;
  }
  

  .fifth-section .right-column {
    display: flex;
    flex-direction: column; /* stack menus + ad vertically */
    gap: 20px;
    width: 300px;           /* keep menus + ad in a neat column */
    flex-shrink: 0;
  }
