/* Responsive refinements shared by every public page. */
html {
    overflow-x: hidden;
}

body {
    min-width: 320px;
    overflow-x: clip;
}

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

.header--4 {
    width: 100%;
}

.header--4 .logo img {
    max-height: 35px;
    width: auto;
}

@media (max-width: 991.98px) {
    .header--4 .container {
        max-width: 100%;
    }

    .header--4 .menu {
        min-height: 72px;
    }

    .header--4 .menu-nav {
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        padding: 16px !important;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 0 0 12px 12px !important;
    }

    .header--4 .menu-nav > .list,
    .header--4 .menu-list,
    .header--4 .menu-link {
        width: 100%;
    }

    .header--4 .menu-nav > .list {
        gap: 4px;
    }

    .header--4 .menu-link {
        display: flex;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .header--4 .menu-list:last-child a {
        display: flex !important;
        width: 100%;
        margin-top: 8px;
        padding-block: 12px !important;
        justify-content: center;
    }

    .hero-4__content {
        border-radius: 0 0 24px 24px !important;
    }

    .hero-4__content > .section-space-top {
        padding-top: 32px;
    }

    .top-shadow .row > [class*="col-"] > div {
        padding-inline: 20px;
    }

    .cta-section-2 {
        text-align: center;
    }

    .footer-4 .logo {
        margin-bottom: 24px !important;
    }
}

@media (max-width: 767.98px) {
    .container {
        --bs-gutter-x: 2rem;
    }

    h1,
    .h1 {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
    }

    h2,
    .h2 {
        font-size: clamp(2rem, 9.5vw, 3rem);
    }

    h3,
    .h3 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    h4,
    .h4 {
        font-size: clamp(1.4rem, 6.5vw, 2rem);
    }

    .section-space-top {
        padding-top: 72px;
    }

    .section-space-y {
        padding-block: 48px;
    }

    .section-space-sm-y {
        padding-block: 32px;
    }

    .section-space-sm-bottom {
        padding-bottom: 32px;
    }

    .hero-4__content > h6 {
        padding-inline: 16px;
    }

    .top-shadow {
        padding-block: 28px;
    }

    .top-shadow .row {
        row-gap: 28px !important;
    }

    .top-shadow h4 {
        margin-bottom: 16px !important;
    }

    .top-shadow p {
        margin-bottom: 20px !important;
    }

    .top-shadow .image-wrap img {
        max-height: 360px;
        object-fit: contain;
    }

    .featured-lists,
    .fb-card-lists {
        width: 100%;
    }

    .pricing-section-3 .featured-lists {
        margin-bottom: 4px;
    }

    .main-info {
        margin-top: 8px;
        padding: 20px;
    }

    .form-control {
        width: 100%;
    }

    .footer-4 {
        text-align: center;
    }

    .footer-4 .logo,
    .footer-4 .footer-img {
        justify-content: center;
    }

    .footer-4 [class*="col-md-"] + [class*="col-md-"] {
        margin-top: 28px;
    }

    .footer-4 .contact-info {
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .header--4 .logo {
        height: 40px;
        max-width: calc(100vw - 96px);
    }

    .header--4 .menu-toggle {
        width: 42px !important;
        height: 42px !important;
    }

    .gradient-btn-3,
    .btn-primary {
        width: 100%;
    }

    .fb-card,
    .main-info {
        border-radius: 12px !important;
    }

    .footer-img {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-img img {
        margin: 0 !important;
    }
}
