
@media (max-width: 1466px){
    
    .main-body-section > .articles-section {
        /*margin-right: 5%;*/
    }

}
@media (max-width: 800px) {
    .nav-wrapper > .nav-wrapper-content > .brainwaves-logo {
        width: auto !important; /* Fix the container width - !important for Safari */
        max-width: 250px; /* Prevent any stretching */
        padding-right: 15px;
    }
    .nav-wrapper > .nav-wrapper-content > .brainwaves-logo a img{
        width: min(100%, 222px);
        height: auto;
        max-height: 50px;
    }
    .nav-wrapper > .nav-wrapper-content > .desktop-nav > .header-links a,
    .nav-wrapper > .nav-wrapper-content > .desktop-nav > .header-links a:hover,
    .nav-wrapper > .nav-wrapper-content > .desktop-nav > .header-links button {
        font-size: min(2.5vw, 1.1em);
    }
    .nav-wrapper > .nav-wrapper-content > .desktop-nav > .header-links a,
    .nav-wrapper > .nav-wrapper-content > .desktop-nav > .header-links a:hover {
        margin-right: min(30px, 3vw);
    }
}
@media (max-width: 700px) {
    .main-body-section {
        flex-direction: column;
    }
    .main-body-section > .fixed-info-screen {
        box-sizing: border-box;
        align-content: center;
        font-size: 0.75em;
        width: 100%;
    }
    
    .main-body-section > .fixed-info-screen > #brainwaves-logo-stacked {
        width: 100%;
        height: auto;
    }
    .main-body-section > .fixed-info-screen p {
        width: 100%;
    }
    .main-body-section > .articles-section {
        box-sizing: border-box;
        padding: 0px 5% 0px 5%;
        width: 100%;
        position: static;
        margin: 0px;
    }
    #saturday-morning-newsletter-featured-article-header {
        margin-top: 50px;
    }
    .main-body-section > .articles-section > .featured {
        display: block;
    }
    .main-body-section > .newsletter-infographic > .explaining-newsletter-section {
        display: block;
    }

    .main-body-section > .newsletter-infographic > .explaining-newsletter-section > .about-brainwaves-section,
    .main-body-section > .newsletter-infographic > .explaining-newsletter-section > .about-saturday-morning-newsletter-section {
        width: 100%;
        
    }
    .main-body-section > .newsletter-infographic > .explaining-newsletter-section > .about-brainwaves-section img,
    .main-body-section > .newsletter-infographic > .explaining-newsletter-section > .about-saturday-morning-newsletter-section img {
        display: block;
        margin: auto;
    }
    .main-body-section > .newsletter-infographic > .explaining-newsletter-section > .divider {
        width: 100%;
        height: 1px;
        margin: 50px 0;
    }
    .main-body-section > .articles-topics > .icons-with-labels {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .main-body-section > .articles-topics > .icons-with-labels > .topic h4  {
        font-size: 3vw;
    }
    .main-body-section > .articles-topics button {
        margin-top: 10px;
    }
    .footer > .social-media-footer {
        height: auto;
    }
    .footer > .social-media-footer > .social-media-footer-content {
        display: block;
        width: 90%;
        
    }
    .footer > .social-media-footer > .social-media-footer-content h2 {
        width: 100%;
    }
    .footer > .social-media-footer > .social-media-footer-content > .social-media-footer-links {
        margin-bottom: 25px;
    }
    .footer > .content-footer {
        display: block;
        width: 90%;
        
    }
    .footer > .content-footer > .subscribe-area {
        width: 100%;
        padding-bottom: 50px;
    }
    .footer > .content-footer > .subscribe-area,
    .footer > .content-footer > .footer-information {
        width: 100%;
    }
    /*
    .nav-wrapper > .nav-wrapper-content > .brainwaves-logo {
        width: 80%;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .nav-wrapper > .nav-wrapper-content > .brainwaves-logo a {
        width: 100%;
    }
    .nav-wrapper > .nav-wrapper-content > .brainwaves-logo a img{
        width: 100%;
        height: auto;
        max-height: 75px;
    }
        */
    
    .main-body-section > .team-member-section > .team-member {
        flex-direction: column;
    }

    .main-body-section > .team-member-section > .team-member > .member-image {
        order: 1;
        width: 50%;
        margin: auto;
        padding-bottom: 20px;
    }

    .main-body-section > .team-member-section > .team-member > .member-bio {
        order: 2;
        width: 100%;
    }
}
@media (max-width: 600px) {
    /* Hamburger Code*/
    .desktop-nav {
        display: none;
    }

  /* Show mobile hamburger menu */
    .mobile-nav {
        display: block;
    }

    /* Optional: Ensure mobile menu is full width and responsive */
    .mobile-menu {
        width: 100%;
    }
    .nav-wrapper > .nav-wrapper-content > .brainwaves-logo a img {
        width: min(100%, 222px);
        height: auto;
        max-height: 50px;
    }

    .nav-wrapper > .nav-wrapper-content > .brainwaves-logo {
        width: auto; /* Or remove this entirely if unnecessary */
    }
    .main-body-section > .about-founder {
        display: block;
    }
    .main-body-section > .about-founder > .drew-headshot-image {
        max-width: 200px;
        margin: auto;
        margin-bottom: 15px;
        
        
    }
}
@media (max-width: 400px) {
    .nav-wrapper > .nav-wrapper-content > .brainwaves-logo a img{
        width: 90%;
        height: auto;
    }
    .main-body-section > .articles-topics > .icons-with-labels {
        grid-template-columns: 1fr 1fr;
    }
    

    
}