/* MSF visual fixes 11/11/2026 */
/* Header: never let the menu run into the logo or phone */
@media (min-width:901px){
#hdr .wrap.nav{container-type:inline-size;justify-content:space-between}
#hdr .nav-links{flex:0 1 auto !important;min-width:max-content !important}
#hdr .nav-phone{display:inline-flex !important}
}
@media (min-width:1481px){#hdr .wrap.nav{max-width:1360px}}
@container (max-width:1270px){#hdr .nav-phone span{display:none}}
@container (max-width:1150px){#hdr .brand .wm small{display:none}}
@container (max-width:1060px){#hdr .nav-phone{display:none !important}}
@container (max-width:1000px){#hdr .brand .wm{display:none}}

/* 3D icons in the trust strips */
img.bd65.f3d{width:52px;height:52px;border-radius:0;box-shadow:none;background:none;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(10,20,40,.22))}
.v66-bd img.bd65.f3d,body.h9 .v66-bd > img.bd65{width:52px !important;height:52px !important;margin:0 !important}
@media (max-width:640px){.v2-strip .it img.bd65.f3d{width:40px !important;height:40px !important}}

/* Real safe photo instead of drawings */
img.safe-ph{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;border-radius:inherit}
.il-wrap img.safe-ph{aspect-ratio:auto;max-height:240px}

/* Garage door video: show the clip at its real size so it stays sharp */
.videoband:has(video[poster*="vid-opener-b"]){background:linear-gradient(120deg,#0b1730 0%,#122a55 60%,#1d4185 100%);min-height:520px}
.videoband video[poster*="vid-opener-b"]{inset:auto;right:max(24px,calc((100vw - 1200px)/2));top:50%;transform:translateY(-50%);width:min(44%,640px);height:auto;aspect-ratio:16/9;border-radius:22px;box-shadow:0 30px 60px -20px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.08);z-index:2}
@media (max-width:860px){.videoband video[poster*="vid-opener-b"]{display:none}}

/* Side-by-side table: green / orange / red */
.v57-cmp td i{width:26px !important;height:26px !important}
.v57-cmp td i svg{width:14px !important;height:14px !important}
.v57-cmp td.y i{background:#16a34a !important;color:#fff !important;box-shadow:0 4px 10px -4px rgba(22,163,74,.6)}
.v57-cmp td.p i{background:#f59e0b !important;color:#fff !important;box-shadow:0 4px 10px -4px rgba(245,158,11,.6)}
.v57-cmp td.n i{background:#dc2626 !important;color:#fff !important;box-shadow:0 4px 10px -4px rgba(220,38,38,.6)}
.v57-cmp tbody tr td:first-of-type{background:rgba(22,163,74,.08) !important;border-left:3px solid #16a34a}
.v57-cmp tbody tr td:first-of-type span{color:#14532d;font-weight:700}
.v57-cmp td.p:not(:first-of-type) span{color:#92400e}
.v57-cmp td.n:not(:first-of-type) span{color:#991b1b}
:root[data-theme=dark] .v57-cmp tbody tr td:first-of-type span{color:#86efac}
:root[data-theme=dark] .v57-cmp td.p:not(:first-of-type) span{color:#fcd34d}
:root[data-theme=dark] .v57-cmp td.n:not(:first-of-type) span{color:#fca5a5}

/* What's included card (offers) */
.of-card .of-row{display:flex !important;justify-content:space-between;align-items:center;gap:14px;background:rgba(255,255,255,.06) !important;border:1px solid rgba(255,255,255,.12) !important;border-radius:14px !important;padding:13px 16px !important;margin:8px 0 !important;box-shadow:none !important;min-height:0 !important;width:auto !important}
.of-card .of-row span{display:flex;align-items:center;gap:10px;color:#fff !important;font-weight:600;font-size:.95rem;padding:0 !important;background:none !important}
.of-card .of-row span::before{content:"";flex:none;width:20px;height:20px;border-radius:50%;background:#16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat}
.of-card .of-row b{color:#9fc0f0 !important;font-weight:600;font-size:.86rem;text-align:right;background:none !important}

/* What we take: photos next to the claim types */
.wt-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:28px;align-items:center;margin-top:8px}
.wt-pics{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px;height:300px}
.wt-pics figure{position:relative;margin:0;border-radius:16px;overflow:hidden;box-shadow:0 14px 30px -18px rgba(10,20,40,.5)}
.wt-pics figure:first-child{grid-row:span 2}
.wt-pics img{width:100%;height:100%;object-fit:cover;display:block}
.wt-pics figcaption{position:absolute;left:10px;bottom:10px;background:rgba(11,16,23,.78);color:#fff;font-family:var(--head);font-weight:700;font-size:.78rem;padding:6px 11px;border-radius:999px}
.wt-grid .b2b-tags span{display:inline-flex;align-items:center;gap:8px}
.wt-grid .b2b-tags span::before{content:"";width:8px;height:8px;border-radius:50%;background:#5b93e8;flex:none}
.wt-grid .b2b-tags span:nth-child(3n+2)::before{background:#16a34a}
.wt-grid .b2b-tags span:nth-child(3n)::before{background:#f59e0b}
@media (max-width:860px){.wt-grid{grid-template-columns:1fr}.wt-pics{height:240px}}

/* Home: partners band with contrast */
#partners{background:linear-gradient(160deg,#0b1730 0%,#122a55 55%,#1d4185 100%) !important;color:#fff;padding-top:64px !important;padding-bottom:64px !important}
#partners .sec-head h2{color:#fff}
#partners .sec-head .ey{color:#ffb648}
#partners .sec-head p{color:#c9d5e8}
#partners .brands{padding:28px 0 4px !important;background:transparent !important}
#partners .brands .lbl{color:#9fb3d1}
#partners .h9-b2b a{border-top:4px solid #ffb648;box-shadow:0 20px 40px -24px rgba(0,0,0,.6)}
#partners .h9-b2b a+a{border-top-color:#5b93e8}
#partners .brand-marquee::before,#partners .brand-marquee::after{display:none !important}
#partners .brand-marquee{-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent) !important;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent) !important}

@media (min-width:861px){.videoband:has(video[poster*="vid-opener-b"]) .vb-in{max-width:min(520px,44%)}}
