/* Complete the v6 system on secondary routes and dynamic detail templates. */
.swfl-v6 :is(.swfl-bundle-pro,.swfl-ctr-spoke,.swfl-local-profile,.s2-about,.s2-application,.s2-proposal,.s2-search-page,.s2-not-found,.s2-topic-file,.s2-main--fishing,.swfl-events-hub){
  --swfl-font-body:'DM Sans','Segoe UI',sans-serif;
  --swfl-font-display:'Space Grotesk','Segoe UI',sans-serif;
  --swfl-font-mono:'Space Grotesk','Segoe UI',sans-serif;
  --swfl-navy:#0C2340;--swfl-ink:#0C2340;--swfl-teal:#0E7C8E;--swfl-muted:#566776;
  --swfl-panel:#F1F8FA;--swfl-panel-edge:#CFE5E9;--swfl-line:#DCE8ED;--swfl-brass:#A84E0A;
  --swfl-radius:20px;--swfl-radius-sm:12px;
  --cs-navy:#0C2340;--cs-ink:#0C2340;--cs-teal:#0E7C8E;--cs-teal-dark:#0B6474;
  --cs-aqua:#F1F8FA;--cs-aqua-line:#CFE5E9;--cs-gold:#F58220;--cs-copy:#4A5663;--cs-muted:#566776;
  --s2-gold:#F58220;--s2-ink:#0C2340;--s2-teal:#0E7C8E;--s2-teal-dark:#0B6474;
  font-family:'DM Sans','Segoe UI',sans-serif!important;
}
.swfl-v6 :is(.swfl-bundle-pro,.swfl-ctr-spoke,.swfl-local-profile,.s2-about,.s2-application,.s2-proposal,.s2-search-page,.s2-not-found,.s2-topic-file,.s2-main--fishing,.swfl-events-hub) :is(p,li,dd,td,input,select,textarea){font-family:'DM Sans','Segoe UI',sans-serif!important}
.swfl-v6 :is(.swfl-bundle-pro,.swfl-ctr-spoke,.swfl-local-profile,.s2-about,.s2-application,.s2-proposal,.s2-search-page,.s2-not-found,.s2-topic-file,.s2-main--fishing,.swfl-events-hub) :is(div,span,a){font-family:'DM Sans','Segoe UI',sans-serif!important}
.swfl-v6 :is(.swfl-bundle-pro,.swfl-ctr-spoke,.swfl-local-profile,.s2-about,.s2-application,.s2-proposal,.s2-search-page,.s2-not-found,.s2-topic-file,.s2-main--fishing,.swfl-events-hub) :is(h1,h2,h3,h4,h5,h6,blockquote,b,strong,button,label,summary){font-family:'Space Grotesk','Segoe UI',sans-serif!important}
.swfl-v6 :is(.swfl-bundle-pro,.swfl-ctr-spoke,.swfl-local-profile,.s2-about,.s2-application,.s2-proposal,.s2-search-page,.s2-not-found,.s2-topic-file,.s2-main--fishing,.swfl-events-hub) :is(h1,h2,h3,h4,h5,h6,blockquote,b,strong,button,label,summary) :is(div,span,a){font-family:inherit!important}
.swfl-v6 :is(.swfl-bundle-pro,.swfl-ctr-spoke,.swfl-local-profile,.s2-about,.s2-application,.s2-proposal,.s2-search-page,.s2-not-found) :is(h1,h2,h3,h4){font-weight:700!important;letter-spacing:-.035em!important}
.swfl-v6 :is(.swfl-profile-mono,.swfl-profile-chip,.swfl-pro-glance-label,.swfl-pro-glance-value,.swfl-pro-area-chip,.swfl-pro-work-caption,.swfl-cs-eyebrow,.swfl-cs-breadcrumb,.swfl-cs-quick-picks button){font-family:'Space Grotesk','Segoe UI',sans-serif!important}

/* Secondary editorial pages: finish the typography and card treatments. */
.swfl-v6 .s2-about-source-note{border-radius:24px;box-shadow:0 14px 36px #0C23400A}
.swfl-v6 .s2-about-source-note blockquote{font-size:clamp(24px,2.3vw,32px);line-height:1.25}
.swfl-v6 .s2-about :is(.s2-about-ledger,.s2-about-path-list)>a{border-radius:18px}
.swfl-v6 .s2-about :is(.s2-about-ledger,.s2-about-path-list)>a:hover{background:#F1F8FA}
.swfl-v6 .s2-about-correction a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 24px;border-radius:999px;background:#F58220!important;color:#0C2340!important;font:700 15px/1.35 'Space Grotesk',sans-serif}
.swfl-v6 .s2-application :is(.s2-application-benefits,.s2-application-values)>div{border-radius:20px}
.swfl-v6 .s2-application a[href="#check-availability"]{display:inline-flex;align-items:center;justify-content:center;border-radius:999px!important;min-height:48px;padding:15px 26px!important;background:#F58220!important;color:#0C2340!important;font:700 15px/1.3 'Space Grotesk',sans-serif!important}
.swfl-v6 .s2-application-form__frame{border-radius:24px;overflow:hidden;border:1px solid #CFE5E9}
.swfl-v6 .s2-application-form__visual b{white-space:normal;overflow-wrap:break-word}
.swfl-v6 .s2-application-form .gform_wrapper{border-radius:24px;overflow:hidden}
.swfl-v6 .s2-application .gform_wrapper :is(.gfield_description,.gfield_required,.gform-field-label--type-inline){font-family:'DM Sans','Segoe UI',sans-serif!important}
.swfl-v6 .s2-application :is(.gform_button,button[type="submit"]){color:#0C2340!important;font-family:'Space Grotesk',sans-serif!important}
.swfl-v6 .s2-proposal-hero__price strong{font-size:clamp(48px,5vw,68px);font-weight:700;letter-spacing:-.05em}
.swfl-v6 .s2-proposal-tabs{gap:8px;padding:12px;border:1px solid #DCE8ED;border-radius:20px;background:#F1F8FA}
.swfl-v6 .s2-proposal-tabs button{border:0!important;border-radius:14px!important;min-height:60px;box-shadow:none!important;color:#0C2340!important;background:transparent!important}
.swfl-v6 .s2-proposal-tabs button[aria-selected="true"]{background:#0C2340!important;color:#fff!important}
.swfl-v6 .s2-proposal-tabs button[aria-selected="true"] span{background:#F58220!important;color:#0C2340!important;border-radius:8px}
.swfl-v6 .s2-proposal-panels{margin-top:24px}
.swfl-v6 .s2-proposal-panel{border:1px solid #DCE8ED;border-radius:24px!important;overflow:hidden}
.swfl-v6 .s2-proposal-actions button{border-radius:999px!important;padding:14px 24px!important;min-height:48px}
.swfl-v6 .s2-proposal-actions button:last-child{color:#0C2340!important;background:#F58220!important;border-color:#F58220!important}
.swfl-v6 .s2-proposal-actions button:first-child:not(:last-child){color:#0C2340!important;background:#fff!important;border-color:#CFE5E9!important}
.swfl-v6 .s2-proposal-panel--navy .s2-proposal-actions button:first-child:not(:last-child){color:#fff!important;background:transparent!important;border-color:#ffffff88!important}
.swfl-v6 .s2-proposal-opportunity blockquote{border-left-color:#F58220;font-size:clamp(23px,2.4vw,32px);line-height:1.3}
.swfl-v6 .s2-proposal :is(.swfl-sponsor,.swfl-sponsor__pricing,.swfl-sponsor__summary){border-radius:20px}

/* Contractor categories share the homepage's photograph, rhythm and controls. */
.swfl-v6 .swfl-cs-hero{background:linear-gradient(100deg,#0C2340F7,#0C2340D9),url('img/hero-gated-day.webp') center/cover!important}
.swfl-v6 .swfl-cs-hero__art{display:none}
.swfl-v6 .swfl-cs-hero__inner{padding-block:64px 72px}
.swfl-v6 .swfl-cs-shell{width:min(100% - 96px,1344px)}
.swfl-v6 .swfl-cs-hero h1{font-size:clamp(36px,4.8vw,68px)!important;line-height:1.05!important;max-width:20ch}
.swfl-v6 .swfl-cs-hero__lead{font-size:18px;line-height:1.65;color:#DFE9EF!important}
.swfl-v6 .swfl-cs-combobox>input{padding:18px 20px 18px 50px!important;min-height:60px;border-radius:16px!important;font-size:17px!important}
.swfl-v6 .swfl-cs-combobox>svg{top:21px}
.swfl-v6 .swfl-cs-listbox{border-radius:16px}
.swfl-v6 .swfl-cs-section{padding-block:72px}
.swfl-v6 :is(.swfl-cs-empty,.swfl-cs-result-card,.swfl-cs-roster-card,.swfl-cs-roster-card__communities){border-radius:24px!important}
.swfl-v6 .swfl-cs-empty{border:1px solid #CFE5E9;border-left:4px solid #0E7C8E}
.swfl-v6 .swfl-cs-roster-card{box-shadow:0 14px 36px #0C23400A}
.swfl-v6 .swfl-cs-standards-grid>div{border-radius:18px;padding:24px;border-color:#DCE8ED}
.swfl-v6 .swfl-cs-actions .swfl-cs-btn{padding:12px 20px!important;min-height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px!important;font:700 15px/1.4 'Space Grotesk',sans-serif!important}
.swfl-v6 .swfl-cs-actions .swfl-cs-btn:not(.swfl-cs-btn--quiet){background:#F58220!important;color:#fff!important;border-color:#F58220!important}
.swfl-v6 .swfl-cs-pro-cta{background:#0C2340!important}
.swfl-v6 .swfl-cs-pro-cta a{color:#0C2340!important;background:#F58220!important;border:1px solid #F58220!important;border-radius:999px!important;padding:16px 26px!important}

/* Contractor profiles keep genuine branding and records within v6 surfaces. */
.swfl-v6 .swfl-bundle-pro [data-dc-tpl="940"]{background:#F1F8FA}
.swfl-v6 .swfl-bundle-pro :is([data-dc-tpl="941"],[data-dc-tpl="976"],.swfl-pro-work-inner,.swfl-pro-cta-inner){width:min(100% - 96px,1344px)!important;margin-inline:auto!important;padding-inline:0!important}
.swfl-v6 .swfl-bundle-pro [data-dc-tpl="941"]{padding-block:64px 72px!important;gap:48px!important;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important}
.swfl-v6 .swfl-bundle-pro [data-dc-tpl="949"]{font-size:clamp(36px,4.4vw,60px)!important;line-height:1.06!important;color:#0C2340!important}
.swfl-v6 .swfl-bundle-pro :is([data-dc-tpl="951"],[data-dc-tpl="962"],[data-dc-tpl="979"],[data-dc-tpl="984"],.swfl-pro-services){border-radius:20px!important;overflow:hidden;background:#fff;border-color:#CFE5E9!important}
.swfl-v6 .swfl-bundle-pro [data-dc-tpl="962"]{box-shadow:0 16px 40px #0C23400D;border:1px solid #CFE5E9!important}
.swfl-v6 .swfl-bundle-pro [data-dc-tpl="963"]{padding:28px!important;background:#0C2340!important}
.swfl-v6 .swfl-bundle-pro [data-dc-tpl="965"]{font:600 22px/1.35 'Space Grotesk',sans-serif!important}
.swfl-v6 .swfl-bundle-pro :is([data-dc-tpl="967"],[data-dc-tpl="972"]){padding:20px 28px!important}
.swfl-v6 .swfl-bundle-pro [data-dc-tpl="976"]{padding-block:72px!important;gap:48px!important}
.swfl-v6 .swfl-bundle-pro [data-dc-tpl="979"]{padding:28px!important;background:#F1F8FA}
.swfl-v6 .swfl-bundle-pro [data-dc-tpl="984"]{padding:24px!important;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.swfl-v6 .swfl-bundle-pro .swfl-pro-glance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.swfl-v6 .swfl-bundle-pro .swfl-pro-glance-cell{border:1px solid #CFE5E9;border-radius:16px;padding:18px;background:#F1F8FA}
.swfl-v6 .swfl-bundle-pro .swfl-pro-glance-value{color:#0C2340;font-size:18px;line-height:1.4;font-weight:600}
.swfl-v6 .swfl-bundle-pro .swfl-pro-glance-label{color:#566776;font-size:11px}
.swfl-v6 .swfl-bundle-pro .swfl-pro-service{font-size:16px;padding:16px 20px}
.swfl-v6 .swfl-bundle-pro .swfl-pro-work{padding-block:64px;background:#F1F8FA}
.swfl-v6 .swfl-bundle-pro .swfl-pro-work-item{border-radius:22px;overflow:hidden}
.swfl-v6 .swfl-bundle-pro .swfl-pro-logo{width:76px;min-width:76px;height:76px;padding:12px;border-radius:16px;background:#fff}
.swfl-v6 .swfl-bundle-pro .swfl-pro-logo:has(img){width:180px!important;flex:0 0 180px!important;display:flex;align-items:center;justify-content:center}
.swfl-v6 .swfl-bundle-pro .swfl-pro-logo-image{width:100%!important;height:auto!important;max-width:154px!important;max-height:52px!important;object-fit:contain!important}
.swfl-v6 .swfl-bundle-pro .swfl-pro-actions>a{border-radius:999px!important;min-height:50px;padding:14px 24px!important;font:700 15px/1.4 'Space Grotesk',sans-serif!important}
.swfl-v6 .swfl-bundle-pro .swfl-pro-actions>a:first-child{background:#F58220!important;color:#0C2340!important;border-color:#F58220!important}

/* Local profiles: use a deliberate dark hero for readable identity and actions. */
.swfl-v6 .swfl-local-profile .swfl-profile-hero{background:linear-gradient(115deg,#0C2340,#153D50)!important;color:#fff!important}
.swfl-v6 .swfl-local-profile .swfl-profile-hero h1{color:#fff!important;font-size:clamp(36px,4.6vw,64px)!important}
.swfl-v6 .swfl-local-profile .swfl-profile-hero :is(.swfl-profile-deck,.swfl-profile-source-strip,.swfl-profile-mono){color:#DFE9EF!important}
.swfl-v6 .swfl-local-profile .swfl-profile-hero :is(.swfl-profile-source-strip a,.swfl-profile-disclosure){color:#DFE9EF!important}
.swfl-v6 .swfl-local-profile .swfl-profile-chip{border-radius:999px;padding:9px 13px;line-height:1.3}
.swfl-v6 .swfl-local-profile .swfl-profile-chip--editorial{background:#ffffff14!important;border-color:#ffffff66!important;color:#fff!important}
.swfl-v6 .swfl-local-profile .swfl-profile-button{border-radius:999px!important;background:#F58220!important;border-color:#F58220!important;color:#0C2340!important;font:700 15px/1.4 'Space Grotesk',sans-serif!important;padding:14px 22px}
.swfl-v6 .swfl-local-profile .swfl-profile-hero a.swfl-profile-button:not(.swfl-profile-button--ghost){color:#0C2340!important}
.swfl-v6 .swfl-local-profile .swfl-profile-hero .swfl-profile-button--ghost{background:transparent!important;border-color:#ffffff88!important;color:#fff!important}
.swfl-v6 .swfl-local-profile :is(.swfl-profile-ledger,.swfl-profile-crosslinks){border:1px solid #CFE5E9;border-top:3px solid #0E7C8E;border-radius:20px;overflow:hidden;background:#F1F8FA;padding:24px}
.swfl-v6 .swfl-local-profile :is(.swfl-profile-facts,.swfl-profile-relationship__card,.swfl-profile-fact-note,.swfl-profile-media){border-radius:20px!important;overflow:hidden}
.swfl-v6 .swfl-local-profile .swfl-profile-section-head{padding-bottom:18px;border-bottom:1px solid #CFE5E9}
.swfl-v6 .swfl-local-profile .swfl-profile-facts{margin-top:18px;border:1px solid #DCE8ED}
.swfl-v6 .swfl-local-profile .swfl-profile-facts tr:nth-child(odd){background:#F6FAFB}
.swfl-v6 .swfl-local-profile .swfl-profile-relationship__card{background:#F1F8FA;border:1px solid #CFE5E9;border-left:4px solid #0E7C8E;padding:26px}

/* Search and recovery use readable, evenly sized cards with or without images. */
.swfl-v6 .s2-search-hero h1{overflow-wrap:anywhere}
.swfl-v6 :is(.s2-search-page,.s2-not-found) .s2-site-search{background:transparent!important;padding:0!important;overflow:visible!important}
.swfl-v6 :is(.s2-search-page,.s2-not-found) .s2-site-search label{display:block;color:#DFE9EF!important;margin-bottom:12px;font-size:13px!important}
.swfl-v6 :is(.s2-search-page,.s2-not-found) .s2-site-search>div{display:flex;gap:10px;background:#fff;border-radius:20px;padding:10px}
.swfl-v6 :is(.s2-search-page,.s2-not-found) .s2-site-search input{flex:1;min-width:0;border:0!important;background:transparent!important;min-height:48px;font-size:16px!important}
.swfl-v6 :is(.s2-search-page,.s2-not-found) .s2-site-search button{color:#0C2340!important;padding-inline:28px!important;min-height:48px}
.swfl-v6 .s2-search-group>div{display:grid;gap:16px}
.swfl-v6 .s2-search-row{display:grid!important;grid-template-columns:100px minmax(0,1fr) 24px!important;align-items:center;gap:22px!important;padding:22px!important;border:1px solid #DCE8ED!important;border-radius:20px!important;background:#fff;min-width:0}
.swfl-v6 .s2-search-row:not(:has(>figure)){grid-template-columns:minmax(0,1fr) 24px!important}
.swfl-v6 .s2-search-row>div{min-width:0;max-width:none!important}
.swfl-v6 .s2-search-row figure{width:100px;height:86px;border-radius:14px!important;overflow:hidden;margin:0}
.swfl-v6 .s2-search-row figure img{width:100%;height:100%;object-fit:cover}
.swfl-v6 .s2-search-row:hover{background:#F1F8FA;box-shadow:0 10px 28px #0C23400A}
.swfl-v6 .s2-search-row h4{font-size:23px!important;margin:6px 0!important}
.swfl-v6 .s2-search-row p{font-size:16px!important;line-height:1.6!important;max-width:90ch!important}
.swfl-v6 .s2-not-found__routes{padding-block:36px!important}
.swfl-v6 .s2-not-found__routes .s2-shell{gap:16px}
.swfl-v6 .s2-not-found__routes a{border:1px solid #ffffff33!important;border-radius:20px;padding:28px!important;background:#ffffff08}

/* Topic and event pages inherit the same type and controls as their hubs. */
.swfl-v6 :is(.s2-topic-file,.s2-main--fishing) .swfl-td-search{padding:10px!important;border:1px solid #CFE5E9;border-radius:20px!important;background:#fff!important}
.swfl-v6 :is(.s2-topic-file,.s2-main--fishing) .swfl-td-search__input{padding-left:44px!important;min-height:48px;border:0!important}
.swfl-v6 :is(.s2-topic-file,.s2-main--fishing) .swfl-td-fchip[aria-pressed="true"]{background:#0E7C8E!important;color:#fff!important}
.swfl-v6 .swfl-events-hub :is(.swfl-ev-weekend__head h3,.swfl-ev-date b,.swfl-ev-weekend__range){font-family:'Space Grotesk',sans-serif!important}
.swfl-v6 .swfl-events-hub :is(.swfl-ev-row,.swfl-ev-month,.swfl-ev-calgroup){border-radius:20px!important}
.swfl-v6 .swfl-events-hub .swfl-ev-cta{background:#0C2340!important}

@media(max-width:860px){
  .swfl-v6 .swfl-cs-shell,.swfl-v6 .swfl-bundle-pro :is([data-dc-tpl="941"],[data-dc-tpl="976"],.swfl-pro-work-inner,.swfl-pro-cta-inner){width:calc(100% - 40px)!important}
  .swfl-v6 .swfl-bundle-pro [data-dc-tpl="941"]{grid-template-columns:minmax(0,1fr)!important;gap:30px!important}
  .swfl-v6 .swfl-bundle-pro [data-dc-tpl="976"]{gap:36px!important}
  .swfl-v6 .swfl-cs-hero__inner,.swfl-v6 .swfl-bundle-pro [data-dc-tpl="941"]{padding-block:40px 48px!important}
  .swfl-v6 .swfl-cs-section,.swfl-v6 .swfl-bundle-pro [data-dc-tpl="976"]{padding-block:48px!important}
  .swfl-v6 .swfl-cs-hero__lead{font-size:16px}
  .swfl-v6 .swfl-local-profile :is(.swfl-profile-ledger,.swfl-profile-crosslinks){padding:20px}
}
@media(max-width:620px){
  .swfl-v6 .s2-search-row{grid-template-columns:72px minmax(0,1fr) 18px!important;padding:16px!important;gap:14px!important}
  .swfl-v6 .s2-search-row figure{width:72px;height:76px}
  .swfl-v6 .s2-search-row h4{font-size:20px!important}
  .swfl-v6 .s2-search-row p{font-size:14px!important}
  .swfl-v6 :is(.s2-search-page,.s2-not-found) .s2-site-search>div{flex-wrap:wrap}
  .swfl-v6 :is(.s2-search-page,.s2-not-found) .s2-site-search button{width:100%}
  .swfl-v6 .swfl-bundle-pro .swfl-pro-glance{grid-template-columns:repeat(2,minmax(0,1fr))}
  .swfl-v6 .swfl-bundle-pro .swfl-pro-actions{gap:10px;flex-wrap:wrap}
  .swfl-v6 .swfl-local-profile .swfl-profile-actions{align-items:stretch}
  .swfl-v6 .swfl-local-profile .swfl-profile-button{max-width:100%;white-space:normal}
}
