/* Town & Country Services - Website Typography */

/* Body text */
body,
p,
li,
input,
select,
textarea,
label,
button {
    font-family: 'Inter', Arial, sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
}

/* Navigation and buttons */
nav,
nav a,
.wp-block-button__link,
button,
input[type="submit"] {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
}

/* Town & Country Services - Quote Form */

.tc-quote-form {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 30px;
    border-radius: 8px;
}

/* Mobile-friendly spacing */
@media (max-width: 767px) {
    .tc-quote-form {
        padding: 18px;
    }
}

/* Request a Quote - Reduce section spacing */

.page-id-34 main#content > section.section {
    padding-top: 35px;
    padding-bottom: 50px;
}

/* Hide bottom CTA on Request a Quote page only */

.page-id-34 section.cta {
    display: none;
}

/* Request a Quote - Mobile Additional Details field */

@media (max-width: 767px) {
    .page-id-34 .quote-details-field textarea {
        height: 120px;
        min-height: 120px;
        resize: vertical;
    }
}

/* Mobile top bar - clickable phone number */
@media (max-width: 900px) {

    .top .wrap {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 7px 10px !important;
    }

    /* Hide location information */
    .top .wrap > span:first-child {
        display: none !important;
    }

    /* Keep existing phone link visible */
    .top .wrap > span:nth-child(2) {
        display: block !important;
        font-size: 0 !important;
    }

    .top .wrap > span:nth-child(2) a {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

    /* Add Call before the phone number */
    .top .wrap > span:nth-child(2) a::before {
        content: "Call ";
    }

    /* Remove previously generated text */
    .top .wrap::after {
        content: none !important;
    }
}

}

/* Keep mobile MENU text and icon side by side */
@media (max-width: 900px) {
    .header .mobile-menu {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: auto !important;
        min-height: 44px !important;
        padding: 10px 12px !important;
        white-space: nowrap !important;
    }
}

/* MACHINERY TRANSPORT PAGE — ID 122 */

/* Consistent spacing between sections */
body.page-id-122 .entry-content > h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    line-height: 1.25;
}

/* Comfortable paragraph spacing */
body.page-id-122 .entry-content > p {
    margin-bottom: 18px;
    line-height: 1.7;
}

/* Fleet image and column presentation */
body.page-id-122 .entry-content .wp-block-columns {
    gap: 28px;
    margin-top: 24px;
    margin-bottom: 48px;
    align-items: flex-start;
}

/* Fleet images */
body.page-id-122 .wp-block-columns img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

/* Fleet headings */
body.page-id-122 .wp-block-column h3 {
    margin-top: 20px;
    margin-bottom: 12px;
}

/* Mobile layout */
@media (max-width: 781px) {
    body.page-id-122 .entry-content > h2 {
        margin-top: 36px;
    }

    body.page-id-122 .entry-content .wp-block-columns {
        gap: 32px;
        margin-bottom: 36px;
    }
}

/* INTERNAL PAGE HERO BANNERS */
/* Applies to service pages, not the homepage */

body:not(.home) .page-hero {
    padding: 55px 0 !important;
    min-height: 0 !important;
}

body:not(.home) .page-hero h1 {
    font-size: clamp(30px, 3.5vw, 46px) !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Mobile hero styling */
@media (max-width: 768px) {
    body:not(.home) .page-hero {
        padding: 35px 0 !important;
    }

    body:not(.home) .page-hero h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
    }
}


/* Premium Roller Hire - full machinery images */
.tch-premium .premium-card img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}