/* =========================================================
   Inner pages: native blocks styled by the theme
   ========================================================= */
.entry--page .entry__content > section.wp-block-group, .entry--page .entry__content > .wp-block-group { max-width: none; padding-left: 0; padding-right: 0; margin: 0; }
.entry--page .entry__content > section.wp-block-group > *, .entry--page .entry__content > .wp-block-group > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: border-box; }
.entry--page .entry__content { padding: 0; }
.wp-block-columns { display: flex; gap: clamp(20px, 3vw, 40px); margin: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 860px) { .wp-block-columns { flex-direction: column; } }

/* Photo backgrounds a block can carry by class: photo-<car> */
.photo-corvette { --photo: url("../img/lot-corvette-1280.webp"); }
.photo-bronco { --photo: url("../img/lot-bronco-1280.webp"); }
.photo-ram { --photo: url("../img/lot-ram-1280.webp"); }
.photo-landcruiser { --photo: url("../img/lot-landcruiser-1280.webp"); }
.photo-escalade { --photo: url("../img/lot-escalade-1280.webp"); }
.photo-lexus { --photo: url("../img/lot-lexus-1280.webp"); }
.photo-f150 { --photo: url("../img/lot-f150-1280.webp"); }
.photo-tahoe { --photo: url("../img/lot-tahoe-1280.webp"); }
.photo-wagoneer { --photo: url("../img/lot-wagoneer-1280.webp"); }
.photo-4runner { --photo: url("../img/lot-4runner-1280.webp"); }
.photo-x5 { --photo: url("../img/lot-x5-1280.webp"); }
.photo-expedition { --photo: url("../img/lot-expedition-1280.webp"); }

/* Page hero */
.ph { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--coal-950) var(--photo, none) 50% 62% / cover no-repeat; padding: clamp(48px, 6vw, 92px) 0 calc(clamp(64px, 7vw, 104px) + var(--pitch)) !important; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pitch)), 0 100%); }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 8, 8, .7) 0%, rgba(8, 8, 8, 0) 45%), linear-gradient(100deg, rgba(10, 10, 10, .96) 0%, rgba(14, 14, 14, .9) 40%, rgba(40, 4, 5, .6) 70%, rgba(138, 1, 3, .35) 100%); }
.ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--pitch) + 22px); height: 4px; z-index: -1; background: repeating-linear-gradient(90deg, var(--yellow) 0 46px, transparent 46px 80px); animation: roadSlide 2.4s linear infinite; opacity: .85; }
@keyframes roadSlide { to { background-position: -80px 0; } }
.ph h1 { color: #fff; font-size: clamp(2.3rem, 1.1rem + 3.8vw, 4.6rem); line-height: .95; max-width: 16ch; margin: 10px 0 18px; }
.ph h1 em { color: var(--yellow); }
.ph p { color: #DAD6CF; }
.ph .lead { font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); max-width: 56ch; color: #DAD6CF; }
.ph .wp-block-buttons { margin-top: 26px; }
.crumbs { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--red-bright); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: #fff; }

/* Proof strip that overlaps the page hero */
.proof-strip { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: calc(-1 * (var(--pitch) + 40px)) auto 0 !important; position: relative; z-index: 3; }
.proof-strip li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-2); border-top: 4px solid var(--red); }
.proof-strip li:nth-child(2) { border-top-color: var(--yellow); }
.proof-strip li:nth-child(3) { border-top-color: var(--ink); }
.proof-strip strong { font-family: var(--display); font-weight: 800; font-stretch: 112.5%; font-size: 1.9rem; line-height: 1; flex: none; }
.proof-strip span { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--graphite); }
.proof-strip a { color: inherit; text-decoration: none; }
.proof-strip a:hover span { color: var(--red); }
@media (max-width: 760px) { .proof-strip { grid-template-columns: 1fr; } }

/* Sections */
.sec { padding-top: var(--band) !important; padding-bottom: var(--band) !important; background: #fff; }
.sec--snow { background: var(--snow); }
.sec--dark { background: var(--coal-900); color: var(--on-dark); }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark p { color: var(--on-dark-muted); }
.sec--dark h2 em { color: var(--yellow); }
.sec h2 { font-size: clamp(1.9rem, 1.1rem + 2.3vw, 3.1rem); line-height: .98; margin-bottom: 16px; }
.sec h2 em { color: var(--red); }
.sec .lead { color: var(--graphite); max-width: 62ch; }
.sec--dark .lead { color: var(--on-dark-muted); }
.sec h3 { font-size: 1.2rem; margin: 0 0 8px; }
.sec .wp-block-columns { margin-top: clamp(24px, 3vw, 36px); }
.sec--tight { padding-top: clamp(40px, 4vw, 60px) !important; }
.sec .wp-block-columns .wp-block-column > p:last-child { margin-bottom: 0; }

/* Split section: text + photo with offset frame */
.split { align-items: center; }
.split .wp-block-image { margin: 0; position: relative; }
.split .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 72%; border-radius: var(--r); box-shadow: 14px 14px 0 var(--red), var(--sh-2); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.split .wp-block-image:hover img { transform: translate(-3px, -3px); box-shadow: 18px 18px 0 var(--red), var(--sh-2); }
@media (max-width: 860px) { .split .wp-block-image img, .split .wp-block-image:hover img { box-shadow: 8px 8px 0 var(--red), var(--sh-1); width: calc(100% - 8px); } }
.split .wp-block-image.is-portrait img { aspect-ratio: 4 / 5; object-position: top; max-width: 380px; }
.sec--dark .split .wp-block-image img { box-shadow: 14px 14px 0 var(--yellow), var(--sh-2); }

/* Cards (groups inside columns) */
.card { position: relative; height: auto; padding: clamp(22px, 2.6vw, 32px) !important; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; box-sizing: border-box; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-1); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card > * { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
.card h3 { font-family: var(--display); font-weight: 800; font-stretch: 112.5%; text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; }
.card p { color: var(--graphite); }
.card > p:last-child { margin-bottom: 0; }
.card--dark { background: var(--coal-900); border-color: var(--coal-900); color: #fff; }
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--on-dark-muted); }
.card--dark::before { background: var(--yellow); transform: scaleX(1); }
.card--red { background: var(--grad-red); border: 0; color: #fff; }
.card--red h3, .card--red p { color: #fff; }
.card--red::before { background: var(--yellow); }
.card .wp-block-buttons { margin-top: 18px; }
.wp-block-column > .card + .card { margin-top: 16px; }
.wp-block-columns.is-equal .card { height: 100%; }
.sec--dark .card { background: var(--coal-800); border-color: var(--coal-700); }
.card--photo { color: #fff; border: 0; min-height: 300px; display: flex; flex-direction: column; background: var(--coal-900) var(--photo, none) 50% 75% / cover no-repeat; isolation: isolate; }
.card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 12, 12, .96) 0%, rgba(12, 12, 12, .86) 38%, rgba(12, 12, 12, .3) 72%, rgba(12, 12, 12, .05) 100%); transition: opacity .4s; }
.card--photo h3 { color: #fff; }
.card--photo p { color: #DAD6CF; }
.card--photo::before { background: var(--yellow); }

/* Checklist */
.checks { list-style: none; padding-left: 0 !important; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding: 12px 14px 12px 46px; background: var(--snow); border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 8px; margin-top: -6px; border: solid var(--red); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.sec--snow .checks li { background: #fff; }
.sec--dark .checks li { background: var(--coal-800); border-color: var(--coal-700); color: #fff; }
.sec--dark .checks li::before { border-color: var(--yellow); }
.checks--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .checks--two { grid-template-columns: 1fr; } }

/* Road steps built from columns */
.route .route__road { margin-top: clamp(24px, 3vw, 36px); }
.route .wp-block-columns { margin-top: 0 !important; gap: 20px; }
.route .wp-block-column { position: relative; padding-top: 22px; cursor: default; outline-offset: 6px; }
.route .wp-block-column::before { content: ""; position: absolute; top: -40px; left: 16px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 0 0 4px #fff; transition: background-color .3s; }
.route .wp-block-column h3 { font-family: var(--display); font-weight: 800; font-stretch: 112.5%; text-transform: uppercase; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); margin-bottom: 8px; }
.route .wp-block-column h3::after { content: ""; display: block; width: 36px; height: 3px; background: var(--red); margin-top: 12px; transition: width .4s var(--ease); }
.route .wp-block-column.is-active h3 { color: var(--red); }
.route .wp-block-column.is-active h3::after { width: 72px; }
.route .wp-block-column.is-active::before { background: var(--red); }
.route .wp-block-column p { color: var(--graphite); }
.sec--snow .route .wp-block-column::before { box-shadow: 0 0 0 4px var(--snow); }
@media (max-width: 860px) { .route .wp-block-column::before { display: none; } }

/* FAQ */
.faq .wp-block-details { border-top: 1px solid var(--line); padding: 0; margin: 0; }
.faq .wp-block-details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 56px 20px 0; font-weight: 700; font-size: 1.1rem; line-height: 1.35; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--snow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D60104' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: #FCEDED; }
.faq summary:hover { color: var(--red); }
.faq details > p { color: var(--graphite); margin: 0 0 18px; max-width: 70ch; }
.faq > .wp-block-details, .faq > h2, .faq > p { max-width: 960px !important; }

/* Closing CTA band (block version) */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; background: var(--red-deep) var(--photo, none) 50% 65% / cover no-repeat; padding: calc(var(--band) + var(--pitch)) 0 var(--band) !important; clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(110, 1, 3, .96) 0%, rgba(214, 1, 4, .86) 55%, rgba(214, 1, 4, .55) 100%); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); margin-bottom: 12px; }
.cta-band h2 em { color: var(--yellow); }
.cta-band p { color: #FBE3E3; max-width: 60ch !important; margin-left: auto !important; margin-right: auto !important; }
.cta-band .wp-block-buttons { justify-content: center; margin-top: 24px; }
.wp-block-button.btn-light .wp-block-button__link { background: #fff !important; color: var(--ink) !important; box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .6) !important; }
.wp-block-button.btn-light .wp-block-button__link:hover { background: var(--yellow) !important; }
.wp-block-button.btn-ghost .wp-block-button__link { background: rgba(255, 255, 255, .08) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .4) !important; box-shadow: none !important; }
.wp-block-button.btn-ghost .wp-block-button__link:hover { background: #fff !important; color: var(--ink) !important; }

/* Embeds inside block pages */
.video-frame { max-width: 860px !important; }
.video-frame .video__play { border-radius: var(--r); box-shadow: var(--sh-2); }
.map-frame .map { border-radius: var(--r); aspect-ratio: 16 / 9; }
.sec .calc { margin-top: 8px; }
.sec .review-grid { margin-top: 8px; }
