/*
 * Nomos mobile refinement layer.
 * Loaded after the cloned Webflow stylesheet so the desktop layout stays intact.
 */

@media screen and (max-width: 767px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 64px;
  }

  body {
    overflow-x: hidden;
  }

  .header {
    min-height: 58px;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14);
  }

  .wrapper_header {
    min-height: 58px;
    padding: 13px 16px;
  }

  .flexbox_header {
    width: 100%;
    align-items: center;
  }

  .logotype {
    width: 112px;
    height: 22px;
  }

  .hamburger_link {
    min-width: 80px;
    min-height: 44px;
    margin: -6px -4px -6px auto;
    padding: 6px 4px 6px 8px;
    justify-content: flex-end;
    font-size: 16px;
    line-height: 1;
    touch-action: manipulation;
  }

  .hamburger {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
  }

  .mobile_menu {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    overscroll-behavior: contain;
  }

  body:has(.close_txt[style*="display: block"]) .header {
    background-color: #fff;
    box-shadow: inset 0 -1px 0 rgba(4, 74, 179, 0.14);
  }

  body:has(.close_txt[style*="display: block"]) .svg_logo {
    background-image: url("/assets/nomos-mark-square.png?v=8") !important;
  }

  body:has(.close_txt[style*="display: block"]) .close_txt {
    color: #044ab3;
  }

  body:has(.close_txt[style*="display: block"]) .cube_hamb {
    background-color: #044ab3;
  }

  .wrapper_mobile_menu {
    height: 100dvh;
    padding: 82px 20px max(24px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  .menu_links {
    gap: 7px;
    margin-bottom: 40px;
  }

  .mobile_link {
    min-height: 43px;
    padding: 3px 0;
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.04;
  }

  .bottom_side {
    gap: 28px;
  }

  .title_side,
  .link_sub {
    font-size: 15px;
    line-height: 1.3;
  }

  .sub_links {
    margin-top: 12px;
  }

  .button,
  .button.blue,
  .button_primary,
  .subscribe_button,
  .fixed_button {
    min-height: 48px;
    touch-action: manipulation;
  }

  .fixed_button {
    width: auto;
    min-width: 0;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    box-shadow: 0 8px 28px rgba(4, 22, 52, 0.18);
  }

  .article_content {
    font-size: 17px;
    line-height: 1.58;
  }

  .article_content p,
  .article_content li {
    font-size: 17px;
    line-height: 1.58;
  }

  .article_content p {
    margin-bottom: 1.15rem;
  }

  .article_content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 30px;
    line-height: 1.08;
  }

  .article_content h3 {
    margin-top: 2.25rem;
    margin-bottom: 0.8rem;
    font-size: 24px;
    line-height: 1.12;
  }

  .article_content ul,
  .article_content ol {
    margin: 0.5rem 0 1.5rem;
    padding-left: 1.35rem;
    font-size: 17px;
  }

  .active_article {
    display: none;
  }

  .social_share.mobile_only {
    margin-top: 44px;
  }

  .footer .title_subscribe {
    font-size: 30px;
    line-height: 0.98;
  }

  .footer .menu_grid {
    gap: 40px 18px;
    margin-top: 48px;
  }

  .footer .menu_box {
    gap: 12px;
  }

  .footer .title_menu,
  .footer .footer_link,
  .footer .footer_last_link,
  .footer .caption_box {
    font-size: 15px;
    line-height: 1.35;
  }

  .footer .list_links {
    gap: 4px;
  }

  .footer .last_line {
    margin-top: 64px;
  }

  .footer .logo_footer {
    max-width: 358px;
  }

  .contact .wrapper_hero.contact {
    padding: 94px 16px 64px;
  }

  .contact .flex_contact {
    margin-top: 52px;
  }

  .contact .sticky_contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .contact .title_left {
    order: 0;
    margin-top: 0;
  }

  .contact .contacts {
    order: 1;
    display: block;
    width: 100%;
    margin-top: 28px;
  }

  .contact .contact_form {
    width: 100%;
    margin-top: 36px;
  }

  .contact .vw-panel {
    width: 100%;
    max-width: none;
    padding: 20px;
    border-radius: 8px;
  }

  .contact .vw-title {
    font-size: 24px;
    line-height: 1.1;
  }

  .contact .vw-text {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.45;
  }

  .contact .vw-panel .button_wrap {
    margin-top: 20px;
  }

  .contact .vw-meta {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 11px;
    line-height: 1.4;
  }
}

@media screen and (max-width: 479px) {
  p,
  ul,
  ol,
  blockquote {
    font-size: 16px;
    line-height: 1.5;
  }

  ul,
  ol {
    padding-left: 1.35rem;
  }

  h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  h3 {
    font-size: 24px;
    line-height: 1.12;
  }

  h4 {
    font-size: 20px;
    line-height: 1.2;
  }

  h1.h1,
  h1.h1.bigger,
  h1.h1.blue,
  h1.h1.blue.bigger,
  h1.h1.blue.articles_all,
  h1.h1.blue.newsrooms_external,
  h1.h1.about_spec {
    font-size: clamp(36px, 10vw, 42px) !important;
    line-height: 0.98;
    letter-spacing: -0.025em;
  }

  h1.h1.news_heading {
    font-size: clamp(31px, 8.4vw, 36px) !important;
    line-height: 1.04;
  }

  h2.h2,
  h2.h2.small,
  h2.h2.smallest,
  h2.h2.blue,
  h2.h2.products_heading,
  h2.h2.properties_heading,
  h2.h2.partners_main_heading,
  h2.h2.about_spec {
    font-size: clamp(32px, 9.2vw, 38px) !important;
    line-height: 1.03;
  }

  .p_gen,
  .p_gen.smaller,
  .p_gen.blue {
    font-size: 16px;
    line-height: 1.5;
  }

  .wrapper_news_blog {
    padding: 94px 16px 48px;
  }

  .heading_news {
    margin-top: 24px;
  }

  .fullsize_cover {
    height: 100vw;
    max-height: 440px;
  }

  .wrapper_article {
    padding: 48px 16px 72px;
  }

  .news_tag {
    font-size: 12px;
  }

  .footer .wrapper_footer {
    padding: 56px 16px 24px;
  }

  .footer .menu_grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

@media screen and (max-width: 350px) {
  .wrapper_mobile_menu {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile_link {
    font-size: 29px;
  }

  .footer .menu_grid {
    gap: 34px 12px;
  }

  .footer .title_menu,
  .footer .footer_link,
  .footer .footer_last_link,
  .footer .caption_box {
    font-size: 14px;
  }
}

/* Nomos supplied logo mark */
.svg_logo {
  background-image: url("/assets/nomos-mark-transparent.png?v=8");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
}
.logotype {
  width: auto !important;
  height: 32px !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.logotype .svg_logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
.nomos_wordmark {
  width: 120px;
  height: 24px;
  color: transparent;
  background-image: url("/assets/nomos-tech-wordmark-white.svg?v=8");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 120px;
  font-size: 0;
  line-height: 0;
}
.header.is-light-section .nomos_wordmark,
body:has(.close_txt[style*="display: block"]) .nomos_wordmark {
  background-image: url("/assets/nomos-tech-wordmark-blue.svg?v=8");
}
.logo_footer {
  width: 96px !important;
  align-self: flex-start;
}
.logo_footer .image {
  display: block;
  width: 96px !important;
  height: 96px;
  object-fit: contain;
  object-position: left center;
}
.footer .subscribe_newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.footer .subscribe_form {
  margin-top: 0;
}
.hamburger {
  background-image: url("/assets/nomos-mark-transparent.png?v=8");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.hamburger .cube_hamb {
  display: none !important;
}
body:has(.close_txt[style*="display: block"]) .svg_logo,
body:has(.close_txt[style*="display: block"]) .hamburger {
  background-image: url("/assets/nomos-mark-square.png?v=8") !important;
}
@media screen and (max-width: 991px) {
  .footer .subscribe_newsletter {
    gap: 24px;
  }
  .logotype {
    height: 28px !important;
    gap: 10px;
  }
  .logotype .svg_logo {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  .nomos_wordmark {
    width: 108px;
    height: 22px;
    flex-basis: 108px;
  }
}
@media screen and (max-width: 479px) {
  .footer .subscribe_newsletter {
    gap: 20px;
  }
  .logotype {
    height: 24px !important;
    gap: 8px;
  }
  .logotype .svg_logo {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
  .nomos_wordmark {
    width: 100px;
    height: 20px;
    flex-basis: 100px;
  }
  .logo_footer,
  .logo_footer .image {
    width: 88px !important;
  }
  .logo_footer .image {
    height: 88px;
  }
}
