/* Small integration layer over the locally preserved agency styles. */
/* Japainess: preserve the source hover lift (-10%, -5deg) and spring return.
   Animate the inner card so its hover target stays in place. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  #block-3c40120423b1ed1af430 {
    transform:translateY(0) rotate(0deg);
    transform-origin:center;
    transition:transform .5s cubic-bezier(.2,1.6,.4,1);
    transition-timing-function:linear(0, .22 4%, .64 10%, 1.08 20%, 1.16 28%, 1.08 40%, .98 56%, .99 72%, 1);
  }
  .fe-block-3c40120423b1ed1af430:hover #block-3c40120423b1ed1af430 {
    transform:translateY(-10%) rotate(-5deg);
  }
}
html { scroll-behavior:smooth; }
@media(min-width:768px) {
  #header .header-title-logo :is(a,img) { max-height:38.5px; }
}
html .fluid-image-component-root.agency-pack-portrait { transform:translate3d(0,var(--pack-offset,0px),0); }
@media(prefers-reduced-motion:reduce) { html .fluid-image-component-root.agency-pack-portrait { transform:none; } }
/* Russian headings use authored sentence case, including names and acronyms. */
html[lang="ru"] { --heading-font-text-transform:none; }
html[lang="ru"] :is(h1,h2,h3,h4,h5,h6) { text-transform:none; }
/* Quiet, continuous rotation of the text asterisk; the brand word stays still. */
.agency-brand-mention { white-space:nowrap; }
.agency-brand-asterisk { display:inline-block; line-height:1em; transform-origin:50% 32%; }
@media(prefers-reduced-motion:no-preference) {
  .agency-brand-asterisk { animation:agency-asterisk-turn 13.846154s linear infinite; }
}
@keyframes agency-asterisk-turn { to { transform:rotate(360deg); } }
.agency-os-nav { margin-left:24px !important; }
.agency-os-nav a { white-space:nowrap; color:#ff3333 !important; }
.agency-os-mobile a { color:#ff3333 !important; }
.header--menu-open .header-menu { opacity:1; visibility:visible; }
.header-menu { visibility:hidden; }
.header--menu-open .header-menu-nav-item a:focus-visible, a:focus-visible, button:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
.agency-form-note { font-size:11px;line-height:1.5;opacity:.75;max-width:450px; }
form[data-agency-form="newsletter"] .agency-form-note { display:none; }
.agency-lightbox { border:0;background:transparent;padding:0;max-width:none;max-height:none;width:100vw;height:100dvh;outline:0; }
.agency-lightbox[open] { display:flex;align-items:center;justify-content:center; }
.agency-lightbox::backdrop { background:rgba(0,0,0,.95); }
.agency-lightbox img { max-width:94vw;max-height:94dvh;object-fit:contain; }
.agency-lightbox .sqs-lightbox-close { position:fixed;right:20px;top:20px;cursor:pointer;background:transparent;border:0;z-index:2; }
/* Mobile image sizes and source grids remain defined by the original styles. */
@media(max-width:767px){.agency-os-nav{margin-left:0 !important}.agency-os-mobile{margin-top:12px}.agency-os-mobile a{font-size:22px !important}.agency-form-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none !important;transition:none !important}}
/* Source runtime calculated these image dimensions after each resize. */

@media(max-width:767px){
  body.tweak-fixed-header #header .header-announcement-bar-wrapper { padding:6vw; }
}

.blog-item-wrapper blockquote { box-sizing:border-box; max-width:100%; }
.blog-item-wrapper a { overflow-wrap:anywhere; }
footer h3 { overflow-wrap:anywhere; }
/* Prevent the source article navigation arrow from extending beyond the screen. */
@media(max-width:767px){
  .item-pagination { gap:16px; }
  .item-pagination-link { min-width:0; }
  .item-pagination-title { overflow-wrap:anywhere; }
  .item-pagination-icon { flex-shrink:0; }
  .item-pagination-link--next { padding-right:25px; }
}

/* Keep the shared newsletter invitation in its authored sentence case. */
footer .newsletter-form-header-title{text-transform:none!important}
