@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Hide event date/time fields */
#FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl00_stepTemplate_eventInfo_InfoEndDateStartDateTimePanel,
#FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl00_stepTemplate_eventInfo_InfoEndDateEndDateTimePanel {
  display: none !important;
}

.boxInfoContainer li.eventInfoStartDate,
.boxInfoContainer li.eventInfoStartTime,
.boxInfoContainer li.eventInfoEndDate,
.boxInfoContainer li.eventInfoEndTime {
  display: none !important;
}


/* =========================================================
   MAUGUS CLEAN WHITE THEME
   ========================================================= */
/* Hide Wild Apricot footer branding */
.WaGadgetPoweredByWA,
#idFooterPoweredByWA,
.footerPoweredByWA {
  display: none !important;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --text: #1f2933;
  --muted: #5b6573;
  --border: rgba(0,0,0,0.12);
  --blue: #304c87;
  --blue-hover: #223a6b;
  --blue-soft: #eef3fb;
}

/* ---------- Global base ---------- */

html,
body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: "Inter", "Aptos", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.75;
}

/* Apply Inter to normal text elements only.
   Do NOT target all spans/divs inside every gadget, because icons use special fonts. */
p,
li,
td,
th,
label,
input,
textarea,
select,
button,
h1, h2, h3, h4, h5, h6,
.WaGadgetContent,
.WaGadgetContent p,
.WaGadgetContent li,
.WaGadgetContent td,
.WaGadgetContent th,
.WaGadgetContent label,
.WaGadgetMenuHorizontal a,
.WaGadgetMenuHorizontal span,
.WaGadgetEvents,
.WaGadgetEvents p,
.WaGadgetEvents div,
.WaGadgetEvents span,
.WaGadgetMemberDirectory,
.WaGadgetMemberDirectory td,
.WaGadgetMemberDirectory th,
.WaGadgetMemberDirectory a {
  font-family: "Inter", "Aptos", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Main content areas */
.zoneContent,
.zoneContentOuter,
.zoneInner,
.contentGadget,
.gadgetStyleBody,
.WaGadget,
.WaGadgetBody,
.zoneFooter,
.zoneFooterOuter,
.zoneHeader,
.zoneHeaderOuter,
.headerContentHolder,
.headerContentHolderInner,
.zoneHeader1,
.zoneHeader2,
.zoneHeader3 {
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5, h6,
.WaGadget h1,
.WaGadget h2,
.WaGadget h3,
.WaGadget h4 {
  color: #111827 !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
}

p {
  margin-top: 0;
  margin-bottom: 1.05em;
  line-height: 1.75 !important;
}

p,
div,
span,
li,
td,
th,
label {
  color: var(--text) !important;
}

li {
  margin-bottom: 0.35em;
}

/* ---------- Links ---------- */

a,
.WaGadget a {
  color: var(--blue) !important;
  text-decoration: none !important;
  font-weight: 600;
}

a:hover,
.WaGadget a:hover {
  color: var(--blue-hover) !important;
  text-decoration: underline !important;
}

a:focus {
  outline: none !important;
  background-color: var(--blue-soft) !important;
  border-radius: 3px;
}

/* ---------- Social icons fix ---------- */

.WaGadgetSocialProfile a,
.WaGadgetSocialProfile a:hover,
.WaGadgetSocialProfile a:focus {
  background: transparent !important;
  color: var(--blue) !important;
  text-decoration: none !important;
}

.WaGadgetSocialProfile img,
.WaGadgetSocialProfile svg {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* If the social gadget uses icon-font pseudo-elements, do not force Inter on them */
.WaGadgetSocialProfile a::before,
.WaGadgetSocialProfile a::after,
.WaGadgetSocialProfile span::before,
.WaGadgetSocialProfile span::after,
[class*="social"]::before,
[class*="social"]::after,
[class*="Social"]::before,
[class*="Social"]::after,
[class*="icon"]::before,
[class*="icon"]::after,
[class*="Icon"]::before,
[class*="Icon"]::after,
.fa,
.fab,
.far,
.fas {
  font-family: FontAwesome, "Font Awesome 5 Free", "Font Awesome 5 Brands", "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  color: var(--blue) !important;
}

/* ---------- Navigation ---------- */

.WaGadgetMenuHorizontal,
.WaGadgetMenuHorizontal .menuInner,
.WaGadgetMenuHorizontal .menuInner ul,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a > span {
  background: var(--bg) !important;
  border: none !important;
  box-shadow: none !important;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a {
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  padding: 12px 14px !important;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li:hover > .item,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li:hover > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:hover {
  background: var(--blue-soft) !important;
  color: var(--blue) !important;
  text-decoration: none !important;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.selected > .item > a {
  color: var(--blue) !important;
}

/* Dropdown submenu */
.WaGadgetMenuHorizontal .menuInner ul ul {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  border-radius: 6px;
  padding: 6px 0;
}

.WaGadgetMenuHorizontal .menuInner ul ul,
.WaGadgetMenuHorizontal .menuInner ul ul li,
.WaGadgetMenuHorizontal .menuInner ul ul li a,
.WaGadgetMenuHorizontal .menuInner ul ul li span {
  background: var(--surface) !important;
}

.WaGadgetMenuHorizontal .menuInner ul ul li a {
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 10px 16px !important;
  display: block;
  text-decoration: none !important;
}

.WaGadgetMenuHorizontal .menuInner ul ul li a:hover {
  background: var(--blue-soft) !important;
  color: var(--blue) !important;
}

/* ---------- Event gadget ---------- */

.WaGadgetEvents,
.WaGadgetEventsStateList,
.WaGadgetEventsStateCalendar,
.WaGadgetEvents .gadgetStyleBody,
.WaGadgetEvents .boxBodyInfoOuterContainer,
.WaGadgetEvents .boxBodyInfoContainer,
.WaGadgetEvents .boxBodyContentContainer {
  background: transparent !important;
  color: var(--text) !important;
  border: none !important;
  box-shadow: none !important;
}

.WaGadgetEvents h1,
.WaGadgetEvents h2,
.WaGadgetEvents .gadgetStyleTitle {
  color: #111827 !important;
  font-size: 28px !important;
  font-weight: 750 !important;
  margin-bottom: 22px !important;
}

.WaGadgetEvents .boxBodyInfoOuterContainer {
  margin-bottom: 34px !important;
  padding: 0 0 24px 0 !important;
  border-bottom: 1px solid var(--border) !important;
}

.WaGadgetEvents .eventTitle,
.WaGadgetEvents h3,
.WaGadgetEvents h4,
.WaGadgetEvents .title {
  color: var(--blue) !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.WaGadgetEvents .eventInfoLabel,
.WaGadgetEvents .boxLabel,
.WaGadgetEvents label {
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.WaGadgetEvents .eventInfo,
.WaGadgetEvents .boxValue,
.WaGadgetEvents .location,
.WaGadgetEvents .date,
.WaGadgetEvents .time {
  color: var(--text) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.WaGadgetEvents .eventDetails,
.WaGadgetEvents .description,
.WaGadgetEvents .boxBodyContentContainer,
.WaGadgetEvents p,
.WaGadgetEvents div,
.WaGadgetEvents span {
  color: var(--text) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
}

/* ---------- Buttons ---------- */

input[type="submit"],
button,
.button,
.WaGadget .button,
.WaGadgetEvents input[type="submit"],
.WaGadgetEvents .button,
.WaGadgetEvents a.button {
  background: var(--blue) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 5px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

input[type="submit"]:hover,
button:hover,
.button:hover,
.WaGadget .button:hover,
.WaGadgetEvents input[type="submit"]:hover,
.WaGadgetEvents .button:hover,
.WaGadgetEvents a.button:hover {
  background: var(--blue-hover) !important;
  color: #ffffff !important;
}

/* ---------- Forms ---------- */

input,
textarea,
select {
  color: var(--text) !important;
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  font-size: 15px !important;
  font-family: "Inter", "Aptos", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* ---------- Remove dark gadget panels ---------- */

.gadgetStyle001,
.gadgetStyle002,
.gadgetStyle003,
.gadgetStyle004,
.gadgetStyle005 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ---------- Login dropdown ---------- */

#id_baWCiCA,
#id_baWCiCA *,
#id_baWCiCA a,
#id_baWCiCA a:hover,
#id_baWCiCA a:focus,
#id_baWCiCA a:active {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

#id_baWCiCA:hover,
#id_baWCiCA a:hover {
  background: var(--blue-soft) !important;
  border-radius: 4px;
}

#id_baWCiCA_loginContainer {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10) !important;
  border-radius: 6px;
  padding: 10px 14px !important;
  min-width: 180px !important;
}

#id_baWCiCA_loginContainer * {
  background: transparent !important;
}

#id_baWCiCA_loginContainer .loggedName {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--blue) !important;
  margin-bottom: 8px !important;
}

#id_baWCiCA_loginContainer .profileBox {
  margin: 4px 0 !important;
}

#id_baWCiCA_loginContainer a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  text-decoration: none !important;
}

#id_baWCiCA_loginContainer a:hover {
  color: var(--blue) !important;
}

#id_baWCiCA_loginContainer .loginBoxLogout {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 4px 0 0 0 !important;
  color: var(--text) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-family: "Inter", "Aptos", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  text-align: left !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

#id_baWCiCA_loginContainer .loginBoxLogout:hover {
  color: var(--blue) !important;
}

/* ---------- Member directory ---------- */

.WaGadgetMemberDirectory {
  background: transparent !important;
  color: var(--text) !important;
  padding: 10px 0;
}

.WaGadgetMemberDirectory .membersTable {
  background: #ffffff !important;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.WaGadgetMemberDirectory th {
  background: var(--surface-soft) !important;
  color: #333 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  padding: 12px !important;
  text-align: left;
}

.WaGadgetMemberDirectory td {
  padding: 12px !important;
  font-size: 13px !important;
  color: var(--text) !important;
  border-top: 1px solid rgba(0,0,0,0.06);
  vertical-align: middle;
}

.WaGadgetMemberDirectory tr:hover td {
  background: #fafbfc !important;
}

.WaGadgetMemberDirectory a {
  color: var(--blue) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.WaGadgetMemberDirectory a:hover {
  color: var(--blue-hover) !important;
  text-decoration: underline !important;
}

.WaGadgetMemberDirectory img {
  border-radius: 6px;
  max-width: 60px;
  height: auto;
}

.WaGadgetMemberDirectory input[type="text"],
.WaGadgetMemberDirectory select {
  border: 1px solid var(--border) !important;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 13px;
}

.WaGadgetMemberDirectory table {
  background-color: #ffffff !important;
}

/* ---------- Mobile navigation ---------- */

@media screen and (max-width: 900px) {
  .mobilePanel,
  .mobilePanel *,
  .mobileMenu,
  .mobileMenu *,
  .mobileMenuContainer,
  .mobileMenuContainer *,
  .WaGadgetMobilePanel,
  .WaGadgetMobilePanel *,
  .WaGadgetMobileMenu,
  .WaGadgetMobileMenu *,
  .zoneHeader,
  .zoneHeader *,
  .zoneHeaderOuter,
  .zoneHeaderOuter *,
  .header,
  .header *,
  .headerContentHolder,
  .headerContentHolder *,
  .WaGadgetMenuHorizontal,
  .WaGadgetMenuHorizontal *,
  .WaGadgetMenuVertical,
  .WaGadgetMenuVertical * {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: var(--border) !important;
  }

  .mobilePanel ul ul,
  .mobileMenu ul ul,
  .WaGadgetMenuHorizontal ul ul,
  .WaGadgetMenuVertical ul ul {
    background: var(--blue-soft) !important;
  }

  .mobilePanel a,
  .mobileMenu a,
  .WaGadgetMenuHorizontal a,
  .WaGadgetMenuVertical a,
  .mobilePanel span,
  .mobileMenu span {
    color: #111111 !important;
    font-size: 18px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
  }

  .mobilePanel ul ul a,
  .mobileMenu ul ul a,
  .WaGadgetMenuHorizontal ul ul a,
  .WaGadgetMenuVertical ul ul a {
    color: #111111 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding-left: 34px !important;
  }

  .mobilePanel a:hover,
  .mobileMenu a:hover,
  .WaGadgetMenuHorizontal a:hover,
  .WaGadgetMenuVertical a:hover {
    background: var(--blue-soft) !important;
    color: var(--blue) !important;
  }

  .WaGadgetLoginButton .loginPanel {
    font-size: 13px !important;
    padding: 12px 16px !important;
  }

  .WaGadgetLoginButton .loginPanel .loggedName {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--blue) !important;
    margin-bottom: 8px !important;
  }

  .WaGadgetLoginButton .loginPanel a,
  .WaGadgetLoginButton .loginPanel .loginBoxLogout {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    text-decoration: none !important;
  }
}
/* =========================================================
   SOCIAL ICONS — FONT-INDEPENDENT FIX
   ========================================================= */

.WaGadgetSocialProfile a.Facebook,
.WaGadgetSocialProfile a.Instagram {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  margin-right: 8px !important;
  background: #304c87 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.WaGadgetSocialProfile a.Facebook::before {
  content: "f" !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.WaGadgetSocialProfile a.Instagram::before {
  content: "◎" !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 17px !important;
}

.WaGadgetSocialProfile a.Facebook:hover,
.WaGadgetSocialProfile a.Instagram:hover {
  background: #223a6b !important;
}

/* =========================================================
   WIDER PAGE BODY ONLY — DO NOT AFFECT HEADER/NAV
   ========================================================= */

/* Only widen the main content zone, not header/nav/footer */
.zoneContentOuter,
.zoneContent {
  max-width: 1280px !important;
  width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep header/nav stable */
.zoneHeader,
.zoneHeaderOuter,
.headerContentHolder,
.headerContentHolderInner,
.WaGadgetMenuHorizontal {
  width: auto !important;
  max-width: none !important;
}

/* Better reading width for normal content gadgets */
.zoneContent .WaGadgetContent,
.zoneContent .gadgetStyleBody {
  max-width: none !important;
}

/* Mobile */
@media screen and (max-width: 768px) {
  .zoneContentOuter,
  .zoneContent {
    width: 94% !important;
    max-width: none !important;
  }
}