/* yourSwimmingPools: v2 page design for silo batch 2+ (3 Nov 2026). Loaded after ysp-modern.v1.css. Prefix yp-. */
/* Split hero: navy water header, text left, image right */
.pagehead.pagehead--v2{position:relative;overflow:hidden;background:radial-gradient(1200px 400px at 85% -10%,rgba(56,189,248,.35),transparent 60%),linear-gradient(160deg,#071c33 0%,#0a2a4d 55%,#0e3a68 100%);border-bottom:0;padding-block:1.25rem 3.2rem}
.pagehead.pagehead--v2::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:46px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 26c120 14 240 18 360 8S600 4 720 10s240 26 360 24 240-20 360-22v34H0z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat;pointer-events:none}
.pagehead--v2 .pagehead__inner{max-width:1120px}
.pagehead--v2 .crumbs a,.pagehead--v2 .crumbs span,.pagehead--v2 .crumbs li{color:#a9c6e6}
.pagehead--v2 .crumbs svg{color:#5f86b3}
.pagehead.pagehead--v2 .crumbs span[aria-current][data-astro-cid-ilhxcym7]{color:#fff;font-weight:600}
.yp-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:2.2rem;align-items:center;margin-top:1rem}
.pagehead--v2 .eyebrow{display:inline-flex;align-items:center;gap:.45rem;padding:.3rem .75rem;border-radius:999px;background:rgba(125,211,252,.14);border:1px solid rgba(125,211,252,.35);color:#7dd3fc;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.pagehead--v2 h1{color:#fff;margin:.75rem 0 .8rem;letter-spacing:-.01em}
.pagehead--v2 .pagehead__intro{color:#d3e3f5;font-size:1.08rem;line-height:1.65}
.yp-hero__media{position:relative;margin:0}
.yp-hero__media img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:22px;box-shadow:0 30px 60px -28px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.08)}
.yp-hero__media::before{content:"";position:absolute;inset:-10px -10px 18px 18px;border-radius:26px;background:linear-gradient(135deg,rgba(56,189,248,.45),rgba(29,111,224,0));z-index:-1}
.yp-glance{display:flex;flex-wrap:wrap;gap:.55rem;margin:1.3rem 0 0;padding:0;list-style:none}
.yp-glance li{display:flex;flex-direction:column;gap:.1rem;min-width:7.5rem;padding:.55rem .85rem;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.yp-glance li span{font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7dd3fc}
.yp-glance li strong{font-size:.92rem;color:#fff;font-weight:700}
.yp-hero__cta{display:inline-flex;align-items:center;gap:.5rem;margin-top:1.2rem;padding:.75rem 1.2rem;border-radius:12px;background:linear-gradient(180deg,#38bdf8,#1d8fe0);color:#06233f !important;font-weight:800;text-decoration:none !important;box-shadow:0 10px 24px -12px rgba(56,189,248,.9)}
.yp-hero__cta:hover{filter:brightness(1.06)}
/* calculator card lift on v2 pages */
.yp-v2 .calc{position:relative;margin-top:-1.2rem}
.yp-v2 .calc__panel{border-radius:22px;box-shadow:0 24px 60px -34px rgba(10,37,64,.55);border:1px solid #dde7f2}
.yp-v2 .calc__inputs,.yp-v2 .calc__results,.yp-v2 .calc__field{min-width:0}
.yp-v2 .calc select{width:100%;max-width:100%;min-width:0;text-overflow:ellipsis;padding:.7rem .8rem;border-radius:10px;border:1px solid #cdd8e5;background:#fff;font:inherit;color:#0a2540}
.yp-v2 .calc select:focus{outline:2px solid #38bdf8;outline-offset:1px}
.yp-dose{margin-top:.9rem;padding:1rem 1.1rem;border-radius:14px;background:#f2f8ff;border:1px dashed #a9cdf2}
.yp-dose h4{margin:0 0 .5rem;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:#1d6fe0}
.yp-dose ol{margin:0;padding-left:1.2rem;font-size:.92rem;line-height:1.55;color:#24364d}
.yp-dose li{margin:.2rem 0}
/* section header with number */
.yp-h2{display:flex;align-items:center;gap:.7rem}
.yp-h2 b{display:grid;place-items:center;flex:0 0 2rem;height:2rem;border-radius:10px;background:#e6f2ff;color:#1d6fe0;font-size:.95rem}
/* range bars: target ranges per source */
.yp-ranges{display:grid;gap:.7rem;margin:1.2rem 0 2rem}
.yp-range{padding:.85rem 1rem;border-radius:14px;border:1px solid #e3e8ef;background:#fff}
.yp-range__top{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.92rem}
.yp-range__top strong{color:#0a2540}
.yp-range__top span{color:#5b6b7f}
.yp-range__bar{position:relative;height:10px;margin-top:.55rem;border-radius:99px;background:#eef2f7}
.yp-range__bar i{position:absolute;top:0;bottom:0;border-radius:99px;background:linear-gradient(90deg,#38bdf8,#1d6fe0)}
/* FAQ accordions */
.yp-v2 .faq{display:grid;gap:.6rem;margin:1rem 0 2rem}
.yp-v2 .faq-item{border:1px solid #e3e8ef;border-radius:14px;background:#fff;overflow:hidden;transition:box-shadow .15s ease}
.yp-v2 .faq-item[open]{box-shadow:0 12px 28px -22px rgba(10,37,64,.55);border-color:#cfe0f3}
.yp-v2 .faq-item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.15rem;font-weight:700;color:#0a2540}
.yp-v2 .faq-item summary::-webkit-details-marker{display:none}
.yp-v2 .faq-item summary::after{content:"+";flex:0 0 1.8rem;height:1.8rem;display:grid;place-items:center;border-radius:50%;background:#eef4fb;color:#1d6fe0;font-size:1.2rem;font-weight:700;transition:transform .2s ease}
.yp-v2 .faq-item[open] summary::after{content:"–";background:#1d6fe0;color:#fff}
.yp-v2 .faq-item p{margin:0;padding:0 1.15rem 1.05rem;color:#334559;line-height:1.65}
/* sources box */
.yp-sources{margin:2rem 0 1rem;padding:1.2rem 1.3rem;border-radius:16px;background:#f7f9fc;border:1px solid #e3e8ef}
.yp-sources h2{margin-top:0 !important;font-size:1.15rem}
.yp-sources ol{margin:.5rem 0 .6rem;padding-left:1.2rem;font-size:.92rem;line-height:1.6}
.yp-sources p{margin:0;font-size:.85rem;color:#5b6b7f}
/* product box v2 */
.yp-amz--v2{align-items:stretch;background:linear-gradient(135deg,#fffaf3,#fff);border-color:#fcd9a8}
.yp-amz__icon{flex:0 0 56px;height:56px;display:grid;place-items:center;border-radius:14px;background:#0a2540;color:#ffb84d}
.yp-amz__icon svg{width:30px;height:30px}
.yp-amz--v2 .yp-amz__side{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.45rem}
.yp-amz--v2 .yp-amz__note{flex-basis:auto}
.yp-amz__note--top{margin:0 0 .45rem !important;padding-bottom:.4rem;border-bottom:1px dashed #f3d2a6}
/* chip list of calculators on cluster pages */
.yp-cards--calc .yp-card{padding-top:1.4rem}
.yp-card__tag{display:inline-block;margin-bottom:.5rem;padding:.15rem .55rem;border-radius:999px;background:#e6f2ff;color:#1d6fe0;font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
@media (max-width:860px){.yp-hero{grid-template-columns:minmax(0,1fr);gap:1.4rem}.yp-hero__media{max-width:520px}.yp-hero__media::before{display:none}}
@media (max-width:600px){.pagehead.pagehead--v2{padding-bottom:2.6rem}.yp-glance li{min-width:calc(50% - .3rem);flex:1 1 calc(50% - .3rem)}.yp-amz__icon{display:none}.yp-v2 .calc{margin-top:-.6rem}}
