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

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-500);
  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 {
  padding-top: 36px;
  padding-bottom: 72px;
}

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

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

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(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

html.MMAwards .ryi-gallery-card img,
html.MMAwards .ryi-gallery-card .ryi-gallery-img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

html.MMAwards .ryi-site-footer {
  background: var(--brownbg-900);
  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(--gold-400);
}

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: 767px) {
  html.MMAwards .ryi-gallery-grid,
  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;
  }
}
