/* Heading levels used by the CMS builder blocks, styled like the theme's equivalents in custom.css. */
.banner-section h1 {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
}

.left-content h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 42px;
}

@media only screen and (max-width: 991px) {
    .banner-section h1,
    .left-content h2 {
        font-size: 36px;
    }
}

/* Service-city pages: the hero line is the page's H1 but keeps the theme's large hero heading style. */
.hero-content h1.hero-title {
    width: auto;
    padding: 0;
    background: none;
    border-radius: 0;
    margin: 0 0 20px;
    font-size: 50px;
    text-transform: capitalize;
}

@media only screen and (max-width: 767px) {
    .hero-content h1.hero-title {
        font-size: 45px;
    }
}

@media only screen and (max-width: 480px) {
    .hero-content h1.hero-title {
        font-size: 38px;
    }
}

/* Customer reviews: the page title is its H1 but keeps the old small-heading look. */
.pagenation-holder h1.h4 {
    margin: 0;
    font-size: 3em;
}

/* Blog article cards (article-list widgets). */
.cms-article-card {
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.cms-article-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.cms-article-body {
    padding: 20px;
}

.cms-article-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cms-article-body h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.cms-article-category {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
}

.cms-article-date {
    margin: 0 0 10px;
    font-size: 14px;
    color: #6b7280;
}

/* Local text on service-area pages. */
.cms-area-text + .cms-area-text {
    margin-top: 30px;
}

/* ===== QA round 4 (live site, Nov 2026) ===== */

/* Header menu: keep each item on one line at laptop widths (992-1199px wrapped "About us", "Our Fleet"). */
.header .navbar-nav .nav-link {
    white-space: nowrap;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header .navbar-light .navbar-nav .nav-link {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
        font-size: 15px;
    }
}

/* One font across the site: the Services drop-down, Google's address suggestions and the "Get A Ride" cards. */
.header .dropdown-menu,
.header .dropdown-menu .dropdown-item,
.pac-container,
.pac-item,
.pac-item-query,
.app-section .main-cards-top,
.app-section .main-cards-top a,
.app-section .main-cards-top p {
    font-family: "EB Garamond", serif;
}

/* Home "Our Services": three cards in one row from 992px, and an odd last card centred below that. */
.sec-tours .row:has(> div > .industries-box) {
    justify-content: center;
}

@media only screen and (min-width: 992px) {
    .sec-tours .row > div:has(> .industries-box) {
        flex: 0 0 auto;
        width: 33.3333%;
    }
}

/* WhatsApp button: smaller on phones, so it covers less of the form and the footer links. */
@media only screen and (max-width: 767px) {
    /* "body a." outranks the button's own rules, which come later in the page (MasterPage.master). */
    body a.whatsapp-float {
        width: 46px;
        height: 46px;
        font-size: 22px;
        bottom: 14px;
        left: 12px;
        border-width: 2px;
        animation: none;
    }
}

/* ----- Original pages brought into the site's look ----- */

/* Shared form card (Write a Review, Become a Driver). Login keeps its original look. */
.cms-form-card,
.cms-driver .white-bg {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    font-family: "EB Garamond", serif;
}

.cms-form-intro {
    margin: 0 0 20px;
    font-size: 18px;
}

.cms-form-card table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.cms-form-card td {
    padding: 0 12px 0 0;
    font-size: 17px;
    font-weight: 600;
    vertical-align: middle;
}

.cms-form-card .testfield,
.cms-form-card .testfield2,
.cms-driver .form-control {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    background: #fff;
}

.cms-form-card textarea.testfield {
    min-height: 120px;
}

.cms-form-card .testfield:focus,
.cms-form-card .testfield2:focus,
.cms-driver .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27, 185, 214, 0.25);
}

.cms-form-card .postbtn,
.cms-driver .Btn-form {
    display: inline-block;
    padding: 12px 34px;
    border: 0;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cms-form-card .postbtn:hover,
.cms-driver .Btn-form:hover {
    background: #000;
}

.cms-form-card .feederror,
.cms-form-card .feederror2,
.cms-form-card .lableerror {
    display: block;
    float: none;
    margin-top: 4px;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 500;
}

@media only screen and (max-width: 767px) {
    .cms-form-card,
    .cms-driver .white-bg {
        padding: 20px 16px;
    }

    /* The review form's two-column table becomes one column: label above field. */
    .cms-form-card table,
    .cms-form-card tbody,
    .cms-form-card tr,
    .cms-form-card td {
        display: block;
        width: 100% !important;
        text-align: left !important;
    }

    .cms-form-card td {
        display: flow-root;
        padding: 0 0 6px;
    }
}

/* Customer Reviews */
.cms-reviews .review-list {
    font-family: "EB Garamond", serif;
    font-size: 18px;
}

.cms-review-grid {
    margin: 20px 0 10px;
}

.cms-review-card {
    height: 100%;
    margin: 0;
    padding: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    background: #fff;
    font-family: "EB Garamond", serif;
}

.cms-review-stars {
    margin-bottom: 10px;
    color: #f5b301;
}

.cms-review-card blockquote {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.5;
}

.cms-review-card figcaption {
    font-size: 17px;
    font-weight: 700;
}

.cms-review-card figcaption span {
    display: block;
    font-weight: 400;
    color: #6b7280;
}

/* Become a Driver: the old theme's bands, in the site's colours. */
.cms-driver .dark-b-bg {
    padding: 36px 0;
    background: #000;
    color: #fff;
    text-align: center;
}

.cms-driver .dark-b-bg h2 {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
}

.cms-driver .txt-white {
    color: #fff;
}

.cms-driver .grey-bg {
    padding: 50px 0;
    background: #f5f5f5;
}

.cms-driver label {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
}

.cms-driver .form-group {
    margin-bottom: 18px;
}

.cms-driver .wBorder10 {
    margin: 20px 0;
    border-top: 1px solid #e5e7eb;
}

/* All Services & Locations index */
.sitemap-page h1,
.sitemap-page h3 {
    font-family: "EB Garamond", serif;
}

.sitemap-page .cms-service-links a,
.sitemap-page a {
    color: #000;
    font-family: "EB Garamond", serif;
    font-size: 17px;
    text-decoration: none;
}

.sitemap-page .cms-service-links a:hover,
.sitemap-page a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.sitemap-page .cms-service-links h3 {
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary-color);
}
