/* Brand typography is loaded locally. Lemon Milk is used only for secondary
   brand text so the existing layout and Righteous headings keep their shape. */
@font-face {
  font-family: 'Lemon Milk Light';
  src: url('./fonts/LEMONMILK-Light.otf') format('opentype');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
.wp-block-navigation a,
.wp-block-navigation .wp-block-navigation-item__label,
.wp-block-navigation .wp-block-navigation__responsive-container-close,
.wp-block-preformatted,
.ocsc-footer-links,
.ocsc-menu .ocsc-price,
.ocsc-consent-notice,
#ocsc-company-dialog .ocsc-dialog-dismiss {
  font-family: 'Lemon Milk Light', sans-serif;
  font-weight: 300;
}
.wp-block-navigation__container {
  flex-wrap: nowrap !important;
}
.wp-block-navigation__container > .wp-block-navigation-item > a {
  font-size: .9em;
  white-space: nowrap;
}

.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
  background-color:#15100b!important;
  color:#fbfbfb!important;
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label,
.wp-block-navigation .wp-block-navigation__responsive-container-close {
  color:#fbfbfb!important;
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
  color:#fbfbfb!important;
  text-decoration:underline;
  text-decoration-color:#be1e2d;
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open a:focus-visible {
  outline:2px solid currentColor;
  outline-offset:6px;
}

/* Additions use the current brand colours and existing local heading font. */
.ocsc-menu h2,.ocsc-menu h3,#ocsc-company-dialog h2 {font-family:Righteous,cursive;font-weight:400;}
.ocsc-menu h2 {margin-top:2em;}
.ocsc-menu h3 {color:#be1e2d;font-size:1.2em;line-height:1.4;margin-bottom:.35em;}
.ocsc-menu-item {margin-bottom:1.7em;}
.ocsc-menu-item p {margin-top:0;}
.ocsc-menu-item small {font-size:.9em;}
.ocsc-price {white-space:nowrap;}
.ocsc-footer-links {background:#15100b;color:#fbfbfb;text-align:center;padding:1.25em 1em;font-size:.85em;line-height:1.9;}
.ocsc-footer-links a {color:inherit;}
.ocsc-consent-notice {border:1px solid currentColor;padding:1.2em;}
.ocsc-consent-notice a {text-decoration:underline;}
#ocsc-company-dialog {box-sizing:border-box;width:min(530px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:1px solid #be1e2d;padding:36px;background:#15100b;color:#fbfbfb;border-radius:0;font-family:inherit;}
#ocsc-company-dialog::backdrop {background:rgba(0,0,0,.6);}
#ocsc-company-dialog h2 {font-size:1.8rem;line-height:1.2;padding-right:24px;}
#ocsc-company-dialog p {font-size:1rem;line-height:1.6;}
#ocsc-company-dialog .wp-element-button {display:inline-block;background:#be1e2d;color:white;padding:12px 22px;font:inherit;text-decoration:none;}
#ocsc-company-dialog .ocsc-dialog-close {position:absolute;top:8px;right:10px;width:38px;height:38px;background:transparent;color:white;border:0;font-size:30px;cursor:pointer;}
#ocsc-company-dialog .ocsc-dialog-dismiss {background:transparent;color:inherit;text-decoration:underline;border:0;padding:0;font:inherit;cursor:pointer;}
#ocsc-company-dialog :focus-visible {outline:2px solid white;outline-offset:4px;}
.ocsc-article-index {line-height:1.7;}
@media(max-width:600px){#ocsc-company-dialog{padding:28px 22px;} .ocsc-menu h3{font-size:1.1em;} .wp-block-preformatted{white-space:pre-wrap;overflow-wrap:break-word;} iframe[src*="docs.google.com/forms"]{max-width:100%;} .wp-block-navigation__container{flex-wrap:wrap!important;} .wp-block-navigation__container > .wp-block-navigation-item > a{font-size:1em;}}
@media(prefers-reduced-motion:reduce){#ocsc-company-dialog{scroll-behavior:auto;}}
