.cv-airflow {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #efeeeb;
  container-type: inline-size;
}

.cv-airflow__media {
  position: relative;
  width: 100%;
  margin: 0;
}

.cv-airflow__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border: 0;
}

.cv-airflow__overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.cv-airflow__arrow {
  fill: #ed3029;
  fill-opacity: 0.8;
  stroke: #c8211c;
  stroke-width: 1;
  stroke-opacity: 0.18;
  opacity: 0.85;
  transform: translateY(0);
}

.cv-airflow[data-cv-motion="animated"] .cv-airflow__arrow {
  animation: cv-airflow-rise 3.15s linear infinite;
  animation-play-state: paused;
}

.cv-airflow[data-cv-motion="animated"] .cv-airflow__arrow--middle {
  animation-delay: -1.05s;
}

.cv-airflow[data-cv-motion="animated"] .cv-airflow__arrow--right {
  animation-delay: -2.1s;
}

.cv-airflow[data-cv-playback="running"] .cv-airflow__arrow {
  animation-play-state: running;
}

@keyframes cv-airflow-rise {
  0% {
    transform: translateY(0);
    opacity: 0.06;
  }
  16% {
    opacity: 0.86;
  }
  62% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-68px);
    opacity: 0;
  }
}

.cv-airflow__toggle {
  position: absolute;
  z-index: 1;
  left: clamp(12px, 1.5vw, 24px);
  bottom: clamp(12px, 1.5vw, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 11px 15px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background: rgb(24 28 31 / 84%);
  color: #fff;
  font: 500 14px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cv-airflow__toggle[hidden] {
  display: none;
}

.cv-airflow__toggle:hover {
  background: rgb(24 28 31 / 96%);
}

.cv-airflow__toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #202b33;
}

.cv-airflow__toggle-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: currentColor;
  pointer-events: none;
}

.cv-airflow__toggle-play,
.cv-airflow__toggle[data-cv-action="play"] .cv-airflow__toggle-pause {
  display: none;
}

.cv-airflow__toggle[data-cv-action="play"] .cv-airflow__toggle-play {
  display: block;
}

/* Without JavaScript, all three arrows stay visible and still. A user's explicit
   play action can enable motion; the script also listens for preference changes. */
@media (prefers-reduced-motion: reduce) {
  .cv-airflow:not([data-cv-motion="animated"]) .cv-airflow__arrow {
    animation: none;
    transform: translateY(0);
    opacity: 0.85;
  }
}

/* Approved full-width panel below the room. Text remains editable in WordPress. */
#gerhman-floor-convectors {
  scroll-margin-top: 130px;
}

#gerhman-floor-convectors .cv-airflow {
  height: auto;
  aspect-ratio: auto;
  background: #252525;
}

#gerhman-floor-convectors .cv-airflow__panel {
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
  width: auto;
  box-sizing: border-box;
  margin: -20px 16px 20px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 13px;
  background: rgb(43 40 39 / 88%);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 9%);
  font-family: inherit;
  text-align: left;
}

#gerhman-floor-convectors .cv-airflow__panel h3 {
  margin: 0 0 10px;
  color: #fff !important;
  font-family: inherit;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

#gerhman-floor-convectors .cv-airflow__panel p {
  margin: 0;
  color: #fff !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: normal;
}

#gerhman-floor-convectors .cv-airflow__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 46px;
  margin: 18px 0 0;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #bd1d35;
  color: #fff !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: normal;
  text-decoration: none;
  text-align: center;
}

#gerhman-floor-convectors .cv-airflow__cta:hover {
  background: #a7182e;
}

#gerhman-floor-convectors .cv-airflow__cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

#gerhman-floor-convectors .cv-airflow__toggle {
  top: 12px;
  left: 12px;
  bottom: auto;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 10px;
  background: rgb(38 38 39 / 75%) !important;
  color: #fff !important;
  font-size: 14px;
  min-height: 40px;
  padding: 10px 13px;
}

@media (pointer: coarse) {
  #gerhman-floor-convectors .cv-airflow__toggle {
    min-height: 44px;
  }
}
