/* Shared notice-type pills and compact dated captions, scoped to Notices. */
.fcg-notice-bar,#fcg-notice-dialog{font-family:Montserrat,Arial,sans-serif;color:#131e28}
.fcg-notice-bar,#fcg-notice-dialog,.fcg-notice-bar [data-level=info]{--badge-bg:#e8f2ff;--badge-border:#89b5de;--badge-ink:#1766ae;--notice-accent:#2475ca}
.fcg-notice-bar[data-level=restriction],.fcg-notice-bar [data-level=restriction],#fcg-notice-dialog [data-level=restriction]{--badge-bg:#fff2c9;--badge-border:#d4b15d;--badge-ink:#7b5700;--notice-accent:#d6a20f}
.fcg-notice-bar[data-level=closure],.fcg-notice-bar [data-level=closure],#fcg-notice-dialog [data-level=closure]{--badge-bg:#e1baba;--badge-border:#a25252;--badge-ink:#d21a1a;--notice-accent:#e72323}
.fcg-notice-bar,.fcg-notice-bar *,#fcg-notice-dialog,#fcg-notice-dialog *{box-sizing:border-box}
.fcg-notice-bar[hidden],.fcg-notice-bar [hidden],#fcg-notice-dialog [hidden]{display:none!important}
.fcg-notice-bar{position:sticky;top:0;z-index:99990;background:#1f2b36;color:#fff;width:100%;border:0;margin:0;padding:0}
body.admin-bar .fcg-notice-bar{top:32px}
@media(max-width:782px){body.admin-bar .fcg-notice-bar{top:46px}}
@media(max-width:600px){body.admin-bar .fcg-notice-bar{top:0}}
#fcg-notice-more{appearance:none;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;gap:12px;min-height:46px;width:100%;max-width:1440px;margin:0 auto;padding:7px 16px;border:0;border-radius:0;background:transparent;color:inherit;white-space:nowrap;text-align:center;font-family:inherit;font-size:14px;line-height:1.4;box-shadow:none;text-transform:none;cursor:pointer}
#fcg-notice-more:disabled{cursor:default;opacity:1}
.fcg-notice-badge{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:5px 9px;background:var(--badge-bg);color:var(--badge-ink);border:1px solid var(--badge-border);border-radius:4px;line-height:1.2;white-space:nowrap}
.fcg-notice-extra{padding:3px 5px;margin-left:-5px;font-size:11px!important;font-weight:800;line-height:1.2}
.fcg-notice-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:var(--notice-accent)}
.fcg-notice-level{font-size:10px!important;font-weight:800;letter-spacing:1px;line-height:1.2;text-transform:uppercase}
.fcg-notice-caption{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px!important;font-weight:500;line-height:1.4}
.fcg-notice-date{font-weight:900;white-space:nowrap}
#fcg-notice-summary{font-size:14px!important;font-weight:500}
.fcg-notice-link-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:18px;height:24px;margin-left:-5px;color:#fff}
.fcg-notice-link-icon svg{display:block;width:13px;height:13px;overflow:visible}
#fcg-notice-more:hover:not(:disabled) .fcg-notice-link-icon{color:#8edbd7}
#fcg-notice-more:focus-visible{outline:2px solid #8edbd7;outline-offset:-3px}
#fcg-notice-close:focus-visible,#fcg-notice-dialog a:focus-visible,.fcg-notice-dialog-body:focus-visible{outline:3px solid #099;outline-offset:4px}
/* One transparent scrolling surface; the cards float above the dimmed site. */
#fcg-notice-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:24px 24px 40px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;text-align:left}
#fcg-notice-dialog::-webkit-scrollbar{display:none;width:0;height:0}
#fcg-notice-dialog:not([open]){display:none}
#fcg-notice-dialog[open]{display:block;animation:fcg-notice-in .2s ease-out}
#fcg-notice-dialog::backdrop{background:rgba(19,30,40,.9);animation:fcg-notice-in .2s ease-out}
#fcg-notice-dialog.is-closing,#fcg-notice-dialog.is-closing::backdrop{animation:fcg-notice-out .16s ease-in forwards}
.fcg-notice-dialog-top{display:flex;align-items:center;justify-content:space-between;width:min(960px,100%);margin:0 auto 30px;padding:0 44px 0 0;background:transparent;border:0}
#fcg-notice-dialog #fcg-notice-heading{font-size:24px!important;font-weight:900;line-height:1.3;letter-spacing:0;text-transform:uppercase;color:#fff;width:auto!important;margin:0;padding:0;text-align:left}
#fcg-notice-close{position:fixed;right:18px;top:16px;z-index:1;display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border:1px solid #ffffff80;border-radius:50%;background:#1f2b36;color:#fff;font:400 28px/1 Arial,sans-serif;cursor:pointer}
#fcg-notice-close:hover{background:#099}
.fcg-notice-dialog-body{width:min(960px,100%);margin:0 auto;padding:0;padding-inline-end:20px;overflow:visible}
.fcg-notice-day{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr);gap:24px;min-height:124px;margin-bottom:28px}
.fcg-notice-day::before{content:'';position:absolute;left:43px;top:104px;bottom:-28px;width:2px;background:#ffffff70}
.fcg-notice-day[data-last-visible=true]::before{bottom:12px}
.fcg-notice-day[data-last-visible=true]::after{content:'';position:absolute;left:35px;bottom:11px;width:18px;height:2px;background:#ffffff70}
.fcg-notice-day[data-last-visible=true]{margin-bottom:0}
.fcg-notice-day-marker{position:relative;z-index:0;padding-top:18px;color:#fff;text-align:center}
.fcg-notice-day-number{display:block;font-size:42px!important;font-weight:900;line-height:1.05;letter-spacing:-1px;white-space:nowrap}
.fcg-notice-day-number sup{font-size:.5em;line-height:0;position:relative;top:-.65em;vertical-align:baseline;letter-spacing:0}
.fcg-notice-day-month{display:block;margin-top:6px;font-size:18px!important;font-weight:900;line-height:1.3;letter-spacing:1.2px;text-transform:uppercase}
.fcg-notice-day[data-day=undated] .fcg-notice-day-month{font-size:11px!important;letter-spacing:.3px}
.fcg-notice-day-cards{min-width:0}
#fcg-notice-dialog .fcg-notice-detail{background:#fff;border:0;border-radius:12px;margin:0 0 28px;padding:28px;box-shadow:0 10px 35px #0001;overflow-wrap:anywhere}
#fcg-notice-dialog .fcg-notice-detail:last-child{margin-bottom:0}
.fcg-notice-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:5px;flex-wrap:wrap;margin:0}
.fcg-notice-card-heading .fcg-notice-badge{margin-top:3px}
#fcg-notice-dialog h3{flex:1;min-width:0;font-size:30px!important;line-height:1.2;font-weight:900!important;text-transform:none;letter-spacing:0;color:#131e28;text-align:left;margin:0;padding:0}
#fcg-notice-dialog .fcg-notice-card-title{font-weight:900}
#fcg-notice-dialog .fcg-notice-applies{margin:6px 0 20px;padding:0;color:#099;font-size:14px!important;font-style:italic;font-weight:400;line-height:1.5;letter-spacing:0;text-align:left}
.fcg-notice-card-heading + .fcg-notice-richtext{margin-top:20px}
#fcg-notice-dialog .fcg-notice-richtext,#fcg-notice-dialog .fcg-notice-richtext p,#fcg-notice-dialog .fcg-notice-richtext li{font-size:15px!important;line-height:1.65;text-align:left;color:#131e28;letter-spacing:0}
#fcg-notice-dialog .fcg-notice-richtext p{padding:0;margin:0 0 16px}
#fcg-notice-dialog .fcg-notice-richtext p:last-child{margin-bottom:0}
#fcg-notice-dialog .fcg-notice-richtext a{color:#007878;text-decoration:underline;text-underline-offset:3px}
#fcg-notice-dialog .fcg-notice-richtext ul,#fcg-notice-dialog .fcg-notice-richtext ol{padding-left:24px;margin:14px 0 22px}
#fcg-notice-dialog .fcg-notice-richtext li{list-style:inherit;margin:8px 0}
#fcg-notice-dialog .fcg-notice-richtext img{max-width:100%;height:auto}
.fcg-notice-scroll-lock{overflow:hidden!important}
@keyframes fcg-notice-in{from{opacity:0}to{opacity:1}}
@keyframes fcg-notice-out{to{opacity:0}}
@media(max-width:600px){
  #fcg-notice-more{gap:8px;padding:7px 10px}
  .fcg-notice-badge{padding:5px 7px;gap:5px}
  .fcg-notice-extra{padding:3px 4px;margin-left:-2px;font-size:10px!important}
  .fcg-notice-level{font-size:9px!important;letter-spacing:.6px}
  .fcg-notice-caption,#fcg-notice-summary{font-size:12px!important}
  .fcg-notice-link-icon{margin-left:-3px;width:14px}
  #fcg-notice-dialog{padding:20px 12px 28px}
  #fcg-notice-dialog #fcg-notice-heading{font-size:22px!important}
  .fcg-notice-day{grid-template-columns:48px minmax(0,1fr);gap:10px;min-height:110px;margin-bottom:20px}
  .fcg-notice-day::before{left:23px;top:82px;bottom:-20px}
  .fcg-notice-day[data-last-visible=true]::after{left:17px;width:14px}
  .fcg-notice-day-number{font-size:28px!important}
  .fcg-notice-day-month{font-size:13px!important;letter-spacing:.5px;margin-top:5px}
  .fcg-notice-day[data-day=undated] .fcg-notice-day-month{font-size:9px!important;letter-spacing:0}
  #fcg-notice-dialog .fcg-notice-detail{padding:20px 16px;margin-bottom:20px}
  /* Prefer a 250px title, but allow it to fit the card on narrower phones. */
  #fcg-notice-dialog h3{font-size:22px!important;min-width:min(250px,100%)}
  #fcg-notice-dialog .fcg-notice-applies{font-size:12px!important;line-height:1.5}
  #fcg-notice-dialog .fcg-notice-richtext p,#fcg-notice-dialog .fcg-notice-richtext li{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){#fcg-notice-dialog,#fcg-notice-dialog::backdrop{animation:none!important}}
