/* GreenCoding UI A: presentation only; no href, tracking, DOM or behavior changes.
 * A shared role map for current fixed pages, article templates and form controls.
 * !important is limited to component colors/borders/radius: existing landing-page
 * rules and Gutenberg inline colors already use higher-priority declarations.
 */
body { --gc-ui-green:#174b30; --gc-ui-hover:#103a24; --gc-ui-ink:#14251b;
 --gc-ui-soft:#eef4eb; --gc-ui-white:#fff; --gc-ui-radius:4px; }
body :is(.gc-button, .gci-button, .case-site-button, .wp-block-button__link, .readerCta__button, .gc-flow-button, .discoveryActions button, .discoveryCta > a, #gc-static-lp .btn, .gc-contactForm input[type="submit"]) {
 box-sizing:border-box; align-items:center; justify-content:center;
 min-height:50px; max-width:100%; padding:13px 22px;
 border:2px solid var(--gc-ui-green)!important; border-radius:var(--gc-ui-radius)!important;
 background:var(--gc-ui-green)!important; color:var(--gc-ui-white)!important;
 font-family:inherit; font-size:16px; font-weight:700; line-height:1.5;
 text-align:center; text-decoration:none!important; white-space:normal;
 overflow-wrap:break-word; box-shadow:none; cursor:pointer;
 transition:background-color .15s ease,border-color .15s ease;
}
body :is(.gc-button, .gci-button, .case-site-button, .wp-block-button__link, .readerCta__button, .gc-flow-button, .discoveryActions button, .discoveryCta > a, #gc-static-lp .btn, .gc-contactForm input[type="submit"]):hover:not(:disabled):not([aria-disabled="true"]) {
 background:var(--gc-ui-hover)!important; border-color:var(--gc-ui-hover)!important;
 color:var(--gc-ui-white)!important;
}
body :is(.gc-button--secondary, .gci-button--outline, .gc-flow-button--back, .is-style-outline > .wp-block-button__link, #gc-static-lp .btn.secondary) {
 background:var(--gc-ui-white)!important; color:var(--gc-ui-green)!important;
 border-color:var(--gc-ui-green)!important;
}
body :is(.gc-button--secondary, .gci-button--outline, .gc-flow-button--back, .is-style-outline > .wp-block-button__link, #gc-static-lp .btn.secondary):hover:not(:disabled):not([aria-disabled="true"]) {
 background:var(--gc-ui-soft)!important; color:var(--gc-ui-green)!important;
 border-color:var(--gc-ui-green)!important;
}
/* The same primary role uses an inverse surface on existing dark panels. */
body :is(.gc-button--light, .gci-cta .gci-button--light, #gc-static-lp .agency-hero .btn:not(.secondary), #gc-static-lp .consult .btn:not(.secondary)) {
 background:var(--gc-ui-white)!important; color:var(--gc-ui-green)!important;
 border-color:var(--gc-ui-white)!important;
}
body :is(.gc-button--light, .gci-cta .gci-button--light, #gc-static-lp .agency-hero .btn:not(.secondary), #gc-static-lp .consult .btn:not(.secondary)):hover:not(:disabled):not([aria-disabled="true"]) {
 background:var(--gc-ui-soft)!important; color:var(--gc-ui-green)!important;
 border-color:var(--gc-ui-soft)!important;
}
body :is(.gc-button, .gci-button, .case-site-button, .wp-block-button__link, .readerCta__button, .gc-flow-button, .discoveryActions button, .discoveryCta > a, #gc-static-lp .btn, .gc-contactForm input[type="submit"]):active {box-shadow:inset 0 2px 3px #0003;}
body :is(.gc-button, .gci-button, .case-site-button, .wp-block-button__link, .readerCta__button, .gc-flow-button, .discoveryActions button, .discoveryCta > a, #gc-static-lp .btn, .gc-contactForm input[type="submit"], #gc-static-lp .agency-hero .btn.secondary):is(:disabled,[aria-disabled="true"]) {
 background:#e5eae4!important; border-color:#a8b4a8!important; color:#4c6053!important;
 opacity:1; cursor:not-allowed; box-shadow:none;
}
body :is(.gc-button,.gci-button,#gc-static-lp .btn,.case-site-button) {gap:16px;}
body :is(.gc-button,.gci-button):hover:not(:disabled):not([aria-disabled="true"]) {transform:none;}
/* Ordinary content links retain their existing semantics, targets and attributes.
 * Do not underline image links, brand marks, button surfaces or filter chips.
 */
body #primary :where(a[href]):not(:where(.gc-button, .gci-button, .case-site-button, .wp-block-button__link, .readerCta__button, .gc-flow-button, .discoveryActions button, .discoveryCta > a, #gc-static-lp .btn, .gc-contactForm input[type="submit"], .gc-columnGrid__media, .discoveryImage, .gc-commandBrand__link,
 .discoveryTags a, .discoveryPagination a, .case-screen a, .gc-partnershipLogo a)) {
 color:var(--gc-ui-green); text-decoration:underline; text-decoration-thickness:1px;
 text-underline-offset:.22em; text-decoration-skip-ink:auto;
}
body #primary :where(a[href]):not(:where(.gc-button, .gci-button, .case-site-button, .wp-block-button__link, .readerCta__button, .gc-flow-button, .discoveryActions button, .discoveryCta > a, #gc-static-lp .btn, .gc-contactForm input[type="submit"], .gc-columnGrid__media, .discoveryImage, .gc-commandBrand__link,
 .discoveryTags a, .discoveryPagination a, .case-screen a, .gc-partnershipLogo a)):hover:not(:disabled):not([aria-disabled="true"]) {
 color:var(--gc-ui-hover); text-decoration-thickness:2px;
}
/* Navigation stays navigation; current/hover states are clear without button fill. */
body :is(.gc-breadcrumbs,.case-breadcrumb,.gc-columnFooterNav) a[href] {
 color:var(--gc-ui-green); text-decoration:underline; text-underline-offset:.22em;
}
body .main-navigation .main-nav a:is(:hover,:focus-visible) {
 text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:.3em;
}
body .main-navigation .main-nav a[aria-current="page"] {
 text-decoration:underline; text-underline-offset:.3em;
}
/* Filtering and disclosure controls are distinct from the consultation action. */
body #primary .discoveryTags a {
 border:1px solid #c4d4c4; border-radius:4px; color:var(--gc-ui-green);
 text-decoration:underline; text-underline-offset:.2em;
}
body #primary .discoveryPagination :is(a,span) {border-radius:4px;}
body #primary .discoveryPagination :is([aria-current="page"],.current) {
 background:var(--gc-ui-green); border-color:var(--gc-ui-green); color:white;
}
body #primary summary {cursor:pointer; text-underline-offset:.22em;}
body #primary summary:is(:hover,:focus-visible) {text-decoration:underline;}
/* A white inner ring plus dark outer outline works on light and dark surfaces. */
body :is(#primary,#masthead,#site-navigation,#mobile-header,#generate-slideout-menu,.gc-columnFooterNav)
 :is(a[href],button,summary,input,select,textarea):focus-visible {
 outline:3px solid var(--gc-ui-ink)!important; outline-offset:5px!important;
 box-shadow:0 0 0 3px var(--gc-ui-white)!important;
}
@media (max-width:760px) {
 body :is(.gc-button, .gci-button, .case-site-button, .wp-block-button__link, .readerCta__button, .gc-flow-button, .discoveryActions button, .discoveryCta > a, #gc-static-lp .btn, .gc-contactForm input[type="submit"]) {font-size:15px;padding:12px 18px;gap:12px;}
 body #gc-static-lp .mobile-contact .btn {min-height:50px;padding:10px 12px;font-size:13px;gap:8px;}
}
@media (prefers-reduced-motion:reduce) { body :is(.gc-button, .gci-button, .case-site-button, .wp-block-button__link, .readerCta__button, .gc-flow-button, .discoveryActions button, .discoveryCta > a, #gc-static-lp .btn, .gc-contactForm input[type="submit"]) {transition:none;} }

/* Secondary remains an outline rather than a second white primary on dark heroes. */
body #gc-static-lp .agency-hero .btn.secondary {
 background:transparent!important;color:#fff!important;border-color:#fff!important;
}
body #gc-static-lp .agency-hero .btn.secondary:hover:not(:disabled):not([aria-disabled="true"]) {
 background:var(--gc-ui-soft)!important;color:var(--gc-ui-green)!important;
}
/* Never change the visibility established by forms, details, media queries or JS. */
body :is(.gc-button,.gci-button,.gc-flow-button,.wp-block-button__link)[hidden] {display:none!important;}
body #primary :where(.gci-cta,#gc-static-lp .agency-hero,#gc-static-lp .consult,.gc-pageCta)
 a[href]:not(:where(.gc-button,.gci-button,.btn,.wp-block-button__link)) {color:#fff;}
