/* RYI landing — scoped so site styles stay intact.
   Brand tokens (silver/platinum, navy) come from the MMAwards theme (components.css); WILA branding. */

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(--plat-300);
  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-landing #highlights .ryi-highlights__copy {
  max-width: 48rem;
  margin-bottom: 0;
}

html.MMAwards .ryi-landing #highlights .ryi-highlights__embed {
  width: 100%;
  max-width: 100%;
  margin-top: 2.5rem;
  aspect-ratio: 16 / 9;
  background: var(--plat-900, #1a1a1a);
  overflow: hidden;
}

html.MMAwards .ryi-landing #highlights .ryi-highlights__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

html.MMAwards .ryi-landing #highlights .ryi-highlights__caption {
  margin-top: 1rem;
}

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

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

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

html.MMAwards .ryi-site-header .nav-brand-text,
html.MMAwards .ryi-site-header .header-logo-mark {
  color: var(--white);
}

html.MMAwards .ryi-site-footer .footer-brand-logo,
html.MMAwards .footer-event-logo {
  margin-left: 0;
  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;
}

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 {
  position: relative;
  margin: 0;
  padding: 10px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-850));
  border: 1px solid rgba(var(--plat-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-more {
  position: absolute;
  inset: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  background: rgba(3, 7, 18, 0.62);
  transition: background 250ms ease;
}

html.MMAwards .ryi-gallery-more:hover,
html.MMAwards .ryi-gallery-more:focus-visible {
  background: rgba(3, 7, 18, 0.78);
  outline: none;
}

html.MMAwards .ryi-gallery-more__label {
  max-width: 90%;
  padding: 0.65rem 1rem;
  font-family: var(--font-body, inherit);
  font-size: clamp(0.8125rem, 1.4vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white, #fff);
  line-height: 1.3;
}

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(--plat-rgb), 0.45);
  box-shadow: 0 0 48px rgba(var(--plat-rgb), 0.22), 0 0 80px rgba(var(--plat-rgb), 0.10), 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(--silver-200);
}

html.MMAwards .ryi-site-footer {
  background: var(--deepest);
  color: var(--silver-100);
  padding: 64px 0 28px;
}

html.MMAwards .ryi-site-footer .footer-inner {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

html.MMAwards .ryi-site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 48px;
}

html.MMAwards .ryi-site-footer .footer-brand-logo {
  display: block;
  height: auto;
  max-height: 120px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

html.MMAwards .ryi-site-footer .footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

html.MMAwards .ryi-site-footer h5 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.MMAwards .ryi-site-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

html.MMAwards .ryi-site-footer .footer-links a {
  color: var(--silver-200);
  text-decoration: none;
}

html.MMAwards .ryi-site-footer .footer-links a:hover,
html.MMAwards .ryi-site-footer .footer-links a:focus-visible {
  color: var(--white);
}

html.MMAwards .ryi-site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: var(--silver-300);
}

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 (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;
  }

  html.MMAwards .ryi-site-footer .footer-grid,
  html.MMAwards .ryi-site-footer .footer-nav-cols,
  html.MMAwards .ryi-site-footer .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}
