/* RYI landing — scoped so site styles stay intact.
   Brand tokens come from the MMAwards theme. */

/* Full-width RYI header so the longer season nav can breathe */
html.MMAwards .ryi-site-header .nav__inner {
  max-width: none;
  width: 100%;
  padding-left: clamp(1rem, 2vw, 2rem);
  padding-right: clamp(1rem, 2vw, 2rem);
  gap: 1rem;
}

html.MMAwards .ryi-site-header .nav__links {
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(0.85rem, 1.2vw, 1.5rem);
  min-width: 0;
}

html.MMAwards .ryi-site-header .nav__link {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

html.MMAwards .ryi-site-header .nav__logo,
html.MMAwards .ryi-site-header .nav__ctas {
  flex: 0 0 auto;
}

html.MMAwards .ryi-site-header .nav__cta {
  white-space: nowrap;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

/* Avoid compressed overlap: use hamburger until there is room for all labels */
@media (max-width: 1399px) {
  html.MMAwards .ryi-site-header .nav__links,
  html.MMAwards .ryi-site-header .nav__ctas {
    display: none;
  }

  html.MMAwards .ryi-site-header .nav__hamburger {
    display: flex;
  }
}

@media (min-width: 1400px) {
  html.MMAwards .ryi-site-header .nav__links {
    gap: clamp(1rem, 1.6vw, 2rem);
  }

  html.MMAwards .ryi-site-header .nav__link {
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
  }
}

html.MMAwards .ryi-site-header .nav-brand-logo,
html.MMAwards .header-logo-img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

html.MMAwards .ryi-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1100;
  padding: 12px 16px;
  background: var(--gold-light);
  color: var(--black);
  font-weight: 700;
  border-radius: 8px;
}

html.MMAwards .ryi-skip-link:focus {
  left: 8px;
}

html.MMAwards .ryi-landing #about,
html.MMAwards .ryi-landing #why-enter,
html.MMAwards .ryi-landing #who-should-enter,
html.MMAwards .ryi-landing #highlights,
html.MMAwards .ryi-landing #register,
html.MMAwards .ryi-landing #top,
html.MMAwards #about-the-2026-awards,
html.MMAwards #why-you-should-enter,
html.MMAwards #who-should-enter,
html.MMAwards #highlights,
html.MMAwards #register-your-interest {
  scroll-margin-top: 96px;
}

html.MMAwards .ryi-hero .hero-content,
html.MMAwards .ryi-landing .hero__content {
  padding-top: 36px;
  padding-bottom: 72px;
}

html.MMAwards .ryi-hero .hero-title--logo,
html.MMAwards .ryi-landing .hero__title--logo {
  max-width: min(100%, 560px);
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 20px;
}

html.MMAwards .ryi-hero .hero-event-logo,
html.MMAwards .ryi-landing .hero__logo {
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0;
}

/* Breath between subtitle copy and CTA row */
html.MMAwards .ryi-landing .hero__actions {
  margin-top: var(--space-2xl);
}

/* Optical left-align Mast lockup with the footer blurb.
   Overrides Domain-era custom_css (img.footer__logo { margin-left: -25px })
   which over-pulls this tighter Mast asset. */
html.MMAwards .ryi-site-footer .footer__brand--logo {
  display: block;
  margin-left: 0;
  margin-right: auto;
}

html.MMAwards .ryi-site-footer img.footer__logo,
html.MMAwards .ryi-site-footer .footer__logo {
  display: block;
  margin-left: -6px;
  margin-right: auto;
}

html.MMAwards .ryi-hero .ryi-hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  max-width: 720px;
}

html.MMAwards .ryi-overview-copy {
  max-width: 760px;
}

html.MMAwards .ryi-overview-copy p,
html.MMAwards .ryi-form-lede p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.1em;
}

html.MMAwards .ryi-overview-closing {
  max-width: 720px;
  margin-top: 1.5rem;
}

html.MMAwards .about-awards__cta {
  margin-top: 1.75rem;
}

html.MMAwards .ryi-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

html.MMAwards .ryi-form-layout .mm-form,
html.MMAwards .sponsorship-form.mm-form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
}

html.MMAwards .sponsorship-enquiry {
  max-width: min(100%, 1040px);
}

html.MMAwards .ryi-page .mauticform-page-wrapper,
html.MMAwards .ryi-landing .mm-form .mauticform-page-wrapper,
html.MMAwards .sponsorship-form .mauticform-page-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 20px;
  width: 100%;
  max-width: 100%;
}

html.MMAwards .ryi-page .mauticform-page-wrapper > div,
html.MMAwards .ryi-landing .mm-form .mauticform-page-wrapper > div,
html.MMAwards .sponsorship-form .mauticform-page-wrapper > div {
  float: none !important;
  clear: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: calc(50% - 10px) !important;
  max-width: calc(50% - 10px) !important;
  box-sizing: border-box !important;
}

html.MMAwards .ryi-page .mauticform-page-wrapper > div.mauticform-textarea,
html.MMAwards .ryi-page .mauticform-page-wrapper > div.mauticform-radiogrp,
html.MMAwards .ryi-page .mauticform-page-wrapper > div.mauticform-checkboxgrp,
html.MMAwards .ryi-page .mauticform-page-wrapper > div.mauticform-freetext,
html.MMAwards .ryi-page .mauticform-page-wrapper > div.full-width,
html.MMAwards .ryi-landing .mm-form .mauticform-page-wrapper > div.mauticform-textarea,
html.MMAwards .ryi-landing .mm-form .mauticform-page-wrapper > div.mauticform-radiogrp,
html.MMAwards .ryi-landing .mm-form .mauticform-page-wrapper > div.mauticform-checkboxgrp,
html.MMAwards .ryi-landing .mm-form .mauticform-page-wrapper > div.mauticform-freetext,
html.MMAwards .ryi-landing .mm-form .mauticform-page-wrapper > div.full-width,
html.MMAwards .sponsorship-form .mauticform-page-wrapper > div.mauticform-textarea,
html.MMAwards .sponsorship-form .mauticform-page-wrapper > div.mauticform-radiogrp,
html.MMAwards .sponsorship-form .mauticform-page-wrapper > div.mauticform-checkboxgrp,
html.MMAwards .sponsorship-form .mauticform-page-wrapper > div.mauticform-freetext,
html.MMAwards .sponsorship-form .mauticform-page-wrapper > div.full-width {
  width: 100% !important;
  max-width: 100% !important;
}

html.MMAwards .ryi-page .mauticform-input,
html.MMAwards .ryi-page .mauticform-selectbox,
html.MMAwards .ryi-page select.mauticform-selectbox,
html.MMAwards .ryi-page textarea.mauticform-textarea,
html.MMAwards .ryi-landing .mm-form .mauticform-input,
html.MMAwards .ryi-landing .mm-form .mauticform-selectbox,
html.MMAwards .ryi-landing .mm-form select.mauticform-selectbox,
html.MMAwards .ryi-landing .mm-form textarea.mauticform-textarea,
html.MMAwards .sponsorship-form .mauticform-input,
html.MMAwards .sponsorship-form .mauticform-selectbox,
html.MMAwards .sponsorship-form select.mauticform-selectbox,
html.MMAwards .sponsorship-form textarea.mauticform-textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

@media (max-width: 543px) {
  html.MMAwards .ryi-page .mauticform-page-wrapper > div,
  html.MMAwards .ryi-landing .mm-form .mauticform-page-wrapper > div,
  html.MMAwards .sponsorship-form .mauticform-page-wrapper > div {
    width: 100% !important;
    max-width: 100% !important;
  }
}

html.MMAwards .ryi-form-highlights {
  list-style: disc;
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

html.MMAwards .ryi-form-note {
  margin-top: 1rem;
  color: var(--silver-200);
  font-size: 0.875rem;
}

/* Full-width promo reel when gallery images are not set */
html.MMAwards .ryi-highlights-reel {
  margin-top: var(--space-2xl);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

html.MMAwards .ryi-highlights-reel__media,
html.MMAwards .ryi-highlights-reel .about-reel__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  border-left: none;
  border-right: none;
}

html.MMAwards .ryi-highlights-reel .youtube-embed iframe,
html.MMAwards .ryi-highlights-reel__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

html.MMAwards .ryi-highlights-reel .youtube-embed,
html.MMAwards .ryi-highlights-reel__media {
  position: relative;
}

/* PMX / summit layout: 1 large feature + 6 small tiles */
html.MMAwards .ryi-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: minmax(160px, 1fr);
  gap: 18px;
  margin-top: 2rem;
}

html.MMAwards .ryi-gallery-card {
  margin: 0;
  padding: 10px;
  background: linear-gradient(145deg, var(--charcoal), var(--off-black));
  border: 1px solid rgba(var(--gold-rgb), 0.16);
  border-radius: 16px;
  overflow: hidden;
  animation: none;
  transition: border-color 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.MMAwards .ryi-gallery-card--feature {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

html.MMAwards .ryi-gallery-card:hover {
  border-color: rgba(var(--gold-rgb), 0.45);
  box-shadow: 0 0 48px rgba(var(--gold-rgb), 0.28), 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

html.MMAwards .ryi-gallery-card img,
html.MMAwards .ryi-gallery-card .ryi-gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

html.MMAwards .ryi-gallery-card--feature img,
html.MMAwards .ryi-gallery-card--feature .ryi-gallery-img {
  min-height: 100%;
  aspect-ratio: auto;
  height: 100%;
}

html.MMAwards .ryi-gallery-card:not(.ryi-gallery-card--feature) img,
html.MMAwards .ryi-gallery-card:not(.ryi-gallery-card--feature) .ryi-gallery-img {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

html.MMAwards .ryi-gallery-card figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--grey-400);
}

/* Keep WIRA footer look — only mark season chrome */
html.MMAwards .ryi-site-footer {
  /* inherits .footer from wira.css */
}

html.MMAwards .why-enter-grid.ryi-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

html.MMAwards .ryi-benefits-grid .benefit-card,
html.MMAwards .ryi-benefits-grid .feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--gold-rgb), 0.12);
  border-radius: 12px;
  padding: var(--space-xl);
}

html.MMAwards .ryi-benefits-grid .benefit-card h3,
html.MMAwards .ryi-benefits-grid .feature-card h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0 0 var(--space-sm);
  font-size: var(--text-xl);
}

html.MMAwards .ryi-benefits-grid .benefit-card p,
html.MMAwards .ryi-benefits-grid .feature-card p {
  color: var(--grey-400);
  margin: 0;
  line-height: 1.7;
}

html.MMAwards .ryi-highlights-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

html.MMAwards .ryi-form-note {
  color: var(--grey-500);
}

html.MMAwards .home-prose-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

html.MMAwards .home-prose-list li + li {
  margin-top: 0.45rem;
}

@media (max-width: 767px) {
  html.MMAwards .why-enter-grid.ryi-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 960px) {
  html.MMAwards .ryi-form-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.35fr);
  }
}

@media (max-width: 1023px) {
  html.MMAwards .ryi-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  html.MMAwards .ryi-gallery-card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  html.MMAwards .ryi-gallery-grid {
    grid-template-columns: 1fr;
  }
}
