/* Keep translated home content inside its visual column. */
html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}
.preview-home .opening-title{position:relative;z-index:2;min-width:0}
.preview-home .opening-title h1{max-width:100%;overflow-wrap:normal;word-break:keep-all;text-wrap:balance}
.home-news-panel-v102{overflow-wrap:anywhere}

/* Partner copy may wrap, but every logo row keeps the same baseline. */
.event-partner-card{min-height:0!important}
.event-partner-card>div{display:grid!important;grid-template-rows:auto minmax(64px,1fr) 58px;align-content:stretch!important;min-height:100%!important}
.event-partner-summary{align-self:start;min-height:0!important;margin-top:6px!important;overflow-wrap:anywhere;word-break:normal!important;hyphens:auto}
.event-partner-logos{align-self:end;height:58px;min-height:58px;margin-top:0!important;overflow:visible!important}
.event-partner-logo{height:58px;min-height:58px!important}

@media (width >= 1501px){
  .preview-home .opening-title{width:min(820px,calc(100vw - 720px));max-width:min(820px,calc(100vw - 720px));margin-inline:auto}
  .preview-home .opening-title h1{font-size:clamp(52px,3.75vw,76px);line-height:1.16}
  html[data-medical-locale="ja"] .preview-home .opening-title h1,
  html[data-medical-locale="ru"] .preview-home .opening-title h1,
  html[data-medical-locale="ar"] .preview-home .opening-title h1,
  html[data-medical-locale="es"] .preview-home .opening-title h1,
  html[data-medical-locale="mn"] .preview-home .opening-title h1,
  html[data-medical-locale="id"] .preview-home .opening-title h1{font-size:clamp(48px,3.25vw,64px);line-height:1.2}
}

@media (width >= 1101px){
  html[data-medical-locale="ru"] .event-partner-summary,
  html[data-medical-locale="mn"] .event-partner-summary,
  html[data-medical-locale="id"] .event-partner-summary{font-size:11px;line-height:1.38}
}

@media (width >= 721px) and (width <= 1500px){
  .preview-home .opening-title{width:min(100%,1000px);max-width:min(100%,1000px)}
  .preview-home .opening-title h1{font-size:clamp(46px,6vw,70px)}
}

@media (width <= 720px){
  .preview-home .opening-title{width:100%;max-width:100%}
  .preview-home .opening-title h1{font-size:clamp(38px,11vw,58px);line-height:1.18;overflow-wrap:anywhere}
  .event-partner-card{min-height:0!important}
  .event-partner-card>div{display:flex!important;min-height:0!important}
  .event-partner-summary{min-height:0!important}
  .event-partner-logos{height:auto;min-height:0}
  .event-partner-logo{height:auto;min-height:70px!important}
}
