/* Prestigious Capital Group: header bar + light/dark theme (owner 2026-11-17).
   Copied to /pcg-theme/pcg-theme.css by tools/build.py and linked last in every page's <head>.
   Per-element dark colours for Elementor's post-*.css are generated by build.py and appended to
   those files (html[data-theme="dark"] ...); this file holds the header, the toggle and the
   site-wide dark defaults that the generator cannot see (theme/plugin defaults). */

:root {
  --pcg-hdr-bg: #0e1533;
  --pcg-hdr-bg-2: #141d45;
  --pcg-hdr-line: rgba(212, 164, 78, .45);
  --pcg-hdr-link: #eef1f8;
  --pcg-gold: #bb802b;
  --pcg-gold-lt: #e2b563;
  --pcg-focus: #e2b563;
}

/* ------------------------------------------------------------------ header bar (both themes) */
html body .elementor-131 .elementor-element.elementor-element-121ff256:not(.elementor-motion-effects-element-type-background) {
  background-color: var(--pcg-hdr-bg) !important;
  background-image: linear-gradient(180deg, var(--pcg-hdr-bg-2) 0%, var(--pcg-hdr-bg) 100%) !important;
  /* gold hairline drawn as a shadow so the header keeps its original height */
  box-shadow: inset 0 -1px 0 var(--pcg-hdr-line), 0 6px 20px rgba(6, 10, 28, .28) !important;
  position: relative;
  z-index: 50;
}
/* thin top email bar (tablet/phone) sits on the same navy, a touch lighter */
html body .elementor-131 .elementor-element.elementor-element-6448bb59:not(.elementor-motion-effects-element-type-background) {
  background-color: #1b295a !important;
}
html body .elementor-131 .elementor-element.elementor-element-6448bb59 a:focus-visible { outline: 2px solid var(--pcg-focus); outline-offset: 2px; }

/* logo: a little larger and crisp on the dark bar */
html body .elementor-131 .elementor-element.elementor-element-b44e27 img { width: 78%; max-width: 230px; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .25)); }
@media (max-width: 1024px) { html body .elementor-131 .elementor-element.elementor-element-b44e27 img { width: 62%; max-width: 230px; } }
@media (max-width: 767px)  { html body .elementor-131 .elementor-element.elementor-element-b44e27 img { width: 100%; max-width: 190px; } }

/* desktop menu links */
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li > a { color: var(--pcg-hdr-link) !important; }
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li > a svg,
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li > a i { fill: var(--pcg-hdr-link) !important; color: var(--pcg-hdr-link) !important; }
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li:hover > a,
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li > a:focus-visible,
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li.current-menu-item > a,
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li.current-menu-ancestor > a { color: var(--pcg-gold-lt) !important; }
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li:hover > a svg,
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li.current-menu-item > a svg,
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li.current-menu-ancestor > a svg { fill: var(--pcg-gold-lt) !important; }
@media (min-width: 1025px) {
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li.current-menu-item > a,
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li.current-menu-ancestor > a { box-shadow: inset 0 -2px 0 var(--pcg-gold-lt); }
}
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu a:focus-visible { outline: 2px solid var(--pcg-focus); outline-offset: -2px; border-radius: 4px; }

/* Services dropdown (desktop) and the off-canvas panel (tablet/phone) */
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu li.menu-item-has-children .sub-menu {
  background-color: #131b3e !important;
  border: 1px solid rgba(212, 164, 78, .28);
  border-top: 2px solid var(--pcg-gold);
  box-shadow: 0 14px 30px rgba(4, 8, 24, .45) !important;
}
@media (min-width: 1025px) {
  html body .elementor-131 .elementor-element.elementor-element-2fbc3e6e .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu li.menu-item-has-children .sub-menu { min-width: 250px; }
}
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu .sub-menu li > a { color: #e3e7f1 !important; }
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu .sub-menu li:hover > a,
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu .sub-menu li > a:focus-visible,
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu .sub-menu li.current-menu-item > a { color: var(--pcg-gold-lt) !important; background-color: rgba(255, 255, 255, .05); }

html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-hamburger-menu svg { fill: #fff !important; }
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-hamburger-menu { color: #fff !important; }
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-hamburger-menu:focus-visible,
html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-close-menu:focus-visible { outline: 2px solid var(--pcg-focus); outline-offset: 2px; }

@media (max-width: 1024px) {
  html body .elementor-131 .elementor-element.elementor-element-2fbc3e6e .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper {
    background-color: #0e1533 !important;
    background-image: linear-gradient(180deg, #141d45 0%, #0b112b 100%) !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, .45) !important;
    --jkit-border-color: rgba(255, 255, 255, .22);
  }
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-nav-identity-panel { border-bottom: 1px solid var(--pcg-hdr-line); }
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-nav-identity-panel .jkit-nav-site-title .jkit-nav-logo img { width: 170px !important; height: 52px !important; }
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-nav-identity-panel .jkit-close-menu svg { fill: #fff !important; }
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li { border-bottom: 1px solid rgba(255, 255, 255, .07); }
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu li.menu-item-has-children .sub-menu {
    background-color: rgba(255, 255, 255, .04) !important; border: 0; border-left: 2px solid var(--pcg-gold); box-shadow: none !important;
  }
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu li.menu-item-has-children > a svg { border-color: rgba(255, 255, 255, .25) !important; }
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-overlay { background-color: rgba(3, 6, 18, .55); }
}

/* Apply Now: keep the navy->gold pill (original size), add a gold hairline so its navy end reads on the navy bar */
html body .elementor-131 .elementor-element.elementor-element-f173728 .jeg-elementor-kit.jkit-button .jkit-button-wrapper {
  box-shadow: 0 0 0 1.5px rgba(226, 181, 99, .85), 0 6px 16px rgba(0, 0, 0, .25);
}
html body .elementor-131 .elementor-element.elementor-element-f173728 .jkit-button-wrapper:focus-visible { outline: 2px solid var(--pcg-focus); outline-offset: 3px; }

/* ------------------------------------------------------------------ theme toggle */
/* desktop: taken out of the flow and hung just left of the Apply Now column, so Apply Now keeps
   its original width and position (the menu column has free space on its right at every width) */
html body .elementor-131 .elementor-element.elementor-element-6c39b757 > .elementor-widget-wrap { position: relative; }
.pcg-theme-toggle-wrap { position: absolute; right: 100%; top: 50%; transform: translateY(-50%); margin-right: -4px; display: flex; align-items: center; z-index: 3; }

html .elementor-kit-13 button.pcg-theme-toggle,
html button.pcg-theme-toggle {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; min-width: 42px; padding: 0; margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(226, 181, 99, .55);
  background: rgba(255, 255, 255, .06);
  color: #f3d7a1;
  cursor: pointer; line-height: 1; font-size: 0;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
@media (hover: hover) {
  html .elementor-kit-13 button.pcg-theme-toggle:hover,
  html button.pcg-theme-toggle:hover { background: rgba(226, 181, 99, .16); border-color: #e2b563; color: #ffe2a8; }
}
html .elementor-kit-13 button.pcg-theme-toggle:focus,
html button.pcg-theme-toggle:focus { background: rgba(255, 255, 255, .06); color: #f3d7a1; }
html .elementor-kit-13 button.pcg-theme-toggle:focus-visible,
html button.pcg-theme-toggle:focus-visible { outline: 2px solid var(--pcg-focus); outline-offset: 3px; background: rgba(226, 181, 99, .16); }
html button.pcg-theme-toggle:active { transform: scale(.94); }
.pcg-theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.pcg-theme-toggle .pcg-i-sun { display: none; }
html[data-theme="dark"] .pcg-theme-toggle .pcg-i-sun { display: block; }
html[data-theme="dark"] .pcg-theme-toggle .pcg-i-moon { display: none; }

/* phone/tablet copy sits left of the hamburger; the desktop copy lives beside Apply Now */
html body .jeg-elementor-kit.jkit-nav-menu button.pcg-theme-toggle.pcg-tt-mobile { display: none; }
@media (max-width: 1024px) {
  /* 44px touch target; the negative block margins keep the header row at its original height */
  html body .jeg-elementor-kit.jkit-nav-menu button.pcg-theme-toggle.pcg-tt-mobile { display: inline-flex; float: right; width: 44px; height: 44px; min-width: 44px; margin: -3px 12px -3px 0; }
  html body .jeg-elementor-kit.jkit-nav-menu button.pcg-theme-toggle.pcg-tt-mobile svg { width: 19px; height: 19px; }
  html body .elementor-131 .jeg-elementor-kit.jkit-nav-menu .jkit-hamburger-menu { padding: 9px 4px !important; }
}
@media (min-width: 1025px) { .pcg-theme-toggle.pcg-tt-mobile { display: none !important; } }

.pcg-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------------ dark theme: site-wide defaults */
html[data-theme="dark"] {
  color-scheme: dark;
  --pcg-bg: #0b1024;
  --pcg-surface: #131b37;
  --pcg-surface-2: #182143;
  --pcg-border: rgba(255, 255, 255, .11);
  --pcg-text: #c6ccd8;
  --pcg-muted: #9aa3b7;
  --pcg-heading: #f3f5fa;
  --pcg-link: #e2b563;
  /* no background on <html>: the body colour must keep propagating to the canvas, or z-index:-1
     content (the 404 page's second "4") disappears behind the body box */
}
html[data-theme="dark"] body { background-color: var(--pcg-bg) !important; color: var(--pcg-text); }
html[data-theme="dark"] .site-main, html[data-theme="dark"] .page-content, html[data-theme="dark"] .site-header, html[data-theme="dark"] .site-footer { background-color: transparent; }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3,
html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6 { color: var(--pcg-heading); }
html[data-theme="dark"] a { color: var(--pcg-link); }
html[data-theme="dark"] a:hover { color: #f0cc85; }
html[data-theme="dark"] figcaption { color: var(--pcg-muted); }
html[data-theme="dark"] hr { border-color: var(--pcg-border); }
html[data-theme="dark"] table tbody > tr:nth-child(odd) > td, html[data-theme="dark"] table tbody > tr:nth-child(odd) > th { background-color: rgba(255, 255, 255, .04); }
html[data-theme="dark"] table td, html[data-theme="dark"] table th { border-color: var(--pcg-border); }
html[data-theme="dark"] ::selection { background: rgba(226, 181, 99, .35); color: #fff; }
/* plain WordPress content (privacy / terms / thanks) */
html[data-theme="dark"] .page-content, html[data-theme="dark"] .entry-content { color: var(--pcg-text); }
html[data-theme="dark"] .page-header .entry-title { color: var(--pcg-heading); }
html[data-theme="dark"] strong, html[data-theme="dark"] b { color: inherit; }

/* images, photos, video: never filtered or inverted */
html[data-theme="dark"] img, html[data-theme="dark"] picture, html[data-theme="dark"] video { filter: none !important; }

/* ------------------------------------------------------------------ dark theme: page-specific touches */
/* home "4 Simple Steps": the big 01.-04. numbers are a faint #DEDEDE watermark on white; faint here too,
   but still readable as a label on navy */
html[data-theme="dark"] .elementor-127 .elementor-element.elementor-element-3455d6 .elementor-heading-title,
html[data-theme="dark"] .elementor-127 .elementor-element.elementor-element-3ecfa0ad .elementor-heading-title,
html[data-theme="dark"] .elementor-127 .elementor-element.elementor-element-399f1f14 .elementor-heading-title,
html[data-theme="dark"] .elementor-127 .elementor-element.elementor-element-3cda076e .elementor-heading-title { color: #3c4a80; }
/* ElementsKit FAQ widget (services/small-business-funding): plugin default #f5f5f5 header */
html[data-theme="dark"] .ekit-wid-con .elementskit-single-faq .elementskit-faq-header { background-color: var(--pcg-surface-2); }
html[data-theme="dark"] .ekit-wid-con .elementskit-single-faq { border: 1px solid var(--pcg-border); }

/* service pages, "Service List" sidebar (global widget 612): kit-blue #5B86E5 chevrons/hover -> the gold
   accent every other dark-mode link uses */
html[data-theme="dark"] .elementor-element.elementor-global-612 .elementor-icon-list-icon i,
html[data-theme="dark"] .elementor-element.pcg-svc-list .elementor-icon-list-icon i { color: var(--pcg-gold-lt) !important; }
html[data-theme="dark"] .elementor-element.elementor-global-612 .elementor-icon-list-icon svg,
html[data-theme="dark"] .elementor-element.pcg-svc-list .elementor-icon-list-icon svg { fill: var(--pcg-gold-lt) !important; }
html[data-theme="dark"] .elementor-element.elementor-global-612 .elementor-icon-list-item > a,
html[data-theme="dark"] .elementor-element.pcg-svc-list .elementor-icon-list-item > a { color: var(--pcg-text) !important; text-decoration-color: rgba(226, 181, 99, .45); }
html[data-theme="dark"] .elementor-element.elementor-global-612 .elementor-icon-list-text,
html[data-theme="dark"] .elementor-element.pcg-svc-list .elementor-icon-list-text { color: var(--pcg-text) !important; }
html[data-theme="dark"] .elementor-element.elementor-global-612 .elementor-icon-list-item:hover .elementor-icon-list-text,
html[data-theme="dark"] .elementor-element.pcg-svc-list .elementor-icon-list-item:hover .elementor-icon-list-text,
html[data-theme="dark"] .elementor-element.elementor-global-612 .elementor-icon-list-item > a:focus-visible .elementor-icon-list-text,
html[data-theme="dark"] .elementor-element.pcg-svc-list .elementor-icon-list-item > a:focus-visible .elementor-icon-list-text { color: var(--pcg-gold-lt) !important; }

/* ------------------------------------------------------------------ layout fixes (both themes) */
/* service sidebar "Need Help?" box: the email line was clipped by the box ("admin@prestigiouscapitalgr") */
html body .pcg-needhelp .jkit-icon-box .title.pcg-needhelp-email { font-size: 14px !important; overflow-wrap: break-word; word-break: normal; }
/* /services/small-business-funding/ sizes its email box at 126% of the column; on tablets that ran 20px
   past the screen edge */
@media (min-width: 768px) and (max-width: 1024px) {
  html body .pcg-needhelp .elementor-element.elementor-widget-jkit_icon_box { max-width: 100% !important; }
}

/* header email strip (tablet/phone): one line at tablet width, and no 9px sideways scroll on phones
   (Elementor's inline-list negative margin pushed the list past the right edge) */
@media (min-width: 768px) and (max-width: 1024px) {
  html body .elementor-131 .elementor-element.elementor-element-5d08b873 { width: 50%; }
  html body .elementor-131 .elementor-element.elementor-element-6d6a7b13 { width: 50%; }
}
html body .elementor-131 .elementor-element.elementor-element-dfc1613 .elementor-icon-list-text { white-space: nowrap; }
html body .elementor-131 .elementor-element.elementor-element-dfc1613 .elementor-icon-list-items.elementor-inline-items { margin-inline-end: 0; }

/* 404: the graphic was 100vw wide and nudged 6vmin right inside a boxed column, so the page scrolled
   sideways and the "404" sat off-centre; same composition, centred, no overflow */
html body .elementor-1079 .elementor-element-e015950 .container { width: 100%; max-width: 100%; left: 0; padding-left: 12vmin; }
html body .elementor-1079 .elementor-element-e015950 { overflow-x: clip; }
@media (max-width: 767px) {
  html body .elementor-1079 .elementor-element-e015950 .container { transform: scale(.86); transform-origin: 50% 50%; }
}

/* /about/ "The Prestigious Promise": the world map is a bottom-anchored background sized to the section
   width, taller than the bottom padding on tablet/phone, so it ran into the last paragraph */
@media (max-width: 1024px) {
  html body .elementor-139 .elementor-element.elementor-element-59fcaa7b { padding-bottom: max(300px, calc(71vw * .568 + 32px)); }
}
@media (max-width: 767px) {
  html body .elementor-139 .elementor-element.elementor-element-59fcaa7b { padding-bottom: max(170px, calc(89vw * .568 + 32px)); }
}

/* ------------------------------------------------------------------ service pages (short copy, owner 2026-11-17) */
/* one headline per page: an h2 for the outline, sized like the old in-copy h5 headings, colour from the copy */
html body .pcg-svc-copy .pcg-svc-h { font-size: 1.4rem; line-height: 1.3; font-weight: 700; color: inherit; margin: 0 0 .7em; }
html body .pcg-svc-copy p { margin: 0 0 1em; }
html body .pcg-svc-copy ul { margin: 0 0 1em; padding-left: 1.2em; }
html body .pcg-svc-copy li { margin: 0 0 .35em; }

/* ------------------------------------------------------------------ review fixes (2026-11-17) */
/* one h1 per page: Hello's hidden h1.entry-title became this empty box (same size, so the banner's
   negative top margin still lands where it did) */
.page-header .pcg-title-spacer { display: block; height: 48px; margin: .5rem 0 1rem; }

/* links: no underlines on buttons, the "Service List" sidebar or the breadcrumb (only the current
   page's crumb), the same on every page */
html body a.jkit-button-wrapper, html body a.elementor-button,
html body .elementor-global-612 .elementor-icon-list-item > a, html body .pcg-svc-list .elementor-icon-list-item > a,
html body .pcg-crumbs a { text-decoration: none; }
html body .pcg-crumbs a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }

/* "Need Help?" box: phone and email lines share one width, the address stays on one line */
html body .pcg-needhelp > .elementor-widget-wrap { padding-left: 24px !important; padding-right: 24px !important; }
html body .pcg-needhelp .elementor-element.pcg-needhelp-line { width: 100% !important; max-width: 100% !important; --container-widget-width: 100%; }
html body .pcg-needhelp .elementor-element.pcg-needhelp-line > .elementor-widget-container { margin-left: 0 !important; margin-right: 0 !important; }
html body .pcg-needhelp .jkit-icon-box .title.pcg-needhelp-email { white-space: nowrap; overflow-wrap: normal; }

/* /about/: three value cards (Experience dropped) */
@media (min-width: 768px) {
  html body .elementor-139 .elementor-element.pcg-about-value { width: 33.333%; }
}

/* /services/business-term-loans/ (container layout): phone hero inset like the other service pages */
@media (max-width: 767px) {
  html body .elementor-758 .elementor-element.elementor-element-66fe97a { --padding-left: 10px; --padding-right: 15px; }
  html body .elementor-758 .elementor-element.elementor-element-7399057 { --margin-left: 5px; }
}

/* /services/home-equity-line-of-credit/: the hero title was sized down for "Home Equity Line of Credit (HELOC)";
   now it reads "HELOCs" like the menu, so it uses the same global title size as the other service heroes */
html body .elementor-2203 .elementor-element.elementor-element-130f5524 .elementor-heading-title {
  font-size: var(--e-global-typography-acfc189-font-size);
  line-height: var(--e-global-typography-acfc189-line-height);
}

/* /about/ Apply Now band: 40% wide with 55px side padding left the label off-centre on phones */
@media (max-width: 767px) {
  html body .elementor-139 .elementor-element.elementor-element-1419bd8 .jeg-elementor-kit.jkit-button .jkit-button-wrapper { width: 70%; padding-left: 20px; padding-right: 20px; text-align: center; justify-content: center; }
}
