/* Record templates: location details, editorial articles and vehicle specifications. */
:is(.rebuild-location,.rebuild-article,.rebuild-spec){margin-block:0!important;background:#fff;color:#272522}
:is(.location-head,.article-head,.spec-head){background:#f4f2ee;padding:clamp(40px,5vw,76px) 32px;margin:0!important;border-bottom:1px solid #ddd8d1}
:is(.location-head-inner,.article-head-inner,.spec-head-inner){max-width:1240px;margin:auto!important}
:is(.location-head,.article-head,.spec-head) h1{font-size:clamp(40px,4.8vw,72px);line-height:1.06;max-width:1050px;margin:24px 0;text-wrap:balance}
:is(.rebuild-location,.rebuild-article,.rebuild-spec) .htc-crumbs{font-size:13px;margin:0 0 30px}
:is(.rebuild-location,.rebuild-article,.rebuild-spec) .htc-crumbs a{color:inherit;text-decoration:none;border-bottom:1px solid #b8afa3}
.location-body{padding:64px 32px;margin:0!important}
.location-body-grid{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:64px;max-width:1240px;margin:auto!important;align-items:start}
.location-facts{padding:32px;background:#f4f2ee;border-top:5px solid #ff7044}
.location-facts h2{font-size:38px;margin:0 0 28px}
.location-facts p{font-size:18px;line-height:1.65;margin:8px 0}
.location-facts .is-style-eyebrow{font-size:12px;margin-top:24px;letter-spacing:.12em}
.location-city{gap:6px;margin:0!important}
.location-phone .wp-block-button__link{background:transparent;color:#272522;font-size:26px;padding:0;border:0;text-decoration:underline;text-underline-offset:5px;min-height:44px;display:flex;align-items:center}
.location-service-link{padding:16px 0;border-block:1px solid #d7d1c8;margin:24px 0!important;font-weight:700}
.location-content>.wp-block-post-featured-image{margin:0 0 32px}
.location-content>.wp-block-post-featured-image img{width:100%;height:auto;max-height:540px;object-fit:cover}
.location-content .entry-content{font-size:18px;line-height:1.7}
.article-head .wp-block-post-date{font-size:14px;color:#625b53}
.article-category{font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.article-category a{color:#a23b18}
.article-feature{max-width:1240px;margin:0 auto!important;padding:40px 32px 0}
.article-feature:not(:has(img)){display:none}
.article-feature figure{margin:0}
.article-feature img{display:block;width:100%;max-height:660px;object-fit:contain;background:#f4f2ee}
.article-layout{display:grid;grid-template-columns:minmax(0,850px) minmax(240px,1fr);gap:64px;max-width:1240px;margin:0 auto!important;padding:64px 32px 80px;align-items:start}
.article-reading .entry-content{font-size:18px;line-height:1.8}
.article-reading .entry-content h2{font-size:36px;line-height:1.2;margin-top:42px}
.article-reading .entry-content h3{font-size:28px;line-height:1.2}
.article-reading .entry-content img{max-width:100%;height:auto}
.article-reading .entry-content a{color:#9f3815;text-underline-offset:4px}
.article-next{background:#f4f2ee;border-top:5px solid #ff7044;padding:28px;margin:0!important}
.article-next h3{font-size:34px;margin:18px 0}
.article-next p:not(.is-style-eyebrow){border-top:1px solid #d8d2c9;padding-top:18px;line-height:1.5}
.article-next a{color:#272522;text-decoration:none;font-weight:600}
.article-next .is-style-eyebrow{font-size:11px;line-height:1.6}
.article-navigation{margin-top:50px;padding-top:24px;border-top:1px solid #ddd7ce;gap:24px;font-size:15px}
.spec-body{max-width:1240px;margin:auto!important;padding:56px 32px 80px}
.spec-body>.wp-block-post-featured-image{max-width:900px;margin:0 auto 40px}
.spec-body>.wp-block-post-featured-image img{width:100%;height:auto;max-height:620px;object-fit:contain}
.spec-body .entry-content{font-size:18px;line-height:1.7}
.spec-body .wpforms-container{padding:32px;background:#f4f2ee;border-top:4px solid #ff7044}
:is(.rebuild-location,.rebuild-article,.rebuild-spec) :is(a,summary,input,select,textarea,button):focus-visible{outline:2px solid #ad3e19;outline-offset:4px}
@media(max-width:850px){.location-body-grid,.article-layout{grid-template-columns:1fr;gap:36px}.location-facts{padding:24px}.article-next{max-width:none}.article-layout{padding-block:40px 56px}.location-body{padding-block:40px}}
@media(max-width:600px){:is(.location-head,.article-head,.spec-head){padding-inline:20px}.location-body,.article-layout,.spec-body{padding-inline:20px}.article-feature{padding:24px 20px 0}.location-facts h2{font-size:32px}}
.rebuild-results{background:#fff;margin:0!important}
.rebuild-results .htc-page-head{background:#f4f2ee;padding:56px 32px!important}
.rebuild-results h1{font-size:clamp(40px,4.5vw,66px);line-height:1.08}
.rebuild-results .htc-section{padding:56px 32px 80px}
.rebuild-results .htc-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.rebuild-results .record-card{background:#f4f2ee;border-top:4px solid #ff7044;height:100%;overflow:hidden}
.rebuild-results .record-card>.wp-block-post-featured-image{margin:0;aspect-ratio:16/9}
.rebuild-results .record-card>.wp-block-post-featured-image img{width:100%;height:100%;object-fit:cover}
.rebuild-results .record-card-copy{padding:28px}
.rebuild-results .record-card h3{font-size:30px;line-height:1.15;margin:15px 0}
.rebuild-results .record-card h3 a{color:#272522;text-decoration:none}
.rebuild-results .record-card .wp-block-post-date{font-size:13px;color:#6e6359}
.rebuild-results .record-card .wp-block-post-excerpt{font-size:17px;line-height:1.65}
.rebuild-results .wp-block-search__input{background:#fff;min-height:50px;border:1px solid #c5bdb3;padding:12px}
.rebuild-results .wp-block-search__button{background:#ff7044;color:#272522;border:0}
@media(max-width:700px){.rebuild-results .htc-card-grid{grid-template-columns:1fr}.rebuild-results .htc-section,.rebuild-results .htc-page-head{padding-inline:20px!important}}
/* Keep adjacent section backgrounds flush; Gutenberg flow gaps belong inside sections. */
:is(.rebuild-trucks,.rebuild-service,.rebuild-equipment,.rebuild-company)>*{margin-block:0!important}
.htc-campaign-band>.wp-block-cover__inner-container{box-sizing:border-box;min-width:0;max-width:100%}
.location-head h1{font-size:clamp(36px,4vw,56px);max-width:1140px}
.rebuild-company .htc-location-map{padding-inline:0;max-width:none}
.rebuild-company #location-directory>.company-container>.wp-block-details{margin-top:30px;border-top:1px solid #d7d1c8;background:#fff;padding:24px}
.rebuild-company #location-directory>.company-container>.wp-block-details>summary{font-size:22px;font-weight:600;min-height:44px;cursor:pointer}
/* Specification sheets lead with the actual vehicle gallery, not a generic brand thumbnail. */
.spec-body .entry-content>.wp-block-columns:first-child{gap:40px;align-items:start}
.spec-body .entry-content>.wp-block-columns:first-child>.wp-block-column:last-child{background:#f4f2ee;padding:28px;border-top:4px solid #ff7044}
.spec-body .entry-content>.wp-block-columns:first-child>.wp-block-column:last-child>p:nth-of-type(2){font-size:32px;font-weight:600;color:#a53c1b;line-height:1.2}
.spec-body .entry-content .wp-block-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;margin:0}
.spec-body .entry-content .wp-block-gallery>.wp-block-image{width:100%!important;margin:0!important;aspect-ratio:4/3}
.spec-body .entry-content .wp-block-gallery>.wp-block-image:first-child{grid-column:1/-1}
.spec-body .entry-content .wp-block-gallery img{width:100%;height:100%!important;object-fit:contain!important;background:#f4f2ee}
.spec-body .entry-content>.wp-block-columns:not(:first-child){gap:18px;margin-top:40px}
.spec-body .entry-content>.wp-block-columns>.wp-block-column:has(>h5){background:#f4f2ee;padding:22px;border-top:3px solid #ff7044}
.spec-body .entry-content h5{font-size:26px;line-height:1.15;margin:0 0 18px}
.spec-body .entry-content .wp-block-column>ul{padding-left:18px;font-size:16px;line-height:1.65}
.spec-body .entry-content .wp-block-buttons{gap:10px}
.spec-body .entry-content .wp-block-button__link{background:#ff7044;color:#272522;padding:14px 18px;font-size:13px;min-height:46px;text-decoration:none}
@media(max-width:781px){.spec-body .entry-content>.wp-block-columns:first-child{gap:28px}.spec-body .entry-content>.wp-block-columns:first-child>.wp-block-column:last-child{padding:22px}}
