/* Shared homepage and results-page Fuel Finder presentation. */
.home-fuel { padding-block: 2.75rem 1.5rem; border: 0; background: #f1f7ff; }
.home-fuel__finder { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); width: 100%; max-width: 1120px; margin-inline: auto; min-height: 210px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; box-shadow: 0 6px 20px #0f172a0d; }
.home-fuel__intro { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem 1.75rem; border-radius: 0; background: linear-gradient(90deg, #0f172af5 0%, #0f172ae6 30%, #0f172a80 55%, #0f172a26 75%, #0f172a0d 100%), url("../images/fuel-hero.png") center right / cover no-repeat, #0f172a; }
.home-fuel__intro .eyebrow { color: #f1f5f9; font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.home-fuel__intro .eyebrow::before { background: #facc15; }
.home-fuel__intro :is(h1, h2) { margin: .7rem 0 .7rem; color: #fff; font-size: clamp(1.65rem, 2.25vw, 2rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.15; text-wrap: initial; }
.home-fuel__intro :is(h1, h2) span { display: block; color: #2563eb; }
.home-fuel__intro p { margin: 0; max-width: none; color: #cbd5e1; font-size: .875rem; line-height: 1.5; }
.home-fuel__search { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 1rem; align-self: stretch; }
.home-fuel__controls { display: grid; grid-template-columns: minmax(14.5rem, 1fr) minmax(12.5rem, .8fr) minmax(7rem, .3fr) auto; gap: .375rem; align-items: end; }
.home-fuel__location, .home-fuel__field { min-width: 0; }
.home-fuel__location-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .25rem .5rem; margin-bottom: .5rem; }
.home-fuel label { display: block; margin-bottom: .5rem; color: #0f172a; font-size: .75rem; font-weight: 600; line-height: 1.5; }
.home-fuel__location-heading label { margin: 0; }
.home-fuel__locate { display: inline-flex; align-items: center; gap: .25rem; padding: 0; border: 0; background: transparent; color: #2563eb; font: inherit; font-size: .75rem; font-weight: 600; line-height: 1.5; white-space: nowrap; text-decoration: none; cursor: pointer; }
.home-fuel__locate svg { width: 1rem; height: 1rem; flex: 0 0 auto; }
.home-fuel__locate:hover { color: #1d4ed8; font-weight: 600; }
.home-fuel__locate:disabled { opacity: .65; cursor: wait; }
.home-fuel__input { position: relative; }
.home-fuel__input > svg { position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: #64748b; pointer-events: none; }
.home-fuel .home-fuel__input input, .home-fuel .home-fuel__input select { width: 100%; min-width: 0; height: 3.5rem; min-height: 3.5rem; padding-left: 1.75rem; border: 1px solid #cbd5e1; border-radius: .5rem; background-color: #fff; color: #0f172a; font-size: .875rem; font-weight: 400; line-height: 1.5; box-shadow: none; transition: border-color .15s ease, background-color .15s ease; }
.home-fuel .home-fuel__input--plain input { padding-left: .9rem; }
.home-fuel .home-fuel__input select { padding-right: 1.5rem; background-position: right .5rem center; }
.home-fuel .home-fuel__input input::placeholder { color: #64748b; opacity: 1; }
.home-fuel .home-fuel__input input:hover, .home-fuel .home-fuel__input select:hover { border-color: #94a3b8; font-weight: 400; }
.home-fuel .home-fuel__input input:focus, .home-fuel .home-fuel__input select:focus { outline: 2px solid var(--color-primary); outline-offset: 2px; box-shadow: none; }
.home-fuel__submit { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; height: 3.5rem; min-height: 3.5rem; padding: .5rem .75rem; border: 1px solid #2563eb; border-radius: .5rem; background: #2563eb; color: #fff; font-size: .875rem; font-weight: 600; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.home-fuel__submit:hover { border-color: #1d4ed8; background: #1d4ed8; font-weight: 600; transform: none; }
.home-fuel__submit svg { flex: 0 0 auto; width: 1.125rem; height: 1.125rem; }
.home-fuel__help, .home-fuel__status { margin: .65rem 0 0; color: #64748b; font-size: .8125rem; line-height: 1.5; }
.home-fuel__status { color: #1d4ed8; }
.home-fuel__status:empty { margin: 0; }
.home-fuel__status[data-error="true"] { color: #b91c1c; }
.home-fuel :focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
@media (min-width: 1200px) {
    .home-fuel__intro { padding-inline: 1.25rem; }
}
@media (max-width: 1199.98px) {
    .home-fuel__finder { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .home-fuel__intro { min-height: 0; padding: 1.25rem 1.5rem; border-radius: 0; }
    .home-fuel__search { padding: 1.25rem 1.5rem; }
    .home-fuel__intro :is(h1, h2) { font-size: 1.75rem; }
}
@media (max-width: 799.98px) {
    .home-fuel__controls { grid-template-columns: minmax(12.5rem, 1fr) minmax(7rem, .4fr) auto; gap: .75rem; }
    .home-fuel__location { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .home-fuel { padding-block: 2.5rem 1.25rem; }
    .home-fuel__intro, .home-fuel__search { padding: 1.25rem; }
    .home-fuel__controls { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
    .home-fuel__location { grid-column: auto; }
    .home-fuel__submit { width: 100%; }
    .home-fuel .home-fuel__input input, .home-fuel .home-fuel__input select { font-size: 1rem; }
    .home-fuel__locate { min-height: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-fuel *, .home-fuel *::before, .home-fuel *::after { transition: none !important; animation: none !important; }
}
