/* Homepage of etel-tuning.eu (page 819) and its unlisted preview pages. Loaded by mu-plugins/etel-home.php. */
:root {
  --etel-orange: #e84e1b;
  --etel-orange-text: #bc3d13; /* 5.5:1 with white, the same colour as the consent buttons */
  --etel-grey: #404040;
}

/* slim strip under the hero: the three info links that used to be three big orange boxes */
.etel-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  padding: 0.85rem 1rem;
  background: #f5f5f5;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.etel-strip a {
  color: var(--etel-grey);
}
.etel-strip a:hover,
.etel-strip a:focus-visible {
  color: var(--etel-orange-text);
}
@media (max-width: 549px) {
  /* three even columns, each label may wrap to two lines, instead of two links on one line and one alone */
  .etel-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    text-align: center;
  }
}

/* the page's one H1 and the line under it */
.etel-lead {
  max-width: 46rem;
  margin: 2.25rem auto 1.5rem;
  padding: 0 1rem;
  text-align: center;
}
.etel-lead h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem);
  line-height: 1.15;
  text-transform: none;
  text-wrap: balance;
}
.etel-lead p {
  margin: 0;
  color: var(--etel-grey);
  font-size: 1.0625rem;
}

/* product of the week */
.etel-potw {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2rem;
  align-items: center;
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem;
  background: #f7f7f7;
}
.etel-potw__img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: contain;
}
.etel-potw__cat {
  display: block;
  margin-bottom: 0.25rem;
  color: #6b6b6b;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.etel-potw__title {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}
.etel-potw__price {
  margin: 0.5rem 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}
@media (max-width: 549px) {
  .etel-potw {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}

/* quotes from public product reviews */
.etel-voice {
  height: 100%;
  margin: 0;
  padding: 1.25rem 1.25rem 1rem;
  border-left: 4px solid var(--etel-orange);
  background: #f7f7f7;
  font-style: normal;
}
.etel-voice p {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.etel-voice cite {
  color: #6b6b6b;
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* gift banner: a calm heading, the button does the shouting */
.etel-gift h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2rem);
}

/* christmas slide (snow comes from Flatsome's own banner effect) */
.etel-xmas .banner-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 125%, #8a2410 0, #2a1510 42%, rgba(20, 20, 20, 0) 75%);
}

/* teaser slide: two blue lights that pulse in turn, slowly (about 3 s per round, no strobing) */
.etel-blaulicht .banner-bg::before,
.etel-blaulicht .banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: etel-siren 3.2s ease-in-out infinite;
  pointer-events: none;
}
.etel-blaulicht .banner-bg::before {
  background: radial-gradient(circle at 10% 55%, rgba(70, 140, 255, 0.85), rgba(70, 140, 255, 0) 48%);
}
.etel-blaulicht .banner-bg::after {
  background: radial-gradient(circle at 90% 55%, rgba(70, 140, 255, 0.85), rgba(70, 140, 255, 0) 48%);
  animation-delay: -1.6s;
}
@keyframes etel-siren {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.9;
  }
}
@media (prefers-reduced-motion: reduce) {
  .etel-blaulicht .banner-bg::before,
  .etel-blaulicht .banner-bg::after {
    animation: none;
    opacity: 0.45;
  }
}

/* press quotes: the theme sets them at 11px italic on bright orange; bigger, upright, on a slightly darker orange (white on it is 5.5:1) */
.etel-quotes .testimonial-text,
.etel-quotes .testimonial-text p {
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.3rem);
  font-style: normal;
  line-height: 1.5;
}
.etel-quotes .testimonial-name {
  font-size: 1rem;
}
@media (max-width: 549px) {
  .etel-quotes .testimonial-box {
    display: block;
    text-align: center;
  }
  .etel-quotes .testimonial-image {
    width: 80px !important;
    margin: 0 auto 0.75rem;
  }
}
