/* Flat look for the whole site (loads in <head>, so pages never show rounder corners first):
   - corners: never rounder than Customize → Container → Corner radius (--edu-radius); a small script in the theme head
     catches anything not listed here
   - no shadows, no gradients, no shine/fade effects; colours come from Customize → Colors → Accent */
:is(#blog-comment-content,#blog-comment-email,#blog-comment-name,#cf-email,#cf-message,#cf-name,#cf-subject,#li-id,#li-pw,.au,.au-btn,.au-eye,.blog-comment-form-container,.blog-comments-section,.cf-btn,.edu-cform,.edu-hsearch,.edu-hsearch-form,.eq-card,.ftx-cta-card,.ftx-play,.hc-go,.hc-go.hc-join,.hc-item,.hero-search-btn,.hero-search-card,.hero-search-form,.hf-badge,.hf-btn,.hf-intro,.hf-item,.hf-num,.hm-btn.hm-pro.hm-splash,.hv-card.hv-admit,.hv-card.hv-answer,.hv-card.hv-recent,.hv-card.hv-result,.hv-count,.hv-date,.hv-ico,.ls-search,.mnav-switch,.nb-card.nb-card--feat,.nb-card.nb-card--feat.nb-card--lead,.nb-gn-box,.nb-keypoints.nb-keypoints--dot,.nb-share-btn.nb-share--copy,.nb-share-btn.nb-share--device,.nb-share-btn.nb-share--facebook,.nb-share-btn.nb-share--linkedin,.nb-share-btn.nb-share--telegram,.nb-share-btn.nb-share--whatsapp,.nb-share-btn.nb-share--x,.post-card,.st-free100,.ls-pg a,.hs-dots button,.nb-also-img img,.contact-form input,.au-pts li,.hs-dots button,.hs-dots .on,.hc-p .off,.st .off,.jc,.jc-link,.jc-logo,.jss-dots button,.ls-pg span,.ls-pg a,.au-pts span):not(#edu-x){border-radius:var(--edu-radius,5px)!important}
*:not(#edu-x):not(.hero-search-form):not(.hero-search-btn),*:not(#edu-x)::before,*:not(#edu-x)::after{box-shadow:none!important;text-shadow:none!important}
/* the "Find Government Jobs" search box keeps its own design (gradient, soft circles); no shadow outside the box */
/* gradients → flat colours */
.hm-imp:not(#edu-x),.sp-media:not(#edu-x),.st-thumb:not(#edu-x){background:var(--gc-accent,#0c6878)!important}
.sp-hero:not(#edu-x){background:color-mix(in srgb,var(--gc-accent,#0c6878) 30%,#0b0f1a)!important}
.hf-intro:not(#edu-x),.sp-wrap.hm-why-in:not(#edu-x){background:#fff!important;border:1px solid #e5e7eb}
.hm-post-i:not(#edu-x){background:#f3f4f6!important}
/* mobile menu: social links as round light buttons with the icon in the accent colour, on white */
.nb-drawer-follow{background:#fff!important;border-top:1px solid #eef0f3;padding:14px 18px 18px!important}
.nb-drawer-follow > span{display:none}
.nb-drawer-follow > div{display:flex;flex-wrap:wrap;gap:12px}
.nb-drawer-follow a:not(#edu-x){width:40px;height:40px;display:grid;place-items:center;border-radius:50%!important;background:color-mix(in srgb,var(--gc-accent,#7c3aed) 8%,#fff)!important;color:color-mix(in srgb,var(--gc-accent,#7c3aed) 75%,#000)!important;border:0!important;transition:background .15s,color .15s}
.nb-drawer-follow a:not(#edu-x):hover{background:var(--gc-accent,#7c3aed)!important;color:#fff!important}
.nb-drawer-follow a svg{width:19px!important;height:19px!important}
.nb-drawer-follow .nb-drawer-dark:not(#edu-x){margin-left:auto;cursor:pointer;padding:0!important;min-height:0!important;width:40px!important;height:40px!important;display:grid!important;place-items:center;gap:0!important;flex:0 0 40px}
.nb-drawer-follow .nb-drawer-dark svg{width:19px!important;height:19px!important;margin:0!important}
[data-theme="dark"] .nb-drawer-follow{background:#151b23!important;border-top-color:#263040}
[data-theme="dark"] .nb-drawer-follow a:not(#edu-x){background:#1f2937!important;color:#e5e7eb!important}
/* the dark mode button is only the moon icon: no leftover pseudo-element pushing it off centre */
.nb-drawer-follow .nb-drawer-dark:not(#edu-x)::before,.nb-drawer-follow .nb-drawer-dark:not(#edu-x)::after{content:none!important;display:none!important}
.nb-drawer-follow .nb-drawer-dark:not(#edu-x){display:flex!important;align-items:center!important;justify-content:center!important}
/* footer: the copyright row carries the footer-bar colour across the full width (not only a strip behind the text) */
.ftx-footer{isolation:isolate;overflow:hidden}
.ftx-copy:not(#edu-x){position:relative;background:transparent!important;padding:14px 0!important}
.ftx-copy:not(#edu-x)::before{content:"";position:absolute;top:0;bottom:-400px;left:-100vw;right:-100vw;background:var(--t-footer-bar-background,#002b4f);z-index:-1}
/* the header search opens exactly over the menu strip (phone and desktop: same place, same height); no borders, no shadow */
.edu-hsearch.is-strip:not([hidden]):not(#edu-x){display:flex;align-items:center;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--edu-strip-bg,#fff)!important;margin:0!important;max-width:none}
.edu-hsearch:not(#edu-x) .edu-hsearch-form{border:0!important;box-shadow:none!important;background:#f1f3f6;border-radius:5px!important}
.edu-hsearch:not(#edu-x) .edu-hsearch-form:focus-within{background:#eceff3}
.edu-hsearch.is-strip:not(#edu-x) .edu-hsearch-form{flex:1;height:calc(100% - 10px);max-height:42px}
.edu-hsearch.is-strip:not(#edu-x) .edu-hsearch-x{display:flex!important}
@media (max-width:980px){.edu-hsearch.is-strip:not([hidden]):not(#edu-x){padding:0 10px!important}}
[data-theme="dark"] .edu-hsearch:not(#edu-x) .edu-hsearch-form{background:#1f2937}
/* footer: smaller gap above the copyright bar, no extra space under it */
footer.ftx-footer .ftx-wrap{padding-bottom:0}
footer.ftx-footer .ftx-grid{padding-bottom:26px;margin-bottom:0;border-bottom:0}
footer.ftx-footer .ftx-copy{padding-top:12px;padding-bottom:12px}
@media (max-width:767px){footer.ftx-footer .ftx-grid{padding-bottom:22px}}
/* header + side-menu buttons, scholarsacademy style: round "pill" buttons in the header, big full-width buttons in the
   side menu. Colours come from the Customizer (Buttons colour = orange in the Navy & Orange template, Accent = navy),
   so another palette / template changes them too. */
.nb-h-racing .nb-hr-act .nb-hr-login:not(#edu-x){display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 16px;border-radius:20px!important;background:var(--t-buttons-background,var(--gc-accent-2,var(--gc-accent,#0c6878)));color:var(--t-buttons-text,#fff)!important;font-size:13.5px;font-weight:600;text-decoration:none!important;transition:background .15s}
.nb-h-racing .nb-hr-act .nb-hr-login:not(#edu-x):hover{background:var(--t-buttons-background-hover,color-mix(in srgb,var(--t-buttons-background,var(--gc-accent-2,#fe8c07)) 86%,#000));color:var(--t-buttons-text-hover,#fff)!important}
.nb-h-racing .nb-hr-act .nb-hr-login svg{width:15px;height:15px}
.nb-h-racing .nb-hr-act .nb-hr-div{display:none!important}
.nb-h-racing .nb-hr-act .nb-hr-sub:not(#edu-x),.nb-h-racing .nb-hr-act .nb-hr-sub.has-ic:not(#edu-x){display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 16px!important;border:0!important;border-radius:20px!important;background:var(--gc-accent,#0c6878)!important;color:#fff!important;font-size:13.5px!important;font-weight:600;line-height:1}
.nb-h-racing .nb-hr-act .nb-hr-sub:not(#edu-x):hover{background:var(--t-buttons-background,var(--gc-accent-2,#fe8c07))!important;color:var(--t-buttons-text,#fff)!important}
.nb-h-racing .nb-hr-act .nb-hr-sub svg{width:15px;height:15px}
/* side menu: the two buttons side by side in one row */
.mnav .mnav-hello-btns:not([hidden]):not(#edu-x){display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px}
.mnav .mnav-hello-btns:not([hidden]):not(#edu-x):has(> :only-child){grid-template-columns:1fr!important}
.mnav .mnav-btn:not(#edu-x){height:44px;border:0;border-radius:8px!important;font-size:14.5px;padding:0 8px;white-space:nowrap;font-weight:600;text-decoration:none}
.mnav .mnav-btn.outline:not(#edu-x){background:var(--t-buttons-background,var(--gc-accent-2,#fe8c07));color:var(--t-buttons-text,#fff)}
.mnav .mnav-btn.solid:not(#edu-x),.mnav .mnav-btn.solid.has-ic:not(#edu-x){background:var(--gc-accent,#0c6878);color:#fff}
.mnav .mnav-btn.outline:not(#edu-x):hover{background:var(--t-buttons-background-hover,color-mix(in srgb,var(--t-buttons-background,var(--gc-accent-2,#fe8c07)) 86%,#000))}
.mnav .mnav-btn.solid:not(#edu-x):hover{background:color-mix(in srgb,var(--gc-accent,#0c6878) 85%,#000)}
