/* Replace green buttons across entire site with CT100 navy blue */
.WaGadgetForum .actionButton,
.WaGadgetForum .actionButton:link,
.WaGadgetForum .actionButton:visited,
.WaGadgetForum .actionButton:active,
.WaGadgetSubmitButton,
.WaGadgetButton,
input[type="button"],
input[type="submit"] {
    background-color: #1E3A8A !important; /* CT100 Navy */
    border-color: #1E3A8A !important;
    color: #ffffff !important;
}

/* Hover state (slightly darker navy) */
.WaGadgetForum .actionButton:hover,
.WaGadgetSubmitButton:hover,
.WaGadgetButton:hover,
input[type="submit"]:hover {
    background-color: #152B69 !important;
    border-color: #152B69 !important;
}

/* Change lime text links (ex: Subscribe to forum) */
.WaGadgetForum a,
.WaGadgetForum a:visited {
    color: #1E3A8A !important;
}
.WaGadgetForum a:hover {
    color: #152B69 !important;
}
/* Replace green in Upcoming Events title */
.WaGadgetEvents .gadgetTitle,
.WaGadgetEvents .gadgetTitle * {
    color: #1E3A8A !important;
}

/* Replace green icons (calendar + RSS feed) */
.WaGadgetEvents .gadgetTitle a img,
.WaGadgetEvents .gadgetTitle a {
    filter: invert(21%) sepia(43%) saturate(1783%) hue-rotate(204deg) brightness(89%) contrast(89%) !important; /* turns icons navy */
}

/* Replace green "Switch to Calendar View" link */
.WaGadgetEvents a,
.WaGadgetEvents a:visited {
    color: #DC2626 !important; /* red */
}
.WaGadgetEvents a:hover {
    color: #1E3A8A !important; /* navy hover */
}

/* Replace green text anywhere inside the widget */
.WaGadgetEvents {
    --color1: #1E3A8A !important;
    --color2: #DC2626 !important;
}

/* If there are button-styled links */
.WaGadgetEvents .actionButton,
.WaGadgetEvents .actionButton:link,
.WaGadgetEvents .actionButton:visited {
    background-color: #1E3A8A !important;
    border-color: #1E3A8A !important;
    color: #ffffff !important;
}
.WaGadgetEvents .actionButton:hover {
    background-color: #152B69 !important;
    border-color: #152B69 !important;
}
/* Change the "Upcoming Events" heading color */
.WaGadgetEvents .gadgetTitle {
    color: #1E3A8A !important;
}
/* Force navy on Upcoming Events text */
.WaGadgetEvents .gadgetTitle,
.WaGadgetEvents .gadgetTitle * {
    color: #1E3A8A !important;
}
/* Try these selectors — covers common Wild Apricot / Homestead variations */

/* specific Events gadget */
.WaGadgetEvents .gadgetTitle,
.WaGadgetEvents .gadgetHeader,
.WaGadgetEvents .gadgetHeader h2,
.WaGadgetEvents .gadgetHeader h3,
.WaGadgetEvents .gadgetHeader .gadgetTitle {
  color: #1E3A8A !important;
}

/* generic gadget title selectors (catch-alls) */
.WaGadget .gadgetTitle,
.wa-gadget .gadgetTitle,
.gadgetTitle,
.gadgetHeader h2,
.gadgetHeader h3,
.wa-gadget-title,
.wa-gadget .gadgetHeader {
  color: #1E3A8A !important;
}

/* if the title is an <h1>/<h2>/<h3> inside a gadget */
.WaGadgetEvents h1,
.WaGadgetEvents h2,
.WaGadgetEvents h3,
.WaGadget h1,
.WaGadget h2,
.WaGadget h3 {
  color: #1E3A8A !important;
}
