/* Trend Haber v0.3.22.0 — mobile artwork ratio + clean public test chrome.
   Only phone-sized hero cards: original left/right columns and under-hero strip
   remain present and keep independent slide controls. No data/DB edits. */

/* Safety for any template-driven legacy warning outside the modern layouts.
   This is VISUAL ONLY; X-Robots-Tag and meta robots are not changed. */
.thv3-test-banner, .th-test-note, .preview-notice {display:none!important;}

@media (max-width:730px) {
  /* A right headline artwork is 16:9 and the left vertical artwork ~285:540.
     To show BOTH without crop, aspect match their cell widths and heights.
     23/77 column split is the geometrical match, not a magic fixed height. */
  body .site-content .hero {
    grid-template-columns:minmax(0,23%) minmax(0,1fr)!important;
    gap:6px!important;
    height:auto!important;
    min-height:0!important;
    align-items:stretch!important;
  }
  body .site-content .hero-right {
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
  }
  body .site-content .hero-right>.thv3-slides {
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
    flex:0 0 auto!important;
    overflow:hidden!important;
    background:#111a28!important;
  }
  body .site-content .hero-right>.thv3-slides .thv3-slide,
  body .site-content .hero-right>.thv3-slides .pic-card {
    height:100%!important;min-height:0!important;
  }
  body .site-content .hero-right .thv3-slide .hero-main-card.thv3197-artwork {
    background:#111a28!important;
  }
  /* Previous fix blurred the photo in the letterbox. No letterbox now. */
  body .site-content .hero-right .thv3-slide .hero-main-card.thv3197-artwork::before {
    content:none!important;display:none!important;
  }
  body .site-content .hero-right .thv3-slide .hero-main-card.thv3197-artwork>img {
    width:100%!important;height:100%!important;
    object-fit:contain!important;object-position:center!important;
    background:transparent!important;
  }
  /* Both sliders and both dot rows remain one joined card. */
  body .site-content .hero-left {display:flex!important;flex-direction:column!important;min-width:0!important;}
  body .site-content .hero-left>.thv3-slides {
    flex:1 1 auto!important;height:auto!important;min-height:0!important;
  }
  body .site-content .hero-left .thv3-slide,
  body .site-content .hero-left .hero-left-card {height:100%!important;}
  body .site-content .hero-left>.thv3212-left-pager,
  body .site-content .hero-right>.thv3212-right-pager {
    margin-top:0!important;
    flex:0 0 26px!important;
  }
  /* Mobile uses swipe + independent dot controls, never navigation arrows. */
  body .site-content .hero-left>.hero-left-nav,
  body .site-content .hero-right>.thv3213-right-nav {
    display:none!important;visibility:hidden!important;pointer-events:none!important;
  }
}
