/* NOTE FOR NEXT DEV:
 * 
   - This CSS controls the site-wide background, header, footer, and text styling.
   - Some global text rules were affecting plugins (UsersWP, Better Messages, Events, etc.).
   - If plugin text looks wrong, try:
       1) Temporarily disabling sections that style `.site-main .entry-content` or `body`.
       2) Reworking plugin-specific styles in a cleaner way.
   - I focused on getting the pages functional and reasonably styled for the internship.
*/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&display=swap');

/* -----------------------------
   RESET + BASE SETUP
   ----------------------------- */
.site-footer,
.site-footer * {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  line-height: 1.3 !important;
}

hr {
  display: none !important;
}

html, body {
  height: 100%;
  margin: 0;
}

/* -----------------------------
   BACKGROUND FULL PAGE
   ----------------------------- */
#page, .ast-site, .ast-container {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('https://tprgteam.org/wp-content/uploads/2025/10/Untitled-design1.png') no-repeat center center fixed;
  background-size: cover;
}

/* -----------------------------
   TEXT STYLING – SAFER VERSION
   ----------------------------- */

/* Light global base: only the body */
body {
  font-family: 'Noto Serif', serif;
  color: #f5f5f5;
}

/* Main page content (keeps your TPRG look where it matters) */
.site-main .entry-content,
.site-main .entry-content p,
.site-main .entry-content li,
.site-main .entry-content span {
  font-size: 21px !important;
  line-height: 1.75 !important;
  font-family: 'Noto Serif', serif !important;
  color: #f5f5f5 !important;
  font-weight: 610 !important;
  letter-spacing: 0.3px !important;
  text-shadow:
    -1.1px -1.1px 0 #000,
     1.1px -1.1px 0 #000,
    -1.1px  1px 0 #000,
     1px  2px 0 #000,
     0px  0px 8px rgba(9,109,168,0.8);
}

/* Links – only inside main content, not every plugin */
.site-main .entry-content a {
  color: #09a3f0 !important;
  text-decoration: none !important;
  transition: all 0.25s ease-in-out;
}

.site-main .entry-content a:hover {
  color: #fff !important;
  text-shadow: 0 0 6px rgba(9,109,168,0.8);
}

/* Buttons in content blocks (Elementor/button blocks, etc.) */
.site-main .entry-content button,
.site-main .entry-content input[type="submit"],
.site-main .entry-content .wp-block-button__link {
  font-size: 17px !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: rgba(9,109,168,0.3) !important;
  border: 1px solid rgba(9,109,168,0.6) !important;
  transition: all 0.25s ease-in-out;
  text-shadow: none !important;
}

.site-main .entry-content button:hover,
.site-main .entry-content input[type="submit"]:hover,
.site-main .entry-content .wp-block-button__link:hover {
  background: rgba(9,109,168,0.5) !important;
  transform: translateY(-1px);
}

/* Headings */
h1 { font-size: 3.4em !important; font-weight: 700 !important; letter-spacing: .8px; color: #fff !important; }
h2 { font-size: 2.9em !important; font-weight: 600 !important; color: #eaeaea !important; }
h3 { font-size: 2.4em !important; font-weight: 800 !important; color: #ddd !important; }
h4, h5, h6 { font-size: 1.4em !important; font-weight: 500 !important; color: #ccc !important; }

/* -----------------------------
   HEADER / MENU
   ----------------------------- */
.ast-header-break-point .main-header-menu,
.main-header-menu {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  list-style: none !important;
}

/* Menu links */
.main-header-menu li a {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 17.5px !important;
  letter-spacing: 0.2px;
  color: #ffffff !important;
  transition: all 0.25s ease-in-out !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* Tighten main header menu spacing so underline sits right under text */
.main-header-menu > li > a {
  line-height: 1.2 !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* Hover + active */
.main-header-menu li a:hover {
  background: rgba(9,109,168,0.2) !important;
  color: #096da8 !important;
  text-shadow: 1 1 6px rgba(9,109,168,0.8);
  transform: translateY(-1px);
}

.main-header-menu li.current-menu-item > a {
  background: rgba(9,109,168,0.25) !important;
  color: #096da8 !important;
  border-bottom: 2px solid #096da8 !important;
}

/* Slim header layout */
.ast-primary-header-bar,
.ast-above-header,
.ast-above-header-bar {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  min-height: 50px !important;
}

/* Logo sizing */
.site-branding img,
.custom-logo-link img,
.ast-site-identity img {
  max-height: 200px !important;
  height: auto !important;
}

/* Header full-width fix */
header#masthead,
.ast-primary-header-bar,
.ast-above-header,
.ast-above-header-bar,
.ast-main-header-bar {
  background: transparent !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

header#masthead .ast-container,
header#masthead .ast-container * {
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* -----------------------------
   FOOTER (FINAL ALIGNMENT FIX)
   ----------------------------- */
#colophon.site-footer {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.site-footer .ast-builder-grid-row-container,
.site-footer .ast-builder-grid-row-container-inner,
.site-footer .ast-builder-footer-grid-columns {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.site-footer-section {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
  text-align: center !important;
  width: 100% !important;
}

.site-footer,
#colophon {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  background-position: center center !important;
}

/* -----------------------------
   RESPONSIVE TWEAKS
   ----------------------------- */
@media (max-width: 768px) {
  .main-header-menu {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .main-header-menu li a {
    font-size: 20px !important;
    padding: 8px 14px !important;
    background: rgba(9,109,168,0.15);
    border-radius: 6px;
  }

  body, p, li, span, a, button {
    font-size: 17px !important;
    line-height: 1.7 !important;
  }

  .site-footer-section {
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* --- other unrelated site styles continue unchanged --- */


/* ===============================
   CLEAN REBUILD — LOGIN / REGISTER CONTAINER
   =============================== */

div.d-flex.justify-content-center.nav.mt-0 ul.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

div.d-flex.justify-content-center.nav.mt-0 ul.nav li {
  margin: 6px 0;
}

/* Unified button style */
div.d-flex.justify-content-center.nav.mt-0 ul.nav li a.nav-link {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff !important;
  background: rgba(9,109,168,0.25);
  border: 1px solid rgba(9,109,168,0.5);
  border-radius: 10px;
  padding: 10px 20px;
  width: 200px;
  transition: all 0.25s ease-in-out;
  text-decoration: none !important;
  text-shadow: none !important;
}

/* Hover + active state */
div.d-flex.justify-content-center.nav.mt-0 ul.nav li a.nav-link:hover,
div.d-flex.justify-content-center.nav.mt-0 ul.nav li a.nav-link.active {
  background: #096da8;
  color: #ffffff !important;
  border-color: #096da8;
  transform: translateY(-2px);
  box-shadow: 0 0 8px rgba(9,109,168,0.6);
}

/* Ensure “Forgot” and “Change” have proper full labels */
div.d-flex.justify-content-center.nav.mt-0 ul.nav li a.nav-link[href*="forgot"]::after {
  content: " Password";
}
div.d-flex.justify-content-center.nav.mt-0 ul.nav li a.nav-link[href*="change"]::after {
  content: " Password";
}

/* Adjust spacing for those lower buttons */
div.d-flex.justify-content-center.nav.mt-0 ul.nav li a.nav-link[href*="forgot"],
div.d-flex.justify-content-center.nav.mt-0 ul.nav li a.nav-link[href*="change"] {
  background: rgba(9,109,168,0.15);
  border: 1px solid rgba(9,109,168,0.4);
}

div.d-flex.justify-content-center.nav.mt-0 ul.nav li a.nav-link[href*="forgot"]:hover,
div.d-flex.justify-content-center.nav.mt-0 ul.nav li a.nav-link[href*="change"]:hover {
  background: #0c8dd5;
  border-color: #0c8dd5;
}

/* ===============================
   ABSOLUTE OVERRIDE FOR LOGIN BOX
   =============================== */
div[style*="flex-direction:column"][style*="align-items:center"][style*="background:rgba(0,0,0,0.45)"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0,0,0,0.45) !important;
  padding: 6px 2px !important;
  border-radius: 2px !important;
  width: fit-content !important;
  margin: 2px auto !important;
  box-shadow: 10 10 10px rgba(2,2,2,2.4) !important;
}

/* make all buttons consistent */
div[style*="flex-direction:column"][style*="align-items:center"] a {
  display: block !important;
  width: 190px !important;
  text-align: center !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #fff !important;
  padding: 8px 0 !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  margin: 6px 0 !important;
  transition: all 0.25s ease-in-out !important;
}

/* Register button */
div[style*="flex-direction:column"][style*="align-items:center"] a[href*="register"] {
  background: linear-gradient(135deg,#0c8dd5,#096da8) !important;
  border: 1px solid #0c8dd5 !important;
}

/* Login button */
div[style*="flex-direction:column"][style*="align-items:center"] a[href*="login"] {
  background: linear-gradient(135deg,#333,#111) !important;
  border: 1px solid #000 !important;
}

/* Forgot + Change buttons */
div[style*="flex-direction:column"][style*="align-items:center"] div[style*="gap:8px"] a {
  background: linear-gradient(135deg,#0c8dd5,#096da8) !important;
  border: 1px solid #0c8dd5 !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 6px 0 !important;
  width: 110px !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  text-shadow: none !important;
}

/* add full text labels */
div[style*="flex-direction:column"][style*="align-items:center"] div[style*="gap:8px"] a[href*="forgot"]::after {
  content: " Password" !important;
}
div[style*="flex-direction:column"][style*="align-items:center"] div[style*="gap:8px"] a[href*="change"]::after {
  content: " Password" !important;
}

/* Hover effects for all */
div[style*="flex-direction:column"][style*="align-items:center"] a:hover {
  background: #ffffff !important;
  color: #096da8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 0 8px rgba(9,109,168,0.6) !important;
}

/* NFHS text refinement — slightly stronger outline */
.entry-content a[href*="nfhs.org"] h3,
.entry-content a[href*="nfhs.org"] p {
  color: #ffffff !important;
  font-weight: 650 !important;
  text-shadow:
    -1.5px -1.5px 0 #000,
     1.5px -1.5px 0 #000,
    -1.5px  1.5px 0 #000,
     1.5px  1.5px 0 #000,
     0 0 5px rgba(0,0,0,0.6) !important;
}

/* NFHS block — white background with blue text */
.entry-content a[href*="nfhs.org"] {
  display: block !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  border: 2px solid #096da8 !important;
  padding: 6px 2px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
  color: #096da8 !important;
  text-decoration: none !important;
  transition: all 0.25s ease-in-out !important;
}

/* Blue text for heading and paragraph inside NFHS block */
.entry-content a[href*="nfhs.org"] h3,
.entry-content a[href*="nfhs.org"] p {
  color: #096da8 !important;
  font-weight: 650 !important;
  text-shadow:
    -1px -1px 0 #ffffff,
     1px -1px 0 #ffffff,
    -1px  1px 0 #ffffff,
     1px  1px 0 #ffffff,
     0 0 5px rgba(0,0,0,0.2) !important;
}

/* Hover — slight blue tint for interactivity */
.entry-content a[href*="nfhs.org"]:hover {
  background: #f0f8ff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3) !important;
}

/* UsersWP Login/Register/Forgot/Change – reset text weight + remove global shadow */
.card.mx-auto.container-fluid.p-0.border-0,
.card.mx-auto.container-fluid.p-0.border-0 * {
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  color: #111 !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 500 !important;
}

/* Headings */
.card.mx-auto.container-fluid.p-0.border-0 h1,
.card.mx-auto.container-fluid.p-0.border-0 h2,
.card.mx-auto.container-fluid.p-0.border-0 h3 {
  font-weight: 700 !important;
  color: #111 !important;
  text-shadow: none !important;
}

/* Labels */
.card.mx-auto.container-fluid.p-0.border-0 label {
  color: #111 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* Inputs */
.card.mx-auto.container-fluid.p-0.border-0 input,
.card.mx-auto.container-fluid.p-0.border-0 textarea,
.card.mx-auto.container-fluid.p-0.border-0 select {
  color: #000 !important;
  background-color: #fff !important;
  border: 1px solid #ccc !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Buttons */
.card.mx-auto.container-fluid.p-0.border-0 button,
.card.mx-auto.container-fluid.p-0.border-0 input[type="submit"] {
  background: linear-gradient(135deg,#0c8dd5,#096da8) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border: 1px solid #096da8 !important;
  border-radius: 6px !important;
  text-shadow: none !important;
  transition: all 0.25s ease-in-out !important;
}

.card.mx-auto.container-fluid.p-0.border-0 button:hover,
.card.mx-auto.container-fluid.p-0.border-0 input[type="submit"]:hover {
  background: #ffffff !important;
  color: #096da8 !important;
  transform: translateY(-2px) !important;
}

/* Footer links (Create account / Forgot password) */
.card.mx-auto.container-fluid.p-0.border-0 .uwp-footer-links a {
  color: #096da8 !important;
  text-shadow: none !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.card.mx-auto.container-fluid.p-0.border-0 .uwp-footer-links a:hover {
  color: #0c8dd5 !important;
  text-decoration: underline !important;
}

/* Account-related pages (Login, Register, Forgot, Change): clean, readable typography and consistent UI */
.card.mx-auto.container-fluid.p-0.border-0,
.card.mx-auto.container-fluid.p-0.border-0 *,
.card-body .uwp-login-form,
.card-body .uwp-register-form,
.card-body .uwp-forgot-form,
.card-body .uwp-change-form {
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  color: #111 !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 500 !important;
}

/* Headings */
.card.mx-auto.container-fluid.p-0.border-0 h1,
.card.mx-auto.container-fluid.p-0.border-0 h2,
.card.mx-auto.container-fluid.p-0.border-0 h3 {
  font-weight: 700 !important;
  color: #111 !important;
  text-shadow: none !important;
}

/* Labels */
.card.mx-auto.container-fluid.p-0.border-0 label {
  color: #111 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* Inputs */
.card.mx-auto.container-fluid.p-0.border-0 input,
.card.mx-auto.container-fluid.p-0.border-0 textarea,
.card.mx-auto.container-fluid.p-0.border-0 select {
  color: #000 !important;
  background-color: #fff !important;
  border: 1px solid #ccc !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Buttons */
.card.mx-auto.container-fluid.p-0.border-0 button,
.card.mx-auto.container-fluid.p-0.border-0 input[type="submit"] {
  background: linear-gradient(135deg,#0c8dd5,#096da8) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border: 1px solid #096da8 !important;
  border-radius: 6px !important;
  text-shadow: none !important;
  transition: all 0.25s ease-in-out !important;
}

.card.mx-auto.container-fluid.p-0.border-0 button:hover,
.card.mx-auto.container-fluid.p-0.border-0 input[type="submit"]:hover {
  background: #ffffff !important;
  color: #096da8 !important;
  transform: translateY(-2px) !important;
}

/* Footer links (Create account / Forgot password / Login) */
.card.mx-auto.container-fluid.p-0.border-0 .uwp-footer-links a {
  color: #096da8 !important;
  text-shadow: none !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.card.mx-auto.container-fluid.p-0.border-0 .uwp-footer-links a:hover {
  color: #0c8dd5 !important;
  text-decoration: underline !important;
}

/* Ensure small links (like "Login via Social") stay consistent */
.card.mx-auto.container-fluid.p-0.border-0 a {
  color: #096da8 !important;
  text-shadow: none !important;
}

.card.mx-auto.container-fluid.p-0.border-0 a:hover {
  color: #0c8dd5 !important;
  text-decoration: underline !important;
}

/* Match login/register font styling for Events bar */
.tribe-events-c-events-bar,
.tribe-events-c-events-bar * {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  color: #0c8dd5 !important;
  text-shadow: 1px 1px 0 #000 !important;
  letter-spacing: 0.5px;
}

/* Keep input placeholders readable */
.tribe-common-form-control-text__input::placeholder,
.tribe-events-c-search__input::placeholder {
  color: #0c8dd5 !important;
  opacity: 0.8;
  text-shadow: none !important;
  font-weight: 600 !important;
}

/* Preserve button contrast */
.tribe-events-c-search__button,
.tribe-events-c-view-selector__button {
  color: #000 !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}

/* Prevent SVG icons from turning blue */
.tribe-events-c-events-bar svg path {
  fill: #000 !important;
}

/* Match 'Today' button font to the event header (Find Events/List/Month/Day) */
.tribe-events-c-top-bar__today-button {
  background: #fff !important;
  color: #0c8dd5 !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15) !important;
  text-shadow: none !important;
  letter-spacing: 0.3px !important;
  transition: 0.2s ease-in-out;
}

.tribe-events-c-top-bar__today-button:hover {
  background: #f5faff !important;
  transform: scale(1.03);
}

/* Slightly smaller 'Today' button font */
.tribe-events-c-top-bar__today-button {
  font-size: 1.5 rem !important;
}

/* Match datepicker button to Today button styling */
.tribe-events-c-top-bar__datepicker-button {
  background: linear-gradient(135deg, #0c8dd5, #096da8) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 1.5rem !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3) !important;
  letter-spacing: 0.5px !important;
  transition: 0.2s ease-in-out !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

/* Make sure text is visible on both desktop and mobile spans */
.tribe-events-c-top-bar__datepicker-desktop,
.tribe-events-c-top-bar__datepicker-mobile {
  color: #fff !important;
  visibility: visible !important;
  opacity: 1 !important;
  clip: auto !important;
  position: static !important;
  text-shadow: 1px 1px 0 #000 !important;
}

/* Keep arrow icon white to match text */
.tribe-events-c-top-bar__datepicker-button svg path {
  fill: #fff !important;
}

/* Hover effect same as Today button */
.tribe-events-c-top-bar__datepicker-button:hover {
  background: linear-gradient(135deg, #0da0f2, #0c8dd5) !important;
  transform: scale(1.04);
}

/* Fix blurry calendar dropdown text */
.datepicker,
.datepicker table,
.datepicker th,
.datepicker td,
.datepicker-switch,
.datepicker-months span,
.datepicker-years span,
.datepicker-decades span,
.datepicker-centuries span {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #000 !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Make active day match your blue accent */
.datepicker td.active,
.datepicker td.active:hover {
  background: #0c8dd5 !important;
  color: #fff !important;
  border-radius: 6px !important;
}

/* Hover state for days */
.datepicker td.day:hover {
  background: #e0f3ff !important;
  color: #000 !important;
  cursor: pointer !important;
}

/* Header (month/year) styling */
.datepicker-switch {
  color: #0c8dd5 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-shadow: none !important;
}

/* Fix blurry form text */
.uwp-account-form,
.uwp-account-form input,
.uwp-account-form textarea,
.uwp-account-form label,
.uwp-account-form small {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  color: #000 !important;
  font-size: 1rem !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Fix placeholders too */
.uwp-account-form input::placeholder,
.uwp-account-form textarea::placeholder {
  color: #0c8dd5 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Input + textarea appearance */
.uwp-account-form input,
.uwp-account-form textarea {
  border: 2px solid #0c8dd5 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s ease-in-out;
}

/* Hover/focus highlight */
.uwp-account-form input:focus,
.uwp-account-form textarea:focus {
  border-color: #096da8 !important;
}

/* Fix blurry text + unify font style on profile section */
.uwp-profile-header,
.uwp-profile-tabs,
.uwp-profile-tabs *,
.uwp-profile-header *,
.uwp-profile-entries,
.uwp-profile-entries * {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  color: #000 !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Profile name/title styling */
.uwp-user-title {
  font-size: 1.8rem !important;
  color: #0c8dd5 !important;
  text-shadow: none !important;
  letter-spacing: 0.5px !important;
}

/* Nav tabs (No Tabs, etc.) */
.uwp-profile-tabs .nav-link {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #0c8dd5 !important;
  text-shadow: none !important;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.uwp-profile-tabs .nav-link:hover {
  color: #096da8 !important;
  transform: scale(1.03);
}

/* Active tab underline and color */
.uwp-profile-tabs .nav-item.active .nav-link,
.uwp-profile-tabs .nav-item.active .uwp-profile-tab-label {
  color: #096da8 !important;
  border-bottom: 3px solid #0c8dd5 !important;
}

/* Alert box (no content warning) */
.uwp-profile-entries .alert {
  background-color: #e0f3ff !important;
  color: #000 !important;
  border: 1px solid #0c8dd5 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* Override logo size only */
.site-branding img,
.custom-logo-link img,
.ast-site-identity img {
  max-height: 125px !important;
  height: auto !important;
}

/* Fix blurry text ONLY on Weekly Tips page (ID 282) */
.page-id-282 .academic-power-box * {
  text-shadow: none !important;
  color: #222 !important;
  font-family: "Georgia", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.8 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  filter: none !important;
}

/* ========================================
   Remove YouTube SVG icon box entirely
   ======================================== */
.sby_footer svg[data-icon="youtube"],
.sby_footer a svg[data-icon="youtube"],
svg[data-icon="youtube"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
}

/* === THE WORKING VERSION (Load + Subscribe side-by-side, Show Less appears only when active) === */

.sby_footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* row for the top two buttons */
.sby_footer_buttons_row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 10px !important;
}

/* both buttons on the same row */
.sby_footer > a.sby_load_btn,
.sby_footer > span.sby_follow_btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 167px !important;
  height: 45px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #0c8dd5, #096da8) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.05rem !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s ease-in-out !important;
  border: none !important;
}

/* hover glow */
.sby_footer > a.sby_load_btn:hover,
.sby_footer > span.sby_follow_btn a:hover {
  background: linear-gradient(135deg, #0da0ef, #0a7fcb) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 0 14px rgba(9,109,168,0.9) !important;
}

/* Show Less centered below, hidden by default */
.sby_footer > a.sby_show_less_btn {
  display: none !important;
  width: 167px !important;
  height: 45px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #0c8dd5, #096da8) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.05rem !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s ease-in-out !important;
  border: none !important;
  margin-top: 10px !important;
}

/* hover for Show Less */
.sby_footer > a.sby_show_less_btn:hover {
  background: linear-gradient(135deg, #0da0ef, #0a7fcb) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 0 14px rgba(9,109,168,0.9) !important;
}

/* visible when load more has been clicked */
.sby_footer.show-less-visible > a.sby_show_less_btn {
  display: inline-flex !important;
}

/* ensures subscribe wrapper doesn’t break alignment */
.sby_footer > span.sby_follow_btn {
  display: contents !important;
}

/* ===============================
   YouTube Footer Buttons Styling
   =============================== */
.sby_footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 14px !important;
}

/* top row: Load + Subscribe */
.sby_footer_buttons_row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 10px !important;
}

/* buttons (Load More + Subscribe + Show Less) */
.sby_footer a.sby_load_btn,
.sby_footer .sby_follow_btn a,
.sby_footer a.sby_show_less_btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 167px !important;
  height: 45px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #0c8dd5, #096da8) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.05rem !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
  transition: all 0.25s ease-in-out !important;
  border: none !important;
}

/* hover glow (Spotify style) */
.sby_footer a.sby_load_btn:hover,
.sby_footer .sby_follow_btn a:hover,
.sby_footer a.sby_show_less_btn:hover {
  background: linear-gradient(135deg,#0da0ef,#0a7fcb) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 0 14px rgba(9,109,168,0.9) !important;
}

/* show less default hidden */
.sby_footer a.sby_show_less_btn {
  display: none !important;
  margin-top: 10px !important;
}

/* visible after clicking load more */
.sby_footer.show-less-visible a.sby_show_less_btn {
  display: inline-flex !important;
}

/* remove ugly youtube icon spacing */
.sby_footer .sby_follow_btn a svg {
  display: none !important;
}

/* ===============================
   YouTube Footer Buttons — Translucent Add-On
   =============================== */
.sby_footer a.sby_load_btn,
.sby_footer .sby_follow_btn a,
.sby_footer a.sby_show_less_btn {
  background: rgba(12, 141, 213, 0.35) !important; /* translucent look */
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(5px) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.05rem !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s ease-in-out !important;
}

/* hover effect — brighter and sharper */
.sby_footer a.sby_load_btn:hover,
.sby_footer .sby_follow_btn a:hover,
.sby_footer a.sby_show_less_btn:hover {
  background: rgba(12, 141, 213, 0.6) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 0 14px rgba(9, 109, 168, 0.9) !important;
}

.elementor-element-af3559f {
  background: rgba(9, 109, 168, 0.05) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  border-radius: 16px !important;
  padding: 60px 20px !important;
}

.entry-content.clear {
  background: rgba(9, 109, 168, 0.05) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  border-radius: 16px !important;
  padding: 60px 20px !important;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2) !important;
}

/* === MOBILE TEXT CLARITY FIX — BODY TEXT ONLY (Keep Original Headings) === */
@media (max-width: 768px) {
  body, p, li, span, a, button, input, textarea {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500 !important;
    color: #f5f5f5 !important;

    /* Sharpen text rendering for mobile */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;

    /* Slightly stronger but clean shadow */
    text-shadow:
      0 0 3px rgba(0,0,0,0.9),
      0 0 6px rgba(9,109,168,0.6),
      0 0 10px rgba(0,0,0,0.4) !important;
  }

  /* Keep mild blur for depth, but not enough to haze text */
  .entry-content.clear,
  .elementor-element-af3559f {
    backdrop-filter: blur(1.5px) !important;
    -webkit-backdrop-filter: blur(1.5px) !important;
    background: rgba(9,109,168,0.08) !important;
  }
}

/* MOBILE LIGHT MODE MENU BACKGROUND FIX */
@media (max-width: 768px) and (prefers-color-scheme: light) {
  /* Background of the dropdown menu area */
  .ast-header-break-point .ast-builder-menu,
  .ast-header-break-point .main-header-menu {
    background-color: #096da8 !important;
  }

  /* Buttons inside the menu (make them match the blue background) */
  .ast-header-break-point .main-header-menu li,
  .ast-header-break-point .main-header-menu li a {
    background-color: transparent !important;
    color: #ffffff !important;
  }

  /* Hover/focus styles */
  .ast-header-break-point .main-header-menu li a:hover {
    color: #e0e0e0 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
  }

  /* Reset header area so it stays transparent */
  .ast-header-break-point .ast-primary-header-bar,
  .ast-header-break-point .ast-mobile-header-wrap {
    background-color: transparent !important;
  }
}

/* --- YouTube Thumbnails Mobile Fix --- */
.sby_video_thumbnail img,
.sby_item_inner img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  max-width: 100% !important;
  height: auto !important;
  position: relative !important;
  z-index: 3 !important;
  filter: none !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
}

@media (max-width: 768px) {
  .entry-content.clear,
  .elementor-element-af3559f {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* --- Shift Site Title & Logo Right (targeting your exact header HTML) --- */

/* Move the whole branding block (logo + TPRG + tagline) to the right */
.site-header-primary-section-left .ast-builder-layout-element[data-section="title_tagline"] .site-branding {
  position: relative !important;
  transform: translateX(20px) !important;   /* bump amount */
  will-change: transform;
  overflow: visible !important;
}

/* Belt-and-suspenders: add left padding on the immediate parent too */
.site-header-primary-section-left .ast-builder-layout-element[data-section="title_tagline"] {
  padding-left: 20px !important;
}

/* Make sure the header bar isn't clipping anything */
.ast-primary-header-bar {
  overflow: visible !important;
}

/* Mobile: smaller nudge so it doesn't feel off */
@media (max-width: 768px) {
  .site-header-primary-section-left .ast-builder-layout-element[data-section="title_tagline"] .site-branding {
    transform: translateX(10px) !important;
  }
  .site-header-primary-section-left .ast-builder-layout-element[data-section="title_tagline"] {
    padding-left: 10px !important;
  }
}

/* Keep title/tagline on their own lines and fully visible */
.site-header-primary-section-left .ast-site-title-wrap .site-title,
.site-header-primary-section-left .ast-site-title-wrap .site-description {
  display: block !important;
  white-space: nowrap !important;
  overflow: visible !important;
  line-height: 1.25 !important;
}

/* STOP MAKING THIS ONE LINK BLUE */
.bullpen-link,
.bullpen-link:visited,
.bullpen-link:hover,
.bullpen-link:active,
.bullpen-link:focus {
  color: inherit !important;
  text-decoration: underline !important;
}

/* --- Mobile Heading Resize (Under 768px) --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2.4rem !important;
  }
  h2 {
    font-size: 2.1rem !important;
  }
  h3 {
    font-size: 1.85rem !important;
  }
  h4, h5, h6 {
    font-size: 1.25rem !important;
  }
}

.imapsTooltip {
  color: #096da8 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  text-rendering: geometricPrecision !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* --- Make carousel captions white until clicked --- */
.elementor-image-carousel-caption a,
.elementor-image-carousel-caption {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

/* --- FIX UNREADABLE TEXT IN MESSAGES UI --- */
.bpbm-empty-message,
.bpbm-empty-link a,
.bpbm-empty-or,
.bpbm-search input,
.bpbm-search input::placeholder {
  font-family: Arial, sans-serif !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  color: #000 !important;
}

/* --- STOP CUTTING OFF THE FOOTER USERNAME --- */
.bp-messages-side-threads {
  overflow: visible !important;
  padding-bottom: 60px !important;
}

/* Fix the warped message text EXACTLY in BuddyBoss messaging */
.bm-message .bm-message-content-text,
.bm-message .bm-message-content-text *,
.bm-message .bm-message-content,
.bm-message .bm-message-content *,
.bm-message.my .bm-message-content-text p {
    font-family: Noto Serif, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;

    /* Nuke the distortion that’s breaking readability */
    transform: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    skew: 0deg !important;
    text-shadow: none !important;

    /* Improve rendering */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Sidebar conversation preview text — unwarp + readable */
.threads-list .thread .bm-info .name,
.threads-list .thread .bm-info h4,
.threads-list .thread .bm-info .last-message,
.threads-list .thread .bm-info .bm-last-message-content,
.threads-list .thread .bm-info .bm-last-message-content * {
    font-family: Noto Serif, sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    
    /* Kill the distortion */
    transform: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    skew: 0deg !important;
    text-shadow: none !important;

    /* Better rendering */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Fix the message typing box (input editor) */
.bm-editor-content,
.bm-editor-content * {
    font-family: Noto Serif, sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;

    /* Remove the distortion BuddyBoss injects */
    transform: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    skew: 0deg !important;
    text-shadow: none !important;

    /* Make the text actually readable */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Fix ONLY the .sub-name text */
.sub-name,
.sub-name * {
    font-family: Noto Serif, sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    
    transform: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    skew: 0deg !important;
    text-shadow: none !important;

    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Fix ONLY the sender name link inside messages */
.user.bm-user,
.user.bm-user * {
    font-family: Noto Serif, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    /* Kill the distortion breaking readability */
    transform: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    skew: 0deg !important;
    text-shadow: none !important;

    /* Clean rendering */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Fix bottom-left account name text */
.bpbm-user-me .bpbm-user-info .bpbm-user-me-name .name.bm-name .user.bm-user,
.bpbm-user-me .bpbm-user-info .bpbm-user-me-name .name.bm-name .user.bm-user * {
    color: #000 !important;         /* or #096da8 if you want brand blue */
    opacity: 1 !important;
    filter: none !important;

    font-family: Noto Serif, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    transform: none !important;
    text-shadow: none !important;
    scale: 1 !important;

    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* --- FIX ALL BROKEN ICONS (DASHICONS, FONT AWESOME, ELEMENTOR, UWP) --- */

/* Restore correct fonts for dashicons */
.dashicons, 
.dashicons-before:before {
    font-family: "dashicons" !important;
    font-weight: normal !important;
}

/* Restore UsersWP icon fonts */
.uwp-icon:before,
[class^="uwp-"]:before,
[class*=" uwp-"]:before {
    font-family: "uwp-icons" !important;
    font-weight: normal !important;
    speak: none;
}

/* Restore Font Awesome 4/5/6 icons */
.fa, .fas, .far, .fal, .fab,
.fa::before, .fas::before, .far::before, .fal::before, .fab::before {
    font-family: "Font Awesome 5 Free","Font Awesome 5 Brands","FontAwesome","Font Awesome 4" !important;
    font-weight: 900 !important;
}

/* Restore Elementor icons */
.eicon,
.eicon:before {
    font-family: "eicons" !important;
    font-weight: normal !important;
}

===================================================================
   FIX — Better Messages: "To:" search bar font override (React-Select)
   =================================================================== */

/* Wrapper */
.bm_user_selector__input-container,
.bm_user_selector__input-container * {
    text-shadow: none !important;
    font-family: Arial, sans-serif !important;
    font-weight: 600 !important;
    color: #000 !important;

    -webkit-text-stroke: 0 !important;
    transform: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    skew: 0deg !important;

    letter-spacing: normal !important;
    line-height: 1.3 !important;
}

/* Direct React-Select input */
.bm_user_selector__input-container input.bm_user_selector__input {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #000 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* React-Select placeholder text */
.bm_user_selector__placeholder,
.bm_user_selector__placeholder * {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #777 !important;
    text-shadow: none !important;
}

/* Fix dropdown options (when typing) */
.bm_user_selector__option,
.bm_user_selector__option * {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #000 !important;
    text-shadow: none !important;
}

/* Fix the "Start a new conversation" title text */
#bm-new-thread-title,
#bm-new-thread-title * {
    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #000 !important;

    /* Remove global distortion */
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;

    transform: none !important;
    scale: 1 !important;
    rotate: 0 !important;
    skew: 0 !important;

    line-height: 1.3 !important;
    letter-spacing: normal !important;

    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Fix Better Messages "Subject:" label + input */
.bm_thread_subject_input,
.bm_thread_subject_input * {
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    transform: none !important;
    scale: 1 !important;
    rotate: 0 !important;
    skew: 0 !important;
}

/* Label "Subject:" */
.bm_thread_subject_input label.bm-to-label {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-shadow: none !important;
}

/* Actual input text */
.bm_thread_subject_input input.thread_subject__input {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #000 !important;

    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;

    text-shadow: none !important;
}

/* Placeholder text */
.bm_thread_subject_input input.thread_subject__input::placeholder {
    color: #777 !important;
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    text-shadow: none !important;
}

/* ============================
   FIX Better Messages "To:" field text visibility
   ============================ */

/* 1. The main value container (holds chips + input) */
.bm_user_selector__value-container {
    background: #ffffff !important;        /* solid white so text is visible */
    border: 1px solid #ccc !important;
    border-radius: 6px !important;

    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

/* Remove inherited shadows for everything inside */
.bm_user_selector__value-container *,
.bm_user_selector__value-container *::before,
.bm_user_selector__value-container *::after {
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;

    font-family: Arial, sans-serif !important;
    color: #000 !important;
}

/* 2. The input where you type the username */
.bm_user_selector__input-container input.bm_user_selector__input {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #000 !important;
    background: transparent !important;
    border: none !important;
    padding: 4px 6px !important;
    text-shadow: none !important;
}

/* Placeholder ("Start typing…") */
#react-select-2-input::placeholder {
    color: #666 !important;
    font-family: Arial, sans-serif !important;
    text-shadow: none !important;
}

/* 3. The selected-user chip */
.bm_user_selector__multi-value {
    background: #e8f4ff !important;       /* light blue chip background */
    border: 1px solid #96caff !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
}

.bm_user_selector__multi-value .bm-name,
.bm_user_selector__multi-value .bm-user,
.bm_user_selector__multi-value span {
    font-family: Arial, sans-serif !important;
    color: #000 !important;
    text-shadow: none !important;
}

/* The little "x" remove button */
.bm_user_selector__multi-value__remove svg path {
    fill: #000 !important;
}

/* =========================================================
   FIX Better Messages Settings / Admin Compose Panel
   (Reports, Send To, Options, Subject, Message fields)
   ========================================================= */

/* Reset everything inside the admin compose container */
.bm-not-in-progress,
.bm-not-in-progress * {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #000 !important;

    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    transform: none !important;
    scale: 1 !important;
    rotate: 0 !important;
    skew: 0 !important;

    line-height: 1.4 !important;
    letter-spacing: normal !important;
}

/* Headings */
.bm-not-in-progress h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

/* "Send to", "Options", "Subject", "Message" labels */
.bm-not-in-progress label.bm-bold {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

/* Radio + checkbox labels */
.bm-not-in-progress ul.send-to label,
.bm-not-in-progress ul.options label {
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Radio & checkbox descriptions */
.bm-not-in-progress ul.options p {
    font-size: 14px !important;
    color: #333 !important;
}

/* Subject field */
.bm-not-in-progress input.subject-input {
    background: #fff !important;
    border: 1px solid #bbb !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;

    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #000 !important;

    text-shadow: none !important;
}

/* Message editor (contenteditable) */
.bm-editor-content {
    background: #fff !important;
    border: 1px solid #bbb !important;
    border-radius: 6px !important;
    padding: 10px !important;
    min-height: 120px !important;

    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #000 !important;
    text-shadow: none !important;
}

/* Message editor placeholder */
.bm-editor-content[placeholder]:empty::before {
    content: attr(placeholder);
    pointer-events: none;
    color: #777 !important;
    font-family: Arial, sans-serif !important;
    text-shadow: none !important;
}

/* Submit button */
.bm-not-in-progress button[type="submit"] {
    background: #096da8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 16px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.bm-not-in-progress button[type="submit"]:hover {
    background: #0c8dd5 !important;
}

/* Fix Better Messages search section headers */
.bm-search-results-header,
.bm-search-results-header * {
    font-family: Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000 !important;

    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;

    transform: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    skew: 0deg !important;

    padding: 6px 0 !important;
    margin: 4px 0 !important;
    line-height: 1.3 !important;

    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Fix Better Messages React-Select "Loading..." message text */
.bm_user_selector__control [class*="Loading"],
.bm_user_selector__menu-notice--loading,
[class*="loading-message"],
[class*="LoadingMessage"],
[class*="loading"],
[class*="loading-indicator"],
[class*="notice--loading"] {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000 !important;

    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;

    transform: none !important;
    scale: 1 !important;
    rotate: 0deg !important;
    skew: 0 !important;

    padding: 6px !important;
    line-height: 1.3 !important;

    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* --- Mobile menu: all blue background, white text only --- */
@media (max-width: 921px) {

  /* Main mobile menu containers (Astra) */
  .ast-mobile-popup-drawer,
  .ast-mobile-popup-inner,
  .ast-mobile-popup-content,
  .ast-mobile-header-wrap,
  .ast-builder-menu-mobile,
  .ast-builder-menu-mobile .main-header-menu {
    background-color: #002b6f !important;
  }

  /* Make each menu item block the same blue so there are no white pills */
  .ast-mobile-popup-drawer .main-header-menu > li,
  .ast-mobile-popup-drawer .main-header-menu > li > a,
  .ast-builder-menu-mobile .main-header-menu > li,
  .ast-builder-menu-mobile .main-header-menu > li > a {
    background-color: #002b6f !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Text color: always white, even on hover / active */
  .ast-mobile-popup-drawer .main-header-menu a,
  .ast-mobile-popup-drawer .main-header-menu a:visited,
  .ast-mobile-popup-drawer .main-header-menu a:hover,
  .ast-mobile-popup-drawer .main-header-menu a:focus,
  .ast-mobile-popup-drawer .main-header-menu .current-menu-item > a,
  .ast-mobile-popup-drawer .main-header-menu .current-menu-ancestor > a {
    color: #ffffff !important;
  }

  /* Dropdown arrow / toggle on the right */
  .ast-mobile-popup-drawer .ast-menu-toggle,
  .ast-mobile-popup-drawer .ast-menu-toggle .ast-icon {
    background-color: #002b6f !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Remove extra borders/shadows on the bar itself */
  .ast-header-break-point .main-header-bar,
  .ast-header-break-point .main-header-menu {
    border: none !important;
    box-shadow: none !important;
  }
}

/* --- Make mobile header transparent, keep only menu panel blue --- */
@media (max-width: 921px) {
  /* Make the main header bar see-through on mobile */
  .ast-header-break-point .main-header-bar,
  .ast-header-break-point .ast-mobile-header-wrap {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  /* Make sure the site header wrapper itself is also transparent */
  .ast-header-break-point .site-header {
    background-color: transparent !important;
  }

  /* Burger / toggle background transparent too (so only menu off-canvas is blue) */
  .ast-header-break-point .ast-mobile-menu-trigger,
  .ast-header-break-point .ast-button-wrap .menu-toggle,
  .ast-header-break-point .ast-mobile-popup-drawer .ast-menu-toggle {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
}
/* ===========================================
   Restore Outline for HERO + HEADER HEADINGS
   =========================================== */

/* Logo text + title block in header */
.site-title,
.site-title a,
.site-description {
  color: #ffffff !important;
  text-shadow:
    -1.2px -1.2px 0 #000,
     1.2px -1.2px 0 #000,
    -1.2px  1.2px 0 #000,
     1.2px  1.2px 0 #000,
     0 0 8px rgba(9,109,168,0.8) !important;
}

/* Hero section main page title */
.entry-title,
.entry-header .entry-title,
h1.page-title {
  color: #ffffff !important;
  text-shadow:
    -1.5px -1.5px 0 #000,
     1.5px -1.5px 0 #000,
    -1.5px  1.5px 0 #000,
     1.5px  1.5px 0 #000,
     0 0 10px rgba(9,109,168,0.8) !important;
}

/* Ensure hero subtitles (like WE ARE TPRG) also get outline */
.hero-text,
.hero-text *,
.site-branding .site-description {
  color: #ffffff !important;
  text-shadow:
    -1.2px -1.2px 0 #000,
     1.2px -1.2px 0 #000,
    -1.2px  1.2px 0 #000,
     1.2px  1.2px 0 #000,
     0 0 8px rgba(9,109,168,0.8) !important;
}
/* Center the specific PayPal donations form */
#form-container-Z979WCZDALBCG {
  max-width: 360px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Keep the input + button grouped nicely in the middle */
#form-container-Z979WCZDALBCG form {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* Just in case the amount row is being weird, force it centered */
#form-container-Z979WCZDALBCG .amount-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* --- Better Messages: user search dropdown text --- */

/* Main name text in the dropdown list */
.bm_user_selector__menu-list .bm_user_selector__option_name .bm-name .bm-user {
  color: #111 !important;
  font-weight: 600;
}

/* Optional: make the whole option line darker, in case anything else is faded */
.bm_user_selector__menu-list .bm_user_selector__option {
  color: #111 !important;
}

/* Make the currently focused/hovered row readable too */
.bm_user_selector__option.bm_user_selector__option_focused {
  background-color: #f3f6ff; /* light highlight */
  color: #111 !important;
}
/* --- Better Messages Chat: Reset funky text styling --- */

/* Nuke outlines / shadows just inside the chat UI */
.bpbm-chat-main,
.bpbm-chat-main * {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
}

/* Make text in the header + actions clean and readable */
.bpbm-chat-main .bm-thread-info-general .bm-name .bm-user,
.bpbm-chat-main .bm-thread-info-general .bm-subject-container strong,
.bpbm-chat-main .bm-thread-info-action-label {
  color: #111 !important;
  font-weight: 600;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Left conversation list: names + preview text + timestamps */
.bpbm-chat-main .bm-conversations-list .bm-name .bm-user,
.bpbm-chat-main .bm-conversations-list .bm-conversation-preview,
.bpbm-chat-main .bm-conversations-list .bm-last-activity,
.bpbm-chat-main .bm-conversations-list .bm-time {
  color: #111 !important;
  font-weight: 500;
}

/* Message list: sender name, bubble text, time, "Today" label */
.bpbm-chat-main .bm-messages-list .bm-name .bm-user,
.bpbm-chat-main .bm-message-content-text,
.bpbm-chat-main .bm-message-content-text p,
.bpbm-chat-main .bm-time,
.bpbm-chat-main .bm-sticky-date {
  color: #111 !important;
  font-weight: 500;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* “Write your message” editor text */
.bpbm-chat-main .bm-editor-content {
  color: #111 !important;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/* --- Better Messages: user search dropdown & empty state --- */

/* Kill glow/outline & make text readable in the user search list */
.bm_user_selector__menu-list,
.bm_user_selector__menu-list *,
.bm_user_selector__menu-notice--no-options,
.bm_user_selector__menu-notice--no-options * {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
  color: #111 !important;
}

/* Optional: “Write a message to start the conversation” helper text */
.bpbm-chat-main .bm-conversation-start span,
.bpbm-chat-main .bm-conversation-empty,
.bpbm-chat-main .bm-conversation-empty * {
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
  color: rgba(0, 0, 0, 0.35) !important;
}

/* TPRG camp gallery captions: white text on deep navy band for readability (2026-10-22) */
.page-id-1550 .elementor-image-gallery .gallery-caption {
    background-color: #0B2C5B !important;
    color: #FFFFFF !important;
    padding: 10px 12px !important;
    margin-top: 0 !important;
}
/* TPRG homepage: Mission & Our Story boxes - TPRG palette, mobile alignment, scroll fade-up (2026-10-23) */
.home.page-id-7 .elementor-element-5b0d9c2,
.home.page-id-7 .elementor-element-dd7748d {
  background-color: #FDF8EE !important;
  border-top: 6px solid #0B2C5B !important;
  box-shadow: 0 10px 28px rgba(11, 44, 91, 0.16) !important;
  border-radius: 0 0 14px 14px !important;
  padding: 44px 36px !important;
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  color: #1f2937 !important;
}
.home.page-id-7 .elementor-element-5b0d9c2 h2,
.home.page-id-7 .elementor-element-dd7748d h2 {
  color: #B98A0A !important;
  text-align: center !important;
  border-bottom: 3px solid #EAB308 !important;
  padding-bottom: 14px !important;
  margin-bottom: 20px !important;
}
.home.page-id-7 .elementor-element-5b0d9c2 h5,
.home.page-id-7 .elementor-element-dd7748d p {
  color: #1f2937 !important;
}
@media (max-width: 767px) {
  .home.page-id-7 .elementor-element-5b0d9c2,
  .home.page-id-7 .elementor-element-dd7748d {
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding: 32px 24px !important;
  }
  .home.page-id-7 .elementor-element-5b0d9c2 h2,
  .home.page-id-7 .elementor-element-dd7748d h2,
  .home.page-id-7 .elementor-element-5b0d9c2 h5,
  .home.page-id-7 .elementor-element-dd7748d p {
    text-align: center !important;
  }
}
@keyframes tprg-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@supports (animation-timeline: view()) {
  .home.page-id-7 .elementor-element-5b0d9c2,
  .home.page-id-7 .elementor-element-dd7748d {
    animation: tprg-fade-up 900ms ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 90%;
  }
  .home.page-id-7 .elementor-element-dd7748d {
    animation-delay: 200ms;
  }
}
/* TPRG homepage boxes v2: same rules without .home for body-class compatibility (2026-10-23) */
.page-id-7 .elementor-element-5b0d9c2,
.page-id-7 .elementor-element-dd7748d {
  background-color: #FDF8EE !important;
  border-top: 6px solid #0B2C5B !important;
  box-shadow: 0 10px 28px rgba(11, 44, 91, 0.16) !important;
  border-radius: 0 0 14px 14px !important;
  padding: 44px 36px !important;
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  color: #1f2937 !important;
}
.page-id-7 .elementor-element-5b0d9c2 h2,
.page-id-7 .elementor-element-dd7748d h2 {
  color: #B98A0A !important;
  text-align: center !important;
  border-bottom: 3px solid #EAB308 !important;
  padding-bottom: 14px !important;
  margin-bottom: 20px !important;
}
.page-id-7 .elementor-element-5b0d9c2 h5,
.page-id-7 .elementor-element-dd7748d p {
  color: #1f2937 !important;
}
@media (max-width: 767px) {
  .page-id-7 .elementor-element-5b0d9c2,
  .page-id-7 .elementor-element-dd7748d {
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding: 32px 24px !important;
  }
  .page-id-7 .elementor-element-5b0d9c2 h2,
  .page-id-7 .elementor-element-dd7748d h2,
  .page-id-7 .elementor-element-5b0d9c2 h5,
  .page-id-7 .elementor-element-dd7748d p {
    text-align: center !important;
  }
}
@supports (animation-timeline: view()) {
  .page-id-7 .elementor-element-5b0d9c2,
  .page-id-7 .elementor-element-dd7748d {
    animation: tprg-fade-up 900ms ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 90%;
  }
  .page-id-7 .elementor-element-dd7748d {
    animation-delay: 200ms;
  }
}
/* Emergency: revert hero container to original, undo accidental box styling (2026-10-23) */
.page-id-7 .elementor-element-2fd08fa {
  background-color: transparent !important;
  border-top: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
/* Our Story typography: normalize to match Mission body readability (2026-10-22) */
.page-id-7 .elementor-element-dd7748d p {
  font-size: 18px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  text-shadow: none !important;
  color: #1f2937 !important;
}
.page-id-7 .elementor-element-dd7748d p strong,
.page-id-7 .elementor-element-dd7748d p b {
  font-weight: 400 !important;
}
/* Typography unification: Mission, Story, Impact Strip share Playfair Display (2026-10-22) */
/* Astra Global Typography: Body Font = Open Sans, Sans-Serif; Headings Font = Playfair Display, Serif */
/* Mission h5 already uses Playfair Display (inherits Headings); Story p + Impact Strip used Open Sans - now unified */
.page-id-7 .elementor-element-5b0d9c2 h5,
.page-id-7 .elementor-element-dd7748d p,
.page-id-7 .elementor-element-dd7748d p strong,
.page-id-7 .elementor-element-dd7748d p b {
  font-family: 'Playfair Display', serif !important;
}
.page-id-7 .elementor-element-f61b903,
.page-id-7 .elementor-element-f61b903 div {
  font-family: 'Playfair Display', serif !important;
}
.page-id-7 .elementor-element-f61b903 div[style*="48px"] {
  font-size: 48px !important;
  font-weight: 700 !important;
  color: #0B2C5B !important;
  line-height: 1 !important;
}
.page-id-7 .elementor-element-f61b903 div[style*="16px"] {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
}
/* LITERAL typography match v2: Mission h5, Story p, Impact labels identical spec (2026-10-22) */
/* Diagnosis: previous pass unified family only; sizes/weights still differed (Mission 20px/600 theme, Story 18px/400, Labels 16px/500) */
/* New spec: 18px / 500 / 1.6 / #1f2937 / Playfair Display for all body text; numbers 48px/700/#0B2C5B */
.page-id-7 .elementor-element-5b0d9c2 h5,
.page-id-7 .elementor-element-dd7748d p,
.page-id-7 .elementor-element-dd7748d p strong,
.page-id-7 .elementor-element-dd7748d p b,
.page-id-7 .elementor-element-f61b903 div[style*="16px"] {
  font-family: 'Playfair Display', serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  color: #1f2937 !important;
  text-shadow: none !important;
}
.page-id-7 .elementor-element-f61b903 div[style*="48px"] {
  font-family: 'Playfair Display', serif !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #0B2C5B !important;
  text-shadow: none !important;
}
.page-id-7 .elementor-element-5b0d9c2 h2,
.page-id-7 .elementor-element-dd7748d h2 {
  font-family: 'Playfair Display', serif !important;
}
/* TPRG mobile layout repair 2026-10-23: phone-only safeguards — sane hero size, wrap headlines by whole word, keep media inside the viewport */
@media (max-width: 768px) {
  .page-id-7 .elementor-element-7094ad8 h3 {
    font-size: 2rem !important;
    line-height: 1.25 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }
  .page-id-7 .elementor-element-5b0d9c2 h2,
  .page-id-7 .elementor-element-dd7748d h2 {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }
  .page-id-7 img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* TPRG mobile fix addendum 2026-10-23: un-float the hero photo on phones so the headline gets the full width */
@media (max-width: 768px) {
  .page-id-7 .elementor-element-7094ad8 img.alignright {
    float: none !important;
    display: block !important;
    margin: 0 auto 1em auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}
/* TPRG mobile catch-all 2026-10-23: force full-width layout on phones, kill horizontal overflow */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; }
  body, .site, .site-content, #page, #content, .entry-content { width: 100% !important; max-width: 100% !important; }
  .page-id-7 .entry-content * { max-width: 100% !important; box-sizing: border-box !important; }
  .page-id-7 .entry-content img, .page-id-7 .entry-content figure { float: none !important; display: block !important; margin-left: auto !important; margin-right: auto !important; height: auto !important; }
  .page-id-7 h1, .page-id-7 h2, .page-id-7 h3, .page-id-7 h4, .page-id-7 h5, .page-id-7 p { word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important; }
}

/* Sticky DONATE button - added 2026-11-01: keeps the header DONATE link fixed in the top-right corner while scrolling. */
.main-header-menu a[href="https://tprgteam.org/donate/"] {
 position: fixed !important;
 top: 16px;
 right: 20px;
 z-index: 99999;
 background: #1e73be !important;
 color: #ffffff !important;
 padding: 12px 22px !important;
 border-radius: 6px;
 font-weight: 700 !important;
 text-decoration: none !important;
 box-shadow: 0 4px 14px rgba(0,0,0,0.35);
 line-height: 1.2;
}
.main-header-menu a[href="https://tprgteam.org/donate/"]:hover {
 background: #0f5a9e !important;
 color: #ffffff !important;
}
body.admin-bar .main-header-menu a[href="https://tprgteam.org/donate/"] {
 top: 48px;
}
@media (max-width: 782px) {
 body.admin-bar .main-header-menu a[href="https://tprgteam.org/donate/"] {
 top: 62px;
 }
}
}
/* Sticky DONATE button - top-level copy: fixed top-right corner button while scrolling. */
.main-header-menu a[href="https://tprgteam.org/donate/"] {
 position: fixed !important;
 top: 16px;
 right: 20px;
 z-index: 99999;
 background: #1e73be !important;
 color: #ffffff !important;
 padding: 12px 22px !important;
 border-radius: 6px;
 font-weight: 700 !important;
 text-decoration: none !important;
 box-shadow: 0 4px 14px rgba(0,0,0,0.35);
 line-height: 1.2;
}
.main-header-menu a[href="https://tprgteam.org/donate/"]:hover {
 background: #0f5a9e !important;
 color: #ffffff !important;
}
body.admin-bar .main-header-menu a[href="https://tprgteam.org/donate/"] {
 top: 48px;
}
@media (max-width: 782px) {
 body.admin-bar .main-header-menu a[href="https://tprgteam.org/donate/"] {
 top: 62px;
 }
}

}
}
}
}
/* Override: menu DONATE as a normal blue button in the nav row, not fixed. */
.main-header-menu a[href="https://tprgteam.org/donate/"] {
 position: static !important;
 top: auto !important;
 right: auto !important;
 background: #1e73be !important;
 color: #ffffff !important;
 padding: 10px 18px !important;
 border-radius: 6px;
 font-weight: 700 !important;
 text-decoration: none !important;
 display: inline-block;
 box-shadow: none;
}
/* Fixed corner DONATE button: bottom-right, stays visible while scrolling. */
.main-header-menu a[href="https://tprgteam.org/donate/"] {
 position: fixed !important;
 top: auto !important;
 bottom: 20px !important;
 right: 20px !important;
 left: auto !important;
 background: #1e73be !important;
 color: #ffffff !important;
 padding: 14px 24px !important;
 border-radius: 6px;
 font-weight: 700 !important;
 text-decoration: none !important;
 display: inline-block;
 z-index: 99999;
 box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}


/* TPRG navigation dropdowns: solid dark navy background with light text, site-wide, so submenu text stays readable over page photos */
.main-header-menu .sub-menu,
.ast-primary-header-bar .main-header-menu .sub-menu,
.site-header .sub-menu,
.main-navigation .sub-menu,
.ast-header-menu .sub-menu,
.ast-header-break-point .main-header-menu .sub-menu {
  background-color: #0b1e3a !important;
  background: #0b1e3a !important;
  opacity: 1 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35) !important;
  border: 0 !important;
}
.main-header-menu .sub-menu li,
.main-header-menu .sub-menu li a,
.ast-primary-header-bar .main-header-menu .sub-menu li a,
.site-header .sub-menu li a,
.main-navigation .sub-menu li a {
  background-color: #0b1e3a !important;
  color: #ffffff !important;
  text-shadow: none !important;
}
.main-header-menu .sub-menu li a:hover,
.main-header-menu .sub-menu li a:focus,
.main-header-menu .sub-menu li:hover > a {
  background-color: #16365f !important;
  color: #ffffff !important;
}

/* Universal fallback: any submenu, including Elementor and header-builder menus */
.sub-menu,
ul.sub-menu,
.elementor-nav-menu .sub-menu,
.ast-builder-menu .sub-menu,
.site-header nav .sub-menu,
header nav .sub-menu {
  background-color: #0b1e3a !important;
  background: #0b1e3a !important;
  opacity: 1 !important;
}
.sub-menu li,
.sub-menu li a,
ul.sub-menu li a {
  background-color: #0b1e3a !important;
  color: #ffffff !important;
  text-shadow: none !important;
}
.sub-menu li a:hover,
.sub-menu li a:focus {
  background-color: #16365f !important;
  color: #ffffff !important;
}



/* ============================================================
   TPRG fixes appended 2026-11-17
   1) Nav dropdown stacking: keep the gold divider line from
      painting over open submenus.
   2) Footer alignment: consistent left / top alignment.
   3) Podcast episode area: soften the harsh near-black navy
      (#0B1E3A) to a softer dark navy with soft-white text.
   ============================================================ */

/* --- 1) Nav dropdown stacking --- */
.site-header,
.ast-primary-header-bar,
#site-navigation,
.main-header-menu {
  position: relative;
  z-index: 9999;
}
.main-header-menu .sub-menu,
ul.sub-menu,
.sub-menu {
  z-index: 10000 !important;
}

/* --- 2) Footer alignment --- */
.site-footer .ast-footer-widget-area,
.site-footer .ast-footer-widget-area .widget,
.site-footer .footer-widget-area,
.site-footer .footer-widget-area .widget {
  text-align: left !important;
  vertical-align: top !important;
}
.site-footer .footer-widget-area .widget,
.site-footer .ast-footer-widget-area .widget {
  margin-top: 0 !important;
  margin-bottom: 1.25rem !important;
}
.site-footer .ast-footer-socials,
.site-footer .ast-social-icons,
.site-footer .ast-footer-social-wrap {
  text-align: left !important;
  justify-content: flex-start !important;
}

/* --- 3) Podcast episode area: soften harsh near-black navy --- */
body .tprg-ep-body,
.tprg-ep-body {
  background: #2b3b57 !important;
}
body .tprg-ep-title,
.tprg-ep-title {
  color: #eef1f6 !important;
}
#tprg-ep-tabs .tprg-tab-btn.active,
#tprg-ep-tabs.tprg-tab-btn.active {
  background: #2b3b57 !important;
  color: #eef1f6 !important;
}
.tprg-tab-panels {
  border-top-color: #2b3b57 !important;
}

/* ============================================================
   TPRG fixes v2 appended 2026-11-17
   Stronger footer alignment and dropdown stacking.
   ============================================================ */

/* --- Footer alignment v2: left-align every footer element and
   stop the footer builder from centering the widget columns. --- */
#colophon,
.site-footer,
footer.site-footer,
.site-footer .ast-builder-grid-row,
.site-footer .site-primary-footer-wrap,
.site-footer .site-footer-primary-section-1,
.site-footer .footer-widget-area,
.site-footer .ast-footer-widget-area {
  text-align: left !important;
  justify-content: flex-start !important;
  justify-items: start !important;
  align-items: flex-start !important;
  align-content: flex-start !important;
}
.site-footer .footer-widget-area .widget,
.site-footer .footer-widget-area .widget *,
.site-footer .ast-footer-widget-area .widget,
.site-footer .ast-footer-widget-area .widget *,
.site-footer .widget,
.site-footer .widget * {
  text-align: left !important;
}
.site-footer .footer-widget-area .widget,
.site-footer .ast-footer-widget-area .widget,
.site-footer .widget {
  align-self: flex-start !important;
  justify-self: start !important;
  margin-left: 0 !important;
}

/* --- Dropdown stacking v2: raise the whole header far above the
   page so the gold divider cannot paint over an open submenu. --- */
header.site-header,
#masthead,
.site-header,
.ast-primary-header-bar,
.site-primary-header-wrap,
#site-navigation,
.main-header-menu {
  position: relative;
  z-index: 99999;
}
.main-header-menu > li {
  position: relative;
  z-index: 99999;
}
.main-header-menu .sub-menu,
#site-navigation .sub-menu,
ul.sub-menu,
.sub-menu {
  z-index: 999999 !important;
}


/* Footer alignment v3: make each footer widget a left-aligned
   flex column so its heading/link children line up with the
   address widget (the contact widget was centering its children). */
.site-footer .footer-widget-area .widget,
.site-footer .ast-footer-widget-area .widget {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}
.site-footer .footer-widget-area .widget > *,
.site-footer .ast-footer-widget-area .widget > * {
  align-self: flex-start !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Dropdown stacking v3: raise the primary header row above the
   below-header row and page content, so the gold divider cannot
   paint over an open submenu. */
.ast-primary-header-bar {
  position: relative !important;
  z-index: 99999 !important;
}
.ast-below-header-bar {
  position: relative !important;
  z-index: 1 !important;
}
#content,
.site-content,
main {
  position: relative;
  z-index: 1;
}


/* Footer contact alignment (2026-11-17): line the contact info up as one
   tidy left-aligned block, centred in the footer. The earlier flex
   attempt above did not take effect (the paragraphs carry inline
   centring), so target the text elements directly. Text, links and
   colours are unchanged. */
.site-footer .footer-widget-area .widget,
.site-footer .footer-widget-area .widget_block {
	display: block !important;
	max-width: 560px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: left;
}
.site-footer .footer-widget-area p,
.site-footer .footer-widget-area h6,
.site-footer .footer-widget-area blockquote,
.site-footer .footer-widget-area div {
	text-align: left !important;
}

/* Dropdown posi
/* Footer cont
/* Footer contact alignment: also target the widget wrapper and the
   builder's data-section, in case the area classes differ. */
.site-footer .widget p,
.site-footer .widget h6,
.site-footer .widget_block p,
.site-footer .widget_block h6,
[data-section="sidebar-widgets-footer-widget-1"] p,
[data-section="sidebar-widgets-footer-widget-1"] h6 {
	text-align: left !important;
}
act alignment fix (2026-11-17): force the footer contact
   lines left using the block's own classes, so the contact info lines
   up as one block. */
.site-footer .wp-block-html h6,
.site-footer .wp-block-html p {
	text-align: left !important;
}
tion: drop submenus a little lower so the gold
   header divider falls in the gap between menu items instead of
   crossing the item text. */
.main-header-menu .sub-menu,
#site-navigation .sub-menu,
ul.sub-menu,
.sub-menu {
  margin-top: 14px !important;
}

/* Dropdown position v2: set the submenu top directly so the gold
   header divider clears the item text. */
.main-header-menu .sub-menu,
#site-navigation .sub-menu,
ul.sub-menu,
.sub-menu {
  top: calc(100% + 14px) !important;
}



/* Simple footer alignment: target p/h6 directly under .site-footer, no intermediate classes */
.site-footer p, .site-footer h6 { text-align: left !important; }

/* Footer alignment final: left-align the whole contact widget area and undo any flex/margin centering */
[data-section="sidebar-widgets-footer-widget-1"], [data-section="sidebar-widgets-footer-widget-1"] * { text-align: left !important; }
[data-section="sidebar-widgets-footer-widget-1"], [data-section="sidebar-widgets-footer-widget-1"] div, [data-section="sidebar-widgets-footer-widget-1"] section { display: block !important; justify-content: flex-start !important; align-items: flex-start !important; }
[data-section="sidebar-widgets-footer-widget-1"] p, [data-section="sidebar-widgets-footer-widget-1"] h6 { display: block !important; margin-left: 0 !important; margin-right: auto !important; }

/* ==========================================================================
   FOOTER CONTACT BLOCK — LEFT ALIGNMENT
   Scopes the "FOOTER (FINAL ALIGNMENT FIX)" centering to the logo row
   (above footer) and the social row (below footer) only. The contact
   widget in the primary footer row aligns left and uses its full
   column width.
   ========================================================================== */
#colophon.site-footer .site-primary-footer-wrap,
#colophon.site-footer .site-primary-footer-wrap .ast-builder-grid-row-container-inner,
#colophon.site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns,
#colophon.site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns > div {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
}
#colophon.site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns > div,
#colophon.site-footer .site-primary-footer-wrap .footer-widget-area,
#colophon.site-footer .site-primary-footer-wrap [data-section="sidebar-widgets-footer-widget-1"] {
  width: 100% !important;
  align-self: stretch !important;
}
#colophon.site-footer .site-primary-footer-wrap .footer-widget-area div,
#colophon.site-footer .site-primary-footer-wrap [data-section="sidebar-widgets-footer-widget-1"] div {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}


/* FOOTER CONTACT BLOCK — FULL COLUMN WIDTH
   The widget's inner div carries an inline max-width:560px; margin:0 auto
   (without !important), which kept the contact block a narrow centered
   column. Target the widget area by its aria-label so the block stretches
   the full primary-footer column, left-aligned. */
#colophon.site-footer [aria-label="Footer Widget 1"],
#colophon.site-footer [aria-label="Footer Widget 1"] div {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
  align-self: stretch !important;
}
#colophon.site-footer [aria-label="Footer Widget 1"] p,
#colophon.site-footer [aria-label="Footer Widget 1"] h6 {
  text-align: left !important;
  margin-left: 0 !important;
}/* The Events Calendar: event cards - stronger selectors, TEC sets its own white */
.tribe-events-calendar-list__event,
.tribe-events-cale/* TEMP DIAGNOSTIC - remove after testing: outline the TEC event card to confirm the selector matches */
.tribe-events-calendar-list__event {
  outline: 4px solid #ff0000 !important;
}
ndar-list__event-row,
.tribe-events-calendar-list__event-wrapper,
.tribe-events-calendar-list__event-details,
.tribe-events-calendar-list__event-date-tag {
  background-color: #f5f1e8 !important;
}
/* Keep the Events search and date inputs reading as white form fields */
.tribe-events-c-search__input,
.tribe-events-c-top-bar__datepicker-input {
  background-color: #ffffff;
}


/* SOFTEN STARK WHITE BACKGROUNDS - warm cream #f5f1e8 (Nov 2026) */
/* Elementor shape dividers: the thin white strips at the tops/bottoms of navy panels */
.elementor-shape .elementor-shape-fill {
  fill: #f5f1e8;
}
/* The Events Calendar: search bar and list-view event cards */
.tribe-events-c-search,
.tribe-events-calendar-list__event,
.tribe-events-calendar-list__event-row {
  background-color: #f5f1e8;
}/* Keep the Events search and date inputs as white form fields (stronger) */
#page .tribe-events-c-search__input,
#page .tribe-events-c-top-bar__datepicker-input {
  background-color: #ffffff !important;
}


/* FOOTER CONTACT BLOCK — FULL WIDTH (v2)
   Target the widget's inner div by its own inline style, so the 560px
   cap is lifted regardless of the widget-area wrapper classes, and
   stretch the widget area itself to the full primary-footer column. *//* The Events Calendar: event cards - high-specificity override for the card and date tag */
#page .tribe-events-calendar-list__event,
#page .tribe-events-calendar-list__event-row,
#page .tribe-events-calendar-list__event-date-tag {
  background-color: #f5f1e8 !important;
}
/* Remove the temporary diagnostic outline on the event card */
.tribe-events-calendar-list__event {
  outline: none !important;
}

#colophon.site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns > div > *,/* The Events Calendar: outer events bar (search + view selector) *//* Restore the footer grid children: the events-bar rule above was pasted inside the footer selector list, so this undoes its side effect on the footer */
#colophon.site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns > div > * {
  background-color: transparent !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

#page .tribe-events-c-events-bar {
  background-color: #f5f1e8 !important;
}

#colophon.site-footer .site-primary-footer-wrap div[style*="max-width:560px"] {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}



