/* ===== Global Mobile Responsive Fixes ===== */

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

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

@media only screen and (max-width: 991px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .our-banner .info-banner h1,
    .our-banner .info-banner h3,
    .ghost-banner .info-banner h3,
    .edit-banner .info-banner h3 {
        font-size: 2.35rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
    }

    .our-banner .info-banner h5 {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        color: #fff !important;
    }

    .our-banner .info-banner h6,
    .ghost-banner .info-banner h6,
    .edit-banner .info-banner h6 {
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .our-banner .info-banner p {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        color: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .our-banner.ghost-banner .info-banner p,
    .our-banner.edit-banner .info-banner p,
    .our-banner.bw-hero .info-banner p.bw-hero-text,
    .our-banner.pub-hero .info-banner p.pub-hero-text,
    .our-banner.pub-hero .info-banner p.pub-hero-note,
    .our-banner.bcv-hero .info-banner p.bcv-hero-text {
        color: #2f2f2f !important;
    }

    .book-up {
        padding-top: 20px;
    }

    .our-book {
        padding: 20px 0 !important;
        text-align: center;
    }

    .our-book h3 {
        font-size: 1.7rem !important;
        line-height: 1.25 !important;
        letter-spacing: 0 !important;
        margin-bottom: 8px !important;
    }

    .our-book p {
        font-size: 1.02rem !important;
        line-height: 1.6 !important;
    }

    .our-book.book-up {
        margin-top: 30px !important;
    }

    .our-book.book-up::before {
        display: none !important;
    }

    .our-ghost h2,
    .book-up > .container > h2,
    .our-solution h2,
    .info-solu h2 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }

    .our-ghost h2 br,
    .book-up > .container > h2 br,
    .our-solution h2 br {
        display: none;
    }

    .info-ghost {
        text-align: center;
        margin-bottom: 20px;
    }

    .img-ghost {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        margin: 10px auto 0 !important;
        text-align: center;
    }

    .our-discount,
    .page-cta.our-discount {
        padding: 50px 0 40px !important;
        text-align: center;
        background-size: cover;
        background-position: center;
    }

    .our-discount .row,
    .page-cta .row {
        flex-direction: column;
    }

    .our-discount .col-md-8,
    .our-discount .col-md-4,
    .page-cta .col-md-8,
    .page-cta .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .our-discount h2,
    .page-cta h2 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
    }

    .info-dis .in-dis {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .info-dis .in-dis span {
        margin-right: 0;
        text-align: left;
    }

    .img-dis {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        width: 70%;
        max-width: 280px;
        margin: 24px auto 0;
    }

    .ghost-pro,
    .pub-process,
    .bw-process,
    .bcv-process,
    .about-process {
        margin: 10px 12px !important;
    }

    .ghost-pro .row,
    .ghost-pro .col-md-7,
    .ghost-pro .col-md-5 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .info-gpro {
        margin-bottom: 18px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .info-gpro img {
        right: 16px !important;
        bottom: 16px !important;
        max-width: 36px;
    }

    .info-genre {
        text-align: center;
        margin-top: 20px;
        position: relative !important;
        right: auto !important;
        top: auto !important;
    }

    .info-genre img {
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }

    .our-faq {
        padding: 40px 0 !important;
    }

    .faq-wrap {
        max-width: 100%;
    }

    .faq-q {
        padding: 16px 18px;
    }

    .faq-q h4 {
        font-size: 1.05rem !important;
        padding-right: 28px;
        line-height: 1.35 !important;
    }

    .our-testimonial {
        padding: 40px 0 !important;
        overflow: hidden;
    }

    .our-testimonial h2 {
        font-size: 2.4rem !important;
        line-height: 1.15 !important;
    }

    .our-testimonial h3 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .edit-intro-media,
    .edit-service-img,
    .bw-intro-media,
    .bcv-intro-media,
    .pub-intro-media {
        margin-left: auto;
        margin-right: auto;
    }

    .edit-intro-media img,
    .edit-service-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .edit-service-card,
    .edit-ops-card {
        height: auto !important;
        margin-bottom: 16px;
    }

    .legal-hero .info-banner h3 {
        font-size: 2.2rem !important;
    }

    .legal-wrap {
        padding: 0 4px;
    }

    .legal-list {
        grid-template-columns: 1fr !important;
    }

    .legal-contact {
        padding: 20px 16px !important;
    }

    footer.site-footer .footer-main > [class*="col-"] {
        margin-bottom: 28px;
    }

    footer.site-footer .footer-cta {
        text-align: center;
    }

    footer.site-footer .btn-footer {
        display: inline-block;
    }

    footer.site-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    footer.site-footer .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }

    .marque span {
        font-size: 1.4rem !important;
    }
}

@media only screen and (max-width: 767px) {
    header {
        padding: 8px 0 16px !important;
    }

    header .logo img {
        max-width: 140px;
        margin-left: 0 !important;
    }

    .our-banner,
    .ghost-banner,
    .edit-banner,
    .about-hero,
    .bw-hero,
    .pub-hero,
    .bcv-hero,
    .legal-hero {
        padding-top: 40px !important;
        padding-bottom: 36px !important;
    }

    .our-banner .info-banner h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .our-banner .info-banner h3,
    .ghost-banner .info-banner h3,
    .edit-banner .info-banner h3,
    .about-hero .info-banner h3,
    .bw-hero .info-banner h3,
    .pub-hero .info-banner h3,
    .bcv-hero .info-banner h3 {
        font-size: 2.05rem !important;
        line-height: 1.2 !important;
    }

    .our-book h3 {
        font-size: 1.45rem !important;
        line-height: 1.3 !important;
    }

    .our-book p {
        font-size: 0.98rem !important;
    }

    .btn,
    .btn-green,
    .btn-outline-bw,
    .btn-outline-pub,
    .btn-outline-bcv {
        display: inline-block;
        width: auto;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .bw-hero-btns,
    .pub-hero-btns,
    .bcv-hero-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .bw-hero-btns .btn,
    .pub-hero-btns .btn,
    .bcv-hero-btns .btn {
        width: 100%;
    }

    .our-discount h2,
    .page-cta h2 {
        font-size: 1.9rem !important;
    }

    .our-discount h4::before {
        display: none !important;
    }

    .our-discount h4 {
        transform: none !important;
        background: #01354a;
        color: #fff !important;
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 1.05rem !important;
        display: inline-block;
    }

    .info-dis .in-dis .btn {
        width: 100%;
    }

    .img-dis {
        width: 55%;
        max-width: 220px;
    }

    .our-genre,
    .our-solution,
    .our-pricing,
    .book-write,
    .ghost-ser {
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
    }

    .info-wrbk img,
    .info-gser img {
        max-width: 100%;
        height: auto;
    }

    .info-solu {
        padding: 30px 0 !important;
    }

    .in-solu {
        min-height: auto !important;
    }

    .popupform {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
    }

    .popup-shell {
        border-radius: 20px !important;
    }

    .popup-aside {
        padding: 22px 18px 18px !important;
    }

    .popup-aside h3 {
        font-size: 1.55rem !important;
        margin-bottom: 8px !important;
    }

    .popup-aside-inner > p {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
    }

    .popup-logo {
        max-width: 110px !important;
        margin-bottom: 14px !important;
    }

    .popup-content {
        padding: 22px 16px 18px !important;
    }

    .popupform h2 {
        font-size: 1.55rem !important;
    }

    .popup-lead {
        font-size: 0.9rem !important;
        margin-bottom: 14px !important;
    }

    .popupform ul li input[type="text"],
    .popupform ul li input[type="email"],
    .popupform ul li textarea {
        padding-left: 38px !important;
        font-size: 0.92rem !important;
    }

    .popupform .fancybox-close-small {
        right: 6px !important;
        top: 6px !important;
    }

    .our-testimonial h2 {
        font-size: 2.1rem !important;
    }

    .our-testimonial h3 {
        font-size: 1.55rem !important;
    }
}

@media only screen and (max-width: 480px) {
    .our-banner .info-banner h1 {
        font-size: 1.75rem !important;
    }

    .our-banner .info-banner h3,
    .ghost-banner .info-banner h3,
    .edit-banner .info-banner h3,
    .about-hero .info-banner h3,
    .bw-hero .info-banner h3,
    .pub-hero .info-banner h3,
    .bcv-hero .info-banner h3 {
        font-size: 1.7rem !important;
    }

    .our-banner .info-banner h5 {
        font-size: 1.05rem !important;
    }

    .our-book h3 {
        font-size: 1.3rem !important;
    }

    .our-discount h2,
    .page-cta h2 {
        font-size: 1.7rem !important;
    }

    .info-dis .in-dis span a {
        font-size: 1.2rem !important;
    }

    .our-testimonial h2 {
        font-size: 1.85rem !important;
    }

    .our-testimonial h3 {
        font-size: 1.35rem !important;
    }

    .our-ghost h2,
    .book-up > .container > h2,
    .our-solution h2 {
        font-size: 1.55rem !important;
    }
}
