/* Standalone trophy page uses the un-dated lockup without changing the annual art. */
body[data-page="trophy"] main#main.trophy-story .cup-story-metal-r28 {
 --year-cut:polygon(0 0,100% 0,100% 25%,83.30% 25%,83.30% 34.9%,100% 34.9%,100% 100%,0 100%);
 position:relative;display:block;
 inline-size:clamp(155px,52vw,210px);
 aspect-ratio:16/9;
 margin:2px auto 12px;
}
body[data-page="trophy"] main#main.trophy-story .cup-story-metal-r28 > img,
body[data-page="trophy"] main#main.trophy-story .cup-story-metal-r28::after {
 clip-path:var(--year-cut);
}
body[data-page="trophy"] main#main.trophy-story .cup-story-metal-r28 > img {
 display:block;inline-size:100%;block-size:auto;
 aspect-ratio:16/9;object-fit:contain;object-position:center;border-radius:0;
}
@media screen and (min-width:768px) {
 body[data-page="trophy"] main#main.trophy-story > .cup-hero > .cup-heading {
  padding-block-start:0;
 }
 body[data-page="trophy"] main#main.trophy-story .cup-story-metal-r28 {
  inline-size:clamp(178px,18.5vw,256px);margin:2px 0 clamp(11px,1.3vw,20px);
 }
}
@media screen and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
 @supports ((mask-image:url("assets/2025-official/world-excellence-cup-2025.png")) or (-webkit-mask-image:url("assets/2025-official/world-excellence-cup-2025.png"))) {
  body[data-page="trophy"].motion-on:not(.motion-paused) main#main .cup-story-metal-r28::after {
   content:"";position:absolute;inset:0;pointer-events:none;
   -webkit-mask:url("assets/2025-official/world-excellence-cup-2025.png") center / 100% 100% no-repeat;
   mask:url("assets/2025-official/world-excellence-cup-2025.png") center / 100% 100% no-repeat;
   background:linear-gradient(106deg,transparent 38%,#c0def919 43.5%,#d3eaff68 47%,#e7f3ffb2 49%,#f9fcfff0 50.2%,#f4faffcf 51%,#d9ebff78 53%,#b8d7f326 56.5%,transparent 62%) 0 0 / 300% 100% no-repeat;
   animation:trophy-story-silver-r28 2.25s linear infinite;
  }
 }
}
@keyframes trophy-story-silver-r28 {
 from {background-position:0 0}
 to {background-position:100% 0}
}

/* The silver lockup leads the left heading. Compensate for the asset's
   transparent padding so visible art, not its PNG bounds, hits the rail. */
@media screen and (min-width:768px) {
 body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-story-metal-r28 {
  inline-size:min(100%,clamp(235px,25.2vw,345px));
  aspect-ratio:1920/813;
  margin:0 0 clamp(16px,2vw,29px);
 }
 body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-story-metal-r28 > img,
 body[data-page="trophy"].motion-on:not(.motion-paused) main#main .cup-heading > .cup-story-metal-r28::after {
  inline-size:100%;aspect-ratio:16/9;block-size:auto;
  transform:translate(-5.1%,-11.75%);
 }
 body[data-page="trophy"].motion-on:not(.motion-paused) main#main .cup-heading > .cup-story-metal-r28::after {
  inset:auto;inset-block-start:0;inset-inline-start:0;
 }
}
@media screen and (min-width:768px) {
 body[data-page="trophy"] main#main.trophy-story .cup-design > :is(h2,.cup-design-proportion) {
  width:100%;max-width:none;max-inline-size:none;text-wrap:wrap;
 }
 body[data-page="trophy"] main#main.trophy-story .cup-design > .cup-design-proportion {
  font-size:var(--miva-desktop-type-body-v286,18px)!important;line-height:1.68;
 }
}

/* Align the two columns using the painted logo and the text endpoints,
   rather than the transparent padding of the original PNG. */
@media screen and (min-width:768px) {
 body[data-page="trophy"] main#main.trophy-story > .cup-hero {
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  grid-template-areas:"heading object" "lead object" "specs object";
  grid-template-rows:auto auto 1fr;
  row-gap:clamp(17px,2vw,30px);
 }
 body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-story-metal-r28 {
  margin-block-end:clamp(12px,1.35vw,20px);
 }
 body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-story-metal-r28 > img {
  position:absolute;inset-block-start:0;inset-inline-start:0;
 }
 body[data-page="trophy"] main#main.trophy-story .cup-hero .cup-intro {display:contents}
 body[data-page="trophy"] main#main.trophy-story .cup-hero .cup-intro > .cup-lead {
  grid-area:lead;
 }
 body[data-page="trophy"] main#main.trophy-story .cup-hero .cup-intro > .cup-specs {
  grid-area:specs;align-self:end;
 }
 body[data-page="trophy"] main#main.trophy-story .cup-spec-grid {margin-block-end:0}
 body[data-page="trophy"] main#main.trophy-story .cup-spec-grid > div {
  padding-block-end:0;
 }
 body[data-page="trophy"] main#main.trophy-story .cup-image {
  inline-size:min(100%,clamp(371px,36.1vw,520px));
 }
 body[data-page="trophy"] main#main.trophy-story .cup-image > figcaption {
  line-height:1.3;
 }
}

/* Compact mobile spacing, measured from the actual art instead of the PNG. */
@media screen and (max-width:767px) {
 body[data-page="trophy"] main#main.trophy-story > .cup-hero {
  row-gap:clamp(16px,4.6vw,22px);
 }
 body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-story-metal-r28 {
  aspect-ratio:1920/813;
  margin-block:0 16px;
 }
 body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-story-metal-r28 > img,
 body[data-page="trophy"].motion-on:not(.motion-paused) main#main .cup-heading > .cup-story-metal-r28::after {
  position:absolute;inset:auto;inset-block-start:0;inset-inline-start:0;
  inline-size:100%;block-size:auto;aspect-ratio:16/9;
  transform:translateY(-11.75%);
 }
 body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-eyebrow {
  margin-block-end:8px;
 }
}

/* On a phone the complete silver lockup already names the Cup. Leave a safe
   inset below the sticky navigation. */
@media screen and (max-width:767px) {
 body[data-page="trophy"] main#main.trophy-story > .cup-hero {
  margin-block-start:0;
  padding-block-start:clamp(24px,6.65vw,36px);
 }
 body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-story-metal-r28 {
  inline-size:clamp(140px,45vw,180px);
  margin-block-end:19px;
 }
}
/* The mark includes the name; retain nonvisual site wording for accessibility. */
body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-eyebrow {
 position:absolute;inline-size:1px;block-size:1px;
 padding:0;margin:0;overflow:hidden;clip-path:inset(50%);
 white-space:nowrap;animation:none!important;
}
@media screen and (min-width:768px) {
 body[data-page="trophy"] main#main.trophy-story .cup-heading > .cup-story-metal-r28 {
  margin-block-end:clamp(19px,1.8vw,28px);
 }
}
