:root{
    --bg:#f4f7fb;--card:#ffffff;--text:#152033;--muted:#64748b;--primary:#2157f3;--primary-dark:#163cc2;--accent:#10b981;--line:#e3e8f0;--shadow:0 20px 50px rgba(21,32,51,.12);--radius:24px
}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1160px,92vw);margin:0 auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);backdrop-filter:blur(16px);border-bottom:1px solid rgba(226,232,240,.85)}.nav-wrap{display:flex;align-items:center;justify-content:space-between;height:76px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:850}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--primary),#69a4ff);color:#fff;box-shadow:0 10px 25px rgba(33,87,243,.28)}.main-nav{display:flex;gap:26px;align-items:center;color:#334155;font-weight:650}.main-nav a:hover{color:var(--primary)}.nav-toggle{display:none;border:0;background:#edf2ff;border-radius:12px;padding:10px 13px;font-size:20px}.hero{position:relative;overflow:hidden;padding:78px 0 64px;background:radial-gradient(circle at top left,#dbeafe 0,#f8fbff 38%,#eff6ff 100%)}.hero:after{content:"";position:absolute;right:-180px;top:-220px;width:520px;height:520px;border-radius:50%;background:linear-gradient(135deg,rgba(33,87,243,.22),rgba(16,185,129,.18));filter:blur(8px)}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.25fr .75fr;gap:42px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-size:13px;text-transform:uppercase;letter-spacing:.12em;font-weight:850}.hero h1,.page-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.05;margin:12px 0 18px;letter-spacing:-.04em}.hero p,.page-hero p{font-size:19px;color:var(--muted);max-width:720px}.amount-box{margin-top:30px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}.amount-box label,.filter-bar label{font-weight:800;display:block;margin-bottom:10px}.amount-row{display:flex;gap:12px}.amount-row input,.filter-bar input,.admin-input{width:100%;border:1px solid var(--line);border-radius:16px;padding:15px 16px;font-size:17px;background:#fff}.quick-amounts{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.quick-amounts a{padding:8px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:750;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:16px;padding:13px 18px;font-weight:850;cursor:pointer;text-align:center;transition:.18s ease;white-space:nowrap}.btn-primary{background:linear-gradient(135deg,var(--primary),#4f7cff);color:#fff;box-shadow:0 14px 25px rgba(33,87,243,.24)}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(33,87,243,.3)}.btn-ghost{background:#eef3ff;color:#1e3a8a}.btn-large{font-size:18px;padding:16px 24px}.btn-full{width:100%}.hero-card{background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.9);border-radius:32px;padding:32px;box-shadow:var(--shadow)}.score-circle{width:74px;height:74px;border-radius:24px;background:linear-gradient(135deg,var(--accent),#5eead4);display:grid;place-items:center;color:#fff;font-size:36px;font-weight:900;margin-bottom:18px}.hero-card h2{margin:0 0 10px;font-size:28px}.hero-card ul{padding-left:20px;color:#334155}.section{padding:62px 0}.section.compact{padding:30px 0}.section.soft{background:linear-gradient(180deg,#fff,#f4f7fb)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.section-head h2{margin:8px 0 0;font-size:34px;letter-spacing:-.03em}.link-more{font-weight:850;color:var(--primary)}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.loan-card,.post-card,.content-card,.side-box,.ad-box,.feature{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 30px rgba(15,23,42,.06)}.loan-card{padding:22px;display:flex;flex-direction:column;gap:15px}.loan-top{display:flex;align-items:center;gap:14px}.loan-logo{width:58px;height:58px;border-radius:18px;object-fit:contain;background:#f8fafc;border:1px solid var(--line);padding:6px}.loan-logo.placeholder{display:grid;place-items:center;font-size:26px;font-weight:900;color:#fff;background:linear-gradient(135deg,var(--primary),#60a5fa);padding:0}.loan-logo.big{width:86px;height:86px;border-radius:26px}.loan-card h3{margin:0;font-size:22px}.loan-card h3 a:hover,.post-card h3 a:hover,.post-card h2 a:hover{color:var(--primary)}.pill{display:inline-flex;padding:5px 10px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:850}.loan-card p{color:var(--muted);margin:0}.loan-meta{display:flex;justify-content:space-between;gap:10px;padding:12px;border-radius:16px;background:#f8fafc;font-weight:850;color:#334155}.card-actions{display:flex;gap:10px;margin-top:auto}.page-hero{padding:58px 0;background:linear-gradient(135deg,#eff6ff,#f8fbff)}.page-hero.small h1{font-size:clamp(34px,4vw,50px)}.filter-bar{display:grid;grid-template-columns:160px 1fr auto auto;gap:12px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.list-space{margin-top:24px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px;align-items:start}.content-card{padding:30px}.loan-detail-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.loan-ranges{display:flex;gap:10px;flex-wrap:wrap}.loan-ranges span{background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:8px 12px;font-weight:850}.rich-text h2,.rich-text h3{line-height:1.25}.rich-text a{color:var(--primary);font-weight:800}.rich-text img{border-radius:18px}.cta-panel{margin-top:28px;border-radius:24px;background:linear-gradient(135deg,#0f172a,#1e3a8a);color:#fff;padding:26px}.cta-panel p{color:#dbeafe}.iframe-wrap{overflow:hidden;border-radius:18px;background:#fff;border:1px solid var(--line);padding:10px}.iframe-wrap iframe{width:100%;min-height:620px;border:0}.sidebar{display:flex;flex-direction:column;gap:18px;position:sticky;top:94px}.side-box{padding:20px}.side-box h3{margin:0 0 12px}.side-logo{width:70px;height:70px;border-radius:20px;object-fit:contain;margin-bottom:12px;background:#f8fafc;border:1px solid var(--line);padding:6px}.ad-image{border-radius:18px}.ad-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.ad-box{padding:22px}.detail-ad{margin-top:20px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.feature{padding:24px}.feature span{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#e0e7ff;color:var(--primary);font-weight:900;margin-bottom:12px}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.blog-grid.wide{grid-template-columns:1fr;gap:18px}.post-card{overflow:hidden}.post-card img{width:100%;height:180px;object-fit:cover}.post-card>div{padding:20px}.post-card h2,.post-card h3{line-height:1.25;margin:10px 0}.hero-image{width:100%;max-height:380px;object-fit:cover;border-radius:22px;margin-bottom:24px}.empty{background:#fff;border:1px dashed #cbd5e1;border-radius:20px;padding:24px;color:var(--muted)}.site-footer{background:#0f172a;color:#cbd5e1;padding:46px 0 24px;margin-top:40px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:34px}.footer-brand{color:#fff;font-size:22px;font-weight:900;margin-bottom:10px}.site-footer h3{color:#fff;margin:0 0 12px}.footer-links{display:flex;flex-direction:column;gap:8px}.footer-links a:hover{color:#fff}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:28px;padding-top:20px;font-size:14px;color:#94a3b8}
@media(max-width:900px){.nav-toggle{display:block}.main-nav{display:none}.menu-open .main-nav{display:flex;position:absolute;top:76px;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;padding:20px 4vw;border-bottom:1px solid var(--line)}.hero-grid,.content-grid,.footer-grid,.ad-strip{grid-template-columns:1fr}.cards-grid,.blog-grid,.feature-grid{grid-template-columns:1fr}.amount-row,.card-actions,.section-head{flex-direction:column;align-items:stretch}.filter-bar{grid-template-columns:1fr}.sidebar{position:static}.hero{padding-top:46px}.nav-wrap{height:70px}}

/* Lepší formátování článků, stránek a detailů půjček */
.rich-text{font-size:17px;line-height:1.78;color:#334155}
.rich-text p{margin:0 0 1.15em}
.rich-text h2{margin:1.75em 0 .65em;font-size:28px;line-height:1.25;letter-spacing:-.025em;color:#0f172a}
.rich-text h3{margin:1.55em 0 .6em;font-size:23px;line-height:1.3;color:#0f172a}
.rich-text h4{margin:1.35em 0 .55em;font-size:19px;line-height:1.35;color:#0f172a}
.rich-text strong{font-weight:900;color:#0f172a}
.rich-text ul{margin:0 0 1.2em;padding-left:24px}
.rich-text li{margin:.35em 0}
.rich-text em{font-style:italic;color:#1f2937}
.rich-text blockquote{margin:1.35em 0;padding:18px 20px;border-left:5px solid var(--primary);background:#f8fafc;border-radius:0 18px 18px 0;color:#334155;font-weight:650}
.rich-text blockquote p{margin:0}
.rich-text hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.rich-text p:first-child{margin-top:0}
.rich-text h2:first-child,.rich-text h3:first-child{margin-top:0}
.rich-text ol{margin:0 0 1.2em;padding-left:24px}
.rich-text ol li{margin:.35em 0}


/* Logo webu */
.brand-logo{display:block;max-width:230px;max-height:52px;width:auto;height:auto;object-fit:contain}
.footer-logo{display:block;max-width:220px;max-height:54px;width:auto;height:auto;object-fit:contain;margin-bottom:10px}
@media(max-width:900px){.brand-logo{max-width:190px;max-height:46px}}


/* Cookie lišta – moderní kompaktní spodní box */
.cookie-consent{
    position:fixed;
    left:0;
    right:0;
    bottom:18px;
    z-index:9999;
    padding:0 18px;
    pointer-events:none;
}
.cookie-consent[hidden]{display:none!important}
.cookie-consent__box{
    pointer-events:auto;
    width:min(1060px,calc(100vw - 36px));
    margin:0 auto;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
    padding:16px;
    border-radius:26px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(226,232,240,.95);
    box-shadow:0 22px 70px rgba(15,23,42,.22),0 2px 10px rgba(15,23,42,.06);
    backdrop-filter:blur(18px);
}
.cookie-consent__icon{
    width:48px;
    height:48px;
    border-radius:17px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    color:#fff;
    font-weight:950;
    font-size:24px;
    background:linear-gradient(135deg,var(--primary),#22c55e);
    box-shadow:0 12px 26px rgba(37,99,235,.24);
}
.cookie-consent__text strong{
    display:block;
    margin:0 0 4px;
    color:#0f172a;
    font-size:16px;
    line-height:1.25;
    letter-spacing:-.01em;
}
.cookie-consent__text p{
    margin:0;
    color:#475569;
    font-size:14.5px;
    line-height:1.55;
}
.cookie-consent__text a{
    display:inline-flex;
    margin-top:6px;
    color:#1d4ed8;
    font-weight:850;
    font-size:14px;
    text-decoration:none;
}
.cookie-consent__text a:hover{text-decoration:underline}
.cookie-consent__actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}
.cookie-consent__actions .btn{
    min-height:46px;
    padding:12px 17px;
    border-radius:15px;
    font-size:14px;
}
.btn-light{
    background:#fff;
    color:#334155;
    border:1px solid #cbd5e1;
    box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.btn-light:hover{background:#f8fafc;color:#0f172a}
@media(max-width:820px){
    .cookie-consent{bottom:10px;padding:0 10px}
    .cookie-consent__box{
        width:100%;
        grid-template-columns:auto minmax(0,1fr);
        align-items:start;
        gap:12px;
        padding:14px;
        border-radius:22px;
    }
    .cookie-consent__icon{width:42px;height:42px;border-radius:15px;font-size:21px}
    .cookie-consent__actions{
        grid-column:1 / -1;
        display:grid;
        grid-template-columns:1fr;
        width:100%;
        margin-top:2px;
    }
    .cookie-consent__actions .btn{width:100%;justify-content:center}
}



/* Oprava: logo v patičce má zůstat barevné, nepřebarvovat na bílo */
.footer-logo{filter:none!important}

/* Větší a vycentrovaná loga půjček v kartách, detailu a sidebaru */
.loan-card-logo-first .loan-top{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:12px;
}
.loan-logo-link,
.side-logo-link{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
}
.loan-card-logo-first .loan-logo{
    width:150px;
    height:88px;
    max-width:100%;
    margin:0 auto;
    border-radius:22px;
    padding:12px;
    object-fit:contain;
    background:#fff;
    border:1px solid var(--line);
    box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.loan-card-logo-first .loan-logo.placeholder{
    width:88px;
    height:88px;
    padding:0;
}
.loan-card-title{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
}
.loan-card-logo-first h3{
    margin:0;
    text-align:center;
}
.side-loan-card{
    text-align:center;
}
.side-logo{
    width:150px;
    height:88px;
    max-width:100%;
    margin:0 auto 12px;
    border-radius:22px;
    padding:12px;
    object-fit:contain;
    background:#fff;
    border:1px solid var(--line);
    box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.side-loan-title{
    display:block;
    margin:0 0 8px;
    color:#0f172a;
    font-size:19px;
    line-height:1.25;
}
.side-loan-title a:hover{
    color:var(--primary);
}
.loan-detail-head-centered{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:14px;
}
.loan-detail-logo,
.loan-logo.big.loan-detail-logo{
    width:190px;
    height:110px;
    max-width:100%;
    border-radius:26px;
    padding:14px;
    object-fit:contain;
    background:#fff;
    box-shadow:0 12px 30px rgba(15,23,42,.07);
}
.loan-detail-title{
    font-size:28px;
    line-height:1.2;
    font-weight:900;
    color:#0f172a;
    letter-spacing:-.03em;
}
.loan-detail-head-centered .loan-ranges{
    justify-content:center;
}
@media(max-width:900px){
    .loan-card-logo-first .loan-logo,
    .side-logo{
        width:138px;
        height:82px;
    }
    .loan-detail-logo,
    .loan-logo.big.loan-detail-logo{
        width:165px;
        height:98px;
    }
    .loan-detail-title{
        font-size:24px;
    }
}

/* FINAL FIX: větší vycentrovaná loga půjček i pro starší šablonu bez loan-card-logo-first */
.loan-card .loan-top{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:12px!important;
}
.loan-card .loan-logo-link{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
}
.loan-card .loan-logo{
    width:165px!important;
    height:94px!important;
    max-width:100%!important;
    margin:0 auto!important;
    border-radius:22px!important;
    padding:12px!important;
    object-fit:contain!important;
    background:#fff!important;
    border:1px solid var(--line)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.07)!important;
}
.loan-card .loan-logo.placeholder{
    width:92px!important;
    height:92px!important;
    padding:0!important;
}
.loan-card .loan-card-title,
.loan-card .loan-top > div{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:7px!important;
}
.loan-card h3{
    text-align:center!important;
    margin:0!important;
}
.side-loan-card{
    text-align:center!important;
}
.side-logo-link{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
}
.side-logo{
    width:165px!important;
    height:94px!important;
    max-width:100%!important;
    margin:0 auto 12px!important;
    border-radius:22px!important;
    padding:12px!important;
    object-fit:contain!important;
    background:#fff!important;
    border:1px solid var(--line)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.07)!important;
}
.side-loan-title{
    display:block!important;
    margin:0 0 8px!important;
    text-align:center!important;
    font-size:19px!important;
    line-height:1.25!important;
}
.loan-detail-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:14px!important;
}
.loan-detail-head .loan-logo,
.loan-detail-head .loan-logo.big,
.loan-detail-logo,
.loan-logo.big.loan-detail-logo{
    width:200px!important;
    height:115px!important;
    max-width:100%!important;
    margin:0 auto!important;
    border-radius:26px!important;
    padding:14px!important;
    object-fit:contain!important;
    background:#fff!important;
    border:1px solid var(--line)!important;
    box-shadow:0 12px 30px rgba(15,23,42,.08)!important;
}
.loan-detail-head h1,
.loan-detail-title{
    text-align:center!important;
}
.loan-detail-head .loan-ranges{
    justify-content:center!important;
}
@media(max-width:900px){
    .loan-card .loan-logo,
    .side-logo{
        width:145px!important;
        height:84px!important;
    }
    .loan-detail-head .loan-logo,
    .loan-detail-head .loan-logo.big,
    .loan-detail-logo,
    .loan-logo.big.loan-detail-logo{
        width:170px!important;
        height:100px!important;
    }
}
