/* =========================================================
   AquaLinked WMVP Mobile Page Fit
   contact-us.php
   contact.php
   expert-map.php
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe,
canvas,
svg {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
}


/* =========================================================
   MOBILE CONTACT US
   ========================================================= */

@media screen and (max-width: 760px) {

    body.wmvp-contact-us-page .top {
        padding: 24px 14px;
    }

    body.wmvp-contact-us-page .top h1 {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    body.wmvp-contact-us-page .top p {
        font-size: 15px;
        line-height: 1.6;
        text-align: left;
    }

    body.wmvp-contact-us-page .wrap {
        width: 100%;
        max-width: 100%;
        margin: 16px auto 24px;
        padding: 0 11px;
    }

    body.wmvp-contact-us-page .card {
        width: 100%;
        max-width: 100%;
        padding: 18px 14px;
        border-radius: 17px;
        overflow: hidden;
    }

    body.wmvp-contact-us-page .card h2 {
        font-size: 22px;
        line-height: 1.25;
    }

    body.wmvp-contact-us-page .quick-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    body.wmvp-contact-us-page .quick-link {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 11px 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    body.wmvp-contact-us-page input,
    body.wmvp-contact-us-page textarea {
        width: 100%;
        min-width: 0;
        font-size: 16px;
    }

    body.wmvp-contact-us-page input {
        min-height: 50px;
    }

    body.wmvp-contact-us-page textarea {
        min-height: 150px;
    }

    body.wmvp-contact-us-page button,
    body.wmvp-contact-us-page .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 50px;
        margin-left: 0;
        white-space: normal;
        text-align: center;
    }

    body.wmvp-contact-us-page .notice,
    body.wmvp-contact-us-page .ok,
    body.wmvp-contact-us-page .error {
        overflow-wrap: anywhere;
    }
}


/* =========================================================
   MOBILE CONTACT UNLOCK
   ========================================================= */

@media screen and (max-width: 760px) {

    body.wmvp-contact-unlock-page .container {
        width: 100%;
        max-width: 100%;
        padding-left: 11px;
        padding-right: 11px;
    }

    body.wmvp-contact-unlock-page .topbar {
        padding: 11px 0;
    }

    body.wmvp-contact-unlock-page .topbar-inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
    }

    body.wmvp-contact-unlock-page .topbar a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 8px 10px;
        text-align: center;
        white-space: normal;
    }

    body.wmvp-contact-unlock-page .hero {
        padding: 28px 0;
    }

    body.wmvp-contact-unlock-page .hero-card {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }

    body.wmvp-contact-unlock-page .photo {
        width: 96px;
        height: 96px;
        margin: 0 auto;
        border-radius: 20px;
    }

    body.wmvp-contact-unlock-page h1 {
        font-size: clamp(26px, 8vw, 36px);
        line-height: 1.15;
        overflow-wrap: break-word;
    }

    body.wmvp-contact-unlock-page .section {
        padding: 20px 0 30px;
    }

    body.wmvp-contact-unlock-page .card {
        width: 100%;
        max-width: 100%;
        padding: 18px 14px;
        border-radius: 18px;
        overflow: hidden;
    }

    body.wmvp-contact-unlock-page .card h2 {
        font-size: 23px;
        line-height: 1.25;
        text-align: left;
    }

    body.wmvp-contact-unlock-page .protected-box,
    body.wmvp-contact-unlock-page .contact-payment-warning,
    body.wmvp-contact-unlock-page .notice {
        width: 100%;
        max-width: 100%;
        padding: 14px;
        overflow-wrap: anywhere;
    }

    body.wmvp-contact-unlock-page .card p,
    body.wmvp-contact-unlock-page .contact-payment-warning {
        text-align: left;
        line-height: 1.65;
    }

    body.wmvp-contact-unlock-page .public-link {
        display: inline-block;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.wmvp-contact-unlock-page input {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        font-size: 16px;
    }

    body.wmvp-contact-unlock-page .btn-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    body.wmvp-contact-unlock-page .btn-row .btn,
    body.wmvp-contact-unlock-page .btn-row button {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        padding: 12px 14px;
        border-radius: 14px;
        white-space: normal;
        line-height: 1.3;
        text-align: center;
    }
}


/* =========================================================
   MOBILE INDIVIDUAL EXPERT MAP
   ========================================================= */

@media screen and (max-width: 760px) {

    body.wmvp-expert-map-page .page {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        margin: 0;
        overflow-x: hidden;
    }

    body.wmvp-expert-map-page .top-links {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        margin-bottom: 12px;
    }

    body.wmvp-expert-map-page .top-links a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 8px 7px !important;
        font-size: 13px !important;
        white-space: normal !important;
        text-align: center;
        line-height: 1.25;
    }

    body.wmvp-expert-map-page .top-links .main {
        grid-column: 1 / -1;
    }

    body.wmvp-expert-map-page .grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100%;
        max-width: 100%;
    }

    body.wmvp-expert-map-page .grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.wmvp-expert-map-page .map-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 12px !important;
        border-radius: 17px !important;
        overflow: hidden !important;
    }

    body.wmvp-expert-map-page .panel-head {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    body.wmvp-expert-map-page .panel-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
        overflow-wrap: break-word;
    }

    body.wmvp-expert-map-page .mini-search {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    body.wmvp-expert-map-page .fake-input,
    body.wmvp-expert-map-page .fake-select {
        width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: break-word;
    }

    body.wmvp-expert-map-page .quick-demo {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
        width: 100% !important;
    }

    body.wmvp-expert-map-page .quick-demo span,
    body.wmvp-expert-map-page .quick-demo strong {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    body.wmvp-expert-map-page .leaflet-container {
        width: 100% !important;
        max-width: 100% !important;
        height: 56vh !important;
        min-height: 340px !important;
        max-height: 560px !important;
    }

    body.wmvp-expert-map-page .leaflet-popup-content-wrapper {
        max-width: calc(100vw - 42px) !important;
    }

    body.wmvp-expert-map-page .leaflet-popup-content {
        width: auto !important;
        max-width: calc(100vw - 72px) !important;
        margin: 12px !important;
    }

    body.wmvp-expert-map-page .popup-wrap {
        max-width: 100%;
        min-width: 0;
    }

    body.wmvp-expert-map-page .aql-share-map-footer {
        width: 100% !important;
        max-width: 100% !important;
        margin: 14px auto 20px !important;
        padding: 14px 12px !important;
    }

    body.wmvp-expert-map-page .aql-share-map-buttons {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    body.wmvp-expert-map-page .aql-share-map-buttons a {
        width: 100% !important;
        min-width: 0 !important;
    }
}


@media screen and (max-width: 420px) {

    body.wmvp-expert-map-page .top-links {
        grid-template-columns: 1fr;
    }

    body.wmvp-expert-map-page .top-links .main {
        grid-column: auto;
    }
}
