/* MK-30f–i: category sample extras, scoped so the locked place template is untouched. */
main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-slides{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-height:none;
}
main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-nav{
  border-color:rgba(255,179,207,.55);
  background:rgba(18,8,16,.8);
}
main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-dot{
  border-color:rgba(255,179,207,.7);
  background:rgba(18,8,16,.7);
}
main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-dot.is-active{
  background:#ffb3cf;
  box-shadow:0 0 10px #ffb3cf;
}
main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-cap-strip,
main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-main__cap{
  color:#DDD0E4;
}

/* Desktop / tablet (≥1024): left info + hero share one grid row and
   stretch to the same height at every width. Missions and every later
   block stay full-width. The hero stage grows with the left column;
   media uses cover so the frame stays filled. Captions stay in the
   strip under the stage, not over the picture. */
@media (min-width:1024px){
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-layout:has(> .task-hero){
    align-items:stretch;
  }
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-layout:has(> .task-hero) > .task-lead > .task-header{
    grid-column:1;
    grid-row:1;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    min-height:0;
  }
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-layout:has(> .task-hero) > .task-hero{
    grid-column:2;
    grid-row:1;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    min-height:0;
    height:auto;
  }
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-layout:has(> .task-hero) > .task-hero .hero-main,
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-layout:has(> .task-hero) > .task-hero .hero-main--slider{
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    width:100%;
    height:auto;
    max-height:none !important;
    min-height:0;
  }
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-layout:has(> .task-hero) > .task-hero .hero-stage{
    flex:1 1 auto;
    align-self:stretch;
    aspect-ratio:16/9;
    width:100%;
    max-height:none !important;
    min-height:0;
  }
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-stage img,
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-stage video,
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-slide img,
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-slide video,
  main.gpd-page[data-mk-template="gtavi-category-v1"] .task-hero .hero-slide__video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
  }
  main.gpd-page[data-mk-template="gtavi-category-v1"] .gpd-before{
    flex:1 1 auto;
    margin-top:14px;
    display:flex;
    flex-direction:column;
  }
}

main.gpd-page[data-mk-template="gtavi-category-v1"] .gpd-before{
  margin-top:14px;
}
main.gpd-page[data-mk-template="gtavi-category-v1"] .gpd-before .related-tips{
  margin:0 0 10px;
}
main.gpd-page[data-mk-template="gtavi-category-v1"] .gpd-before .gta-list{
  margin:10px 0 0;
}
main.gpd-page[data-mk-template="gtavi-category-v1"] .gpd-before .callout--tip{
  margin:0;
}
