@import url('/assets/index-BpbwEaCl-core-v50.css');

/* Apply page: compact hero and direct application form navigation. */
.apply-hero {
  min-height: auto !important;
}

.arrow-link {
  margin-top: 10px;
}

.preview-type-links a {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.preview-type-links a:hover,
.preview-type-links a:focus-visible {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

/* Use the existing image logo on every public page. */
.site-header > a.brand {
  min-height: 58px;
  background-image: url('/assets/medical-asia-assembly-2026-logo.png') !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: min(224px, 100%) auto !important;
}

.site-header > a.brand > i,
.site-header > a.brand > span,
.footer-brand > .brand > i,
.footer-brand > .brand > span {
  display: none !important;
}

.site-header > a.brand:has(> .site-brand-logo-v23),
.footer-brand > .brand:has(> .footer-brand-logo-v23) {
  background-image: none !important;
}

.footer-brand > .brand {
  display: block !important;
  width: min(224px, 100%);
  min-height: 78px;
  background-image: url('/assets/medical-asia-assembly-2026-logo.png') !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: 100% auto !important;
}

/* Keep the two published-content actions visually separate on Media. */
.arrow-link[href*="#content"] + .arrow-link[href*="#photos"] {
  margin-left: 14px;
}

@media (max-width: 760px) {
  .site-header > a.brand {
    min-height: 48px;
    background-size: min(174px, 100%) auto !important;
  }

  .footer-brand > .brand {
    width: min(194px, 100%);
  }
}

/* Localized submenus and application form v148 */
/* Longer localized labels need actual space, not a narrow fixed-width column. */
.awards-stage-nav{grid-template-columns:minmax(70px,1fr) minmax(0,1100px) minmax(70px,1fr);height:auto;min-height:82px;align-items:stretch;gap:20px}
.awards-stage-nav>div,.archive-page .awards-stage-nav>div{display:flex;justify-content:center;align-items:stretch;gap:20px;width:100%;max-width:none;margin:0 auto}
.awards-stage-nav>div>a{display:flex;flex:0 1 auto;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:180px;max-width:340px;padding:16px 24px;box-sizing:border-box;line-height:1.5;letter-spacing:.03em;text-align:start}
.awards-stage-nav>div>a strong,.awards-stage-nav>div>a span,.archive-page .awards-stage-nav>div>a strong,.archive-page .awards-stage-nav>div>a span{white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.5}
.awards-stage-nav>div>a strong{font-size:11px}.awards-stage-nav>div>a span{font-size:12px}
.awards-stage-nav .awards-stage-home{align-self:center;line-height:1.5}
html[data-medical-locale=ar] .awards-stage-nav>div{direction:rtl}
.medical-apply-page{background:#fff!important}
html[data-medical-locale=ar] .medical-apply-page{direction:rtl;text-align:right}
html[data-medical-locale=ar] .medical-apply-page input[type=email],html[data-medical-locale=ar] .medical-apply-page input[type=url]{direction:ltr;text-align:left}
html[data-apply-loading=true]:not([data-apply-ready=true]) .medical-apply-page .apply-main{visibility:hidden}
@media(min-width:1101px){.site-header .languages .language-mobile{width:168px;min-width:168px;max-width:168px}}
@media(max-width:1100px){.awards-stage-nav{grid-template-columns:70px minmax(0,1fr);padding-inline:24px;gap:16px}.awards-stage-nav>div,.archive-page .awards-stage-nav>div{gap:12px;flex-wrap:wrap}.awards-stage-nav>div>a{min-width:150px;max-width:320px;padding:14px 18px;flex:1 1 150px}}
@media(max-width:600px){.awards-stage-nav{display:block;padding:8px 16px}.awards-stage-nav .awards-stage-home{display:block;margin:2px 0 8px;font-size:10px}.awards-stage-nav>div,.archive-page .awards-stage-nav>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:none}.awards-stage-nav>div>a{width:auto;min-width:0;max-width:none;padding:12px 14px;gap:5px}.awards-stage-nav>div>a strong{font-size:10px}.awards-stage-nav>div>a span{font-size:11px}}
