/* Page-specific polish for /car-rentals. */

.car-rentals-page .image-container-main:not(.has-overlay-title)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 28, 34, 0.82) 0%, rgba(10, 28, 34, 0.56) 34%, rgba(10, 28, 34, 0.16) 68%, rgba(10, 28, 34, 0.1) 100%),
    linear-gradient(0deg, rgba(10, 28, 34, 0.42) 0%, rgba(10, 28, 34, 0) 48%);
}

.car-rentals-page .image-container-main:not(.has-overlay-title) .hero-img {
  object-position: center center;
  filter: saturate(1.06) contrast(1.04);
}

.car-rentals-page p.single-slide-full-text.hero-clean-text {
  left: 6%;
  bottom: 24% !important;
  z-index: 4;
  width: 48%;
  font-family: "brother-1816-printed", "Proxima", Helvetica, Arial, sans-serif !important;
  font-size: 48px !important;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 3px 20px rgba(0,0,0,0.52), 0 1px 3px rgba(0,0,0,0.72);
}

.car-rentals-page .hero-clean-subtitle {
  left: 6%;
  bottom: 13%;
  z-index: 4;
  width: 48%;
  max-width: 620px;
  font-family: "brother-1816-printed", "Proxima", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.58), 0 1px 2px rgba(0,0,0,0.78);
}

.car-rentals-page #type-feature-page {
  background:
    linear-gradient(180deg, #f8fbfb 0%, #fff 340px),
    #fff;
}

.car-rentals-page .cr-top-content {
  margin-top: 0;
}

.car-rentals-page .cr-intro-copy {
  max-width: 1040px;
  margin: 0 auto;
}

.car-rentals-page .cr-intro-copy h1 {
  margin: 0 0 12px;
  color: #173b3f;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.car-rentals-page .cr-intro-copy > p {
  max-width: 860px;
  color: #33494d;
  font-size: 18px !important;
  line-height: 1.68 !important;
}

.car-rentals-page .cr-intro-copy p::first-letter {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  background: none !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-transform: none !important;
}

.car-rentals-page .cr-quick-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 26px;
}

.car-rentals-page .cr-quick-path a {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  gap: 2px 12px;
  min-height: 88px;
  padding: 16px;
  box-sizing: border-box;
  color: #173b3f !important;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid #dce8e8;
  border-radius: 8px;
  box-shadow: 0 9px 26px rgba(23,59,63,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.car-rentals-page .cr-quick-path a:hover,
.car-rentals-page .cr-quick-path a:focus {
  transform: translateY(-2px);
  border-color: #9cc6c4;
  box-shadow: 0 14px 30px rgba(23,59,63,0.13);
}

.car-rentals-page .cr-quick-path span {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: #173b3f;
  border-radius: 50%;
  font-size: 24px;
}

.car-rentals-page .cr-quick-path a:nth-child(2) span {
  background: #F27A24;
}

.car-rentals-page .cr-quick-path a:nth-child(3) span {
  background: #1D9771;
}

.car-rentals-page .cr-quick-path strong {
  grid-area: title;
  align-self: end;
  color: #173b3f;
  font-size: 18px;
  line-height: 1.2;
}

.car-rentals-page .cr-quick-path em {
  grid-area: text;
  color: #566b70;
  font-size: 14px;
  font-style: normal;
  line-height: 1.35;
}

.car-rentals-page .cr-calculator-promo {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin: 22px 0 28px;
  padding: 20px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #eaf5fb 0%, #f8fbff 62%, #fff3e8 100%);
  border: 1px solid #b9d7ec;
  border-left: 6px solid #1866B4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(24,102,180,0.1);
}

.car-rentals-page .cr-calculator-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #1866B4;
  background: #fff;
  border: 1px solid #cfe3f3;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}

.car-rentals-page .cr-calculator-copy {
  flex: 1 1 320px;
  min-width: 0;
}

.car-rentals-page .cr-calculator-copy div {
  margin-bottom: 5px;
  color: #174f86;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.car-rentals-page .cr-calculator-copy p {
  margin: 0;
  color: #2c3e50;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.car-rentals-page .cr-calculator-action {
  flex: 0 0 auto;
}

.car-rentals-page .cr-calculator-action .btn {
  display: inline-block;
  margin: 0;
  font-weight: 700;
}

.car-rentals-page .cr-guide-panel {
  max-width: 1040px;
  margin: 24px auto 10px;
  padding: 30px 22px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #f4f9f8 0%, #eef5fb 100%);
  border: 1px solid #d7e7ea;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.car-rentals-page .cr-eyebrow {
  margin: 0 0 5px;
  color: #1866B4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.car-rentals-page .cr-guide-panel h2 {
  margin: 0 0 8px;
  color: #173b3f;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}

.car-rentals-page .cr-panel-lede {
  max-width: 680px;
  margin: 0 auto 22px;
  color: #41585b;
  font-size: 16px !important;
  line-height: 1.55 !important;
  text-align: center;
}

.car-rentals-page .cr-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.car-rentals-page .cr-guide-card {
  display: block;
  min-height: 190px;
  padding: 20px;
  box-sizing: border-box;
  color: inherit !important;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid #d9e4ea;
  border-top: 4px solid #9fb6c5;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(23,59,63,0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.car-rentals-page .cr-guide-card-featured {
  border-top-color: #1866B4;
}

.car-rentals-page .cr-guide-card:hover,
.car-rentals-page .cr-guide-card:focus {
  transform: translateY(-2px);
  border-color: #b6ccd7;
  box-shadow: 0 14px 28px rgba(23,59,63,0.12);
}

.car-rentals-page .cr-guide-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  color: #1866B4;
  background: #edf5fb;
  border-radius: 50%;
}

.car-rentals-page .cr-guide-card strong {
  display: block;
  margin-bottom: 5px;
  color: #173b3f;
  font-size: 18px;
  line-height: 1.25;
}

.car-rentals-page .cr-guide-card em {
  display: block;
  color: #4b5963;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.car-rentals-page .cta-block {
  margin-top: 14px;
  padding-top: 10px;
}

@media only screen and (max-width: 1023px) {
  .car-rentals-page p.single-slide-full-text.hero-clean-text {
    width: 58%;
    font-size: 38px !important;
  }

  .car-rentals-page .hero-clean-subtitle {
    width: 58%;
    font-size: 18px;
  }

  .car-rentals-page .cr-quick-path {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 641px) {
  .car-rentals-page .image-container-main:not(.has-overlay-title)::after {
    background: linear-gradient(0deg, rgba(10, 28, 34, 0.78) 0%, rgba(10, 28, 34, 0.18) 70%);
  }

  .car-rentals-page .image-container-main:not(.has-overlay-title) .hero-img {
    object-position: 62% center;
  }

  .car-rentals-page p.single-slide-full-text.hero-clean-text {
    left: 5%;
    bottom: 34% !important;
    width: 90%;
    font-size: 28px !important;
    line-height: 1.08;
  }

  .car-rentals-page .hero-clean-subtitle {
    left: 5%;
    bottom: 10%;
    width: 90%;
    font-size: 14px;
    line-height: 1.35;
  }

  .car-rentals-page .cr-intro-copy h1 {
    font-size: 28px;
  }

  .car-rentals-page .cr-intro-copy > p {
    font-size: 17px;
  }

  .car-rentals-page .cr-calculator-promo {
    padding: 18px 16px;
  }

  .car-rentals-page .cr-calculator-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
}
