/* RelaxBaires mobile home corrections.
 * Loaded after hero-art.css so these rules are the final mobile presentation layer.
 */

@media (max-width: 720px) {
  /* Native Featured slider: preserve the EscortWP two-up carousel, but keep
   * each card portrait-oriented and integrate the name/location ribbon over
   * the image instead of adding a heavy block below it. */
  body.home.tgm-site-relaxbaires .all-header-slider .slide {
    position: relative;
    overflow: hidden;
    background: #0c1422;
  }

  body.home.tgm-site-relaxbaires .all-header-slider .slide .girlimg {
    height: auto !important;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #0c1422;
  }

  body.home.tgm-site-relaxbaires .all-header-slider .slide .girlimg > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top;
  }

  body.home.tgm-site-relaxbaires .all-header-slider .girlinfo {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3;
    display: block !important;
    width: 100% !important;
    min-height: 74px !important;
    max-height: 74px !important;
    padding: 9px 10px 10px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(111, 30, 91, .44), rgba(55, 10, 48, .36)) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 143, 219, .18) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05) !important;
    -webkit-backdrop-filter: blur(5px) saturate(112%);
    backdrop-filter: blur(5px) saturate(112%);
  }

  body.home.tgm-site-relaxbaires .all-header-slider .modelinfo {
    display: block !important;
  }

  body.home.tgm-site-relaxbaires .all-header-slider .modelname {
    display: block !important;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    margin: 0 0 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .28);
  }

  body.home.tgm-site-relaxbaires .all-header-slider .modelinfo-location {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    color: rgba(255, 255, 255, .76) !important;
    font-size: 11px !important;
    line-height: 1.28 !important;
  }

  body.home.tgm-site-relaxbaires .all-header-slider .labels {
    top: 7px !important;
    left: 6px !important;
  }

  body.home.tgm-site-relaxbaires .all-header-slider .label {
    font-size: 10px !important;
    line-height: 1.1 !important;
    padding: 3px 6px !important;
  }

  body.home.tgm-site-relaxbaires .all-header-slider .owl-prev,
  body.home.tgm-site-relaxbaires .all-header-slider .owl-next {
    top: 46% !important;
  }

  /* Regular/Premium profile cards below the carousel: keep the information in
   * normal flow and show the complete uploaded photo inside a stable frame. */
  body.home.tgm-site-relaxbaires .bodybox-homepage .girl .thumb {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    overflow: hidden !important;
    background: #080d16 !important;
  }

  body.home.tgm-site-relaxbaires .bodybox-homepage .girl .thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }

  body.home.tgm-site-relaxbaires .bodybox-homepage .girl .model-info,
  body.home.tgm-site-relaxbaires .bodybox-homepage .girl .girlinfo,
  body.home.tgm-site-relaxbaires .bodybox-homepage .girl .desc {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
  }

  body.home.tgm-site-relaxbaires .bodybox-homepage .girl {
    height: auto !important;
  }

  /* Premium hero: approved Buenos Aires artwork becomes the background layer on mobile. */
  .tgm-rba-premium-hero {
    isolation: isolate;
  }

  .tgm-rba-premium-hero:before {
    z-index: 1;
    background: linear-gradient(180deg, rgba(5, 9, 18, .58) 0%, rgba(7, 11, 20, .77) 58%, rgba(7, 11, 20, .94) 100%) !important;
    background-size: auto !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .tgm-rba-premium-hero__glow {
    display: none;
  }

  .tgm-rba-premium-hero__inner {
    position: relative;
    z-index: 2;
    display: block;
    width: min(calc(100% - 30px), 1180px);
    padding: 28px 0 22px;
    min-height: 0;
  }

  .tgm-rba-premium-hero__copy {
    position: relative;
    z-index: 3;
  }

  .tgm-rba-premium-hero__city {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    z-index: 0 !important;
    opacity: .5;
    filter: none !important;
    background-size: cover !important;
    background-position: center 56% !important;
    background-repeat: no-repeat !important;
    pointer-events: none;
  }

  .tgm-rba-premium-hero__city:before {
    display: none !important;
  }

  .tgm-rba-premium-hero__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .tgm-rba-premium-hero h1 {
    max-width: 620px;
    font-size: clamp(34px, 9.4vw, 43px);
    line-height: 1.01;
    letter-spacing: -.04em;
    text-shadow: 0 3px 22px rgba(0, 0, 0, .42);
  }

  .tgm-rba-premium-hero__lead {
    margin-top: 14px;
    max-width: 560px;
    font-size: 14px;
    line-height: 1.45;
    color: #d3d9e4;
  }

  .tgm-rba-premium-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .tgm-rba-premium-hero__actions a {
    width: 100%;
    min-height: 43px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 13px;
  }

  .tgm-rba-premium-hero__areas {
    display: block;
    margin-top: 17px;
  }

  .tgm-rba-premium-hero__areas strong {
    display: block;
    padding-top: 0;
    margin-bottom: 8px;
    font-size: 10px;
  }

  .tgm-rba-premium-hero__areas > div {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tgm-rba-premium-hero__areas > div::-webkit-scrollbar {
    display: none;
  }

  .tgm-rba-premium-hero__areas a,
  .tgm-rba-premium-hero__areas span {
    flex: 0 0 auto;
    min-height: 29px;
    padding: 0 11px;
    white-space: nowrap;
    font-size: 11px;
    background: rgba(6, 10, 18, .45);
    backdrop-filter: blur(5px);
  }

  .tgm-rba-premium-strip {
    position: relative;
    z-index: 2;
    grid-template-columns: 1fr 1fr !important;
    background: rgba(5, 9, 17, .88);
  }

  .tgm-rba-premium-strip > div {
    min-width: 0;
    padding: 11px 12px !important;
    border-right: 1px solid rgba(255, 255, 255, .07) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
  }

  .tgm-rba-premium-strip > div:nth-child(even) {
    border-right: 0 !important;
  }

  .tgm-rba-premium-strip > div:nth-last-child(-n+2) {
    border-bottom: 0 !important;
  }

  .tgm-rba-premium-strip strong {
    font-size: 12px;
    line-height: 1.25;
  }

  .tgm-rba-premium-strip span {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.35;
  }
}

/* Hover is a desktop enhancement, not a touch interaction contract. */
@media (hover: none), (pointer: coarse) {
  body.home.tgm-site-relaxbaires .girl:hover {
    transform: none !important;
    border-color: rgba(255, 255, 255, .08) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22) !important;
  }

  body.home.tgm-site-relaxbaires .girl:hover .thumb img {
    transform: none !important;
  }
}
