/* KısaÖz V70 — phone viewport containment.
   Fix the intrinsic 960px headline track inherited from older layout presets.
   This file is intentionally last, after the V69 mobile menu fix. */
@media (max-width: 767px) {
  html, body { max-width: 100%; overflow-x: clip; overscroll-behavior-x: none; }
  body > header.v11-header, body > .top-strip, body > footer { max-width: 100%; }
  body .container, body .v5-home, body .ph31-category-page { min-width: 0; max-width: 100%; box-sizing: border-box; }
  body.ph60-reference-home .ph24-home .ph24-home-layout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }
  body.ph60-reference-home .ph24-home .ph24-home-layout > .v5-front-stage,
  body.ph60-reference-home .ph24-home .v5-front-stage,
  body.ph60-reference-home .ph24-home.ph26-hero-press .v5-front-stage,
  body.ph60-reference-home .ph24-home.ph26-hero-split .v5-front-stage,
  body.ph60-reference-home .ph24-home.ph26-hero-mosaic .v5-front-stage {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px !important;
  }
  body.ph60-reference-home .ph24-home .v5-front-stage > .v5-main-headline,
  body.ph60-reference-home .ph24-home .v5-front-stage > .v5-agenda,
  body.ph60-reference-home .ph24-home .v5-main-headline .v5-slider,
  body.ph60-reference-home .ph24-home .v5-slider-stage,
  body.ph60-reference-home .ph24-home .v5-number-nav {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.ph60-reference-home .ph24-home .v5-main-headline,
  body.ph60-reference-home .ph24-home .v5-agenda,
  body.ph60-reference-home .ph24-home .v5-slider,
  body.ph60-reference-home .ph24-home .v5-agenda-cards { min-width: 0 !important; max-width: 100% !important; }
  body.ph60-reference-home .ph24-home .v5-slider-stage img,
  body.ph60-reference-home .ph24-home .v5-spot img,
  body.ph64-category-view .ph31-category-page img { max-width: 100%; }
  body.ph60-reference-home .ph24-home .v5-feed-layout,
  body.ph60-reference-home .ph24-home .ph63-market-row,
  body.ph60-reference-home .ph24-home .v5-spots,
  body.ph60-reference-home .ph24-home .ph24-category-sections,
  body.ph60-reference-home .ph24-home .ph24-media-sections,
  body.ph60-reference-home .ph24-home .ph60-latest-footer,
  body.ph64-category-view .ph31-category-stage,
  body.ph64-category-view .ph31-category-spots { min-width: 0 !important; max-width: 100% !important; }
  body.ph64-category-view .ph31-category-stage,
  body.ph64-category-view .ph31-category-stage .ph31-category-lead,
  body.ph64-category-view .ph31-category-stage .ph31-category-side { min-width: 0 !important; max-width: 100% !important; }
  /* The ticker and quote row may scroll internally; neither may widen the document. */
  body .ph60-newsline[data-ph64-ticker],
  body.ph64-category-view .ph64-category-ticker,
  body.ph60-reference-home .ph63-market-row { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  body .ph60-newsline[data-ph64-ticker] .ticker-flow,
  body.ph64-category-view .ph64-category-ticker .ticker-flow { min-width: 0 !important; overflow: hidden !important; }
  body.ph60-reference-home .ph63-market-row .ph50-currency-track { max-width: 100% !important; overscroll-behavior-x: contain; }
  body .ph37-side-menu:not([hidden]) { max-width: calc(100% - 12px) !important; }
}
