/* YUSUBOV Atelier 1.0.5 — legal-page brand identity alignment.
   These templates inherit obsolete 104px logo-image rules. Match the verified
   home header exactly instead of pushing the old oversized image sideways.
   Applies ONLY to the header on /privacy/, /consent/, /offer/ and /en/ pairs. */
#yl-legal > header.yu-header a.yu-header__logo,
#yo-offer > header.yu-header a.yu-header__logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: start !important;
  position: static !important;
  width: 112px !important;
  max-width: 112px !important; /* overwrite older 78px !important in style.css */
  height: 76px !important;
  margin: 0 !important;
  padding: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}
#yl-legal > header.yu-header a.yu-header__logo img,
#yo-offer > header.yu-header a.yu-header__logo img {
  display: block !important;
  width: 68px !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 60px !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  margin: 0 !important;
  transform: none !important;
}
@media (max-width: 1080px) {
  #yl-legal > header.yu-header a.yu-header__logo,
  #yo-offer > header.yu-header a.yu-header__logo { height: 72px !important; }
  #yl-legal > header.yu-header a.yu-header__logo img,
  #yo-offer > header.yu-header a.yu-header__logo img {
    width: 60px !important;
    max-height: 54px !important;
  }
}
/* Preserve the approved public-offer title spacing from 1.0.4. */
#yo-offer .yo-hero h1 {
  letter-spacing: .011em !important;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
@media (max-width: 560px) {
  #yo-offer .yo-hero h1 { letter-spacing: .004em !important; }
}
