
/* HaberPilot Portal V7.5 — Symmetric layout + device-specific ordering */
:root{--hp-page-max:1600px;--hp-page-gap:22px}
body{overflow-x:hidden}
.portal-top.container,.portal-nav.container,.hp-breaking-v3>.container,
main.hp-home-layout-v75>.container,
main.hp-home-layout-v75>.hp-layout-block.container{
  max-width:var(--hp-page-max)!important;
  width:calc(100% - (var(--hp-page-gap) * 2))!important;
  margin-left:auto!important;margin-right:auto!important;
}
main.hp-home-layout-v75{
  max-width:var(--hp-page-max);
  width:calc(100% - (var(--hp-page-gap) * 2));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  column-gap:14px;
  align-items:start;
}
main.hp-home-layout-v75>.hp-layout-block{
  order:var(--hp-d-order,900);
  min-width:0;
}
.hp-layout-full{grid-column:1/-1}
main.hp-home-layout-v75>.container{
  width:100%!important;max-width:none!important;
}

/* Remove old V7.3 side-ad geometry completely */
.hero-shell-v73,.side-ad-v73{display:none!important}
.portal-hero-v75{grid-column:1/-1;margin-top:22px!important;margin-bottom:22px!important;padding:0!important}
.portal-hero-v75 .hero-slider{height:350px!important;min-height:350px!important;max-height:350px!important;overflow:hidden!important;border-radius:18px!important}
.portal-hero-v75 .hero-slide,.portal-hero-v75 .hero-slide>a,.portal-hero-v75 .hero-slide img{
  height:350px!important;min-height:350px!important;max-height:350px!important
}
.portal-hero-v75 .hero-slide img{object-fit:cover!important}
.portal-hero-v75 .hero-dots{
  z-index:30!important;pointer-events:auto!important;
}
.portal-hero-v75 .hero-dots button{
  position:relative;z-index:31!important;pointer-events:auto!important;cursor:pointer!important
}
.portal-hero-v75 .hero-copy{z-index:9!important}

/* Live cards are independent blocks so mobile can reorder each one */
.hp-live-unit-v75{margin:0 0 22px!important;min-width:0}
.hp-live-unit-v75>.hp-live-card{height:100%;margin:0!important}
.hp-live-currency-v75{grid-column:span 6}
.hp-live-weather-v75{grid-column:span 3}
.hp-live-prayer-v75{grid-column:span 3}

/* Keep all major sections on exactly the same rails */
.feature-strip-v74,.service-v3,.main-headline-v4,.hp-section,.hp-visual-panel{
  width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important
}
.hp-ad-placeholder,.hp-ad-render{
  max-width:100%!important;
}
.hp-ad-placeholder{width:100%!important}

/* Sports desktop */
.sports-layout-v71{
  grid-template-columns:minmax(0,1.18fr) minmax(300px,.72fr) minmax(390px,.86fr)!important;
  align-items:stretch!important;
}
.football-v71{min-width:0!important;max-width:none!important}

/* Device enable / disable */
@media(min-width:761px){
  main.hp-home-layout-v75>.hp-layout-block[data-hp-desktop="0"]{display:none!important}
}
@media(max-width:760px){
  :root{--hp-page-gap:12px}
  .portal-top.container,.portal-nav.container,.hp-breaking-v3>.container,
  main.hp-home-layout-v75{
    width:calc(100% - 24px)!important;
  }
  main.hp-home-layout-v75{
    grid-template-columns:1fr;
    column-gap:0;
  }
  main.hp-home-layout-v75>.hp-layout-block{
    grid-column:1/-1!important;
    order:var(--hp-m-order,900)!important;
  }
  main.hp-home-layout-v75>.hp-layout-block[data-hp-mobile="0"]{display:none!important}

  .hp-live-currency-v75,.hp-live-weather-v75,.hp-live-prayer-v75{grid-column:1/-1}
  .hp-live-unit-v75{margin-bottom:12px!important}
  .hp-live-card{border-radius:14px!important}

  /* Mobile sports fix */
  .sports-layout-v71{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .sports-feature{min-height:300px!important}
  .sports-feature img{height:300px!important;object-fit:cover!important}
  .sports-list{display:grid!important;grid-template-columns:1fr!important}
  .sports-list a{min-height:86px!important}
  .football-v71{grid-column:1/-1!important;max-height:470px!important;min-height:0!important}
  .football-table-wrap{max-height:330px!important;overflow:auto!important}
  .football-table-v7{min-width:560px}
  .section-head{align-items:center!important}

  .feature-strip-v74{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .feature-strip-v74 article{min-width:0!important}
  .feature-strip-v74 img{height:128px!important}
  .feature-strip-v74 h3{font-size:13px!important}

  .main-headline-v4{grid-template-columns:1fr!important}
  .most-read-v4{margin-top:12px!important}
}
@media(max-width:520px){
  .feature-strip-v74{grid-template-columns:1fr!important}
  .feature-strip-v74 img{height:190px!important}
}
