/* Version 146: dedicated Marysville location page, extending the approved site design. */
body.marysville-page .mobil-page-hero h1 {
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(3.15rem, 6.4vw, 5.7rem) !important;
  text-wrap: balance;
}

body.marysville-page .mobil-page-hero p {
  text-wrap: balance;
}

body.marysville-page .marysville-page-content {
  background: linear-gradient(180deg, #0a4ea8 0%, #073b80 55%, #052f68 100%) !important;
}

body.marysville-page .marysville-location-content {
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.marysville-page .marysville-back-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

body.marysville-page .marysville-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.marysville-page .marysville-intro-head {
  margin: -4px auto 4px !important;
}

body.marysville-page .marysville-intro-head h2,
body.marysville-page .marysville-intro-head p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.marysville-page .marysville-intro-head h2 {
  max-width: 18ch !important;
}

body.marysville-page .marysville-intro-head p {
  max-width: 760px !important;
}

body.marysville-page .marysville-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 20px;
  align-items: start;
}

body.marysville-page .marysville-gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--mobil-theme-red, #d81f26);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 22, 58, .24);
}

body.marysville-page .marysville-gallery-wide {
  grid-column: 1 / -1;
}

body.marysville-page .marysville-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

body.marysville-page .marysville-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 22px;
  align-items: stretch;
}

body.marysville-page .marysville-card,
body.marysville-page .marysville-offer-card {
  margin: 0;
  border: 2px solid var(--mobil-theme-red, #d81f26);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 22, 58, .20);
}

body.marysville-page .marysville-card {
  padding: 30px;
}

body.marysville-page .marysville-eyebrow {
  margin: 0 0 10px !important;
  color: var(--mobil-theme-red, #d81f26) !important;
  -webkit-text-fill-color: var(--mobil-theme-red, #d81f26) !important;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
}

body.marysville-page .marysville-card h2,
body.marysville-page .marysville-offer-card h2 {
  max-width: none !important;
  margin: 0 0 18px !important;
  color: var(--mobil-theme-blue, #0a4ea8) !important;
  -webkit-text-fill-color: var(--mobil-theme-blue, #0a4ea8) !important;
  font-size: clamp(2.15rem, 3.6vw, 3.2rem) !important;
  line-height: 1 !important;
  text-align: left !important;
  text-wrap: balance;
}

body.marysville-page .marysville-visit-card address {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #405571;
  font-style: normal;
  line-height: 1.6;
}

body.marysville-page .marysville-visit-card address strong {
  color: #111111;
  font-size: 1.05rem;
}

body.marysville-page .marysville-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

body.marysville-page .marysville-actions .btn,
body.marysville-page .marysville-outline-btn,
body.marysville-page .marysville-offer-card .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 21px !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
  text-align: center;
  text-decoration: none;
}

body.marysville-page .marysville-outline-btn {
  border: 2px solid var(--mobil-theme-blue, #0a4ea8);
  background: #ffffff;
  color: var(--mobil-theme-blue, #0a4ea8);
}

body.marysville-page .marysville-outline-btn:hover {
  background: #eef4ff;
}

body.marysville-page .marysville-review-link {
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0;
}

body.marysville-page .marysville-hours-card {
  display: flex;
  flex-direction: column;
}

body.marysville-page .marysville-hours-card .location-hours {
  flex: 1;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid #d5e0ef !important;
  border-radius: 16px !important;
  background: #eef4ff !important;
}

body.marysville-page .marysville-hours-card .hours-row {
  min-height: 44px;
  padding: 8px 0;
}

body.marysville-page .marysville-offer-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: 34px;
}

body.marysville-page .marysville-offer-card::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: -28%;
  z-index: -1;
  width: min(360px, 42%);
  height: 138%;
  background: url('assets/pennzoil-logo.png') right bottom / contain no-repeat;
  opacity: .10;
  pointer-events: none;
}

body.marysville-page .marysville-offer-copy {
  max-width: 760px;
}

body.marysville-page .marysville-offer-card p:not(.marysville-eyebrow) {
  margin: 0 !important;
  color: #405571 !important;
  -webkit-text-fill-color: #405571 !important;
  line-height: 1.7;
}

body.marysville-page .marysville-offer-card .btn {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

body.marysville-page .marysville-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body.marysville-page .marysville-quick-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

body.marysville-page .marysville-quick-card h3 {
  margin: 0 0 12px !important;
  color: var(--mobil-theme-blue, #0a4ea8) !important;
  -webkit-text-fill-color: var(--mobil-theme-blue, #0a4ea8) !important;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: .02em;
}

body.marysville-page .marysville-quick-card p:not(.marysville-eyebrow) {
  flex: 1;
  margin: 0 0 18px !important;
  color: #405571 !important;
  -webkit-text-fill-color: #405571 !important;
  line-height: 1.7;
}

body.marysville-page .marysville-quick-card .text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  color: var(--mobil-theme-blue, #0a4ea8) !important;
  -webkit-text-fill-color: var(--mobil-theme-blue, #0a4ea8) !important;
}

body.marysville-page .marysville-back-link:focus-visible,
body.marysville-page .marysville-outline-btn:focus-visible,
body.marysville-page .marysville-review-link:focus-visible,
body.marysville-page .marysville-quick-card .text-link:focus-visible {
  outline: 3px solid var(--mobil-theme-red, #d81f26);
  outline-offset: 3px;
}

@media (min-width: 761px) {
  body.marysville-page .marysville-page-content {
    padding-top: 68px !important;
    padding-bottom: 76px !important;
  }
}

@media (max-width: 900px) {
  body.marysville-page .marysville-details-grid {
    grid-template-columns: 1fr;
  }

  body.marysville-page .marysville-offer-card {
    grid-template-columns: 1fr;
  }

  body.marysville-page .marysville-offer-card .btn {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  body.marysville-page .mobil-page-hero h1 {
    max-width: 13ch !important;
    font-size: clamp(1.95rem, 9vw, 2.8rem) !important;
    line-height: 1 !important;
  }

  body.marysville-page .mobil-page-hero p {
    max-width: 28ch !important;
    font-size: 1rem !important;
  }

  body.marysville-page .marysville-location-content {
    gap: 22px;
  }

  body.marysville-page .marysville-intro-head {
    margin-bottom: 2px !important;
  }

  body.marysville-page .marysville-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.marysville-page .marysville-gallery-wide {
    grid-column: auto;
  }

  body.marysville-page .marysville-gallery-item,
  body.marysville-page .marysville-card,
  body.marysville-page .marysville-offer-card {
    border-radius: 18px;
  }

  body.marysville-page .marysville-card,
  body.marysville-page .marysville-offer-card {
    padding: 22px;
  }

  body.marysville-page .marysville-card h2,
  body.marysville-page .marysville-offer-card h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem) !important;
  }

  body.marysville-page .marysville-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.marysville-page .marysville-actions .btn,
  body.marysville-page .marysville-outline-btn,
  body.marysville-page .marysville-offer-card .btn {
    width: 100% !important;
  }

  body.marysville-page .marysville-review-link {
    width: 100%;
  }

  body.marysville-page .marysville-offer-card::after {
    right: -9%;
    bottom: -12%;
    width: 62%;
    height: 82%;
    opacity: .08;
  }

  body.marysville-page .marysville-quick-links {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.marysville-page .marysville-quick-card {
    min-height: 0;
  }
}
