html {
    scroll-behavior: auto;
}

* {
    margin: 0;
    padding: 0;
}

body {
  background-color: var(--color-white);
  font-size: clamp(16px, 2vw, 20px);
}

h1 {
  color: #000;
  font-size: clamp(2rem, 2rem + 2vw, 6.25rem);
  font-family: "univers-next-pro-extended", sans-serif;
  font-weight: 200;
  font-style: normal;
  margin: 0 0 2rem 0;
}

h2 {
  font-family: "univers-next-pro-condensed", sans-serif;
  font-weight: 600;
  font-size: 1.875rem;
  color: #000;
  margin: 0 0 1rem 0;
  line-height: 1.25;
}

h3 {
  font-family: "univers-next-pro-condensed", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  border-top: 1px solid gray;
  padding: 1.75rem 0;
  color: #000;
  margin: 0 0 1rem 0;
}

p {
  color: #000;
  font-family: "univers-next-pro", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2vw, 20px);
  font-style: normal;
  margin: 0 0 1rem 0;
}

a:visited {
  color: #ffffff;
}

hr {
  margin: 1rem 0;
}

ul {
  margin: 0 0 1.25rem 0;
}

sup {
  top: 3px;
  font-size: 1.5rem;
  font-family: "univers-next-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
}

figure {
    margin: 0 0 0 0;
}

.wp-block-image {
    margin: 0 0 0 0;
}

.h-scroll-container {
	gap: 2rem;
	margin-top: 4rem;
}

.wp-block-buttons {
  gap: 0;
}

.wp-block-buttons .wp-block-button__link {
  font-family: "univers-next-pro-condensed", sans-serif;
  font-size: 1.25rem;
  width: 100%;
  height: 100%;
  line-height: 100%;
}

.wp-block-accordion-heading {
  margin: 0 0 0 0;
}

.wp-block-accordion-heading__toggle-title {
  font-family: "univers-next-pro-condensed", sans-serif;
  text-decoration: none !important;
}

.wp-block-accordion-heading__toggle-icon {
  border-radius: 50%;
  border: 1px solid #000;
  width: 30px;
  height: 30px;
  line-height: 25px;
  display: block;
  text-align: center;
}

.wp-block-accordion-panel {
  display: block;
  height: 0;
  overflow: hidden;
}

.wp-block-accordion-panel p {
  opacity: 0;
  padding: 0 0 30px;
}

.wp-block-accordion-heading:has(button.is-open) button span:last-child {
  transform: rotateZ(45deg);
}

.wp-block-accordion-heading:has(button.is-open) + .wp-block-accordion-panel p {
  opacity: 1;
}

.wp-block-hidden {
  display: none !important;
}

.sub-header::before {
	content: "";
	display: inline-block;
	width: 30px;
	height: 5px;
	background-color: #FFCD11;
	vertical-align: middle;
	margin-right: 10px;
}

.dark-sub-header::before {
	content: "";
	display: inline-block;
	width: 30px;
	height: 5px;
	background-color: #000000;
	vertical-align: middle;
	margin-right: 10px;
}

.h-full {
  height: 100%;
}

.ginput_container input {
  border: solid 1px #d2d2d2 !important;
}

/* Custom styles for the compact cat theme */
.cc-section {
  padding: 4rem 0;
  width: 100%;
  position: relative;
}

.cc-section > .wp-block-group__inner-container {
  width: 100%;
  max-width: 1382px;
  margin: 0 auto;
  padding: 0 30px;
}

.cc-section .wp-block-columns {
  display: flex;
}

.cc-hero {
  width: 100%;
  padding-top: 68px;
  background-image: linear-gradient(141deg, black 0%, black 59%, #ffcd11 50%, #ffcd11 100%);
}

.cc-hero .wp-block-column {
  flex: 1;
}

.cc-hero .wp-block-column:last-child figure {
  border-radius: 20px;
  overflow: hidden;
}

.cc-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.cc-hero .hero-cta {
  display: inline-flex;
}

.cc-hero .hero-cta #hero-call-now a {
  border: solid 2px #fff;
  background-color: #000;
}

.cc-hero .hero-cta #hero-rent-buy a {
  border: solid 0px #ffcd11;
  background-color: #ffcd11;
}

.cc-hero .hero-cta #hero-parts-service a {
  border: solid 2px #ffcd11;
  background-color: #000;
}

#cc-team .team-card {
  flex: 0 1 276px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  will-change: opacity, transform;
}

#cc-team .rep-name {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

#cc-team .rep-title {
  font-size: 1rem;
  line-height: 1;
  font-weight: 100;
  margin: 0;
}

#rental-grid figure, #rental-grid figure a, #rental-grid figure img,
#buy-grid figure, #buy-grid figure a, #buy-grid figure img {
  width: 100%;
  display: block;
}

.rent-buy .product-card {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  overflow: hidden;
  gap: 0;
  opacity: 0;
  transform: translateY(-20px);
}

.rent-buy .product-card figure {
  overflow: hidden;
}

.rent-buy .product-card:hover img {
  cursor: pointer;
  transform-origin: center;
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

#rent-buy .product-card:hover a {
  text-decoration: none;
  color: #fff;
}

.rent-buy-switch {
  --toggle-position: 141px;
  --toggle-color: #ffcd11;
  --toggle-text-color: #000;
}

#rent-buy .rent-buy-switch .wp-block-button:hover a {
  color: #fff;
}

#rent-buy #btn_buy a {
  color: var(--toggle-text-color);
}

#rent-buy .rent-buy-switch.wp-block-buttons {
  border: solid 1px #fff;
  border-radius: 30px;
  overflow: hidden;
  padding: 6px;
  justify-self: flex-start;
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
}

#rent-buy .rent-buy-switch.wp-block-buttons::before {
  content: "";
  position: absolute;
  top: 6px;
  width: 50%;
  height: 50px;
  border-radius: 30px;
  left: var(--toggle-position);
  background-color: var(--toggle-color);
}

#rent-buy .rent-buy-switch .wp-block-button {
  width: 140px;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  text-align: center;
  transform: translateZ(10px);
}

#rent-buy .rent-buy-switch .wp-block-button .wp-block-button__link {
  text-decoration: none;
  background-color: transparent;
}

#rent-buy #warrencat-rentals-logo {
    opacity: 0;
}

#rent-buy #warrencat-rentals-logo img {
    width: 200px;
}

#cc-offers .cc-offer-card li {
  list-style-type: square;
}

#cc-support .sub-header::before {
  margin-top: 10px;
}

#cc-support .block-support {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  padding: 0;
}

#cc-support .block-support .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#cc-contact form .button.gform_button {
  color: #000;
  background: #ffcd11;
  outline: 0;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 12px 20px;
  text-transform: uppercase;
  width: 100%;
}

#cc-contact form .button.gform_button svg path {
  stroke: #000;
}

.warren-cat-map-directions {
  display: none;
}

#cc-contact .gform-theme--foundation .gfield--width-half,
#cc-contact .gform-theme--foundation .gfield--width-two-thirds {
  grid-column: span 12;
}

#cc-contact .gform-theme--foundation .gfield--width-third {
  grid-column: span 6;
}

#cc-contact .cc-form-container {
  padding: 1.25rem max(1.25rem, 4vw);
  border-radius: 12px;
}

#cc-contact .gfield_label.gform-field-label {
  font-size: 1.25rem;
}

#cc-contact .gform_fields {
  row-gap: 1.7rem;
}

.grit-border {
  position: relative;
}

.grit-border img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1;
  height: 2rem !important;
}

/* Hide Chatbot */
#stickyButtons, #contactOverlay, #contactBox {
  display: none !important;
}

/* Mobile Styles */
@media (max-width: 1012px) {
  #nav_links .wp-block-button__link {
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 970px) {
  #cc-support .cc-support-cta {
    display: flex;
    flex-direction: column;
  }
  
  #cc-support .cc-support-cta .wp-block-button {
    margin-top: 1.25rem;
  }
}

@media (max-width: 768px) {
  .cc-hero {
    padding-top: 150px;
  }
  
  .flex-row-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #nav_links {
    display: flex;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    transform: rotateX(90deg);
    border: solid 1px #ffcd11;
    border-radius: 12px;
    box-shadow: 0 50px 76px 10px #000;
    padding: 1.25rem 0;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-end;
    background: #000;
    will-change: opacity, transform;
    transition: all 0.3s ease-in-out;
  }

  #nav_links.menu-open {
    opacity: 1;
    top: 80px;
    transform: rotateX(0);
  }

  header#page-navigation .menu-toggle {
    display: inline-block;
  }

  header#page-navigation > div > div {
    justify-content: space-between;
  }
  
  #rental-grid, #buy-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #rental-grid::-webkit-scrollbar,
  #buy-grid::-webkit-scrollbar {
    display: none;
  }

  #rental-grid .product-card,
  #buy-grid .product-card {
    flex: 1 0 260px;
  }

  #cc-contact .gform-theme--foundation .gfield--width-third {
    grid-column: span 12;
  }

  .cc-form-container {
    padding: 1.75rem;
  }

  .h-scroll-container {
    gap: 1.25rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .h-scroll-container::-webkit-scrollbar {
    display: none;
  }
  
  #cc-team .h-scroll-container {
    flex-wrap: nowrap !important;
  }
  
  #cc-team .team-card {
    flex: 1 0 240px !important;
  }
}

@media (max-width: 630px) {
  .wp-block-buttons.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }
  
  .wp-block-buttons.hero-cta > .wp-block-button.btn-yellow {
    border: solid 2px #000;
  }
}

@media (max-width: 580px) {
  .flex-row-wrap {
    align-items: center;
  }
  
  #rent-buy-toggle {
      flex-direction: column;
  }
  
  #cc-offers h3 {
    text-align: center;
  }
}
