/* yourSwimmingPools: modern content components for silo pages (3 Nov 2026). Prefix yp-. */
.yp-answer{position:relative;margin:2rem 0;padding:1.4rem 1.5rem 1.4rem 1.6rem;border-radius:18px;background:linear-gradient(135deg,#eaf6ff 0%,#f6fbff 60%,#fff 100%);border:1px solid #cfe6fb;box-shadow:0 10px 30px -18px rgba(10,37,64,.35)}
.yp-answer::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:5px;border-radius:0 6px 6px 0;background:linear-gradient(#38bdf8,#1d6fe0)}
.yp-answer__label{display:inline-flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#1d6fe0;margin-bottom:.45rem}
.yp-answer p{margin:0;font-size:1.05rem;line-height:1.65;color:#0a2540}
.yp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem;margin:1.25rem 0 2rem}
.yp-card{position:relative;padding:1.2rem 1.2rem 1.1rem;border-radius:16px;background:#fff;border:1px solid #e3e8ef;box-shadow:0 8px 24px -18px rgba(10,37,64,.45);transition:transform .15s ease,box-shadow .15s ease}
.yp-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px -18px rgba(10,37,64,.5)}
.yp-card__icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:linear-gradient(135deg,#0a2540,#1d4f91);color:#7dd3fc;margin-bottom:.75rem}
.yp-card__icon svg{width:26px;height:26px}
.yp-card h3{margin:0 0 .35rem;font-size:1.05rem;color:#0a2540}
.yp-card p{margin:0;font-size:.93rem;line-height:1.55;color:#3d4f66}
.yp-card code,.yp-formula{display:inline-block;margin-top:.55rem;padding:.3rem .55rem;border-radius:8px;background:#0a2540;color:#e0f2fe;font:600 .85rem/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
a.yp-card{text-decoration:none;color:inherit}
a.yp-card h3::after{content:" →";color:#1d6fe0}
.yp-steps{counter-reset:yp;list-style:none;margin:1.25rem 0 2rem;padding:0}
.yp-steps li{counter-increment:yp;position:relative;padding:.2rem 0 1.2rem 3.4rem;margin:0}
.yp-steps li::before{content:counter(yp);position:absolute;left:0;top:0;width:2.3rem;height:2.3rem;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,#1d6fe0,#38bdf8);box-shadow:0 6px 14px -6px rgba(29,111,224,.7)}
.yp-steps li:not(:last-child)::after{content:"";position:absolute;left:1.12rem;top:2.5rem;bottom:.2rem;width:2px;background:#d6e4f5}
.yp-steps li strong{color:#0a2540}
.yp-callout{display:flex;gap:.9rem;align-items:flex-start;margin:1.5rem 0;padding:1rem 1.2rem;border-radius:14px;background:#fff8e6;border:1px solid #f6dfa4}
.yp-callout--tip{background:#ecfdf3;border-color:#b7ebcd}
.yp-callout__icon{flex:0 0 auto;font-size:1.3rem;line-height:1}
.yp-callout p{margin:0;font-size:.95rem;line-height:1.6;color:#3b3020}
.yp-callout--tip p{color:#14402a}
.yp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.8rem;margin:1.25rem 0 2rem}
.yp-stat{padding:1rem;border-radius:14px;background:linear-gradient(160deg,#0a2540,#123a6b);color:#fff;text-align:center}
.yp-stat strong{display:block;font-size:1.7rem;line-height:1.1;color:#7dd3fc}
.yp-stat span{display:block;margin-top:.3rem;font-size:.82rem;color:#cbd5e1}
.prose .table-wrap{overflow-x:auto;margin:1rem 0 .5rem;border-radius:14px;border:1px solid #e3e8ef;box-shadow:0 8px 24px -20px rgba(10,37,64,.5)}
.prose table.ex{width:100%;border-collapse:collapse;font-size:.94rem}
.prose table.ex th,.prose table.ex td{padding:.65rem .8rem;border-bottom:1px solid #edf1f6;text-align:left;vertical-align:top}
.prose table.ex thead th{background:#0a2540;color:#fff;font-weight:600;white-space:nowrap}
.prose table.ex tbody tr:nth-child(even){background:#f7fafd}
.prose table.ex tbody th{font-weight:700;white-space:nowrap;color:#0a2540}
.prose .table-note{font-size:.84rem;color:#5b6b7f;margin:.4rem 0 1.4rem}
.yp-toc{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 2rem}
.yp-toc a{padding:.45rem .85rem;border-radius:999px;background:#eef4fb;color:#0a2540;font-size:.88rem;font-weight:600;text-decoration:none;border:1px solid #dbe7f5}
.yp-toc a:hover{background:#0a2540;color:#fff}
.yp-amz{display:flex;gap:1.1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:1.75rem 0;padding:1.1rem 1.3rem;border-radius:16px;background:linear-gradient(135deg,#fff7ed,#fff);border:1px solid #fed7aa;box-shadow:0 10px 26px -20px rgba(194,65,12,.6)}
.yp-amz__text{flex:1 1 260px}
.yp-amz__label{display:block;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#c2410c;margin-bottom:.25rem}
.yp-amz__text strong{display:block;color:#0a2540;font-size:1.02rem;margin-bottom:.2rem}
.yp-amz__text p{margin:0;font-size:.9rem;color:#4b3a2a;line-height:1.5}
.yp-amz__btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.15rem;border-radius:12px;background:linear-gradient(180deg,#ffb84d,#ff9900);color:#111 !important;font-weight:800;text-decoration:none !important;box-shadow:0 6px 0 #c77700,0 10px 18px -8px rgba(199,119,0,.7);white-space:nowrap}
.yp-amz__btn:hover{transform:translateY(-1px)}
.yp-amz__note{flex-basis:100%;margin:0;font-size:.75rem;color:#8a6a4a}
@media (max-width:600px){.yp-answer{padding:1.1rem 1.1rem 1.1rem 1.3rem}.yp-steps li{padding-left:3rem}}
