/* Lockwood Umbrellas: Christmas banner */
/* Full-viewport width, pinned to the top of the screen, above the sidebar, logo rail and (on phone) the header bar. */
/* 1.0.25: taller bar (56px desktop, 48px at 600px or less). Inverted colours — dark bar (--fg #111) with light text and artwork (--p #F4F1EE). */
/* 1.0.26: wrap is the fixed bar; the close cap sits on the right; the text and sleigh scroll behind it. */
/* 1.0.27: the thin vertical divider on the left of the close cap is removed. */
/* 1.0.28: the close cap is a square of the bar height (56×56 desktop, 48×48 at 600px or less), so the padding around the × is even. A right safe-area inset extends the cap to the right of the square without shifting the ×. The marquee stops at the cap's left edge. */

.lw-xmas-wrap{display:block;position:fixed;top:0;left:0;right:0;width:auto;height:calc(56px + env(safe-area-inset-top,0px));z-index:70;box-sizing:border-box;background:var(--fg,#111);color:var(--p,#F4F1EE);overflow:hidden}
.lw-xmas-wrap[hidden]{display:none}
@media (max-width:600px){
  .lw-xmas-wrap{height:calc(48px + env(safe-area-inset-top,0px))}
}

.lw-xmas{display:block;position:absolute;top:0;left:0;right:calc(56px + env(safe-area-inset-right,0px));width:auto;height:100%;z-index:0;overflow:hidden;box-sizing:border-box;
  background:transparent;border:0;
  color:var(--p,#F4F1EE);text-decoration:none;
  font:460 14px/20px Inter,system-ui,-apple-system,sans-serif;letter-spacing:-0.09px;padding-top:env(safe-area-inset-top,0px)}
.lw-xmas:hover,.lw-xmas:focus{color:var(--p,#F4F1EE);text-decoration:none}
/* House rule (Max): no black focus/selection boxes anywhere. Keyboard focus shows as an underline on the text, in the theme's underline style (1px, 3px offset), in the light paper colour. */
.lw-xmas:focus-visible{outline:none}
.lw-xmas:focus-visible .lw-xmas__text{text-decoration:underline;text-decoration-color:var(--p,#F4F1EE);text-decoration-thickness:1px;text-underline-offset:3px}
.lw-xmas__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Close cap (Max's design): dark end panel, 12px stroke ×. Hover slightly lighter. 1.0.28: the cap is a square of the bar height (56×56 desktop, 48×48 at 600px or less) so the space around the × is even on all sides. A right safe-area inset is added as padding to the right of that square (box-sizing: border-box) and does not shift the ×. */
.lw-xmas__close{position:absolute;top:env(safe-area-inset-top,0px);right:0;z-index:2;
  width:calc(56px + env(safe-area-inset-right,0px));
  height:calc(100% - env(safe-area-inset-top,0px));
  min-width:56px;min-height:56px;
  display:flex;align-items:center;justify-content:center;
  margin:0;padding:0;padding-right:env(safe-area-inset-right,0px);
  background:var(--fg,#111);color:var(--p,#F4F1EE);
  border:0;box-sizing:border-box;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:background-color .2s;box-shadow:none;
  -webkit-appearance:none;appearance:none;font:inherit}
.lw-xmas__close:hover{background:#232323;color:var(--p,#F4F1EE)}
.lw-xmas__close:focus,.lw-xmas__close:focus-visible{outline:none;box-shadow:none;background:var(--fg,#111);color:var(--p,#F4F1EE)}
.lw-xmas__close:hover:focus-visible{background:#232323}
.lw-xmas__close:focus-visible svg{position:relative}
.lw-xmas__close:focus-visible::after{content:"";position:absolute;left:calc((100% - env(safe-area-inset-right,0px)) / 2);bottom:calc(50% - 6px - 4px);transform:translateX(-50%);width:12px;height:0;border-bottom:1px solid var(--p,#F4F1EE);pointer-events:none}
.lw-xmas__close svg{display:block;width:12px;height:12px}

/* This file is only printed on the front page while the banner is showing, so these offsets cannot leak to other pages. */
body{padding-top:calc(56px + env(safe-area-inset-top,0px))}
.panel{min-height:calc(100vh - 56px - env(safe-area-inset-top,0px))}
@media (min-width:1025px){
  .nav,.rail{top:calc(40px + 56px + env(safe-area-inset-top,0px))}
}
@media (max-width:1024px){
  /* The banner now takes the top safe area; the header bar sits directly under it at its usual 56px height. */
  .bar{top:calc(56px + env(safe-area-inset-top,0px));height:56px;padding-top:0}
  .nav{top:calc(56px + 56px + env(safe-area-inset-top,0px))}
}
@media (max-width:600px){
  .lw-xmas{font-size:13px;line-height:18px;right:calc(48px + env(safe-area-inset-right,0px))}
  .lw-xmas__close{width:calc(48px + env(safe-area-inset-right,0px));min-width:48px;min-height:48px}
  body{padding-top:calc(48px + env(safe-area-inset-top,0px))}
  .panel{min-height:calc(100vh - 48px - env(safe-area-inset-top,0px))}
  .bar{top:calc(48px + env(safe-area-inset-top,0px));height:56px;padding-top:0}
  .nav{top:calc(56px + 48px + env(safe-area-inset-top,0px))}
}

/* Instant hide + collapse the fixed-bar offsets when the visitor has closed the banner. */
html.lw-xmas-is-dismissed .lw-xmas-wrap{display:none !important}
html.lw-xmas-is-dismissed body{padding-top:0 !important}
html.lw-xmas-is-dismissed .panel{min-height:100vh !important}
@media (min-width:1025px){
  html.lw-xmas-is-dismissed .nav,
  html.lw-xmas-is-dismissed .rail{top:40px !important}
}
@media (max-width:1024px){
  html.lw-xmas-is-dismissed .bar{
    top:0 !important;
    height:calc(56px + env(safe-area-inset-top,0px)) !important;
    padding-top:env(safe-area-inset-top,0px) !important;
  }
  html.lw-xmas-is-dismissed .nav{top:calc(56px + env(safe-area-inset-top,0px)) !important}
}
