@media (max-width: 991px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    img,
    video,
    iframe,
    embed,
    object {
        max-width: 100%;
        height: auto;
    }

    .container {
        padding-inline: 16px;
    }

    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* ==========================================================================
       Header / Navbar
       ========================================================================== */
    .navbar-kma {
        padding: 8px 0;
    }

    .navbar-brand img,
    .brand-logo {
        height: 44px !important;
        width: auto !important;
        max-width: 140px;
    }

    div#mainNavbar {
        margin-inline-start: 0;
        justify-content: flex-start;
        width: 100%;
    }

    .navbar-kma .navbar-collapse {
        background: #ffffff;
        border-radius: 16px;
        padding: 16px;
        margin-top: 12px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    }

    .navbar-nav {
        gap: 0;
        width: 100%;
        margin: 0 !important;
    }

    .navbar-kma .nav-link {
        padding: 10px 12px !important;
        border-bottom: 1px solid #e2e8f0;
        font-size: 15px;
    }

    .navbar-nav .dropdown-menu {
        min-width: 100%;
        box-shadow: none !important;
        margin-top: 0;
        border-radius: 12px !important;
    }

    div#mainNavbar .d-flex.align-items-center.gap-3 {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px !important;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e2e8f0;
    }

    .split-cta-pill {
        width: 100%;
        justify-content: stretch;
    }

    .split-cta-pill .cta-signup,
    .split-cta-pill .cta-login {
        flex: 1;
        text-align: center;
        justify-content: center;
        font-size: 13px;
        padding: 10px 12px;
        white-space: normal;
    }

    /* ==========================================================================
       Home — Hero
       ========================================================================== */
    .hero-full-section .home-slider .banner-block {
        height: auto !important;
        min-height: 480px;
    }

    .hero-content-wrapper {
        padding: 140px 0 80px !important;
    }

    .hero-inner {
        max-width: 100%;
        padding-inline: 8px;
    }

    .hero-full-title {
        font-size: 36px !important;
        line-height: 1.35 !important;
    }

    .hero-full-subtitle {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    .hero-scroll-indicator {
        bottom: 16px;
    }

    .hero-scroll-icon-img {
        height: 40px;
    }

    /* ==========================================================================
       Home — About
       ========================================================================== */
    section#about.about-section,
    .about-section {
        padding: 48px 0 !important;
    }

    .about-wavy-backdrop {
        display: none !important;
    }

    .about-main-heading {
        font-size: 26px !important;
        line-height: 1.4 !important;
    }

    .about-text-lead {
        font-size: 16px !important;
        line-height: 1.8 !important;
    }

    .about-photo-img {
        height: 260px;
        width: 100%;
        object-fit: cover;
    }

    .about-metrics-bar {
        width: 100%;
        margin-top: 12px;
        flex-direction: column;
        gap: 10px;
    }

    .about-metrics-bar .metric-block,
    .about-metrics-bar .metric-block.bg-sky-light {
        width: 100% !important;
        flex: 1 1 auto !important;
    }

    .metric-block {
        padding: 14px 16px;
    }

    .btn-about-capsule {
        width: 100%;
        justify-content: center;
        font-size: 16px;
    }

    /* ==========================================================================
       Home — Vision / Goals
       ========================================================================== */
    .vision-section {
        padding: 48px 0 !important;
    }

    .vision-goals-title {
        font-size: 24px !important;
        line-height: 1.4 !important;
        margin-bottom: 16px !important;
    }

    .vision-photo-wrapper {
        min-height: 240px;
        height: 240px;
    }

    .vision-photo-img {
        height: 240px;
        object-fit: cover;
    }

    .vision-main-card .p-4.p-md-5 {
        padding: 20px !important;
    }

    .goal-check-item {
        font-size: 15px;
        line-height: 26px;
        align-items: flex-start;
    }

    .vision-feature-card {
        padding: 24px !important;
    }

    .vision-card-title {
        font-size: 22px !important;
        line-height: 1.4 !important;
    }

    .vision-feature-card p,
    .vision-card-desc {
        font-size: 15px !important;
        line-height: 26px !important;
    }

    /* ==========================================================================
       Home — Board
       ========================================================================== */
    .board-section {
        padding: 48px 0 !important;
    }

    .board-section-heading,
    .membership-section-heading,
    .events-section-heading,
    .media-center-heading,
    .contact-section-title,
    .pages-title {
        font-size: 26px !important;
        line-height: 1.4 !important;
    }

    .board-section-lead,
    .membership-section-lead,
    .events-section-lead,
    .contact-section-subtitle {
        font-size: 16px !important;
        line-height: 1.8 !important;
    }

    .board-photo-box {
        height: 220px;
    }

    .board-member-name {
        font-size: 16px;
        line-height: 24px;
    }

    .board-member-role {
        font-size: 14px;
    }

    .other-board {
        margin: 0;
        padding-block: 40px;
    }

    .board-featured-frame {
        padding: 24px !important;
    }

    .badge-honorary {
        min-width: auto;
        font-size: 16px;
        padding: 10px 24px;
    }

    .title-h {
        margin-bottom: 24px !important;
    }

    /* ==========================================================================
       Home — Membership
       ========================================================================== */
    .membership-section {
        padding: 48px 0 !important;
    }

    .membership-section::after {
        max-height: 100%;
        clip-path: none;
    }

    .membership-wavy-backdrop {
        height: 180px;
        opacity: 0.18;
    }

    .membership-plan-card {
        padding: 20px !important;
    }

    .membership-plan-title {
        font-size: 20px !important;
    }

    .max-w-260 {
        max-width: 100%;
    }

    .btn-subscribe-navy,
    .btn-all-events,
    .btn-more-coverages,
    .btn-board-more,
    .btn-contact-submit {
        width: 100%;
        justify-content: center;
    }

    /* ==========================================================================
       Home — Events
       ========================================================================== */
    .events-section {
        padding: 48px 0 !important;
    }

    .event-photo-wrapper {
        width: 100% !important;
        height: 220px;
        max-width: 100%;
    }

    .event-horizontal-card {
        padding: 16px !important;
    }

    .event-card-title {
        font-size: 20px;
    }

    .event-read-more,
    .article-read-more {
        font-size: 16px;
        margin-top: 16px;
        gap: 8px;
    }

    .event-meta-pill {
        flex-wrap: wrap;
        font-size: 13px;
        padding: 6px 12px;
        gap: 8px;
        margin-bottom: 12px !important;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
    }

    .event-horizontal-card {
        padding: 16px !important;
    }

    .membership-plan-card .d-flex.justify-content-between {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* ==========================================================================
       Home — Media center + Partners + Contact
       ========================================================================== */
    .media-center-section {
        padding: 48px 0 !important;
    }

    .article-photo-wrapper {
        height: 200px;
    }

    .article-card-title {
        font-size: 18px !important;
        line-height: 28px !important;
        margin: 0 0 16px !important;
    }

    .partners-section {
        padding: 48px 16px !important;
    }

    .partners-grid-wrapper {
        max-width: 100%;
    }

    .partner-img {
        max-width: 140px;
    }

    .contact-faq-section {
        padding: 48px 0 !important;
    }

    .faq-accordion-wrapper {
        border-inline-end: 0;
        padding-inline-end: 0;
        margin-bottom: 28px;
    }

    .faq-question {
        font-size: 16px;
        padding-inline-end: 12px;
    }

    .contact-form-lead-title {
        font-size: 16px;
        line-height: 26px;
    }

    .contact-form-card,
    .contact-form-container {
        padding: 20px !important;
        box-shadow: none;
        max-width: 100%;
    }

    .contact-section-title {
        font-size: 28px !important;
        line-height: 1.4 !important;
    }

    .mediacenter-contact-section {
        padding: 40px 0 !important;
    }

    /* ==========================================================================
       Inner pages — hero title
       ========================================================================== */
    .mediacenter-hero-section {
        padding-block: 48px;
    }

    .mediacenter-hero-title {
        font-size: 28px !important;
        line-height: 1.4 !important;
    }

    /* Events / Blog listing */
    .events-page-section,
    .mediacenter-content-section,
    .partners-page-section,
    .faq-page-section,
    .policy-privacy-section,
    .contact-page-inner {
        padding: 40px 0 !important;
    }

    .fillter-inner-h {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
        border-radius: 16px;
    }

    .filter-controls-wrapper .row {
        row-gap: 12px;
    }

    .filter-controls-wrapper .d-flex.align-items-center.gap-2 {
        flex-direction: column;
        align-items: stretch !important;
    }

    .input-group.search-input-group.flex-grow-1,
    .sort-select-wrapper {
        width: 100%;
    }

    .sort-select-wrapper .form-select.custom-sort-select {
        min-width: 0;
        width: 100%;
    }

    .btn-filter-pill {
        font-size: 13px;
        padding: 8px 14px;
    }

    .mediacenter-photo-wrapper {
        height: 200px;
    }

    /* Event / Article single */
    .event-detail-section,
    .related-events-section,
    .article-detail-section,
    .related-articles-section {
        padding: 32px 0 48px;
    }

    .event-detail-back,
    .event-detail-breadcrumb {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .event-single-title,
    .article-single-title {
        font-size: 24px;
    }

    .event-single-intro,
    .event-single-body,
    .article-single-intro,
    .article-single-body {
        font-size: 16px;
    }

    .event-hero-img,
    .article-hero-img {
        max-height: 260px;
    }

    .related-events-heading,
    .related-articles-heading {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .related-events-grid,
    .related-articles-grid {
        grid-template-columns: 1fr !important;
    }

    .related-event-card {
        flex-direction: column !important;
    }

    .related-event-card__media {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .related-article-card__media {
        height: 200px;
    }

    .event-share-icon,
    .article-share-icon {
        width: 40px;
        height: 40px;
    }

    /* Board page */
    .chairman-speech-section,
    .board-members-page-section {
        padding: 40px 0 56px;
    }

    .chairman-speech-heading {
        font-size: 22px;
    }

    .chairman-speech-body p,
    .chairman-speech-body li,
    .chairman-speech-list li {
        font-size: 16px;
        line-height: 1.8;
    }

    .board-member-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .board-member-row__photo {
        flex: none;
        width: 100%;
        height: 240px;
    }

    .board-member-row__name {
        font-size: 22px;
    }

    /* Assembly members */
    .assembly-members-section {
        padding: 32px 0 64px;
    }

    .assembly-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .assembly-search-group {
        max-width: 100%;
        flex: 1 1 auto;
        width: 100%;
    }

    .assembly-sort-select {
        width: 100%;
        min-width: 0;
    }

    .assembly-members-grid {
        grid-template-columns: 1fr !important;
    }

    .assembly-member-card {
        flex-wrap: wrap;
        min-height: 0;
    }

    .assembly-member-id {
        width: 100%;
        justify-content: space-between;
    }

    .assembly-list-heading {
        font-size: 20px;
    }

    .flex-members-search-wrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 28px;
    }

    .flex-members-search-wrap .assembly-members-search-heading {
        font-size: 24px !important;
        line-height: 1.4;
    }

    .flex-members-search-wrap .assembly-toolbar {
        flex: 1 1 auto;
        width: 100%;
    }

    /* FAQ / Privacy / Docs / Voting / Apply */
    .pages-title {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }

    .faq-page-section {
        padding-block: 40px !important;
    }

    .faqSection-inner {
        padding: 24px 16px !important;
        border-radius: 12px;
    }

    .faqSection-inner .accordion .faq-item.border-bottom.pb-4.mb-4 {
        padding: 16px !important;
    }

    .policy-privacy-inner h3,
    .policy-privacy-inner h5 {
        font-size: 22px;
        line-height: 32px;
        margin-block: 28px 12px;
    }

    .policy-privacy-inner p {
        font-size: 16px;
        line-height: 26px;
    }

    .doc-cover-box {
        height: 150px;
    }

    .faqSection-inner .accordion .faq-item .faq-trigger h3 {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .policy-privacy-section,
    .contact-page-inner {
        padding-block: 40px !important;
    }

    .membership-apply-section .container,
    .membership-apply-section .card,
    .membership-apply-section .p-4,
    .membership-apply-section .p-md-5 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .membership-apply-section .bg-navy h2 {
        font-size: 22px;
    }

    .membership-apply-section .bg-navy h4 {
        font-size: 16px;
    }

    .membership-apply-section .d-inline-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .max-w-850,
    .max-w-900,
    .max-w-950,
    .max-w-800,
    .max-w-600 {
        max-width: 100% !important;
    }

    .event-share-block,
    .article-share-block {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .alert {
        flex-wrap: wrap;
    }

    .slick-prev,
    .slick-next {
        display: none !important;
    }

    .home-slider .slick-dots {
        bottom: 12px;
    }

    .partner-grid-img {
        max-height: 48px;
        width: auto;
    }

    .partners-intro-text {
        font-size: 15px;
        margin-bottom: 28px !important;
    }

    .footer-column-title {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Footer */
    .kma-custom-footer,
    .footer-kma {
        padding-block: 40px;
    }

    .footer-logo {
        max-width: 160px;
    }

    .footer-about-text {
        max-width: 100%;
        font-size: 14px;
        line-height: 24px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: start;
        gap: 12px !important;
    }

    /* ==========================================================================
       Smaller phones
       ========================================================================== */
    @media (max-width: 767px) {
        .hero-full-section .home-slider .banner-block {
            min-height: 400px;
        }

        .hero-content-wrapper {
            padding: 120px 0 64px !important;
        }

        .hero-full-title {
            font-size: 28px !important;
        }

        .hero-full-subtitle {
            font-size: 15px !important;
        }

        .about-main-heading,
        .board-section-heading,
        .membership-section-heading,
        .events-section-heading,
        .media-center-heading,
        .vision-goals-title,
        .mediacenter-hero-title,
        .pages-title,
        .contact-section-title {
            font-size: 22px !important;
        }

        .honorary-text-wrapper .honorary-member-name {
            font-size: 20px;
            line-height: 28px;
        }

        .event-horizontal-card .d-flex.justify-content-between {
            flex-direction: column;
            align-items: flex-start !important;
            gap: 8px;
        }

        .chairman-speech-heading {
            font-size: 20px;
        }

        .board-member-row__name {
            font-size: 18px;
        }

        .flex-members-search-wrap .assembly-members-search-heading {
            font-size: 20px !important;
        }

        .faqSection-inner {
            padding: 16px 12px !important;
        }
    }

    @media (max-width: 575px) {
        .navbar-brand img,
        .brand-logo {
            height: 38px !important;
            max-width: 120px;
        }

        .hero-full-section .home-slider .banner-block {
            min-height: 340px;
        }

        .hero-content-wrapper {
            padding: 110px 0 56px !important;
        }

        .hero-full-title {
            font-size: 24px !important;
        }

        .about-photo-img,
        .vision-photo-wrapper,
        .vision-photo-img {
            height: 200px;
        }

        .assembly-member-name {
            font-size: 14px;
        }

        .metric-number {
            font-size: 1.8rem;
        }
    }
}
