.rzads-slot,
.rzads-slot * {
  box-sizing: border-box;
}

.rzads-slot {
  position: relative;
  display: block;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #d6dee3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(35, 45, 52, 0.07);
}

.rzads-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(52, 61, 66, 0.9);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.rzads-link {
  display: block;
  color: #343d42;
  text-decoration: none;
}

.rzads-link:hover,
.rzads-link:focus {
  color: #343d42;
  text-decoration: none;
}

.rzads-slot img {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
}

.rzads-title {
  display: block;
  padding: 10px 14px;
  overflow: hidden;
  color: #343d42;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rzads-home_banner {
  width: min(1200px, calc(100% - 40px));
  margin-top: 28px;
  margin-bottom: 34px;
}

.rzads-home_banner img {
  aspect-ratio: 20 / 3;
  min-height: 110px;
  max-height: 180px;
}

.rzads-search_inline {
  width: min(728px, 100%);
  margin-top: 24px;
  margin-bottom: 24px;
}

.rzads-search_inline img {
  aspect-ratio: 728 / 90;
  min-height: 80px;
  max-height: 130px;
}

.rzads-item_sidebar {
  width: 100%;
  margin-top: 0;
  margin-bottom: 24px;
}

.rzads-item_sidebar img {
  aspect-ratio: 7 / 5;
  min-height: 210px;
  max-height: 290px;
}

@media (max-width: 720px) {
  .rzads-home_banner {
    width: calc(100% - 24px);
    margin-top: 20px;
    margin-bottom: 24px;
  }

  .rzads-home_banner img,
  .rzads-search_inline img,
  .rzads-item_sidebar img {
    min-height: 0;
    max-height: none;
  }

  .rzads-title {
    white-space: normal;
  }
}

/* ROVANZIO_ADS_ROTATION_V2_START */
.rzads-carousel {
  isolation: isolate;
}

.rzads-carousel-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.rzads-slide {
  display: none;
  position: relative;
  width: 100%;
}

.rzads-slide.is-active {
  display: block;
  animation: rzadsFadeIn 360ms ease both;
}

.rzads-slide .rzads-link {
  display: block;
}

.rzads-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 7;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(52, 61, 66, 0.86);
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 34px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 160ms ease, background 160ms ease, transform 160ms ease;
}

.rzads-carousel:hover .rzads-carousel-arrow,
.rzads-carousel:focus-within .rzads-carousel-arrow {
  opacity: 1;
}

.rzads-carousel-arrow:hover,
.rzads-carousel-arrow:focus {
  background: rgba(30, 37, 41, 0.96);
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.rzads-carousel-prev {
  left: 10px;
}

.rzads-carousel-next {
  right: 10px;
}

.rzads-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 31px;
  padding: 5px 12px;
  border-top: 1px solid #e1e7ea;
  background: #ffffff;
}

.rzads-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.rzads-carousel-dot {
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b8c2c8;
  cursor: pointer;
  transition: width 160ms ease, border-radius 160ms ease, background 160ms ease;
}

.rzads-carousel-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: #087f78;
}

.rzads-carousel-dot:focus {
  outline: 2px solid #087f78;
  outline-offset: 3px;
}

.rzads-carousel-counter {
  color: #68757d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

@keyframes rzadsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .rzads-slide.is-active {
    animation: none;
  }
}

@media (max-width: 720px) {
  .rzads-carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 27px;
    line-height: 30px;
    opacity: 0.92;
  }
}
/* ROVANZIO_ADS_ROTATION_V2_END */

/* ROVANZIO_ADS_NO_TITLE_V3_START */
/* Titlul administrativ nu mai ocupă spațiu sub banner. */
.rzads-slot .rzads-title {
  display: none !important;
}

.rzads-slot .rzads-link {
  line-height: 0 !important;
}

.rzads-slot img {
  vertical-align: top !important;
}
/* ROVANZIO_ADS_NO_TITLE_V3_END */

/* ROVANZIO_ADS_FIXED_SIDES_ADAPTIVE_V8_START */

/* Pozițiile publicitare existente rămân neschimbate. */
.rx-search-main > .rzads-home_banner {
  width: 100% !important;
  max-width: none !important;
  margin: 8px 0 30px !important;
}

.rx-search-main > .rzads-home_banner img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 180px !important;
  aspect-ratio: 20 / 3;
  object-fit: cover !important;
}

.rx-search-main .rzads-search_inline {
  width: min(728px, 100%) !important;
  margin: 24px auto !important;
}

.rx-item-side > .rzads-item_sidebar {
  width: 100% !important;
  margin: 0 0 24px !important;
}

/*
 * Dimensiunile și pozițiile reclamelor laterale sunt calculate de JavaScript
 * din marginile reale ale elementului .wrapper și din înălțimea viewportului.
 * Astfel se măresc pe monitoare mari, dar nu pot intra peste conținut și nu
 * pot ieși din ecran. Până la finalizarea calculului rămân ascunse.
 */
.rzads-fixed-sides {
  position: static;
  width: 0;
  height: 0;
  pointer-events: none;
}

.rzads-fixed-rail {
  position: fixed;
  top: var(--rzads-adaptive-top, 80px);
  z-index: 30;
  display: none;
  width: var(--rzads-adaptive-width, 160px);
  height: var(--rzads-adaptive-height, 600px);
  max-width: none;
  max-height: none;
  margin: 0;
  transform: none;
  pointer-events: none;
}

html.rzads-fixed-adaptive-ready .rzads-fixed-rail {
  display: block;
}

.rzads-fixed-rail-left {
  left: var(--rzads-adaptive-left, 8px);
  right: auto;
}

.rzads-fixed-rail-right {
  right: var(--rzads-adaptive-right, 8px);
  left: auto;
}

.rzads-fixed-rail > .rzads-slot {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d5dde1 !important;
  border-radius: clamp(8px, 0.7vw, 12px) !important;
  background: #ffffff !important;
  box-shadow: 0 12px 32px rgba(35, 45, 52, 0.15) !important;
  pointer-events: auto;
}

.rzads-fixed-rail .rzads-carousel,
.rzads-fixed-rail .rzads-carousel-stage,
.rzads-fixed-rail .rzads-slide,
.rzads-fixed-rail .rzads-link {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: #ffffff;
}

.rzads-fixed-rail .rzads-slide:not(.is-active) {
  display: none !important;
}

.rzads-fixed-rail .rzads-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #ffffff;
}

.rzads-fixed-rail .rzads-label {
  top: clamp(6px, 0.55vw, 10px);
  left: clamp(6px, 0.55vw, 10px);
  min-height: 18px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  font-size: clamp(8px, 0.55vw, 10px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

/* Rotația automată continuă, fără controale care ar acoperi poza verticală. */
.rzads-fixed-rail .rzads-carousel-arrow,
.rzads-fixed-rail .rzads-carousel-footer {
  display: none !important;
}

/* Footerul și headerul trec peste reclamele fixe. */
.rx-footer {
  position: relative !important;
  z-index: 90 !important;
  isolation: isolate;
  background: var(--rx-dark, #3f4447) !important;
}

.rx-header {
  position: relative;
  z-index: 100 !important;
}

/* JavaScript elimină această clasă când nu există spațiu sigur. */
html:not(.rzads-fixed-adaptive-ready) .rzads-fixed-rail {
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 720px) {
  .rx-search-main > .rzads-home_banner {
    width: 100% !important;
    margin: 14px 0 24px !important;
  }

  .rx-search-main > .rzads-home_banner img {
    max-height: none !important;
    aspect-ratio: auto;
    object-fit: contain !important;
  }
}

/* ROVANZIO_ADS_FIXED_SIDES_ADAPTIVE_V8_END */

/* ROVANZIO_ADS_DEVICE_SPLIT_V30_START */
/*
 * Reclamele mobile si desktop au campanii/pozitii independente.
 * Desktopul ramane comportamentul implicit; sloturile mobile nu ocupa spatiu.
 */
.rzads-device-mobile,
.rzads-mobile-feed-row {
  display: none !important;
}

@media (max-width: 720px) {
  /* Nicio reclama desktop nu este fortata intr-un viewport de telefon. */
  .rzads-device-desktop,
  .rzads-fixed-sides {
    display: none !important;
  }

  .rzads-device-mobile {
    display: block !important;
  }

  .rzads-mobile_top {
    width: min(320px, calc(100% - 16px)) !important;
    max-width: 100% !important;
    margin: 14px auto 22px !important;
  }

  .rzads-mobile_inline,
  .rzads-mobile_item {
    width: min(320px, 100%) !important;
    max-width: 100% !important;
    margin: 20px auto !important;
  }

  .rzads-mobile_top img,
  .rzads-mobile_inline img,
  .rzads-mobile_item img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  /* In grila cu doua anunturi pe rand reclama ocupa singura randul complet. */
  .rzads-mobile-feed-row {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: visible !important;
  }

  .rzads-mobile-feed-row > .rzads-mobile_inline {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rzads-device-mobile .rzads-label {
    top: 6px;
    left: 6px;
    min-height: 18px;
    padding: 3px 6px;
    font-size: 9px;
  }

  .rzads-device-mobile .rzads-carousel-arrow {
    width: 28px;
    height: 28px;
    font-size: 22px;
    line-height: 24px;
  }

  .rzads-device-mobile .rzads-carousel-prev { left: 6px; }
  .rzads-device-mobile .rzads-carousel-next { right: 6px; }

  .rzads-device-mobile .rzads-carousel-footer {
    min-height: 26px;
    padding: 4px 8px;
  }
}

@media (min-width: 721px) {
  /* Protectie explicita: reclamele mobile nu pot aparea pe desktop. */
  .rzads-device-mobile,
  .rzads-mobile-feed-row {
    display: none !important;
  }
}
/* ROVANZIO_ADS_DEVICE_SPLIT_V30_END */

