/* ==========================================================================
   RENTALCARS THEME (style.css)

   In the style of rentalcars.com: a bright blue header and hero (the cover
   picture shows through a strong blue wash that fades lower down); white
   word tabs, the chosen one in a round white outline; a very large bold
   white heading on the left with ticked selling points under it; the search
   as one white bar in a thick yellow frame with a green Search button.
   Colours are in theme.json. Only the header and the hero are styled here;
   every other page keeps the default theme.

   The header and the hero print their own <style> later in the page, so every
   rule here starts with "body" to win over them.
   ========================================================================== */


/* ------------------------------------------------------------ HEADER */
body .site-header,
body .site-header.is-scrolled {
  background: #1a87e0 !important;
  color: #fff;
  border-bottom: 0;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  --hd-fill: transparent;
  --hd-fill-hover: rgba(255, 255, 255, .14);
  --hd-line: rgba(255, 255, 255, .4);
}
body .site-header.is-overlay:not(.is-scrolled):not(.is-open) { background: transparent !important; border-bottom: 0; }
body .site-header.is-overlay:not(.is-scrolled):not(.is-open)::before { content: none; }
body .site-header .hd-logo img { filter: brightness(0) invert(1); }
body .site-header .hd-link { color: #fff; font-size: 16px; font-weight: 500; }
body .site-header .hd-link:hover,
body .site-header .hd-link[aria-expanded="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
body .site-header .hd-group,
body .site-header .hd-chip,
body .site-header.is-overlay:not(.is-scrolled):not(.is-open) .hd-group,
body .site-header.is-overlay:not(.is-scrolled):not(.is-open) .hd-chip { border-color: transparent; background: transparent; color: #fff; }
body .site-header .hd-chip:hover,
body .site-header .hd-group .hd-chip:hover { background: rgba(255, 255, 255, .14); }
body .site-header .btn { border-radius: 4px; font-weight: 500; background-color: #fff !important; color: #0071c2 !important; border: 0 !important; }
body .site-header .btn:hover { background-color: #eef5fc !important; }

/* ------------------------------------------------------------ HERO / BACKGROUND */
body .hr { min-height: 0; overflow-x: clip; }
body .hr-shade { background: linear-gradient(to bottom, rgba(26, 135, 224, .97) 0%, rgba(26, 135, 224, .92) 45%, rgba(26, 135, 224, .55) 75%, rgba(26, 135, 224, .35) 100%); }
body .hr-curve { display: none !important; }
body .hr { padding-bottom: 64px; }
@media (min-width: 768px) {
  body .hr { padding-top: calc(var(--header-height, 64px) + 56px); padding-bottom: 140px; }
}

/* ------------------------------------------------------------ HERO / HEADING */
body .hr-head { align-items: flex-start; text-align: start; margin-bottom: 28px; }
body .hr-title {
  max-width: 1100px; color: #fff; text-transform: none; text-shadow: none;
  
  font-size: clamp(30px, 3.6vw, 56px); font-weight: 700; line-height: 1.12; letter-spacing: -.01em;
}
body .hr-sub { display: none; }
body .hr-badges { justify-content: flex-start; }
body .hr-badge { background: transparent; border: 0; padding-inline: 0; margin-inline-end: 18px; color: #fff; text-shadow: none; font-size: 17px; font-weight: 600; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
body .hr-badge svg { color: #fff; }

/* ------------------------------------------------------------ HERO / TABS */
body .hr-frame { padding: 0; border-radius: 0; }
body .hr-frame::before { content: none; }
body .hr-tabs-row { --hr-tab-h: 46px; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px;  }
body .hr-tabs-row:has(.hr-tabs.is-compact) { --hr-tab-h: 46px; }
body .hr-tabs-box { background: transparent; }
body .hr-tab-ind { display: none; }
body .hr-tabs-box.has-more.more-end .hr-tabs { -webkit-mask-image: none; mask-image: none; }
@media (min-width: 768px) {
  body .hr-tabs-box.has-more .hr-tabs-bar { display: none; }
}
body .hr-tabs-bar::before { background: rgba(255,255,255,.3); }
body .hr-tabs-bar i { background: #fff; box-shadow: none; }
body .hr-tabs { gap: 6px; align-items: center; }
body .hr-tab,
body .hr-tabs.is-compact .hr-tab {
  width: auto; height: 46px; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: #fff; box-shadow: none;
  
}
body .hr-tab-in,
body .hr-tabs.is-compact .hr-tab-in { position: relative; flex-direction: row; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 999px; }
body .hr-tab .material-symbols-outlined.hr-tab-icon,
body .hr-tabs.is-compact .hr-tab .material-symbols-outlined.hr-tab-icon {
  font-size: 21px !important; line-height: 21px; width: 21px; height: 21px; text-shadow: none;
}
body .hr-tab-label,
body .hr-tabs.is-compact .hr-tab-label { font-size: 16px; font-weight: 500; line-height: 22px; text-shadow: none; }
body .hr-tab:not(.is-active):hover { background: rgba(255, 255, 255, .12); }
body .hr-tab.is-active,
body .hr-tabs:not(.is-measured) .hr-tab.is-active,
body .hr-tabs.is-compact .hr-tab.is-active { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px #fff; }
body .hr-tab:focus-visible .hr-tab-in { box-shadow: 0 0 0 2px #fff; }

/* the AI Trip Planner */
body .hr-ai {
  height: 44px; margin-bottom: 0; padding: 0 16px; gap: 8px;
  border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: transparent; color: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  font-size: 15px; font-weight: 600;
}
body .hr-ai:hover { background: rgba(255,255,255,.12); }
body .hr-ai.is-active { background: #fff; color: #0071c2;  }
body .hr-ai .hr-ai-icon { width: 20px; height: 20px; background: none; box-shadow: none; color: inherit; }
body .hr-ai .hr-ai-icon .material-symbols-outlined { font-size: 20px !important; }
body .hr-ai-shine, body .hr-ai-arrow { display: none; }

/* ------------------------------------------------------------ HERO / SEARCH CARD */
body .hr-card,
body .hr-card.is-first,
body .hr-card.is-last,
body .hr-tabs-row + .hr-card,
body .hr-tabs-row:has(> .hr-ai) + .hr-card,
body .hr-tabs-row:has(> .hr-ai.is-active) + .hr-card { border-radius: 10px; }
body .hr-card { color: #1a1a1a; background: #fff; border: 4px solid #ffb700; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }
body .hr-panel { padding: 14px 16px; }
body .hr-panel-ai { padding: 0; }
body .hr-card .search-btn {
  border-radius: 6px; font-weight: 700; font-size: 17px;
  background: #008009 !important; border-color: #008009 !important; color: #fff !important;
}
body .hr-card .search-btn * { color: #fff !important; }
body .hr-card .search-btn:hover { background: #006607 !important; border-color: #006607 !important; }
body .hr-card .swap-btn { color: #0071c2; }
body .hr-panel .field-box,
body .hr-panel [class*="h-[67px]"][class*="border"] { border-radius: 6px !important; }
body .hr-panel .segmented-item.is-active { background: #e8f2fb !important; color: #0071c2 !important; box-shadow: none; }

/* ------------------------------------------------------------ HERO / SHORTCUTS */
body .hr-shortcuts-row { justify-content: flex-start; }
body .hr-shortcuts {
  border: 0; background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}
body .hr-shortcut { color: #fff; text-shadow: none; font-weight: 600; }
body .hr-shortcut + .hr-shortcut::before { background: rgba(255,255,255,.3); }
body .hr-shortcut-badge { background: rgba(0, 53, 128, .35); color: #ffb700; box-shadow: none; }
body .hr-shortcut:hover { background: rgba(0, 53, 128, .25); }
body .hr-shortcut:hover .hr-shortcut-badge { background: #ffb700; color: #fff; }
body .hr-shortcut:focus-visible { box-shadow: 0 0 0 2px #ffb700; }

/* ------------------------------------------------------------ PHONES */
@media (max-width: 767px) {
  body .hr-tabs-row { flex-direction: column; align-items: stretch; gap: 10px; }
  body .hr-ai { align-self: center; height: 40px; }
  body .hr-panel { padding: 16px; }
  body .hr-tab-label, body .hr-tabs.is-compact .hr-tab-label { font-size: 15px; }
}
@media (max-width: 639px) {
  body .hr { padding-top: calc(var(--header-height, 64px) + 12px); padding-bottom: 0; }
  body .hr-tabs { padding-inline: 8px; }
  body .hr-tab.is-active { box-shadow: none; }
  body .hr-tab-in, body .hr-tabs.is-compact .hr-tab-in { padding-inline: 12px; }
  body .hr-head .hr-title { color: #1a1a1a; font-size: 28px; text-shadow: none; }
  body .hr-head .hr-sub { color: #4d4d4d; text-shadow: none; }
  body .hr-badge { color: #4d4d4d; }
  body .hr-shortcut { border-color: #e6e6e6; background: #fff; color: #1a1a1a; }
}
