:root{--bg:#f4f9fc;--card:#fff;--text:#0d3151;--muted:#68839a;--line:#d4e6f0;--accent:#087fc2;--accent2:#15a2d9;--navy:#0c3656;--shadow:0 16px 44px rgba(20,72,106,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f6fbfe;color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}.wrap{width:min(1080px,calc(100% - 34px));margin:auto}
.site-header{height:74px;background:#fff;border-bottom:1px solid #e0edf4;position:relative;z-index:10}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}.brand-drop{font-size:29px}.brand-copy strong,.brand-copy small{display:block}.brand-copy strong{font-size:19px}.brand-copy small{font-size:11px;color:#7690a4}.top-nav{display:flex;gap:23px}.top-nav a{font-size:13px;font-weight:800;color:#173c5d;text-decoration:none}.top-nav a.active,.top-nav a:hover{color:#0786d1}
.hero-visual{height:410px;position:relative;overflow:hidden;background:linear-gradient(90deg,#f8fdff 0,#f6fcff 39%,rgba(247,252,255,.6) 52%,rgba(255,255,255,0) 70%)}.hero-photo{position:absolute;inset:0 0 0 34%;background:url("../img/hero-pool.jpg") center/cover no-repeat}.hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7fcff 0%,rgba(247,252,255,.96) 14%,rgba(247,252,255,.45) 38%,rgba(255,255,255,0) 60%)}.hero-layout{height:100%;display:flex;align-items:center;position:relative;z-index:2}.hero-copy{width:48%;padding-bottom:30px}.hero-badge{display:inline-block;background:rgba(255,255,255,.9);border:1px solid #d3e9f5;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:900;letter-spacing:.11em;color:#0d6ea9}.hero-copy h1{font-size:56px;line-height:1.02;letter-spacing:-.045em;margin:14px 0;color:#0c3152}.hero-copy h1 span{color:#0a83ce}.hero-copy p{font-size:16px;color:#58758e;max-width:520px}.hero-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.hero-pills span{background:rgba(255,255,255,.9);border-radius:999px;padding:7px 10px;font-size:12px;color:#4d6a82}.water-wave{position:absolute;left:0;right:0;bottom:-4px;height:92px;background:url("../img/water-wave.png") center bottom/100% 100% no-repeat;z-index:3}
.page-content{margin-top:-14px;position:relative;z-index:4}.calculator-card,.content-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.calculator-card{padding:26px}.main-calculator{max-width:1000px;margin:auto}.card-heading{display:flex;gap:12px;align-items:center;margin-bottom:16px}.card-icon{width:44px;height:44px;border-radius:13px;background:#eaf7fd;display:grid;place-items:center;font-size:22px}.card-heading strong,.card-heading small{display:block}.card-heading strong{font-size:18px}.card-heading small{font-size:12px;color:var(--muted)}
.shape-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#eef4f7;padding:6px;border-radius:14px;margin-bottom:18px}.shape-tab{border:0;background:transparent;border-radius:10px;padding:12px;font-weight:800;color:#58738a;display:flex;align-items:center;justify-content:center;gap:7px}.shape-tab.active{background:#fff;color:#0785d0;box-shadow:0 4px 12px rgba(20,63,91,.1)}.shape-svg,.shape-svg svg{width:18px;height:18px}.shape-svg svg{fill:none;stroke:currentColor;stroke-width:2}
.preset-box{background:#eaf7fd;border:1px solid #cce5f2;border-radius:14px;padding:14px;margin-bottom:18px}.preset-box select{width:100%;margin-top:6px;border:1px solid #d0e1ea;border-radius:11px;background:#fff;padding:13px;font:inherit;font-weight:700}.preset-box p{font-size:11px;color:var(--muted);margin:7px 0 0}.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.fields[data-for="round"],.two-cols{grid-template-columns:repeat(2,1fr)}.three-cols{grid-template-columns:repeat(3,1fr)}label{font-size:13px;font-weight:800}.input-unit{display:flex;align-items:center;border:1px solid #d4e3ec;border-radius:12px;background:#fbfdfe;margin-top:6px;overflow:hidden}.input-unit input{width:100%;border:0;background:transparent;padding:13px;font:inherit;font-weight:700;color:var(--text);outline:none}.input-unit span{padding:0 12px;font-size:12px;color:#71899d}.fill-label{display:grid;grid-template-columns:1fr auto;margin:16px 0}.fill-label input{grid-column:1/-1;width:100%;accent-color:#0785d0}.primary-btn{width:100%;border:0;border-radius:11px;padding:14px;background:linear-gradient(90deg,#0677c9,#0d93d9);color:#fff;font-weight:900;font-size:15px}.results{margin:18px auto 0;max-width:1000px;padding:26px;border-radius:22px;background:linear-gradient(135deg,#087fc2,#18a2d4);color:#fff}.result-main{text-align:center}.result-main strong{display:block;font-size:48px}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.result-grid div{background:rgba(255,255,255,.13);padding:13px;border-radius:13px;text-align:center}.result-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:14px}.secondary-btn{background:#fff;color:#0785d0;text-decoration:none;border-radius:11px;padding:9px 12px;font-size:12px;font-weight:800}.form-error{color:#b42318}.hidden{display:none!important}
.ad-slot{max-width:1000px;margin:22px auto 0;height:62px;border:1px dashed #55b6e9;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:10px;color:#5f7b91;position:relative;background:rgba(255,255,255,.55)}.ad-slot span{border:1px solid #45aae0;border-radius:5px;padding:3px 7px;font-size:9px;color:#168bc9}.ad-slot strong{font-size:12px}.ad-slot small{font-size:10px}.ad-slot img{position:absolute;right:10px;height:56px}
.tools-section{padding:28px 0 14px}.section-heading{text-align:center}.eyebrow{font-size:10px;font-weight:900;letter-spacing:.14em;color:#0785d0}.section-heading h2{font-size:29px;margin:5px 0 14px}.visual-tools{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.visual-tools a{background:#fff;border:1px solid #d7e7ef;border-radius:14px;padding:14px;text-align:center;text-decoration:none;color:var(--text);box-shadow:0 8px 20px rgba(20,72,106,.07);min-height:230px}.visual-tools img{width:100%;height:92px;object-fit:cover;border-radius:10px;object-position:center}.visual-tools strong{display:block;font-size:15px;margin-top:8px}.visual-tools p{font-size:11px;color:#668098;min-height:48px}.visual-tools b{color:#0b8bd2;font-size:19px}
.info-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.info-strip div{background:#eef8fd;border:5px solid #fff;border-radius:14px;padding:14px 16px;box-shadow:0 4px 14px rgba(27,73,103,.05);display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center}.info-strip span{font-size:28px;grid-row:1/3}.info-strip strong{font-size:14px}.info-strip p{font-size:10px;color:#69849a;margin:0}.lower-ad{margin-top:8px}.splash-card{display:grid;grid-template-columns:1fr 250px;align-items:end;gap:20px;padding:20px;margin:12px 0 0;overflow:hidden}.splash-card img{width:250px;align-self:end}.content-badge{display:inline-block;font-size:9px;font-weight:900;color:#0785d0;background:#eaf7fd;border-radius:5px;padding:5px 7px}.public-content h2{font-size:22px;margin:8px 0}.public-content p{font-size:12px;color:#617d93}.muted-note{font-size:9px!important;border-top:1px solid #e8eff3;padding-top:9px}
.site-footer{margin-top:16px;background:linear-gradient(180deg,#0b3555,#08304d);color:#d6e7f2;padding:28px 0 14px}.footer-grid{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:40px}.footer-grid>div{display:flex;flex-direction:column;gap:7px}.footer-grid strong{color:#fff}.footer-grid a,.footer-grid span{color:#c5d9e7;text-decoration:none;font-size:11px}.footer-brand-col p{font-size:10px;color:#9fb7c8;max-width:260px}.footer-logo{font-size:18px}.socials{display:flex!important;flex-direction:row!important;gap:8px!important}.socials span{width:22px;height:22px;border-radius:50%;background:#315d7a;display:grid;place-items:center}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:18px;padding-top:12px;text-align:center;font-size:9px;color:#8faabd}
@media(max-width:850px){.top-nav{display:none}.hero-photo{left:0;opacity:.36}.hero-photo:before{background:rgba(247,252,255,.52)}.hero-copy{width:100%}.visual-tools{grid-template-columns:repeat(2,1fr)}.visual-tools a:last-child{grid-column:1/-1}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.hero-visual{height:380px}.hero-copy h1{font-size:42px}.fields,.fields[data-for="round"],.two-cols,.three-cols{grid-template-columns:1fr}.shape-tabs{grid-template-columns:1fr}.visual-tools{grid-template-columns:1fr}.visual-tools a:last-child{grid-column:auto}.info-strip{grid-template-columns:1fr}.splash-card{grid-template-columns:1fr}.splash-card img{display:none}.footer-grid{grid-template-columns:1fr}.result-grid{grid-template-columns:1fr}.ad-slot small{display:none}}


/* v0.7.2.1 — Clean Visual Assets */
.visual-tools img{
    object-fit:contain;
    background:transparent;
    padding:4px;
}
.lower-ad img{
    object-fit:contain;
    background:transparent;
}
.splash-card img{
    object-fit:contain;
    background:transparent;
}
.water-wave{
    background-color:transparent;
}


/* =========================================================
   v0.7.2.2 — SUBPAGE LAYOUT FIX
   ========================================================= */

/* Podstrony kalkulatorów wracają do kontrolowanej szerokości */
.sub-page main{
    background:
        radial-gradient(circle at 18% 0%, rgba(81,190,232,.10), transparent 25%),
        #f6fbfe;
    min-height:calc(100vh - 74px);
}
.subpage-wrap{
    width:min(1080px,calc(100% - 34px));
    margin:0 auto;
    padding:34px 0 44px;
}

/* Hero na podstronach */
.sub-page .hero{
    text-align:center;
    padding:24px 0 18px;
}
.sub-page .hero.compact{
    padding-top:18px;
}
.sub-page .hero .eyebrow{
    display:inline-block;
    margin-bottom:8px;
}
.sub-page .hero h1{
    margin:0 0 10px;
    font-size:clamp(32px,4vw,48px);
    line-height:1.08;
    color:#0c3152;
    letter-spacing:-.035em;
}
.sub-page .hero p{
    max-width:720px;
    margin:0 auto;
    color:#607d94;
    font-size:15px;
}

/* Karta kalkulatora na środku — tak jak na stronie głównej */
.sub-page .calculator-card,
.sub-page .results,
.sub-page .content-card{
    max-width:980px;
    margin-left:auto;
    margin-right:auto;
}
.sub-page .calculator-card{
    margin-top:10px;
    padding:26px;
}
.sub-page .results{
    margin-top:18px;
}
.sub-page .content-card{
    margin-top:16px;
    padding:24px 26px;
}

/* Lepsze odstępy w formularzach podstron */
.sub-page .calculator-card form > .fields:first-of-type{
    margin-top:2px;
}
.sub-page .notice{
    max-width:100%;
}
.sub-page .preset-box{
    margin-top:2px;
}

/* pH: skala i opis nie powinny się rozlewać */
.sub-page .ph-scale{
    max-width:980px;
    margin-left:auto;
    margin-right:auto;
}

/* Stopka ma pełną szerokość, ale zawartość pozostaje w 1080 px */
.sub-page .site-footer{
    margin-top:0;
}

/* Responsywność */
@media(max-width:720px){
    .subpage-wrap{
        width:min(100% - 20px,1080px);
        padding-top:20px;
        padding-bottom:30px;
    }
    .sub-page .hero h1{
        font-size:34px;
    }
    .sub-page .calculator-card{
        padding:18px;
        border-radius:18px;
    }
    .sub-page .content-card{
        padding:18px;
    }
}


/* =========================================================
   v0.7.3 — VISUAL SUBPAGES
   ========================================================= */

.subpage-visual-hero{
    max-width:980px;
    margin:0 auto 18px;
    min-height:250px;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    align-items:stretch;
    background:linear-gradient(135deg,#f7fcff,#edf8fd);
    border:1px solid #d5e8f2;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 15px 36px rgba(22,78,111,.08);
}
.subpage-visual-copy{
    padding:34px 34px 28px;
    display:flex;
    align-items:center;
}
.subpage-kicker{
    display:inline-block;
    color:#0785d0;
    background:#e8f6fc;
    border:1px solid #cde7f4;
    border-radius:999px;
    padding:7px 11px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:10px;
}
.subpage-hero-text .hero{
    padding:0;
    text-align:left;
}
.subpage-hero-text .hero .eyebrow{
    display:none;
}
.subpage-hero-text .hero h1{
    margin:0 0 10px;
    font-size:clamp(34px,4vw,47px);
    line-height:1.04;
    letter-spacing:-.04em;
}
.subpage-hero-text .hero p{
    margin:0;
    max-width:540px;
    color:#617f95;
    font-size:14px;
}
.subpage-hero-art{
    min-height:250px;
    position:relative;
    overflow:hidden;
}
.subpage-hero-art img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.subpage-hero-art:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(247,252,255,.88),rgba(247,252,255,0) 32%);
    z-index:1;
    pointer-events:none;
}

/* Formularz pod hero trochę bardziej premium */
.sub-page .calculator-card{
    border-top:4px solid #1b9bd3;
    box-shadow:0 16px 40px rgba(20,72,106,.10);
}
.sub-page .calculator-card .primary-btn{
    margin-top:4px;
}
.sub-page .content-card{
    border-left:4px solid #8fd1ed;
}

/* Kafle zalet na każdej podstronie */
.subpage-benefits{
    max-width:980px;
    margin:18px auto 0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}
.subpage-benefits>div{
    background:#eef8fd;
    border:1px solid #d7e9f2;
    border-radius:16px;
    padding:18px;
    text-align:center;
}
.subpage-benefits span{
    display:block;
    font-size:28px;
    margin-bottom:6px;
}
.subpage-benefits strong{
    display:block;
    font-size:14px;
}
.subpage-benefits small{
    display:block;
    margin-top:4px;
    color:#6b8598;
    line-height:1.4;
}

/* Dodatkowy rytm pionowy */
.sub-page .results{
    box-shadow:0 15px 38px rgba(7,112,170,.17);
}
.sub-page .site-footer{
    margin-top:26px;
}

@media(max-width:800px){
    .subpage-visual-hero{
        grid-template-columns:1fr;
    }
    .subpage-hero-art{
        min-height:180px;
        order:-1;
    }
    .subpage-hero-art:before{
        background:linear-gradient(180deg,rgba(247,252,255,0),rgba(247,252,255,.88));
    }
    .subpage-visual-copy{
        padding:24px;
    }
}
@media(max-width:720px){
    .subpage-benefits{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   v0.7.3.1 — REALISTIC SUBPAGE VISUALS
   ========================================================= */

.subpage-visual-hero{
    background:linear-gradient(135deg,#f8fcff,#edf7fb);
    min-height:280px;
}
.subpage-hero-art{
    min-height:280px;
}
.subpage-hero-art img{
    object-fit:cover;
    object-position:center;
    filter:saturate(1.04) contrast(1.02);
}
.subpage-hero-art:before{
    background:linear-gradient(
        90deg,
        rgba(247,252,255,.97) 0%,
        rgba(247,252,255,.78) 14%,
        rgba(247,252,255,.15) 42%,
        rgba(247,252,255,0) 62%
    );
}
.subpage-visual-hero:after{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height:46px;
    background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.35));
    pointer-events:none;
}
.subpage-visual-hero{
    position:relative;
}
.subpage-visual-copy{
    z-index:2;
}
.subpage-kicker{
    box-shadow:0 5px 14px rgba(8,127,194,.06);
}
.sub-page .calculator-card{
    margin-top:6px;
}

@media(max-width:800px){
    .subpage-hero-art{
        min-height:210px;
    }
    .subpage-hero-art img{
        object-position:center;
    }
}


/* =========================================================
   v0.7.3.2 — BANNER CODE POLISH
   Hero podstron przebudowane kodem na wzór zaakceptowanej makiety.
   ========================================================= */

.subpage-visual-hero{
    max-width:1180px;
    min-height:320px;
    margin:6px auto 22px;
    grid-template-columns:54% 46%;
    border-radius:22px;
    border:1px solid #cfe3ef;
    background:
        radial-gradient(circle at 14% 22%,rgba(255,255,255,.98),rgba(248,253,255,.93) 44%,rgba(233,247,253,.86) 100%);
    box-shadow:0 15px 40px rgba(28,82,115,.09);
    overflow:hidden;
    position:relative;
}

/* subtelna fala pod banerem */
.subpage-visual-hero:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:58px;
    z-index:1;
    opacity:.65;
    background:
        radial-gradient(90px 14px at 9% 77%,transparent 59%,rgba(26,151,215,.22) 61%,transparent 65%),
        radial-gradient(120px 18px at 28% 88%,transparent 59%,rgba(26,151,215,.18) 61%,transparent 65%),
        radial-gradient(110px 16px at 48% 79%,transparent 59%,rgba(26,151,215,.18) 61%,transparent 65%);
    pointer-events:none;
}

.subpage-visual-copy{
    padding:40px 28px 36px 36px;
    display:grid;
    grid-template-columns:104px 1fr;
    gap:18px;
    align-items:center;
    z-index:3;
    position:relative;
}

/* Okrągła plakietka jak w makiecie */
.subpage-topic-badge{
    width:104px;
    height:104px;
    border-radius:50%;
    border:1px solid #bfe2f2;
    background:rgba(240,250,255,.92);
    box-shadow:0 8px 20px rgba(7,133,208,.08);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    line-height:1.15;
}
.subpage-topic-badge span{
    display:block;
    font-size:28px;
    margin-bottom:5px;
}
.subpage-topic-badge strong{
    display:block;
    color:#087fc2;
    font-size:10px;
    font-weight:900;
    letter-spacing:.055em;
}

.subpage-hero-text{
    position:relative;
    z-index:3;
}
.subpage-hero-text .hero{
    padding:0;
    text-align:left;
}
.subpage-hero-text .hero .eyebrow{
    display:block;
    margin:0 0 10px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.12em;
    color:#087fc2;
}
.subpage-hero-text .hero h1{
    margin:0 0 16px;
    font-size:clamp(38px,4vw,54px);
    line-height:1.03;
    letter-spacing:-.045em;
    color:#0a3152;
    max-width:540px;
}
.subpage-hero-text .hero p{
    max-width:530px;
    margin:0;
    font-size:15px;
    line-height:1.55;
    color:#486a82;
}

/* prawa część - duża fotografia/ilustracja */
.subpage-hero-art{
    min-height:320px;
    position:relative;
    z-index:2;
}
.subpage-hero-art img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    filter:saturate(1.06) contrast(1.02);
}
.subpage-hero-art:before{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:
        linear-gradient(90deg,rgba(248,253,255,.98) 0%,rgba(248,253,255,.70) 17%,rgba(248,253,255,.18) 40%,rgba(248,253,255,0) 60%);
    pointer-events:none;
}

/* Kalkulator tuż pod bannerem jak w makiecie */
.sub-page .calculator-card{
    max-width:1040px;
    margin-top:-2px;
    border-top:2px solid #128fd0;
    border-radius:20px;
    box-shadow:0 12px 34px rgba(20,72,106,.10);
}
.sub-page .calculator-card .notice{
    border:none;
    background:transparent;
    color:#173a57;
    padding:4px 0 14px;
    margin:0;
    font-size:13px;
}
.sub-page .calculator-card .preset-box{
    border-radius:12px;
    background:#edf8fd;
}
.sub-page .calculator-card .primary-btn{
    border-radius:10px;
    min-height:48px;
}

/* Karty korzyści trochę bliżej makiety */
.subpage-benefits{
    max-width:1040px;
    margin-top:18px;
}
.subpage-benefits>div{
    min-height:118px;
    background:linear-gradient(180deg,#eff9fe,#eaf6fb);
    border:1px solid #d2e7f2;
    border-radius:16px;
    box-shadow:0 6px 18px rgba(28,82,115,.045);
}
.subpage-benefits span{
    font-size:30px;
}
.subpage-benefits strong{
    font-size:15px;
}
.subpage-benefits small{
    font-size:12px;
}

/* Treści wyjaśniające - bardziej kompaktowe */
.sub-page .content-card{
    max-width:1040px;
    border-left:0;
    border-top:1px solid #d8e8f1;
    border-radius:18px;
}

/* aktywna pozycja menu na podstronie przez klasę body + href nie wymaga JS */
.sub-page .top-nav a{
    transition:color .2s ease,background .2s ease;
}
.sub-page .top-nav a:hover{
    color:#087fc2;
}

/* tablet */
@media(max-width:900px){
    .subpage-visual-hero{
        grid-template-columns:1fr;
        min-height:auto;
    }
    .subpage-visual-copy{
        grid-template-columns:84px 1fr;
        padding:28px 24px;
    }
    .subpage-topic-badge{
        width:84px;
        height:84px;
    }
    .subpage-topic-badge span{
        font-size:23px;
    }
    .subpage-topic-badge strong{
        font-size:9px;
    }
    .subpage-hero-art{
        min-height:220px;
        order:-1;
    }
    .subpage-hero-art:before{
        background:linear-gradient(180deg,rgba(248,253,255,0) 45%,rgba(248,253,255,.92) 100%);
    }
}

/* telefon */
@media(max-width:640px){
    .subpage-visual-copy{
        grid-template-columns:1fr;
        text-align:center;
    }
    .subpage-topic-badge{
        margin:0 auto;
    }
    .subpage-hero-text .hero{
        text-align:center;
    }
    .subpage-hero-text .hero h1{
        font-size:34px;
        max-width:none;
    }
    .subpage-hero-text .hero p{
        margin:0 auto;
    }
    .subpage-visual-hero:after{
        display:none;
    }
}


/* =========================================================
   v0.7.3.3 — CLEAN HERO ASSETS
   Usuwa artefakty z wycinków makiet i poprawia proporcje bannera.
   ========================================================= */

.subpage-visual-hero{
    grid-template-columns:60% 40%;
    max-width:1180px;
    min-height:300px;
    background:linear-gradient(90deg,#fbfeff 0%,#f4fbfe 55%,#e9f7fd 100%);
}

/* usunięcie sztucznych owalnych "fal" widocznych na dole */
.subpage-visual-hero:after{
    display:none!important;
}

.subpage-visual-copy{
    grid-template-columns:92px 1fr;
    gap:22px;
    padding:36px 30px 34px 36px;
}

.subpage-topic-badge{
    width:92px;
    height:92px;
}

.subpage-topic-badge span{
    font-size:25px;
}

.subpage-topic-badge strong{
    font-size:9px;
}

.subpage-hero-text .hero h1{
    font-size:clamp(38px,3.6vw,50px);
    line-height:1.05;
    max-width:560px;
}

.subpage-hero-text .hero p{
    max-width:560px;
}

.subpage-hero-art{
    min-height:300px;
    background:#eaf8fd;
}

.subpage-hero-art img{
    object-fit:cover;
    object-position:center;
    background:#eaf8fd;
}

/* delikatne przejście tekst -> grafika, bez wycinania obrazu */
.subpage-hero-art:before{
    background:linear-gradient(
        90deg,
        rgba(247,252,255,.98) 0%,
        rgba(247,252,255,.55) 14%,
        rgba(247,252,255,.10) 34%,
        rgba(247,252,255,0) 50%
    );
}

/* kalkulator bliżej bannera */
.sub-page .calculator-card{
    margin-top:0;
}

/* telefon / tablet */
@media(max-width:900px){
    .subpage-visual-hero{
        grid-template-columns:1fr;
    }
    .subpage-visual-copy{
        grid-template-columns:82px 1fr;
    }
    .subpage-topic-badge{
        width:82px;
        height:82px;
    }
    .subpage-hero-art{
        min-height:210px;
        order:-1;
    }
}

@media(max-width:640px){
    .subpage-visual-copy{
        grid-template-columns:1fr;
        text-align:center;
    }
    .subpage-topic-badge{
        margin:auto;
    }
    .subpage-hero-text .hero{
        text-align:center;
    }
}


/* =========================================================
   v0.7.3.4 — VISUAL FIT FIX
   Grafiki hero mieszczą się w całości w prawej części bannera.
   ========================================================= */

.subpage-visual-hero{
    grid-template-columns:58% 42%;
}

.subpage-hero-art{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    overflow:hidden;
    min-width:0;
    background:linear-gradient(90deg,#f4fbfe,#eaf8fd);
}

.subpage-hero-art img{
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain!important;
    object-position:right center!important;
    display:block;
    background:transparent;
}

/* przejście zostaje tylko na wąskim fragmencie,
   żeby nie zasłaniało właściwego obiektu */
.subpage-hero-art:before{
    width:24%;
    right:auto;
    background:linear-gradient(
        90deg,
        rgba(247,252,255,.98) 0%,
        rgba(247,252,255,.55) 45%,
        rgba(247,252,255,0) 100%
    );
}

/* dodatkowe zabezpieczenie przed wychodzeniem grafiki */
.subpage-visual-hero,
.subpage-hero-art,
.subpage-hero-art img{
    box-sizing:border-box;
}

@media(max-width:900px){
    .subpage-visual-hero{
        grid-template-columns:1fr;
    }
    .subpage-hero-art{
        min-height:220px;
        justify-content:center;
    }
    .subpage-hero-art img{
        object-position:center!important;
    }
    .subpage-hero-art:before{
        width:100%;
        height:35%;
        top:auto;
        bottom:0;
        background:linear-gradient(
            180deg,
            rgba(247,252,255,0),
            rgba(247,252,255,.88)
        );
    }
}


/* =========================================================
   v0.8.0 — RESULTS UI
   ========================================================= */

.results.result-panel{
    max-width:1040px;
    margin:20px auto 0;
    padding:0;
    overflow:hidden;
    color:#0d3151;
    background:#fff;
    border:1px solid #cfe4ef;
    border-radius:22px;
    box-shadow:0 18px 44px rgba(20,72,106,.12);
}

.result-panel-head{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:13px;
    padding:18px 22px;
    background:linear-gradient(90deg,#f4fbfe,#edf8fd);
    border-bottom:1px solid #d8e9f2;
}
.result-panel-icon{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:#fff;
    box-shadow:0 5px 16px rgba(7,127,194,.10);
    font-size:23px;
}
.result-eyebrow{
    display:block;
    color:#087fc2;
    font-size:10px;
    line-height:1;
    font-weight:900;
    letter-spacing:.13em;
}
.result-panel-head h2{
    margin:4px 0 0;
    font-size:20px;
    line-height:1.15;
}
.result-status-badge{
    background:#e7f8ef;
    color:#16734a;
    border:1px solid #bfe9d1;
    border-radius:999px;
    padding:6px 10px;
    font-size:11px;
    font-weight:800;
}

.result-hero-value{
    padding:30px 24px 24px;
    text-align:center;
    background:
        radial-gradient(circle at 50% 0%,rgba(64,181,229,.13),transparent 45%),
        #fff;
}
.result-hero-value>span{
    display:block;
    color:#5f7d93;
    font-size:13px;
}
.result-hero-value>strong{
    display:block;
    margin:4px 0 4px;
    color:#087fc2;
    font-size:clamp(42px,7vw,66px);
    line-height:1.03;
    letter-spacing:-.04em;
}
.result-hero-value p{
    max-width:700px;
    margin:8px auto 0;
    color:#6a8498;
    font-size:12px;
}

.result-grid.result-metrics{
    padding:0 22px;
    margin:0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}
.result-grid.result-metrics.second-row{
    padding-top:10px;
}
.result-grid.result-metrics>div{
    min-height:78px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:12px;
    text-align:center;
    color:#0d3151;
    background:#f1f9fd;
    border:1px solid #d4eaf5;
    border-radius:14px;
}
.result-grid.result-metrics span{
    color:#6b8599;
    font-size:10px;
}
.result-grid.result-metrics strong{
    margin-top:3px;
    color:#0d3151;
    font-size:17px;
}

.result-input-summary{
    margin:18px 22px 0;
    padding:14px 16px;
    background:#f8fbfd;
    border:1px solid #e1edf3;
    border-radius:14px;
}
.result-summary-title{
    margin-bottom:9px;
    color:#48677f;
    font-size:11px;
    font-weight:800;
}
.result-summary-chips{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}
.result-summary-chips span{
    display:inline-flex;
    gap:4px;
    align-items:center;
    padding:6px 9px;
    background:#fff;
    border:1px solid #dbe9f1;
    border-radius:999px;
    color:#5f7d92;
    font-size:10px;
}
.result-summary-chips b{
    color:#173c58;
}

.result-next-title{
    margin-top:16px;
    text-align:center;
    color:#48677f;
    font-size:11px;
    font-weight:800;
}
.result-tool-actions{
    padding:0 22px;
}
.result-tool-actions .secondary-btn{
    border:1px solid #cfe6f2;
    background:#f5fbfe;
}

.result-highlight-box{
    margin:12px 22px 0;
    padding:16px;
    text-align:center;
    background:#eef8fd;
    border:1px solid #cfe7f3;
    border-radius:14px;
}
.result-highlight-box>span{
    display:block;
    color:#688397;
    font-size:10px;
}
.result-highlight-box>strong{
    display:block;
    margin:2px 0 5px;
    color:#087fc2;
    font-size:25px;
}
.result-highlight-box>div{
    color:#45667e;
    font-size:11px;
}

.result-safety-note{
    margin:13px 22px 0;
    padding:11px 13px;
    color:#5f7282;
    background:#fff9e9;
    border:1px solid #f0dda4;
    border-radius:12px;
    font-size:10px;
    line-height:1.45;
}

.result-footer-actions{
    display:flex;
    justify-content:center;
    gap:9px;
    padding:20px 22px 22px;
}
.result-action-btn{
    min-width:170px;
    border:1px solid #c9e2ef;
    border-radius:11px;
    padding:11px 15px;
    background:#fff;
    color:#0b6fa9;
    font:inherit;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    transition:.2s ease;
}
.result-action-btn:hover{
    transform:translateY(-1px);
    border-color:#75c1e5;
    box-shadow:0 7px 17px rgba(8,127,194,.10);
}
.result-print{
    color:#fff;
    background:linear-gradient(90deg,#087fc2,#159bd0);
    border-color:transparent;
}
.wide-metric{
    grid-column:span 2;
}

/* pH zachowuje kolory statusu, ale nie przebudowuje całej karty */
.ph-results.ph-low .result-status-badge{
    background:#fff0ee;
    color:#a23f35;
    border-color:#f2c9c4;
}
.ph-results.ph-ok .result-status-badge{
    background:#e8f8ef;
    color:#16734a;
    border-color:#bfe9d1;
}
.ph-results.ph-high .result-status-badge{
    background:#fff5e6;
    color:#9a6414;
    border-color:#efdab8;
}

/* Druk / zapis do PDF z przeglądarki */
@media print{
    body{
        background:#fff!important;
    }
    .site-header,
    .site-footer,
    .subpage-visual-hero,
    .calculator-card,
    .subpage-benefits,
    .content-card,
    .ad-slot,
    .tools-section,
    .info-strip,
    .lower-ad,
    .result-footer-actions,
    .result-next-title,
    .result-tool-actions{
        display:none!important;
    }
    .subpage-wrap,
    .page-content,
    .wrap{
        width:100%!important;
        max-width:none!important;
        padding:0!important;
        margin:0!important;
    }
    .results.result-panel{
        display:block!important;
        max-width:760px!important;
        margin:20px auto!important;
        box-shadow:none!important;
        border:1px solid #bbb!important;
        break-inside:avoid;
    }
}

/* Mobile */
@media(max-width:720px){
    .result-panel-head{
        grid-template-columns:auto 1fr;
    }
    .result-status-badge{
        grid-column:1/-1;
        justify-self:start;
        margin-left:59px;
    }
    .result-grid.result-metrics{
        grid-template-columns:1fr;
    }
    .wide-metric{
        grid-column:auto;
    }
    .result-footer-actions{
        flex-direction:column;
    }
    .result-action-btn{
        width:100%;
    }
    .result-hero-value{
        padding-left:16px;
        padding-right:16px;
    }
}


/* =========================================================
   v0.8.1 — PAMIĘĆ BASENU
   ========================================================= */

.header-inner{
    position:relative;
}
.pool-memory-nav{
    margin-left:4px;
}
.pool-memory-nav-btn{
    display:flex;
    align-items:center;
    gap:7px;
    min-height:40px;
    padding:6px 10px;
    border:1px solid #cfe5f1;
    border-radius:12px;
    background:#eef9fe;
    color:#0d4e73;
    cursor:pointer;
    font:inherit;
}
.pool-memory-nav-btn>span:first-child{
    font-size:18px;
}
.pool-memory-nav-btn small,
.pool-memory-nav-btn strong{
    display:block;
    line-height:1.05;
    text-align:left;
}
.pool-memory-nav-btn small{
    color:#6b8799;
    font-size:9px;
    font-weight:700;
}
.pool-memory-nav-btn strong{
    margin-top:3px;
    color:#087fc2;
    font-size:12px;
}
.pool-memory-nav-btn:hover{
    border-color:#75c1e5;
    background:#e7f6fd;
}

.pool-memory-panel{
    position:relative;
    z-index:9;
    border-bottom:1px solid #cae4f1;
    background:linear-gradient(90deg,#f3fbff,#e8f7fd);
    box-shadow:0 7px 18px rgba(17,76,111,.06);
}
.pool-memory-panel-inner{
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding-top:8px;
    padding-bottom:8px;
}
.pool-memory-copy{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}
.pool-memory-icon{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:11px;
    background:#fff;
    box-shadow:0 4px 12px rgba(8,127,194,.09);
}
.pool-memory-copy strong,
.pool-memory-copy span{
    display:block;
}
.pool-memory-copy strong{
    color:#154563;
    font-size:12px;
}
.pool-memory-copy div>span{
    margin-top:2px;
    color:#628096;
    font-size:10px;
}
.pool-memory-actions{
    display:flex;
    align-items:center;
    gap:7px;
    flex:0 0 auto;
}
.pool-memory-use,
.pool-memory-forget,
.pool-memory-close{
    border:1px solid #c6e2ef;
    border-radius:9px;
    padding:7px 10px;
    font:inherit;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
    text-decoration:none;
}
.pool-memory-use{
    color:#fff;
    background:#087fc2;
    border-color:#087fc2;
}
.pool-memory-forget{
    color:#536f84;
    background:#fff;
}
.pool-memory-close{
    padding:5px 9px;
    color:#6f8798;
    background:transparent;
    border-color:transparent;
    font-size:18px;
    line-height:1;
}

.pool-memory-saved{
    margin:0 22px;
    padding:8px 11px;
    color:#16734a;
    background:#eaf8f0;
    border:1px solid #c6ead5;
    border-radius:10px;
    text-align:center;
    font-size:10px;
    font-weight:800;
}

/* Zapamiętany basen ma być widoczny również gdy menu główne się chowa */
@media(max-width:850px){
    .header-inner{
        gap:8px;
    }
    .pool-memory-nav{
        margin-left:auto;
    }
}
@media(max-width:620px){
    .pool-memory-nav-btn small{
        display:none;
    }
    .pool-memory-nav-btn{
        padding:6px 8px;
    }
    .pool-memory-panel-inner{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }
    .pool-memory-actions{
        width:100%;
        flex-wrap:wrap;
    }
    .pool-memory-use{
        flex:1;
        text-align:center;
    }
}

@media print{
    .pool-memory-nav,
    .pool-memory-panel,
    .pool-memory-saved{
        display:none!important;
    }
}


/* =========================================================
   v0.8.2 — PROFILE / POPULARNE BASENY
   ========================================================= */

.pool-profile-box{
    margin-bottom:18px;
    padding:16px;
    background:linear-gradient(135deg,#f7fcff,#edf8fd);
    border:1px solid #cfe6f2;
    border-radius:16px;
}
.pool-profile-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:13px;
}
.pool-profile-head strong,
.pool-profile-head small{
    display:block;
}
.pool-profile-head strong{
    margin-top:2px;
    color:#123c59;
    font-size:15px;
}
.pool-profile-head small{
    margin-top:3px;
    color:#6d8799;
    font-size:10px;
}
.profile-eyebrow{
    color:#087fc2;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
}
.profile-own-btn{
    flex:0 0 auto;
    border:1px solid #c4dfec;
    border-radius:10px;
    padding:8px 11px;
    background:#fff;
    color:#176c9c;
    font:inherit;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}
.profile-own-btn:hover{
    border-color:#75c1e5;
    background:#f4fbfe;
}

.profile-brand-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:12px;
}
.profile-brand{
    border:1px solid #cce4f0;
    border-radius:999px;
    padding:6px 10px;
    background:#fff;
    color:#5a778c;
    font:inherit;
    font-size:9px;
    font-weight:800;
    cursor:pointer;
}
.profile-brand.active{
    color:#fff;
    background:#087fc2;
    border-color:#087fc2;
}

.profile-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
}
.profile-card{
    min-width:0;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:9px;
    min-height:72px;
    padding:10px;
    text-align:left;
    border:1px solid #d6e7ef;
    border-radius:12px;
    background:#fff;
    color:#173b57;
    cursor:pointer;
    font:inherit;
    transition:.18s ease;
}
.profile-card:hover,
.profile-card.selected{
    transform:translateY(-1px);
    border-color:#6bbce3;
    box-shadow:0 7px 17px rgba(8,127,194,.08);
}
.profile-card.selected{
    background:#f0f9fd;
}
.profile-shape{
    width:31px;
    height:31px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#e9f7fd;
    color:#087fc2;
    font-size:19px;
    font-weight:800;
}
.profile-card-copy{
    min-width:0;
}
.profile-card-copy strong,
.profile-card-copy small,
.profile-card-copy em{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.profile-card-copy strong{
    font-size:10px;
}
.profile-card-copy small{
    margin-top:2px;
    color:#688396;
    font-size:9px;
}
.profile-card-copy em{
    margin-top:3px;
    color:#1691c9;
    font-size:8px;
    font-style:normal;
}
.profile-arrow{
    color:#93adbd;
    font-size:15px;
}
.profile-empty{
    grid-column:1/-1;
    padding:14px;
    text-align:center;
    color:#7d94a5;
    font-size:10px;
}

.profile-selected{
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:10px;
    padding:8px 10px;
    border:1px solid #bfe5d1;
    border-radius:10px;
    background:#ecf9f2;
    color:#3f6c57;
    font-size:9px;
}
.profile-selected strong{
    color:#16734a;
}
.profile-selected button{
    margin-left:auto;
    border:0;
    background:transparent;
    color:#648479;
    cursor:pointer;
    font-size:16px;
}
.compact-preset{
    padding:12px 14px;
}
.compact-preset p{
    margin-top:5px;
}

@media(max-width:900px){
    .profile-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
@media(max-width:620px){
    .pool-profile-head{
        align-items:flex-start;
        flex-direction:column;
    }
    .profile-grid{
        grid-template-columns:1fr;
    }
    .profile-card{
        min-height:66px;
    }
    .profile-own-btn{
        width:100%;
    }
}


/* =========================================================
   v0.9.0 — TREŚĆ I PORADNIKI
   ========================================================= */

.home-guides{
    padding:34px 0 10px;
}
.home-guides-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}
.home-guides-grid>a{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:12px;
    min-height:96px;
    padding:16px;
    background:#fff;
    border:1px solid #d7e8f1;
    border-radius:16px;
    color:#123a58;
    text-decoration:none;
    box-shadow:0 7px 19px rgba(25,72,102,.05);
    transition:.18s ease;
}
.home-guides-grid>a:hover{
    transform:translateY(-2px);
    border-color:#79c3e5;
    box-shadow:0 11px 24px rgba(8,127,194,.09);
}
.home-guides-grid>a>span{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:#eaf7fd;
    font-size:22px;
}
.home-guides-grid strong,
.home-guides-grid small{
    display:block;
}
.home-guides-grid strong{font-size:13px}
.home-guides-grid small{margin-top:4px;color:#6a8498;font-size:10px;line-height:1.35}
.home-guides-grid b{color:#8da8ba}
.home-guides-more{text-align:center;margin-top:13px}
.home-guides-more a{color:#087fc2;text-decoration:none;font-size:11px;font-weight:800}

.guides-page,
.article-page{
    padding-top:30px;
    padding-bottom:50px;
}
.guides-hero{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:20px;
    max-width:1040px;
    margin:0 auto 20px;
    padding:28px 30px;
    background:linear-gradient(135deg,#f7fcff,#eaf8fd);
    border:1px solid #cfe5f1;
    border-radius:22px;
}
.guides-hero h1{
    margin:5px 0 8px;
    font-size:clamp(32px,4vw,46px);
    line-height:1.05;
    letter-spacing:-.035em;
}
.guides-hero p{
    max-width:700px;
    margin:0;
    color:#617f94;
    font-size:14px;
}
.guides-hero-icon{
    width:100px;
    height:100px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#fff;
    box-shadow:0 9px 24px rgba(8,127,194,.08);
    font-size:48px;
}

.guides-grid{
    max-width:1040px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}
.guide-card{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:14px;
    min-height:130px;
    padding:18px;
    background:#fff;
    border:1px solid #d8e8f1;
    border-radius:17px;
    color:#123a58;
    text-decoration:none;
    box-shadow:0 7px 20px rgba(25,72,102,.05);
    transition:.18s ease;
}
.guide-card:hover{
    transform:translateY(-2px);
    border-color:#77c2e4;
}
.guide-card.featured{
    grid-column:1/-1;
    background:linear-gradient(90deg,#fff,#eef9fe);
}
.guide-icon{
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
    border-radius:15px;
    background:#eaf7fd;
    font-size:27px;
}
.guide-card small{
    display:block;
    color:#0a86c9;
    font-size:8px;
    font-weight:900;
    letter-spacing:.1em;
}
.guide-card strong{
    display:block;
    margin-top:2px;
    font-size:15px;
}
.guide-card p{
    margin:4px 0 0;
    color:#698397;
    font-size:11px;
    line-height:1.4;
}
.guide-card>b{
    color:#8da7b8;
    font-size:19px;
}

.guide-article{
    max-width:900px;
    margin:auto;
}
.breadcrumbs{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:14px;
    color:#8299a9;
    font-size:10px;
}
.breadcrumbs a{color:#5e8299;text-decoration:none}
.breadcrumbs strong{color:#3f6178}
.article-header{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:18px;
    align-items:center;
    padding:26px;
    background:linear-gradient(135deg,#f7fcff,#eaf8fd);
    border:1px solid #cfe5f1;
    border-radius:22px;
    margin-bottom:16px;
}
.article-icon{
    width:84px;
    height:84px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#fff;
    box-shadow:0 8px 20px rgba(8,127,194,.08);
    font-size:39px;
}
.article-header h1{
    margin:5px 0 8px;
    font-size:clamp(31px,4vw,44px);
    line-height:1.05;
    letter-spacing:-.035em;
}
.article-header p{
    max-width:680px;
    margin:0;
    color:#607e94;
    font-size:13px;
    line-height:1.55;
}
.guide-article>section{
    margin-top:12px;
    padding:22px 24px;
    background:#fff;
    border:1px solid #dbe9f1;
    border-radius:17px;
}
.guide-article>section h2{
    margin:0 0 8px;
    color:#123a58;
    font-size:20px;
}
.guide-article>section p{
    margin:0;
    color:#607d92;
    font-size:13px;
    line-height:1.7;
}
.formula{
    margin-top:13px;
    padding:13px 15px;
    background:#0f3958;
    color:#eaf8ff;
    border-radius:11px;
    text-align:center;
    font-size:13px;
    font-weight:800;
    letter-spacing:.02em;
}
.article-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-top:16px;
    padding:20px 22px;
    background:linear-gradient(90deg,#087fc2,#159bd0);
    color:#fff;
    border-radius:17px;
}
.article-cta>div{
    display:grid;
    grid-template-columns:auto 1fr;
    column-gap:12px;
    align-items:center;
}
.article-cta>div>span{
    grid-row:1/3;
    font-size:28px;
}
.article-cta strong{
    font-size:14px;
}
.article-cta p{
    margin:2px 0 0;
    opacity:.85;
    font-size:10px;
}
.article-cta>a{
    flex:0 0 auto;
    padding:10px 13px;
    border-radius:10px;
    background:#fff;
    color:#087fc2;
    text-decoration:none;
    font-size:11px;
    font-weight:900;
}

@media(max-width:800px){
    .home-guides-grid,
    .guides-grid{
        grid-template-columns:1fr;
    }
    .guide-card.featured{
        grid-column:auto;
    }
}
@media(max-width:620px){
    .guides-hero,
    .article-header{
        grid-template-columns:1fr;
        text-align:center;
    }
    .guides-hero-icon,
    .article-icon{
        margin:auto;
    }
    .article-cta{
        flex-direction:column;
        align-items:stretch;
    }
    .article-cta>a{
        text-align:center;
    }
}
