/* News-article fixes: keep the mobile brand clear and contact available while reading. */
body:has(.article-shell) .news-contact-float {
  position: fixed;
  top: 46%;
  right: max(16px, env(safe-area-inset-right));
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 17px;
  border: 1px solid #e2b900;
  box-shadow: 0 8px 24px #0003;
  transform: translateY(-50%);
  white-space: nowrap;
}

body:has(.article-shell) .news-contact-float:hover {
  transform: translateY(calc(-50% - 2px));
}

.news-contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #101010;
  color: #ffd533;
}

.news-contact-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

@media (max-width: 650px) {
  body:has(.article-shell) .header .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    align-items: center;
    justify-content: initial;
    column-gap: 4px;
    height: 66px;
  }

  body:has(.article-shell) .header .menu-cluster {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    z-index: 20;
  }

  body:has(.article-shell) .header .menu {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  body:has(.article-shell) .header .menu::before {
    content: "☰";
    color: #fff;
    font: 18px/1 sans-serif;
  }

  body:has(.article-shell) .header .language-switch {
    flex: 0 0 auto;
    min-width: 0;
    z-index: 22;
  }

  body:has(.article-shell) .header .language-switch summary {
    min-height: 36px;
    gap: 4px;
    padding: 6px 7px;
  }

  body:has(.article-shell) .header .language-switch summary .language-switch-current {
    font-size: 10px;
  }

  body:has(.article-shell) .header .logo {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    flex: 0 0 50px;
    width: 50px;
    margin: 0;
    transform: none;
    z-index: 30;
  }

  body:has(.article-shell) .header .price-cta {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
    min-height: 36px;
    padding: 5px 7px;
    gap: 5px;
    font-size: 10px;
    z-index: 20;
  }

  body:has(.article-shell) .news-contact-float {
    top: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 52px;
    min-height: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    transform: none;
  }

  body:has(.article-shell) .news-contact-float:hover {
    transform: translateY(-2px);
  }

  body:has(.article-shell) .news-contact-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 380px) {
  body:has(.article-shell) .header .price-cta {
    width: 38px;
    min-width: 38px;
    overflow: hidden;
    padding: 5px;
    font-size: 0;
  }

  body:has(.article-shell) .header .price-cta .arrow {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.article-shell) .news-contact-float,
  body:has(.article-shell) .news-contact-float:hover {
    transition: none !important;
  }
}
