:root{--ms-navy:#143642;--ms-teal:#197278;--ms-gold:#f6c453;--ms-cream:#f4f0e6;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important;}*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;}}
.wp-site-blocks{overflow-x:hidden;}
main img,.wp-block-image img{max-width:100%;height:auto;}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--ms-gold)!important;outline-offset:3px!important;}
button,.wp-element-button,input[type=submit],input[type=button]{min-height:44px;}
input:not([type=checkbox]):not([type=radio]),select,textarea{max-width:100%;}
.wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch;}
@media (max-width:782px){body{overflow-wrap:anywhere;}[role=navigation]{line-height:1.5!important;padding:10px 8px!important;}[role=navigation] a{display:inline-block!important;white-space:nowrap!important;margin:4px 6px!important;}h1{font-size:clamp(2.35rem,12vw,4rem)!important;line-height:1.02!important;}.wp-block-gallery.has-nested-images{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.wp-block-jetpack-contact-form-container,.contact-form,.tribe-common,.tribe-events,.tribe-tickets__tickets-form,.tribe-tickets__commerce-checkout{max-width:100%!important;}.tribe-common button,.tribe-common input,.tribe-common select{font-size:16px!important;}}
@media (max-width:480px){.wp-block-gallery.has-nested-images{grid-template-columns:1fr!important;}[role=navigation] a{font-size:15px!important;}}

/* Minerva Stage — single event template.
   Moved out of the event description field 2026-08-24 so that stylesheet
   text no longer leaks into Google/Outlook add-to-calendar payloads.
   Header hiding is scoped to single events only. */
.single-tribe_events header.wp-block-template-part{display:none!important}

.ms-event-brand{display:flex;align-items:center;gap:14px;margin:6px 0 22px;padding:12px 0 16px;border-bottom:1px solid #dbe4e6}
.ms-event-brand img{display:block;width:82px;height:82px;object-fit:contain;border-radius:14px}
.ms-event-brand strong{display:block;font-size:22px;color:#143642}
.ms-event-brand span{color:#51636a}
.ms-event-nav{margin:0 0 24px;font-weight:800}
.ms-event-nav a{color:#197278;text-decoration:none}
.ms-event-nav a:hover{text-decoration:underline}

/* Minerva Stage — shared header for template-rendered pages
   (events archive, search results, 404, blog posts). Content pages carry their
   own focused navigation and do not load this template part, so this cannot
   double up. Hidden on single events by the .single-tribe_events rule above,
   which already provide in-page navigation. Added 2026-08-24. */
.ms-site-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px;max-width:1100px;margin:0 auto;padding:16px 24px;border-bottom:1px solid #dbe4e6}
.ms-site-header__brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.ms-site-header__brand img{display:block;width:44px;height:44px;object-fit:contain;border-radius:10px}
.ms-site-header__brand strong{display:block;font-size:18px;line-height:1.2;color:#143642}
.ms-site-header__brand small{display:block;font-size:12.5px;color:#51636a}
.ms-site-header__nav{display:flex;flex-wrap:wrap;gap:2px 18px;align-items:center}
.ms-site-header__nav a{color:#197278;text-decoration:none;font-weight:700;font-size:14.5px;padding:11px 4px;display:inline-block}
.ms-site-header__nav a:hover{text-decoration:underline}
.ms-site-header__nav a:focus-visible{outline:2px solid #197278;outline-offset:2px;text-decoration:underline}
@media (max-width:640px){
.ms-site-header{padding:12px 16px;gap:10px 16px}
.ms-site-header__nav{gap:0 14px}
.ms-site-header__nav a{font-size:13.5px}
}

/* Compact Minerva Stage masthead — upper-left logo with transparent teal navigation */
#home > header:first-child{
  position:absolute!important;
  z-index:12!important;
  top:0!important;
  left:0!important;
  width:250px!important;
  max-width:250px!important;
  margin:0!important;
  padding:12px 14px 10px!important;
  box-sizing:border-box!important;
  pointer-events:none!important;
}
#home > header:first-child img[alt="Minerva Stage — Established 1996"]{
  display:block!important;
  width:100%!important;
  max-width:220px!important;
  height:auto!important;
  margin:0!important;
}
#home > [role="navigation"]{
  position:relative!important;
  z-index:10!important;
  min-height:150px!important;
  box-sizing:border-box!important;
  padding:18px 18px 18px 260px!important;
  text-align:right!important;
  background:rgba(20,54,66,.84)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  align-content:center!important;
  align-items:center!important;
  gap:2px 0!important;
}
#home > [role="navigation"] a{line-height:1.35!important;}
@media (max-width:900px){
  #home > header:first-child{width:210px!important;max-width:210px!important;padding:10px 12px 8px!important;}
  #home > header:first-child img[alt="Minerva Stage — Established 1996"]{max-width:185px!important;}
  #home > [role="navigation"]{min-height:128px!important;padding:12px 10px 12px 218px!important;}
  #home > [role="navigation"] a{font-size:14px!important;margin:3px 6px!important;}
}
@media (max-width:620px){
  #home > header:first-child{position:relative!important;width:100%!important;max-width:none!important;padding:10px 14px 4px!important;background:rgba(20,54,66,.84)!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important;}
  #home > header:first-child img[alt="Minerva Stage — Established 1996"]{width:165px!important;max-width:165px!important;}
  #home > [role="navigation"]{min-height:0!important;padding:8px 8px 12px!important;justify-content:flex-start!important;text-align:left!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important;}
  #home > [role="navigation"] a{font-size:14px!important;margin:3px 5px!important;}
}


/* Masthead alignment refinement */
#home{margin-top:0!important;}
#home > header:first-child{
  height:112px!important;
  width:190px!important;
  max-width:190px!important;
  padding:10px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
}
#home > header:first-child img[alt="Minerva Stage — Established 1996"]{
  width:158px!important;
  max-width:158px!important;
}
#home > [role="navigation"]{
  min-height:112px!important;
  padding:12px 12px 12px 196px!important;
  flex-wrap:nowrap!important;
  justify-content:space-between!important;
  gap:0!important;
  overflow:visible!important;
}
#home > [role="navigation"] a{
  font-size:11px!important;
  line-height:1.2!important;
  margin:0 4px!important;
  padding:7px 0!important;
  white-space:nowrap!important;
}
#home > [role="navigation"] .minerva-archive-contribute-link{
  padding:8px 11px!important;
}
@media (max-width:1100px) and (min-width:621px){
  #home > header:first-child{height:118px!important;width:170px!important;max-width:170px!important;padding:9px 12px!important;}
  #home > header:first-child img[alt="Minerva Stage — Established 1996"]{width:145px!important;max-width:145px!important;}
  #home > [role="navigation"]{min-height:118px!important;padding:10px 8px 10px 176px!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-content:center!important;}
  #home > [role="navigation"] a{font-size:11px!important;margin:2px 4px!important;}
}
@media (max-width:620px){
  #home > header:first-child{height:auto!important;width:100%!important;max-width:none!important;padding:10px 14px 4px!important;display:flex!important;align-items:center!important;}
  #home > header:first-child img[alt="Minerva Stage — Established 1996"]{width:165px!important;max-width:165px!important;}
  #home > [role="navigation"]{min-height:0!important;padding:8px 8px 12px!important;flex-wrap:wrap!important;justify-content:flex-start!important;}
  #home > [role="navigation"] a{font-size:14px!important;line-height:1.35!important;margin:3px 5px!important;padding:0!important;}
}


/* Flush masthead to the true top edge */
body.home main#wp--skip-link--target > .entry-content{padding-top:0!important;}
#home > header:first-child img[alt="Minerva Stage — Established 1996"]{max-height:90px!important;object-fit:contain!important;}
@media (max-width:620px){#home > header:first-child img[alt="Minerva Stage — Established 1996"]{max-height:none!important;}}


/* Final masthead and hero vertical alignment */
@media (min-width:621px){
  body.home #home > header:first-child{
    top:0!important;
    margin:0!important;
    padding:10px 12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }
  body.home #home > section[aria-labelledby="featured-show-title"]{
    padding-top:0!important;
  }
}


/* Center desktop navigation in the space between the masthead and right edge */
@media (min-width:1101px){
  body.home #home > [role="navigation"]{
    padding-left:172px!important;
    padding-right:12px!important;
  }
}
