/* GPS blog desktop editorial and conversion architecture.
   Loaded after legacy blog styles; no changes to mobile conversion UI. */
.gps-desktop-promo{display:none}
.gps-neil-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1100px){
  .gps-desktop-promo{display:flex;justify-content:center;align-items:center;gap:24px;min-height:43px;padding:5px 24px;background:#068d9d;color:#fff;font:600 14px/1.4 Arial,sans-serif;text-align:center}
  .gps-desktop-promo a{background:#fff;color:#0a3048!important;padding:7px 17px;border-radius:3px;font-weight:750;text-decoration:none;white-space:nowrap;transition:background .15s}
  .gps-desktop-promo a:hover,.gps-desktop-promo a:focus-visible{background:#e4f4f5;outline-offset:2px}
  body.gps-template-blog-home #header.gps-blog-header,body.gps-template-blog-post #header.gps-blog-header{position:relative!important}
  body.gps-template-blog-home .gps-blog-editorial-header .container{max-width:1210px}
  body.gps-template-blog-home .gps-blog-editorial-header{padding-top:48px;padding-bottom:35px}
  body.gps-template-blog-home .gps-np-category-nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 22px;max-width:1180px;margin:27px auto 0;padding:13px 0;border-top:1px solid #dce8ee;border-bottom:1px solid #dce8ee}
  body.gps-template-blog-home .gps-np-category-nav a{font:600 13px/1.4 Arial,sans-serif;text-decoration:none;color:#274c65;padding:7px 0;border-bottom:2px solid transparent}
  body.gps-template-blog-home .gps-np-category-nav a:hover,body.gps-template-blog-home .gps-np-category-nav a:focus-visible,body.gps-template-blog-home .gps-np-category-nav a[aria-current]{color:#087c8f;border-bottom-color:#0996a7}
  body.gps-template-blog-home .gps-blog-editorial-header h1{font-size:clamp(39px,4.3vw,56px);line-height:1.12;letter-spacing:-.035em}
  body.gps-template-blog-home #body-wrapper.blog-listing>.container{max-width:1240px!important}
  body.gps-template-blog-home .gpsv2-blog-article-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px!important;border:0!important;align-items:stretch}
  body.gps-template-blog-home .gpsv2-blog-article-list>.gps-post-card{display:flex!important;flex-direction:column!important;gap:0!important;background:#fff!important;border:1px solid #e0e8ed!important;border-radius:4px!important;padding:0!important;overflow:hidden;box-shadow:0 5px 18px rgba(12,41,63,.065);transition:transform .16s,box-shadow .16s}
  body.gps-template-blog-home .gpsv2-blog-article-list>.gps-post-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(12,41,63,.11)}
  body.gps-template-blog-home .gpsv2-blog-article-list .gps-post-cover-link{display:block;aspect-ratio:1200/630;width:100%;overflow:hidden;background:#e6f2f4}
  body.gps-template-blog-home .gpsv2-blog-article-list img.gps-post-cover{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s}
  body.gps-template-blog-home .gpsv2-blog-article-list>.gps-post-card:hover img.gps-post-cover{transform:scale(1.018)}
  body.gps-template-blog-home .gpsv2-blog-article-list .gps-post-body{display:flex;flex-direction:column;flex:1;padding:18px 20px 20px!important}
  body.gps-template-blog-home .gpsv2-blog-article-list .gps-post-card h2{font-size:21px!important;font-weight:700!important;line-height:1.32!important;letter-spacing:-.02em;margin:7px 0 10px!important}
  body.gps-template-blog-home .gpsv2-blog-article-list .gps-post-meta{font-size:12px!important;color:#137b91!important;letter-spacing:0!important}
  body.gps-template-blog-home .gpsv2-blog-article-list .gps-post-summary{font-size:14px!important;line-height:1.6!important;max-height:none!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:17px}
  body.gps-template-blog-home .gpsv2-blog-article-list .gps-post-attribution{margin-top:auto;padding-top:13px;border-top:1px solid #ebf0f3;font-size:12px;color:#526879}
  body.gps-template-blog-home .gpsv2-blog-article-list .gps-post-footer{padding:10px 0 0!important}
  .gps-neil-grid-offer{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:15px;min-height:385px;padding:30px 28px;background:#0b2c46;color:#fff;border-radius:4px}
  .gps-neil-grid-offer h2{font:700 29px/1.19 Arial,sans-serif;letter-spacing:-.03em;color:#fff;margin:0}
  .gps-neil-grid-offer p{font:400 15px/1.55 Arial,sans-serif;color:#dfebf0;margin:0}
  .gps-neil-lender-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:8px;width:100%;padding:13px 9px;background:#fff;border-radius:3px}
  .gps-neil-lender-logos img{max-width:100%;width:100%;height:40px;object-fit:contain}
  .gps-neil-grid-offer>a,.gps-neil-wide-offer>a{display:inline-flex;align-items:center;justify-content:center;background:#08a5b5;color:#fff!important;text-decoration:none;font:750 14px/1.2 Arial,sans-serif;padding:13px 20px;border-radius:3px}
  .gps-neil-grid-offer>a:hover,.gps-neil-wide-offer>a:hover{background:#097f8e}
  .gps-neil-wide-offer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:34px 40px;background:linear-gradient(105deg,#0c304e 0%,#0b5166 100%);color:#fff;border-radius:4px}
  .gps-neil-wide-offer h2{font:700 27px/1.24 Arial,sans-serif;color:#fff;margin:0 0 7px}
  .gps-neil-wide-offer p{font:400 15px/1.5 Arial,sans-serif;color:#e1f4f4;margin:0}
  body.gps-template-blog-post .gps-article-wrap-v4 .gps-article-grid{grid-template-columns:minmax(0,750px) minmax(275px,320px)!important;gap:46px!important;max-width:1210px!important}
  body.gps-template-blog-post .gps-article-wrap-v4 .gps-article-sidebar{display:block!important;overflow:visible!important;position:static!important;max-height:none!important}
  body.gps-template-blog-post .gps-neil-sticky{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow-y:auto;overscroll-behavior:contain;padding:15px 16px 16px;background:#fff;border:1px solid #d8e5ec;border-radius:5px;box-shadow:0 7px 21px rgba(14,47,73,.08);margin-bottom:22px;scrollbar-width:thin}
  .gps-neil-share{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:1px 0 14px;border-bottom:1px solid #e2e9ee}
  .gps-neil-share>span:first-child{font:700 12px Arial,sans-serif;color:#4d6578;margin-right:5px}
  .gps-neil-share a,.gps-neil-share button{display:inline-flex;align-items:center;justify-content:center;min-width:31px;height:31px;border:1px solid #d8e3e9;background:#fff;border-radius:3px;color:#17435e;text-decoration:none;font:750 13px Arial,sans-serif;padding:0 7px;cursor:pointer}
  .gps-neil-share a:hover,.gps-neil-share button:hover{background:#eaf7f8}
  .gps-neil-share button{font-size:10px}
  .gps-neil-toc{margin:17px 0 15px}
  .gps-neil-toc[hidden]{display:none!important}
  .gps-neil-toc h2{font:700 17px/1.2 Arial,sans-serif!important;color:#112f45;margin:0 0 12px}
  .gps-neil-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px}
  .gps-neil-toc li{list-style:none;margin:0}
  .gps-neil-toc a{display:block;text-decoration:none;color:#466174;font:500 12px/1.35 Arial,sans-serif;border-left:3px solid transparent;padding:7px 7px 7px 10px}
  .gps-neil-toc a:hover,.gps-neil-toc a[aria-current]{border-left-color:#059daf;background:#effafb;color:#0a354d;font-weight:700}
  .gps-neil-rail-actions{display:flex;flex-direction:column;gap:9px;padding-top:14px;border-top:1px solid #e2e9ee}
  .gps-neil-rail-actions a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;text-align:center;font:700 13px/1.4 Arial,sans-serif;padding:10px;border-radius:3px;text-decoration:none}
  .gps-neil-rail-actions .gps-neil-primary{background:#0a344f;color:#fff}
  .gps-neil-rail-actions .gps-neil-secondary{border:1px solid #0a93a3;color:#076c7c;background:#fff}
  body.gps-template-blog-post .gps-article-toc--inline{display:none!important}
  .gps-neil-inline-offer{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#0b2c46;color:#fff;padding:26px 29px;margin:0 0 31px;border-radius:4px}
  .gps-neil-inline-offer h2{font:700 23px/1.25 Arial,sans-serif!important;color:#fff;margin:0 0 8px}
  .gps-neil-inline-offer p{font:400 14px/1.55 Arial,sans-serif;color:#d8e9ee;margin:0}
  .gps-neil-inline-offer a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:#08a5b5;color:#fff;text-decoration:none;border-radius:3px;padding:13px 17px;font:700 13px/1.35 Arial,sans-serif;max-width:195px;text-align:center}
  .gps-neil-scroll-drawer{position:fixed;bottom:20px;right:22px;z-index:1005;width:min(650px,calc(100vw - 44px));padding:22px 24px;background:#fff;border-top:5px solid #078f9f;box-shadow:0 12px 47px rgba(4,28,44,.26);border-radius:5px}
  .gps-neil-scroll-drawer[hidden]{display:none!important}
  .gps-neil-drawer-close{position:absolute;right:10px;top:5px;background:transparent;border:0;color:#2f5365;font-size:26px;cursor:pointer;padding:3px 8px}
  .gps-neil-drawer-heading{font:700 18px/1.3 Arial,sans-serif;color:#0a304b;padding-right:25px;margin-bottom:12px}
  .gps-neil-drawer-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .gps-neil-drawer-grid>div{display:flex;flex-direction:column;gap:8px;padding:15px;background:#f4f9fb}
  .gps-neil-drawer-grid h2{font:700 16px/1.3 Arial,sans-serif!important;margin:0;color:#0a314a}
  .gps-neil-drawer-grid p{font:400 13px/1.4 Arial,sans-serif;color:#506a7a;margin:0}
  .gps-neil-drawer-grid a{display:block;text-decoration:none;color:#fff;background:#0b8294;text-align:center;padding:10px 12px;border-radius:3px;font:700 12px/1.3 Arial,sans-serif;margin-top:auto}
}
@media(max-width:1099px){
  .gps-neil-grid-offer,.gps-neil-wide-offer,.gps-neil-inline-offer,.gps-neil-sticky,.gps-neil-scroll-drawer{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .gps-template-blog-home .gps-post-card,.gps-template-blog-home .gps-post-cover{transition:none!important;transform:none!important}
}

/* Compact editorial index: keep teal distinct from the navy site navigation. */
.gps-desktop-promo{display:flex;justify-content:center;align-items:center;gap:14px;min-height:53px;padding:8px 16px;background:#087f91!important;color:#fff;text-align:center;font:600 20px/1.35 Arial,sans-serif}
.gps-desktop-promo .gps-promo-spark{display:inline-block;flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#ff8b32;box-shadow:0 0 0 0 rgba(255,139,50,.5);animation:gps-blog-spark 2.8s ease-out infinite}
.gps-desktop-promo a{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:#c4510c!important;color:#ffffff!important;padding:9px 17px;border-radius:4px;font-size:18px;font-weight:800;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:background .15s}
.gps-desktop-promo a:hover,.gps-desktop-promo a:focus-visible{background:#a63e00!important;color:#ffffff!important;outline:2px solid #fff;outline-offset:2px}

/* First three most-recent articles, by the existing date-descending Grav collection.
   Ribbon is placed INSIDE the image link and cannot create a separate text strip. */
.gps-template-blog-home .gps-post-cover-link{position:relative!important;display:block;overflow:hidden!important;isolation:isolate}
.gps-template-blog-home .gps-post-new-ribbon{position:absolute!important;top:14px!important;right:-28px!important;z-index:5!important;width:112px!important;padding:5px 0!important;transform:rotate(45deg)!important;background:#f57428!important;color:#fff!important;font:800 11px/1.25 Arial,sans-serif!important;letter-spacing:.09em!important;text-align:center!important;box-shadow:0 2px 7px rgba(4,26,45,.2)!important;pointer-events:none!important}

/* Tighten the index opening as a single editorial header; no oversized hero whitespace. */
@media(min-width:701px){
 body.gps-template-blog-home .gps-blog-editorial-header{padding:15px 0 0!important;margin:0!important}
 body.gps-template-blog-home .gps-blog-editorial-header h1{font-size:clamp(27px,2.15vw,36px)!important;line-height:1.12!important;margin:0!important;letter-spacing:-.025em!important}
 body.gps-template-blog-home .gps-blog-editorial-header .gps-np-category-nav{gap:5px 18px!important;margin:11px auto 0!important;padding:6px 0!important;line-height:1.2!important}
 body.gps-template-blog-home #start{padding:0!important;margin:0!important}
 body.gps-template-blog-home #body-wrapper.blog-listing{padding:14px 0 44px!important;margin:0!important}
 body.gps-template-blog-home .gps-listing-intro{margin:0 0 12px!important;padding:0!important}
 body.gps-template-blog-home .gps-listing-intro h2{font-size:clamp(23px,1.95vw,30px)!important;line-height:1.2!important;margin:0!important}
}
@media(max-width:700px){
 .gps-desktop-promo{gap:8px;padding:8px 9px;font-size:16.5px;flex-wrap:wrap}
 .gps-desktop-promo a{padding:8px 11px;font-size:16px}
 .gps-template-blog-home .gps-post-new-ribbon{top:12px!important}
 body.gps-template-blog-home .gps-blog-editorial-header{padding:13px 0 0!important}
 body.gps-template-blog-home #body-wrapper.blog-listing{padding-top:14px!important}
}

/* Restored restrained pulse for the existing banner attention cue. */
@keyframes gps-blog-spark{0%,100%{box-shadow:0 0 0 0 rgba(255,139,50,0)}18%{box-shadow:0 0 0 0 rgba(255,139,50,.48)}65%{box-shadow:0 0 0 8px rgba(255,139,50,0)}}
@media(prefers-reduced-motion:reduce){.gps-desktop-promo .gps-promo-spark{animation:none}}

/* Mobile header repair: keep menu inside navy navigation and reviews in normal flow.
   This intentionally overrides the legacy fixed hamburger and sticky header rules. */
@media(max-width:840px){
  body[class*="gps-template-blog-"] #header.gps-blog-header{
    position:relative!important;
    top:auto!important;
    z-index:10!important;
    transform:none!important;
    overflow:visible!important;
  }
  /* Keep the hamburger above the expanded overlay so Close remains usable. */
  body.mobile-nav-open #header.gps-blog-header{z-index:3005!important}
  body[class*="gps-template-blog-"] #header .gps-blog-nav{
    position:relative!important;
    min-height:66px!important;
    padding-right:55px!important;
  }
  body[class*="gps-template-blog-"] #header .mobile-menu{
    position:absolute!important;
    top:50%!important;
    right:0!important;
    bottom:auto!important;
    left:auto!important;
    transform:translateY(-50%)!important;
    z-index:3006!important;
    display:block!important;
  }
  body[class*="gps-template-blog-"] #header .mobile-menu .button_container{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    display:block!important;
    width:34px!important;
    height:31px!important;
    z-index:3007!important;
  }
  body[class*="gps-template-blog-"] #header .gps-header-review-strip{
    position:relative!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    z-index:1!important;
    clear:both!important;
    margin:0!important;
  }
  body[class*="gps-template-blog-"] .gps-desktop-promo{
    position:relative!important;
    z-index:1!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:6px 9px!important;
    padding:8px 12px!important;
    min-height:53px!important;
    font-size:16.5px!important;
    line-height:1.35!important;
  }
  body[class*="gps-template-blog-"] .gps-desktop-promo>a{font-size:16px!important;padding:9px 14px!important}
  body.gps-template-blog-home .gps-blog-editorial-header{
    position:relative!important;
    z-index:0!important;
    padding:17px 0 0!important;
    margin:0!important;
    clear:both!important;
  }
  body.gps-template-blog-home .gps-blog-editorial-header h1{
    font-size:clamp(28px,7.3vw,34px)!important;
    line-height:1.18!important;
    margin:0!important;
    padding:0!important;
  }
  body.gps-template-blog-home .gps-blog-editorial-header .gps-np-category-nav{
    margin-top:12px!important;
    padding:7px 0!important;
  }
  body.gps-template-blog-home #start,
  body.gps-template-blog-home #body-wrapper.blog-listing{
    position:relative!important;
    top:auto!important;
    transform:none!important;
    margin-top:0!important;
  }
  body.gps-template-blog-home #body-wrapper.blog-listing{padding-top:15px!important}
  body.gps-template-blog-home .gps-listing-intro{margin-bottom:12px!important}
  body.gps-template-blog-home .gps-listing-intro h2{font-size:clamp(24px,6vw,29px)!important;line-height:1.22!important}
  body.gps-template-blog-home .gpsv2-blog-article-list .gps-post-card h2{
    font-size:20px!important;
    line-height:1.34!important;
  }
}

/* Rating strip is a normal-flow sibling of the header, not a header child. */
body[class*="gps-template-blog-"] .gps-header-review-strip{position:relative!important;inset:auto!important;transform:none!important;z-index:1!important;display:flex!important;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;min-height:31px;padding:5px 12px;margin:0!important;background:#0b2942;color:#fff;font:500 13px/1.35 Arial,sans-serif;clear:both}
body[class*="gps-template-blog-"] .gps-header-review-strip__stars{color:#ffc247!important;font-size:16px;letter-spacing:1px;white-space:nowrap}
body[class*="gps-template-blog-"] .gps-header-review-strip__label{color:#fff}
@media(max-width:500px){body[class*="gps-template-blog-"] .gps-header-review-strip{gap:6px;font-size:12px}body[class*="gps-template-blog-"] .gps-header-review-strip__stars{font-size:14px}}


/* Compact promo copy + inline sequential loan icon animation.
   The loan icon slot belongs to the sentence, never starts a mobile row. */
body[class*="gps-template-blog-"] .gps-desktop-promo{
  min-height:53px;
  gap:14px;
  font-size:16px!important;
}
body[class*="gps-template-blog-"] .gps-promo-message{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:8px;
  min-width:0;
}
body[class*="gps-template-blog-"] .gps-promo-icons{
  position:relative;
  display:inline-block;
  flex:0 0 20px;
  width:20px;
  height:20px;
  vertical-align:middle;
}
body[class*="gps-template-blog-"] .gps-promo-icon{
  position:absolute;
  top:0;
  left:0;
  width:20px;
  height:20px;
  fill:none;
  stroke:#fff;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:0;
  animation:gps-promo-icon-sequence 8s infinite;
}
body[class*="gps-template-blog-"] .gps-promo-icon:nth-child(1){animation-delay:0s}
body[class*="gps-template-blog-"] .gps-promo-icon:nth-child(2){animation-delay:2s}
body[class*="gps-template-blog-"] .gps-promo-icon:nth-child(3){animation-delay:4s}
body[class*="gps-template-blog-"] .gps-promo-icon:nth-child(4){animation-delay:6s}
@keyframes gps-promo-icon-sequence{
  0%,3%{opacity:0;transform:translateY(3px)}
  6%,21%{opacity:1;transform:translateY(0)}
  24%,100%{opacity:0;transform:translateY(-3px)}
}
@media(max-width:840px){
  body[class*="gps-template-blog-"] .gps-desktop-promo{font-size:14px!important;gap:8px;min-height:53px}
  body[class*="gps-template-blog-"] .gps-promo-message{gap:5px;white-space:nowrap}
  body[class*="gps-template-blog-"] .gps-promo-icons{flex-basis:17px;width:17px;height:17px}
  body[class*="gps-template-blog-"] .gps-promo-icon{width:17px;height:17px}
  body[class*="gps-template-blog-"] .gps-desktop-promo>a{font-size:14px!important}
}
@media(max-width:360px){
  body[class*="gps-template-blog-"] .gps-desktop-promo{font-size:13px!important}
}
@media(prefers-reduced-motion:reduce){
  body[class*="gps-template-blog-"] .gps-promo-icon{animation:none!important;opacity:0}
  body[class*="gps-template-blog-"] .gps-promo-icon:first-child{opacity:1}
}


/* Blog top banner: icon sequence PRECEDES the copy; orange, not white. */
body[class*="gps-template-blog-"] .gps-promo-icon{stroke:#ff8a32!important}
body[class*="gps-template-blog-"] .gps-desktop-promo>a{
  font-size:16px!important;
  line-height:1.35!important;
  text-transform:uppercase;
}
@media(max-width:840px){
  body[class*="gps-template-blog-"] .gps-desktop-promo>a{font-size:14px!important}
}
/* Six verified lender logos instead of the previous fixed three. */
@media(min-width:1100px){
  body.gps-template-blog-home .gps-neil-lender-logos{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px 12px;
    padding:13px;
  }
  body.gps-template-blog-home .gps-neil-lender-logos img{
    width:100%;
    height:33px;
    max-width:100%;
    object-fit:contain;
  }
  body.gps-template-blog-home .gps-neil-grid-offer{justify-content:center;min-height:385px}
}
/* Blog homepage conversion banners use one orange CTA treatment. */
body.gps-template-blog-home .gps-neil-grid-offer>a,
body.gps-template-blog-home .gps-neil-wide-offer>a,
body.gps-template-blog-home .gps-knowledge-bottom-cta a.gps-btn-primary,
body.gps-template-blog-home .gps-journal-conversion-band a.gps-btn-primary{
  background:#c4510c!important;
  color:#fff!important;
  border-color:#c4510c!important;
}
body.gps-template-blog-home .gps-neil-grid-offer>a:hover,
body.gps-template-blog-home .gps-neil-wide-offer>a:hover,
body.gps-template-blog-home .gps-knowledge-bottom-cta a.gps-btn-primary:hover,
body.gps-template-blog-home .gps-journal-conversion-band a.gps-btn-primary:hover{
  background:#a63e00!important;
  color:#fff!important;
  border-color:#a63e00!important;
}


/* Ten-product proof/curiosity carousel. Green tick stays fixed, CTA stays fixed. */
body[class*="gps-template-blog-"] .gps-desktop-promo{
  align-items:center;
}
body[class*="gps-template-blog-"] .gps-promo-message{
  display:inline-flex!important;
  flex-wrap:nowrap!important;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-width:0;
  max-width:min(800px,calc(100vw - 320px));
}
body[class*="gps-template-blog-"] .gps-promo-success{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  color:#63df8e;
  font-size:22px;
  font-weight:900;
  line-height:1;
}
body[class*="gps-template-blog-"] .gps-promo-headlines{display:block;min-width:0}
body[class*="gps-template-blog-"] .gps-promo-headline{display:block;line-height:1.35}
body[class*="gps-template-blog-"] .gps-promo-headline[hidden]{display:none!important}
body[class*="gps-template-blog-"] .gps-promo-headline.gps-promo-enter{animation:gps-promo-headline-in .28s ease-out both}
@keyframes gps-promo-headline-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:840px){
  body[class*="gps-template-blog-"] .gps-desktop-promo{flex-wrap:wrap!important;justify-content:center}
  body[class*="gps-template-blog-"] .gps-promo-message{
    max-width:100%;
    white-space:normal!important;
    gap:7px;
    justify-content:center;
    text-align:center;
  }
  body[class*="gps-template-blog-"] .gps-promo-success{font-size:19px}
  body[class*="gps-template-blog-"] .gps-promo-headlines{min-width:0}
  body[class*="gps-template-blog-"] .gps-promo-headline{white-space:normal}
}
@media(prefers-reduced-motion:reduce){
  body[class*="gps-template-blog-"] .gps-promo-headline.gps-promo-enter{animation:none!important}
}


/* Blog promo CTA typography must visually match the rotating copy.
   Legacy .gps-desktop-promo a font-weight:800 created a larger-looking label. */
body[class*="gps-template-blog-"] .gps-desktop-promo .gps-promo-headline,
body[class*="gps-template-blog-"] .gps-desktop-promo > a{
  font-family:Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
body[class*="gps-template-blog-"] .gps-desktop-promo > a{
  padding:7px 13px!important;
}
@media(max-width:840px){
  body[class*="gps-template-blog-"] .gps-desktop-promo .gps-promo-headline,
  body[class*="gps-template-blog-"] .gps-desktop-promo > a{
    font-size:14px!important;
  }
  body[class*="gps-template-blog-"] .gps-desktop-promo > a{
    padding:6px 11px!important;
  }
}
@media(max-width:360px){
  body[class*="gps-template-blog-"] .gps-desktop-promo .gps-promo-headline,
  body[class*="gps-template-blog-"] .gps-desktop-promo > a{
    font-size:13px!important;
  }
}


/* Mobile conversion banner: readable case-study proof above a full-width CTA.
   Override old inline compact banner rules; nav stays a separate row below. */
@media(max-width:840px){
  body[class*="gps-template-blog-"] .gps-desktop-promo{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-height:auto!important;
    margin:0!important;
    padding:12px 16px 14px!important;
    gap:10px!important;
    font-size:18px!important;
    line-height:1.3!important;
  }
  body[class*="gps-template-blog-"] .gps-desktop-promo .gps-promo-message{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:8px!important;
    white-space:normal!important;
    text-align:center!important;
  }
  body[class*="gps-template-blog-"] .gps-desktop-promo .gps-promo-success{
    flex:0 0 auto!important;
    font-size:22px!important;
    line-height:1.3!important;
    margin:0!important;
  }
  body[class*="gps-template-blog-"] .gps-desktop-promo .gps-promo-headlines{
    min-width:0!important;
    max-width:100%!important;
  }
  body[class*="gps-template-blog-"] .gps-desktop-promo .gps-promo-headline,
  body[class*="gps-template-blog-"] .gps-desktop-promo > a{
    font-family:Arial,sans-serif!important;
    font-size:18px!important;
    font-weight:600!important;
    letter-spacing:0!important;
    line-height:1.3!important;
  }
  body[class*="gps-template-blog-"] .gps-desktop-promo .gps-promo-headline{
    white-space:normal!important;
    overflow-wrap:normal!important;
    text-align:center!important;
  }
  body[class*="gps-template-blog-"] .gps-desktop-promo > a{
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-height:48px!important;
    margin:0!important;
    padding:11px 16px!important;
    border-radius:6px!important;
    white-space:nowrap!important;
  }
  body[class*="gps-template-blog-"] #header.gps-blog-header{
    position:relative!important;
    top:auto!important;
    margin-top:0!important;
    clear:both!important;
  }
  body[class*="gps-template-blog-"] #header .mobile-menu{
    position:absolute!important;
    top:50%!important;
    bottom:auto!important;
    right:0!important;
    left:auto!important;
    transform:translateY(-50%)!important;
  }
  body[class*="gps-template-blog-"] #header .mobile-menu .button_container{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
  }
}


/* Article desktop conversion hierarchy: full-height sticky TOC with a single action.
   Sidebar must stretch for sticky positioning to persist while reading the body. */
@media(min-width:1100px){
  body.gps-template-blog-post .gps-article-wrap-v4 .gps-article-grid{
    align-items:stretch!important;
    overflow:visible!important;
  }
  body.gps-template-blog-post .gps-article-wrap-v4 .gps-article-grid>.gps-article-sidebar{
    align-self:stretch!important;
    position:relative!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    contain:none!important;
    transform:none!important;
  }
  body.gps-template-blog-post .gps-article-wrap-v4 .gps-article-sidebar>.gps-neil-sticky{
    position:sticky!important;
    top:18px!important;
    align-self:start!important;
    z-index:3!important;
    max-height:calc(100vh - 36px)!important;
    overflow-y:auto!important;
  }
  body.gps-template-blog-post .gps-neil-toc-subsection a{
    padding-left:22px;
    font-size:12px;
  }
  body.gps-template-blog-post .gps-neil-rail-actions .gps-neil-secondary{
    display:none!important;
  }
}


/* Desktop blog post: present navigation beside the title, not two scrolls later.
   JS supplies the measured hero-to-title offset; sticky container remains in
   the article grid for full-length scrolling. No mobile layout changes. */
@media(min-width:1100px){
  body.gps-template-blog-post .gps-article-hero-v4 .container{
    max-width:1210px!important;
  }
  body.gps-template-blog-post .gps-article-hero-v4 .gps-article-heading-layout,
  body.gps-template-blog-post .gps-article-hero-v4 .gps-article-heading-copy{
    max-width:750px!important;
  }
  body.gps-template-blog-post .gps-article-hero-v4 h1,
  body.gps-template-blog-post .gps-article-hero-v4 .gps-article-cover{
    max-width:750px!important;
  }
  body.gps-template-blog-post .gps-article-wrap-v4 .gps-article-grid>.gps-article-sidebar{
    margin-top:calc(-1 * var(--gps-article-sidebar-rise,0px))!important;
  }
  body.gps-template-blog-post .gps-article-wrap-v4 .gps-article-sidebar>.gps-neil-sticky{
    top:18px!important;
    margin-bottom:14px!important;
  }
  body.gps-template-blog-post .gps-neil-rail-actions .gps-neil-primary,
  body.gps-template-blog-post .gps-neil-rail-actions .gps-neil-primary:visited{
    background:#c4510c!important;
    color:#fff!important;
    border:1px solid #c4510c!important;
    font-weight:700!important;
    font-size:14px!important;
    min-height:46px;
    text-decoration:none!important;
  }
  body.gps-template-blog-post .gps-neil-rail-actions .gps-neil-primary:hover,
  body.gps-template-blog-post .gps-neil-rail-actions .gps-neil-primary:focus-visible{
    background:#a63e00!important;
    border-color:#a63e00!important;
    color:#fff!important;
  }
  body.gps-template-blog-post .gps-neil-scroll-drawer{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:18px!important;
    transform:translateX(-50%)!important;
    box-sizing:border-box!important;
    width:min(580px,calc(100vw - 48px))!important;
    padding:20px 24px 22px!important;
    border:1px solid #d7e2e9!important;
    border-top:4px solid #087f91!important;
    border-radius:8px!important;
    box-shadow:0 13px 40px rgba(4,26,43,.22)!important;
    background:#fff!important;
    z-index:1005!important;
    text-align:center!important;
  }
  body.gps-template-blog-post .gps-neil-scroll-drawer[hidden]{
    display:none!important;
  }
  body.gps-template-blog-post .gps-neil-drawer-heading{
    margin:0 28px 7px!important;
    color:#0c2e47!important;
    font:700 19px/1.3 Arial,sans-serif!important;
  }
  body.gps-template-blog-post .gps-neil-drawer-copy{
    margin:0 8px 14px!important;
    color:#4a6577!important;
    font:400 14px/1.5 Arial,sans-serif!important;
  }
  body.gps-template-blog-post .gps-neil-drawer-primary,
  body.gps-template-blog-post .gps-neil-drawer-primary:visited{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:49px!important;
    box-sizing:border-box!important;
    padding:12px 20px!important;
    color:#fff!important;
    background:#c4510c!important;
    font:700 15px/1.3 Arial,sans-serif!important;
    text-decoration:none!important;
    border-radius:5px!important;
  }
  body.gps-template-blog-post .gps-neil-drawer-primary:hover,
  body.gps-template-blog-post .gps-neil-drawer-primary:focus-visible{
    background:#a63e00!important;
  }
  body.gps-template-blog-post .gps-neil-drawer-close{
    top:8px!important;
    right:10px!important;
  }
}


/* Shared Neil-style finance offer: one compact, bottom-centred action.
   Keep mobile article two-tab drawer as the only mobile article overlay. */
@media(min-width:1100px){
  body.gps-template-blog-home .gps-neil-scroll-drawer:not([hidden]),
  body.gps-template-blog-post .gps-neil-scroll-drawer:not([hidden]){
    display:flex!important;
  }
}
body.gps-template-blog-home .gps-neil-scroll-drawer,
body.gps-template-blog-post .gps-neil-scroll-drawer{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:14px!important;
  top:auto!important;
  transform:translateX(-50%)!important;
  z-index:1005!important;
  box-sizing:border-box!important;
  width:min(950px,calc(100vw - 36px))!important;
  min-height:94px!important;
  max-height:none!important;
  padding:13px 54px 13px 17px!important;
  margin:0!important;
  display:flex;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  border:1px solid #40454d!important;
  border-radius:10px!important;
  background:#25272d!important;
  color:#fff!important;
  box-shadow:0 12px 38px rgba(5,22,40,.28)!important;
  text-align:left!important;
  overflow:visible!important;
}
body.gps-template-blog-home .gps-neil-scroll-drawer[hidden],
body.gps-template-blog-post .gps-neil-scroll-drawer[hidden]{display:none!important}
body.gps-template-blog-home .gps-neil-drawer-photo,
body.gps-template-blog-post .gps-neil-drawer-photo{
  display:block!important;
  flex:0 0 66px!important;
  width:66px!important;
  height:66px!important;
  border-radius:50%!important;
  object-fit:cover!important;
  object-position:center 20%!important;
  border:2px solid #4dcbd0!important;
  background:#e8edf0!important;
}
body.gps-template-blog-home .gps-neil-drawer-text,
body.gps-template-blog-post .gps-neil-drawer-text{
  flex:1 1 auto!important;
  min-width:0!important;
}
body.gps-template-blog-home .gps-neil-drawer-heading,
body.gps-template-blog-post .gps-neil-drawer-heading{
  display:block!important;
  margin:0 0 4px!important;
  font:700 19px/1.24 Arial,sans-serif!important;
  letter-spacing:-.01em!important;
  color:#fff!important;
}
body.gps-template-blog-home .gps-neil-drawer-copy,
body.gps-template-blog-post .gps-neil-drawer-copy{
  margin:0!important;
  font:400 14px/1.35 Arial,sans-serif!important;
  color:#d3dee6!important;
}
body.gps-template-blog-home .gps-neil-drawer-primary,
body.gps-template-blog-post .gps-neil-drawer-primary,
body.gps-template-blog-home .gps-neil-drawer-primary:visited,
body.gps-template-blog-post .gps-neil-drawer-primary:visited{
  display:flex!important;
  flex:0 0 225px!important;
  align-items:center!important;
  justify-content:center!important;
  width:225px!important;
  min-width:0!important;
  max-width:225px!important;
  min-height:52px!important;
  padding:12px!important;
  box-sizing:border-box!important;
  margin:0!important;
  border-radius:6px!important;
  border:0!important;
  background:#c4510c!important;
  color:#fff!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  font:700 15px/1.3 Arial,sans-serif!important;
}
body.gps-template-blog-home .gps-neil-drawer-primary:hover,
body.gps-template-blog-post .gps-neil-drawer-primary:hover,
body.gps-template-blog-home .gps-neil-drawer-primary:focus-visible,
body.gps-template-blog-post .gps-neil-drawer-primary:focus-visible{
  background:#a63e00!important;
  color:#fff!important;
}
body.gps-template-blog-home .gps-neil-drawer-close,
body.gps-template-blog-post .gps-neil-drawer-close{
  position:absolute!important;
  display:block!important;
  top:7px!important;
  right:9px!important;
  left:auto!important;
  padding:2px 5px!important;
  color:#d5dde3!important;
  font-size:25px!important;
  line-height:1!important;
  background:transparent!important;
  border:0!important;
  cursor:pointer!important;
}
@media(max-width:1099px){
  body.gps-template-blog-post .gps-neil-scroll-drawer{display:none!important}
  body.gps-template-blog-home .gps-neil-scroll-drawer:not([hidden]){
    display:flex!important;
  }
}
@media(max-width:700px){
  body.gps-template-blog-home .gps-neil-scroll-drawer{
    width:calc(100vw - 22px)!important;
    bottom:9px!important;
    gap:9px!important;
    min-height:0!important;
    padding:13px 34px 12px 12px!important;
    border-radius:8px!important;
  }
  body.gps-template-blog-home .gps-neil-drawer-photo{
    flex-basis:42px!important;
    width:42px!important;
    height:42px!important;
  }
  body.gps-template-blog-home .gps-neil-drawer-heading{
    font-size:13px!important;
    line-height:1.25!important;
    margin:0!important;
  }
  body.gps-template-blog-home .gps-neil-drawer-copy{display:none!important}
  body.gps-template-blog-home .gps-neil-drawer-primary,
  body.gps-template-blog-home .gps-neil-drawer-primary:visited{
    flex:0 0 120px!important;
    width:120px!important;
    max-width:120px!important;
    min-height:44px!important;
    font-size:11px!important;
    white-space:normal!important;
    text-align:center!important;
  }
}


/* Only homepage in-feed finance offer: rotating lender network.
   Preserve six images for predictable layout while cycling 69 verified assets. */
body.gps-template-blog-home .gpsv2-blog-article-list > .gps-neil-lenders-offer{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:15px!important;
  min-height:0!important;
  padding:23px 21px 22px!important;
  background:#0b2c46!important;
  color:#fff!important;
  border-radius:6px!important;
  overflow:hidden!important;
}
body.gps-template-blog-home .gps-neil-lenders-offer h2{
  color:#fff!important;
  font:700 24px/1.2 Arial,sans-serif!important;
  letter-spacing:-.025em!important;
  margin:0!important;
}
body.gps-template-blog-home .gps-neil-lenders-offer p{
  color:#d9e8ef!important;
  font:400 14px/1.5 Arial,sans-serif!important;
  margin:0!important;
}
body.gps-template-blog-home .gps-neil-lenders-offer .gps-neil-lender-logos{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,48px)!important;
  gap:10px!important;
  width:100%!important;
  min-height:116px!important;
  box-sizing:border-box!important;
  padding:10px!important;
  border-radius:5px!important;
  background:#fff!important;
}
body.gps-template-blog-home .gps-neil-lenders-offer .gps-neil-lender-logos img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:48px!important;
  max-height:48px!important;
  object-fit:contain!important;
  object-position:center!important;
}
body.gps-template-blog-home .gps-neil-lenders-offer > a,
body.gps-template-blog-home .gps-neil-lenders-offer > a:visited{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-height:46px!important;
  padding:10px 18px!important;
  background:#c4510c!important;
  color:#fff!important;
  font:700 15px/1.25 Arial,sans-serif!important;
  border-radius:5px!important;
  text-decoration:none!important;
}
body.gps-template-blog-home .gps-neil-lenders-offer > a:hover,
body.gps-template-blog-home .gps-neil-lenders-offer > a:focus-visible{
  background:#a63e00!important;
  color:#fff!important;
}
@media(max-width:1099px){
  body.gps-template-blog-home .gpsv2-blog-article-list > .gps-neil-lenders-offer{
    width:100%!important;
    margin:0!important;
  }
}
@media(max-width:700px){
  body.gps-template-blog-home .gpsv2-blog-article-list > .gps-neil-lenders-offer{
    padding:19px 16px!important;
    gap:12px!important;
  }
  body.gps-template-blog-home .gps-neil-lenders-offer h2{font-size:22px!important}
  body.gps-template-blog-home .gps-neil-lenders-offer .gps-neil-lender-logos{
    gap:7px!important;
    grid-template-rows:repeat(2,42px)!important;
    padding:8px!important;
    min-height:100px!important;
  }
  body.gps-template-blog-home .gps-neil-lenders-offer .gps-neil-lender-logos img{
    height:42px!important;max-height:42px!important;
  }
  body.gps-template-blog-home .gps-neil-lenders-offer > a{
    width:100%!important;
    min-height:48px!important;
  }
}
