/* Brand 2026: shared fixes + American (red/navy editorial) + Isracar (teal/navy airport) */

/* --------------------------------------------------------------------------
   Shared tokens
   -------------------------------------------------------------------------- */
body.theme-isracar {
  --brand: #0f766e;
  --brand-strong: #0b5f58;
  --brand-soft: #ccfbf1;
  --brand-ink: #0b1f2a;
  --brand-paper: #f8fafc;
  --brand-line: #dbe4e2;
  --brand-muted: #52625f;
}

body.theme-american {
  --brand: #c8102e;
  --brand-strong: #a50d25;
  --brand-soft: #fef2f2;
  --brand-ink: #001433;
  --brand-paper: #ffffff;
  --brand-line: #e2e8f0;
  --brand-muted: #526071;
}

body.theme-default {
  --brand: var(--color-primary, #137fec);
  --brand-strong: #0f5fc0;
  --brand-soft: #e0f2fe;
  --brand-ink: #101922;
  --brand-paper: #f6f7f8;
  --brand-line: #e2e8f0;
  --brand-muted: #64748b;
}

body.theme-default .site-footer {
  --footer-bg: #101922;
  --footer-accent: #93c5fd;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.front-nav-float {
  padding: 0.75rem 1rem 0;
  z-index: 50;
}

.front-nav-shell {
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0.35rem 0.45rem 0.35rem 0.9rem;
  flex-wrap: nowrap;
}

.front-nav-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
  text-decoration: none;
}

.front-nav-brand__img {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.nav-wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.nav-wordmark__main {
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
}

.nav-wordmark__sub {
  margin-top: 3px;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brand);
}

.theme-american .nav-wordmark__sub {
  color: #c8102e;
}

.theme-isracar .nav-wordmark__sub {
  color: #0f766e;
}

.front-nav-links {
  min-width: 0;
  gap: 0;
}

.front-nav-links a,
.front-nav-dropdown__btn {
  padding: 0.5rem 0.62rem;
  min-height: 2.5rem;
  font-size: 0.79rem;
  letter-spacing: 0;
}

@media (min-width: 1280px) {
  .front-nav-links a,
  .front-nav-dropdown__btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.84rem;
  }
}

.front-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.front-nav-lang {
  display: none;
  align-items: center;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .front-nav-lang { display: flex; }
}

.front-nav-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0 0.45rem;
  color: #475569;
  text-decoration: none;
}

.front-nav-lang a.am-lang-on {
  background: var(--brand);
  color: #fff;
}

.theme-american .front-nav-lang {
  border-radius: 4px;
}

.theme-american .front-nav-lang a.am-lang-on {
  background: #002868;
}

.am-nav-wa,
.am-nav-phone {
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0 0.55rem;
  color: var(--brand-ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.am-nav-wa {
  display: inline-flex;
}

.am-nav-wa .fa-brands {
  font-size: 1.08rem;
  line-height: 1;
}

.am-nav-phone {
  display: none;
}

@media (max-width: 1023px) {
  .am-nav-wa {
    padding: 0;
  }

  .am-nav-wa .am-nav-label {
    display: none;
  }
}

@media (min-width: 1024px) {
  .am-nav-phone {
    display: inline-flex;
  }
}

.am-nav-login {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.8rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .am-nav-login { display: inline-flex; }
}

.theme-isracar .am-nav-login {
  border-radius: 999px;
}

.am-nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .am-nav-cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .am-nav-cta { padding: 0 1rem; }
}

.theme-isracar .am-nav-cta {
  border-radius: 999px;
}

.am-nav-cta:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.front-nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--brand-line);
  border-radius: 10px;
  background: #fff;
  color: var(--brand-ink);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .front-nav-burger { display: none; }
}

.theme-isracar .front-nav-burger {
  border-radius: 999px;
}

.front-nav-shell a:focus-visible,
.front-nav-shell button:focus-visible,
#mobileMenuPanel a:focus-visible,
#mobileMenuBtn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Isracar mobile menu is a white sheet, so its accordion must use dark text. */
.theme-isracar .front-mobile-group__summary {
  color: #0b1f2a !important;
}

.theme-isracar .front-mobile-group__summary:hover {
  background: #f8fafc !important;
}

.theme-isracar .front-mobile-group__items {
  border-left-color: #e2e8f0 !important;
}

.theme-isracar .front-mobile-group__link {
  color: #0b1f2a !important;
}

.theme-isracar .front-mobile-group__link:hover {
  background: #f8fafc !important;
  color: #0f766e !important;
}

.theme-isracar .front-mobile-group__link.is-active,
.theme-isracar .front-mobile-group__link[aria-current="page"] {
  background: #ccfbf1 !important;
  color: #0f766e !important;
}

/* American: solid editorial bar, no floating pill */
body.theme-american .front-nav-float {
  position: sticky !important;
  top: 0;
  padding: 0.75rem 1rem 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  pointer-events: none;
}

body.theme-american .front-nav-shell {
  max-width: 80rem;
  min-height: 3.75rem;
  padding: 0.4rem 0.55rem 0.4rem 0.85rem;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
}

body.theme-american .front-nav-lang,
body.theme-american .am-nav-login,
body.theme-american .am-nav-cta,
body.theme-american .front-nav-burger {
  border-radius: 999px;
}

body.theme-american .front-nav-links a,
body.theme-american .front-nav-dropdown__btn {
  border-radius: 0;
  color: #002868 !important;
}

body.theme-american .front-nav-links a::before,
body.theme-american .front-nav-dropdown__btn::before {
  display: none;
}

body.theme-american .front-nav-links a::after,
body.theme-american .front-nav-dropdown__btn::after {
  top: auto;
  bottom: 0.1rem;
  width: 100%;
  height: 2px;
  border-radius: 0;
  background: #c8102e;
  box-shadow: none;
  transform: scaleX(0);
}

body.theme-american .front-nav-links a.is-active::after,
body.theme-american .front-nav-links a[aria-current="page"]::after,
body.theme-american .front-nav-dropdown__btn.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

body.theme-american .front-nav-links a:hover,
body.theme-american .front-nav-links a.is-active,
body.theme-american .front-nav-links a[aria-current="page"],
body.theme-american .front-nav-dropdown__btn:hover,
body.theme-american .front-nav-dropdown__btn.is-active {
  color: #c8102e !important;
  background: transparent !important;
}

/* Isracar: soften the glass capsule, keep it compact */
body.theme-isracar .front-nav-shell {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.theme-isracar .front-nav-links a::after,
.theme-isracar .front-nav-dropdown__btn::after {
  top: auto;
  bottom: 0.2rem;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  box-shadow: none;
}

body.theme-isracar .front-nav-links a.is-active::after,
body.theme-isracar .front-nav-links a[aria-current="page"]::after,
.theme-isracar .front-nav-dropdown__btn.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Mobile menu */
#mobileMenuPanel {
  top: 5rem;
  max-height: calc(100dvh - 6rem);
  overflow-y: auto;
}

@media (min-width: 1024px) {
  #mobileMenuBackdrop,
  #mobileMenuPanel {
    display: none !important;
  }
}

.wa-brand-btn,
.mobile-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.wa-brand-btn {
  background: #128c7e;
  color: #fff;
}

.wa-brand-btn:hover {
  background: #0f766e;
  color: #fff;
}

.mobile-book-btn {
  background: var(--brand);
  color: #fff;
}

.mobile-book-btn:hover {
  background: var(--brand-strong);
  color: #fff;
}

.theme-isracar .wa-brand-btn,
.theme-isracar .mobile-book-btn {
  border-radius: 999px;
}

body.theme-american #mobileMenuPanel {
  top: 5.25rem;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0, 20, 51, 0.18);
}

body.theme-american #mobileMenuPanel a.mobile-book-btn {
  color: #fff !important;
}

body.theme-american #mobileMenuPanel a.wa-brand-btn {
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  color: #002868 !important;
}

body.theme-american #mobileMenuPanel a.wa-brand-btn:hover {
  background: #f8fafc !important;
  border-color: #002868 !important;
}

#mobileMenuPanel:focus {
  outline: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  --footer-bg: #0b1f2a;
  --footer-head: #f8fafc;
  --footer-text: #cbd5e1;
  --footer-muted: #94a3b8;
  --footer-accent: #5eead4;
  --footer-line: rgba(255, 255, 255, 0.13);
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 3px solid var(--brand);
  font-family: var(--font-body, system-ui, sans-serif);
}

.theme-american .site-footer {
  --footer-bg: #002868;
  --footer-head: #ffffff;
  --footer-text: #dbeafe;
  --footer-muted: #93b4e0;
  --footer-accent: #ffb3bf;
  --footer-line: rgba(255, 255, 255, 0.16);
  border-top: 4px solid #c8102e;
}

.site-footer__inner,
.site-footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-footer__inner {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr);
  grid-template-areas: "brand book company contact";
  gap: 2rem 2.5rem;
  align-items: start;
}

.site-footer__brand {
  grid-area: brand;
}

.site-footer__col--book {
  grid-area: book;
}

.site-footer__col--company {
  grid-area: company;
}

.site-footer__col--contact {
  grid-area: contact;
}

.site-footer__wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  margin-bottom: 1rem;
}

.site-footer__wordmark img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
}

.site-footer__brand-main {
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--footer-head);
  line-height: 1;
}

.site-footer__brand-sub {
  margin-top: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--footer-accent);
}

.site-footer__tagline {
  margin: 0 0 1.15rem;
  max-width: 34ch;
  color: var(--footer-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer__cta,
.site-footer__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer__cta {
  background: var(--brand);
  color: #fff;
}

.theme-american .site-footer__cta {
  background: #c8102e;
}

.site-footer__cta:hover {
  background: var(--brand-strong);
  color: #fff;
}

.site-footer__wa {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: transparent;
}

.site-footer__wa:hover {
  background: #128c7e;
  border-color: #128c7e;
  color: #fff;
}

.site-footer__micro {
  margin: 0.8rem 0 0;
  color: var(--footer-muted);
  font-size: 0.74rem;
}

.site-footer__title {
  margin: 0 0 0.9rem;
  color: var(--footer-accent);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li + li {
  margin-top: 0.15rem;
}

.site-footer__col a,
.site-footer__col span {
  color: var(--footer-text);
  font-size: 0.87rem;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer__col li > a {
  display: inline-flex;
  flex-direction: column;
  min-height: 32px;
  justify-content: center;
  padding: 0.15rem 0;
}

.site-footer__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer__col a small {
  margin-top: 1px;
  color: var(--footer-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.site-footer__contact li {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0.15rem 0;
}

.site-footer__contact li > a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  min-height: 32px;
  flex-wrap: wrap;
}

.site-footer__contact i {
  color: var(--footer-accent);
  width: 1rem;
  margin-top: 0;
  flex: 0 0 auto;
  text-align: center;
}

.site-footer__contact-wa {
  font-weight: 800;
  color: #7ef0d4 !important;
}

.theme-american .site-footer__contact-wa {
  color: #fff !important;
}

.site-footer__locations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.45rem;
  margin: 0.6rem 0 0;
  color: var(--footer-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer__locations > i {
  color: var(--footer-accent);
  width: 1rem;
  text-align: center;
  flex: 0 0 auto;
}

.site-footer__locations span {
  color: var(--footer-text);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer__locations a {
  color: var(--footer-text);
  text-decoration: none;
}

.site-footer__locations a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer__hours {
  margin: 0.65rem 0 0;
  color: var(--footer-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.site-footer__bottom {
  border-top: 1px solid var(--footer-line);
  background: rgba(0, 0, 0, 0.12);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.site-footer__bottom p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.76rem;
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

.site-footer__bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--footer-text);
  font-size: 0.76rem;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1099px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand contact"
      "book company";
    gap: 2rem 2rem;
  }
}

@media (max-width: 719px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand brand"
      "contact contact"
      "book company";
    gap: 1.75rem 1.25rem;
  }
  .site-footer__col li > a,
  .site-footer__bottom a { min-height: 44px; }
  .site-footer__inner { padding-top: 2.5rem; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Shared CTA / card fixes
   -------------------------------------------------------------------------- */
.wa-cta-btn {
  border-radius: 8px;
}

.theme-isracar .wa-cta-btn {
  border-radius: 999px;
}

.ipage-card a.ipage-btn,
.ipage-card a.ipage-btn--wa,
.ipage-card a.ipage-btn--primary {
  color: #fff;
}

.home-fleet-card__cat,
.fleet-card__cat {
  margin: 0 0 0.4rem;
  color: var(--brand);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.3;
}

.home-fleet-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--brand-line);
}

.home-fleet-card__price {
  min-width: 0;
}

.home-fleet-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.fleet-card__cta {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .home-fleet-card__cta,
  .fleet-card__cta {
    min-height: 44px;
  }
  .isc-widget-steps,
  .am-widget-steps {
    display: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1220px) {
  .home-fleet-card__footer,
  .fleet-card__footer {
    flex-wrap: wrap;
  }
  .home-fleet-card__cta,
  .fleet-card__cta {
    width: 100%;
  }
}

.theme-isracar .home-fleet-card__cta {
  border-radius: 999px;
}

.home-fleet-card__cta:hover {
  background: var(--brand-strong);
  color: #fff;
}

.fleet-card__price {
  white-space: nowrap;
}

.home-fleet-card__price > span,
.fleet-card__price-label,
.fleet-card__spec-label {
  color: #64748b !important;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.ipage-faq summary .asi,
.ipage-faq summary svg {
  color: #64748b !important;
}

.home-fleet-card__media .absolute.top-3.left-3 span {
  background: rgba(6, 18, 26, 0.86) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.home-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.95rem;
}

.theme-american .home-trust-icon {
  border-radius: 4px;
}

.theme-isracar .home-trust-icon {
  border-radius: 10px;
}

.home-trust-title {
  margin: 0 0 0.25rem;
  color: var(--brand-ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}

.home-trust-text {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.theme-american .home-fleet-card {
  border-radius: 6px;
}

.theme-american .home-fleet-card__media {
  border-radius: 6px 6px 0 0;
}

.theme-american .home-app-driver-promo .rounded-3xl {
  border-radius: 6px !important;
}

.theme-american .booking-hero.hero-dark .rounded-2xl {
  border-radius: 4px !important;
}

.theme-isracar .booking-hero.hero-dark .rounded-2xl {
  border-radius: 10px !important;
}

.theme-american .fleet-card__shell {
  border-radius: 6px;
  box-shadow: none;
}

.theme-isracar .fleet-card__shell {
  border-radius: 12px;
}

/* Home location chips */
.home-loc-kicker {
  margin: 0 0 0.6rem;
  color: var(--brand-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-loc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-loc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.home-loc-link i {
  color: var(--brand);
}

.home-loc-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Reviews, only when a real review URL exists */
.home-reviews {
  background: var(--brand-paper);
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
  padding: 3rem 1.5rem;
}

.home-reviews__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-reviews__kicker {
  margin: 0 0 0.35rem;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-reviews__title {
  margin: 0 0 0.4rem;
  color: var(--brand-ink);
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-reviews__text {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-reviews__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.home-reviews__cta:hover {
  background: var(--brand);
  color: #fff;
}

/* --------------------------------------------------------------------------
   American home hero
   -------------------------------------------------------------------------- */
body.theme-american .am-hero--home {
  background: #fff;
  color: var(--brand-ink);
  padding: 0;
  min-height: 0;
}

body.theme-american .am-hero--home .am-hero__inner {
  max-width: 1280px;
  padding: 2.2rem 1.5rem 0;
}

body.theme-american .am-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}

body.theme-american .am-hero__pitch {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

body.theme-american .am-hero__eyebrow {
  align-self: flex-start;
  margin: 0 0 0.15rem;
  padding: 0 0 0.35rem;
  border: 0;
  border-bottom: 3px solid #c8102e;
  color: #c8102e;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.theme-american .am-hero__title {
  margin: 0;
  max-width: 15ch;
  color: #002868 !important;
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-shadow: none !important;
}

body.theme-american .am-hero__title-city {
  color: #c8102e;
}

body.theme-american .am-hero__lede {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  color: #475569 !important;
  font-size: 1.02rem;
  line-height: 1.62;
}

body.theme-american .am-hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  justify-content: flex-start;
}

body.theme-american .am-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0 0.8rem;
  border-radius: 4px;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transform: none;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 0;
}

@media (min-width: 640px) {
  body.theme-american .am-hero__btn {
    flex: 0 0 auto;
    padding: 0 1.2rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 380px) {
  body.theme-american .am-hero__btn {
    padding: 0 0.55rem;
    font-size: 0.78rem;
  }
}

body.theme-american .am-hero__btn--primary {
  background: #c8102e;
  border: 1px solid #c8102e;
  color: #fff;
  box-shadow: none;
}

body.theme-american .am-hero__btn--primary:hover {
  background: #a50d25;
  border-color: #a50d25;
  color: #fff;
}

body.theme-american .am-hero__btn--ghost {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #002868;
}

body.theme-american .am-hero__btn--ghost:hover {
  border-color: #002868;
  color: #002868;
}

body.theme-american .am-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

body.theme-american .am-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 600;
}

body.theme-american .am-hero__facts i {
  color: #c8102e;
}

body.theme-american .am-hero__visual {
  position: relative;
  min-height: 24rem;
}

body.theme-american .am-hero__figure {
  margin: 0;
  overflow: hidden;
  background: #f1f5f9;
}

body.theme-american .am-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-american .am-hero__figure--main {
  width: 84%;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid #e2e8f0;
}

body.theme-american .am-hero__figure--side {
  position: absolute;
  left: 0;
  bottom: 0.8rem;
  width: 47%;
  aspect-ratio: 5 / 4;
  border: 6px solid #fff;
  box-shadow: 0 18px 40px rgba(0, 20, 51, 0.18);
}

body.theme-american .am-hero__visual-tag {
  position: absolute;
  top: 0.7rem;
  left: 0;
  z-index: 2;
  padding: 0.42rem 0.65rem;
  background: #002868;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-american .am-hero__booking {
  margin-top: 0.85rem;
  border: 1px solid #e2e8f0 !important;
  border-top: 3px solid #c8102e !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 20px 46px -34px rgba(0, 40, 104, 0.45) !important;
}

body.theme-american .am-hero__booking-head {
  display: block !important;
  padding: 1.1rem 1.25rem 0.85rem;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

body.theme-american .am-hero__booking-kicker {
  color: #c8102e;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-american .am-hero__booking-title {
  margin: 0.2rem 0 0;
  color: #002868;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.theme-american .am-hero__booking-hint {
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

body.theme-american .am-widget-steps {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

body.theme-american .am-widget-steps li {
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #fff;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
}

body.theme-american .am-widget-steps li.is-active {
  background: #002868;
  border-color: #002868;
  color: #fff;
}

body.theme-american .am-hero__booking-form {
  padding: 1.15rem 1.25rem 1.25rem;
}

body.theme-american .am-hero__booking .field label,
body.theme-american .am-hero__booking .field legend {
  color: #002868 !important;
}

body.theme-american .am-hero__booking .control {
  background: #f8fafc !important;
  border: 1px solid #dbe3ec !important;
  border-radius: 4px !important;
}

body.theme-american .am-hero__booking .control:focus-within {
  border-color: #002868 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0, 40, 104, 0.12);
}

@media (max-width: 1023px) {
  body.theme-american .am-hero--home .am-hero__inner {
    padding-top: 1.5rem;
  }
  body.theme-american .am-hero__top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  body.theme-american .am-hero__title {
    max-width: none;
    font-size: clamp(2.35rem, 9vw, 3.3rem);
  }
  body.theme-american .am-hero__visual {
    display: none;
  }
  body.theme-american .am-widget-steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.3rem;
    padding: 0.55rem 0.7rem;
    scrollbar-width: none;
  }
  body.theme-american .am-widget-steps::-webkit-scrollbar {
    display: none;
  }
  body.theme-american .am-widget-steps li {
    flex: 0 0 auto;
    padding: 0.28rem 0.5rem;
    font-size: 0.66rem;
  }
  body.theme-american .am-hero__booking {
    margin-top: 0.6rem;
  }
}

@media (max-width: 639px) {
  body.theme-american .am-hero__lede {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

/* --------------------------------------------------------------------------
   Isracar home hero
   -------------------------------------------------------------------------- */
body.theme-isracar .isc-hero {
  background: #06121a;
  min-height: 0;
}

body.theme-isracar .isc-hero__media img {
  animation: none !important;
  transform: scale(1.03);
}

body.theme-isracar .isc-hero__veil {
  background:
    linear-gradient(92deg, rgba(4, 16, 24, 0.95) 0%, rgba(4, 16, 24, 0.82) 46%, rgba(4, 16, 24, 0.35) 100%),
    linear-gradient(180deg, rgba(4, 16, 24, 0.55) 0%, rgba(4, 16, 24, 0.05) 38%, rgba(4, 16, 24, 0.55) 100%);
}

body.theme-isracar .isc-hero__inner {
  padding: 6.75rem 1.5rem 2.5rem;
}

@media (min-width: 1024px) {
  body.theme-isracar .isc-hero__inner {
    padding: 7.5rem 2rem 3rem;
  }
}

body.theme-isracar .isc-hero__grid {
  gap: 1.5rem;
}

body.theme-isracar .isc-hero__pitch {
  display: block;
  max-width: 46rem;
}

.isc-hero__codes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
}

@media (max-width: 639px) {
  .isc-hero__codes {
    display: none;
  }
}

.isc-hero__codes span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.isc-hero__codes .isc-hero__codes-city {
  border-color: rgba(94, 234, 212, 0.4);
  color: #5eead4;
}

body.theme-isracar .isc-hero__kicker {
  margin: 0 0 0.5rem;
  color: #5eead4;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

body.theme-isracar .isc-hero__brand {
  margin: 0 0 0.8rem;
  max-width: 19ch;
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.isc-hero__brand-accent {
  color: #5eead4;
}

body.theme-isracar .isc-hero__lede {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  color: rgba(226, 232, 240, 0.88);
  font-size: 1rem;
  line-height: 1.62;
}

body.theme-isracar .isc-hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

body.theme-isracar .isc-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0 0.8rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 0;
}

@media (min-width: 640px) {
  body.theme-isracar .isc-hero__btn {
    flex: 0 0 auto;
    padding: 0 1.2rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 380px) {
  body.theme-isracar .isc-hero__btn {
    padding: 0 0.55rem;
    font-size: 0.78rem;
  }
}

body.theme-isracar .isc-hero__btn--primary {
  background: #0f766e;
  border: 1px solid #0f766e;
  color: #fff;
}

body.theme-isracar .isc-hero__btn--primary:hover {
  background: #0b5f58;
  border-color: #0b5f58;
  color: #fff;
}

body.theme-isracar .isc-hero__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

body.theme-isracar .isc-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.isc-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.isc-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.75rem;
  font-weight: 600;
}

.isc-hero__facts i {
  color: #5eead4;
}

body.theme-isracar .isc-hero__widget {
  margin-top: 0.35rem;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(4, 16, 24, 0.5);
}

body.theme-isracar .isc-hero__widget-head {
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #ccfbf1;
  background: #f0fdfa;
}

body.theme-isracar .isc-hero__widget-kicker {
  color: #0f766e;
}

body.theme-isracar .isc-widget-steps li {
  border-radius: 6px;
  border-color: #dbe4e2;
  background: #f8fafc;
  color: #64748b;
}

body.theme-isracar .isc-widget-steps li.is-active {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

body.theme-isracar .isc-widget-steps li.is-done {
  background: #ccfbf1;
  border-color: #99f6e4;
  color: #0f766e;
}

body.theme-isracar .isc-hero__widget .booking.is-home-embed .cta:not([disabled]) {
  background: #0f766e !important;
  border-color: #0f766e !important;
  color: #fff !important;
}

body.theme-isracar .isc-hero__widget .booking.is-home-embed .cta[disabled] {
  background: #e6fffb !important;
  border-color: #99f6e4 !important;
  color: #0f766e !important;
}

@media (max-width: 1023px) {
  body.theme-isracar .isc-hero__inner {
    padding: 5.75rem 1rem 1.75rem;
  }
  body.theme-isracar .isc-hero__brand {
    max-width: 15ch;
    font-size: clamp(2.15rem, 9vw, 3.1rem);
  }
  body.theme-isracar .isc-hero__facts {
    display: grid;
    gap: 0.35rem;
  }
}

/* Isracar lifestyle section: airport card first, then two supporting cards */
.isc-life {
  background: #f8fafc !important;
  padding: 4rem 0 !important;
}

.isc-life__kicker {
  border-radius: 6px !important;
  background: #ccfbf1 !important;
  border-color: #99f6e4 !important;
  color: #0f766e !important;
}

.isc-life__head h2 {
  color: #0b1f2a !important;
}

.isc-life__head p {
  color: #52625f !important;
}

.isc-life__grid {
  gap: 1rem !important;
}

@media (min-width: 1024px) {
  .isc-life__grid {
    grid-template-columns: 1.25fr 0.875fr 0.875fr !important;
  }
}

.isc-life-card {
  border: 1px solid #dbe4e2 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.isc-life-card:hover {
  transform: translateY(-2px) !important;
  border-color: #0f766e !important;
  box-shadow: none !important;
}

.isc-life-card__media img {
  transition: none !important;
}

.isc-life-card:hover .isc-life-card__media img {
  transform: none !important;
}

.isc-life-card__tag {
  border: 0 !important;
  border-radius: 4px !important;
  background: #0b1f2a !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.isc-life-card__tag-icon {
  color: #5eead4 !important;
}

.isc-life-card__caption {
  padding: 1.15rem 1.2rem 1.3rem !important;
  border-top: 1px solid #e2e8f0 !important;
}

.isc-life-card:first-child .isc-life-card__caption {
  background: #0b1f2a !important;
  border-top: 0 !important;
}

.isc-life-card:first-child .isc-life-card__caption strong {
  color: #fff !important;
}

.isc-life-card:first-child .isc-life-card__caption span {
  color: #cbd5e1 !important;
}

.isc-life-card__caption strong {
  color: #0b1f2a !important;
}

.isc-life-card__caption span {
  color: #52625f !important;
}

.isc-life__cta {
  gap: 0.5rem;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.isc-life__cta .fa-arrow-right {
  margin-left: 0 !important;
}

body.theme-isracar .isc-hero__widget .booking.is-home-embed .cta {
  box-shadow: none !important;
}

.isc-life__cta--quote {
  background: #0f766e !important;
  color: #fff !important;
}

.isc-life__cta--quote:hover {
  background: #0b5f58 !important;
  box-shadow: none !important;
  transform: none !important;
}

.isc-life__cta--wa {
  background: #128c7e !important;
  color: #fff !important;
}

.isc-life__cta--wa:hover {
  background: #0f766e !important;
  box-shadow: none !important;
  transform: none !important;
}

/* --------------------------------------------------------------------------
   Interior page hero + facts
   -------------------------------------------------------------------------- */
.ipage-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--brand-line);
  list-style: none;
}

.ipage-hero__facts li {
  min-width: 0;
}

.ipage-hero__facts span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brand-muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ipage-hero__facts strong {
  display: block;
  color: var(--brand-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 719px) {
  .ipage-hero__facts {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* Isracar facts sit on the photo */
.theme-isracar .isc-hero .ipage-hero__facts {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.theme-isracar .isc-hero .ipage-hero__facts span {
  color: #94a3b8;
}

.theme-isracar .isc-hero .ipage-hero__facts strong {
  color: #fff;
}

/* American interior pages: photo panel on the right, copy on the left */
body.theme-american .am-hero.loc-hero {
  position: relative;
  overflow: hidden;
  background: #fff !important;
  color: var(--brand-ink);
  min-height: 0;
  padding-bottom: 2rem;
}

body.theme-american .am-hero.loc-hero .am-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  padding: 2.25rem 1.5rem 1rem;
}

body.theme-american .am-hero.loc-hero .am-hero__bg {
  display: block !important;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 40%;
  height: 100%;
  overflow: hidden;
}

body.theme-american .am-hero.loc-hero .am-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

body.theme-american .am-hero.loc-hero .am-hero__bg-scrim {
  display: block !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 18%, rgba(255, 255, 255, 0) 62%);
}

body.theme-american .am-hero.loc-hero .am-hero__grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: start;
  gap: 2rem;
  padding: 0;
}

body.theme-american .am-hero.loc-hero .am-hero__pitch {
  display: flex !important;
  align-items: flex-start;
  text-align: left;
  max-width: 44rem;
  margin: 0;
  padding: 0;
}

body.theme-american .am-hero.loc-hero .loc-hero__title {
  max-width: 17ch !important;
  color: #002868 !important;
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

body.theme-american .am-hero.loc-hero .loc-hero__lede {
  max-width: 36rem;
  color: #475569 !important;
}

body.theme-american .am-hero.loc-hero .ipage-crumbs--on-photo {
  color: #64748b !important;
}

body.theme-american .am-hero.loc-hero .ipage-crumbs--on-photo a {
  color: #002868 !important;
}

body.theme-american .am-hero.loc-hero .ipage-crumbs--on-photo [aria-current="page"] {
  color: #c8102e !important;
}

body.theme-american .am-hero.loc-hero .am-hero__booking {
  grid-column: 1 / -1;
  margin-top: 1.4rem;
}

@media (max-width: 1023px) {
  body.theme-american .am-hero.loc-hero .am-hero__bg {
    display: none !important;
  }
  body.theme-american .am-hero.loc-hero .am-hero__grid {
    grid-template-columns: 1fr;
  }
  body.theme-american .am-hero.loc-hero .am-hero__inner {
    padding-top: 1.75rem;
  }
}

/* Isracar interior photo hero spacing */
body.theme-isracar .isc-hero.loc-hero .isc-hero__inner {
  padding-top: 6.75rem;
}

body.theme-isracar .isc-hero.loc-hero .isc-hero__pitch {
  max-width: 46rem;
}

/* American fleet/editorial block */
.am-life__kicker {
  margin: 0 0 0.5rem;
  color: #c8102e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theme-american .am-life__copy h2 {
  color: #002868;
}

.theme-american .am-life__copy p {
  color: #475569;
}

.theme-american .am-life__cta {
  border-radius: 4px;
  background: #c8102e;
}

.theme-american .am-life__cta--wa {
  background: #128c7e;
}

/* --------------------------------------------------------------------------
   Tailwind gaps
   The prebuilt utility file does not include py-12, used by home sections.
   -------------------------------------------------------------------------- */
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* --------------------------------------------------------------------------
   Home process sections
   -------------------------------------------------------------------------- */
.am-process {
  max-width: 1100px;
  margin: 0 auto;
}

.am-process__kicker,
.isc-steps__kicker {
  margin: 0 0 0.5rem;
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.am-process header {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.am-process header h2 {
  margin: 0 0 0.5rem;
  color: var(--brand-ink);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.am-process header p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.6;
}

.am-process ol {
  border-top: 3px solid #c8102e;
}

.am-process li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--brand-line);
}

.am-process li strong {
  color: #c8102e;
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
}

.am-process li h3 {
  margin: 0 0 0.25rem;
  color: var(--brand-ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.am-process li p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.isc-steps {
  max-width: 1100px;
  margin: 0 auto;
}

.isc-steps__head {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.isc-steps__head h2 {
  margin: 0 0 0.5rem;
  color: var(--brand-ink);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.isc-steps__head > p:last-child {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.6;
}

.isc-steps__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid #0f766e;
}

@media (min-width: 800px) {
  .isc-steps__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

.isc-steps__list li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.35rem 0.8rem;
  padding: 1.1rem 0;
  border-bottom: 1px dashed #cbd5e1;
}

.isc-steps__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid #99f6e4;
  border-radius: 4px;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.isc-steps__list h3 {
  margin: 0 0 0.25rem;
  color: var(--brand-ink);
  font-size: 1.02rem;
  font-weight: 700;
}

.isc-steps__list p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Dark corporate / app-driver heroes (both brands) */
body .booking-hero.hero-dark {
  background: #06121a !important;
  color: #fff;
}

body .booking-hero.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 16, 32, 0.95) 0%, rgba(0, 16, 32, 0.72) 45%, rgba(0, 16, 32, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 16, 32, 0.45) 0%, rgba(0, 16, 32, 0.08) 42%, rgba(0, 16, 32, 0.78) 100%);
}

body .booking-hero.hero-dark > .relative {
  position: relative;
  z-index: 2;
}

body .booking-hero.hero-dark .ipage-crumbs--on-photo,
body .booking-hero.hero-dark .ipage-crumbs--on-photo a {
  color: #e2e8f0 !important;
  text-shadow: none !important;
}

body.theme-isracar .booking-hero.hero-dark .ipage-crumbs--on-photo [aria-current="page"] {
  color: #5eead4 !important;
}

body.theme-american .booking-hero.hero-dark .ipage-crumbs--on-photo [aria-current="page"] {
  color: #fecaca !important;
}

body .booking-hero.hero-dark .hero-kicker {
  display: inline-block;
  margin: 0 0 1.15rem;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body .booking-hero.hero-dark h1,
body .booking-hero.hero-dark .text-white {
  color: #fff !important;
}

body .booking-hero.hero-dark .text-slate-200 {
  color: #e2e8f0 !important;
}

body .booking-hero.hero-dark .text-slate-300 {
  color: #cbd5e1 !important;
}

body.theme-american .booking-hero.hero-dark img.object-cover,
body.theme-american .booking-hero.hero-dark .bg-black\/45 {
  display: block !important;
}

body.theme-american .booking-hero.hero-dark .bg-gradient-to-r {
  background-image: linear-gradient(90deg, #001433 0%, rgba(0, 20, 51, 0.82) 48%, rgba(0, 20, 51, 0.1) 100%) !important;
}

body.theme-american .booking-hero.hero-dark .bg-gradient-to-t {
  background-image: linear-gradient(0deg, #001433 0%, rgba(0, 20, 51, 0.1) 55%, transparent 100%) !important;
}

.hero-widget-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-widget-card > .hero-widget-surface {
  background: #fff !important;
}

.hero-widget-surface {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 0.25rem !important;
}

.hero-widget-card h2,
.hero-widget-card .text-white,
.hero-widget-card .text-slate-200 {
  color: #002868 !important;
}

.hero-widget-card .border-white\/10 {
  border-color: #e2e8f0 !important;
}

/* App-driver card header stays on the dark hero, widget surface is light */
#app-driver-widget.hero-widget-card {
  background: #0b1f2a !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body .booking-hero.hero-dark .bg-white\/10,
body .booking-hero.hero-dark .bg-white\/5 {
  background: rgba(6, 18, 26, 0.6) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body .booking-hero.hero-dark .backdrop-blur,
body .booking-hero.hero-dark .backdrop-blur-md,
body .booking-hero.hero-dark .backdrop-blur-sm {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.app-driver-widget-head h2,
.app-driver-widget-head .text-white {
  color: #fff !important;
}

.app-driver-widget-head .text-slate-200 {
  color: #e2e8f0 !important;
}

@media (max-width: 767px) {
  .booking-hero.hero-dark {
    padding-top: 8rem !important;
  }
}

/* App-driver home banner */
.app-driver-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.theme-american .app-driver-banner {
  border-radius: 6px;
}

.app-driver-banner__copy {
  padding: 2rem 2.25rem;
}

.app-driver-banner__kicker {
  margin: 0 0 0.5rem;
  color: var(--brand);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.app-driver-banner__title {
  margin: 0 0 0.65rem;
  max-width: 18ch;
  color: var(--brand-ink);
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.app-driver-banner__text {
  margin: 0;
  max-width: 38rem;
  color: var(--brand-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.app-driver-banner__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.app-driver-banner__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
}

.app-driver-banner__points i {
  color: var(--brand);
}

.app-driver-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.app-driver-banner__cta,
.app-driver-banner__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.theme-american .app-driver-banner__cta,
.theme-american .app-driver-banner__wa {
  border-radius: 4px;
}

.app-driver-banner__cta {
  background: var(--brand);
  color: #fff;
}

.app-driver-banner__cta:hover {
  background: var(--brand-strong);
  color: #fff;
}

.app-driver-banner__wa {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--brand-ink);
}

.app-driver-banner__wa:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.app-driver-banner__media {
  min-height: 22rem;
  background: #e2e8f0;
}

.app-driver-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .app-driver-banner {
    grid-template-columns: 1fr;
  }
  .app-driver-banner__copy {
    padding: 1.5rem 1.25rem;
  }
  .app-driver-banner__title {
    max-width: none;
  }
  .app-driver-banner__media {
    min-height: 14rem;
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Interior page content
   -------------------------------------------------------------------------- */
.ipage-wrap {
  padding-top: 2.5rem;
}

.ipage-ledger {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2.25rem;
}

.ipage-ledger li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.35rem 0.9rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #fff;
}

.theme-isracar .ipage-ledger li {
  border-radius: 10px;
}

.ipage-ledger li.is-lead {
  border-color: var(--brand);
  background: var(--brand-soft);
  padding-top: 1.05rem;
}

.theme-american .ipage-ledger li.is-lead {
  background: #fef2f2;
}

.theme-isracar .ipage .ipage-ledger li.is-lead {
  background: #f0fdfa;
  border-color: #0f766e;
}

.ipage-ledger li.is-lead h2,
.ipage-ledger li.is-lead h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.ipage-ledger em {
  padding-top: 0.2rem;
  color: var(--brand);
}

.ipage-ledger img {
  border-radius: 6px;
}

.ipage-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ipage-table {
  min-width: 420px;
}

.loc-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.loc-facts li {
  padding: 1rem 1.1rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #fff;
}

.loc-facts span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--brand-muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loc-facts strong {
  color: var(--brand-ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.loc-facts a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 719px) {
  .loc-facts {
    grid-template-columns: 1fr;
  }
}

.ipage-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: none;
  margin-bottom: 1rem;
}

.ipage-story section {
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #fff;
}

.theme-isracar .ipage-story section {
  border-radius: 10px;
}

.ipage-story h2 {
  margin-top: 0;
}

.ipage-shots {
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.ipage-shots img {
  height: 15rem;
  border-radius: 6px;
}

.ipage-toc {
  gap: 0.5rem;
}

.ipage-toc a {
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-ink);
  font-size: 0.84rem;
}

.theme-isracar .ipage-toc a {
  border-radius: 999px;
}

.ipage-toc a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.ipage-faq details {
  margin-bottom: 0.55rem;
  padding: 0 1rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #fff;
}

.theme-isracar .ipage-faq details {
  border-radius: 10px;
}

.ipage-faq details[open] {
  border-color: var(--brand);
}

.ipage-faq summary {
  min-height: 56px;
  align-items: center;
  padding: 0.85rem 0;
}

.ipage-faq details p {
  padding-bottom: 1rem;
}

.ipage-contact {
  gap: 1rem;
}

.ipage-card,
.ipage-clause {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #fff;
}

.theme-isracar .ipage-card,
.theme-isracar .ipage-clause {
  border-radius: 10px;
}

.ipage-card--wa {
  border: 0;
  border-radius: 10px;
  background: #0b1f2a;
}

.theme-american .ipage-card--wa {
  background: #002868;
}

.theme-isracar .ipage-card--wa,
.theme-isracar .ipage .ipage-card--wa {
  background: #0b1f2a;
  border: 0;
  color: #ecfdf5;
}

.theme-isracar .ipage-card--wa .ipage-kicker,
.theme-isracar .ipage-card--wa h2,
.theme-isracar .ipage .ipage-card--wa .ipage-kicker,
.theme-isracar .ipage .ipage-card--wa h2 {
  color: #fff;
}

.theme-isracar .ipage-card--wa p,
.theme-isracar .ipage .ipage-card--wa p {
  color: #cbd5e1;
}

.ipage-card--wa .ipage-kicker,
.ipage-card--wa h2 {
  color: #fff;
}

.ipage-card--wa p {
  color: #cbd5e1;
}

.ipage-card a.ipage-btn--wa {
  background: #128c7e;
  color: #fff;
}

.ipage-note {
  color: var(--brand-muted);
}

.ipage-clause + .ipage-clause {
  margin-top: 0.75rem;
}

.ipage-prose {
  max-width: 54rem;
}

/* Terms and service pages: less empty, same reading width */
.ipage-prose .ipage-clause h2 {
  font-size: 1.3rem;
}

/* About page images should not be hidden by the story grid */
.ipage-shots {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 800px) {
  .ipage-story {
    grid-template-columns: 1fr;
  }
  .ipage-shots {
    grid-template-columns: 1fr;
  }
  .ipage-shots img {
    height: 13rem;
  }
}

/* --------------------------------------------------------------------------
   WhatsApp dock: compact, never on top of the footer
   -------------------------------------------------------------------------- */
.wa-dock {
  max-width: 15rem;
}

.site-footer {
  padding-bottom: 0;
}

@media (max-width: 1279px) {
  .wa-dock {
    width: 3.25rem !important;
    min-height: 3.25rem !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 999px !important;
  }
  .wa-dock__copy {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .wa-dock {
    width: 3rem !important;
    min-height: 3rem !important;
  }
  .wa-dock__icon {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.48rem;
  }
}

@media (min-width: 1280px) {
  .wa-dock__copy {
    max-width: 11.5rem;
  }
}

/* --------------------------------------------------------------------------
   Small typography / contrast cleanups
   -------------------------------------------------------------------------- */
.home-app-driver-promo .ipage-ledger {
  gap: 0;
}

.home-app-driver-promo .ipage-ledger li {
  border: 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
  padding: 1rem 0;
}

.home-app-driver-promo .ipage-ledger li.is-lead {
  border-top: 0;
  background: transparent;
  border-left: 0;
}

body.theme-american .home-app-driver-promo .ipage-ledger li.is-lead,
body.theme-isracar .home-app-driver-promo .ipage-ledger li.is-lead {
  background: transparent;
  border-left: 0;
}

/* WhatsApp green: use a darker shade so white labels pass AA. */
.wa-brand-btn,
.wa-cta-btn,
.ipage-btn--wa,
.site-footer__wa:hover,
.isc-life__cta--wa,
.am-life__cta--wa {
  background-color: #0b6b5f !important;
  border-color: #0b6b5f !important;
}

.wa-inline {
  color: #0b6b5f !important;
}

main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
main select,
main textarea,
.isc-hero__widget .control,
.am-hero__booking .control,
.hero-widget-card .control {
  border-color: #7f8ea3 !important;
}

input::placeholder,
textarea::placeholder {
  color: #64748b;
  opacity: 1;
}

/* Browser surfaces */
::selection {
  background: var(--brand);
  color: #fff;
}

html {
  scrollbar-color: var(--brand) #e2e8f0;
  scrollbar-width: thin;
}

input,
select,
textarea {
  caret-color: var(--brand);
}

.home-fleet-card__price,
.fleet-card__price,
.fleet-card__price-label,
.ipage-ledger em,
.isc-steps__code {
  font-variant-numeric: tabular-nums;
}

/* Focus visibility for all interactive elements */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand, #0f766e);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-index,
.blog-post {
  background: var(--brand-paper);
}

.blog-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  overflow: hidden;
  background: #0b1f2a;
  color: #fff;
}

.blog-hero__media {
  position: absolute;
  inset: 0;
}

.blog-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 31, 42, 0.94) 0%, rgba(5, 31, 42, 0.78) 48%, rgba(5, 31, 42, 0.42) 100%);
}

.theme-american .blog-hero {
  background: #001433;
}

.theme-american .blog-hero__veil {
  background: linear-gradient(90deg, rgba(0, 20, 51, 0.96) 0%, rgba(0, 40, 104, 0.8) 52%, rgba(0, 20, 51, 0.5) 100%);
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 54px;
}

.blog-hero__inner h1 {
  margin: 18px 0 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
}

.blog-hero__lede {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.65;
}

.blog-hero .ipage-crumbs {
  margin: 0;
}

.blog-hero .ipage-crumbs a,
.blog-hero .ipage-crumbs span,
.blog-hero .ipage-crumbs li {
  color: rgba(255, 255, 255, 0.78);
}

.blog-hero .ipage-crumbs a:hover {
  color: #fff;
}

.blog-body {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 56px 32px 88px;
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 20px;
}

.theme-american .blog-featured {
  border-radius: 0;
  border-top: 4px solid var(--brand);
}

.blog-featured__media {
  display: block;
  min-height: 340px;
  overflow: hidden;
  background: #e2e8f0;
}

.blog-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.blog-featured:hover .blog-featured__media img {
  transform: scale(1.025);
}

.blog-featured__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
}

.blog-meta__category {
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-meta__dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #cbd5e1;
}

.blog-featured h2 {
  margin: 14px 0 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
}

.blog-featured h2 a,
.blog-card h2 a,
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-featured h2 a:hover,
.blog-card h2 a:hover,
.blog-card h3 a:hover {
  color: var(--brand);
}

.blog-featured__excerpt {
  margin: 14px 0 0;
  color: #526071;
  font-size: 0.98rem;
  line-height: 1.65;
}

.blog-featured__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 0;
  color: #64748b;
  font-size: 0.8rem;
}

.blog-featured__foot a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.blog-featured__foot a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 16px;
}

.theme-american .blog-card {
  border-radius: 0;
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.03);
}

.blog-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 20px;
}

.blog-card h2,
.blog-card h3 {
  margin: 10px 0 0;
  font-family: var(--font-display, inherit);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}

.blog-card__copy > p:not(.blog-meta):not(.blog-card__foot) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 10px 0 0;
  color: #5b6775;
  font-size: 0.92rem;
  line-height: 1.6;
}

.blog-card__foot {
  margin: auto 0 0;
  padding-top: 18px;
  color: #7c8794;
  font-size: 0.76rem;
}

.blog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--brand-line);
  font-size: 0.86rem;
  font-weight: 700;
}

.blog-pager__step {
  color: var(--brand);
  text-decoration: none;
}

.blog-pager__step.is-disabled {
  color: #b6c0ca;
}

.blog-pager__list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-pager__list a,
.blog-pager__list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  color: var(--brand-ink);
  text-decoration: none;
}

.blog-pager__list .is-current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.blog-empty {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 28px;
  text-align: center;
  border: 1px solid var(--brand-line);
  background: #fff;
}

.blog-empty h2 {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 1.7rem;
  color: var(--brand-ink);
}

.blog-empty p {
  margin: 12px 0 24px;
  color: #5b6775;
  line-height: 1.6;
}

.blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.blog-btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff !important;
}

.blog-btn--primary:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.blog-btn--ghost {
  background: transparent;
  border-color: var(--brand-line);
  color: var(--brand-ink) !important;
}

.blog-btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand) !important;
}

/* Post */
.blog-post {
  background: #fff;
}

.blog-post__inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 32px 80px;
}

.blog-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #7c8794;
  font-size: 0.78rem;
}

.blog-crumbs a {
  color: #526071;
  text-decoration: none;
}

.blog-crumbs a:hover {
  color: var(--brand);
}

.blog-crumbs span {
  color: var(--brand-ink);
  font-weight: 700;
}

.blog-post__head {
  max-width: 840px;
  margin-top: 34px;
}

.blog-post__head h1 {
  margin: 14px 0 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: var(--brand-ink);
}

.blog-post__lede {
  margin: 18px 0 0;
  color: #526071;
  font-size: 1.08rem;
  line-height: 1.65;
}

.blog-post__cover {
  margin: 34px 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e2e8f0;
}

.theme-american .blog-post__cover {
  border-radius: 0;
}

.blog-post__cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.blog-post__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
  margin-top: 44px;
}

.blog-prose {
  min-width: 0;
  max-width: 720px;
  color: #263244;
  font-size: 1.04rem;
  line-height: 1.75;
}

.blog-prose > *:first-child {
  margin-top: 0;
}

.blog-prose p {
  margin: 0 0 1.15em;
}

.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
  margin: 2.1em 0 0.7em;
  font-family: var(--font-display, inherit);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
}

.blog-prose h2 {
  font-size: 1.7rem;
}

.blog-prose h3 {
  font-size: 1.3rem;
}

.blog-prose h4 {
  font-size: 1.1rem;
}

.blog-prose ul,
.blog-prose ol {
  margin: 0 0 1.3em;
  padding-left: 1.25em;
}

.blog-prose li {
  margin-bottom: 0.45em;
}

.blog-prose a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.blog-prose strong {
  color: var(--brand-ink);
}

.blog-prose blockquote {
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.1em;
  border-left: 3px solid var(--brand);
  color: #3d4a5c;
  font-size: 1.04rem;
}

.blog-prose blockquote p:last-child {
  margin-bottom: 0;
}

.blog-prose table {
  width: 100%;
  margin: 1.4em 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.blog-prose th,
.blog-prose td {
  padding: 10px 12px;
  border: 1px solid var(--brand-line);
  text-align: left;
}

.blog-prose th {
  background: var(--brand-paper);
  color: var(--brand-ink);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 2.4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--brand-line);
  color: #64748b;
  font-size: 0.82rem;
}

.blog-tags > span {
  font-weight: 800;
  color: var(--brand-ink);
}

.blog-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-tags li {
  margin: 0;
}

.blog-aside {
  position: sticky;
  top: 100px;
}

.blog-aside__card {
  padding: 28px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--brand-line);
}

.theme-american .blog-aside__card {
  border-radius: 0;
  border-top: 4px solid var(--brand);
}

.theme-isracar .blog-aside__card {
  background: #0b1f2a;
  border-color: #0b1f2a;
  color: #fff;
}

.blog-aside__card h2 {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-ink);
}

.theme-isracar .blog-aside__card h2 {
  color: #fff;
}

.blog-aside__card p {
  margin: 12px 0 18px;
  color: #5b6775;
  font-size: 0.9rem;
  line-height: 1.6;
}

.theme-isracar .blog-aside__card p {
  color: rgba(255, 255, 255, 0.78);
}

.blog-aside__card .blog-btn {
  width: 100%;
  margin-bottom: 8px;
}

.theme-isracar .blog-aside__card .blog-btn--primary {
  background: #14b8a6;
  border-color: #14b8a6;
  color: #06262f !important;
}

.theme-isracar .blog-aside__card .blog-btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff !important;
}

.theme-isracar .blog-aside__card .blog-btn--ghost:hover {
  border-color: #5eead4;
  color: #5eead4 !important;
}

.blog-aside__note {
  margin: 14px 0 0 !important;
  font-size: 0.76rem !important;
  line-height: 1.5 !important;
}

.blog-post__back {
  margin: 34px 0 0;
  font-size: 0.86rem;
}

.blog-post__back a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.blog-post__back a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.blog-related {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--brand-line);
}

.blog-related > h2 {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--brand-ink);
}

.blog-related .blog-grid {
  margin-top: 24px;
}

.blog-post--missing .blog-post__inner {
  max-width: 720px;
  padding-top: 80px;
  padding-bottom: 100px;
}

.blog-post--missing h1 {
  margin: 18px 0 0;
  font-family: var(--font-display, inherit);
  font-size: 2.4rem;
  color: var(--brand-ink);
}

.blog-post--missing p {
  color: #526071;
  line-height: 1.65;
}

.blog-post--missing .blog-btn {
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .blog-post__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .blog-aside {
    position: static;
  }

  .blog-aside__card {
    max-width: 480px;
  }
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-hero {
    min-height: 300px;
  }

  .blog-hero__inner {
    padding: 36px 20px 40px;
  }

  .blog-body {
    padding: 34px 18px 60px;
  }

  .blog-featured__copy {
    padding: 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }

  .blog-card__copy {
    padding: 18px;
  }

  .blog-pager {
    justify-content: center;
  }

  .blog-pager__list {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .blog-post__inner {
    padding: 24px 18px 60px;
  }

  .blog-post__cover {
    margin-top: 24px;
  }

  .blog-post__layout {
    margin-top: 30px;
  }

  .blog-prose {
    font-size: 1rem;
  }

  .blog-prose h2 {
    font-size: 1.45rem;
  }

  .blog-related {
    margin-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-featured__media img,
  .blog-card__media img {
    transition: none;
  }

  .blog-featured:hover .blog-featured__media img,
  .blog-card:hover .blog-card__media img {
    transform: none;
  }
}

.home-blog {
  background: var(--brand-paper);
  border-top: 1px solid var(--brand-line);
}

.home-blog .blog-card {
  background: #fff;
}

@media (max-width: 640px) {
  .home-blog .blog-grid {
    margin-top: 0;
  }
}

/* Keep breadcrumbs readable on the blog hero (American theme forces navy links). */
body.theme-american .blog-hero .ipage-crumbs--on-photo a,
body.theme-american .blog-hero .ipage-crumbs--on-photo [aria-current="page"] {
  color: rgba(255, 255, 255, 0.86) !important;
}

body.theme-american .blog-hero .ipage-crumbs--on-photo a:hover {
  color: #fff !important;
}

body.theme-american .blog-hero .ipage-crumbs--on-photo .ipage-crumbs__sep {
  color: rgba(255, 255, 255, 0.42) !important;
}

/* Tailwind preflight removes list markers; restore them inside articles. */
.blog-prose ul {
  list-style: disc;
}

.blog-prose ol {
  list-style: decimal;
}

.blog-prose li::marker {
  color: var(--brand);
}

/* One or two cards should not leave an empty third column. */
.blog-grid--one {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.blog-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .blog-grid--one,
  .blog-grid--two {
    grid-template-columns: 1fr;
  }
}

.home-blog {
  padding: 3.5rem 0 4rem;
}

@media (max-width: 767px) {
  .home-blog {
    padding: 2.5rem 0 2.75rem;
  }
}

/* Blog index: full-bleed hero under the floating nav */
body.page-blog-index .front-nav-float {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
}

body.page-blog-index .blog-hero {
  padding-top: 5rem;
}

@media (max-width: 767px) {
  body.page-blog-index .blog-hero {
    padding-top: 4.75rem;
  }
}

/* American keeps its sticky nav; pull the hero up behind it. */
body.theme-american.page-blog-index .front-nav-float {
  position: sticky !important;
}

body.theme-american.page-blog-index .blog-hero {
  margin-top: -5rem;
}

@media (max-width: 767px) {
  body.theme-american.page-blog-index .blog-hero {
    margin-top: -4.75rem;
  }
}
