/* A-family hero standard (MPRO10009 rc3-a-hero-standard.md), proposal from A for muzi-gen.
   Desktop values copy the landing (.atlas-matrix-hero): height 576/1344 of the width, gutter 6vw,
   crumb +22, kicker +75, title +115, title 4.7rem. Load after index.css, aa-v2.css and ae-v2.css on A pages. */
@media (min-width: 1101px) {
  /* AA records (aa-v2) */
  .aa2-hero { height: calc(100vw * 576 / 1344); min-height: 0; }
  .aa2-hero .aa2-crumbs.atlas-detail-hero-nav { left: 6vw; top: 22px; right: auto; }
  .aa2-hero-copy { left: 6vw; top: 75px; bottom: auto; }
  .aa2-hero-copy .aa2-kicker { display: block; height: 16px; line-height: 16px; margin: 0 0 24px; padding: 0; }
  .aa2-hero-copy:not(:has(.aa2-kicker)) { top: 115px; }
  .aa2-title-row { margin: 0; align-items: flex-start; }
  .aa2-title-row h1 { font-size: 4.7rem; line-height: 1; margin: 0; }
  .aa2-title-row .aa2-seal { width: 4.7rem; height: 4.7rem; margin-top: 0; }
  .aa2-hero .atlas-hero-side { top: 70px; transform: none; }

  /* AE records (index.css has !important hides on the crumb, so these need it too) */
  body .atlas-ae-hero .atlas-ae-hero-body .atlas-detail-hero-nav { display: block !important; position: absolute !important; left: 6vw !important; top: 22px !important; }
  body .atlas-ae-hero .atlas-ae-hero-body .atlas-detail-hero-copy { left: 6vw; top: 101px; /* 115 less the 14 px the copy box adds above its h1 */ transform: none; margin: 0; padding: 0; }
  body .atlas-ae-hero .atlas-ae-hero-body .atlas-detail-hero-copy h1 { font-size: 4.7rem; line-height: 1; margin: 0; }
  body .atlas-ae-hero .atlas-ae-side { top: 70px; }
  body .atlas-detail-hero.atlas-ae-hero { height: calc(100vw * 576 / 1344); }

  /* AA list and AR records */
  .atlas-detail-hero:not(.atlas-ae-hero) > .atlas-detail-hero-nav { left: 6vw; top: 22px; }
  .atlas-detail-hero:not(.atlas-ae-hero) > .atlas-detail-hero-copy { position: absolute; left: 6vw; top: 75px; transform: none; margin: 0; padding: 0; width: min(760px, 60vw); }
  .atlas-detail-hero:not(.atlas-ae-hero) > .atlas-detail-hero-copy:not(:has(> span:first-child)) { top: 115px; }
  .atlas-detail-hero:not(.atlas-ae-hero) > .atlas-detail-hero-copy > span:first-child { display: block; height: 16px; line-height: 16px; margin: 0 0 24px; }
  .atlas-detail-hero:not(.atlas-ae-hero) .atlas-detail-hero-copy h1 { font-size: 4.7rem; line-height: 1; margin: 0; }

  /* A home: kicker +75, title +115 */
  .atlas-home-hero .atlas-home-hero-copy { padding-top: 75px; }
  .atlas-home-hero .atlas-home-kicker { height: 16px; line-height: 16px; margin: 0; }
  .atlas-home-hero .atlas-home-hero-copy h1 { margin-top: 24px; }

  /* Landings without a kicker (AE, AT): title to +115 like AR, AS, AG */
  .atlas-matrix-hero .atlas-matrix-hero-copy:not(:has([class*=kicker])) { padding-top: calc(clamp(3.2rem, 5.2vw, 5rem) + 16px); }
}
@media (max-width: 760px) {
  /* AA records: title and seal at the landing size (57.6 px at 390) */
  .aa2-title-row h1 { font-size: 3.6rem; line-height: 1.05; }
  .aa2-title-row .aa2-seal { width: 3.6rem; height: 3.6rem; }
  /* AE records: 16 px gutter, landing title size, crumb shown */
  body .atlas-ae-hero .atlas-ae-hero-body { padding-left: 16px; padding-right: 16px; }
  body .atlas-ae-hero .atlas-ae-hero-body .atlas-detail-hero-nav { margin-left: 0; left: 0 !important; }
  body .atlas-ae-hero .atlas-ae-hero-body .atlas-detail-hero-copy { margin-left: 0; padding-left: 0; }
  body .atlas-ae-hero .atlas-ae-hero-body .atlas-detail-hero-copy h1 { font-size: 3.6rem; line-height: 1.05; }
  body .atlas-ae-hero .ae-unified-nav { left: 16px; top: 16px; }
  /* AA list: 16 px gutter */
  .atlas-detail-hero.atlas-aa-attractions-hero > .atlas-detail-hero-copy { padding-left: 16px; padding-right: 16px; }
}
