/* 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;
}
