/* One visual treatment for normal and sticky headers; independent of anchor styles. */
.header-custom__text:has(.gr-preheader){max-width:none;padding:0;}
.gr-preheader{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;width:100%;height:30px;padding:0 10px;box-sizing:border-box;background:#002848;color:#fff;}
.header-custom__text .gr-preheader *, .menu_custom .menu_pre_header .gr-preheader *{color:#fff;font-size:14px;line-height:18px;text-decoration:none;box-sizing:border-box;}
.gr-preheader [hidden]{display:none!important;}
.gr-preheader__content{position:static;min-width:0;text-align:center;}
.gr-preheader [data-message]{display:inline;}
.gr-preheader a:hover [data-copy], .gr-preheader a:hover{text-decoration:underline;}
.gr-preheader strong{font-weight:700;}
.gr-preheader .gr-preheader__control{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;font:inherit;}
.header-custom__text .gr-preheader .gr-preheader__control,.menu_custom .menu_pre_header .gr-preheader .gr-preheader__control{font-size:20px;}
.gr-preheader button[data-copy]{padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;border-bottom:1px dotted currentColor;}
.gr-preheader button:focus-visible,.gr-preheader a:focus-visible{outline:2px solid #fff;outline-offset:2px;}
.gr-preheader [data-countdown]{margin-left:8px;white-space:nowrap;font-variant-numeric:tabular-nums;}
.gr-preheader [data-feedback]{position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);z-index:20;background:#002848;white-space:nowrap;}
.gr-preheader [data-feedback]:not(:empty){padding:4px 8px;}
@media(max-width:767px){
 .gr-preheader{padding:0 4px;gap:1px;}
 .header-custom__text .gr-preheader *, .menu_custom .menu_pre_header .gr-preheader *{font-size:11px;line-height:13px;}
 .gr-preheader .gr-preheader__control{flex-basis:24px;width:24px;}
 .gr-preheader__content{max-width:calc(100% - 50px);}
 .gr-preheader [data-countdown]{margin-left:4px;}
}

.header-custom__text .gr-preheader,.menu_custom .menu_pre_header .gr-preheader{text-decoration:none;}

@media(max-width:767px){
 .gr-preheader:has([data-action="next"][hidden]) .gr-preheader__content{max-width:100%;}
 .gr-preheader__content:has([data-countdown]:not([hidden])) [data-countdown]{display:block;margin-left:0;}
}

/* Keep both arrows in place using the widest active message, including bold text. */
.gr-preheader__content{width:var(--gr-message-width,auto);max-width:calc(100% - 64px);flex:0 1 auto;}
.gr-preheader__measure{position:absolute!important;visibility:hidden!important;pointer-events:none!important;display:block!important;white-space:nowrap!important;width:max-content!important;max-width:none!important;}
@media(max-width:767px){.gr-preheader__content{max-width:calc(100% - 50px);}}
