/* Candidate-only adaptations: source theme and its 10px rem layout unit stay unchanged. */
:root {
  --candidate-gutter: 20px;
  --candidate-section-space: clamp(32px, 4.5vw, 64px);
  --candidate-ink: #081b33;
  --candidate-muted: #4c6075;
  --candidate-link: #006ca8;
}
body { font-family: Poppins, sans-serif; font-size: 16px; line-height: 1.6; color: var(--candidate-muted); }
img { max-width: 100%; height: auto; }
.container, .container-fluid, .section-blog > .container { padding-inline: var(--candidate-gutter); }
.container { max-width: 1280px; }
.container-sm { max-width: 1210px; }
.container-xs { max-width: 960px; }
.container-xxs { max-width: 760px; }
.row > * { min-width: 0; }
h1, .h1 { font-size: clamp(32px, 4vw, 52px); }
h2, .h2 { font-size: clamp(28px, 3vw, 40px); }
h3, .h3 { font-size: clamp(22px, 2.2vw, 28px); }
h4, .h4 { font-size: 20px; }
h5, .h5 { font-size: 18px; }
h6, .h6 { font-size: 16px; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { line-height: 1.25; margin-bottom: 16px; overflow-wrap: break-word; }
p { margin-bottom: 16px; }
.section p, .section li, .entry-content p, .entry-content li, .accordion-body { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.card-svg-number .card-header .subtitle { font-size: 18px; line-height: 1.45; }
.section .subtitle { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }
.section-text :is(h2,h3,h4,h5,h6), .article-single .entry-content :is(h2,h3,h4,h5,h6) { margin-top: 28px; margin-bottom: 12px; }
.article-single .entry-content h2 { font-size: clamp(24px, 2.4vw, 32px); }
.article-single .entry-content h3 { font-size: clamp(22px, 2vw, 28px); }
.article-single .entry-content li, .section-accordion li { margin-bottom: 12px; }
/* Cap the source's large fluid utility spacing, without changing its small grid gaps. */
.section:is(.mt-8,.mt-9,.mt-10,.mt-11,.mt-12,.mt-13,.mt-14,.mt-15) { margin-top: var(--candidate-section-space) !important; }
.section:is(.pt-8,.pt-9,.pt-10,.pt-11,.pt-12,.pt-13,.pt-14,.pt-15,.py-8,.py-9,.py-10,.py-11,.py-12,.py-13,.py-14,.py-15) { padding-top: var(--candidate-section-space) !important; }
.section:is(.pb-8,.pb-9,.pb-10,.pb-11,.pb-12,.pb-13,.pb-14,.pb-15,.py-8,.py-9,.py-10,.py-11,.py-12,.py-13,.py-14,.py-15) { padding-bottom: var(--candidate-section-space) !important; }
.section-banner.section-banner-with-image { padding-block: clamp(32px, 5vw, 72px); }
.custom-carousel.mt-9 { margin-top: 32px !important; }
.card-product-variant, .card-product-variant.card-product-variant-secondary { padding: clamp(20px, 3vw, 40px); }
.card-product-variant figure, .card-product-variant.card-product-variant-secondary figure { padding: 24px; }
.section-form .container { width: calc(100% - 2 * var(--candidate-gutter)); max-width: 1210px; padding: clamp(20px, 3vw, 40px); }
.section-form ol li, .section-form ol li strong { font-size: 16px; line-height: 1.6; }
.section-form ol li { margin-bottom: 16px; }
.section-form .container .row-content > [class*=col-]:first-child { margin-bottom: 28px; }
.form-control, .form-select, .form-label, .invalid-feedback, input, select, textarea { font-size: 16px; line-height: 1.5; }
.form-control, .form-select { color: var(--candidate-muted); padding: 12px 14px; min-height: 48px; }
.form-control::placeholder { color: var(--candidate-muted); opacity: 1; }
.btn, .btn.btn-sm { font-size: 16px; line-height: 1.5; min-height: 44px; padding-block: 10px; white-space: normal; }
/* Keep the bright brand surfaces; use navy text instead of low-contrast white. */
a { color: var(--candidate-link); }
a:hover { color: var(--candidate-ink); }
.section p a:not(.btn), .section li a:not(.btn), .entry-content a:not(.btn), .accordion-body a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.btn-primary, .btn-secondary, .btn-outline-primary, .btn-outline-secondary,
.btn-primary:hover, .btn-secondary:hover, .btn-outline-primary:hover, .btn-outline-secondary:hover,
.btn-primary:focus, .btn-secondary:focus, .btn-outline-primary:focus, .btn-outline-secondary:focus,
.navbar-nav-top .navbar-button a, .top-menu-mobile .navbar-button a, .footer-button,
a#get-help-now-floater, a#get-help-now-floater .text { color: var(--candidate-ink); }
.btn-outline-primary { border-color: var(--candidate-link); }
.btn:after { filter: brightness(.2); }
.navbar-nav-top .navbar-phone a, .top-menu-mobile .navbar-phone a, .footer-phone { color: var(--candidate-link); }
.text-primary { color: var(--candidate-link) !important; }
.text-secondary { color: #397400 !important; }
.card-portfolio-carousel .card-body :is(h4,h6,.h4,.h6), .card-portfolio-carousel .card-body { color: var(--candidate-ink); }
/* Project type is descriptive text, not a heading; retain the original caption style. */
.card-portfolio-carousel .card-body p.h6 { line-height: 1.25; }
footer, footer a, footer small { font-size: 14px; line-height: 1.6; color: var(--candidate-muted); }
footer li a { display: inline-block; padding-block: 4px; }
.navbar-button a, .navbar-phone a, .footer-button, .footer-phone { min-height: 44px; align-content: center; }
/* Match source component specificity, including its ID-scoped upload button. */
#add-file-btn { color: var(--candidate-ink); padding-block: 10px; }
.navbar-nav-main .navbar-button a, .navbar-footer .footer-button, .navbar-footer .footer-button:hover { color: var(--candidate-ink); }
.navbar-nav-main .navbar-phone a, .navbar-footer .footer-phone { color: var(--candidate-link); }
.navbar-footer, .navbar-footer p, .navbar-footer a, .navbar-footer ul a small { color: var(--candidate-muted); font-size: 14px; line-height: 1.6; }
.navbar-footer .footer-phone { font-size: 16px; }
.section-blog .row { --bs-gutter-x: 32px; --bs-gutter-y: 32px; }
.btn-link-primary, .btn.btn-link-primary, .section-blog .btn-back, .card-svg-number .card-header .subtitle span { color: var(--candidate-link); }
.btn.btn-primary.active { color: var(--candidate-ink); }
.btn.btn-outline-gray-light, .section .prev, .section .next, .posts-pagination .page-numbers.placeholder { color: var(--candidate-muted); }
.navbar-gallery .btn-outline-gray-light.active { color: var(--candidate-ink); }
.posts-pagination .page-numbers.current { color: #397400; }
:where(a,button,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid var(--candidate-ink) !important; outline-offset: 3px; box-shadow: 0 0 0 6px white; }
.candidate-skip { position: absolute; top: -100px; left: 20px; z-index: 3000; background: white; padding: 12px; font-size: 16px; }
.candidate-skip:focus { top: 12px; }
.form-status { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--candidate-ink); }
.free-guide-form .form-status { background: #f0f8ff; border-radius: 4px; }
.free-guide-form .form-status:empty { display: none; }
[hidden] { display: none !important; }
#file-error:not([hidden]) { display: block; }
.file-input-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.file-input-wrapper input { min-width: 0; max-width: 100%; flex: 1 1 200px; font-size: 16px; line-height: 1.5; min-height: 44px; }
.file-input-wrapper input::file-selector-button { font: inherit; min-height: 44px; color: var(--candidate-ink); }
#upload-form #file-input-container input[type="file"]::file-selector-button { color: var(--candidate-ink); }
.file-input-wrapper .remove-file-btn:not([hidden]) { display: inline-block; }
.form-input-email-check { position: absolute; left: -5000px; width: 0; height: 0; opacity: 0; }
.candidate-reviews { display: flex; align-items: flex-start; overflow-x: auto; gap: 20px; text-align: left; padding: 8px 2px 16px; scroll-snap-type: x mandatory; }
.candidate-reviews figure { flex: 0 0 calc((100% - 40px)/3); min-width: 260px; margin: 0; border: 1px solid #dee2e6; border-radius: 8px; padding: 20px; scroll-snap-align: start; background: white; }
.section-testimonials .candidate-reviews blockquote { font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.candidate-review-text { max-height: 256px; overflow-y: auto; overscroll-behavior-y: contain; margin-bottom: 12px; }
.candidate-reviews figcaption, .section .review-source { font-size: 14px; line-height: 1.5; }
.entry-content { overflow-wrap: anywhere; }
.entry-content table { max-width: 100%; }
a#get-help-now-floater img { width: 25px; height: 25px; flex: 0 0 25px; object-fit: contain; filter: brightness(.2); }
/* Source hides the featured article and archive heading entirely on mobile. */
@media (max-width: 991px) { .section-blog > .container > .row > .d-none.d-lg-block { display: block !important; width: 100%; } }
@media (min-width: 576px) { :root { --candidate-gutter: 24px; } }
@media (min-width: 992px) {
  :root { --candidate-gutter: 32px; }
  .navbar > .container { max-width: 1440px; }
  .section-form .container .row-content > [class*=col-]:first-child { padding-right: 32px; margin-bottom: 0; }
  .section-form .container .row-content > [class*=col-]:last-child { padding-left: 32px; }
}
@media (max-width: 767px) {
  .candidate-reviews figure { flex-basis: 90%; min-width: 0; }
  #free-quote-section h2 { font-size: 28px; }
  .section-banner.section-banner-with-image:before { background: rgba(8,27,51,.65); }
  .navbar-phone, .navbar-button { white-space: normal; }
  .top-menu-mobile .d-flex { flex-wrap: wrap; gap: 8px; }
  .top-menu-mobile .navbar-button a { padding-inline: 12px; }
  a#get-help-now-floater { bottom: 20px; right: 16px; }
}
.form-status:empty { display: none; }
.form-status:focus-visible { outline: 3px solid #0b5cab; outline-offset: 2px; }
.form-status--error { border: 1px solid #b3261e; border-radius: 4px; padding: 10px 12px; background: #fff; color: #7a1410; font-weight: 500; }
.form-noscript { margin: 12px 0 0; border: 1px solid #b3261e; border-radius: 4px; padding: 10px 12px; background: #fff; color: #7a1410; font-size: 16px; line-height: 1.5; font-weight: 500; }
.form-noscript a, .form-status--error a { color: inherit; text-decoration: underline; }
.form-status button.form-status__retry { margin-left: 8px; padding: 4px 12px; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.avg-turnstile { min-height: 0; margin-bottom: 8px; }
/* TrustIndex Pro slot. Static reviews are the no-JS / failure fallback. The reserved heights (src/data/trustindex.json) are calibrated
   to the real widget: it is 567px tall below ~665px wide (536px at 480-660px) and 338px above; 680px is the switch, set just past
   the widget's own so the reserve is never smaller than the widget. */
.avg-ti { display: none; }
html.js .avg-reviews[data-avg-ti]:not([data-ti-state="failed"]) .avg-ti { display: block; min-height: var(--ti-h-m); contain: layout; text-align: left; }
html.js .avg-reviews[data-avg-ti]:not([data-ti-state="failed"]) :is(.review-source, .rf-reviews) { display: none; }
@media (min-width: 680px) { html.js .avg-reviews[data-avg-ti]:not([data-ti-state="failed"]) .avg-ti { min-height: var(--ti-h-d); } }
/* Hold the arrived widget invisible until reviews-embed.js sees its boxes stop moving (its internal layout steps would otherwise count as layout shift). */
html.js .avg-reviews[data-avg-ti][data-ti-state="ready"]:not([data-ti-shown]) .avg-ti > :not(script) { visibility: hidden; }
