/*
Theme Name: Lakes Leasing
Theme URI: https://www.lakesleasing.ca/
Description: Custom theme for L.A.K.E.S. Leasing Corporation. Replaces the 2014 Elvyre theme and displays the existing page layouts without the old Content Manager, Elvyre Core or Revolution Slider plugins. Contact and careers forms send through Resend and are protected by Cloudflare Turnstile.
Author: Mike's IT Services
Version: 2.3.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lakesleasing
Tags: business, custom-logo, custom-menu, footer-widgets, accessibility-ready
*/

/* ---------- Tokens ---------- */
:root {
    --ll-navy: #1c3563;
    --ll-navy-2: #273e6a;
    --ll-gold: #b08f30;
    --ll-gold-dark: #8f7426;
    --ll-text: #555353;
    --ll-heading: #39414b;
    --ll-muted: #888;
    --ll-line: #e6e6e6;
    --ll-soft: #f6f6f6;
    --ll-footer: #2b2b2b;
    --ll-footer-text: #a5a0a0;
    --ll-white: #fff;
    --ll-radius: 4px;
    --ll-max: 1170px;
    --ll-gutter: 16px;
    --ll-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ll-font-head: "Open Sans", system-ui, sans-serif;
    --ll-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 150px; }
@media (max-width: 782px) { html { scroll-padding-top: 130px; } }
body {
    margin: 0;
    font: 400 15px/1.7 var(--ll-font);
    color: var(--ll-text);
    background: var(--ll-white);
    overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ll-gold); text-decoration: none; }
a:hover, a:focus { color: var(--ll-gold-dark); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--ll-gold); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ll-font-head); color: var(--ll-heading); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 3.2vw, 2.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--ll-line); margin: 2em 0; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: .5em .75em; border: 1px solid var(--ll-line); text-align: left; }

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute !important; word-wrap: normal !important;
}
.ll-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--ll-navy); color: #fff; padding: .75em 1em; }
.ll-skip:focus { left: 1em; top: 1em; color: #fff; }

.ll-icon { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }

/* WordPress core alignment classes */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: .85em; color: var(--ll-muted); }

/* ---------- Layout ---------- */
.ll-container { width: 100%; max-width: calc(var(--ll-max) + 2 * var(--ll-gutter)); margin: 0 auto; padding: 0 var(--ll-gutter); }
.ll-container--narrow { max-width: calc(900px + 2 * var(--ll-gutter)); }
.ll-section { padding: 56px 0; }
.ll-main { display: block; min-height: 40vh; }

.ll-layout { display: grid; gap: 48px; }
@media (min-width: 960px) {
    .ll-layout:has(.ll-layout__side) { grid-template-columns: minmax(0, 1fr) 300px; }
}

/* ---------- Buttons ---------- */
.ll-btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: .85em 1.8em; border-radius: var(--ll-radius); border: 2px solid transparent;
    font: 600 .9rem/1.2 var(--ll-font); text-transform: uppercase; letter-spacing: .04em;
    cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.ll-btn:hover, .ll-btn:focus { text-decoration: none; }
.ll-btn--gold { background: var(--ll-gold); color: #fff; }
.ll-btn--gold:hover, .ll-btn--gold:focus { background: var(--ll-gold-dark); color: #fff; }
.ll-btn--navy { background: var(--ll-navy); color: #fff; }
.ll-btn--navy:hover, .ll-btn--navy:focus { background: var(--ll-navy-2); color: #fff; }
.ll-btn--light { background: #fff; color: var(--ll-navy); border-color: #fff; }
.ll-btn--light:hover, .ll-btn--light:focus { background: transparent; color: #fff; }
.ll-btn-wrap { margin: 1em 0; }
.ll-btn-wrap--center { text-align: center; }
.ll-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

/* ---------- Header ---------- */
.ll-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.admin-bar .ll-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ll-header { top: 0; position: relative; } }
.ll-header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .1); }

.ll-topbar { border-bottom: 1px solid #eee; font-size: 13px; color: var(--ll-muted); }
.ll-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.ll-topbar__contact { display: flex; flex-wrap: wrap; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.ll-topbar__contact li { display: flex; align-items: center; gap: 8px; }
.ll-topbar__contact .ll-icon { color: var(--ll-gold); }
.ll-topbar__contact a { color: var(--ll-muted); }
.ll-topbar__right { display: flex; align-items: center; gap: 16px; }
.ll-topbar__cta { font-weight: 600; color: var(--ll-navy); }

.ll-social { display: flex; list-style: none; margin: 0; padding: 0; }
.ll-social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ll-gold); transition: background-color .2s, color .2s; }
.ll-social a:hover, .ll-social a:focus { background: var(--ll-navy); color: #fff; }
.ll-social--topbar li { border-left: 1px solid #eee; }
.ll-social--topbar li:last-child { border-right: 1px solid #eee; }
.ll-social--boxed { gap: 8px; }
.ll-social--boxed a { background: var(--ll-navy); color: #fff; border-radius: var(--ll-radius); }
.ll-social--boxed a:hover, .ll-social--boxed a:focus { background: var(--ll-gold); }

.ll-mainbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.ll-logo img { max-height: 56px; width: auto; }
.ll-logo__text { font: 700 1.5rem/1 var(--ll-font-head); color: var(--ll-navy); }

.ll-nav { display: flex; align-items: center; gap: 16px; }
.ll-nav__menu, .ll-nav .menu, .ll-nav > div > ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.ll-nav li { position: relative; }
.ll-nav a { display: block; padding: 30px 14px; font: 600 13px/1.2 var(--ll-font); text-transform: uppercase; letter-spacing: .03em; color: var(--ll-heading); border-top: 3px solid transparent; }
.ll-nav a:hover, .ll-nav a:focus, .ll-nav .current-menu-item > a, .ll-nav .current_page_item > a { color: var(--ll-gold); text-decoration: none; border-top-color: var(--ll-gold); }
.ll-nav .sub-menu, .ll-nav .children { position: absolute; left: 0; top: 100%; min-width: 220px; list-style: none; margin: 0; padding: 8px 0; background: #fff; box-shadow: var(--ll-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 10; }
.ll-nav li:hover > .sub-menu, .ll-nav li:focus-within > .sub-menu, .ll-nav li:hover > .children, .ll-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.ll-nav .sub-menu a, .ll-nav .children a { padding: 10px 18px; border: 0; text-transform: none; }

.ll-search { display: flex; align-items: center; border: 1px solid var(--ll-line); border-radius: 999px; overflow: hidden; background: #fff; }
.ll-search input { border: 0; padding: 8px 14px; font: inherit; font-size: 14px; width: 150px; background: transparent; color: var(--ll-text); }
.ll-search input:focus { outline: none; }
.ll-search:focus-within { outline: 3px solid var(--ll-gold); outline-offset: 1px; }
.ll-search button { border: 0; background: none; color: var(--ll-gold); padding: 8px 12px; cursor: pointer; display: grid; place-items: center; }
.ll-search--block { max-width: 420px; border-radius: var(--ll-radius); margin: 1em 0; }
.ll-search--block input { width: 100%; }

.ll-nav-toggle { display: none; background: none; border: 1px solid var(--ll-line); border-radius: var(--ll-radius); padding: 8px; color: var(--ll-navy); cursor: pointer; font-size: 22px; line-height: 0; }
.ll-nav-toggle .ll-icon--close { display: none; }

.ll-nav__menu, .ll-nav .menu, .ll-nav > div > ul { flex-wrap: nowrap; }
.ll-nav a { white-space: nowrap; }
@media (max-width: 1280px) {
    .ll-nav a { padding: 30px 10px; }
    .ll-search input { width: 120px; }
}
@media (max-width: 1150px) {
    .ll-nav-toggle { display: block; }
    .ll-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 8px var(--ll-gutter) 20px; box-shadow: var(--ll-shadow); max-height: calc(100vh - 140px); overflow-y: auto; }
    .ll-nav-open .ll-nav { display: flex; }
    .ll-nav-open .ll-nav-toggle .ll-icon--menu { display: none; }
    .ll-nav-open .ll-nav-toggle .ll-icon--close { display: inline; }
    .ll-mainbar { position: relative; }
    .ll-nav__menu, .ll-nav .menu, .ll-nav > div > ul { flex-direction: column; }
    .ll-nav a { white-space: normal; padding: 14px 4px; border-top: 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
    .ll-nav .sub-menu, .ll-nav .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }
    .ll-search { margin-top: 12px; }
    .ll-search input { width: 100%; }
}
@media (max-width: 640px) {
    .ll-topbar__contact li:nth-child(2) { display: none; }
    .ll-topbar__cta { display: none; }
    .ll-social--topbar a { width: 38px; height: 38px; }
    .ll-mainbar__inner { min-height: 68px; }
    .ll-logo img { max-height: 44px; }
}

/* ---------- Home banner ---------- */
.ll-hero { position: relative; background: var(--ll-navy) center top / cover no-repeat; overflow: hidden; }
.ll-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 53, 99, .55), rgba(28, 53, 99, 0) 70%); }
.ll-hero__inner { position: relative; display: grid; align-items: end; gap: 24px; min-height: 480px; }
.ll-hero__text { align-self: center; padding: 56px 0; max-width: 640px; }
.ll-hero__title { display: inline; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; line-height: 1.5; color: #fff; background: var(--ll-navy-2); padding: .2em .6em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ll-hero__title span { color: #d4b35a; }
.ll-hero__lead { display: inline-block; margin: 18px 0 0; font-size: 1.15rem; color: var(--ll-heading); background: rgba(255, 255, 255, .92); padding: .6em 1em; }
.ll-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ll-hero__media img { margin-left: auto; max-height: 460px; width: auto; }
@media (min-width: 900px) { .ll-hero__inner { grid-template-columns: 1.2fr 1fr; } }
@media (max-width: 899px) { .ll-hero__media { display: none; } .ll-hero__inner { min-height: 380px; } }

/* ---------- Page banner ---------- */
.ll-banner { background: #ededed center / cover no-repeat; position: relative; overflow: hidden; }
.ll-banner.has-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .3) 70%, rgba(255, 255, 255, 0)); }
.ll-banner__inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: 220px; }
.ll-banner__text { padding: 48px 0 36px; align-self: center; }
.ll-banner h1 { margin: 0 0 .3em; color: var(--ll-navy); }
.ll-banner__eyebrow { margin: 0 0 .3em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ll-gold); font-size: .85rem; }
.ll-banner__media { flex: none; align-self: flex-end; }
.ll-banner__person { max-height: 240px; width: auto; }
@media (max-width: 760px) { .ll-banner__media { display: none; } .ll-banner__inner { min-height: 160px; } }

.ll-breadcrumbs { font-size: 13px; color: var(--ll-muted); }
.ll-breadcrumbs a { color: var(--ll-heading); }
.ll-breadcrumbs .sep { margin: 0 .5em; color: var(--ll-gold); }

/* ---------- Legacy page-builder layouts ---------- */
.ll-legacy .ll-section { background-position: center; background-size: cover; background-repeat: no-repeat; position: relative; }
.ll-legacy .ll-section.has-color { padding: 56px 0; }
.ll-section.has-bg > .ll-container { position: relative; }
.ll-section.has-bg::before { content: ""; position: absolute; inset: 0; }
.ll-section.is-light::before { background: rgba(255, 255, 255, .82); }
.ll-section.is-dark::before { background: rgba(28, 53, 99, .82); }
.ll-section.is-dark, .ll-section.is-dark h1, .ll-section.is-dark h2, .ll-section.is-dark h3, .ll-section.is-dark h4, .ll-section.is-dark p { color: #fff; }
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) { .ll-section.is-parallax { background-attachment: fixed; } }

.ll-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.ll-row + .ll-row { margin-top: 32px; }
.ll-col { grid-column: span 12; min-width: 0; }
@media (min-width: 768px) {
    .ll-col-1 { grid-column: span 1; } .ll-col-2 { grid-column: span 2; } .ll-col-3 { grid-column: span 3; }
    .ll-col-4 { grid-column: span 4; } .ll-col-5 { grid-column: span 5; } .ll-col-6 { grid-column: span 6; }
    .ll-col-7 { grid-column: span 7; } .ll-col-8 { grid-column: span 8; } .ll-col-9 { grid-column: span 9; }
    .ll-col-10 { grid-column: span 10; } .ll-col-11 { grid-column: span 11; }
}
@media (max-width: 767px) { .mob-hide { display: none; } }

.ll-el + .ll-el { margin-top: 20px; }
.ll-el.center { text-align: center; }

.ll-prose > :last-child { margin-bottom: 0; }
.ll-prose h1, .ll-prose h2, .ll-prose h3 { color: var(--ll-gold); }
.ll-prose h3 span, .ll-prose h2 span { color: var(--ll-navy); }
.ll-prose ul { padding-left: 1.2em; }
.ll-prose img { display: inline-block; }

.ll-heading h2 { color: var(--ll-gold); margin-bottom: .3em; }
.ll-heading__sub { color: var(--ll-muted); }
.ll-heading--centered { text-align: center; }

.ll-note { text-align: center; max-width: 900px; margin: 0 auto; }
.ll-note__text { font-size: 1.35rem; line-height: 1.5; font-weight: 600; color: var(--ll-heading); }
.ll-note--h6 .ll-note__text { font-size: 1rem; font-weight: 400; }
.ll-note__text h2 { color: var(--ll-gold); }
.ll-note .ll-btn { margin-top: 20px; }
.is-dark .ll-note__text { color: #fff; }

.ll-figure { margin: 0; }
.ll-figure img { margin: 0 auto; }

.ll-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ll-service { display: flex; gap: 16px; }
.ll-service__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ll-gold); color: #fff; font-size: 18px; }
.ll-service__title { font-size: 1.1rem; margin: 6px 0 .3em; color: var(--ll-navy); }
.ll-service p { margin: 0; }

.ll-iconlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ll-iconlist li { display: flex; gap: 12px; align-items: flex-start; }
.ll-iconlist .ll-icon { color: var(--ll-gold); margin-top: .3em; }

.ll-quote { margin: 0; padding: 18px 24px; border-left: 4px solid var(--ll-gold); background: var(--ll-soft); font-style: italic; }
.ll-quote cite { display: block; margin-top: .5em; font-style: normal; font-weight: 600; }

.ll-timeline { background: #fff; padding: 22px 24px; border-top: 3px solid var(--ll-gold); box-shadow: var(--ll-shadow); }
.ll-timeline__year { display: inline-block; font: 700 1.6rem/1 var(--ll-font-head); color: var(--ll-gold); margin-bottom: 8px; }
.ll-timeline p { margin: 0; }
@media (max-width: 767px) { .ll-el--wysiwyg img[src*="right"], .ll-el--wysiwyg img[src*="left"] { display: none; } }

.ll-tabs { display: grid; gap: 24px; background: #fff; box-shadow: var(--ll-shadow); padding: 24px; }
.ll-tabs__nav { display: flex; flex-direction: column; gap: 4px; }
.ll-tabs__nav button { text-align: left; padding: 14px 18px; border: 0; border-left: 4px solid transparent; background: var(--ll-soft); font: 600 .95rem/1.3 var(--ll-font); color: var(--ll-heading); cursor: pointer; }
.ll-tabs__nav button[aria-selected="true"] { background: var(--ll-navy); color: #fff; border-left-color: var(--ll-gold); }
.ll-tabs__panel { display: grid; gap: 20px; align-items: center; }
.ll-tabs__panel[hidden] { display: none; }
.ll-tabs__panel img { max-height: 260px; width: auto; margin: 0 auto; }
.ll-tabs__panel h3 { color: var(--ll-gold); }
@media (min-width: 768px) {
    .ll-tabs { grid-template-columns: 280px 1fr; }
    .ll-tabs__panel { grid-template-columns: 1fr 1fr; }
}

.ll-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ll-card { background: #fff; box-shadow: var(--ll-shadow); overflow: hidden; text-align: center; }
.ll-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ll-card h3 { font-size: 1rem; margin: 0; padding: 14px 12px; color: var(--ll-navy); }

.ll-accordion { display: grid; gap: 8px; }
.ll-accordion__item { border: 1px solid var(--ll-line); background: #fff; }
.ll-accordion__item summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ll-navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ll-accordion__item summary::-webkit-details-marker { display: none; }
.ll-accordion__item summary::after { content: "+"; color: var(--ll-gold); font-size: 1.3em; line-height: 1; }
.ll-accordion__item[open] summary::after { content: "–"; }
.ll-accordion__item .ll-prose { padding: 0 18px 18px; }

.ll-pagelist { columns: 2 220px; }

/* Reveal on scroll (only hidden when the script is running). */
.ll-js-reveal .ll-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.ll-js-reveal .ll-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Forms (contact + careers) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], input[type="search"], input[type="password"], textarea, select {
    width: 100%; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--ll-heading);
    background: #fff; border: 1px solid #ccc; border-radius: var(--ll-radius);
}
input:focus, textarea:focus, select:focus { border-color: var(--ll-gold); outline: 2px solid rgba(176, 143, 48, .35); outline-offset: 0; }
input[type="submit"], .wpcf7-submit {
    background: var(--ll-gold); color: #fff; border: 0; border-radius: var(--ll-radius);
    padding: .85em 1.8em; font: 600 .9rem/1.2 var(--ll-font); text-transform: uppercase; cursor: pointer;
}
input[type="submit"]:hover, .wpcf7-submit:hover { background: var(--ll-gold-dark); }
.wpcf7 fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.wpcf7 label { display: block; font-weight: 600; color: var(--ll-heading); margin-bottom: 4px; }

.ll-form__section { border: 1px solid var(--ll-line); border-radius: var(--ll-radius); padding: 0 20px 20px; margin: 0 0 28px; }
.ll-form__section > legend { background: var(--ll-navy); color: #fff; font-weight: 600; padding: 8px 16px; border-radius: var(--ll-radius); }
.ll-form__note, .ll-form__required { color: var(--ll-muted); font-size: .9rem; margin-top: 12px; }
.ll-form__grid { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 16px; }
.ll-field { grid-column: span 6; }
.ll-field label, .ll-yesno legend { display: block; font-weight: 600; font-size: .9rem; color: var(--ll-heading); margin-bottom: 4px; }
@media (min-width: 640px) { .ll-field--half { grid-column: span 3; } .ll-field--third { grid-column: span 3; } }
@media (min-width: 900px) { .ll-field--third { grid-column: span 2; } }
.ll-req { color: #c0392b; }
.ll-field input[type="file"] { padding: 8px; border: 1px dashed #bbb; border-radius: var(--ll-radius); width: 100%; background: var(--ll-soft); }
.ll-field__hint { display: block; font-size: .8rem; color: var(--ll-muted); margin-top: 4px; }
.ll-form--simple .ll-form__grid { margin-top: 0; }
.ll-turnstile { grid-column: span 6; min-height: 65px; }
.ll-form__submit { margin: 16px 0 0; }
.ll-apply { text-align: center; padding: 32px 24px; background: var(--ll-soft); border-top: 3px solid var(--ll-gold); }
.ll-apply .ll-btn { margin-top: 12px; }
.ll-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ll-notice { padding: 16px 20px; border-radius: var(--ll-radius); margin-bottom: 24px; font-weight: 600; }
.ll-notice--success { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.ll-notice--error { background: #fdecea; color: #8e1c12; border: 1px solid #f5b7b1; }

/* ---------- Blog ---------- */
.ll-post-card { display: grid; gap: 20px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--ll-line); }
@media (min-width: 640px) { .ll-post-card:has(.ll-post-card__image) { grid-template-columns: 260px 1fr; } }
.ll-post-card__title { font-size: 1.4rem; margin-bottom: .2em; }
.ll-post-card__title a { color: var(--ll-navy); }
.ll-meta { color: var(--ll-muted); font-size: .85rem; margin-bottom: .8em; }
.ll-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 24px; }
.page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid var(--ll-line); border-radius: var(--ll-radius); }
.page-numbers.current { background: var(--ll-navy); color: #fff; border-color: var(--ll-navy); }
.ll-layout__side .widget { margin-bottom: 36px; }
.widget-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ll-navy); border-bottom: 2px solid var(--ll-gold); padding-bottom: 8px; }
.widget ul { list-style: none; padding: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.ll-comments { margin-top: 48px; }
.ll-comments__list { list-style: none; padding: 0; }
.ll-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--ll-line); }
.ll-comments__list .avatar { float: left; margin-right: 12px; border-radius: 50%; }

/* ---------- Footer ---------- */
.ll-footer { background: var(--ll-footer); color: var(--ll-footer-text); font-size: 14px; position: relative; }
.ll-footer a { color: var(--ll-footer-text); }
.ll-footer a:hover, .ll-footer a:focus { color: #fff; }
.ll-footer__widgets { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ll-footer .widget-title { color: #fff; border-bottom-color: var(--ll-gold); font-size: .95rem; }
.ll-footer .widget li { border-bottom-color: rgba(255, 255, 255, .06); }
.ll-footer .widget ul.social li { display: flex; align-items: center; gap: 8px; }
.ll-footer .widget ul.social i { display: none; }
.ll-footer .itw-logo img { display: inline-block; vertical-align: middle; }
.ll-iconlist--footer .ll-icon { color: var(--ll-gold); }
.ll-footer__bar { background: #222; padding: 18px 0; font-size: 13px; }
.ll-footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.ll-footer__bar p { margin: 0; }
.ll-footer__menu { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }

.ll-totop { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ll-gold); color: #fff !important; border-radius: 50%; font-size: 18px; opacity: 0; visibility: hidden; transition: .25s; z-index: 50; }
.ll-totop.is-visible { opacity: 1; visibility: visible; }
.ll-totop:hover { background: var(--ll-navy); }

/* ---------- Block content (pages built into the theme) ---------- */
.ll-blocks > :not(.alignfull) { max-width: calc(var(--ll-max) + 2 * var(--ll-gutter)); margin-left: auto; margin-right: auto; padding-left: var(--ll-gutter); padding-right: var(--ll-gutter); }
.ll-blocks .ll-section {
    margin: 0;
    padding: 56px max(var(--ll-gutter), calc((100% - var(--ll-max)) / 2));
    background-position: center; background-size: cover; background-repeat: no-repeat;
    position: relative;
}
.ll-blocks .ll-section.has-bg > * { position: relative; z-index: 1; }
.ll-blocks .ll-section > * + *, .ll-blocks .wp-block-column > * + *, .ll-blocks .wp-block-group > * + * { margin-top: 20px; }
.ll-blocks .ll-section > *, .ll-blocks .wp-block-column > *:first-child { margin-top: 0; }
.ll-blocks .ll-section > * + * { margin-top: 32px; }
.ll-blocks .wp-block-columns { gap: 32px; margin-bottom: 0; }
.ll-blocks .wp-block-image, .ll-blocks figure { margin: 0; }
.ll-blocks .wp-block-image img { margin: 0 auto; }
.ll-blocks h2 { color: var(--ll-gold); }
.ll-blocks h2 span, .ll-blocks h3 span { color: var(--ll-navy); }
.ll-blocks .head-title { color: var(--ll-heading); font-size: .95rem; margin-bottom: .4em; }
.ll-blocks .is-dark h2, .ll-blocks .is-dark p { color: #fff; }
.ll-blocks .ll-section--text { padding-top: 48px; }
.ll-blocks .ll-section--text p strong { color: var(--ll-navy); }
.ll-blocks .ll-pagelist { columns: 2 220px; }

.wp-block-button__link, .ll-blocks .wp-element-button {
    display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.8em; border-radius: var(--ll-radius);
    border: 2px solid transparent; font: 600 .9rem/1.2 var(--ll-font); text-transform: uppercase; letter-spacing: .04em;
    background: var(--ll-gold); color: #fff; text-decoration: none; transition: background-color .2s, color .2s;
}
.wp-block-button__link:hover, .wp-block-button__link:focus { background: var(--ll-gold-dark); color: #fff; text-decoration: none; }
.wp-block-button.is-style-navy .wp-block-button__link { background: var(--ll-navy); }
.wp-block-button.is-style-navy .wp-block-button__link:hover { background: var(--ll-navy-2); }
.wp-block-button.is-style-light .wp-block-button__link { background: #fff; color: var(--ll-navy); border-color: #fff; }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: transparent; color: #fff; }
.is-light .wp-block-button.is-style-light .wp-block-button__link, .ll-section:not(.has-bg) .wp-block-button.is-style-light .wp-block-button__link { border-color: var(--ll-navy); }
.is-light .wp-block-button.is-style-light .wp-block-button__link:hover, .ll-section:not(.has-bg) .wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--ll-navy); color: #fff; }

.ll-blocks .ll-note { text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }
.ll-blocks .ll-note--large p { font-size: 1.35rem; line-height: 1.5; font-weight: 600; color: var(--ll-heading); }
.ll-blocks .is-dark .ll-note--large p { color: #fff; }

.ll-blocks .ll-services { display: grid; gap: 22px; }
.ll-blocks .ll-services > * + * { margin-top: 0; }
.ll-blocks .ll-service { display: block; position: relative; padding-left: 56px; min-height: 40px; }
.ll-blocks .ll-service::before {
    content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
    background: var(--ll-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.ll-blocks .ll-service__title { font-size: 1.1rem; margin: 6px 0 .3em; color: var(--ll-navy); }
.ll-blocks .ll-service > * + * { margin-top: 0; }

.ll-blocks .ll-iconlist { list-style: none; padding: 0; display: grid; gap: 12px; }
.ll-blocks .ll-iconlist li { display: block; position: relative; padding-left: 30px; }
.ll-blocks .ll-iconlist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.ll-i-map::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08f30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.ll-i-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08f30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.ll-i-fax::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08f30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E"); }
.ll-i-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08f30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }
.ll-i-check::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08f30' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.ll-blocks .ll-timeline > * + * { margin-top: 0; }
.ll-blocks .ll-timeline .ll-timeline__year { display: block; font: 700 1.6rem/1 var(--ll-font-head); color: var(--ll-gold); margin-bottom: 8px; }
.ll-blocks .ll-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ll-blocks .ll-cards > * + * { margin-top: 0; }
.ll-blocks .ll-card > * + * { margin-top: 0; }
.ll-blocks .ll-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.ll-blocks .wp-block-details { border: 1px solid var(--ll-line); background: #fff; padding: 0; }
.ll-blocks .wp-block-details + .wp-block-details { margin-top: 8px; }
.ll-blocks .wp-block-details summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ll-navy); }
.ll-blocks .wp-block-details > :not(summary) { padding: 0 18px; }
.ll-blocks .wp-block-details > :last-child { padding-bottom: 18px; }

.ll-blocks .wp-block-quote { margin: 0; padding: 18px 24px; border-left: 4px solid var(--ll-gold); background: var(--ll-soft); font-style: italic; }

/* =========================================================================
   Match the original site (styling from the live server copy in Part2)
   ========================================================================= */
:root { --ll-font-head: "Raleway", Arial, sans-serif; --ll-radius: 0; }
h1, h2, h3 { font-family: var(--ll-font-head); }
h4, h5, h6 { font-family: var(--ll-font); }
h2 { font-weight: 700; }
body { font-size: 14px; }

/* Section background photos show through, as on the original. */
.ll-section.is-light::before { background: none; }
.ll-section.has-bg, .ll-blocks .ll-section.has-bg { background-position: center top; }
.ll-section.is-dark { background-color: var(--ll-navy); }
.ll-section.is-dark::before { background: none; }
.ll-note, .ll-blocks .ll-note { max-width: none; }

/* "Why Lease?" has a thin gold rule under it (home page only). */
.home-box3 .ll-heading, .homeHline h2 { border-bottom: 1px solid var(--ll-gold); padding-bottom: 10px; }

/* Call-to-action line: regular weight, as on the original. */
.ll-blocks .ll-note--large p, .ll-note--h4 .ll-note__text { font-size: 22px; font-weight: 400; }

/* Service titles: Open Sans bold 16px. */
.ll-service__title, .ll-blocks .ll-service__title { font: 700 16px/1.4 var(--ll-font); color: var(--ll-text); }

/* Square buttons, regular weight. White button = outline on dark backgrounds. */
.ll-btn, .wp-block-button__link, .ll-blocks .wp-element-button { border-radius: 0; font-weight: 400; font-size: 13px; letter-spacing: 0; padding: 14px 22px; }
.ll-btn--light, .wp-block-button.is-style-light .wp-block-button__link { background: transparent; color: #fff; border: 1px solid #fff; }
.ll-btn--light:hover, .ll-btn--light:focus, .wp-block-button.is-style-light .wp-block-button__link:hover { background: #fff; color: var(--ll-navy); }
.is-light .ll-btn--light, .ll-section:not(.has-bg) .ll-btn--light,
.is-light .wp-block-button.is-style-light .wp-block-button__link, .ll-section:not(.has-bg) .wp-block-button.is-style-light .wp-block-button__link { color: var(--ll-navy); border-color: var(--ll-navy); }

/* Home banner: Raleway caption in a navy box, subtitle in a see-through grey box. */
.ll-hero::before { display: none; }
.ll-hero__inner { min-height: 500px; }
.ll-hero__title { display: inline-block; font: 400 32px/1.2 var(--ll-font-head); color: #fff; background: var(--ll-navy-2); padding: 20px 35px 19px; }
.ll-hero__title span { font-weight: 600; color: #ba9e4d; }
.ll-hero__lead { display: block; width: fit-content; max-width: 540px; margin: 18px 0 0; font: 400 22px/1.4 var(--ll-font-head); color: #fff; background: rgba(105, 105, 105, .7); padding: 12px 20px; }
@media (max-width: 899px) { .ll-hero__inner { min-height: 340px; } }
@media (max-width: 600px) {
    .ll-hero__title { font-size: 22px; padding: 12px 16px; }
    .ll-hero__lead { font-size: 16px; padding: 10px 14px; }
}

/* Header: lighter menu, gold "Credit Application", search icon that opens a box. */
.ll-topbar { font-size: 12px; }
.ll-topbar__cta { font-weight: 400; text-transform: uppercase; color: var(--ll-text); }
.ll-nav a { font-weight: 400; color: #333; padding: 33px 16px; }
.ll-nav a[href*="credit-application"] { color: #b89a44; }
.ll-search-wrap { position: relative; }
.ll-search-toggle { display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: none; color: var(--ll-gold); font-size: 18px; cursor: pointer; }
.ll-search--header { display: none; position: absolute; right: 0; top: calc(100% + 18px); width: 320px; background: #fff; border: 1px solid var(--ll-line); border-radius: 0; box-shadow: var(--ll-shadow); z-index: 20; }
.ll-search--header input { width: 100%; padding: 12px 14px; }
.ll-search-wrap.is-open .ll-search--header { display: flex; }
@media (max-width: 1280px) { .ll-nav a { padding: 33px 11px; } }
@media (max-width: 1150px) {
    .ll-nav a { padding: 14px 4px; }
    .ll-search-toggle { display: none; }
    .ll-search--header { display: flex; position: static; width: 100%; box-shadow: none; margin-top: 12px; }
}

/* Footer: white, grey links with gold "/" markers, boxed social icons. */
.ll-footer { background: #fff; color: var(--ll-footer-text); font-size: 12px; }
.ll-footer a { color: var(--ll-footer-text); }
.ll-footer a:hover, .ll-footer a:focus { color: var(--ll-gold); }
.ll-footer__widgets { padding-top: 31px; padding-bottom: 20px; }
.ll-footer .widget-title { color: var(--ll-gold); font: 700 14px/1.3 var(--ll-font); text-transform: none; letter-spacing: 0; border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
.ll-footer .widget li { border: 0; padding: 5px 0 11px 7px; }
.ll-footer .widget_nav_menu li::before { content: "/"; color: var(--ll-gold); margin-right: 8px; }
.ll-footer .widget ul.social li { padding-left: 0; }
.ll-footer .widget ul.social a { display: inline-flex; align-items: center; gap: 10px; }
.ll-footer .widget ul.social a::before {
    content: ""; width: 33px; height: 33px; border: 1px solid var(--ll-footer-text); flex: none;
    background: center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E");
}
.ll-footer .widget ul.social a[href*="facebook"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E"); }
.ll-footer .widget ul.social a[href*="twitter"]::before, .ll-footer .widget ul.social a[href*="x.com"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5a0a0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 4l16 16M20 4 4 20'/%3E%3C/svg%3E"); }
.ll-footer .widget ul.social a[href*="linkedin"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-4 0v7h-4v-7a6 6 0 0 1 6-6z'/%3E%3Crect x='2' y='9' width='4' height='12'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E"); }
.ll-footer .ll-iconlist--footer .ll-icon { color: var(--ll-footer-text); }
.ll-footer .ll-iconlist--footer li { padding-left: 0; }
.ll-footer__bar { background: #fff; border-top: 1px solid #f0f0f0; padding: 20px 0; }
.ll-footer__bar p { color: var(--ll-footer-text); font-size: 12px; }
.ll-footer__menu a { color: var(--ll-gold); text-transform: uppercase; font-size: 11px; }
.ll-footer__menu a:hover { color: var(--ll-navy); }

/* Admin-only explanation under a failed form message. */
.ll-notice__admin { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px dashed currentColor; font-weight: 400; font-size: 13px; }

/* ---------- Print ---------- */
@media print {
    .ll-header, .ll-footer, .ll-totop, .ll-banner__media, .ll-hero__media { display: none !important; }
    .ll-section.is-dark::before, .ll-section.is-light::before { display: none; }
    .ll-section.is-dark * { color: #000 !important; }
}
