/* Restore responsive bounds of the original green homepage.
   No palette, business logic, cabinet, popup or payment changes. */
.mam-home-restored { overflow-x: clip; }
.mam-home-restored .math-olympiad { height: auto; min-height: 0; padding: 28px 0 24px; }
.mam-home-restored .math-olympiad_inner { box-sizing: border-box; width: 60%; max-width: none; padding-left: clamp(16px, 4vw, 64px); padding-right: 24px; }
.mam-home-restored .math-olympiad_inner .label { max-width: 100% !important; margin-top: 0; margin-bottom: 14px; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; overflow-wrap: break-word; }
.mam-home-restored .math-olympiad_inner .note { max-width: 100% !important; font-size: 18px; line-height: 1.4; overflow-wrap: break-word; }
.mam-home-restored .math-olympiad .bg_item3 { right: 0; left: auto; top: 28px; width: 36%; max-width: 620px; height: auto; }
.mam-home-restored .math-olympiad_list { margin: 24px auto 20px; }
.mam-home-restored .math-olympiad .btn_cont { max-width: 100%; margin-top: 24px; }
.mam-home-restored .math-olympiad .btn { max-width: 100%; white-space: normal; }
.mam-home-restored .math-olympiad_inner .note p { margin-top: 8px; margin-bottom: 8px; }
.mam-home-restored .about-olympiad, .mam-home-restored .participate, .mam-home-restored .recent { padding: 24px 0; }
.mam-home-restored .sub_label { margin-bottom: 18px; }
.mam-home-restored .participate_list, .mam-home-restored .recent_list { margin-top: 16px; margin-bottom: 24px; }
.mam-home-restored .subscribe._share { padding-top: 20px; padding-bottom: 20px; }
@media (max-width: 980px) {
  .mam-home-restored .math-olympiad, .mam-home-restored .about-olympiad, .mam-home-restored .participate, .mam-home-restored .recent { padding-top: 16px; padding-bottom: 16px; }
  .mam-home-restored .math-olympiad_inner { width: 100%; padding-left: 16px; padding-right: 16px; }
  .mam-home-restored .math-olympiad .bg_item3 { display: none; }
  .mam-home-restored .math-olympiad_inner .note { font-size: 18px; }
}
