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

/* ===== Large desktops ===== */
@media screen and (max-width: 1199px) {
    #main-menu>ul>li>a {
        padding: 16px 12px;
    }

    #main-menu>ul>li {
        font-size: 14px;
    }

    .banner-caption h1 {
        font-size: 58px;
    }

    .intro-sec h2,
    .feature-content h2 {
        font-size: 38px;
    }

    .page-title h1 {
        font-size: 54px;
    }
}

/* ===== Tablets / menu icon kicks in ===== */
@media screen and (max-width: 991px) {

    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 34px;
    }

    /* Header: show the menu icon, hide the inline nav.
       The actual mobile menu is provided by a WordPress plugin
       (the .btn-menu / #btn-menu icon remains as the trigger). */
    .btn-menu {
        display: flex;
    }

    #main-menu {
        display: none;
    }

    /* Hero */
    .hero-sec .container {
        min-height: 480px;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .banner-caption h1 {
        font-size: 50px;
    }

    .banner-caption p {
        font-size: 18px;
    }

    /* Feature rows: stack and re-center */
    .feature-content {
        margin-top: 32px;
        text-align: center;
    }

    .feature-content h2 {
        font-size: 34px;
    }

    .eyebrow {
        margin-top: 8px;
    }

    .list {
        display: inline-block;
        text-align: left;
    }

    .feature-sec-alt .feature-content {
        margin-top: 0;
        margin-bottom: 8px;
    }

    .feature-sec-alt .feature-img+.btn-primary {
        margin-top: 24px;
    }

    .feature-sec-alt .col-lg-7 {
        text-align: center;
    }

    /* Quote */
    .quote-block h2 {
        font-size: 32px;
    }

    /* Inner page title */
    .page-title h1 {
        font-size: 44px;
    }

    /* Pricing cards: 2-up on tablet */
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    /* Inclusions: 2-up on tablet */
    .inclusions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Full-width hero image */
    .page-hero-img img {
        max-height: 380px;
    }

    /* Footer */
    #footer .row>div {
        margin-bottom: 30px;
    }

    .ft-socialmedia {
        justify-content: flex-start;
    }
}

/* ===== Phones ===== */
@media screen and (max-width: 767px) {

    body,
    p,
    address {
        font-size: 16px;
    }

    h1 {
        font-size: 38px;
    }

    .padding-sec {
        padding: 50px 0;
    }

    .topbar-wrap .container {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    #logo a img {
        height: 42px !important;
    }

    .hd-book {
        font-size: 13px;
        padding: 11px 16px;
    }

    /* Hero */
    .main-banner {
        background-attachment: scroll;
    }

    .hero-sec .container {
        min-height: 420px;
        padding-top: 60px;
        padding-bottom: 60px;
        text-align: center;
    }

    .banner-caption {
        margin: 0 auto;
    }

    .banner-caption h1 {
        font-size: 38px;
    }

    .banner-caption p {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Intro */
    .intro-sec h2 {
        font-size: 30px;
    }

    /* Inner page title */
    .page-title h1 {
        font-size: 38px;
    }

    /* About body copy: avoid stretched gaps on small screens */
    .about-content p {
        text-align: left;
    }

    /* Pricing cards + inclusions: 1 column */
    .price-grid,
    .inclusions-grid {
        grid-template-columns: 1fr;
    }

    /* Booking options: stack, drop the center divider */
    .booking-options .row>[class*="col-"]:first-child .booking-option {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding-bottom: 36px;
        margin-bottom: 36px;
    }

    /* FAQ: smaller question text */
    .faq-item summary {
        font-size: 20px;
        padding-right: 36px;
    }

    /* Full-width hero image */
    .page-hero-img img {
        max-height: 300px;
    }

    /* Gallery: 1 column */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-caption {
        opacity: 1;
        transform: none;
    }

    .promo-line {
        font-size: 18px;
    }

    hr.sec-divider {
        width: 80%;
    }

    /* Feature */
    .feature-content h2 {
        font-size: 30px;
    }

    .list__item {
        font-size: 17px;
    }

    /* Quote */
    .quote-block h2 {
        font-size: 26px;
    }

    .quote-block .quote-icon {
        font-size: 48px;
    }

    /* Footer */
    .ft-copyright {
        text-align: center;
    }

    #footer .ft-widget-2,
    #footer .ft-widget-3 {
        margin-bottom: 24px;
    }
}

/* ===== Small phones ===== */
@media screen and (max-width: 575px) {
    .topbar-wrap .container {
        gap: 10px;
    }

    .banner-caption h1 {
        font-size: 32px;
    }

    .feature-sec .row {
        --bs-gutter-x: 24px;
    }
}

@media screen and (max-width: 374px) {
    .banner-caption h1 {
        font-size: 28px;
    }

    .hd-book {
        font-size: 12px;
        padding: 10px 12px;
    }

    #logo a img {
        height: 36px !important;
    }
}

/* ===== Contact + Broker pages: tablet ===== */
@media screen and (max-width: 991px) {

    /* Contact: form card gets breathing room once columns stack */
    .contact-form-card {
        margin-top: 32px;
    }

    /* Fee cards: 2-up on tablet then re-center the odd card */
    .fee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Contact + Broker pages: phones ===== */
@media screen and (max-width: 767px) {

    /* Fee cards: single column */
    .fee-grid {
        grid-template-columns: 1fr;
    }

    /* Forms: tighter cards on small screens */
    .contact-form-card,
    .referral-form-card {
        padding: 28px;
    }

    .cta-band h2 {
        font-size: 28px;
    }
}

/* ===== Blog pages: tablet ===== */
@media screen and (max-width: 991px) {

    /* Post-card grid: 2-up on tablet */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Blog pages: phones ===== */
@media screen and (max-width: 767px) {

    /* Post-card grid: single column */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card__title {
        font-size: 22px;
    }

    .blog-post__title {
        font-size: 34px;
    }

    /* Pagination: smaller buttons so the row fits narrow phones */
    .blog-pagination__link {
        min-width: 38px;
        height: 38px;
        padding: 0 8px;
        font-size: 14px;
    }
}

/* ===== Privacy Policy page: phones ===== */
@media screen and (max-width: 767px) {

    /* Section titles scale down once, in step with the project's headings */
    .policy-sec h2 {
        font-size: 22px;
    }
}
