/* AHJA brand restyle (navy #0F103D, red #A11717, Montserrat) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

body, body input, body select, body textarea,
.WaGadget, .WaGadget p, .WaGadget td, .WaGadget label {
  font-family: 'Montserrat', Arial, sans-serif !important;
}
h1, h2, h3, h4, h5,
.pageTitle, .formTitle, .sectionTitle, .boxHeaderTitle, .labelTitle,
.WaGadget h1, .WaGadget h2, .WaGadget h3, .WaGadget h4 {
  font-family: 'Montserrat', Arial, sans-serif !important;
  color: #0F103D !important;
}
.WaGadget a, .WaGadget a:visited { color: #A11717; }
.WaGadget a:hover { color: #0F103D; }

/* Buttons */
.nextButton, .typeButton, .registerButton, .stylizedButton, a.stylizedButton,
.WaGadget input[type="submit"], .WaGadget input[type="button"] {
  background: #A11717 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  padding: 10px 26px !important;
  cursor: pointer;
}
.nextButton:hover, .typeButton:hover, .registerButton:hover, .stylizedButton:hover,
.WaGadget input[type="submit"]:hover, .WaGadget input[type="button"]:hover {
  background: #0F103D !important;
  color: #fff !important;
}

/* Form fields */
.WaGadget input[type="text"], .WaGadget input[type="email"], .WaGadget input[type="password"],
.WaGadget select, .WaGadget textarea {
  border: 1px solid #c9c4bd !important;
  border-radius: 6px !important;
}
.WaGadget input:focus, .WaGadget select:focus, .WaGadget textarea:focus {
  border-color: #0F103D !important; outline: none;
}
.mandatorySymbol { color: #A11717 !important; }
.levelPrice { color: #A11717 !important; font-weight: 700; }

/* Embedded widgets on ahja.org (WordPress): hide WA-only chrome */
body.widgetMode { background: #fff !important; }
body.widgetMode .WaGadgetSlideshow { display: none !important; }
body.widgetMode .pageTitle.SystemPageTitle { display: none !important; }

/* ===== Header: navy bar to match ahja.org ===== */
.zoneHeader1:not(:has(.WaGadgetMenuHorizontal)) { display: none !important; }
.zoneHeader1 .WaGadgetSocialProfile, .zoneHeader1 .WaGadgetSiteSearch { display: none !important; }
[class*="WaLayoutContainer"]:has(.WaGadgetMenuHorizontal),
.zoneHeader1:has(.WaGadgetMenuHorizontal) .WaPlaceHolderHeader {
  background: #0F103D !important;
}
.WaGadgetAccountLogo img { content: url("/resources/Pictures/Arizona%20Hunter%20Jumper%20Association_FullColor.jpg"); width: 80px !important; height: 80px !important; border-radius: 50%; }
.WaGadgetMenuHorizontal .menuBackground { background: transparent !important; }
.WaGadgetMenuHorizontal .firstLevel > li > .item > a,
.WaGadgetMenuHorizontal .firstLevel > li > .item > a span,
.WaGadgetMenuHorizontal .menuInner > .firstLevel > li > .item > a:visited {
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: transparent !important;
}
.WaGadgetMenuHorizontal .firstLevel > li:hover > .item > a span,
.WaGadgetMenuHorizontal .firstLevel > li.sel > .item > a span { color: #E6C2B4 !important; }
.WaGadgetMenuHorizontal .secondLevel, .WaGadgetMenuHorizontal .secondLevel li { background: #fff !important; }
.WaGadgetMenuHorizontal .secondLevel a, .WaGadgetMenuHorizontal .secondLevel a span {
  color: #0F103D !important; font-family: 'Montserrat', Arial, sans-serif !important; text-transform: none; background: transparent !important;
}
.WaGadgetMenuHorizontal .secondLevel li:hover a span { color: #A11717 !important; }
.WaGadgetMenuHorizontal .menuButton, .WaGadgetMenuHorizontal .menuButton span { color: #fff !important; }
[class*="WaLayoutContainer"]:has(.WaGadgetMenuHorizontal) .WaGadgetLoginForm a,
[class*="WaLayoutContainer"]:has(.WaGadgetMenuHorizontal) .WaGadgetLoginForm *,
.zoneHeader1 .WaGadgetLoginForm a, .zoneHeader1 .WaGadgetLoginForm *,
.zoneHeader1 .WaGadgetOnlineStoreMiniCart a { color: #fff !important; }

/* ===== Footer: navy, matches ahja.org ===== */
.zoneFooter2 .WaPlaceHolder, .zoneFooter2, .WaPlaceHolderFooter1 { background: #0F103D !important; }
.zoneFooter2 .ahja-wa-foot h4 {
  color: #fff !important; font-size: 13px !important; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px !important;
}
.zoneFooter2 .ahja-wa-foot ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.zoneFooter2 .ahja-wa-foot li { margin: 0 0 6px !important; padding: 0 !important; list-style: none !important; }
.zoneFooter2 .ahja-wa-foot li:before { display: none !important; }
.zoneFooter2 .ahja-wa-foot p, .zoneFooter2 .ahja-wa-foot strong { color: #dcdde6 !important; font-size: 14px !important; line-height: 1.6; margin: 0 0 10px !important; }
.zoneFooter2 .ahja-wa-foot a, .zoneFooter2 .ahja-wa-foot a:visited { color: #dcdde6 !important; text-decoration: none !important; font-size: 14px !important; }
.zoneFooter2 .ahja-wa-foot a:hover { color: #fff !important; text-decoration: underline !important; }
.zoneFooter2 .WaGadgetContent.WaGadgetFirst:not(:has(.ahja-wa-foot)):not(:has(.ahja-wa-copy)) { display: none !important; }
.zoneFooter2 .ahja-wa-copy { color: #a9abbd !important; font-size: 13px !important; text-align: center; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; margin: 10px 0 0 !important; }
.WaGadgetSocialProfile li:has(a[href*="x.com"]), .WaGadgetSocialProfile a[href*="x.com"], .WaGadgetSocialProfile a[href*="twitter.com"] { display: none !important; }
.zoneFooter2 .WaGadgetSocialProfile a { color: #fff !important; }

/* Event info box: warm neutral instead of pale blue */
.boxBodyInfoOuterContainer, .boxBodyInfoContainer, .boxInfo, .boxInfoContainer { background: #F6F1EC !important; }

/* Header fixes */
.WaGadgetMenuHorizontal .menuInner, .WaGadgetMenuHorizontal .firstLevel, .WaGadgetMenuHorizontal .firstLevel > li, .WaGadgetMenuHorizontal .firstLevel > li > .item { background: transparent !important; }
[class*="WaLayoutContainer"]:has(.WaGadgetMenuHorizontal) .WaGadgetContent img { width: 84px !important; height: 84px !important; object-fit: cover; border-radius: 50%; margin: 6px 0; }
[class*="WaLayoutContainer"]:has(.WaGadgetMenuHorizontal) .WaLayoutTable { min-height: 96px; }
[class*="WaLayoutContainer"]:has(.WaGadgetMenuHorizontal) .WaLayoutItem { vertical-align: middle !important; }
.WaGadgetLoginForm a.loginLink { background: transparent !important; border: 1px solid #fff !important; border-radius: 999px !important; color: #fff !important; }
.WaGadgetLoginForm a.loginLink:hover { background: #fff !important; color: #0F103D !important; }
.zoneFooter2 .WaGadgetContent:has(.ahja-wa-copy) { height: auto !important; overflow: visible !important; margin-top: 0 !important; }

/* System pages (login, profile, checkout) buttons */
.zoneContent input[type="submit"], .zoneContent input[type="button"], input.loginButton {
  background: #A11717 !important; background-image: none !important; border: 0 !important; border-radius: 999px !important;
  color: #fff !important; text-shadow: none !important; box-shadow: none !important; font-weight: 600 !important; padding: 10px 26px !important; height: auto !important; cursor: pointer;
}
.zoneContent input[type="submit"]:hover, .zoneContent input[type="button"]:hover, input.loginButton:hover { background: #0F103D !important; }
