/* Offices.com.gr — Santa banner on the Greek and English homepages */
body:has(article.page-content:is(.post-2909, .post-3778)) #offices-site-header .mainbar .row-inner {
  position: relative;
}
body:has(article.page-content:is(.post-2909, .post-3778)) #offices-site-header .mainbar .row-inner::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 43.9%;
  transform: translate(-50%, -50%);
  width: 121px;
  aspect-ratio: 512 / 253;
  background: url("/wp-content/uploads/2026/11/offices-santa-banner.webp") center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 640px) {
  body:has(article.page-content:is(.post-2909, .post-3778)) #offices-site-header .mainbar .row-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(4px, 2vw, 12px);
  }
  body:has(article.page-content:is(.post-2909, .post-3778)) #offices-site-header .mainbar .brand {
    grid-area: 1 / 1;
  }
  body:has(article.page-content:is(.post-2909, .post-3778)) #offices-site-header .mainbar .brand img {
    width: clamp(112px, 40vw, 164px);
  }
  body:has(article.page-content:is(.post-2909, .post-3778)) #offices-site-header .mainbar .row-inner::after {
    position: static;
    transform: none;
    grid-area: 1 / 2;
    justify-self: start;
    width: min(100%, clamp(52px, 20vw, 112px));
  }
  body:has(article.page-content:is(.post-2909, .post-3778)) #offices-site-header .mainbar .menu-button {
    grid-area: 1 / 3;
  }
}