/* Shelton Insurance Group. Shared public site styles. */
body:has(.shelton-shell) {
  --sig-navy: #152b39;
  --sig-blue: #21485f;
  --sig-cyan: #99c3d5;
  --sig-rule: #cdd3d2;
  --sig-mist: #f1f3f1;
  --sig-brass: #b39a71;
  --sig-paper: #fbfaf7;
  --sig-gutter: clamp(20px, 5.8vw, 86px);
  --sig-width: 1224px;
  background: #fff;
}
body:has(.shelton-shell) > header,
body:has(.shelton-shell) > .main-banner-section,
body:has(.shelton-shell) .quote-content-section > .container:has(.get-a-quote),
body:has(.shelton-shell) .container.index .row > :is(hr,.border_d,#about-ag) { display: none !important; }
body:has(.shelton-shell) .quote-content-section,
body:has(.shelton-shell) .quote-content-section .container.c-section,
body:has(.shelton-shell) .container.c-section > .row,
body:has(.shelton-shell) .editable:has(> .cms-embed .shelton-shell),
body:has(.shelton-shell) .cms-embed:has(.shelton-shell) {
  display: block !important; position: relative; width: 100% !important; max-width: none !important;
  float: none !important; margin: 0 !important; padding: 0 !important;
  min-height: 0 !important; height: auto !important; border: 0 !important;
  box-shadow: none !important; background: white !important;
}
body:has(.shelton-shell) .container.c-section:has(#cpIframe),
body:has(.shelton-shell) .container.c-section:has(form) { margin-inline: auto !important; }
.shelton-shell, .shelton-shell * { box-sizing: border-box; }
.shelton-shell { width: 100%; color: var(--sig-navy); font: 400 17px/1.55 Roboto, Arial, sans-serif; text-align: left; }
.shelton-shell :is(p,h1,h2,h3,h4,figure,nav,ul) { padding: 0; margin: 0; text-shadow: none; text-transform: none; }
.shelton-shell p { font: inherit; color: inherit; text-align: left; }
.shelton-shell :is(h1,h2,h3,h4) { color: var(--sig-navy); font: normal 400 2rem/1.12 Georgia, serif; letter-spacing: -.035em; text-align: left; }
.shelton-shell h1 { font-size: clamp(2.75rem,4.7vw,4.65rem); }
.shelton-shell h2 { font-size: clamp(2.1rem,3.1vw,3.15rem); }
.shelton-shell a { color: var(--sig-blue); text-decoration: underline; text-underline-offset: .19em; }
.shelton-shell a:hover { text-decoration-thickness: 2px; }
.shelton-shell :is(a,summary):focus-visible { outline: 3px solid #e89b36; outline-offset: 4px; }
.sg-wrap { width: min(100%, calc(var(--sig-width) + var(--sig-gutter) * 2)); margin: 0 auto; padding-inline: var(--sig-gutter); }
.sg-bar { background: #132937; color: #f5fafc; }
.sg-bar .sg-wrap { display:flex; gap: 12px 25px; justify-content: flex-end; align-items:center; min-height:38px; }
.sg-bar .sg-loc { margin-right:auto; }
.sg-bar :is(a,span) { color: #f5fafc; font: 500 .875rem/1.3 Roboto,Arial,sans-serif; text-decoration:none; }
.sg-bar a:hover,.sg-nav a:not(.sg-cta):hover,.sg-mobile a:hover { text-decoration: underline; }
.sg-top { position: relative; z-index: 4; background: #fff; border-bottom: 1px solid #c7c1b4; }
.sg-top .sg-wrap { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height: 88px; }
.sg-brand { display:flex; align-items:center; flex:none; padding:6px 0; }
.sg-brand img { display:block; height: 73px; width: auto; max-width: 156px; object-fit:contain; }
/* Match the original site logo to the navy and warm-metal palette. */
.shelton-shell .sg-brand img { filter: saturate(.734) sepia(.392) brightness(.804) contrast(1.767); }
.shelton-shell .sg-nav { display:flex; align-items:center; justify-content:flex-end; gap:clamp(17px,2.6vw,40px); background:none; position:static; border:0; box-shadow:none; }
.sg-nav a,.sg-mobile a,.sg-mobile summary { font: 500 1rem/1.35 Roboto,Arial,sans-serif; color:var(--sig-navy); text-decoration:none; }
.sg-nav a[aria-current=page]:not(.sg-cta) { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:6px; }
.shelton-shell .sg-cta { display:inline-flex; align-items:center; justify-content:center; padding:13px 22px; min-height:46px; border:1px solid var(--sig-blue); border-radius:2px; background:var(--sig-blue); color:white; text-decoration:none; font:600 1rem/1.3 Roboto,Arial,sans-serif; }
.shelton-shell .sg-cta:hover { background:#0a3b58; border-color:#0a3b58; color:white; text-decoration:none; }
.sg-mobile { display:none; }
.sg-skip { position:absolute; left:12px; top:-130px; z-index:20; background:white; padding:9px 20px; }
.sg-skip:focus-visible { top:6px; }
.sg-hero { position:relative; isolation:isolate; overflow:hidden; background:#172e3c; color:white; }
.sg-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:61% 48%; z-index:-2; }
.sg-hero:after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(10,37,55,.99) 0%,rgba(10,37,55,.95) 27%,rgba(10,37,55,.8) 43%,rgba(10,37,55,.21) 68%,rgba(10,37,55,.04) 100%); }
.sg-hero .sg-wrap { padding-block:clamp(52px,5.9vw,92px); }
.shelton-shell .sg-kicker { display:block; color:#246784; font:700 .875rem/1.3 Roboto,Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.sg-hero .sg-kicker { color:#c1dce8; }
.sg-hero h1 { margin:17px 0 16px; max-width:15ch; color:white; font-size:clamp(3.2rem,5.1vw,5.25rem); line-height:1.02; }
.sg-hero .sg-intro { color:#f5f8fa; font:400 clamp(1rem,1.45vw,1.22rem)/1.55 Roboto,Arial,sans-serif; max-width:47ch; }
.sg-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:25px; }
.sg-hero .sg-cta { border-color:#fff; background:#fff; color:#123950; }
.sg-hero .sg-cta:hover { background:#dcebf2; border-color:#dcebf2; color:#123950; }
.sg-hero .sg-alt { background:#102f46b3; color:white; border-color:#cedde6; }
.sg-hero .sg-alt:hover { background:#102f46; color:white; }
.sg-coverage { padding-block:clamp(45px,5vw,78px); }
.sg-sectionhead { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:14px 30px; margin-bottom:26px; }
.sg-sectionhead h2 { margin-top:8px; }
.sg-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(14px,1.65vw,24px); }
.shelton-shell .sg-product { display:flex; flex-direction:column; position:relative; overflow:hidden; background:transparent; color:var(--sig-navy); border:0; border-radius:0; box-shadow:none; text-decoration:none; }
.sg-product img { display:block; width:100%; height:auto; aspect-ratio:1.82; object-fit:cover; background:var(--sig-mist); }
.sg-product .sg-product-body { padding:20px 2px 22px; border-bottom:1px solid var(--sig-rule); display:flex; flex-direction:column; gap:9px; flex:1; }
.sg-product h3 { color:var(--sig-navy); font-size:clamp(1.4rem,2vw,1.9rem); }
.sg-product .sg-desc { font:400 1rem/1.5 Roboto,Arial,sans-serif; color:#385566; }
.sg-product .sg-product-link { margin-top:auto; padding-top:9px; font:600 1rem/1.4 Roboto,Arial,sans-serif; color:var(--sig-blue); text-decoration:underline; text-underline-offset:4px; }
.shelton-shell .sg-product:hover { text-decoration:none; }
.sg-product:hover .sg-product-body, .sg-product:focus-visible .sg-product-body { border-color:#766543; }
.sg-product:hover .sg-product-link { text-decoration-thickness:2px; }
.sg-policy { background:#eff1ed; border-block:1px solid #d6dad2; }
.sg-policy .sg-wrap { display:flex; gap:24px 45px; align-items:center; justify-content:space-between; padding-block:clamp(26px,3vw,44px); }
.sg-policy h2 { font-size:clamp(1.65rem,2.45vw,2.3rem); }
.sg-policy p { color:#365367; margin-top:7px; }
.sg-policy .sg-cta { flex:none; }
.sg-team { display:grid; grid-template-columns:1fr 1.12fr; gap:clamp(40px,7vw,112px); padding-block:clamp(48px,6vw,94px); align-items:start; }
.sg-team h2 { margin:10px 0 14px; max-width:17ch; }
.sg-team p { max-width:48ch; color:#385566; }
.sg-team-links { display:flex; gap:12px 24px; flex-wrap:wrap; margin-top:18px; font-weight:600; }
.sg-team ul { list-style:none; border-top:1px solid var(--sig-rule); }
.sg-team li { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; padding:15px 0; gap:4px 16px; border-bottom:1px solid var(--sig-rule); }
.sg-team li a { font:400 1.4rem/1.35 Georgia,serif; color:var(--sig-navy); }
.sg-team li span { font:500 .95rem/1.5 Roboto,Arial,sans-serif; color:#445e6c; }
.shelton-shell .sg-credit { color:#526675; font:400 .8125rem/1.5 Roboto,Arial,sans-serif; padding-bottom:18px; }
.sg-inner-head { background:var(--sig-navy); color:white; }
.sg-inner-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); }
.sg-inner-copy { align-self:center; padding:clamp(32px,4.25vw,68px) clamp(20px,4vw,68px) clamp(32px,4.25vw,68px) 0; }
.sg-inner-head .sg-kicker { color:#bad8e6; margin:0 0 12px; }
.sg-inner-head h1 { color:#fff; max-width:23ch; }
.sg-inner-head img { display:block; width:100%; height:100%; min-height:215px; max-height:340px; object-fit:cover; }
.sg-inner-full { padding-block:clamp(35px,4vw,66px); }
.sg-inner-body { padding-block:clamp(33px,4.4vw,65px); }
.sg-inner-body > .sig-site { margin:0 !important; width:100%; max-width:86ch; font:400 17px/1.62 Roboto,Arial,sans-serif; }
.shelton-shell .sig-site :is(p,li) { margin:0 0 .95em; color:#344f5f; }
.shelton-shell .sig-site :is(h2,h3) { margin:1.1em 0 .4em; }
.shelton-shell .sig-site h2 { font-size:clamp(1.8rem,2.6vw,2.6rem); }
.shelton-shell .sig-site h3 { font-size:clamp(1.45rem,2.2vw,2rem); }
.shelton-shell .sig-site a { font:600 1rem/1.45 Roboto,Arial,sans-serif; }
.shelton-shell .sig-site .sig-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 22px; }
.shelton-shell .sig-site .sig-actions > a { display:inline-flex; align-items:center; min-height:44px; }
.shelton-shell .sig-site .sig-actions > a:first-child { padding:11px 18px; background:var(--sig-blue); color:white; border-radius:3px; text-decoration:none; }
.shelton-shell .sig-site .sig-actions > a:first-child:hover { background:#0a3b58; }
.shelton-shell .sig-site .sig-two { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); gap:18px 40px; }
.shelton-shell .sig-site .sig-divider { margin-top:28px; border-top:1px solid var(--sig-rule); padding-top:5px; }
.shelton-shell .sig-site [id] { scroll-margin-top:16px; }
body:has(.shelton-shell) > footer { margin:0; padding:34px 0 19px; background:#142936 !important; color:white; }
body:has(.shelton-shell) > footer:before,body:has(.shelton-shell) > footer:after { display:none; }
body:has(.shelton-shell) footer > .container { max-width:calc(var(--sig-width) + 2 * var(--sig-gutter)); width:100%; padding-inline:var(--sig-gutter); }
body:has(.shelton-shell) footer .footer-nav { display:flex; flex-direction:column-reverse; align-items:flex-start; padding:0; margin:0; background:none; }
body:has(.shelton-shell) footer #foot-ag-name { font:400 1.75rem/1.35 Georgia,serif; letter-spacing:-.02em; text-transform:none; color:white; margin:0 0 10px; padding:0; }
body:has(.shelton-shell) footer .footer-nav ul { display:flex; flex-wrap:wrap; gap:4px 22px; margin:0; padding:0; justify-content:flex-start; border:0; }
body:has(.shelton-shell) footer .footer-nav li { margin:0; padding:0; border:0; background:none; }
body:has(.shelton-shell) footer .footer-nav a { font:500 .94rem/1.45 Roboto,Arial,sans-serif; color:#dceaf0; padding:7px 0; text-transform:none; }
body:has(.shelton-shell) footer .footer-nav li:after,body:has(.shelton-shell) footer .footer-nav a:after { display:none; }
body:has(.shelton-shell) footer #footer_address { margin:15px 0; padding:0; border-top:1px solid #557080; }
body:has(.shelton-shell) footer #footer_address li > br:first-child { display:none; }
body:has(.shelton-shell) footer #footer_address li > div { justify-content:flex-start !important; gap:20px clamp(25px,7vw,115px) !important; padding:20px 0 5px !important; }
body:has(.shelton-shell) footer #footer_address :is(ul,li) { padding:0; margin:0; text-align:left; background:none; }
body:has(.shelton-shell) footer .down-content,body:has(.shelton-shell) footer .social-down,body:has(.shelton-shell) footer .copyright { padding:0; margin:0; text-align:left; }
body:has(.shelton-shell) footer .col-md-12 { padding:0; }
body:has(.shelton-shell) footer .copy-right { margin:12px 0 0; text-align:left; }
@media(max-width:900px) {
  .sg-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sg-top .sg-wrap { min-height:72px; }
  .sg-brand img { height:59px; }
  .shelton-shell .sg-nav { display:none; }
  .sg-mobile { display:block; }
  .sg-mobile summary { cursor:pointer; padding:12px 16px; border:1px solid #9db1bd; border-radius:3px; list-style:none; }
  .sg-mobile summary::-webkit-details-marker { display:none; }
  .sg-mobile summary:after { content:""; margin-left:10px; display:inline-block; width:8px; height:8px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg); }
  .sg-mobile[open] summary:after { transform:translateY(2px) rotate(225deg); }
  .sg-mobile nav { position:absolute; z-index:8; inset:100% 0 auto; padding:8px var(--sig-gutter) 16px; background:white; box-shadow:0 8px 15px #102e421c; border-bottom:1px solid var(--sig-rule); }
  .sg-mobile nav a { display:flex; min-height:44px; align-items:center; border-bottom:1px solid #e1e9ed; }
  .sg-hero:after { background:linear-gradient(90deg,#102f46f5 0%,#102f46d9 48%,#102f4633 100%); }
  .sg-team { gap:34px; }
}
@media(max-width:620px) {
  .sg-bar .sg-wrap { min-height:40px; justify-content:space-between; gap:12px; }
  .sg-bar .sg-loc,.sg-bar .sg-hours { display:none; }
  .sg-bar a { display:inline-flex; align-items:center; min-height:42px; }
  .sg-hero { display:flex; flex-direction:column; }
  .sg-hero > img { position:static; height:clamp(125px,31vw,170px); min-height:0; object-position:55% 42%; z-index:auto; order:2; }
  .sg-hero:after { display:none; }
  .sg-hero .sg-wrap { padding-block:32px 30px; }
  .sg-hero h1 { font-size:clamp(2.65rem,9.4vw,3.5rem); margin:12px 0; }
  .sg-hero-actions { gap:9px; margin-top:18px; }
  .sg-hero-actions .sg-cta { padding:11px 14px; }
  .sg-coverage { padding-block:34px; }
  .sg-sectionhead { margin-bottom:18px; }
  .sg-cards { grid-template-columns:1fr; gap:12px; }
  .shelton-shell .sg-product { display:grid; grid-template-columns:minmax(90px,32%) 1fr; }
  .sg-product img { height:100%; min-height:130px; aspect-ratio:auto; }
  .sg-product .sg-product-body { padding:14px; gap:4px; }
  .sg-product .sg-product-link { padding-top:4px; }
  .sg-policy .sg-wrap { flex-direction:column; align-items:flex-start; gap:13px; }
  .sg-team { grid-template-columns:1fr; padding-block:34px; gap:22px; }
  .sg-inner-grid { grid-template-columns:1fr; }
  .sg-inner-copy { padding:30px 0; }
  .sg-inner-head img { display:none; }
  .sg-inner-head h1 { font-size:clamp(2.25rem,8vw,3.2rem); }
  .sg-inner-body { padding-block:28px; }
  body:has(.shelton-shell) footer .footer-nav ul { gap:3px 16px; }
}

/* Keep provider-hosted forms and the service directory within the page grid. */
body:has(.shelton-shell) #cpIframe,
body:has(.shelton-shell) iframe.ccframe {
  display:block; width:min(calc(100% - 2 * var(--sig-gutter)), 1100px) !important;
  max-width:100%; margin:0 auto 45px; border:0;
}
body:has(.shelton-shell) #cpIframe { min-height:1550px; }
body:has(.shelton-shell) iframe.ccframe { min-height:700px; }
body:has(.shelton-shell) #lin:not(:has(.shelton-shell)) {
  display:block; width:100%; max-width:calc(var(--sig-width) + 2 * var(--sig-gutter));
  padding:5px var(--sig-gutter) 32px; margin:0 auto; font:400 17px/1.6 Roboto,Arial,sans-serif;
}
body:has(.shelton-shell) #lin:not(:has(.shelton-shell)) .sig-site { max-width:84ch; margin:0; }
body:has(.shelton-shell) #lin:not(:has(.shelton-shell)) :is(h2,h3) { font-family:Georgia,serif; color:#112e42; font-weight:400; }
body:has(.shelton-shell) #lin:not(:has(.shelton-shell)) a { color:#14577b; text-decoration:underline; }
@media(max-width:620px) {
  body:has(.shelton-shell) :is(#cpIframe,iframe.ccframe) { width:100% !important; }
}
/* Preserve contrast against the host template's default link colors. */
body .shelton-shell .sg-bar a { color:#f5fafc !important; }
body .shelton-shell :is(.sg-nav,.sg-mobile) a:not(.sg-cta) { color:#17394d !important; }
body .shelton-shell a.sg-cta,body .shelton-shell .sig-site .sig-actions > a:first-child { color:white !important; }
body .shelton-shell .sg-hero a.sg-cta:not(.sg-alt) { color:#123950 !important; }
body .shelton-shell .sg-hero a.sg-alt { color:white !important; }
body .shelton-shell .sg-hero h1 { text-wrap:balance; }

/* Editorial treatment across the agency's public pages. */
.shelton-shell { background:var(--sig-paper); }
.shelton-shell .sg-kicker { color:#615840; font-weight:600; letter-spacing:.15em; }
.shelton-shell :is(.sg-hero,.sg-inner-head) .sg-kicker { color:#e6d6b7; }
.shelton-shell :is(.sg-hero,.sg-inner-head,.sg-sectionhead,.sg-team) .sg-kicker {
  display:flex; align-items:center; gap:12px;
}
.shelton-shell :is(.sg-hero,.sg-inner-head,.sg-sectionhead,.sg-team) .sg-kicker::before {
  content:""; width:30px; flex:0 0 30px; height:1px; background:var(--sig-brass);
}
.shelton-shell .sg-hero h1 { letter-spacing:-.038em; line-height:1.07; }
.shelton-shell .sg-hero .sg-intro { color:#edf1f0; max-width:44ch; }
.shelton-shell .sg-hero-actions { gap:12px; margin-top:28px; }
.shelton-shell .sg-hero .sg-cta:not(.sg-alt) { background:#e9ddc6; border-color:#e9ddc6; }
.shelton-shell .sg-hero .sg-cta:not(.sg-alt):hover { background:#fff8ea; border-color:#fff8ea; }
.shelton-shell .sg-hero .sg-alt { background:transparent; border-color:#91a1a8; }
.shelton-shell .sg-hero .sg-alt:hover { background:#293f4c; border-color:#e9ddc6; }
.shelton-shell .sg-inner-head { background:#172e3c; border-bottom:2px solid #ab9673; }
.shelton-shell .sg-inner-head img { border-left:1px solid var(--sig-brass); }
.shelton-shell .sg-product .sg-product-link { color:#244557; text-decoration-color:#8e7955; }
.shelton-shell .sg-team ul { border-top-color:var(--sig-brass); }
.shelton-shell .sg-team li a { text-decoration-color:#a69b85; }
body:has(.shelton-shell) > footer { border-top:2px solid #b39a71; }
@media(min-width:901px) {
  .sg-hero > img { inset:0 0 0 auto; width:49%; height:100%; object-position:60% 50%; filter:saturate(.88); }
  .sg-hero:after { inset:0 49% 0 auto; width:1px; z-index:0; background:#b39a71; }
  .sg-hero .sg-wrap {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:clamp(48px,5vw,82px); align-content:center; padding-block:clamp(48px,4.3vw,76px);
  }
  .sg-hero .sg-wrap > * { grid-column:1; }
  .shelton-shell .sg-hero h1 { font-size:clamp(2.7rem,4.2vw,4.5rem) !important; max-width:20ch !important; }
  .sg-sectionhead { margin-bottom:32px; }
  .sg-inner-copy { padding-block:clamp(48px,4.2vw,70px); }
}
@media(min-width:621px) and (max-width:900px) {
  .sg-hero:after { background:linear-gradient(90deg,#152c3bf7 0%,#152c3bdf 49%,#152c3b60 100%); }
}
@media(max-width:620px) {
  .shelton-shell .sg-hero .sg-wrap { padding-block:30px 25px; }
  .shelton-shell .sg-hero-actions { gap:8px; margin-top:18px; }
  .shelton-shell .sg-hero > img { border-top:1px solid var(--sig-brass); }
  .shelton-shell .sg-kicker { letter-spacing:.11em; }
  .shelton-shell .sg-product { background:white; border:1px solid var(--sig-rule); }
  .shelton-shell .sg-product .sg-product-body { border:0; padding:14px; }
}
