/* Parallels and Meridians: responsive fixes (October 2026). Loaded after responsive.css on every page. */

/* Phones: logo, language flags and menu button on one compact row */
@media screen and (max-width: 767px) {
  .site-container .header,
  .site-container .header.affix {
    padding: 10px 15px !important;
  }
  .site-container .header .navbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 0;
  }
  .site-container .header .navbar:before,
  .site-container .header .navbar:after {
    display: none;
  }
  .site-container .header .navbar .navbar-header {
    display: contents;
    margin: 0;
  }
  .site-container .header .navbar .navbar-header .navbar-brand {
    order: 1;
    float: none;
    height: auto;
    margin: 0 auto 0 0 !important;
    padding: 0;
  }
  .site-container .header .navbar .navbar-header .navbar-brand img {
    display: block;
    width: auto;
    height: 46px;
  }
  .site-container .header .navbar .top-cart {
    order: 2;
    float: none;
    margin: 0 0 0 16px !important;
    padding: 0;
    line-height: 1;
  }
  .site-container .header .navbar .top-cart > a {
    display: block;
    padding-bottom: 0;
  }
  .site-container .header .navbar .top-cart img {
    display: block;
    width: 22px;
    height: auto;
  }
  .site-container .header .navbar .navbar-header .navbar-toggle {
    order: 3;
    float: none;
    margin: 0 0 0 14px;
  }
  .site-container .header .navbar .navbar-collapse {
    order: 4;
    flex: 1 1 100%;
  }
}

/* Small screens: nested .container blocks should not run past the screen edge */
@media screen and (max-width: 991px) {
  .container .container {
    width: auto;
  }
}

/* Long words and email addresses wrap instead of pushing the page sideways */
.site-container .footer .widget a,
.site-container .site-wrapper p {
  overflow-wrap: break-word;
}
