/* Theme-specific markup additions; source design stays backed up in html/base.css. */
:root { --font-body: "Poppins", Arial, sans-serif; --font-heading: "Poppins", Arial, sans-serif; }
:root { --brand-blue: #008f83; --brand-maroon: #174c3c; }
body, body :not(i[class*="fa-"]) { font-family: "Poppins", Arial, sans-serif}
.topbar { background: var(--brand-blue); color: #fff; border-bottom-color: rgba(223, 169, 0, .55); }
.topbar-note, .topbar-links a { color: #fff; }
.topbar-note i, .topbar-links i { color: #fff; }
.topbar-links a:hover { color: #ffe28a; }
.site-header { background: #fff; color: var(--brand-maroon); border-bottom: 1px solid rgba(23, 76, 60, .16); box-shadow: 0 3px 14px rgba(23, 76, 60, .08); }
.ngc-primary-menu > li > a, .ngc-primary-menu a { color: var(--brand-maroon); }
.ngc-primary-menu a:hover, .ngc-primary-menu .current-menu-item > a, .ngc-primary-menu .current_page_item > a { color: var(--brand-blue); }
.ngc-primary-menu a::after { background: var(--brand-blue); }
.ngc-primary-menu .sub-menu { background: #fff; border: 1px solid rgba(23, 76, 60, .14); }
.menu-toggle { border-color: rgba(23, 76, 60, .28); }
.menu-toggle span { background: var(--brand-maroon); }
.site-header .nav-cta { color: #173f34; background: #dfa900; border-color: #dfa900; }
.site-header .nav-cta:hover { color: #173f34; background: #f0c33d; border-color: #f0c33d; }
.site-header .brand-mark, .site-header .brand-subtitle { color: var(--brand-blue); }
.main-navigation { background: #fff; }
.main-navigation .ngc-primary-menu a { color: var(--brand-maroon); }
.main-navigation .ngc-primary-menu a:hover, .main-navigation .ngc-primary-menu .current-menu-item > a { color: var(--brand-blue); }
.main-navigation .ngc-primary-menu a { border-color: rgba(23, 76, 60, .15); }
.site-footer { background: #123b30; color: #fff; }
.footer-brand-col > p, .footer-bottom p { color: rgba(255, 255, 255, .78); }
.footer-menu-heading, .brand-footer .brand-name { color: #fff; }
.ngc-footer-menu a { color: rgba(255, 255, 255, .86); }
.ngc-footer-menu a:hover, .ngc-footer-menu .current-menu-item > a { color: #fff; }
.footer-menu-heading > i, .footer-menu-icon, .footer-contact i { color: #e3b521; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .22); }
.footer-credit a { color: #f1cf58; text-decoration-color: #dfa900; }
.footer-credit a:hover { color: #fff; }
.ngc-social-links a { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.ngc-social-links a:hover { color: var(--brand-maroon); background: #fff; border-color: #fff; }
.footer-grid > * + *::before { background: linear-gradient(transparent, rgba(223,169,0,.45) 16%, rgba(255,255,255,.14) 50%, rgba(223,169,0,.45) 84%, transparent); }
.ngc-scroll-top { color: #173f34; background: #dfa900; border-color: #f0c33d; }
.ngc-scroll-top:hover { background: #f0c33d; }
.hero-image { background-image: var(--ngc-hero-image, url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=88")); }
.ngc-primary-menu { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 31px); margin: 0; padding: 0; list-style: none; }
.ngc-primary-menu li { position: relative; }
.ngc-primary-menu > li > a { position: relative; display: block; color: #e2e8ed; font-weight: 600; transition: color .25s ease; }
.ngc-primary-menu a { position: relative; display: block; color: #e2e8ed; font-weight: 600; transition: color .25s ease; }
.ngc-primary-menu a:hover, .ngc-primary-menu .current-menu-item > a, .ngc-primary-menu .current_page_item > a { color: var(--brand-maroon); }
.ngc-primary-menu a::after { content: ""; position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.ngc-primary-menu a:hover::after, .ngc-primary-menu .current-menu-item > a::after, .ngc-primary-menu .current_page_item > a::after { transform: scaleX(1); }
.ngc-primary-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 210px; margin: 10px 0 0; padding: 10px; list-style: none; background: var(--navy-deep); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.ngc-primary-menu .sub-menu a { padding: 8px 10px; }
.ngc-footer-menu { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.ngc-footer-menu a { display: flex; align-items: center; gap: 11px; color: #d7e0e7; transition: color .2s ease, transform .2s ease; }
.ngc-footer-menu a:hover, .ngc-footer-menu .current-menu-item > a {
    color: #d97c9b;
}
.ngc-footer-menu a:hover { transform: translateX(3px); }
.footer-menu-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 21px; color: var(--white); font-family: var(--font-heading); font-size: 22px; font-weight: 700; }
.footer-menu-heading > i, .footer-menu-icon { color: var(--gold); }
.footer-menu-heading > i { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(232, 189, 98, .45); border-radius: 3px; font-size: 17px; }
.footer-menu-icon { width: 14px; flex: 0 0 14px; font-size: 17px; }
.footer-contact-cta { margin-top: 8px; }
.footer-contact a.footer-contact-cta { align-items: center; justify-content: center; gap: 12px; }
.footer-contact .footer-contact-cta > i { width: auto; margin-top: 0; color: var(--navy-deep); }
.footer-contact .footer-contact-cta:hover, .footer-contact .footer-contact-cta:focus-visible { color: var(--navy-deep); background: var(--gold-light); border-color: var(--gold-light); }
.footer-brand-col .brand-footer .brand-image { display: block; width: 200px; height: auto !important; }
.footer-brand-col .brand-image img { width: 100%; max-width: 200px; max-height: none; height: auto; }
.footer-social { margin-top: 22px; }
.ngc-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ngc-social-links a { display: grid; width: 42px; height: 42px; place-items: center; color: #d7e0e7; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.ngc-social-links a:hover { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.ngc-social-links i { font-size: 18px; }
.footer-credit { margin: 0; }
.footer-credit a { color: var(--gold-light); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; transition: color .2s ease; }
.footer-credit a:hover { color: var(--white); }
.footer-credit a:focus-visible { color: var(--white); outline: 2px solid var(--gold); outline-offset: 4px; }
.ngc-scroll-top { position: fixed; right: 26px; bottom: 26px; z-index: 45; display: grid; width: 54px; height: 54px; place-items: center; color: var(--navy-deep); background: var(--gold); border: 1px solid var(--gold-light); border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, .24); font: inherit; font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease; }
.ngc-scroll-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.ngc-scroll-top:hover { background: var(--gold-light); }
.ngc-scroll-top:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
@media (max-width: 520px) { .ngc-scroll-top { right: 17px; bottom: 17px; width: 50px; height: 50px; } }
.ngc-primary-menu .sub-menu a::after { display: none; }
.brand-image { width: 300px; height: auto !important; display: grid; place-items: center; flex: 0 0 auto; }
.brand-image img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-footer .brand-image { width: 56px; height: 56px; }
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 35px; }
.footer-grid > * { position: relative; }
.footer-grid > * + *::before { position: absolute; top: 0; bottom: 0; left: -18px; width: 1px; background: linear-gradient(transparent, rgba(232,189,98,.48) 16%, rgba(255,255,255,.14) 50%, rgba(232,189,98,.48) 84%, transparent); content: ""; }
.page-hero { padding: clamp(58px, 8vw, 96px) 0; color: var(--white); background-color: var(--navy-soft); background-image: linear-gradient(color-mix(in srgb, var(--navy-soft) 84%, transparent), color-mix(in srgb, var(--navy-soft) 84%, transparent)), var(--page-hero-image, none); background-position: center; background-size: cover; }
.page-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.page-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; margin: 0; padding: 9px 14px; list-style: none; color: #c4ced7; font-size: 17px; background: rgba(4, 19, 33, .24); border: 1px solid rgba(255, 255, 255, .15); border-radius: 3px; }
.page-breadcrumb li { display: inline-flex; align-items: center; gap: 9px; }
.page-breadcrumb li + li::before { content: "›"; color: var(--gold); font-size: 21px; line-height: 1; }
.page-breadcrumb a { transition: color .2s ease; }
.page-breadcrumb a:hover { color: var(--gold-light); }
.page-breadcrumb [aria-current="page"] { color: var(--gold-light); }
.page-hero h1 { position: relative; margin: 0; padding-top: 17px; color: var(--white); font-family: var(--font-heading); font-size: clamp(38px, 5.5vw, 64px); font-weight: 800; line-height: 1.12; letter-spacing: -1.8px; }
.page-hero h1::before { position: absolute; top: 0; left: 50%; width: 48px; height: 3px; background: var(--gold); content: ""; transform: translateX(-50%); }
.page-content-inner { max-width: 960px; padding-block: clamp(48px, 7vw, 84px); }
.page-content-inner > :first-child { margin-top: 0; }
.page-content-inner > :last-child { margin-bottom: 0; }
@media (max-width: 1050px) { .ngc-primary-menu { gap: 17px; } }
@media (max-width: 800px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > * + *::before { top: -18px; right: 0; bottom: auto; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,189,98,.48), transparent); }
	.ngc-primary-menu { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
	.ngc-primary-menu a { padding: 15px 4px; border-bottom: 1px solid var(--border); }
	.ngc-primary-menu a::after { display: none; }
	.ngc-primary-menu .sub-menu { position: static; margin: 0; padding: 0 0 0 16px; box-shadow: none; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Footer branding follows the logo's deep green, teal, and gold palette. */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(118deg, #174c3c 0%, #123b30 58%, #0e332b 100%); color: #fff; }
.site-footer::before { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 90% 0%, rgba(0, 143, 131, .22), transparent 42%); content: ""; }
.footer-menu-heading > i, .footer-menu-icon, .footer-contact i { color: #e3b521; }
.footer-menu-heading > i { border-color: rgba(223, 169, 0, .45); background: rgba(0, 143, 131, .12); }
.ngc-footer-menu a:hover, .ngc-footer-menu .current-menu-item > a, .footer-contact a:hover { color: #f1cf58; }
.footer-contact .footer-contact-cta, .footer-contact .footer-contact-cta:hover, .footer-contact .footer-contact-cta:focus-visible { color: #173f34; background: #dfa900; border-color: #dfa900; }
.footer-contact .footer-contact-cta > i { color: #173f34; }
.footer-credit a { color: #f1cf58; text-decoration-color: #dfa900; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: #fff; }
.footer-grid > * + *::before { background: linear-gradient(transparent, rgba(0, 143, 131, .5) 18%, rgba(255, 255, 255, .16) 50%, rgba(223, 169, 0, .42) 84%, transparent); }
.ngc-social-links a:hover { color: #fff; background: #008f83; border-color: #55c4b7; }
.ngc-scroll-top { color: #173f34; background: #dfa900; border-color: #f0c33d; }
.ngc-scroll-top:hover { background: #f0c33d; }

/* Keep the logo palette consistent across desktop and mobile navigation. */
.topbar-links a:hover { color: #ffe28a; }
.ngc-primary-menu a:hover, .ngc-primary-menu .current-menu-item > a,
.ngc-primary-menu .current_page_item > a,
.main-navigation .ngc-primary-menu a:hover,
.main-navigation .ngc-primary-menu .current-menu-item > a { color: #008f83; }
.ngc-primary-menu a::after { background: #dfa900; }
.main-navigation { background: #fff; }
.main-navigation .ngc-primary-menu a { color: #174c3c; }
.main-navigation .ngc-primary-menu a:hover,
.main-navigation .ngc-primary-menu .current-menu-item > a { color: #008f83; }
.main-navigation .ngc-primary-menu a { border-color: rgba(23, 76, 60, .15); }
.ngc-primary-menu .sub-menu { background: #fff; border-color: rgba(23, 76, 60, .14); }
.ngc-primary-menu .sub-menu a { color: #174c3c; }
.ngc-primary-menu .sub-menu a:hover { color: #008f83; }
.menu-toggle { border-color: rgba(23, 76, 60, .28); }
.menu-toggle span { background: #174c3c; }
.site-header .nav-cta { color: #173f34; background: #dfa900; border-color: #dfa900; }
.site-header .nav-cta:hover { color: #173f34; background: #f0c33d; border-color: #f0c33d; }
@media (max-width: 800px) {
  .main-navigation { background: #fff; }
  .main-navigation .ngc-primary-menu a { color: #174c3c; border-color: rgba(23, 76, 60, .15); }
  .main-navigation .ngc-primary-menu a:hover,
  .main-navigation .ngc-primary-menu .current-menu-item > a { color: #008f83; }
}

/* Page title hero in the A Grace of Love brand palette. */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(70px, 9vw, 112px) 0;
  color: #fff;
  background-color: #123b30;
  background-image:
    radial-gradient(ellipse at 12% 100%, rgba(0, 143, 131, .34), transparent 42%),
    radial-gradient(ellipse at 88% 0%, rgba(223, 169, 0, .14), transparent 35%),
    linear-gradient(118deg, #174c3c 0%, #123b30 58%, #0e332b 100%);
  border-bottom: 3px solid #dfa900;
}
.page-hero::after {
  position: absolute;
  top: -110px;
  right: max(5%, calc((100% - 1200px) / 2));
  z-index: -1;
  width: clamp(210px, 28vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255,255,255,.025), 0 0 0 54px rgba(255,255,255,.02);
  content: "";
}
.page-hero-inner { position: relative; z-index: 1; gap: 25px; }
.page-hero h1 { max-width: 900px; color: #fff; text-wrap: balance; }
.page-hero h1::before { width: 62px; height: 4px; border-radius: 4px; background: #dfa900; }
.page-breadcrumb ol {
  color: rgba(255,255,255,.76);
  background: rgba(7, 35, 29, .38);
  border-color: rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 19px;
}
.page-breadcrumb li + li::before { color: #e3b521; }
.page-breadcrumb a { color: #fff; }
.page-breadcrumb a:hover { color: #f1cf58; }
.page-breadcrumb [aria-current="page"] { color: #f1cf58; }
@media (max-width: 520px) {
  .page-hero { padding-block: 62px; }
  .page-breadcrumb ol { border-radius: 12px; }
}

/* Contact details remain readable when the top bar wraps on small screens. */
.topbar-links { flex-wrap: wrap; }
.topbar-address { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 800px) {
  .topbar-inner { justify-content: center; padding-block: 8px; }
  .topbar-links { justify-content: center; gap: 8px 18px; }
  .topbar-address { text-align: center; }
}
