
:root{
 --bg:#f6f9f7;--surface:#fff;--ink:#173348;--muted:#5f707a;--line:#dfe8e3;
 --green:#16704a;--green2:#125c3d;--mint:#eaf8f1;--blue:#eaf3ff;--violet:#f2efff;
 --sand:#fff7e9;--danger:#a64545;--navy:#163246;--shadow:0 14px 38px rgba(25,54,67,.08);
 --radius:22px;--max:1200px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.48}
a{color:inherit;text-decoration:none}button,input,select{font:inherit}.container{max-width:var(--max);margin:auto;padding:0 22px}
.topbar{background:#eef6f1;color:#52686c;font-size:13px}.topbar .container{display:flex;justify-content:space-between;padding-top:8px;padding-bottom:8px}
.header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid #edf1ef}
.header-row{height:76px;display:flex;align-items:center;gap:28px}.brand img{width:190px;display:block}.nav{display:flex;align-items:center;gap:24px;flex:1;font-weight:650;font-size:14px}.nav a:hover{color:var(--green)}
.header-actions{display:flex;align-items:center;gap:10px}.city-btn,.search-btn{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px}.cta{background:var(--green);color:white;border:0;border-radius:13px;padding:12px 18px;font-weight:800;cursor:pointer}.cta:hover{background:var(--green2)}
.hero{padding:30px 0 26px}.hero-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#eef9f3 0%,#eaf4ff 55%,#f3efff 100%);border:1px solid #e3ece8;border-radius:30px;padding:42px;box-shadow:var(--shadow);display:grid;grid-template-columns:1.15fr .85fr;gap:32px}
.hero h1{font-size:48px;line-height:1.05;margin:0 0 14px;letter-spacing:-1.6px;max-width:680px}.hero p{font-size:18px;color:#51646f;margin:0 0 26px;max-width:690px}
.hero-art{display:flex;align-items:center;justify-content:center;min-height:310px;position:relative}
.phone{width:176px;height:280px;border-radius:34px;background:#173348;padding:10px;transform:rotate(6deg);box-shadow:0 25px 55px rgba(25,54,67,.18)}.phone-screen{height:100%;border-radius:26px;background:linear-gradient(#fff,#eaf8f1);padding:22px}.mini-card{height:82px;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(25,54,67,.11);margin-top:18px;padding:15px}.coin{position:absolute;border-radius:50%;background:#f7cb5d;box-shadow:0 10px 25px rgba(176,135,42,.18)}.c1{width:56px;height:56px;left:42px;top:55px}.c2{width:38px;height:38px;right:42px;bottom:55px}.card-float{position:absolute;right:10px;top:52px;width:155px;height:96px;border-radius:20px;background:linear-gradient(135deg,#2bae73,#4dc898);transform:rotate(-8deg);box-shadow:0 18px 36px rgba(43,174,115,.2)}
.selector{background:#fff;border:1px solid #e3ebe7;border-radius:22px;padding:20px;box-shadow:0 12px 30px rgba(25,54,67,.07);max-width:780px}.selector-grid{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px}.field{background:#f8faf9;border:1px solid var(--line);border-radius:14px;padding:10px 13px}.field label{display:block;font-size:11px;color:#7b8a91;margin-bottom:4px}.field input,.field select{width:100%;border:0;background:transparent;outline:0;font-weight:750;color:var(--ink)}
.trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:15px;color:#5d7078;font-size:13px}.trust span:before{content:"✓";color:var(--green);font-weight:900;margin-right:6px}
.section{padding:34px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section h2{font-size:30px;margin:0;letter-spacing:-.6px}.section-head p{margin:5px 0 0;color:var(--muted)}.link{color:var(--green2);font-weight:800}
.cat-group{margin-bottom:22px}.cat-label{font-size:13px;color:#73858d;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin:0 0 10px}.chips{display:flex;gap:9px;flex-wrap:wrap}.chip{background:#fff;border:1px solid var(--line);padding:10px 14px;border-radius:999px;font-size:14px;font-weight:700;transition:.2s}.chip:hover{border-color:#9bd8ba;background:var(--mint);transform:translateY(-1px)}.chip.hot{background:#e9f8f0;border-color:#c9ecd9}.chip.amount{background:#eef5ff;border-color:#dae8fb}
.catalog-layout{display:grid;grid-template-columns:265px 1fr;gap:22px;align-items:start}.filters{background:#fff;border:1px solid var(--line);border-radius:20px;padding:19px;position:sticky;top:94px}.filters h3{margin:0 0 15px}.filters .field{margin-bottom:10px}.filters .cta{width:100%;margin-top:6px}.filter-note{font-size:12px;color:var(--muted);margin-top:10px}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.loan-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:19px;box-shadow:0 8px 22px rgba(28,53,65,.05);transition:.2s;position:relative}.loan-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#cfe2d8}.loan-top{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:12px}.brandmark{height:42px;max-width:160px;object-fit:contain}.wordmark{font-size:22px;font-weight:900;letter-spacing:-.5px}.rating{font-size:13px;background:#fff7dc;padding:6px 8px;border-radius:10px;color:#795c0c;font-weight:800}.psk{background:#f2f8f5;border-radius:15px;padding:12px;margin:10px 0 14px;border:1px solid #e1eee7}.psk small{display:block;color:#66777e;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.psk strong{font-size:19px;display:block;margin-top:3px}.loan-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.metric{border-top:1px solid #eef2f0;padding-top:9px}.metric small{display:block;color:#798991;font-size:11px}.metric strong{font-size:15px}.tags{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.tag{font-size:11px;background:#eef8f3;color:#347055;border-radius:999px;padding:5px 8px;font-weight:750}.card-actions{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.btn-primary{display:block;text-align:center;background:var(--green);color:#fff;padding:11px 13px;border-radius:12px;font-weight:850}.btn-secondary{font-size:13px;color:#57717d;font-weight:800}.legal-small{font-size:10px;color:#8b989d;margin-top:10px}
.city-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.city{background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px 13px;font-weight:700;font-size:14px}.city:hover{background:var(--mint);border-color:#c9e6d7}
.info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.info{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.icon{width:42px;height:42px;border-radius:13px;background:var(--mint);display:grid;place-items:center;margin-bottom:12px;color:var(--green2);font-weight:900}.info h3{font-size:16px;margin:0 0 7px}.info p{font-size:13px;color:var(--muted);margin:0}
.author{display:grid;grid-template-columns:90px 1fr auto;gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#f0f8f4);border:1px solid var(--line);border-radius:22px;padding:22px}.avatar{width:82px;height:82px;border-radius:50%;background:#dcebe4;display:grid;place-items:center;font-size:28px;font-weight:900}.author h3{margin:0 0 4px}.author p{margin:0;color:var(--muted)}
.footer{margin-top:40px;background:#152f42;color:#d9e5ea;padding:42px 0 28px}.footer-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:36px}.footer h4{color:#fff;margin-top:0}.footer a{display:block;color:#c1d0d6;font-size:13px;margin:7px 0}.footer .fine{font-size:11px;color:#91a8b2;margin-top:28px;max-width:900px}
.page-hero{padding:28px 0 10px}.breadcrumbs{font-size:12px;color:#819098;margin-bottom:10px}.page-hero h1{font-size:38px;margin:0 0 10px}.page-hero p{color:var(--muted);max-width:800px}
.notice{background:#fff8e8;border:1px solid #f0dfb7;border-radius:16px;padding:14px 16px;color:#735f2f;font-size:13px;margin:14px 0}
.empty{background:#fff;border:1px dashed #cddbd4;border-radius:18px;padding:28px;text-align:center;color:var(--muted)}
.mobile-nav{display:none}
@media (max-width:980px){
 .nav{display:none}.mobile-nav{display:inline-flex}.hero-card{grid-template-columns:1fr}.hero-art{display:none}.hero h1{font-size:40px}.selector-grid{grid-template-columns:1fr 1fr}.catalog-layout{grid-template-columns:1fr}.filters{position:static}.cards{grid-template-columns:1fr 1fr}.city-grid{grid-template-columns:repeat(3,1fr)}.info-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:650px){
 .container{padding:0 14px}.topbar{display:none}.header-row{height:64px}.brand img{width:155px}.header-actions .city-btn{display:none}.hero{padding-top:16px}.hero-card{padding:24px;border-radius:22px}.hero h1{font-size:34px}.hero p{font-size:16px}.selector{padding:14px}.selector-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.section{padding:27px 0}.section h2{font-size:26px}.city-grid{grid-template-columns:repeat(2,1fr)}.info-grid{grid-template-columns:1fr}.author{grid-template-columns:70px 1fr}.author .cta{grid-column:1/-1}.avatar{width:64px;height:64px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.page-hero h1{font-size:31px}
}

/* Full SEO category pages */
.seo-intro{max-width:900px;font-size:17px;color:#4d626c}
.quick-answer{background:linear-gradient(135deg,#edf9f3,#f5fbf8);border:1px solid #d8ece1;border-radius:18px;padding:18px 20px;margin:18px 0}
.quick-answer strong{display:block;margin-bottom:6px}
.content-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:0 8px 22px rgba(28,53,65,.04)}
.content-card h2{font-size:27px;margin:28px 0 12px}.content-card h2:first-child{margin-top:0}
.content-card h3{font-size:21px;margin:22px 0 9px}
.content-card p,.content-card li{color:#465b65}
.content-card ul,.content-card ol{padding-left:22px}
.faq-list{display:grid;gap:10px}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 18px}
.faq-item summary{cursor:pointer;font-weight:800;padding:16px 0;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"+";float:right;color:var(--green);font-size:20px}
.faq-item[open] summary:after{content:"–"}.faq-answer{padding:0 0 16px;color:#526872}
.related-cats{display:flex;gap:8px;flex-wrap:wrap}
.page-meta{display:flex;gap:14px;flex-wrap:wrap;color:#788991;font-size:12px;margin-top:12px}
.seo-image{width:100%;max-height:360px;object-fit:cover;border-radius:22px;border:1px solid var(--line);margin:16px 0}

/* Homepage SEO + author + footer v0.1.4 */
.home-seo .content-card{max-width:980px;margin:0 auto}
.home-seo .content-card p{font-size:16px;line-height:1.75}
.home-seo .content-card h2{font-size:30px}
.author-photo{width:82px;height:82px;border-radius:50%;object-fit:cover;border:1px solid var(--line);background:#eef5f1}
.author-role{font-weight:800;color:#365765!important;margin:0 0 5px!important}
.footer-about{color:#a9bec7;font-size:13px;max-width:390px;line-height:1.6}
.footer-seo{border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);padding:18px 0;margin-top:26px;color:#aec0c8;font-size:12px;line-height:1.7;max-width:1000px}
@media(max-width:650px){.home-seo .content-card{padding:20px}.home-seo .content-card h2{font-size:24px}.author-photo{width:64px;height:64px}}

/* Homepage commercial layout v0.1.5 */
.home-offers{padding-top:22px}
.home-offers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-offers-grid .loan-card{min-width:0}
.home-offers-grid .loan-grid{grid-template-columns:1fr 1fr}
.home-offers-grid .card-actions{grid-template-columns:1fr}
.home-offers-grid .btn-secondary{text-align:center;padding-top:2px}
.hero{padding-bottom:18px}
.hero + .home-offers{padding-top:18px}
@media(max-width:1050px){.home-offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.home-offers-grid{grid-template-columns:1fr}.home-offers{padding-top:10px}}

.mfo-banner-wrap{height:118px;border-radius:15px;background:#f7faf8;border:1px solid #e7eeea;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:-2px -2px 14px}
.mfo-banner{width:100%;height:100%;object-fit:contain;display:block}
.banner-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.banner-result{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px}.banner-preview{height:180px;background:#f7faf8;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:10px}.banner-preview img{max-width:100%;max-height:100%;object-fit:contain}@media(max-width:850px){.banner-results{grid-template-columns:1fr}}

/* MFO internal SEO pages and two-link cards v0.2.2 */
.brand-link{display:flex;align-items:center;text-decoration:none;color:inherit}
.card-actions .internal-detail{display:flex;align-items:center;justify-content:center;text-align:center}
.mfo-detail-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:0 10px 28px rgba(28,53,65,.05)}
.mfo-detail-banner{height:220px;background:#f7faf8;border:1px solid var(--line);border-radius:18px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:20px}
.mfo-detail-banner img{width:100%;height:100%;object-fit:contain}
.mfo-detail-logo{height:110px;display:flex;align-items:center;margin-bottom:18px}.mfo-detail-logo img{max-width:280px;max-height:90px}
.mfo-detail-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.mfo-detail-head h2{margin:0 0 6px;font-size:30px}
.mfo-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.mfo-facts>div{background:#f7faf8;border:1px solid var(--line);border-radius:14px;padding:14px}.mfo-facts small{display:block;color:#72848d;margin-bottom:5px}.mfo-facts strong{font-size:15px}
.source-note{font-size:12px;color:#72848d;margin-top:16px}.source-note a{color:inherit;text-decoration:underline}
.legal-table{display:grid}.legal-row{display:grid;grid-template-columns:240px 1fr;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.legal-row span{color:#71848e}.legal-row strong{font-weight:700}
@media(max-width:800px){.mfo-facts{grid-template-columns:1fr 1fr}.mfo-detail-head{align-items:flex-start;flex-direction:column}.legal-row{grid-template-columns:1fr;gap:4px}}
@media(max-width:500px){.mfo-facts{grid-template-columns:1fr}.mfo-detail-banner{height:160px}}

/* MFO detail page redesign v0.2.3 */
.mfo-page{background:#f6f9f7}
.mfo-page-hero{padding:34px 0 18px}
.mfo-page-hero h1{max-width:980px;margin:18px 0 12px;font-size:44px;line-height:1.08;letter-spacing:-.02em}
.mfo-page-hero .seo-intro{max-width:920px;margin:0;color:#5a6f79;font-size:16px;line-height:1.65}

.mfo-main-section{padding:20px 0 28px}
.mfo-product-card{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.35fr);gap:26px;background:#fff;border:1px solid var(--line);border-radius:26px;padding:26px;box-shadow:0 14px 40px rgba(28,53,65,.07)}
.mfo-product-media{min-width:0}
.mfo-product-media:empty{display:none}
.mfo-product-card:has(.mfo-product-media:empty){grid-template-columns:1fr}
.mfo-product-media .mfo-detail-banner{height:100%;min-height:300px;margin:0;border-radius:20px;background:#f8fbf9}
.mfo-product-media .mfo-detail-logo{height:300px;margin:0;justify-content:center;background:#f8fbf9;border:1px solid var(--line);border-radius:20px}
.mfo-product-media .mfo-detail-logo img{max-width:78%;max-height:120px}
.mfo-product-content{display:flex;flex-direction:column;min-width:0}
.mfo-product-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
.mfo-brand-title{font-size:30px;font-weight:900;letter-spacing:-.015em;color:var(--ink)}
.mfo-score{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:7px 10px;border-radius:999px;background:#fff6d9;color:#7a5a00;font-weight:800;font-size:14px}
.mfo-score span{font-weight:600;color:#8a7740;font-size:12px}

.mfo-psk-box{background:linear-gradient(135deg,#edf9f3,#f6fbf8);border:1px solid #d8ebe1;border-radius:18px;padding:16px 18px;margin-bottom:14px}
.mfo-psk-box small{display:block;text-transform:uppercase;letter-spacing:.03em;color:#6d818a;font-size:11px;margin-bottom:6px}
.mfo-psk-box strong{font-size:22px;color:var(--ink)}

.mfo-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}
.mfo-facts>div{background:#f8faf9;border:1px solid var(--line);border-radius:15px;padding:14px 15px;min-width:0}
.mfo-facts small{display:block;color:#72848d;font-size:12px;margin-bottom:6px}
.mfo-facts strong{display:block;font-size:16px;line-height:1.25;color:var(--ink)}
.mfo-main-cta{display:flex;align-items:center;justify-content:center;min-height:54px;background:var(--green);color:#fff;text-decoration:none;border-radius:15px;font-weight:900;font-size:16px;margin-top:auto;box-shadow:0 8px 18px rgba(43,174,115,.18)}
.mfo-main-cta:hover{transform:translateY(-1px)}
.mfo-card-note{margin-top:10px;color:#7a8c94;font-size:12px;text-align:center}

.mfo-verification-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.mfo-verification-strip>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px 15px}
.mfo-verification-strip small{display:block;color:#788b94;font-size:11px;margin-bottom:5px}
.mfo-verification-strip strong,.mfo-verification-strip a{font-size:13px;font-weight:800;color:var(--ink);text-decoration:none}

.mfo-company-section{padding-top:10px}
.mfo-company-card{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(0,1.4fr);gap:34px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}
.mfo-company-intro{padding-right:10px}
.mfo-company-intro h3{font-size:21px;margin:0 0 8px}
.mfo-company-intro p{color:#687c85;margin:0;line-height:1.55}
.legal-table{display:grid}
.legal-row{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;padding:11px 0;border-bottom:1px solid var(--line)}
.legal-row:last-child{border-bottom:0}
.legal-row span{color:#71848e;font-size:13px}
.legal-row strong{font-weight:750;line-height:1.35;word-break:break-word}
.mfo-risk-note{font-size:13px;line-height:1.55}

@media(max-width:900px){
 .mfo-page-hero h1{font-size:36px}
 .mfo-product-card{grid-template-columns:1fr}
 .mfo-product-media .mfo-detail-banner,.mfo-product-media .mfo-detail-logo{height:230px;min-height:230px}
 .mfo-verification-strip{grid-template-columns:1fr}
 .mfo-company-card{grid-template-columns:1fr}
}
@media(max-width:600px){
 .mfo-page-hero{padding-top:22px}
 .mfo-page-hero h1{font-size:30px}
 .mfo-product-card{padding:16px;border-radius:20px}
 .mfo-brand-title{font-size:25px}
 .mfo-psk-box strong{font-size:19px}
 .mfo-facts{grid-template-columns:1fr}
 .mfo-product-media .mfo-detail-banner,.mfo-product-media .mfo-detail-logo{height:180px;min-height:180px}
 .mfo-company-card{padding:18px}
 .legal-row{grid-template-columns:1fr;gap:4px}
}

/* Related categories grid fix v0.2.4 */
.related-cats{
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
 width:100%;
 max-width:100%;
 overflow:visible!important;
}
.related-cats .chip{
 width:100%;
 max-width:none!important;
 min-width:0!important;
 min-height:44px;
 display:flex;
 align-items:center;
 justify-content:center;
 padding:10px 12px;
 white-space:normal!important;
 overflow-wrap:anywhere;
 text-align:center;
 line-height:1.25;
 box-sizing:border-box;
}
@media(max-width:1000px){.related-cats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.related-cats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.related-cats{grid-template-columns:1fr}}

/* Author profile and footer redesign v0.2.6 */
.author-v2{
  grid-template-columns:82px minmax(0,1fr) auto;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border-radius:22px;
  padding:22px;
  transition:border-color .18s ease,transform .18s ease;
}
@media(hover:hover) and (pointer:fine){
  .author-v2:hover{border-color:#bddfd0;transform:translateY(-1px)}
}
.author-main{min-width:0}
.author-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.author-name-row h3{margin:0}
.author-check{
  font-size:11px;
  font-weight:800;
  color:#125c3d;
  background:#eaf8f1;
  border:1px solid #b8ddca;
  border-radius:999px;
  padding:5px 8px;
}
.author-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.author-badges span{font-size:12px;font-weight:750;color:#49636e;background:#f2f7f4;border:1px solid var(--line);border-radius:999px;padding:6px 9px}
.author-more{font-size:13px;font-weight:850;color:#238153;white-space:nowrap;align-self:center}

.author-profile-section{padding-top:12px}
.author-profile-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:30px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px}
.author-page-photo,.author-page-avatar{width:170px;height:170px;border-radius:50%;object-fit:cover;border:1px solid var(--line);background:#e5f0eb}
.author-page-avatar{display:grid;place-items:center;font-size:52px;font-weight:900;color:var(--ink)}
.author-profile-main h1{font-size:38px;line-height:1.12;margin:8px 0 8px}
.eyebrow{text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:850;color:#238153}
.author-page-role{font-weight:850;color:#365765;margin:0 0 10px}
.author-page-intro{max-width:820px;color:var(--muted);font-size:16px;line-height:1.65}
.author-stats{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.author-stats span{padding:8px 11px;border-radius:999px;background:#edf7f2;border:1px solid #d9ebe2;font-size:12px;font-weight:800;color:#315e4a}
.author-topics{margin-top:8px}

.footer{margin-top:48px;padding:46px 0 24px}
.footer-grid-v2{grid-template-columns:1.55fr repeat(4,minmax(0,1fr));gap:34px}
.footer-brand{display:inline-flex;margin-bottom:16px}
.footer-brand img{width:178px;filter:brightness(0) invert(1);opacity:.96}
.footer h4{font-size:13px;margin:0 0 13px}
.footer a{font-size:13px;line-height:1.4;text-decoration:none}
.footer a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;border-top:1px solid rgba(255,255,255,.08);margin-top:22px;padding-top:18px}
.footer-bottom .fine{margin:0;max-width:820px}
.footer-copy{font-size:11px;color:#819aa5;margin:0;text-align:right;white-space:nowrap}

@media(max-width:1080px){
 .footer-grid-v2{grid-template-columns:1.4fr repeat(2,1fr)}
 .footer-brand-col{grid-row:span 2}
}
@media(max-width:760px){
 .author-profile-card{grid-template-columns:1fr;text-align:left;padding:22px}
 .author-page-photo,.author-page-avatar{width:120px;height:120px}
 .author-profile-main h1{font-size:31px}
 .author-v2{grid-template-columns:64px minmax(0,1fr)}
 .author-more{grid-column:2}
 .footer-grid-v2{grid-template-columns:1fr 1fr}
 .footer-brand-col{grid-column:1/-1;grid-row:auto}
 .footer-bottom{align-items:flex-start;flex-direction:column}
 .footer-copy{text-align:left;white-space:normal}
}
@media(max-width:460px){
 .footer-grid-v2{grid-template-columns:1fr}
 .author-v2{grid-template-columns:58px minmax(0,1fr);padding:17px}
 .author-more{grid-column:1/-1}
}

/* Compact two-column loan cards v0.2.7 */

/* Главная: строго две карточки в ряд на нормальном desktop. */
.home-offers-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch;
}

/* Общие каталоги также сохраняем по две карточки, пока хватает ширины. */
.cards{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.loan-card{
  padding:18px;
  border-radius:20px;
  min-width:0;
  display:flex;
  flex-direction:column;
}

.loan-top{
  margin-bottom:11px;
  min-height:44px;
}

.loan-top-actions{
  display:flex;
  align-items:center;
  gap:9px;
  flex-shrink:0;
}

.card-more{
  color:#6d7f88;
  font-size:12px;
  font-weight:750;
  text-decoration:none;
  white-space:nowrap;
}

.card-more:hover{
  color:#238153;
  text-decoration:underline;
}

.loan-card .brandmark{
  height:38px;
  max-width:155px;
}

.loan-card .wordmark{
  font-size:20px;
}

.loan-card .rating{
  font-size:12px;
  padding:6px 8px;
}

.loan-card .psk{
  margin:8px 0 12px;
  padding:11px 12px;
}

.loan-card .psk strong{
  font-size:17px;
}

.loan-card .loan-grid{
  gap:0;
  border-top:1px solid #edf1ef;
  border-bottom:1px solid #edf1ef;
}

.loan-card .metric{
  border-top:0;
  padding:10px 10px 10px 0;
}

.loan-card .metric:nth-child(odd){
  border-right:1px solid #edf1ef;
  padding-right:16px;
}

.loan-card .metric:nth-child(even){
  padding-left:16px;
}

.loan-card .metric:nth-child(n+3){
  border-top:1px solid #edf1ef;
}

.loan-card .metric strong{
  font-size:14px;
}

.loan-card .tags{
  margin:12px 0;
  min-height:25px;
}

.loan-card .tag{
  padding:5px 8px;
  font-size:10px;
}

.card-bottom{
  margin-top:auto;
  display:grid;
  grid-template-columns:minmax(210px,1fr) auto;
  gap:12px;
  align-items:end;
}

.card-bottom .btn-primary{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
}

.card-bottom .legal-small{
  margin:0;
  max-width:190px;
  line-height:1.35;
  text-align:right;
}

/* Старое нижнее "Подробнее" больше не участвует в компоновке. */
.loan-card .internal-detail{
  display:none!important;
}

/* Не даём двум карточкам становиться слишком узкими. */
@media(max-width:980px){
  .home-offers-grid,
  .cards{
    grid-template-columns:1fr!important;
  }
  .loan-card{
    max-width:720px;
    width:100%;
    margin-left:auto;
    margin-right:auto;
  }
}

@media(max-width:620px){
  .loan-card{
    padding:15px;
  }
  .loan-top{
    align-items:flex-start;
  }
  .loan-top-actions{
    gap:6px;
  }
  .card-more{
    font-size:11px;
  }
  .loan-card .loan-grid{
    grid-template-columns:1fr 1fr;
  }
  .card-bottom{
    grid-template-columns:1fr;
  }
  .card-bottom .legal-small{
    max-width:none;
    text-align:left;
  }
}

/* Mobile header CTA fix v0.2.8 */
.cta-short{display:none}

@media(max-width:650px){
  .header-row{
    height:64px;
    gap:8px;
    justify-content:space-between;
  }
  .brand{
    min-width:0;
    flex:0 1 auto;
  }
  .brand img{
    width:150px;
    max-width:100%;
  }
  .header-actions{
    margin-left:auto;
    gap:0;
    flex:0 0 auto;
  }
  .header-actions .header-loan-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:9px 12px;
    border-radius:11px;
    font-size:13px;
    line-height:1;
    white-space:nowrap;
  }
}

@media(max-width:390px){
  .brand img{width:142px}
  .header-actions .header-loan-cta{padding:9px 11px}
  .header-loan-cta .cta-full{display:none}
  .header-loan-cta .cta-short{display:inline}
}

@media(max-width:340px){
  .brand img{width:134px}
  .header-actions .header-loan-cta{font-size:12px;padding:8px 9px}
}

/* Real loan picker v0.2.9 */
.loan-picker-open{overflow:hidden}
.loan-picker-shell[hidden]{display:none!important}
.loan-picker-shell{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}
.loan-picker-backdrop{position:absolute;inset:0;border:0;background:rgba(17,42,57,.5);cursor:default}
.loan-picker-panel{position:relative;z-index:1;width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:0 24px 70px rgba(18,46,61,.24)}
.loan-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.loan-picker-head h2{margin:4px 0 7px;font-size:27px;line-height:1.15}
.loan-picker-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.5;max-width:520px}
.picker-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--green2);font-weight:850}
.loan-picker-close{flex:0 0 auto;width:40px;height:40px;border:1px solid var(--line);background:#f7faf8;border-radius:12px;color:#617680;font-size:26px;line-height:1;cursor:pointer}
.loan-picker-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.picker-field{display:block;min-width:0}
.picker-field>span{display:block;color:#5f747d;font-size:12px;font-weight:750;margin:0 0 6px}
.picker-field input,.picker-field select{width:100%;min-height:48px;border:1px solid var(--line);border-radius:13px;background:#f9fbfa;color:var(--ink);padding:10px 12px;font:inherit;font-size:16px;outline:none}
.picker-field input:focus,.picker-field select:focus{border-color:#72c9a1;box-shadow:0 0 0 3px rgba(43,174,115,.1)}
.picker-category{grid-column:1/-1}
.picker-result-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 12px;padding:13px 14px;border:1px solid #dbece3;background:#f2f9f5;border-radius:14px}
.picker-result-line small{display:block;color:#6b7d85;font-size:11px;margin-bottom:3px}
.picker-result-line strong{display:block;font-size:17px}
.picker-reset{border:0;background:transparent;color:#58717c;font-weight:750;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.picker-submit{width:100%;min-height:50px;border:0;cursor:pointer}
.picker-submit:disabled{background:#b9ccc3;cursor:not-allowed;box-shadow:none}
.picker-note{margin:10px 3px 0;color:#7e8f96;font-size:11px;line-height:1.45}

.loan-filter-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:14px 16px;margin:0 0 16px}
.loan-filter-summary small{display:block;color:#72858d;font-size:11px;margin-bottom:3px}
.loan-filter-summary strong{font-size:18px}
.loan-filter-summary span{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.loan-filter-summary span b{font-size:11px;background:#edf7f2;color:#34684f;border-radius:999px;padding:5px 8px}
.loan-filter-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.filter-change,.filter-clear{min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:8px 11px;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}
.filter-change{border:1px solid #b9ddcc;background:#edf8f2;color:#24704d}
.filter-clear{border:1px solid var(--line);background:#fff;color:#617680}
.loan-filter-empty{background:#fff;border:1px dashed #c7d9d0;border-radius:18px;padding:26px;text-align:center;color:#60757e}
.loan-filter-empty b{display:block;color:var(--ink);font-size:17px;margin-bottom:7px}
.loan-filter-empty span{font-size:13px}

@media(max-width:650px){
 .loan-picker-shell{place-items:end center;padding:0}
 .loan-picker-panel{width:100%;max-height:88vh;border-radius:22px 22px 0 0;padding:20px 16px 18px}
 .loan-picker-head{margin-bottom:16px}
 .loan-picker-head h2{font-size:23px}
 .loan-picker-grid{grid-template-columns:1fr 1fr;gap:10px}
 .picker-category{grid-column:1/-1}
 .picker-result-line{margin-top:13px}
 .loan-filter-summary{align-items:flex-start;flex-direction:column}
 .loan-filter-actions{width:100%;justify-content:flex-start}
}

@media(max-width:390px){
 .loan-picker-grid{grid-template-columns:1fr}
 .picker-category{grid-column:auto}
 .picker-field input,.picker-field select{min-height:46px}
}

/* PageSpeed + accessibility audit v0.3.0 */
.brand img,.footer-brand img{height:auto}
.brandmark{width:auto}
img{max-width:100%}

/* WCAG AA contrast for normal text. */
.field label,.picker-field>span{color:#596a74}
.section-head p,.hero p,.page-hero p,.author p,.info p{color:#5f707a}
.link{color:#16704a}
.card-more{color:#52646e}
.card-more:hover{color:#125c3d}
.psk small,.metric small,.mfo-psk-box small,.mfo-facts small,
.mfo-verification-strip small,.source-note,.legal-row span{color:#596a74}
.legal-small{color:#596a74;font-size:11px}
.page-meta,.mfo-card-note,.picker-note,.cat-label,.breadcrumbs{color:#596a74}
.footer .fine{color:#a9bec7}

/* Primary green now has sufficient contrast with white text. */
.cta,.btn-primary,.mfo-main-cta,.picker-submit{background:#16704a;color:#fff}
.cta:hover,.btn-primary:hover,.mfo-main-cta:hover{background:#125c3d}

/* Stable image layout. */
.brandmark{height:38px;object-fit:contain}
.mfo-banner{width:100%;height:100%;object-fit:contain}
.author-photo,.author-page-photo{object-fit:cover}

/* Keyboard accessibility. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{
 outline:3px solid rgba(22,112,74,.34);
 outline-offset:2px;
}

@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
 .loan-card:hover,.chip:hover,.author-v2:hover{transform:none!important}
}


/* Responsive category covers v0.3.2
   Desktop: 2400×720 source, displayed proportionally.
   Mobile: separate 800×800 art direction via <picture>. */
.category-cover{
 display:block;
 width:100%;
 margin:20px 0 18px;
 overflow:hidden;
 border-radius:20px;
 border:1px solid var(--line);
 background:#fff;
}
.category-cover img{
 display:block;
 width:100%;
 height:auto;
 max-width:none;
 object-fit:contain;
}
@media(max-width:640px){
 .category-cover{
   margin:16px 0;
   border-radius:14px;
 }
 .category-cover img{
   width:100%;
   height:auto;
   object-fit:contain;
 }
}

/* Admin/user content must never inherit the old cropped SEO banner behavior
   when rendered through category-cover. */
.category-cover .seo-image{max-height:none;object-fit:contain}


/* Category selection methodology v0.3.3 */
.selection-methodology-section{padding-top:8px;padding-bottom:8px}
.selection-methodology h2{margin:0 0 16px;font-size:26px;line-height:1.2;color:var(--ink)}
.selection-methodology p{margin:0 0 14px}
.selection-methodology p:last-child,
.selection-methodology ul:last-child,
.selection-methodology ol:last-child{margin-bottom:0}
.selection-methodology ul,
.selection-methodology ol{margin:10px 0 16px;padding-left:24px}
.selection-methodology li{margin:6px 0}
.selection-methodology a{color:#125c3d;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
@media(max-width:640px){
 .selection-methodology-section{padding-top:4px;padding-bottom:4px}
 .selection-methodology h2{font-size:22px}
 .selection-methodology ul,.selection-methodology ol{padding-left:20px}
}

/* SEO hubs v0.3.4 */
.page-hero .quick-answer{margin-top:16px}


/* ==========================================================
   Homepage Compact UX v0.3.5
   ========================================================== */

/* Header: one calm row, no service strip. */
.topbar{display:none!important}
.header-compact{background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid #e8efeb}
.header-compact .header-row{height:66px;gap:24px}
.header-compact .brand img{width:176px}
.header-compact .nav{gap:21px;font-size:14px;font-weight:720}
.header-compact .nav>a,
.header-compact .nav-loans-trigger{padding:9px 0;color:#284758}
.header-compact .nav>a:hover,
.header-compact .nav-loans-trigger:hover{color:var(--green2)}
.header-compact .header-actions{gap:9px}
.header-compact .city-btn{padding:8px 10px;border-radius:10px;font-size:12px;color:#526974}
.header-compact .header-loan-cta{min-height:40px;padding:9px 14px;border-radius:11px;font-size:13px;white-space:nowrap}

.nav-loans{position:relative}
.nav-loans-trigger{display:flex;align-items:center;gap:4px}
.nav-loans-trigger span{font-size:12px;color:#71838b}
.nav-dropdown{
 position:absolute;
 top:calc(100% + 12px);
 left:-14px;
 width:238px;
 padding:8px;
 background:#fff;
 border:1px solid var(--line);
 border-radius:14px;
 box-shadow:0 18px 42px rgba(22,50,70,.13);
 opacity:0;
 visibility:hidden;
 transform:translateY(-5px);
 transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
.nav-dropdown:before{
 content:"";
 position:absolute;
 left:0;right:0;top:-14px;height:14px;
}
.nav-dropdown a{
 display:block;
 padding:9px 10px;
 margin:0;
 border-radius:9px;
 color:#385767;
 font-size:13px;
 line-height:1.3;
}
.nav-dropdown a strong{display:block;color:var(--ink);font-size:13px}
.nav-dropdown a span{display:block;color:#74868e;font-size:10px;margin-top:2px}
.nav-dropdown a:hover{background:#f0f7f3;color:var(--green2)}
.nav-loans:hover .nav-dropdown,
.nav-loans:focus-within .nav-dropdown{opacity:1;visibility:visible;transform:translateY(0)}

.mobile-menu{display:none;position:relative}
.mobile-menu summary{
 list-style:none;
 width:38px;height:38px;
 display:grid;place-items:center;
 border:1px solid var(--line);
 border-radius:10px;
 background:#fff;
 color:#3b5866;
 cursor:pointer;
 font-size:18px;
}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu-panel{
 position:absolute;
 right:0;
 top:46px;
 width:210px;
 padding:8px;
 border:1px solid var(--line);
 border-radius:14px;
 background:#fff;
 box-shadow:0 18px 42px rgba(22,50,70,.14);
}
.mobile-menu-panel a{display:block;padding:10px;border-radius:9px;font-size:13px;font-weight:750;color:#385767}
.mobile-menu-panel a:hover{background:#f0f7f3;color:var(--green2)}

/* Compact hero. */
.hero-compact{padding:20px 0 14px}
.hero-card-compact{
 display:block;
 padding:28px 30px;
 border-radius:24px;
 background:linear-gradient(135deg,#f2faf6 0%,#f4f8fb 100%);
 border:1px solid #dfeae5;
 box-shadow:0 10px 30px rgba(25,54,67,.055);
}
.hero-card-compact:before{
 content:"";
 position:absolute;
 width:220px;height:220px;
 border-radius:50%;
 background:rgba(22,112,74,.045);
 right:-70px;top:-110px;
 pointer-events:none;
}
.hero-copy{position:relative;z-index:1}
.hero-copy h1{
 max-width:920px;
 font-size:43px;
 line-height:1.06;
 letter-spacing:-1.35px;
 margin:0 0 9px;
}
.hero-copy p{
 max-width:830px;
 margin:0 0 18px;
 font-size:16px;
 line-height:1.55;
 color:#536a74;
}

/* Main selector: compact, visually clear and genuinely interactive. */
.home-selector{
 position:relative;
 z-index:1;
 max-width:none;
 padding:16px 17px;
 border-radius:18px;
 border:1px solid #dce7e2;
 background:rgba(255,255,255,.97);
 box-shadow:0 10px 26px rgba(25,54,67,.05);
}
.selector-head{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:16px;
 margin-bottom:12px;
}
.selector-head>div:first-child{min-width:0}
.selector-kicker{
 display:block;
 margin-bottom:1px;
 color:#687b84;
 font-size:10px;
 line-height:1.2;
 text-transform:uppercase;
 letter-spacing:.05em;
 font-weight:850;
}
.selector-head strong{display:block;font-size:18px;line-height:1.25;color:var(--ink)}
.selector-status{
 flex:0 0 auto;
 display:flex;
 align-items:center;
 gap:7px;
 padding:6px 9px;
 background:#eef8f3;
 border:1px solid #dcece4;
 border-radius:999px;
 color:#315f4a;
 font-size:11px;
 line-height:1;
}
.status-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(22,112,74,.10)}

.home-selector-grid{
 display:grid;
 grid-template-columns:minmax(300px,1.75fr) minmax(130px,.7fr) minmax(118px,.62fr) minmax(180px,.88fr);
 gap:12px;
 align-items:end;
}
.amount-control{min-width:0;padding:0 1px}
.amount-control-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.amount-control label,.compact-field>span{
 display:block;
 color:#596d76;
 font-size:11px;
 line-height:1.2;
 font-weight:800;
 margin-bottom:6px;
}
.amount-value{display:flex;align-items:baseline;justify-content:flex-end;gap:4px}
.amount-value input{
 width:112px;
 padding:0;
 border:0;
 background:transparent;
 color:var(--ink);
 font-size:21px;
 line-height:1.05;
 text-align:right;
 font-weight:900;
 outline:0;
 -moz-appearance:textfield;
}
.amount-value input::-webkit-inner-spin-button,
.amount-value input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.amount-value span{font-size:14px;font-weight:850;color:#526a74}

.amount-range{
 --fill:42%;
 width:100%;
 height:18px;
 margin:2px 0 0;
 padding:0;
 background:transparent;
 accent-color:var(--green);
 cursor:pointer;
}
.amount-range::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:#dce8e2}
.amount-range::-webkit-slider-thumb{
 -webkit-appearance:none;
 width:18px;height:18px;
 margin-top:-7px;
 border-radius:50%;
 background:#fff;
 border:5px solid var(--green);
 box-shadow:0 2px 7px rgba(22,112,74,.18);
}
.amount-range::-moz-range-track{height:4px;border-radius:999px;background:#dce8e2}
.amount-range::-moz-range-progress{height:4px;border-radius:999px;background:var(--green)}
.amount-range::-moz-range-thumb{
 width:10px;height:10px;border-radius:50%;
 background:#fff;border:5px solid var(--green);
 box-shadow:0 2px 7px rgba(22,112,74,.18)
}
.range-scale{display:flex;justify-content:space-between;gap:12px;color:#7b8b92;font-size:9px;line-height:1.2}

.compact-field{display:block;min-width:0}
.compact-field select,.age-input{
 width:100%;
 height:48px;
 border:1px solid #dce6e1;
 border-radius:12px;
 background:#f9fbfa;
 color:var(--ink);
}
.compact-field select{
 padding:0 11px;
 outline:0;
 font-size:14px;
 font-weight:800;
 cursor:pointer;
}
.age-input{display:flex;align-items:center;padding:0 11px}
.age-input input{
 min-width:0;
 width:100%;
 border:0;
 outline:0;
 background:transparent;
 color:var(--ink);
 font-size:15px;
 font-weight:850;
 -moz-appearance:textfield;
}
.age-input input::-webkit-inner-spin-button,
.age-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.age-input em{font-style:normal;color:#70828a;font-size:11px;font-weight:750}
.compact-field select:focus,.age-input:focus-within{border-color:#72bd98;box-shadow:0 0 0 3px rgba(22,112,74,.08)}

.home-selector-submit{
 min-height:48px;
 border-radius:12px;
 padding:10px 14px;
 font-size:13px;
 line-height:1.2;
 box-shadow:none;
}
.home-selector-submit:disabled{background:#aebfb7;color:#fff;cursor:not-allowed}

.selector-foot{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:14px;
 margin-top:11px;
 padding-top:10px;
 border-top:1px solid #edf2ef;
}
.quick-conditions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.quick-conditions>span{color:#70828a;font-size:10px;font-weight:750;margin-right:1px}
.condition-chip,.condition-more{
 min-height:30px;
 border:1px solid #dce7e2;
 border-radius:999px;
 background:#f8fbf9;
 color:#49636e;
 padding:5px 9px;
 font-size:10px;
 line-height:1;
 font-weight:800;
 cursor:pointer;
 transition:.14s ease;
}
.condition-chip:hover,.condition-more:hover{border-color:#b9d8ca;background:#f0f8f4}
.condition-chip.is-active,.condition-chip[aria-pressed="true"]{
 background:#e5f5ed;
 border-color:#9dcdb6;
 color:#125c3d;
}
.condition-more{background:#fff}
.trust-compact{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;color:#63767f;font-size:10px}
.trust-compact span:before{content:"✓";color:var(--green);font-weight:900;margin-right:5px}

/* Make the rest of the homepage breathe without becoming tall. */
.home-main .section{padding-top:30px;padding-bottom:30px}
.home-main .section-head{margin-bottom:15px}
.home-main .section h2{font-size:28px}
.home-main .section-head p{font-size:14px;line-height:1.5}
.home-main .author-v2{padding:18px;grid-template-columns:68px minmax(0,1fr) auto}
.home-main .author-photo,.home-main .avatar{width:68px;height:68px}
.home-main .author-more{font-size:12px}

/* Footer: same useful links, less height. */
.footer-compact{margin-top:36px;padding:32px 0 18px}
.footer-compact .footer-grid-v2{
 grid-template-columns:1.5fr repeat(3,minmax(0,1fr));
 gap:30px;
}
.footer-compact .footer-brand{
 display:inline-flex;
 align-items:center;
 gap:10px;
 margin-bottom:11px;
 color:#fff;
}
.footer-compact .footer-brand-mark{
 width:32px;
 height:32px!important;
 filter:none!important;
 opacity:1!important;
 border-radius:8px;
}
.footer-compact .footer-brand-name{
 color:#fff;
 font-size:22px;
 line-height:1;
 font-weight:900;
 letter-spacing:-.5px;
}
.footer-compact .footer-about{max-width:320px;margin:0;color:#a9bec7;font-size:12px;line-height:1.55}
.footer-compact h4{margin:0 0 10px;font-size:12px}
.footer-compact a{margin:5px 0;font-size:12px;line-height:1.35}
.footer-compact .footer-seo{padding:13px 0;margin-top:20px;font-size:11px;line-height:1.55}
.footer-compact .footer-bottom{margin-top:16px;padding-top:14px;gap:20px}
.footer-compact .fine,.footer-compact .footer-copy{font-size:10px;line-height:1.45}

/* Responsive header + selector. */
@media(max-width:980px){
 .header-compact .nav{display:none}
 .header-compact .city-btn{display:none}
 .mobile-menu{display:block}
 .hero-card-compact{padding:25px}
 .hero-copy h1{font-size:38px;max-width:780px}
 .home-selector-grid{grid-template-columns:1fr 1fr}
 .amount-control{grid-column:1/-1}
 .home-selector-submit{grid-column:1/-1}
 .footer-compact .footer-grid-v2{grid-template-columns:1.4fr repeat(2,1fr)}
 .footer-compact .footer-brand-col{grid-row:span 2}
}
@media(max-width:760px){
 .footer-compact .footer-grid-v2{grid-template-columns:1fr 1fr}
 .footer-compact .footer-brand-col{grid-column:1/-1;grid-row:auto}
}
@media(max-width:650px){
 .header-compact .header-row{height:60px;gap:8px}
 .header-compact .brand{margin-right:auto}
 .header-compact .brand img{width:145px}
 .header-compact .header-actions{gap:6px}
 .header-compact .header-loan-cta{min-height:38px;padding:8px 10px;font-size:12px}
 .mobile-menu summary{width:36px;height:36px;border-radius:9px}
 .mobile-menu-panel{top:43px}

 .hero-compact{padding:12px 0 8px}
 .hero-card-compact{padding:20px 16px;border-radius:20px}
 .hero-card-compact:before{display:none}
 .hero-copy h1{font-size:32px;letter-spacing:-.8px;margin-bottom:8px}
 .hero-copy p{font-size:15px;line-height:1.5;margin-bottom:14px}
 .home-selector{padding:13px;border-radius:16px}
 .selector-head{align-items:flex-start;margin-bottom:11px}
 .selector-head strong{font-size:17px}
 .selector-status{padding:5px 7px;font-size:10px}
 .home-selector-grid{grid-template-columns:1fr 1fr;gap:9px}
 .amount-control{grid-column:1/-1}
 .compact-field select,.age-input{height:46px}
 .home-selector-submit{grid-column:1/-1;min-height:46px}
 .selector-foot{align-items:flex-start;flex-direction:column;gap:8px}
 .trust-compact{display:none}
 .condition-chip,.condition-more{min-height:32px;padding:6px 9px}
 .home-main .section{padding-top:25px;padding-bottom:25px}
 .home-main .section h2{font-size:25px}
 .home-main .author-v2{grid-template-columns:58px minmax(0,1fr);padding:15px}
 .home-main .author-photo,.home-main .avatar{width:58px;height:58px}
 .home-main .author-more{grid-column:2}
}
@media(max-width:430px){
 .footer-compact .footer-grid-v2{grid-template-columns:1fr}
 .header-compact .brand img{width:136px}
 .home-selector-grid{grid-template-columns:1fr 1fr}
 .amount-control{grid-column:1/-1}
 .selector-status b{max-width:118px;white-space:normal;line-height:1.15}
}
@media(max-width:370px){
 .header-compact .brand img{width:128px}
 .mobile-menu summary{width:34px;height:34px}
 .header-compact .header-loan-cta{padding:8px 9px}
 .header-loan-cta .cta-full{display:none}
 .header-loan-cta .cta-short{display:inline}
}

/* Articles v0.4.0 */
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.article-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(25,54,67,.045)}.article-card-image{display:block;aspect-ratio:16/9;background:#eef5f1;overflow:hidden}.article-card-image img{display:block;width:100%;height:100%;object-fit:cover}.article-card-body{padding:16px}.article-card-meta{display:flex;justify-content:space-between;gap:12px;color:#73848c;font-size:11px;margin-bottom:8px}.article-card h3{margin:0 0 8px;font-size:20px;line-height:1.2}.article-card p{margin:0 0 12px;color:#5e717a;font-size:13px;line-height:1.55}.article-card-more{color:var(--green);font-weight:850;font-size:12px}
.article-container{max-width:920px}.article-hero{padding:28px 0 10px}.article-hero .eyebrow{display:inline-block;margin:14px 0 8px;color:var(--green2);font-size:12px;font-weight:850}.article-hero h1{font-size:46px;line-height:1.06;letter-spacing:-1.3px;margin:0 0 14px}.article-lead{font-size:18px;line-height:1.6;color:#546b75;max-width:820px}.article-meta{display:flex;gap:16px;flex-wrap:wrap;color:#70818a;font-size:12px;margin:16px 0}.article-meta a{color:var(--green2);font-weight:800}.article-cover{margin:22px 0 0}.article-cover img{display:block;width:100%;height:auto;border-radius:18px}.article-cover figcaption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#75858d;font-size:11px;margin-top:7px}
.article-main{padding-top:18px}.article-quick,.article-short,.article-toc,.article-trust{border:1px solid #dce8e2;border-radius:16px;background:#f8fbf9;padding:16px 18px;margin-bottom:18px}.article-quick strong,.article-toc>strong{display:block;margin-bottom:6px;color:var(--ink)}.article-quick p{margin:0;color:#526872}.article-short h2{font-size:19px;margin:0 0 9px}.article-short ul{margin:0;padding-left:20px}.article-short li{margin:6px 0}.article-toc ol{margin:8px 0 0;padding-left:20px}.article-toc li{margin:6px 0}.article-toc a{color:#2d5b70}.article-toc a:hover{color:var(--green2)}
.article-content,.article-section{font-size:16px;line-height:1.72;color:#294657}.article-content h2,.article-section h2{font-size:29px;line-height:1.18;color:var(--ink);margin:34px 0 12px}.article-content h3{font-size:23px;line-height:1.25;color:var(--ink);margin:26px 0 10px}.article-content h4{font-size:19px;color:var(--ink);margin:22px 0 8px}.article-content p,.article-section p{margin:0 0 15px}.article-content ul,.article-content ol,.article-section ul,.article-section ol{padding-left:24px}.article-content li,.article-section li{margin:7px 0}.article-content blockquote{margin:20px 0;padding:14px 18px;border-left:4px solid var(--green);background:#f4faf6;border-radius:0 12px 12px 0}.article-content table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px}.article-content th,.article-content td{border:1px solid #dce7e2;padding:10px;vertical-align:top}.article-content th{background:#f0f7f3;color:var(--ink)}.article-content img{max-width:100%;height:auto;border-radius:14px}.article-content figure{margin:22px 0}.article-content figcaption{font-size:11px;color:#74858d;margin-top:6px}
.article-conclusion{border-top:1px solid var(--line);margin-top:30px}.article-checked{background:#f3faf6;border:1px solid #d8eadf;border-radius:16px;padding:18px;margin-top:28px}.article-checked h2{margin-top:0}.article-checked-date{font-size:12px;color:#687d75;margin-bottom:0!important}.article-sources ol{padding-left:22px}.article-sources li{margin:10px 0}.article-sources a{color:#216a50;font-weight:800}.article-sources span{display:inline-block;margin-left:6px;color:#6b7c84;font-size:11px}.article-sources small{display:block;color:#89969b;font-size:10px}.article-history ul{list-style:none;padding:0}.article-history li{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:9px 0;border-bottom:1px solid #edf2ef}.article-history time{font-weight:800;color:#536a74}
.article-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.article-related-grid a{display:flex;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}.article-related-grid strong{font-size:13px}.article-related-grid span{font-size:10px;color:#7d8d93;white-space:nowrap}.article-trust{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:30px}.article-trust div{display:flex;flex-direction:column;gap:3px}.article-trust span{font-size:10px;color:#76868d}.article-trust strong,.article-trust a{font-size:13px;font-weight:850;color:#214c3a}
@media(max-width:900px){.article-grid{grid-template-columns:1fr 1fr}.article-hero h1{font-size:40px}}@media(max-width:650px){.article-grid{grid-template-columns:1fr}.article-hero{padding-top:18px}.article-hero h1{font-size:34px;letter-spacing:-.7px}.article-lead{font-size:16px}.article-content,.article-section{font-size:15px}.article-content h2,.article-section h2{font-size:25px}.article-content h3{font-size:21px}.article-related-grid,.article-trust{grid-template-columns:1fr}.article-history li{grid-template-columns:1fr;gap:2px}}


/* ==========================================================
   Accessibility Fix v0.4.1
   ========================================================== */

/* WCAG AA: "Эксперт Займоведа".
   #125c3d on #eaf8f1 is ~7.3:1, comfortably above 4.5:1. */
.author-check{
  color:#125c3d;
  background:#eaf8f1;
  border:1px solid #b8ddca;
}

/* Keep the visual label compact; generated HTML now exposes
   a unique accessible name via aria-label. */
.card-more{
  color:#52646e;
}
.card-more:hover,
.card-more:focus-visible{
  color:#125c3d;
}
.card-more:focus-visible,
.author-v2:focus-visible{
  outline:3px solid rgba(22,112,74,.28);
  outline-offset:3px;
  border-radius:6px;
}


/* ==========================================================
   Responsive Density v0.4.2
   Desktop + Mobile UX
   ========================================================== */

/* ----------------------------------------------------------
   1. MFO cards: denser comparison layout on desktop
   ---------------------------------------------------------- */
.home-offers-grid,
.cards{
  align-items:start!important;
  gap:14px!important;
}

.loan-card{
  padding:15px;
  border-radius:18px;
}

.loan-top{
  min-height:38px;
  margin-bottom:6px;
}

.loan-top-actions{
  min-height:38px;
  gap:7px;
}

.loan-card .brandmark{
  height:32px;
  max-width:145px;
}

.loan-card .wordmark{
  font-size:18px;
  line-height:1.1;
}

.card-more{
  font-size:11px;
}

.loan-card .rating{
  font-size:11px;
  padding:5px 7px;
  border-radius:9px;
}

.loan-card .psk{
  margin:4px 0 8px;
  padding:8px 10px;
  border-radius:12px;
}

.loan-card .psk small{
  font-size:9.5px;
  line-height:1.25;
}

.loan-card .psk strong{
  margin-top:2px;
  font-size:16px;
  line-height:1.18;
}

.loan-card .metric{
  padding-top:7px;
  padding-bottom:7px;
}

.loan-card .metric:nth-child(odd){
  padding-right:12px;
}

.loan-card .metric:nth-child(even){
  padding-left:12px;
}

.loan-card .metric small{
  font-size:10px;
  line-height:1.15;
  margin-bottom:2px;
}

.loan-card .metric strong{
  font-size:13.5px;
  line-height:1.25;
}

.loan-card .tags{
  min-height:0!important;
  margin:8px 0 9px;
  gap:5px;
}

.loan-card .tags:empty{
  display:none;
}

.home-offers .loan-card .tag:nth-child(n+4){
  display:none;
}

.loan-card .tag{
  padding:4px 7px;
  font-size:9.5px;
  line-height:1.15;
}

.card-bottom{
  margin-top:8px;
  gap:10px;
}

.card-bottom .btn-primary{
  min-height:42px;
  padding:9px 13px;
  border-radius:11px;
  font-size:14px;
}

.card-bottom .legal-small{
  font-size:9.5px;
  line-height:1.3;
  max-width:180px;
}

/* Homepage rows no longer force shorter cards to stretch to the tallest one. */
.home-offers-grid .loan-card{
  align-self:start;
}

/* Slightly tighter section rhythm on the homepage. */
.home-main .home-offers,
.home-main .home-articles,
.home-main #author{
  padding-top:24px;
  padding-bottom:24px;
}

.home-main .section-head{
  margin-bottom:13px;
}

/* ----------------------------------------------------------
   2. Homepage articles: compact navigation cards
   /articles/ remains full-size and unchanged.
   ---------------------------------------------------------- */
.home-article-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}

.home-article-list.home-article-count-1{
  grid-template-columns:minmax(0,560px);
}

.home-article-list.home-article-count-2{
  grid-template-columns:repeat(2,minmax(0,420px));
}

.home-article-card{
  min-width:0;
  min-height:154px;
  display:grid;
  grid-template-columns:142px minmax(0,1fr);
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface);
  box-shadow:0 6px 18px rgba(25,54,67,.035);
}

.home-article-thumb{
  display:block;
  min-height:154px;
  overflow:hidden;
  background:var(--mint);
}

.home-article-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.home-article-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:12px 13px;
}

.home-article-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:5px;
  color:var(--muted);
  font-size:10px;
  line-height:1.2;
}

.home-article-meta span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.home-article-meta time{
  flex:0 0 auto;
  white-space:nowrap;
}

.home-article-card h3{
  margin:0 0 6px;
  font-size:16px;
  line-height:1.2;
  letter-spacing:-.2px;
}

.home-article-card h3 a{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

.home-article-card p{
  margin:0 0 7px;
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.home-article-more{
  margin-top:auto;
  color:var(--green2);
  font-size:11px;
  font-weight:850;
}

.home-articles .section-head .link{
  white-space:nowrap;
}

/* ----------------------------------------------------------
   3. Author trust block: slightly more compact on homepage
   ---------------------------------------------------------- */
.home-main #author .author-v2{
  padding:15px 16px;
  gap:13px;
  grid-template-columns:60px minmax(0,1fr) auto;
}

.home-main #author .author-photo,
.home-main #author .avatar{
  width:60px;
  height:60px;
}

.home-main #author .author-name-row{
  gap:8px;
}

.home-main #author .author-main > p:not(.author-role){
  margin-top:4px;
  margin-bottom:0;
  line-height:1.45;
}

.home-main #author .author-more{
  font-size:11px;
  white-space:nowrap;
}

/* ----------------------------------------------------------
   4. Tablet
   ---------------------------------------------------------- */
@media(max-width:1050px){
  .home-article-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .home-article-list.home-article-count-1{
    grid-template-columns:minmax(0,560px);
  }
}

/* ----------------------------------------------------------
   5. Mobile: one loan card should not consume the whole screen
   ---------------------------------------------------------- */
@media(max-width:650px){
  .home-main .section{
    padding-top:21px;
    padding-bottom:21px;
  }

  .home-main .section-head{
    margin-bottom:11px;
  }

  .home-main .section-head h2{
    font-size:24px;
    line-height:1.12;
  }

  .home-main .section-head p{
    margin-top:5px;
    font-size:13px;
    line-height:1.4;
  }

  /* MFO cards */
  .loan-card{
    padding:12px 13px;
    border-radius:16px;
  }

  .loan-top{
    min-height:36px;
    margin-bottom:4px;
    align-items:center;
  }

  .loan-top-actions{
    min-height:36px;
    gap:5px;
  }

  .loan-card .brandmark{
    height:29px;
    max-width:132px;
  }

  .loan-card .wordmark{
    font-size:17px;
  }

  .card-more{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    font-size:10.5px;
  }

  .loan-card .rating{
    font-size:10.5px;
    padding:5px 6px;
  }

  .loan-card .psk{
    margin:3px 0 6px;
    padding:7px 9px;
    border-radius:11px;
  }

  .loan-card .psk small{
    font-size:9px;
  }

  .loan-card .psk strong{
    font-size:15px;
    line-height:1.16;
  }

  .loan-card .metric{
    padding-top:6px;
    padding-bottom:6px;
  }

  .loan-card .metric:nth-child(odd){
    padding-right:9px;
  }

  .loan-card .metric:nth-child(even){
    padding-left:9px;
  }

  .loan-card .metric small{
    font-size:9.5px;
  }

  .loan-card .metric strong{
    font-size:13px;
    line-height:1.2;
  }

  .loan-card .tags{
    flex-wrap:nowrap;
    overflow:hidden;
    margin:7px 0 8px;
    gap:4px;
  }

  .loan-card .tag{
    flex:0 0 auto;
    padding:4px 6px;
    font-size:9px;
  }

  .loan-card .tag:nth-child(n+4){
    display:none;
  }

  .card-bottom{
    grid-template-columns:1fr!important;
    gap:6px;
    margin-top:7px;
  }

  .card-bottom .btn-primary{
    min-height:44px;
    padding:9px 12px;
    font-size:15px;
  }

  .card-bottom .legal-small{
    max-width:none;
    margin:0;
    text-align:left;
    font-size:9.5px;
    line-height:1.28;
  }

  .home-offers-grid,
  .cards{
    gap:12px!important;
  }

  /* Compact article list */
  .home-articles .section-head{
    display:block;
  }

  .home-articles .section-head .link{
    display:inline-flex;
    margin-top:8px;
    font-size:13px;
    line-height:1.2;
  }

  .home-article-list,
  .home-article-list.home-article-count-1,
  .home-article-list.home-article-count-2{
    grid-template-columns:1fr;
    gap:10px;
  }

  .home-article-card{
    min-height:96px;
    grid-template-columns:108px minmax(0,1fr);
    border-radius:14px;
  }

  .home-article-thumb{
    min-height:96px;
  }

  .home-article-body{
    padding:9px 10px;
  }

  .home-article-meta{
    margin-bottom:4px;
    font-size:9px;
  }

  .home-article-card h3{
    margin:0;
    font-size:15px;
    line-height:1.18;
  }

  .home-article-card h3 a{
    -webkit-line-clamp:3;
  }

  .home-article-card p,
  .home-article-more{
    display:none;
  }

  /* Author block */
  .home-main #author .author-v2{
    grid-template-columns:52px minmax(0,1fr);
    padding:13px;
    gap:10px;
  }

  .home-main #author .author-photo,
  .home-main #author .avatar{
    width:52px;
    height:52px;
  }

  .home-main #author .author-more{
    grid-column:2;
    justify-self:start;
    white-space:normal;
  }
}

@media(max-width:380px){
  .loan-card{
    padding:11px 12px;
  }

  .loan-card .brandmark{
    max-width:118px;
  }

  .loan-card .psk strong{
    font-size:14.5px;
  }

  .loan-card .metric strong{
    font-size:12.5px;
  }

  .home-article-card{
    grid-template-columns:96px minmax(0,1fr);
  }
}


/* ==========================================================
   Desktop Width + Article Thumbnail Fix v0.4.3
   ========================================================== */

/* ----------------------------------------------------------
   Homepage MFO cards:
   keep 2 columns but stop them becoming visually too wide.
   ---------------------------------------------------------- */
@media(min-width:1051px){
  .home-main .home-offers .section-head,
  .home-main .home-offers .home-offers-grid{
    max-width:1000px;
    margin-left:auto;
    margin-right:auto;
  }

  .home-main .home-offers .home-offers-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* ----------------------------------------------------------
   Homepage article thumbnails:
   never crop editorial covers containing text/infographics.
   ---------------------------------------------------------- */
.home-article-thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:var(--surface);
}

.home-article-thumb img{
  width:100%;
  height:auto;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}

/* Desktop: keep compact cards, but use a 16:9-friendly image column. */
@media(min-width:651px){
  .home-article-card{
    grid-template-columns:160px minmax(0,1fr);
    min-height:132px;
  }

  .home-article-thumb{
    min-height:132px;
    padding:8px;
  }

  .home-article-thumb img{
    max-height:116px;
  }

  .home-article-body{
    padding:12px 13px;
  }

  .home-article-list.home-article-count-1{
    grid-template-columns:minmax(0,520px);
  }

  .home-article-list.home-article-count-2{
    grid-template-columns:repeat(2,minmax(0,390px));
  }
}

/* Mobile: show the complete 16:9 cover instead of a left-side crop. */
@media(max-width:650px){
  .home-article-card{
    grid-template-columns:132px minmax(0,1fr);
    min-height:96px;
  }

  .home-article-thumb{
    min-height:96px;
    padding:5px;
  }

  .home-article-thumb img{
    max-height:86px;
  }
}

@media(max-width:390px){
  .home-article-card{
    grid-template-columns:118px minmax(0,1fr);
  }
}

/* Keep the normal /articles/ catalogue visual: only homepage thumbnails
   receive the non-cropping treatment above. */
.articles-index .article-card-image img{
  object-fit:cover;
}


/* ==========================================================
   Article Card Visual Balance v0.4.4
   ========================================================== */

/* Desktop: compact card, image is flush to the edge and clearly visible. */
@media(min-width:651px){
  .home-articles .section-head,
  .home-articles .home-article-list{
    max-width:880px;
  }

  .home-article-list.home-article-count-1{
    grid-template-columns:minmax(0,520px);
  }

  .home-article-list.home-article-count-2{
    grid-template-columns:repeat(2,minmax(0,430px));
  }

  .home-article-card{
    grid-template-columns:184px minmax(0,1fr);
    min-height:112px;
    border-radius:15px;
  }

  .home-article-thumb{
    min-height:112px;
    padding:0;
    align-items:flex-start;
    justify-content:flex-start;
    background:var(--surface);
  }

  .home-article-thumb img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:top left;
  }

  .home-article-body{
    padding:9px 11px 8px 12px;
  }

  .home-article-meta{
    margin-bottom:4px;
    font-size:9.5px;
  }

  .home-article-card h3{
    margin-bottom:4px;
    font-size:15px;
    line-height:1.16;
  }

  .home-article-card p{
    margin-bottom:4px;
    font-size:10.5px;
    line-height:1.35;
    -webkit-line-clamp:2;
  }

  .home-article-more{
    align-self:flex-end;
    margin-top:auto;
    padding-left:8px;
    font-size:10.5px;
  }
}

/* Mobile: keep the card size, but remove the "image inside a box" effect. */
@media(max-width:650px){
  .home-article-card{
    grid-template-columns:132px minmax(0,1fr);
    min-height:94px;
  }

  .home-article-thumb{
    min-height:94px;
    padding:0;
    align-items:flex-start;
    justify-content:flex-start;
    background:var(--surface);
  }

  .home-article-thumb img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:top left;
  }

  .home-article-body{
    padding:8px 9px;
  }
}

@media(max-width:390px){
  .home-article-card{
    grid-template-columns:120px minmax(0,1fr);
  }
}


/* ==========================================================
   Homepage Article Thumbnail Focus v0.4.5
   ========================================================== */

/* Goal:
   - make homepage article covers feel larger and more readable;
   - remove the impression that the image is "deep inside" the card;
   - keep cards compact on mobile;
   - slightly reduce perceived desktop width.
*/

@media(min-width:651px){
  .home-articles .section-head,
  .home-articles .home-article-list{
    max-width:840px;
  }

  .home-article-list.home-article-count-1{
    grid-template-columns:minmax(0,500px);
  }

  .home-article-list.home-article-count-2{
    grid-template-columns:repeat(2,minmax(0,410px));
  }

  .home-article-card{
    grid-template-columns:196px minmax(0,1fr);
    min-height:120px;
  }

  .home-article-thumb{
    min-height:120px;
    padding:0;
    background:var(--surface);
  }

  .home-article-thumb img{
    width:100%;
    height:100%;
    max-height:none;
    object-fit:cover;
    object-position:left center;
    transform:scale(1.015);
  }

  .home-article-body{
    padding:10px 12px 9px 12px;
  }

  .home-article-card h3{
    font-size:14.5px;
    line-height:1.18;
    margin-bottom:5px;
  }

  .home-article-card p{
    margin-bottom:5px;
    font-size:10.5px;
    line-height:1.34;
  }

  .home-article-more{
    margin-left:auto;
    align-self:flex-end;
    padding-left:0;
  }
}

@media(max-width:650px){
  .home-article-card{
    grid-template-columns:136px minmax(0,1fr);
    min-height:102px;
  }

  .home-article-thumb{
    min-height:102px;
    padding:0;
    background:var(--surface);
  }

  .home-article-thumb img{
    width:100%;
    height:100%;
    max-height:none;
    object-fit:cover;
    object-position:left center;
    transform:scale(1.02);
  }

  .home-article-body{
    padding:8px 10px;
  }

  .home-article-meta{
    font-size:9px;
  }

  .home-article-card h3{
    font-size:15px;
    line-height:1.16;
  }
}

@media(max-width:390px){
  .home-article-card{
    grid-template-columns:122px minmax(0,1fr);
  }
}


/* ==========================================================
   Homepage Media Article Cards v0.4.6
   Inspired by modern editorial/finance media cards, adapted to Zajmoved.
   ========================================================== */

/* A dedicated editorial band on the homepage. */
.home-articles{
  position:relative;
  overflow:hidden;
  color:#f3f7f5;
  background:
    radial-gradient(circle at 88% 8%,rgba(31,138,91,.12),transparent 28%),
    linear-gradient(180deg,#112019 0%,#0f1c17 100%);
  border-top:1px solid rgba(75,151,112,.16);
  border-bottom:1px solid rgba(75,151,112,.14);
}

.home-articles .section-head,
.home-articles .home-article-list{
  width:100%;
  max-width:1040px!important;
  margin-left:auto;
  margin-right:auto;
}

.home-articles .section-head{
  align-items:flex-end;
  margin-bottom:18px;
}

.home-articles .section-head h2{
  color:#f5f7f6;
  font-size:30px;
  line-height:1.1;
}

.home-articles .section-head p{
  max-width:680px;
  color:#aebbb5;
}

.home-articles .section-head .link{
  color:#65e3a6;
  white-space:nowrap;
  font-weight:850;
}

.home-articles .section-head .link:hover,
.home-articles .section-head .link:focus-visible{
  color:#8af0bd;
}

/* Desktop: two editorial cards per row, image on top. */
.home-article-list,
.home-article-list.home-article-count-1,
.home-article-list.home-article-count-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}

.home-article-list.home-article-count-1{
  grid-template-columns:minmax(0,510px);
}

.home-article-card{
  display:flex;
  min-width:0;
  min-height:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(92,151,121,.30);
  border-radius:20px;
  background:#141b18;
  box-shadow:0 14px 32px rgba(0,0,0,.14);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

@media(hover:hover) and (pointer:fine){
  .home-article-card:hover{
    transform:translateY(-2px);
    border-color:rgba(102,225,164,.48);
    box-shadow:0 18px 40px rgba(0,0,0,.20);
  }
}

.home-article-thumb{
  display:block;
  width:100%;
  min-height:0!important;
  aspect-ratio:16/9;
  padding:0!important;
  overflow:hidden;
  background:#1a2420;
}

.home-article-thumb img{
  display:block;
  width:100%;
  height:100%;
  max-height:none!important;
  object-fit:cover;
  object-position:center;
  transform:none!important;
  transition:transform .28s ease;
}

@media(hover:hover) and (pointer:fine){
  .home-article-card:hover .home-article-thumb img{
    transform:scale(1.018)!important;
  }
}

.home-article-body{
  display:flex;
  min-width:0;
  flex:1;
  flex-direction:column;
  padding:17px 18px 16px;
}

.home-article-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
  color:#aebbb5;
  font-size:11px;
  line-height:1.25;
}

.home-article-meta span{
  min-width:0;
  overflow:hidden;
  color:#72e5aa;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.home-article-meta time{
  flex:0 0 auto;
  color:#a9b5b0;
  white-space:nowrap;
}

.home-article-card h3{
  margin:0 0 10px;
  color:#f4f7f5;
  font-size:22px;
  line-height:1.18;
  letter-spacing:-.35px;
}

.home-article-card h3 a{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

.home-article-card p{
  display:-webkit-box;
  overflow:hidden;
  margin:0 0 15px;
  color:#adb8b3;
  font-size:13px;
  line-height:1.5;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.home-article-more{
  display:inline-flex;
  align-items:center;
  align-self:flex-end;
  margin-top:auto;
  margin-left:auto;
  padding:2px 0 1px 12px;
  color:#6fe6ac;
  font-size:13px;
  font-weight:850;
  line-height:1.2;
}

.home-article-more:hover,
.home-article-more:focus-visible{
  color:#9af2c7;
}

/* A cover-less article still looks intentional. */
.home-article-card.no-cover .home-article-body{
  min-height:240px;
}

/* Tablet */
@media(max-width:900px) and (min-width:651px){
  .home-articles .section-head,
  .home-articles .home-article-list{
    max-width:820px!important;
  }

  .home-article-card h3{
    font-size:20px;
  }
}

/* Mobile: one media card per row; image remains the visual anchor. */
@media(max-width:650px){
  .home-articles{
    padding-top:24px!important;
    padding-bottom:24px!important;
  }

  .home-articles .section-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:6px 12px;
    margin-bottom:16px!important;
  }

  .home-articles .section-head>div{
    min-width:0;
  }

  .home-articles .section-head h2{
    font-size:27px!important;
  }

  .home-articles .section-head p{
    grid-column:1/-1;
    margin-top:6px;
    color:#aebbb5!important;
    font-size:13px!important;
    line-height:1.45!important;
  }

  .home-articles .section-head .link{
    align-self:start;
    margin-top:3px!important;
    font-size:12px!important;
  }

  .home-article-list,
  .home-article-list.home-article-count-1,
  .home-article-list.home-article-count-2{
    grid-template-columns:1fr;
    gap:14px;
  }

  .home-article-card{
    display:flex;
    min-height:0;
    border-radius:17px;
  }

  .home-article-thumb{
    width:100%;
    min-height:0!important;
    aspect-ratio:16/9;
  }

  .home-article-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  .home-article-body{
    padding:13px 14px 13px;
  }

  .home-article-meta{
    margin-bottom:7px;
    font-size:10px!important;
  }

  .home-article-card h3{
    margin-bottom:9px;
    font-size:19px!important;
    line-height:1.18!important;
    letter-spacing:-.25px;
  }

  .home-article-card h3 a{
    -webkit-line-clamp:3;
  }

  /* Keep the homepage compact on phones: the title + image carry the preview. */
  .home-article-card p{
    display:none!important;
  }

  .home-article-more{
    display:inline-flex!important;
    margin-top:4px;
    margin-left:auto;
    align-self:flex-end;
    font-size:12px;
  }

  .home-article-card.no-cover .home-article-body{
    min-height:150px;
  }

  /* Pull the trust section a little closer after the media cards. */
  .home-articles + #author,
  .home-articles + .section#author{
    padding-top:18px!important;
  }
}

@media(max-width:390px){
  .home-articles .section-head{
    grid-template-columns:1fr;
  }

  .home-articles .section-head .link{
    justify-self:start;
    margin-top:2px!important;
  }

  .home-article-card h3{
    font-size:18px!important;
  }
}
