:root {
  --bths-primary: #2a3280;
  --bths-navy: #1e1c56;
  --bths-footer: #0d1035;
  --bths-accent: #eeee22;
  --bths-text: #333333;
  --bths-muted: #777777;
  --bths-light: #efefef;
  --bths-border: rgba(255,255,255,.18);
  --bths-container: 1170px;
  --bths-sticky-bg: rgba(30, 28, 86, .93);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bths-text);
  background: #fff;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--bths-primary); text-decoration: none; }
a:hover, a:focus { color: var(--bths-navy); }
h1,h2,h3,h4,h5,h6 { margin-top: 0; font-family: Bitter, Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.25; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
.bths-container { width: min(calc(100% - 40px), var(--bths-container)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; z-index: 100000; top: 10px; left: 10px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: #fff; color: #000; }
.bths-icon, .bths-icon svg { display: block; width: 22px; height: 22px; fill: currentColor; }

/* Header shell */
.bths-site-header { position: relative; z-index: 999; }
.bths-site-header.is-sticky .bths-main-nav { position: fixed; z-index: 1000; top: 0; left: 0; right: 0; width: 100%; background: var(--bths-sticky-bg); box-shadow: 0 0 7px -1px rgba(0,0,0,.4); transform-origin: top; animation: bthsStickyIn .3s ease both; }
.admin-bar .bths-site-header.is-sticky .bths-main-nav { top: 32px; }
@keyframes bthsStickyIn { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
.bths-utility-bar { min-height: 48px; color: #fff; background: var(--bths-primary); }
.bths-utility-bar__inner { display: flex; align-items: stretch; min-height: 48px; }
.bths-mobile-toggle { display: none; align-items: center; justify-content: center; width: 48px; padding: 0; color: #fff; border: 0; background: transparent; }
.bths-secondary-nav { display: flex; align-items: stretch; }
.bths-secondary-menu { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.bths-secondary-menu li { display: flex; align-items: stretch; }
.bths-secondary-menu a { display: flex; align-items: center; padding: 0 16px; color: #fff; border-right: 1px solid rgba(255,255,255,.15); }
.bths-secondary-menu a:hover { color: #fff; background: rgba(0,0,0,.12); }
.bths-utility-actions { display: flex; align-items: stretch; margin-left: auto; }
.bths-topnav-sidebar { display: flex; align-items: stretch; }
.bths-top-widget { display: flex; align-items: stretch; margin: 0; padding: 0; border-left: 1px solid rgba(255,255,255,.15); }
.bths-top-widget .widget-inner,
.bths-top-widget .textwidget,
.bths-top-widget .textwidget > p { display: flex; align-items: center; margin: 0; }
.bths-top-widget a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; color: #fff; }
.bths-top-widget a:hover { color: #fff; background: rgba(0,0,0,.12); }
.bths-top-widget .vc_btn3-container { display: flex; align-items: center; margin: 0 !important; }
.bths-top-widget .vc_btn3,
.bths-top-widget .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 108px !important;
  min-height: 34px !important;
  margin: 7px 10px !important;
  padding: 7px 18px !important;
  color: #111 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--bths-accent) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  white-space: nowrap;
}
.bths-top-widget .wp-block-button__link::before {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  content: "";
  background: url("../icons/hand-holding-dollar.svg") center / contain no-repeat;
}
.bths-top-widget .vc_btn3.vc_btn3-icon-left,
.bths-top-widget .vc_btn3.vc_btn3-icon-right { padding-left: 18px !important; padding-right: 18px !important; }
.bths-top-widget .vc_btn3 .vc_btn3-icon { position: static !important; top: auto !important; left: auto !important; right: auto !important; margin: 0 !important; transform: none !important; line-height: 1 !important; }
.bths-cart-link,
.bths-search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 50px; min-height: 48px; gap: 5px; padding: 0; color: #fff; border: 0; border-left: 1px solid rgba(255,255,255,.15); background: transparent; }
.bths-cart-link:hover,
.bths-cart-link:focus,
.bths-search-toggle:hover,
.bths-search-toggle:focus { color: #fff; background: rgba(0,0,0,.12); }
.bths-cart-link .bths-icon,
.bths-search-toggle .bths-icon { width: 18px; height: 18px; }
.bths-cart-link .bths-icon svg,
.bths-search-toggle .bths-icon svg { width: 100%; height: 100%; }
.bths-cart-count { font-size: 14px; line-height: 1; }

.bths-main-nav { color: #fff; background: var(--bths-navy); }
.bths-main-nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 42px; }
.bths-brand { display: flex; flex: 0 0 250px; align-items: center; color: #fff; }
.bths-brand-image { display: block; width: 250px; max-width: 100%; height: auto; max-height: 48px; object-fit: contain; object-position: left center; }
.bths-brand-text { color: #fff; font-family: Bitter, Georgia, serif; font-size: 23px; line-height: 1.05; text-transform: uppercase; }
.bths-desktop-nav { display: flex; flex: 1 1 auto; min-width: 0; align-self: stretch; justify-content: flex-end; }
.bths-menu, .bths-menu ul { margin: 0; padding: 0; list-style: none; }
.bths-menu { display: flex; align-items: stretch; justify-content: flex-end; }
.bths-menu > li { position: relative; display: flex; align-items: stretch; }
.bths-menu > li::before,
.bths-menu > li:last-child::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 1px;
  height: 40px;
  content: "";
  background: rgba(255,255,255,.18);
  transform: translateY(-50%);
  pointer-events: none;
}
.bths-menu > li::before { left: 0; }
.bths-menu > li:last-child::after { right: 0; }
.bths-menu > li > a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 96px;
  padding: 29px 21px 15px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
  font-size: 14px;
  line-height: 1.15;
}
.bths-menu > li:hover > a,
.bths-menu > li:focus-within > a,
.bths-menu > li.current-menu-item > a,
.bths-menu > li.current-menu-ancestor > a { color: #fff; background: rgba(42,50,128,.72); }
.bths-nav-label { display: flex; min-height: 17px; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.bths-nav-title { display: block; }
.bths-nav-icon { display: inline-flex; width: 14px; height: 14px; flex: 0 0 14px; align-items: center; justify-content: center; }
.bths-nav-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.bths-nav-caret { display: inline-flex; width: 10px; height: 10px; margin-left: 2px; flex: 0 0 10px; align-items: center; justify-content: center; color: rgba(255,255,255,.85); }
.bths-nav-caret svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.bths-nav-description { min-height: 13px; margin-top: 6px; padding-left: 0; color: rgba(255,255,255,.63); font-size: 11px; font-style: italic; line-height: 1.2; white-space: nowrap; text-align: left; }
.bths-nav-description.is-empty { visibility: hidden; }
/* Desktop submenu system, modeled on the original University theme. */
.bths-menu .sub-menu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  min-width: 250px;
  visibility: hidden;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
  background: #181818;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.bths-menu > li:hover > .sub-menu,
.bths-menu > li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.bths-menu .sub-menu .sub-menu {
  z-index: 21;
  top: -1px;
  left: calc(100% - 1px);
  min-width: 270px;
  transform: translateX(8px);
}
.bths-menu .sub-menu li:hover > .sub-menu,
.bths-menu .sub-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}
.bths-menu .sub-menu li {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.bths-menu .sub-menu li:last-child { border-bottom: 0; }
.bths-menu .sub-menu a {
  display: flex;
  min-height: 46px;
  padding: 11px 18px 11px 20px;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}
.bths-menu .sub-menu .bths-nav-label {
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: center;
  gap: 8px;
  white-space: normal;
}
.bths-menu .sub-menu .bths-nav-icon { display: none; }
.bths-menu .sub-menu .bths-nav-title { flex: 1 1 auto; }
.bths-menu .sub-menu .bths-nav-caret--right {
  display: inline-flex;
  width: auto;
  height: auto;
  margin-left: auto;
  flex: 0 0 auto;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: .7;
}
.bths-menu .sub-menu a:hover,
.bths-menu .sub-menu a:focus,
.bths-menu .sub-menu li.current-menu-item > a,
.bths-menu .sub-menu li.current-menu-ancestor > a {
  color: #fff;
  background: var(--bths-primary);
}
.bths-menu .sub-menu a:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid var(--bths-accent);
  outline-offset: -3px;
}
.bths-menu .sub-menu .bths-nav-description { display: none; }


.bths-sticky-top { display: none; }
.bths-site-header.is-sticky .bths-main-nav__inner { min-height: 50px; padding-right: 50px; }
.bths-site-header.is-sticky .bths-brand { flex-basis: 181.25px; height: 50px; }
.bths-site-header.is-sticky .bths-brand-image { width: 181.25px; max-height: 50px; padding: 10px 0 10px 15px; }
.bths-site-header.is-sticky .bths-menu > li > a { min-height: 50px; padding: 0 24px; flex-direction: row; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.bths-site-header.is-sticky .bths-nav-description { display: none; }
.bths-site-header.is-sticky .bths-menu > li::before,
.bths-site-header.is-sticky .bths-menu > li:last-child::after { height: 28px; background: rgba(255,255,255,.12); }
.bths-site-header.is-sticky .bths-sticky-top { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: #fff; background: rgba(0,0,0,.16); }
.bths-site-header.is-sticky .bths-sticky-top:hover { color: #fff; background: rgba(42,50,128,.9); }
.bths-site-header.is-sticky .bths-sticky-top .bths-icon,
.bths-site-header.is-sticky .bths-sticky-top svg { width: 24px; height: 24px; }

.bths-search-panel { padding: 18px 0; background: var(--bths-footer); }
.bths-search-form { display: flex; gap: 8px; }
.bths-search-form input { flex: 1; min-height: 48px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.35); background: #fff; }
.bths-search-form button { min-width: 130px; color: #111; border: 0; background: var(--bths-accent); font-weight: 700; text-transform: uppercase; }

/* Mobile navigation */
.bths-mobile-drawer { position: fixed; z-index: 1002; inset: 0 auto 0 0; width: min(88vw, 360px); padding: 70px 0 30px; overflow-y: auto; color: #fff; background: var(--bths-navy); box-shadow: 12px 0 30px rgba(0,0,0,.3); transform: translateX(-105%); transition: transform .25s ease; }
.bths-mobile-drawer.is-open { transform: translateX(0); }
.bths-mobile-overlay { position: fixed; z-index: 1001; inset: 0; background: rgba(0,0,0,.6); }
.bths-mobile-close { position: absolute; top: 17px; right: 18px; padding: 0; color: #fff; border: 0; background: transparent; }
.bths-mobile-menu-list, .bths-mobile-menu-list ul { margin: 0; padding: 0; list-style: none; }
.bths-mobile-menu-list li { position: relative; border-top: 1px solid rgba(255,255,255,.13); }
.bths-mobile-menu-list a { display: block; padding: 15px 55px 15px 22px; color: #fff; font-size: 16px; }
.bths-mobile-menu-list .bths-nav-label { white-space: normal; }
.bths-mobile-menu-list .bths-nav-description { padding-left: 0; white-space: normal; }
.bths-mobile-menu-list .bths-nav-caret { display: none; }
.bths-mobile-menu-list .sub-menu { display: none; background: rgba(0,0,0,.18); }
.bths-mobile-menu-list .is-submenu-open > .sub-menu { display: block; }
.bths-mobile-secondary-menu { margin-top: 22px; border-bottom: 1px solid rgba(255,255,255,.13); }
.bths-submenu-toggle { position: absolute; right: 8px; top: 4px; width: 44px; height: 44px; padding: 0; color: #fff; border: 0; background: transparent; font-size: 24px; }
html.bths-menu-open { overflow: hidden; }

/* Slider shell */
.bths-front-page .bths-hero-slider { margin: 0; }
.bths-hero-slider.alignfull { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }

/* Editable block content */
.bths-main { min-height: 360px; }
.bths-front-main { overflow: hidden; }
.bths-front-entry { margin: 0; }
.bths-front-content { padding: 0; }
.bths-front-content:empty { display: none; }
.bths-front-content > *:first-child:not(.alignfull) { margin-top: 42px; }
.bths-front-content > *:not(.alignwide):not(.alignfull) { width: min(calc(100% - 40px), var(--bths-container)); margin-left: auto; margin-right: auto; }
.bths-front-content > .alignwide { width: min(calc(100% - 40px), var(--bths-container)); margin-left: auto; margin-right: auto; }
.bths-front-content > .alignfull { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
.bths-title-strip { background: #efefef; border-bottom: 1px solid #e4e4e4; }
.bths-title-strip__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.bths-title-strip h1 { margin: 0; font-size: 29px; }
.bths-breadcrumb-home { color: #999; font-size: 10px; text-transform: uppercase; }
.bths-content-shell { display: grid; grid-template-columns: minmax(0,1fr); gap: 50px; padding-top: 50px; padding-bottom: 0; }
.bths-content-shell--system { padding-bottom: 70px; }
.bths-content-shell--sidebar { grid-template-columns: minmax(0,1fr) 270px; }
.bths-content-area > :first-child { margin-top: 0; }
.bths-content-area > :last-child { margin-bottom: 0; }
.bths-entry .alignwide { width: min(1170px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.bths-entry .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.bths-featured-image { margin-bottom: 30px; }
.bths-post-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.bths-card { padding-bottom: 24px; border-bottom: 1px solid #ddd; }
.bths-card h2 { font-size: 24px; }
.bths-button, .wp-block-button__link { display: inline-block; padding: 12px 22px; color: #fff; background: var(--bths-primary); font-weight: 600; text-transform: uppercase; }
.bths-button:hover, .wp-block-button__link:hover { color: #fff; background: var(--bths-navy); }


/* Resized Core Image blocks retain the selected horizontal alignment. */
.wp-block-image.alignleft {
  margin-left: 0;
  margin-right: auto;
}
.wp-block-image.aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.wp-block-image.alignright {
  margin-left: auto;
  margin-right: 0;
}

/* Contact Form 7 treatment for the BTHS contact form markup. */
.wpcf7,
.wpcf7 form,
.bths-contact-form { width: 100%; }
.bths-contact-form {
  color: var(--bths-text);
  font-size: 15px;
}
.bths-contact-form__note {
  margin: 0 0 22px;
  color: var(--bths-muted);
  font-size: 14px;
  line-height: 1.5;
}
.bths-contact-form__field { margin: 0 0 20px; }
.bths-contact-form__field label {
  display: block;
  margin: 0 0 7px;
  color: var(--bths-text);
  font-weight: 500;
  line-height: 1.35;
}
.bths-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.bths-contact-form input[type="text"],
.bths-contact-form input[type="email"],
.bths-contact-form input[type="tel"],
.bths-contact-form input[type="url"],
.bths-contact-form select,
.bths-contact-form textarea {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  color: var(--bths-text);
  border: 1px solid #bfc2cb;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bths-contact-form textarea {
  min-height: 210px;
  resize: vertical;
}
.bths-contact-form input[type="text"]:focus,
.bths-contact-form input[type="email"]:focus,
.bths-contact-form input[type="tel"]:focus,
.bths-contact-form input[type="url"]:focus,
.bths-contact-form select:focus,
.bths-contact-form textarea:focus {
  outline: 0;
  border-color: var(--bths-primary);
  box-shadow: 0 0 0 3px rgba(42,50,128,.16);
}
.bths-contact-form .wpcf7-not-valid {
  border-color: #b42318 !important;
}
.bths-contact-form .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: #b42318;
  font-size: 13px;
  line-height: 1.4;
}
.bths-required { color: #b42318; }
.bths-contact-form__turnstile {
  min-height: 65px;
  margin: 4px 0 20px;
}
.bths-contact-form__submit {
  position: relative;
  margin: 0;
}
.bths-contact-form input[type="submit"].bths-contact-submit {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 0;
  border-radius: 0;
  background: var(--bths-primary);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-color .15s ease;
}
.bths-contact-form input[type="submit"].bths-contact-submit:hover,
.bths-contact-form input[type="submit"].bths-contact-submit:focus {
  color: #fff;
  background: var(--bths-navy);
}
.bths-contact-form input[type="submit"].bths-contact-submit:focus-visible {
  outline: 3px solid var(--bths-accent);
  outline-offset: 2px;
}
.bths-contact-form__submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: 14px;
  margin: 0;
  transform: translateY(-50%);
}
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--bths-primary);
  background: #f6f7ff;
  line-height: 1.5;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #b42318;
  background: #fff5f4;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2f7d32;
  background: #f2fbf3;
}


/* Native WordPress Image lightbox, styled for BTHS. */
.wp-lightbox-overlay .scrim {
  background-color: rgb(13 16 53 / 78%) !important;
  opacity: 1;
}
.wp-lightbox-overlay .wp-lightbox-close-button,
.wp-lightbox-overlay .wp-lightbox-navigation-button-prev,
.wp-lightbox-overlay .wp-lightbox-navigation-button-next {
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px !important;
  color: var(--bths-footer) !important;
  border: 1px solid rgb(13 16 53 / 18%) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 4px 18px rgb(0 0 0 / 24%);
}
.wp-lightbox-overlay .wp-lightbox-close-button:hover,
.wp-lightbox-overlay .wp-lightbox-close-button:focus,
.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:hover,
.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:focus,
.wp-lightbox-overlay .wp-lightbox-navigation-button-next:hover,
.wp-lightbox-overlay .wp-lightbox-navigation-button-next:focus {
  color: #fff !important;
  border-color: var(--bths-primary) !important;
  background: var(--bths-primary) !important;
}
.wp-lightbox-overlay .wp-lightbox-close-button:focus-visible,
.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:focus-visible,
.wp-lightbox-overlay .wp-lightbox-navigation-button-next:focus-visible {
  outline: 3px solid var(--bths-accent);
  outline-offset: 3px;
}
.wp-lightbox-overlay .wp-lightbox-close-icon svg,
.wp-lightbox-overlay .wp-lightbox-navigation-icon svg {
  fill: currentColor;
  stroke: currentColor;
}

/* Sidebars */
.bths-sidebar-widget { margin-bottom: 30px; border: 1px solid #e1e1e1; }
.bths-sidebar-widget .widget-inner { padding: 20px; }
.bths-sidebar-widget .widget-title { margin: -20px -20px 18px; padding: 18px 20px; border-bottom: 1px solid #e1e1e1; font-family: Roboto, Arial, sans-serif; font-size: 20px; text-transform: uppercase; }
.bths-sidebar-widget ul { margin: 0; padding: 0; list-style: none; }

/* Footer built entirely from the editable footer_sidebar widgets. */
.bths-footer { padding: 52px 0 22px; color: #fff; background: var(--bths-footer); }
.bths-footer a { color: #fff; }
.bths-footer a:hover { color: var(--bths-accent); }
.bths-footer-widgets { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); align-items: stretch; gap: 28px 30px; }
.bths-footer-widget { min-width: 0; margin: 0; grid-column: span 12; }
.bths-footer-widget.col-md-1 { grid-column: span 1; }
.bths-footer-widget.col-md-2 { grid-column: span 2; }
.bths-footer-widget.col-md-3 { grid-column: span 3; }
.bths-footer-widget.col-md-4 { grid-column: span 4; }
.bths-footer-widget.col-md-5 { grid-column: span 5; }
.bths-footer-widget.col-md-6 { grid-column: span 6; }
.bths-footer-widget.col-md-7 { grid-column: span 7; }
.bths-footer-widget.col-md-8 { grid-column: span 8; }
.bths-footer-widget.col-md-9 { grid-column: span 9; }
.bths-footer-widget.col-md-10 { grid-column: span 10; }
.bths-footer-widget.col-md-11 { grid-column: span 11; }
.bths-footer-widget.col-md-12 { grid-column: span 12; }
.bths-footer-widget .widget-inner { height: 100%; }
.bths-footer-widget .widget-title { margin: 0 0 18px; color: #fff; font-family: Roboto, Arial, sans-serif; font-size: 18px; font-weight: 500; text-transform: uppercase; }
.bths-footer-widget p { margin: 0 0 12px; }
.bths-footer-widget img { display: block; max-width: 100%; margin: auto; }

/* Shared editable divider system: Core block, footer widget and Top divider. */
.bths-divider {
  --bths-divider-line: #e1e1e1;
  --bths-divider-border: #d9d9d9;
  --bths-divider-bg: #fff;
  --bths-divider-color: #555;
  --bths-divider-hover-bg: var(--bths-navy);
  --bths-divider-hover-color: #fff;
  display: grid;
  width: 100%;
  margin: 30px auto;
  grid-template-columns: minmax(24px,1fr) auto minmax(24px,1fr);
  align-items: center;
}
.bths-divider__line { display: block; height: 1px; background: var(--bths-divider-line); }
.bths-divider__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: var(--bths-divider-color);
  border: 1px solid var(--bths-divider-border);
  background: var(--bths-divider-bg);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.bths-divider--linked .bths-divider__label:hover,
.bths-divider--linked .bths-divider__label:focus { color: var(--bths-divider-hover-color); border-color: var(--bths-divider-hover-bg); background: var(--bths-divider-hover-bg); }
.bths-divider--compact .bths-divider__label { min-height: 30px; padding: 0 14px; font-size: 10px; font-weight: 500; }
.bths-divider--standard .bths-divider__label { min-height: 52px; padding: 0 38px; font-size: 15px; }
.bths-divider--large .bths-divider__label { min-height: 60px; padding: 0 42px; font-size: 16px; font-weight: 500; }
.bths-divider--has-chevron .bths-divider__label::after { margin-left: 16px; content: "›"; font-size: 30px; font-weight: 300; line-height: .7; }
.bths-divider--compact.bths-divider--has-chevron .bths-divider__label::after { margin-left: 8px; font-size: 19px; }
.bths-divider--dark {
  --bths-divider-line: rgba(255,255,255,.22);
  --bths-divider-border: rgba(255,255,255,.22);
  --bths-divider-bg: var(--bths-footer);
  --bths-divider-color: #fff;
  --bths-divider-hover-bg: #fff;
  --bths-divider-hover-color: var(--bths-footer);
}
.bths-footer-widget.widget_divider,
.bths-footer-widget.divider_widget { margin-bottom: 8px; }
.bths-footer-widget .bths-divider { margin: 0; }

/* Existing four [textbox] mission widgets. */
.bths-footer-widget .un-icon-box { display: flex; align-items: flex-start; gap: 14px; }
.bths-footer-widget .un-icon-wrap,
.bths-footer-widget .pull-left { flex: 0 0 50px; }
.bths-footer-widget .un-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: #263349; background: #fff; }
.bths-footer-widget .un-icon svg { width: 28px; height: 28px; fill: currentColor; }
.bths-footer-widget .un-icon i { display: block; width: 28px; height: 28px; color: transparent; background-repeat: no-repeat; background-position: center; background-size: contain; }
.bths-footer-widget .un-icon i.fa-graduation-cap { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23263349' d='M12 3 1 8l11 5 9-4.09V15h2V8L12 3Zm-6 8.18V16c0 2.21 2.69 4 6 4s6-1.79 6-4v-4.82l-6 2.73-6-2.73Z'/%3E%3C/svg%3E"); }
.bths-footer-widget .un-icon i.fa-compass { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23263349' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm3.6 6.4-2.1 5.1-5.1 2.1 2.1-5.1 5.1-2.1Z'/%3E%3C/svg%3E"); }
.bths-footer-widget .un-icon i.fa-lock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23263349' d='M17 8h-1V6a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v10h14V10a2 2 0 0 0-2-2Zm-7-2a2 2 0 0 1 4 0v2h-4V6Z'/%3E%3C/svg%3E"); }
.bths-footer-widget .un-icon i.fa-bullhorn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23263349' d='m3 10 14-5v14L3 14v-4Zm16-2.5v9a3.5 3.5 0 0 0 0-9ZM5 15l4 1.43V21H6l-1-6Z'/%3E%3C/svg%3E"); }
.bths-footer-widget .media-body { min-width: 0; }
.bths-footer-widget .media-heading { margin: 0 0 5px; color: #fff; font-family: Roboto, Arial, sans-serif; font-size: 17px; font-weight: 500; text-transform: uppercase; }
.bths-footer-widget .un-icon-box p { margin: 0; color: rgba(255,255,255,.84); font-size: 14px; line-height: 1.7; }

/* The current footer's second and third rows use bordered panels. */
.bths-footer-widget.col-md-4 > .widget-inner,
.bths-footer-widget.col-md-8 > .widget-inner,
.bths-footer-widget.col-md-6 > .widget-inner,
.bths-footer-widget.widget_media_image > .widget-inner {
  display: flex;
  min-height: 150px;
  padding: 25px 28px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
}
.bths-footer-widget.col-md-4 .textwidget,
.bths-footer-widget.col-md-8 .textwidget,
.bths-footer-widget.col-md-6 .textwidget { width: 100%; }
.bths-footer-widget.col-md-8 img { width: 100%; max-height: 190px; object-fit: contain; }
.bths-footer-widget.widget_media_image img { max-height: 120px; object-fit: contain; }
.bths-footer-widget.col-md-6 .textwidget { text-align: center; }
.bths-footer-widget.col-md-6 p { margin: 0; }

.bths-footer-bottom { margin-top: 34px; }
.bths-footer-top-divider { margin: 0 0 22px; }
.bths-footer-bottom p { margin: 0; color: rgba(255,255,255,.9); font-size: 13px; }
.bths-footer-empty { padding: 20px; border: 1px dashed rgba(255,255,255,.35); }

/* WooCommerce store catalog */
.woocommerce .woocommerce-breadcrumb { color: #999; }
.woocommerce .woocommerce-result-count { margin: 7px 0 28px; color: var(--bths-muted); font-size: 14px; }
.woocommerce .woocommerce-ordering { margin: 0 0 28px; }
.woocommerce .woocommerce-ordering select {
  min-height: 44px;
  padding: 8px 38px 8px 12px;
  color: var(--bths-text);
  border: 1px solid #cfd1d8;
  background: #fff;
}

body.woocommerce-shop ul.products,
body.tax-product_cat ul.products,
.bths-store-products ul.products {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px;
  list-style: none;
}
body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
.bths-store-products ul.products::before,
.bths-store-products ul.products::after { display: none; }

body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product,
.bths-store-products ul.products li.product {
  position: relative;
  display: flex;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  float: none !important;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe0e5;
  box-shadow: 0 3px 12px rgba(13,16,53,.06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.woocommerce-shop ul.products li.product:hover,
body.woocommerce-shop ul.products li.product:focus-within,
body.tax-product_cat ul.products li.product:hover,
body.tax-product_cat ul.products li.product:focus-within,
.bths-store-products ul.products li.product:hover,
.bths-store-products ul.products li.product:focus-within {
  border-color: rgba(42,50,128,.48);
  box-shadow: 0 10px 25px rgba(13,16,53,.12);
  transform: translateY(-2px);
}

body.woocommerce-shop ul.products li.product .woocommerce-LoopProduct-link,
body.tax-product_cat ul.products li.product .woocommerce-LoopProduct-link,
.bths-store-products ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  color: var(--bths-text);
}
body.woocommerce-shop ul.products li.product a img,
body.tax-product_cat ul.products li.product a img,
.bths-store-products ul.products li.product a img {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid #e8e8ec;
}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
.bths-store-products ul.products li.product .woocommerce-loop-product__title {
  min-height: 76px;
  margin: 0;
  padding: 18px 18px 10px;
  color: var(--bths-text);
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
.bths-store-products ul.products li.product .price {
  display: flex;
  min-height: 60px;
  margin: auto 0 0 !important;
  padding: 4px 18px 18px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 8px;
  color: var(--bths-primary);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}
body.woocommerce-shop ul.products li.product .price del,
body.tax-product_cat ul.products li.product .price del,
.bths-store-products ul.products li.product .price del {
  color: #72747c;
  font-size: 14px;
  font-weight: 400;
  opacity: 1;
}
body.woocommerce-shop ul.products li.product .price ins,
body.tax-product_cat ul.products li.product .price ins,
.bths-store-products ul.products li.product .price ins {
  color: var(--bths-primary);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button,
.bths-store-products ul.products li.product .button,
body.woocommerce-shop ul.products li.product .added_to_cart,
body.tax-product_cat ul.products li.product .added_to_cart,
.bths-store-products ul.products li.product .added_to_cart {
  display: inline-flex !important;
  width: 100%;
  min-height: 50px;
  margin: 0 !important;
  padding: 12px 16px !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--bths-primary) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
body.woocommerce-shop ul.products li.product .button:hover,
body.woocommerce-shop ul.products li.product .button:focus,
body.tax-product_cat ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:focus,
.bths-store-products ul.products li.product .button:hover,
.bths-store-products ul.products li.product .button:focus,
body.woocommerce-shop ul.products li.product .added_to_cart:hover,
body.tax-product_cat ul.products li.product .added_to_cart:hover,
.bths-store-products ul.products li.product .added_to_cart:hover {
  color: #fff !important;
  background: var(--bths-navy) !important;
}
body.woocommerce-shop ul.products li.product a:focus-visible,
body.tax-product_cat ul.products li.product a:focus-visible,
.bths-store-products ul.products li.product a:focus-visible {
  outline: 3px solid var(--bths-accent);
  outline-offset: -3px;
}

body.woocommerce-shop ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .onsale,
.bths-store-products ul.products li.product .onsale {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  left: auto;
  display: inline-flex;
  width: 58px;
  min-width: 58px;
  height: 58px;
  min-height: 58px;
  margin: 0;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--bths-primary);
  box-shadow: 0 3px 10px rgba(13,16,53,.26);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.bths-store-products__empty {
  padding: 24px;
  color: #555;
  border: 1px dashed #cfd1d8;
  background: #fafafa;
  text-align: center;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  color: #fff !important;
  border-radius: 0;
  background: var(--bths-primary) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--bths-navy) !important; }

@media (max-width: 1180px) {
  .bths-main-nav__inner { gap: 24px; }
  .bths-menu > li > a { padding-inline: 16px; }
  .bths-site-header.is-sticky .bths-menu > li > a { padding-inline: 16px; }
}

@media (max-width: 960px) {
  .bths-site-header.is-sticky .bths-main-nav { position: static; animation: none; box-shadow: none; background: var(--bths-navy); }
  .bths-site-header.is-sticky .bths-sticky-top { display: none; }
  .bths-desktop-nav { display: none; }
  .bths-mobile-toggle { display: inline-flex; }
  .bths-secondary-nav { display: none; }
  .bths-utility-bar__inner { width: 100%; }
  .bths-main-nav__inner { min-height: 110px; justify-content: center; }
  .bths-brand, .bths-site-header.is-sticky .bths-brand { flex: 0 1 300px; height: auto; justify-content: center; }
  .bths-brand-image, .bths-site-header.is-sticky .bths-brand-image { width: 250px; max-height: 48px; padding: 0; object-position: center; }
  .bths-content-shell--sidebar { grid-template-columns: 1fr; }
  .bths-footer-widget.col-md-3,
  .bths-footer-widget.col-md-4,
  .bths-footer-widget.col-md-5,
  .bths-footer-widget.col-md-6,
  .bths-footer-widget.col-md-7,
  .bths-footer-widget.col-md-8,
  .bths-footer-widget.col-md-9 { grid-column: span 6; }
  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products,
  .bths-store-products ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .bths-container { width: min(calc(100% - 28px), var(--bths-container)); }
  .bths-utility-actions { min-width: 0; }
  .bths-topnav-sidebar { min-width: 0; }
  .bths-top-widget a { min-height: 48px; padding: 0 12px; font-size: 14px; }
  .bths-top-widget .vc_btn3, .bths-top-widget .wp-block-button__link { min-width: 96px !important; margin-inline: 5px !important; padding-inline: 13px !important; font-size: 12px !important; }
  .bths-cart-link, .bths-search-toggle { width: 44px; flex: 0 0 44px; }
  .bths-main-nav__inner { min-height: 108px; }
  .bths-brand { flex-basis: 300px; }
  .bths-brand-image { max-height: 66px; }
  .bths-title-strip__inner { min-height: 62px; }
  .bths-title-strip h1 { font-size: 24px; }
  .bths-front-content { padding: 0; }
  .bths-front-content > *:first-child:not(.alignfull) { margin-top: 30px; }
  .bths-content-shell { padding-top: 35px; padding-bottom: 0; }
  .bths-content-shell--system { padding-bottom: 50px; }
  .bths-post-list { grid-template-columns: 1fr; }
  .bths-footer { padding-top: 42px; }
  .bths-footer-widgets { gap: 22px; }
  .bths-footer-widget,
  .bths-footer-widget.col-md-1,
  .bths-footer-widget.col-md-2,
  .bths-footer-widget.col-md-3,
  .bths-footer-widget.col-md-4,
  .bths-footer-widget.col-md-5,
  .bths-footer-widget.col-md-6,
  .bths-footer-widget.col-md-7,
  .bths-footer-widget.col-md-8,
  .bths-footer-widget.col-md-9,
  .bths-footer-widget.col-md-10,
  .bths-footer-widget.col-md-11,
  .bths-footer-widget.col-md-12 { grid-column: 1 / -1; }
  .bths-divider--standard .bths-divider__label,
  .bths-divider--large .bths-divider__label { padding-inline: 20px; }
  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products,
  .bths-store-products ul.products { grid-template-columns: 1fr; }
}

@media (max-width: 782px) { .admin-bar .bths-site-header.is-sticky .bths-main-nav { top: 46px; } }

/* Keep empty reserved subtitle rows from adding space in the mobile drawer. */
.bths-mobile-menu-list .bths-nav-description.is-empty { display: none; }

/* Native Gallery cleanup.
   Core lets items flex-grow, which can turn a lone image in the final row into
   a full-width billboard. Keep every item at its selected column width. */
.wp-block-gallery.has-nested-images > figure.wp-block-image {
  flex-grow: 0 !important;
}

/* Native lightbox repair.
   Gallery thumbnails may remain cropped, but the overlay must show the whole
   original attachment inside the available viewport. */
.wp-lightbox-overlay .lightbox-image-container {
  width: min(1600px, calc(100vw - 96px)) !important;
  height: calc(100vh - 96px) !important;
  max-width: calc(100vw - 96px) !important;
  max-height: calc(100vh - 96px) !important;
  overflow: hidden !important;
}
.wp-lightbox-overlay .lightbox-image-container figure,
.wp-lightbox-overlay .lightbox-image-container .wp-block-image {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
}
.wp-lightbox-overlay .lightbox-image-container img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  .wp-lightbox-overlay .lightbox-image-container {
    width: calc(100vw - 32px) !important;
    height: calc(100vh - 80px) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 80px) !important;
  }
}


/* Legacy U-Event compatibility.
   U-Event still owns the post type and metadata; BTHS Heritage owns display. */
.bths-events-main .nav-links {
  display: flex;
  margin-top: 34px;
  gap: 8px;
  flex-wrap: wrap;
}
.bths-events-main .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d8d8;
  background: #fff;
  font-weight: 700;
}
.bths-events-main .page-numbers.current,
.bths-events-main a.page-numbers:hover {
  color: #fff;
  border-color: var(--bths-primary);
  background: var(--bths-primary);
}
.bths-event-list {
  display: grid;
  gap: 34px;
}
.bths-event-list-item {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  min-height: 260px;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13,16,53,.06);
}
.bths-event-list-item__media {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  background: #ececf0;
}
.bths-event-list-item__media img,
.bths-event-list-item__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.bths-event-list-item__placeholder {
  background: linear-gradient(145deg, #efefef, #d9dbe2);
}
.bths-event-date-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  min-width: 74px;
  min-height: 74px;
  padding: 8px 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--bths-primary);
  box-shadow: 0 4px 14px rgba(13,16,53,.24);
  line-height: 1;
  text-transform: uppercase;
}
.bths-event-date-badge__month {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
}
.bths-event-date-badge__day {
  margin-top: 4px;
  font-family: Bitter, Georgia, serif;
  font-size: 29px;
  font-weight: 700;
}
.bths-event-list-item__content {
  padding: 32px 34px;
}
.bths-event-list-item__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 31px);
}
.bths-event-list-item__datetime,
.bths-event-list-item__location {
  margin: 0 0 7px;
  color: #4f5260;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 650;
}
.bths-event-list-item__location { color: #747681; }
.bths-event-list-item__excerpt { margin: 19px 0 24px; }
.bths-event-list-item__excerpt > :last-child { margin-bottom: 0; }
.bths-event-list-item__button { min-width: 140px; text-align: center; }
.bths-events-empty {
  padding: 38px;
  border: 1px solid #ddd;
  background: #fafafa;
  text-align: center;
}
.bths-events-empty h2 { margin-top: 0; }

.bths-event-single__layout {
  display: grid;
  grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.bths-event-single__summary {
  border: 1px solid #dedee3;
  background: #f7f7f8;
}
.bths-event-single__image img {
  display: block;
  width: 100%;
  height: auto;
}
.bths-event-facts { padding: 20px 24px 14px; }
.bths-event-fact {
  display: grid;
  padding: 0 0 12px;
  gap: 3px;
}
.bths-event-fact + .bths-event-fact {
  padding-top: 12px;
  border-top: 1px solid #dedee3;
}
.bths-event-fact__label {
  color: var(--bths-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bths-event-fact__value {
  color: #484b56;
  font-size: 15px;
  line-height: 1.4;
}
a.bths-event-fact__value { color: var(--bths-primary); }
.bths-event-fact__map-link {
  display: grid;
  gap: 3px;
  text-decoration: none;
}
.bths-event-fact__map-link:hover > span:first-child,
.bths-event-fact__map-link:focus-visible > span:first-child {
  text-decoration: underline;
}
.bths-event-fact__map-cue {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bths-event-single__callout {
  margin: 0;
  padding: 0 24px 16px;
  color: #555966;
}
.bths-event-single__action {
  display: block;
  margin: 0 24px 22px;
  text-align: center;
}
.bths-event-tickets {
  display: grid;
  margin: 0 24px 22px;
  gap: 10px;
}
.bths-event-tickets__price {
  display: grid;
  gap: 4px;
}
.bths-event-tickets__label {
  color: var(--bths-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bths-event-tickets__value {
  color: var(--bths-primary);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
}
.bths-event-tickets__remaining,
.bths-event-tickets__sold-out {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.bths-event-tickets__sold-out { color: #9d2525; }
.bths-event-tickets__form {
  display: grid;
  grid-template-columns: minmax(75px, 95px) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}
.bths-event-tickets__form .quantity,
.bths-event-tickets__form .qty { width: 100%; }
.bths-event-tickets__form .qty {
  min-height: 46px;
  padding: 8px;
  border: 1px solid #c9c9cf;
  background: #fff;
  text-align: center;
}
.bths-event-tickets__button {
  width: 100%;
  min-height: 46px;
  border: 0;
  cursor: pointer;
}
.bths-event-single__content {
  min-width: 0;
  font-size: 16px;
}
.bths-event-single__intro {
  margin: 0 0 28px;
  color: #555966;
  font-family: Bitter, Georgia, serif;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.5;
}
.bths-event-single__content .entry-content > :first-child { margin-top: 0; }
.bths-event-single__terms {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

@media (max-width: 820px) {
  .bths-event-list-item { grid-template-columns: 1fr; }
  .bths-event-list-item__media,
  .bths-event-list-item__media img,
  .bths-event-list-item__placeholder { min-height: 300px; max-height: 420px; }
  .bths-event-single__layout { grid-template-columns: 1fr; gap: 36px; }
  .bths-event-single__summary { max-width: 560px; }
}

@media (max-width: 520px) {
  .bths-event-list-item__media,
  .bths-event-list-item__media img,
  .bths-event-list-item__placeholder { min-height: 230px; }
  .bths-event-list-item__content { padding: 25px 23px; }
  .bths-event-date-badge { top: 13px; left: 13px; min-width: 66px; min-height: 66px; }
  .bths-event-facts { padding: 19px 20px 13px; }
  .bths-event-single__callout { padding-inline: 20px; }
  .bths-event-single__action,
  .bths-event-tickets { margin-inline: 20px; }
  .bths-event-tickets__form { grid-template-columns: 1fr; }
}

/* Native event calendar actions. */
.bths-event-calendar {
  display: grid;
  margin: 0 24px 22px;
  gap: 8px;
}
.bths-event-calendar__label {
  color: var(--bths-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bths-event-calendar__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.bths-event-calendar__button {
  display: flex;
  min-height: 42px;
  padding: 9px 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bths-primary);
  background: #fff;
  color: var(--bths-primary);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.bths-event-calendar__button:hover,
.bths-event-calendar__button:focus-visible {
  background: var(--bths-primary);
  color: #fff;
}
@media (max-width: 520px) {
  .bths-event-calendar { margin-inline: 20px; }
  .bths-event-calendar__buttons { grid-template-columns: 1fr; }
}

/* Event presentation refresh: compact archive rows and multi-date schedules. */
.bths-event-list {
  display: grid;
  gap: 24px;
}
.bths-event-list-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 210px;
  overflow: hidden;
  border: 1px solid #dedee3;
  background: #fff;
  box-shadow: 0 6px 18px rgba(13,16,53,.05);
}
.bths-event-list-item__media {
  position: relative;
  display: block;
  min-height: 210px;
  max-height: 240px;
  overflow: hidden;
  background: #ececf0;
}
.bths-event-list-item__media img,
.bths-event-list-item__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  max-height: 240px;
  object-fit: cover;
  transition: transform 300ms ease;
}
.bths-event-list-item__media:hover img,
.bths-event-list-item__media:focus-visible img { transform: scale(1.025); }
.bths-event-date-badge {
  top: 14px;
  right: 14px;
  left: auto;
  min-width: 64px;
  min-height: 64px;
  padding: 7px 9px;
  background: var(--bths-primary);
  color: #fff;
}
.bths-event-date-badge__month { font-size: 13px; }
.bths-event-date-badge__day { margin-top: 3px; font-size: 25px; }
.bths-event-list-item__content {
  display: flex;
  padding: 24px 28px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.bths-event-list-item__heading {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}
.bths-event-list-item__title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}
.bths-event-list-item__price {
  flex: 0 0 auto;
  color: var(--bths-primary);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}
.bths-event-list-item__price del { display: none; }
.bths-event-list-item__price ins { color: inherit; text-decoration: none; }
.bths-event-list-item__schedule {
  display: grid;
  margin: 0 0 8px;
  padding: 0;
  gap: 3px;
  list-style: none;
  color: #4f5260;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 650;
}
.bths-event-list-item__location {
  margin: 0 0 8px;
  color: #676a75;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
.bths-event-list-item__location a { color: inherit; text-decoration: none; }
.bths-event-list-item__location a:hover,
.bths-event-list-item__location a:focus-visible { color: var(--bths-primary); text-decoration: underline; }
.bths-event-list-item__remaining {
  margin: 0 0 14px;
  color: var(--bths-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 750;
}
.bths-event-list-item__button {
  min-width: 130px;
  margin-top: 3px;
  text-align: center;
}
.bths-event-fact__schedule {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 6px;
  list-style: none;
  color: #484b56;
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .bths-event-list-item { grid-template-columns: 220px minmax(0, 1fr); }
  .bths-event-list-item__media,
  .bths-event-list-item__media img,
  .bths-event-list-item__placeholder { min-height: 200px; max-height: none; }
}
@media (max-width: 650px) {
  .bths-event-list-item { grid-template-columns: 1fr; }
  .bths-event-list-item__media,
  .bths-event-list-item__media img,
  .bths-event-list-item__placeholder { min-height: 230px; max-height: 330px; }
  .bths-event-list-item__content { padding: 22px 21px; }
  .bths-event-list-item__heading { gap: 10px; }
  .bths-event-list-item__price { font-size: 15px; }
}

/* WooCommerce single-product presentation.
 * All products use one full-width layout. Legacy University-theme sidebar and
 * layout metadata are intentionally ignored by BTHS Heritage.
 */
body.single-product .bths-content-shell--system {
  padding-top: 48px;
  padding-bottom: 72px;
}
body.single-product .bths-content-area,
body.single-product .woocommerce {
  width: 100%;
  max-width: none;
}
body.single-product .woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: start;
  gap: 54px;
  margin: 0;
}
body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product div.summary {
  width: auto;
  margin: 0;
  float: none;
}
body.single-product .woocommerce div.product div.images {
  grid-column: 1;
  padding: 16px;
  background: #fff;
  border: 1px solid #e0e1e6;
}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image,
body.single-product .woocommerce div.product div.images img {
  width: 100%;
  margin: 0;
}
body.single-product .woocommerce div.product div.images img {
  display: block;
  object-fit: contain;
  background: #fff;
}
body.single-product .woocommerce div.product div.summary {
  grid-column: 2;
  padding: 34px 36px 36px;
  background: #fafafa;
  border: 1px solid #e0e1e6;
}
body.single-product .woocommerce div.product .product_title {
  margin: 0 0 12px;
  color: var(--bths-text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}
body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price {
  margin: 0 0 22px;
  color: var(--bths-primary);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}
body.single-product .woocommerce-product-details__short-description {
  margin: 0 0 26px;
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}
body.single-product .woocommerce-product-details__short-description > :last-child {
  margin-bottom: 0;
}
body.single-product .woocommerce div.product form.cart {
  display: flex;
  margin: 24px 0 0;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}
body.single-product .woocommerce div.product form.cart .quantity {
  margin: 0;
}
body.single-product .woocommerce div.product form.cart .quantity .qty {
  width: 76px;
  min-height: 48px;
  padding: 8px;
  color: var(--bths-text);
  border: 1px solid #bfc2cb;
  background: #fff;
  text-align: center;
}
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
  min-height: 48px;
  padding: 12px 24px !important;
}
body.single-product .woocommerce div.product .product_meta {
  display: flex;
  margin: 26px 0 0;
  padding-top: 18px;
  flex-wrap: wrap;
  gap: 6px 22px;
  color: var(--bths-muted);
  border-top: 1px solid #dedfe4;
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
}
body.single-product .woocommerce div.product .product_meta > span {
  display: inline-block;
}
body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .related,
body.single-product .woocommerce div.product .upsells {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
}
body.single-product .woocommerce div.product .woocommerce-tabs {
  margin-top: 0;
  padding-top: 12px;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #d9dae0;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 4px 0 0;
  padding: 0;
  border: 1px solid #d9dae0;
  border-bottom: 0;
  border-radius: 0;
  background: #f4f4f6;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 12px 18px;
  color: var(--bths-text);
  font-weight: 600;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #fff;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bths-primary);
}
body.single-product .woocommerce div.product .woocommerce-tabs .panel {
  margin: 0;
  padding: 28px 30px;
  border: 1px solid #d9dae0;
  border-top: 0;
  background: #fff;
}
body.single-product .woocommerce div.product .woocommerce-tabs .panel > :last-child {
  margin-bottom: 0;
}
body.single-product .woocommerce div.product .stock {
  font-weight: 600;
}
body.single-product .woocommerce div.product .out-of-stock {
  color: #b42318;
}

/* Acowebs WooCommerce Custom Product Addons and other product-form fields. */
body.single-product .wcpa_form_outer,
body.single-product .wcpa_form_outer *,
body.single-product .wcpa_wrap,
body.single-product .wcpa_wrap * {
  box-sizing: border-box;
}
body.single-product .wcpa_form_outer,
body.single-product .wcpa_wrap {
  width: 100%;
  margin: 22px 0 8px;
}
body.single-product .wcpa_form_item,
body.single-product .wcpa_row {
  margin-bottom: 17px;
}
body.single-product .wcpa_form_item label,
body.single-product .wcpa_field_label,
body.single-product form.cart label {
  color: var(--bths-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
body.single-product .wcpa_form_item input[type="text"],
body.single-product .wcpa_form_item input[type="email"],
body.single-product .wcpa_form_item input[type="tel"],
body.single-product .wcpa_form_item input[type="number"],
body.single-product .wcpa_form_item select,
body.single-product .wcpa_form_item textarea,
body.single-product .wcpa_wrap input[type="text"],
body.single-product .wcpa_wrap input[type="email"],
body.single-product .wcpa_wrap input[type="tel"],
body.single-product .wcpa_wrap input[type="number"],
body.single-product .wcpa_wrap select,
body.single-product .wcpa_wrap textarea {
  width: 100%;
  max-width: none;
  min-height: 46px;
  margin: 6px 0 0;
  padding: 10px 12px;
  color: var(--bths-text);
  border: 1px solid #bfc2cb;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
body.single-product .wcpa_form_item textarea,
body.single-product .wcpa_wrap textarea {
  min-height: 84px;
  resize: vertical;
}
body.single-product .wcpa_form_item input:focus,
body.single-product .wcpa_form_item select:focus,
body.single-product .wcpa_form_item textarea:focus,
body.single-product .wcpa_wrap input:focus,
body.single-product .wcpa_wrap select:focus,
body.single-product .wcpa_wrap textarea:focus {
  outline: 0;
  border-color: var(--bths-primary);
  box-shadow: 0 0 0 3px rgba(42,50,128,.14);
}

@media (max-width: 900px) {
  body.single-product .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce div.product div.summary,
  body.single-product .woocommerce div.product .woocommerce-tabs,
  body.single-product .woocommerce div.product .related,
  body.single-product .woocommerce div.product .upsells {
    grid-column: 1;
  }
  body.single-product .woocommerce div.product div.summary {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  body.single-product .bths-content-shell--system {
    padding-top: 30px;
    padding-bottom: 50px;
  }
  body.single-product .woocommerce div.product div.images {
    padding: 8px;
  }
  body.single-product .woocommerce div.product div.summary {
    padding: 22px 20px 24px;
  }
  body.single-product .woocommerce div.product .product_title {
    font-size: 28px;
  }
  body.single-product .woocommerce div.product form.cart {
    display: grid;
    grid-template-columns: 76px minmax(0,1fr);
  }
  body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
    width: 100%;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
    display: block;
    margin: 0 0 5px;
    border: 1px solid #d9dae0;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs .panel {
    padding: 22px 20px;
    border-top: 1px solid #d9dae0;
  }
}
