html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.t-menu-burger {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.t-menu-popover__burgermenu,
.t-menu-popover__container {
  box-sizing: border-box;
  max-width: 100vw;
}

@media (max-width: 980px) {
  .ro-company-map__layout {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    min-width: 0;
  }

  .ro-company-map__content,
  .ro-company-map__panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .ro-company-map h2,
  .ro-company-map__content p,
  .ro-company-map__actions {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

@media (max-width: 980px) {
  .ro-materials__head,
  .ro-materials__layout,
  .ro-partners__layout {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    min-width: 0;
  }

  .ro-materials__head > *,
  .ro-materials__feature,
  .ro-materials__grid,
  .ro-materials__subscribe,
  .ro-partners__content,
  .ro-partners__panel {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ro-partners__content,
  .ro-partners__panel,
  .ro-partners__stats,
  .ro-partners__actions {
    width: 100%;
  }

  .ro-materials h2,
  .ro-materials__head p,
  .ro-partners h2,
  .ro-partners__content > p {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

@media (max-width: 640px) {
  .ro-company-map h2,
  .ro-materials h2,
  .ro-partners h2 {
    font-size: clamp(22px, calc((100vw - 56px) / 11.6), 33px) !important;
    line-height: 1.08;
    word-break: normal;
    overflow-wrap: normal;
  }

  .ro-jobs h2 {
    font-size: clamp(22px, calc((100vw - 56px) / 9.6), 38px) !important;
  }

  .ro-afisha__head h2 {
    font-size: clamp(26px, calc((100vw - 56px) / 7.6), 52px) !important;
  }

  .ro-local__head h2 {
    font-size: clamp(22px, calc((100vw - 56px) / 9.6), 38px) !important;
  }

  .ro-mentors h2,
  .ro-respondents h2 {
    font-size: clamp(22px, calc((100vw - 56px) / 9), 38px) !important;
  }

  #ro-courses .ro-courses__h1 {
    font-size: clamp(28px, calc((100vw - 48px) / 8.8), 48px) !important;
  }

  #ro-community-map .cm-final h2 {
    font-size: clamp(28px, calc((100vw - 48px) / 7.2), 46px) !important;
  }
}

@media (max-width: 430px) {
  #ro-global-footer .rof__lead h2 {
    font-size: clamp(22px, calc((100vw - 51px) / 9.5), 38px) !important;
  }
}

@media (max-width: 340px) {
  .t123 h1,
  .t123 h2,
  .t123 h3 {
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}

@media (max-width: 640px) {
  .tn-elem__11647527161752584307425,
  .tn-elem__15650302911706853445768 {
    left: 20px !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    box-sizing: border-box;
  }

  .tn-group__2092889031175258691548694870 {
    left: 20px !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
  }

  #molecule-175258691548694870 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .tn-elem__20928890311738571957420,
  .tn-elem__20928890311747999784917,
  .tn-elem__20928890311748000315351 {
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .tn-elem__11647527161752584307425,
  .tn-elem__15650302911706853445768,
  .tn-group__2092889031175258691548694870 {
    left: 5.5556% !important;
    width: 88.8889% !important;
    max-width: 88.8889% !important;
  }
}

/* RO mobile CTA overflow fix 2026-07-19 */
@media (max-width: 640px) {
  .ro-map__button,
  .ro-materials__button,
  .ro-publications__bottom a,
  .ro-events__button,
  .ro-team__bottom a {
    white-space: normal !important;
    min-width: 0 !important;
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
    min-height: 48px;
    padding: 12px 16px !important;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: normal;
    box-sizing: border-box;
  }

  .ro-publication-card__meta em {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 479px) {
  #rec2009918471 .tn-elem[data-elem-id="1773061912111000002"] {
    width: 300px !important;
    max-width: calc(100vw - 20px) !important;
    box-sizing: border-box !important;
  }
}

/* RO mentor profile h1 wrap fix 2026-09-18 */
@media (max-width: 620px) {
  #ro-mentor h1 {
    font-size: clamp(28px, 10vw, 46px) !important;
    overflow-wrap: break-word;
  }

  #ro-mentor h2,
  #ro-mentor .rom-role,
  #ro-mentor .rom-prose {
    overflow-wrap: break-word;
  }
}

/* RO menu scroll lock 2026-09-19 */
@media (max-width: 1179px) {
  html:has(#ro-global-header.roh--open),
  body:has(#ro-global-header.roh--open) {
    overflow: hidden !important;
  }
}

/* RO box-sizing and 320 fixes 2026-09-19 */
#ro-courses,
#ro-courses *,
#ro-courses *::before,
#ro-courses *::after {
  box-sizing: border-box;
}

.mc-cookie-actions button {
  box-sizing: border-box;
}

@media (max-width: 360px) {
  .ro-jobs__main {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .ro-jobs-card {
    min-width: 0;
  }

  .rmu26-section-head {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* RO zero block uzbekistan title 2026-09-19 */
@media (max-width: 639px) {
  .tn-elem__23243294411738310718735 {
    left: 10px !important;
    width: 300px !important;
  }

  .tn-elem__23243294411738310718735 .tn-atom {
    font-size: 27px !important;
  }
}
