@media (max-width: 1500px) {
    .site-header .inner {
        width: 95%;
        margin-right: 0;
        margin-left: 5%;
    }
}

@media (max-width: 1200px) {
    .site-header .inner {
        width: 98%;
        margin-right: 0;
        margin-left: 2%;
    }
}

@media (max-width: 1130px) {
    .livestream-logo {
        margin-left: 20px;
    }

    .hero-wrap.pinned {
        margin-bottom: 250px;
    }
}

@media (max-width: 1175px) {
    .site-header .inner {
        width: 90%;
        margin-right: 5%;
        margin-left: 5%;
    }
    .menu-wrap {
        display: none;
    }

    .search-icon {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        background: #0060A0;
        z-index: 10000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        color: #fff;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        background: #0060A0;
        border-bottom: 1px solid #02335F;
        min-height: 75px;
    }

    .mobile-menu .menu-title {
        font-size: 18px;
        color: #C6E2F1;
        font-weight: 500;
        line-height: 1.6;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-left: 10px;
    }

    .mobile-menu .back-button {
        display: none;
        background: none;
        color: #fff;
        font-size: 18px;
        border: none;
        cursor: pointer;
        vertical-align: middle;
    }

    .mobile-menu .close-menu {
        background: none;
        color: #fff;
        font-size: 45px;
        border: none;
        cursor: pointer;
    }

    .menu-container {
        flex-grow: 1;
        overflow: hidden;
        position: relative;
    }

    .menu-container {
        position: relative;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu-container li {
        margin: 0;
    }

    .menu-container li.join {
        display: none;
    }

    .menu-container li a {
        color: #fff;
        text-decoration: none;
        font-size: 20px;
        display: inline-block;
        padding: 10px 30px;
    }

    .menu-container li a:hover {
        color: #FFB100;
    }

    .menu-container .menu-item-has-children>a::after {
        content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'><path d='M5.3513 14.6668L4.16797 13.4835L9.6513 8.00016L4.16797 2.51683L5.3513 1.3335L12.018 8.00016L5.3513 14.6668Z' fill='%23F6F7F9'/></svg>");
        display: inline-block;
        width: 6px;
        height: 24px;
        margin-left: 8px;
        vertical-align: middle;
    }

    .menu-toggle {
        appearance: none;
        border: none;
        background: none;
        cursor: pointer;
        padding: 0;
        margin: 0;
        display: block;
    }

    /* 📌 Only one visible at a time */
    .mobile-nav,
    .mobile-nav ul {
        display: none;
    }

    .mobile-nav.active,
    .mobile-nav ul.active {
        display: block;
    }

    /* 👁 Full-screen submenu panel */
    .menu-container ul {
        position: absolute;
        top: 60px;
        /* below header */
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #0060A0;
        padding: 0;
        overflow-y: auto;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 10;
    }

    .menu-container ul.active {
        opacity: 1;
    }

    .menu-container>ul {
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        height: calc(100vh - 75px);
        /* height: 100; */
        overflow-y: auto;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 10;
        margin: 0;
    }

    .menu-container>ul.active {
        opacity: 1;
        display: block;
    }

    .mobile-nav li.menu-item:last-child {
        display: none;
    }

    .sticky-join {
        background-color: #FFB100;
        text-align: center;
        margin-top: auto;
        position: absolute;
        bottom: 0;
        width: 100%;
        transition: background-color 0.3s ease;
    }

    .sticky-join a {
        color: #02335F !important;
        font-weight: 400;
        display: block;
        padding: 20px !important;
    }

    .sticky-join:hover {
        background-color: #02335F;
    }

    .sticky-join a:hover {
        color: #fff !important;
    }

    .menu-container {
        display: flex;
        flex-direction: column;
        height: 100vh;
    }

    .mobile-nav,
    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        overflow-y: auto;
    }

    .map-wrapper .inner {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        justify-content: flex-end;
    }

    .map-wrapper .map {
        width: 100%;
    }

    .map-wrapper .legend {
        width: 156px;
    }

}


@media (max-width: 1000px) {
    .hero-wrap h1 {
        font-size: 45px;
    }

    .officer-info-inner {
        flex-direction: column;
    }

    .officer-info-image {
        position: static;
        max-width: 100%;
    }

    .officer-bio {
        width: 100%;
        margin-top: 30px;
    }

    .officer-info-image.desktop {
        display: none;
    }

    .officer-info-image.mobile {
        display: inline-block;
        float: left;
        margin: 0 20px 20px 0;
        max-width: 100%;
        width: 300px;
    }

    .officer-card {
        width: 30%;
    }

    .card-loop-wrapper {
        gap: 10px;
    }

    .card-loop-wrapper .news-card.related-item {
        padding: 10px;
        width: 100%;
        border: none;
    }

    .hero-wrap.pinned .inner {
        flex-direction: column-reverse;
        min-height: 200px;
        justify-content: flex-end;
    }

    .hero-wrap.image.pinned .hero-content {
        position: absolute;
        width: 100%;
        top: 94px;
        padding: 0;
    }

    .hero-wrap.image.pinned .hero-image {
        width: 100%;
        margin-top: 0;
    }

    .hero-wrap.pinned {
        margin-bottom: 513px;
    }

}

@media (max-width: 950px) {
    .cards-wrapper .news-card {
        width: 50%
    }
}

@media (max-width: 900px) {
    .storycollection .colleft,
    .storycollection .colright,
    .storycollection.step1 .colleft,
    .storycollection.step1 .colright {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .livestream-takeover .inner {
        flex-direction: column;
        gap: 0;
    }

    .livestream-takeover .inner .full {
        flex: 1 1 100%;
        width: 100%;
    }

    .livestream-takeover .inner .short {
        flex: 1 1 100%;
        width: 100%;
        border: none;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .livestream-takeover .action-box {
        padding: 10px 20px;
        order: 2;
    }

    .livestream-takeover .chat-box {
        order: 4;
    }

    .livestream-takeover .about-takeover {
        order: 3;
        padding: 0 20px;
    }

    .livestream-takeover .action-box .outline-button {
        margin: 0 0 0 10px;
    }

    .action-box h3 {
        margin: 0;
    }

    .livestream-takeover .yellow-button {
        margin: 0 0 0 auto;
        width: fit-content;
    }

    .livestream-takeover .yellow-button svg {
        display: none;
    }

    .livestream-title {
        margin-top: 20px;
        font-size: 25px;
    }

    .livestream-takeover p,
    .livestream-takeover .read-more-button {
        font-size: 16px;
    }

    .continue-link.outline-button {
        max-width: 90%;
    }
}

@media (max-width: 800px) {
    .mobile-hero-image {
        display: block;
    }

    .desktop-hero-image {
        display: none;
    }

    .event-top {
        flex-direction: column-reverse;
    }

    .event-details {
        width: 100%;
    }

    .event-top-left {
        width: 100%;
    }

    .event-top p span {
        display: block;
    }

    .event-location .dot {
        display: none;
        margin-left: 35px;
    }

    .event-top-right {
        margin-left: auto;
    }

    .event-top .yellow-button {
        margin-top: 0;
    }

    .footer-secondary-menu .menu ul {
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    .footer-toggle {
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        margin-left: 0.5rem;
        vertical-align: sub;
    }

    .arrow-icon {
        transition: transform 0.3s ease;
    }

    .rotate-180 {
        transform: rotate(180deg);
    }

    #footertop {
        flex-direction: column-reverse;
        align-items: center;
    }

    .footer-right {
        width: 100%;
    }

    .footer-left {
        margin-top: 30px;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        border-top: 1px solid #02335F;
        padding: 30px 5% 0;
    }

    .footer-right .footernav ul {
        /* width: 90%;
        margin: auto; */
        overflow: hidden;
    }

    .footer-right .footernav ul li {
        padding: 0;
        width: 100%;
        padding: 0;
        width: 91%;
        margin: auto;
    }

    .footer-right .footernav ul ul {
        background-color: #02335F;
        padding: 10px 5%;
        width: 110%;
        margin-left: -5%;
        margin-top: 5px
    }

    .footer-right .footernav ul ul li {
        margin: 10px;
    }

    #footer .inner {
        width: 100%;
    }

    #footerbottom {
        padding: 20px 5% 0;
    }

    .footerform {
        display: none
    }
}


@media (max-width: 700px) {
    .hero-wrap.image {
        flex-wrap: wrap;
    }

    .hero-content .inner {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .hero-wrap.image .hero-content {
        width: 100%;
    }

    .hero-wrap.image .hero-image {
        width: 100%;
    }

    .cards-wrapper .news-card h3 {
        font-size: 22px;
        min-height: auto;
    }

    p.summary-p {
        min-height: auto;
    }

    .news-card.event {
        flex-direction: column;
    }

    .news-card.event .content {
        width: 100%;
    }

    .body-content.podcast {
        flex-direction: column;
    }

    .podcast-body {
        width: 100%;
    }

    .livestream-takeover .yellow-button,
    .livestream-takeover .outline-button,
    .action-box h3 {
        font-size: 16px;
    }

    .officer-card {
        width: 47%;
    }

    .card-loop-wrapper .news-card.related-item {
        padding: 10px;
        width: 100%;
    }

    h2 {
        font-size: 30px;
    }

    .border-wrapper h2 {
        text-align: center;
    }

    .border-wrapper p {
        font-size: 16px;
        text-align: center;
    }

    .officer-info-image.mobile {
        width: 100%;
    }

    .basic-page-wrapper {
        overflow-x: auto;
        width: 100%;
    }


    table,
    table[style*="float: right"],
    table[style*="float: left"] {
        /* display: block !important;
        float: none !important; */
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: scroll !important;
    }
    
      
}

@media (max-width: 600px) {
    .hero-wrap h1 {
        font-size: 40px;
    }

    .hatch-warning-content {
        padding: 20px 30px;
    }

    .hatch-warning-content h2 {
        font-size: 36px;
    }

    .cards-wrapper .news-card {
        width: 100%;
    }

    .body-content {
        width: 100%;
    }

    .single-news-page .inner .inner {
        width: 100%;
    }

    .related-posts.square .news-card.related-item {
        width: 100%;
    }

    .search-box-click {
        width: 100%;
        top: 50px;
    }

    .officer-filters {
        width: 90%;
    }

    .impact-table th,
    .impact-table td {
        font-size: 14px;
    }

    .impact-table thead {
        display: none;
    }

    .impact-table,
    .impact-table tbody,
    .impact-table tr,
    .impact-table td {
        display: block;
        width: 100%;
    }

    .impact-table tr {
        margin-bottom: 1rem;
        border-bottom: 1px solid #C5C7CA
    }

    .impact-table tr:nth-of-type(even) {
        background-color: #EFF1F4;
    }

    .impact-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: none;
    }

    .impact-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        top: 12px;
        width: 45%;
        padding-right: 10px;
        font-weight: 600;
        text-align: left;
        #fff-space: nowrap;
    }

}

@media (max-width: 550px) {
    .livestream-takeover .action-box {
        flex-wrap: wrap;
        justify-content: center;
    }

    .action-box h3 {
        display: block;
        margin-bottom: 5px;
        width: 100%;
    }

    .livestream-takeover .yellow-button {
        margin: 0;
    }

    .livestream-takeover .yellow-button {
        width: 48%;
    }

    .livestream-takeover .action-box .outline-button {
        width: 48%;
    }

    .styled-search-form {
        flex-wrap: wrap;
    }
    .search-input-wrapper {
        width: 100%;
    }
    .outline-button.search-button {
        width: 100%;
        max-width: 100%;
    }

    .search-form {
        flex-wrap: wrap;
    }
    .autocomplete-input {
        width: 100%;
    }
    .clear-input {
        right: 5%;
    }

}

@media (max-width: 500px) {
    .officer-card {
        display: flex;
        gap: 0px;
        width: 100%;
    }
    .officer-card .headshot-wrapper {
        width: 45%;
    }
    .officer-card .officer-card-content {
        width: 49%;
    }

    #footerbottom {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 10px;
        justify-content: flex-end;
    }

    #footerbottom .disclaimer,
    #footerbottom .social-wrapper {
        width: 100%;
        text-align: left;
    }

    .officer-card-content {}

    .officer-card img {
        width: 120px;
    }

    .officer-card h3 {
        font-size: 20px;
        margin-top: 0;
    }

    .officer-card p {
        font-size: 15px;
        margin: 3px 0;
    }

    .officer-filters {
        width: 100%;
    }
}

@media (max-width: 450px) {}

@media (max-width: 400px) {}

@media (max-width: 350px) {}