/*
 * Piyasa Vizyon — global layout fixes (loaded last, all pages).
 *
 * Measured 30.11.2026 at 1440px: header 1240px, home 1280px, inner pages
 * 1142px, footer 1180px, IPO 1180px — five different content widths, so the
 * left edges of logo, breadcrumb, cards and footer never lined up.
 * One container width (the header's 1240px) for every top-level wrapper.
 */
:root { --pv-wrap-width: 1240px; --pv-v229-wrap: 1240px; --pv-container: min(1240px, calc(100% - 32px)); }

html body main.wrap,
html body section.wrap,
html body .wrap.main,
html body .wrap.hero,
html body .top-showcase,
html body .pv-inner-layout,
html body .pv-footer-wrap,
html body .pv-ipo-container {
  width: var(--pv-container) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 640px) {
  :root { --pv-container: calc(100% - 24px); }
}

/* Market tiles: the last tile was cut off with no hint that the row scrolls. */
html body .pv-h-market-scroll {
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
}
html body .pv-h-market-scroll > * { scroll-snap-align: start; }

/* Footer bottom row: legal links were 16px next to a 10px copyright line. */
html body .pv-footer-bottom-links a { font-size: 13px !important; line-height: 1.4 !important; }
html body .pv-footer-bottom-section { font-size: 12px; }
