
/* Athens Cycling Weather — Premium v2 */


.acw-premium {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

@media (max-width: 480px) {
  .acw-premium {
    border-radius: 16px;
  }
}


.acw-premium .acw-scene {
  position: relative;
  height: 390px;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
  background: linear-gradient(
    180deg, #6bb8e8 0%,
    #c6e8f5 75%,
    #b8c8c5 100%
  );
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

/* Background image layer */
.acw-premium .acw-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: acw-scenery-once 12s ease-out both;
}

/* Move once, then remain still */
@keyframes acw-scenery-once {
  from { transform: scale(1.09) translateX(2%); }
  to   { transform: scale(1) translateX(0); }
}

/* Premium weather information */
.acw-premium .acw-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(
    180deg, rgba(12, 25, 40, .55),
    transparent
  );
}

.acw-premium .acw-location strong {
  display: block;
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 700;
}

.acw-premium .acw-live {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.22);
  font-size: 11px;
  letter-spacing: .3px;
}

.acw-premium .acw-weather-reading {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 3px;
}

.acw-premium .acw-icon {
  font-size: 28px;
}

.acw-premium .acw-temperature {
  font-size: clamp(25px, 5vw, 36px);
  line-height: 1.1;
}

.acw-premium .acw-description {
  font-size: 12px;
}


/* Rider layer */


.acw-premium .acw-rider-layer {
  position: absolute;
  z-index: 3;
  bottom: 2%;
  left: 39%;
  width: min(62%, 320px);
  transform: translateX(-50%);
}


/* Premium photographic rider */

.acw-premium .acw-rider-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(
    0 7px 5px rgba(0, 0, 0, 0.18)
  );
}


/* Weather overlays */
.acw-premium .acw-weather-effects {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* SUNNY */
.acw-premium[data-weather="sunny"] .acw-scene {
  background: linear-gradient(#75c6ee, #e2eff1);
}

/* CLOUDY */
.acw-premium[data-weather="cloudy"] .acw-scene {
  background: linear-gradient(#7b8b9b, #c8d1d7);
}

/* RAINY */
.acw-premium[data-weather="rainy"] .acw-scene {
  background: linear-gradient(#536d80, #a6b7c4);
}

.acw-premium[data-weather="rainy"]
.acw-weather-effects {
  background: repeating-linear-gradient(
    105deg,
    transparent 0,
    transparent 25px,
    rgba(230,245,255,.45) 26px,
    transparent 28px,
    transparent 54px
  );
  background-size: 90px 110px;
  animation: acw-rain 0.55s linear infinite;
}

@keyframes acw-rain {
  to { background-position: -18px 110px; }
}

/* Mobile */
@media (max-width: 480px) {
  .acw-premium .acw-scene {
    height: 280px;
    border-radius: 16px;
  }

  .acw-premium .acw-header {
    padding: 15px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .acw-premium *,
  .acw-premium *::before,
  .acw-premium *::after {
    animation: none !important;
  }
}

/* Mobile rider positioning */

@media (max-width: 480px) {
  .acw-premium .acw-rider-layer {
    width: 72%;
    left: 45%;
    bottom: 2%;
  }
}


/* Solebike scrolling text bar */

/* Navy ribbon below the photograph, inside the rounded card */
.acw-premium .acw-scene {
  padding-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.acw-premium .acw-marquee {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  width: 100%;
  height: 42px;
  overflow: hidden;
  background: #102048;
  color: #ffffff;
  z-index: 6;
  border-radius: 0;
}


.acw-premium .acw-marquee-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: acw-marquee-scroll 14s linear infinite;
}

.acw-premium .acw-marquee-track span {
  font-family: "Inter Tight", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: lowercase;
  white-space: nowrap;
}

@keyframes acw-marquee-scroll {
  from {
    transform: translateX(720px);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 480px) {
  .acw-premium .acw-marquee-track {
    animation-name: acw-marquee-scroll-mobile;
  }

  @keyframes acw-marquee-scroll-mobile {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .acw-premium .acw-marquee-track {
    animation: none;
    transform: none;
    left: 12px;
  }
}


/* Solebike rain forecast advisory */
.acw-premium .acw-rain-advisory {
  position: absolute;
  top: auto;
  bottom: 50px;
  left: auto;
  right: 12px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(16, 32, 72, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 12px rgba(16, 32, 72, 0.15);
  color: #102048;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
  width: fit-content;
  max-width: calc(100% - 24px);
}

.acw-premium .acw-rain-advisory[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .acw-premium .acw-rain-advisory {
    bottom: 48px;
    right: 8px;
    font-size: 11px;
    padding: 7px 9px;
    gap: 5px;
    max-width: calc(100% - 16px);
  }
}
