/*
Theme Name: 747 Truck Bodies
Theme URI: https://747truckbodies.co.za/
Author: 747 Truck Bodies
Description: Editable WordPress block theme with starter pages and a Tail Lifts catalogue importer.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: truck747
*/
:root{--green:#057c20;--dark:#063a17;--yellow:#ffcb04;--ink:#151a17;--muted:#5c685f;--line:#e4e6e4}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{text-decoration:none}img{max-width:100%;height:auto}.wp-site-blocks{overflow-x:clip}.wp-block-group{box-sizing:border-box}
.truck747-wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}.truck747-eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--green)}.truck747-heading{font-weight:900;letter-spacing:-.035em;line-height:1.1}.truck747-hero{background:linear-gradient(90deg,rgba(4,22,10,.95),rgba(4,22,10,.75)),url('assets/images/drop-sides.webp') center/cover;color:#fff;padding-top:105px;padding-bottom:105px}.truck747-hero h1{font-size:clamp(48px,6.5vw,88px);max-width:840px;margin:20px 0}.truck747-hero p{max-width:650px;color:#e2eae4;font-size:19px}.truck747-hero .truck747-eyebrow{color:var(--yellow)}.truck747-hero .wp-block-buttons{margin-top:32px}.truck747-band{background:var(--yellow);padding:18px 0;font-weight:900;font-size:14px;text-transform:uppercase;letter-spacing:1.2px;color:#101910}.truck747-section{padding-top:88px;padding-bottom:88px}.truck747-section h2{font-size:clamp(36px,4.4vw,62px);margin:12px 0 28px}.truck747-section p{color:var(--muted)}.truck747-contrast{background:#f1f1f1}.truck747-dark{background:#07160e;color:#fff}.truck747-dark p{color:#d3ded5}.truck747-card{background:#fff;border:1px solid var(--line);height:100%;overflow:hidden}.truck747-card .wp-block-group{padding:24px}.truck747-card h3{margin:5px 0 12px;font-size:25px}.truck747-card p{color:#59685e}.truck747-card .wp-block-image{margin:0}.truck747-card .wp-block-image img{width:100%;aspect-ratio:1.46;object-fit:cover}.truck747-card a{color:var(--green);font-weight:800}.truck747-number{font-size:13px!important;color:var(--green)!important;font-weight:900;letter-spacing:1px}.truck747-tile{border-top:5px solid var(--yellow);background:#fff;color:var(--ink);padding:29px;height:100%}.truck747-tile h3{font-size:25px}.truck747-bee{background:#092a16;color:white;padding:56px;border-left:7px solid var(--yellow)}.truck747-bee h2{color:white!important}.truck747-bee p{color:#e0e9e0}.truck747-bee .truck747-big{font-size:90px;line-height:1;font-weight:900;color:var(--yellow)}.truck747-contact{background:#f1f1f1;padding:90px 24px}.truck747-contact .wp-block-columns{max-width:1200px;margin:auto}.truck747-form-shell{background:#fff;padding:35px;border:1px solid #dedede}.truck747-footer{background:#092814;color:white;padding:45px 24px}.truck747-footer p{color:#ccd9ce}.truck747-header{background:white;padding:12px 24px;position:relative;z-index:10;box-shadow:0 3px 18px #00000012}.truck747-top{background:var(--dark);color:#fff;padding:9px 24px;font-size:12px;font-weight:800}.truck747-top p{margin:0}.truck747-top strong{color:var(--yellow)}.truck747-header .wp-block-navigation a{font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}.truck747-header .wp-block-site-logo img{max-height:75px;object-fit:contain}.truck747-header .wp-block-button__link{font-size:13px}.truck747-cta{background:var(--yellow);padding:40px 24px}.truck747-subpage-hero{background:#071b0d;color:white;padding:75px 24px}.truck747-subpage-hero h1{font-size:clamp(44px,5vw,72px);margin:8px 0}.truck747-subpage-hero p{color:#e4eee6}.truck747-field{margin:14px 0}.truck747-field label{display:block;font-weight:800;font-size:13px;margin-bottom:6px}.truck747-field input,.truck747-field textarea,.truck747-field select{display:block;width:100%;padding:14px;border:1px solid #cdd4cc;font:inherit;background:white}.truck747-button{display:inline-block;background:var(--green);color:white!important;padding:14px 25px;font-weight:800}.truck747-form-note{font-size:12px!important;color:#69746b!important}.truck747-header .wp-block-navigation__responsive-container.is-menu-open{padding:30px;background:white;color:#111}.truck747-header .wp-block-navigation__responsive-container.is-menu-open a{font-size:17px}.truck747-contact-link a{color:var(--green);font-weight:800}
@media(max-width:781px){.truck747-section{padding-top:60px;padding-bottom:60px}.truck747-hero{padding:75px 24px}.truck747-bee{padding:32px}.truck747-header{padding:10px 16px}.truck747-contact{padding:55px 16px}.truck747-form-shell{padding:22px}.truck747-tile{padding:22px}}

.truck747-tail-hero {
    background: linear-gradient(115deg, #151a17 20%, #063a17);
    border-bottom: 5px solid #ffcb04;
    color: #fff;
    padding: clamp(48px, 8vw, 106px) 0;
}
.tl-hero-inner > h1 {
    color: #fff;
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    letter-spacing: -.04em;
    margin: .18em 0;
}
.tl-hero-inner > p { max-width: 660px; }
.tl-hero-inner > p a { color: #ffcb04; text-decoration: underline; }
.tl-body { padding-top: clamp(36px, 6vw, 76px); padding-bottom: clamp(42px, 7vw, 88px); }
.tl-body > h2:not(:first-child) { margin-top: 1.6em; }
.tl-body > p { color: #45524a; max-width: 76ch; }
.tl-cards, .tl-gallery { display: grid; gap: 22px; }
.tl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tl-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0; }
.tl-card { border: 1px solid #e4e6e4; border-top: 4px solid #057c20; display: flex; flex-direction: column; }
.tl-card-copy { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.tl-card-copy h3 { font-size: 1.5rem; margin: 0; }
.tl-card-copy p { margin: 12px 0 0; }
.tl-card-copy p:last-of-type { font-weight: 800; margin-top: auto; padding-top: 16px; }
.tl-card-copy .wp-block-buttons { margin-top: 16px; }
.tl-card > .wp-block-image, .tl-gallery > .wp-block-image { margin: 0; }
.tl-card > .wp-block-image img, .tl-gallery img {
    aspect-ratio: 4 / 3;
    background: #f1f1f1;
    display: block;
    object-fit: contain;
    width: 100%;
}
.tl-slider-panel {
    align-items: end;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #151a17, #063a17);
    color: #ffcb04;
    display: grid;
    padding: 22px;
}
.tl-slider-panel h3 { color: inherit; font-size: 1.4rem; margin: 0; }
.tl-body .wp-block-table { overflow-x: auto; }
.tl-body .wp-block-table table { border-collapse: collapse; }
.tl-body .wp-block-table :is(th, td) { border: 1px solid #e4e6e4; padding: 10px 12px; text-align: left; }
.tl-body .wp-block-table th { background: #063a17; color: #fff; }
.tl-body .wp-block-table tbody tr:nth-child(even) { background: #f1f1f1; }
.tl-body .wp-block-table a { font-weight: 800; text-decoration: underline; }
.tl-enquiry { background: #063a17; border-left: 5px solid #ffcb04; color: #fff; margin-top: 42px; padding: clamp(20px, 4vw, 46px); }
.tl-enquiry h2 { color: #fff; margin-top: 0; }
.tl-enquiry p { max-width: 76ch; }
.truck747-tail-hero a:focus-visible, .tl-body a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
@media (max-width: 781px) {
    .tl-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 500px) {
    .tl-gallery { grid-template-columns: minmax(0, 1fr); }
    .tl-body .wp-block-table :is(th, td) { padding: 7px; }
}
