/* RideshareRenter UX/UI overhaul */
:root {
  --rr-ink: #111827;
  --rr-muted: #5f6b7a;
  --rr-line: #d9e2ec;
  --rr-soft: #f5f8fb;
  --rr-blue: #0056d6;
  --rr-blue-dark: #003f9e;
  --rr-green: #14b889;
  --rr-gold: #f6b83f;
  --rr-shadow: 0 18px 55px rgba(15, 23, 42, 0.13);
}

body {
  background: #f5f8fb;
  color: var(--rr-ink);
}

.container {
  max-width: 1180px;
}

header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(14px);
}

header .container.cmain {
  height: 60px;
}

header .logo img {
  max-height: 42px;
}

header .links {
  gap: 4px;
}

header .links .publish.btn {
  background: var(--rr-green);
  border-color: var(--rr-green);
  box-shadow: 0 8px 20px rgba(20, 184, 137, 0.22);
}

header .links .publish.btn:hover {
  background: #0e9c75;
}

header .links .btn-white {
  color: #334155;
}

header .links .browse {
  color: var(--rr-blue);
}

.btn,
.btn-primary {
  border-radius: 8px;
  background: var(--rr-blue);
  border-color: var(--rr-blue);
  box-shadow: 0 8px 18px rgba(0, 86, 214, 0.18);
}

.btn:hover,
.btn-primary:hover {
  background: var(--rr-blue-dark);
}

.btn-secondary {
  color: var(--rr-blue);
  border-color: rgba(0, 86, 214, 0.28);
  background: #fff;
  box-shadow: none;
}

.bkg-hero-search {
  min-height: 480px;
  padding: 64px 20px 72px;
  background:
    linear-gradient(90deg, rgba(8, 15, 32, 0.94) 0%, rgba(8, 15, 32, 0.80) 44%, rgba(8, 15, 32, 0.38) 100%),
    url("https://ridesharerenter.com/oc-content/uploads/0/11_thumbnail.jpg") center right / cover no-repeat;
  overflow: visible;
}

.bkg-hero-search:before {
  display: none;
}

.bkg-hero-content {
  max-width: 1180px;
  margin: 0 auto 28px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.bkg-hero-eyebrow {
  display: inline-flex;
  width: auto;
  padding: 7px 10px;
  margin: 0 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #d8fff3;
  background: rgba(20, 184, 137, 0.18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.bkg-hero-search .bkg-hero-title {
  max-width: 640px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 54px;
  line-height: 1.02;
  font-weight: 800;
  text-align: left;
  letter-spacing: 0;
}

.bkg-hero-search .bkg-hero-subtitle {
  max-width: 560px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.45;
  text-align: left;
}

.bkg-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bkg-hero-points span {
  display: inline-flex;
  width: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.bkg-search-container {
  max-width: 1180px;
  margin: 0 auto;
}

.bkg-search-bar {
  max-width: 1120px;
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--rr-shadow);
}

.bkg-search-field {
  border-radius: 10px;
  padding: 12px 16px;
}

.bkg-search-field .bkg-sf-label {
  color: var(--rr-ink);
  letter-spacing: 0;
}

.bkg-search-btn {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--rr-green);
}

.bkg-search-btn:hover {
  background: #0e9c75;
}

.bkg-search-options {
  justify-content: flex-start;
  max-width: 1120px;
  margin-top: 12px;
  color: #fff;
}

.rr-mode-marketplace_only .bkg-search-bar,
.rr-mode-disabled .bkg-search-bar,
.rr-mode-marketplace_only .bkg-search-options,
.rr-mode-disabled .bkg-search-options {
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
}

.rr-mode-marketplace_only .bkg-sf-location,
.rr-mode-disabled .bkg-sf-location {
  min-height: 64px;
}

.bkg-search-opt,
.bkg-quick-loc {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
}

.bkg-search-opt:hover,
.bkg-quick-loc:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.rr-marketplace-notice {
  margin: 18px 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 86, 214, 0.18);
  border-left: 4px solid var(--rr-blue);
  border-radius: 8px;
  background: #eef6ff;
  color: var(--rr-ink);
}

.rr-marketplace-notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.25;
}

.rr-marketplace-notice p {
  margin: 0;
  color: #425466;
  font-size: 14px;
  line-height: 1.45;
}

body#home > .content {
  padding-top: 0;
  background: #f5f8fb;
}

body#home > .content > section {
  padding: 46px 0;
  background: #f5f8fb;
}

body#home > .content > section.home-search.home-browse {
  display: block !important;
  padding: 38px 0 34px;
  background: #fff;
  box-shadow: none;
}

.home-search > .container:after {
  display: none;
}

.home-browse .box {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 34px;
  align-items: start;
}

.home-browse-head {
  position: sticky;
  top: 78px;
}

.home-eyebrow {
  display: inline-flex;
  width: auto;
  margin: 0 0 10px;
  color: var(--rr-green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-browse h1 {
  max-width: 360px;
  margin: 0 0 10px;
  color: var(--rr-ink);
  font-size: 32px;
  line-height: 1.1;
}

.home-browse-head p {
  color: var(--rr-muted);
  font-size: 16px;
  line-height: 1.5;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body#home .home-browse h2 {
  grid-column: 2;
  margin: 2px 0 14px;
  font-size: 20px;
}

#home-cat {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#home-cat a,
#home-cat a.all {
  width: auto;
  min-height: 112px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

#home-cat a:hover,
#home-cat a.all:hover {
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.11), 0 0 0 2px rgba(0, 86, 214, 0.16);
}

#home-cat a > div {
  width: 52px;
  height: 52px;
  margin: 0 0 12px;
  border-radius: 8px;
  box-shadow: none;
  background: #eef5ff;
}

#home-cat a.all > div {
  background: #edfdf8;
}

#home-cat a > div img,
#home-cat a > div svg {
  max-width: 38px;
  height: 34px;
}

#home-cat a > h3 {
  height: auto;
  text-align: left;
}

#home-cat a > h3 span {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.home-proof {
  background: #f5f8fb;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.proof-card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.proof-card span {
  display: inline-flex;
  width: auto;
  margin: 0 0 12px;
  color: var(--rr-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.proof-card strong {
  display: block;
  margin: 0 0 8px;
  color: var(--rr-ink);
  font-size: 20px;
  line-height: 1.2;
}

.proof-card p {
  color: var(--rr-muted);
  font-size: 15px;
  line-height: 1.45;
}

body#home > .content > section.home-blog,
body#home > .content > section.home-favorite,
body#home > .content > section.home-business,
body#home > .content > section.home-users,
body#home > .content > section.home-latest,
body#home > .content > section.home-premium {
  background: #fff;
  box-shadow: none;
}

body#home > .content > section.home-blog,
body#home > .content > section.home-business,
body#home > .content > section.home-latest {
  border-top: 1px solid rgba(217, 226, 236, 0.8);
}

body#home h2 {
  margin-bottom: 18px;
  color: var(--rr-ink);
  font-size: 26px;
  letter-spacing: 0;
}

.products {
  gap: 14px;
  width: 100%;
  margin: 0;
}

.simple-prod,
.simple-prod.medium,
.simple-prod.large {
  width: calc(25% - 11px);
  margin: 0;
}

.simple-prod .simple-wrap {
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.simple-prod:hover .simple-wrap {
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.13), 0 0 0 2px rgba(0, 86, 214, 0.14);
}

.simple-prod .img-wrap,
.simple-prod.normal .img-wrap,
.simple-prod.wide .img-wrap {
  padding-top: 68%;
}

.simple-prod .img-wrap > a img {
  border-radius: 0;
  box-shadow: none;
}

.simple-prod .img-wrap .bar {
  border-radius: 0;
  padding: 44px 12px 10px;
}

.simple-prod .img-wrap .bar .price {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.82);
  font-size: 15px;
}

.simple-prod .data {
  padding: 14px;
}

.simple-prod .info {
  color: var(--rr-muted);
  font-size: 12px;
  font-weight: 700;
}

.simple-prod .title {
  color: var(--rr-ink);
  font-size: 17px;
  line-height: 1.25;
  min-height: 42px;
}

.simple-prod .description {
  color: var(--rr-muted);
}

.simple-prod .extra {
  color: var(--rr-muted);
  font-size: 13px;
}

.simple-prod .contact > a {
  border-radius: 7px;
}

.simple-prod .contact > a.contact {
  background: var(--rr-blue);
}

.blog-box {
  gap: 16px;
}

.blog-box > a {
  padding: 10px;
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: #fff;
}

.blog-box > a > img {
  border-radius: 7px;
  box-shadow: none;
}

footer {
  background: #101827;
  color: #d7dee8;
}

footer h4,
footer a,
footer p {
  color: #d7dee8;
}

footer section.two {
  border-top-color: rgba(255, 255, 255, 0.12);
}

footer p.logo img {
  filter: none;
  background: #fff;
}

@media screen and (max-width: 1080px) {
  .bkg-hero-search {
    min-height: 0;
  }

  #home-cat {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .simple-prod,
  .simple-prod.medium,
  .simple-prod.large {
    width: calc(33.333% - 10px);
  }
}

@media screen and (max-width: 767px) {
  header {
    height: 54px;
  }

  header .container.cmain {
    height: 54px;
  }

  body {
    padding-top: 54px;
  }

  .bkg-hero-search {
    padding: 34px 12px 36px;
    background:
      linear-gradient(180deg, rgba(8, 15, 32, 0.92), rgba(8, 15, 32, 0.76)),
      url("https://ridesharerenter.com/oc-content/uploads/0/11_thumbnail.jpg") center / cover no-repeat;
  }

  .bkg-hero-search .bkg-hero-title {
    font-size: 36px;
  }

  .bkg-hero-search .bkg-hero-subtitle {
    font-size: 16px;
  }

  .bkg-search-bar {
    border-radius: 12px;
    padding: 8px;
  }

  .bkg-search-divider {
    display: none;
  }

  .bkg-search-field {
    border-radius: 8px;
    border: 1px solid var(--rr-line);
  }

  .bkg-search-btn {
    width: 100%;
    border-radius: 8px;
  }

  .home-browse .box {
    display: block;
  }

  .home-browse-head {
    position: relative;
    top: auto;
    margin-bottom: 24px;
  }

  body#home .home-browse h2 {
    display: block;
    margin-top: 8px;
  }

  #home-cat {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  #home-cat a {
    min-height: 104px;
  }

  .home-proof-grid {
    grid-template-columns: 1fr;
  }

  .simple-prod,
  .simple-prod.medium,
  .simple-prod.large {
    width: calc(50% - 7px);
  }
}

@media screen and (max-width: 540px) {
  body#home > .content > section.home-search.home-browse,
  body#home > .content > section {
    padding: 28px 0;
  }

  .home-browse h1 {
    font-size: 28px;
  }

  .home-cta-row .btn {
    width: 100%;
  }

  .simple-prod .title {
    font-size: 15px;
    min-height: 38px;
  }
}

body#home .bkg-hero-search .bkg-hero-title {
  color: #fff;
  font-size: 54px;
  line-height: 1.02;
  font-weight: 800;
  text-align: left;
}

body#home .bkg-hero-search .bkg-hero-subtitle {
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.45;
  text-align: left;
}

@media screen and (max-width: 767px) {
  body#home .bkg-hero-search .bkg-hero-title {
    font-size: 32px;
  }

  body#home .bkg-hero-search .bkg-hero-subtitle {
    font-size: 16px;
  }

  body#home .bkg-hero-search {
    padding-top: 24px;
    padding-bottom: 26px;
  }

  body#home .bkg-hero-content {
    margin-bottom: 16px;
  }

  body#home .bkg-hero-points,
  body#home .bkg-search-opt-tags {
    display: none;
  }

  body#home .bkg-search-options {
    margin-top: 8px;
  }
}
