/*
Theme Name: Ternopil Finance Hub
Description: Локальний фінансовий портал для Тернополя та області
Version: 1.0
*/

*{
box-sizing:border-box;
}

body{
margin:0;
font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;
background:#f5f7fb;
color:#111827;
}

a{
text-decoration:none;
}

.container{
max-width:1180px;
margin:auto;
padding:0 20px;
}

/* HEADER */

.main-header{
background:#fff;
border-bottom:1px solid #eef2ff;
position:sticky;
top:0;
z-index:100;
}

.header-inner{
height:64px;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:18px;
font-weight:800;
color:#1e3a8a;
}

.nav{
display:flex;
align-items:center;
gap:18px;
}

.nav a{
font-size:14px;
color:#374151;
}

.header-btn{
background:#2563eb;
color:#fff!important;
padding:11px 16px;
border-radius:12px;
font-weight:700;
}

/* HERO */

.hero{
padding:45px 0 20px;
}

.hero-grid{
display:grid;
grid-template-columns:1fr 380px;
gap:40px;
align-items:center;
}

.hero h1{
font-size:52px;
line-height:1.05;
margin:0 0 18px;
font-weight:800;
max-width:700px;
}

.hero p{
font-size:18px;
line-height:1.6;
color:#6b7280;
max-width:620px;
}

.hero-cta{
display:flex;
gap:14px;
margin-top:28px;
}

.btn-primary{
background:linear-gradient(135deg,#2563eb,#4f46e5);
color:#fff;
padding:16px 24px;
border-radius:16px;
font-weight:700;
display:inline-block;
box-shadow:0 10px 30px rgba(37,99,235,.2);
}

.btn-secondary{
background:#fff;
border:1px solid #e5e7eb;
padding:16px 22px;
border-radius:16px;
font-weight:600;
color:#111827;
}

.chips{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-top:22px;
}

.chip{
background:#eef2ff;
color:#3730a3;
padding:10px 14px;
border-radius:30px;
font-size:13px;
font-weight:700;
}

/* HERO CARD */

.hero-card{
background:#fff;
border-radius:28px;
padding:24px;
box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.hero-top{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.hero-mini{
font-size:13px;
color:#6b7280;
}

.hero-amount{
font-size:42px;
font-weight:800;
margin-top:4px;
}

.hero-rating{
font-size:14px;
color:#f59e0b;
font-weight:700;
}

.hero-features{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
}

.hero-features div{
background:#f8fafc;
padding:14px;
border-radius:14px;
font-size:14px;
}

/* SECTIONS */

.section{
margin:55px 0;
}

.section-title{
font-size:34px;
margin-bottom:28px;
font-weight:800;
}

/* OFFERS */

.offers{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
gap:22px;
}

.card{
background:#fff;
border-radius:24px;
padding:24px;
box-shadow:0 15px 40px rgba(0,0,0,.06);
border:1px solid #eef2ff;
position:relative;
}

.badge{
    position:absolute;
    top:14px;
    right:14px;
    background:#ecfdf3;
    color:#16a34a;
    border:1px solid #bbf7d0;
    padding:6px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    line-height:1;
    z-index:2;
}

.card-header{
display:flex;
gap:14px;
align-items:center;
margin-bottom:18px;
}

.card-logo{
    width:72px;
    height:72px;
    object-fit:contain;
    border-radius:18px;
    background:#fff;
    padding:10px;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
    transition:.2s;
}

.card-title{
font-size:20px;
font-weight:700;
}

.params{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
margin:18px 0;
}

.param{
background:#f8fafc;
padding:14px;
border-radius:14px;
}

.param span{
display:block;
font-size:12px;
color:#6b7280;
margin-bottom:4px;
}

.features{
padding:0;
margin:18px 0;
list-style:none;
}

.features li{
margin-bottom:8px;
font-size:14px;
}

.social{
background:#ecfdf5;
padding:12px;
border-radius:14px;
font-size:13px;
color:#15803d;
margin-bottom:16px;
}

.offer-btn{
display:block;
text-align:center;
background:linear-gradient(135deg,#2563eb,#4f46e5);
padding:16px;
border-radius:16px;
color:#fff;
font-weight:800;
}

/* ARTICLES */

.articles{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:20px;
}

.article-card{
background:#fff;
padding:24px;
border-radius:22px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
}

/* MOBILE */

.mobile-cta{
display:none;
}

@media(max-width:900px){

.hero-grid{
grid-template-columns:1fr;
}

.hero h1{
font-size:38px;
}

.hero-card{
margin-top:10px;
}



}
/* BUTTONS */

.offer-btn,
.single-btn{
display:block;
text-align:center;
background:linear-gradient(135deg,#2563eb,#4f46e5);
padding:18px;
border-radius:18px;
color:#fff;
font-weight:800;
font-size:16px;
box-shadow:0 15px 35px rgba(37,99,235,.25);
transition:.2s;
}

.offer-btn:hover,
.single-btn:hover{
transform:translateY(-2px);
box-shadow:0 20px 45px rgba(37,99,235,.35);
}

/* OFFER IMAGE LINK */

.offer-image-link{
display:block;
}

/* SINGLE */

.offer-single{
background:#fff;
border-radius:32px;
padding:40px;
box-shadow:0 20px 50px rgba(0,0,0,.06);
}

.offer-single-grid{
display:grid;
grid-template-columns:1fr 320px;
gap:40px;
}

.single-logo{
width:90px;
height:90px;
object-fit:contain;
background:#f8fafc;
padding:10px;
border-radius:20px;
margin-bottom:20px;
}

.single-params{
display:grid;
grid-template-columns:1fr 1fr;
gap:14px;
margin:25px 0;
}

.single-param{
background:#f8fafc;
padding:18px;
border-radius:18px;
}

.single-param span{
display:block;
font-size:13px;
color:#6b7280;
margin-bottom:5px;
}

.single-sidebar{
position:sticky;
top:90px;
height:fit-content;
}

.sidebar-card{
background:#f8fafc;
padding:24px;
border-radius:24px;
}

.sidebar-card ul{
padding-left:18px;
}

.sidebar-card li{
margin-bottom:10px;
}

/* FOOTER */

.main-footer{
background:#111827;
color:#fff;
margin-top:70px;
padding:60px 0 25px;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr;
gap:40px;
margin-bottom:40px;
}

.footer-logo{
font-size:22px;
font-weight:800;
margin-bottom:16px;
}

.footer-text{
color:#9ca3af;
line-height:1.7;
max-width:400px;
}

.footer-links{
list-style:none;
padding:0;
margin:0;
}

.footer-links li{
margin-bottom:12px;
}

.footer-links a{
color:#d1d5db;
}

.footer-bottom{
border-top:1px solid rgba(255,255,255,.08);
padding-top:25px;
color:#9ca3af;
font-size:14px;
}

@media(max-width:900px){

.offer-single-grid,
.footer-grid{
grid-template-columns:1fr;
}

}

/* BLOG */

.articles-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:24px;
}

.blog-card{
background:#fff;
border-radius:24px;
overflow:hidden;
box-shadow:0 15px 40px rgba(0,0,0,.06);
transition:.2s;
display:block;
color:#111827;
}

.blog-card:hover{
transform:translateY(-4px);
}

.blog-image img{
width:100%;
height:220px;
object-fit:cover;
display:block;
}

.blog-content{
padding:24px;
}

.blog-date{
font-size:13px;
color:#6b7280;
margin-bottom:10px;
}

.blog-card h2,
.blog-card h3{
margin:0 0 14px;
font-size:24px;
line-height:1.3;
}

.blog-card p{
color:#6b7280;
line-height:1.7;
}

.blog-more{
margin-top:18px;
font-weight:700;
color:#2563eb;
}

/* ARTICLE */

.article-single{
max-width:920px;
margin:auto;
background:#fff;
padding:40px;
border-radius:32px;
box-shadow:0 20px 50px rgba(0,0,0,.05);
}

.article-meta{
display:flex;
gap:20px;
font-size:14px;
color:#6b7280;
margin-bottom:18px;
}

.article-title{
font-size:52px;
line-height:1.1;
margin-bottom:28px;
}

.article-image img{
width:100%;
border-radius:24px;
margin-bottom:30px;
}

.article-content{
font-size:18px;
line-height:1.9;
color:#374151;
}

.article-content h2,
.article-content h3{
margin-top:40px;
}

.article-offers{
margin-top:50px;
}

.related-posts{
margin-top:60px;
}

@media(max-width:768px){

.article-title{
font-size:36px;
}

.article-single{
padding:25px;
}

}
/* AUTO LINKS */

.auto-link{
color:#2563eb;
font-weight:700;
text-decoration:none;
border-bottom:2px solid rgba(37,99,235,.15);
}

/* ARTICLE OFFER BOX */

.article-offer-box{
margin:45px 0;
padding:28px;
background:#f8fafc;
border-radius:28px;
border:1px solid #eef2ff;
}

.offer-box-title{
font-size:28px;
font-weight:800;
margin-bottom:24px;
}

/* =========================
V11 PREMIUM UI
========================= */

/* HERO PREMIUM */

.hero{
position:relative;
overflow:hidden;
padding:55px 0 30px;
}

.hero:before{
content:"";
position:absolute;
width:500px;
height:500px;
background:radial-gradient(circle,#dbeafe 0%,transparent 70%);
top:-180px;
right:-120px;
z-index:0;
}

.hero:after{
content:"";
position:absolute;
width:400px;
height:400px;
background:radial-gradient(circle,#ede9fe 0%,transparent 70%);
bottom:-220px;
left:-150px;
z-index:0;
}

.hero-grid{
position:relative;
z-index:2;
}

.hero h1{
font-size:58px;
line-height:1;
letter-spacing:-2px;
}

.hero p{
font-size:19px;
}

/* TRUST BAR */

.trust-bar{
display:flex;
flex-wrap:wrap;
gap:14px;
margin-top:28px;
}

.trust-item{
background:rgba(255,255,255,.7);
backdrop-filter:blur(12px);
padding:14px 18px;
border-radius:16px;
font-size:14px;
font-weight:700;
box-shadow:0 10px 25px rgba(0,0,0,.05);
}

/* FEATURED OFFER */

.card.featured{
grid-column:span 2;
background:linear-gradient(135deg,#1e3a8a,#312e81);
color:#fff;
border:none;
overflow:hidden;
position:relative;
}

.card.featured:before{
content:"";
position:absolute;
width:300px;
height:300px;
background:rgba(255,255,255,.08);
border-radius:50%;
top:-100px;
right:-100px;
}

.card.featured .param{
background:rgba(255,255,255,.1);
}

.card.featured .social{
background:rgba(255,255,255,.12);
color:#fff;
}

.card.featured .offer-btn{
background:#fff;
color:#111827;
}

.card.featured .card-title,
.card.featured .card-rating,
.card.featured .features li,
.card.featured .card-desc{
color:#fff;
}

.card.featured .badge{
background:#f59e0b;
}

/* CARDS */

.card{
transition:.25s;
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.card-title{
font-size:22px;
font-weight:800;
color:#111827;
}

.card-rating{
margin-top:6px;
font-size:14px;
color:#f59e0b;
font-weight:700;
}

.card-desc{
margin:18px 0;
color:#6b7280;
line-height:1.7;
}

/* BUTTONS */

.offer-btn,
.btn-primary,
.single-btn{
position:relative;
overflow:hidden;
}

.offer-btn:before,
.btn-primary:before,
.single-btn:before{
content:"";
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:rgba(255,255,255,.18);
transition:.5s;
}

.offer-btn:hover:before,
.btn-primary:hover:before,
.single-btn:hover:before{
left:100%;
}

/* BLOG */

.blog-card{
position:relative;
}

.blog-card:before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(to top,rgba(0,0,0,.45),transparent);
opacity:0;
transition:.25s;
z-index:1;
}

.blog-card:hover:before{
opacity:1;
}

.blog-content{
position:relative;
z-index:2;
}

.blog-badge{
display:inline-block;
background:#2563eb;
color:#fff;
padding:7px 12px;
border-radius:30px;
font-size:12px;
font-weight:700;
margin-bottom:14px;
}

/* ARTICLE */

.article-single{
position:relative;
overflow:hidden;
}

.article-single:before{
content:"";
position:absolute;
width:400px;
height:400px;
background:radial-gradient(circle,#dbeafe 0%,transparent 70%);
top:-180px;
right:-180px;
}

/* FOOTER */

.main-footer{
position:relative;
overflow:hidden;
}

.main-footer:before{
content:"";
position:absolute;
width:400px;
height:400px;
background:radial-gradient(circle,rgba(255,255,255,.05),transparent 70%);
top:-150px;
right:-120px;
}

/* MOBILE */

@media(max-width:900px){

.card.featured{
grid-column:span 1;
}

.hero h1{
font-size:42px;
line-height:1.05;
}

.hero{
padding:35px 0 15px;
}

}

@media(max-width:768px){

.hero{
    padding:25px 10px;
}

.hero h1{
    font-size:26px;
    line-height:1.2;
}

.hero p{
    font-size:15px;
}

.offers{
    grid-template-columns:1fr;
    gap:15px;
}

.card{
    padding:16px;
    border-radius:16px;
}

.btn-primary{
    width:100%;
    text-align:center;
    padding:16px;
    font-size:16px;
}

.main-header{
    padding:12px 0;
}

.logo-site{
    font-size:16px;
}

.params{
    font-size:13px;
}

}

.article-card img{
    width:100%;
    border-radius:12px;
    margin-bottom:10px;
}
.badge{
    position:absolute;
    top:14px;
    right:14px;
    background:#ecfdf5;
    color:#15803d;
    border:1px solid #bbf7d0;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    z-index:2;
}

.card{
    position:relative;
    overflow:hidden;
}


.legal-block{
    margin-top:60px;
    padding:40px 0;
    background:#fff;
    border-top:1px solid #e5e7eb;
}

.legal-content{
    max-width:900px;
    font-size:14px;
    line-height:1.8;
    color:#475569;
}

.legal-content h2,
.legal-content h3{
    color:#0f172a;
    margin-top:35px;
}

.legal-content ul{
    padding-left:20px;
}

.legal-content li{
    margin-bottom:8px;
}

.gc-creditors{
    padding:70px 0;
    background:#f8fafc;
}

.section-head{
    text-align:center;
    margin-bottom:40px;
}

.section-head h2{
    font-size:34px;
    margin-bottom:12px;
}

.section-head p{
    color:#64748b;
    max-width:760px;
    margin:0 auto;
    line-height:1.7;
}

.creditors-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:24px;
}

.creditor-card{
    background:#fff;
    border-radius:24px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
    border:1px solid #eef2f7;
}

.creditor-top{
    display:flex;
    gap:18px;
    align-items:center;
    margin-bottom:22px;
}

.creditor-logo{
    width:82px;
    height:82px;
    object-fit:contain;
    background:#fff;
    border-radius:18px;
    padding:12px;
    border:1px solid #eef2f7;
}

.creditor-top h3{
    margin:0 0 6px;
    font-size:22px;
}

.creditor-license{
    font-size:13px;
    color:#16a34a;
    font-weight:600;
}

.creditor-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:20px;
}

.creditor-info div{
    background:#f8fafc;
    border-radius:16px;
    padding:12px;
}

.creditor-info span{
    display:block;
    color:#64748b;
    font-size:12px;
    margin-bottom:6px;
}

.creditor-info strong{
    font-size:14px;
    color:#0f172a;
}

.creditor-link{
    display:flex;
    justify-content:center;
    align-items:center;
    height:52px;
    border-radius:16px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.2s;
}

.creditor-link:hover{
    transform:translateY(-2px);
}


/* V11 TRUST */

.gc-trust{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin:28px 0 34px;
}

.gc-trust-item{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px;
    text-align:center;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.gc-trust-item strong{
    display:block;
    font-size:22px;
    color:#0f172a;
    margin-bottom:6px;
}

.gc-trust-item span{
    font-size:13px;
    color:#64748b;
}

/* V11 FAQ */

.gc-faq{
    margin:60px 0;
}

.gc-faq h2{
    font-size:32px;
    margin-bottom:22px;
}

.gc-faq-list{
    display:grid;
    gap:12px;
}

.gc-faq-item{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px 20px;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.gc-faq-item summary{
    cursor:pointer;
    font-weight:700;
    color:#0f172a;
    list-style:none;
}

.gc-faq-item summary::-webkit-details-marker{
    display:none;
}

.gc-faq-item summary:after{
    content:"+";
    float:right;
    font-size:20px;
    color:#2563eb;
}

.gc-faq-item[open] summary:after{
    content:"−";
}

.gc-faq-item p{
    color:#475569;
    line-height:1.7;
    margin:14px 0 0;
}

/* V11 MOBILE STICKY */

.gc-mobile-sticky{
    display:none;
}

@media(max-width:768px){

    .gc-trust{
        grid-template-columns:repeat(2,1fr);
        gap:10px;
        margin:22px 0 28px;
    }

    .gc-trust-item{
        padding:14px 10px;
        border-radius:16px;
    }

    .gc-trust-item strong{
        font-size:19px;
    }

    .gc-trust-item span{
        font-size:12px;
    }

    .gc-faq{
        margin:42px 0;
    }

    .gc-faq h2{
        font-size:26px;
    }

    .gc-faq-item{
        padding:16px;
        border-radius:16px;
    }

    .gc-mobile-sticky{
        display:block;
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        z-index:9999;
        background:#fff;
        padding:10px 14px calc(10px + env(safe-area-inset-bottom));
        box-shadow:0 -8px 24px rgba(15,23,42,.12);
    }

    .gc-mobile-sticky a{
        display:flex;
        align-items:center;
        justify-content:center;
        min-height:54px;
        border-radius:16px;
        background:linear-gradient(135deg,#2563eb,#3b82f6);
        color:#fff;
        text-decoration:none;
        font-weight:800;
        font-size:16px;
    }

    body{
        padding-bottom:78px;
    }
}

.offer-single{
    background:#fff;
    border-radius:28px;
    padding:34px;
    box-shadow:0 12px 40px rgba(15,23,42,.06);
    margin:30px 0 50px;
}

.offer-single-head{
    display:grid;
    grid-template-columns:130px 1fr;
    gap:28px;
    align-items:center;
}

.offer-single-logo{
    width:130px;
    height:130px;
    object-fit:contain;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:26px;
    padding:18px;
    box-shadow:0 10px 28px rgba(15,23,42,.06);
}

.offer-single h1{
    font-size:36px;
    margin:0 0 10px;
}

.offer-single-rating{
    color:#f59e0b;
    font-weight:700;
    margin-bottom:12px;
}

.offer-single-head p{
    color:#475569;
    line-height:1.7;
    max-width:720px;
}

.offer-single-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:54px;
    padding:0 26px;
    border-radius:16px;
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:#fff;
    text-decoration:none;
    font-weight:800;
    margin-top:10px;
}

.offer-single-params{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin:32px 0;
}

.offer-single-params div{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:16px;
}

.offer-single-params span{
    display:block;
    font-size:12px;
    color:#64748b;
    margin-bottom:7px;
}

.offer-single-params strong{
    font-size:17px;
    color:#0f172a;
}

.offer-single-block{
    margin-top:34px;
}

.offer-single-block h2{
    font-size:26px;
    margin-bottom:16px;
}

.offer-single-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    padding:0;
    list-style:none;
}

.offer-single-features li,
.offer-steps div{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:14px;
}

.offer-steps{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.offer-single-warning{
    margin-top:34px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    padding:18px;
    border-radius:18px;
    line-height:1.6;
}

.related-title{
    margin-top:50px;
}

@media(max-width:768px){

    .offer-single{
        padding:22px;
        border-radius:22px;
    }

    .offer-single-head{
        grid-template-columns:1fr;
        text-align:center;
    }

    .offer-single-logo{
        width:110px;
        height:110px;
        margin:0 auto;
    }

    .offer-single h1{
        font-size:28px;
    }

    .offer-single-btn{
        width:100%;
    }

    .offer-single-params{
        grid-template-columns:repeat(2,1fr);
    }

    .offer-single-features,
    .offer-steps{
        grid-template-columns:1fr;
    }
}

.gc-how{
    margin:70px 0;
}

.gc-how-head{
    text-align:center;
    margin-bottom:32px;
}

.gc-how-head h2{
    font-size:34px;
    margin-bottom:10px;
    color:#0f172a;
}

.gc-how-head p{
    color:#64748b;
    font-size:16px;
}

.gc-how-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.gc-how-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:24px;
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}

.gc-how-num{
    width:42px;
    height:42px;
    border-radius:14px;
    background:#2563eb;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    margin-bottom:16px;
}

.gc-how-card h3{
    margin:0 0 10px;
    font-size:18px;
    color:#0f172a;
}

.gc-how-card p{
    margin:0;
    color:#64748b;
    line-height:1.6;
    font-size:14px;
}

@media(max-width:768px){
    .gc-how{
        margin:45px 0;
    }

    .gc-how-head{
        text-align:left;
    }

    .gc-how-head h2{
        font-size:26px;
    }

    .gc-how-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .gc-how-card{
        padding:20px;
        border-radius:18px;
    }
}

.credit-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.credit-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.credit-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.credit-table {
  width: 100%;
  border-collapse: collapse;
}

.credit-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.credit-table td {
  padding: 6px 0;
  font-size: 14px;
}

.credit-table td:first-child {
  color: #6b7280;
  width: 50%;
}

.gc-calc{
    margin:70px 0;
}

.gc-calc-head{
    text-align:center;
    margin-bottom:30px;
}

.gc-calc-head h2{
    font-size:34px;
    margin-bottom:10px;
    color:#0f172a;
}

.gc-calc-head p{
    color:#64748b;
}

.gc-calc-box{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    background:#fff;
    padding:28px;
    border-radius:28px;
    box-shadow:0 12px 40px rgba(15,23,42,.06);
}

.gc-calc-form label{
    display:block;
    margin-bottom:16px;
    font-weight:700;
    color:#0f172a;
}

.gc-calc-form input,
.gc-calc-form select{
    width:100%;
    margin-top:8px;
    padding:14px;
    border-radius:14px;
    border:1px solid #e5e7eb;
    font-size:15px;
}

#gc_calc_btn,
.gc-calc-cta{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:52px;
    border:0;
    border-radius:16px;
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:#fff;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
    margin-top:10px;
}

.gc-calc-result{
    display:grid;
    gap:14px;
}

.gc-calc-result div{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:16px;
}

.gc-calc-result span{
    display:block;
    color:#64748b;
    font-size:13px;
    margin-bottom:6px;
}

.gc-calc-result strong{
    font-size:22px;
    color:#0f172a;
}

.gc-calc-note{
    margin-top:16px;
    color:#64748b;
    font-size:13px;
    line-height:1.6;
}

@media(max-width:768px){

    .gc-calc{
        margin:45px 0;
    }

    .gc-calc-head{
        text-align:left;
    }

    .gc-calc-head h2{
        font-size:26px;
    }

    .gc-calc-box{
        grid-template-columns:1fr;
        padding:20px;
        border-radius:22px;
    }

    .gc-calc-result strong{
        font-size:19px;
    }
}

.gc-calc-result.gc-calc-updated{
    animation:gcCalcPulse .45s ease;
}

@keyframes gcCalcPulse{
    0%{transform:scale(1);}
    35%{transform:scale(1.025);}
    100%{transform:scale(1);}
}

.gc-calc-result.gc-calc-updated div{
    background:#eff6ff;
    border-color:#bfdbfe;
}

#gc_calc_btn.gc-btn-loading{
    opacity:.85;
    pointer-events:none;
}

/* STATIC PAGES */

.gc-page-wrap{
    padding:40px 0 70px;
}

.gc-page-content{
    max-width:860px;
    margin:0 auto;
    background:#fff;
    border-radius:28px;
    padding:42px;
    box-shadow:0 12px 40px rgba(15,23,42,.06);
}

.gc-page-header{
    margin-bottom:28px;
}

.gc-page-header h1{
    margin:0;
    font-size:40px;
    line-height:1.15;
    letter-spacing:-0.03em;
    color:#0f172a;
}

.gc-page-text{
    font-size:17px;
    line-height:1.8;
    color:#334155;
}

.gc-page-text h2{
    margin-top:38px;
    margin-bottom:16px;
    font-size:28px;
    line-height:1.25;
    color:#0f172a;
}

.gc-page-text h3{
    margin-top:30px;
    margin-bottom:12px;
    font-size:22px;
    color:#0f172a;
}

.gc-page-text p{
    margin-bottom:18px;
}

.gc-page-text ul,
.gc-page-text ol{
    margin:18px 0 24px;
    padding-left:24px;
}

.gc-page-text li{
    margin-bottom:10px;
}

.gc-page-text a{
    color:#2563eb;
    font-weight:700;
    text-decoration:none;
}

.gc-page-text a:hover{
    text-decoration:underline;
}

.gc-page-text blockquote{
    margin:28px 0;
    padding:22px 26px;
    background:#f8fafc;
    border-left:4px solid #2563eb;
    border-radius:18px;
    color:#475569;
}

.gc-page-text img{
    max-width:100%;
    height:auto;
    border-radius:18px;
}

.gc-page-text table{
    width:100%;
    border-collapse:collapse;
    margin:28px 0;
    overflow:hidden;
    border-radius:16px;
}

.gc-page-text th,
.gc-page-text td{
    padding:14px;
    border:1px solid #e5e7eb;
}

.gc-page-text th{
    background:#f8fafc;
    color:#0f172a;
}

@media(max-width:768px){

    .gc-page-wrap{
        padding:24px 0 50px;
    }

    .gc-page-content{
        padding:24px;
        border-radius:22px;
    }

    .gc-page-header h1{
        font-size:30px;
    }

    .gc-page-text{
        font-size:16px;
        line-height:1.75;
    }

    .gc-page-text h2{
        font-size:24px;
    }

    .gc-page-text h3{
        font-size:20px;
    }
}

.gc-contact-form{
    margin:30px 0;
    background:#fff;
    border-radius:28px;
    padding:32px;
    box-shadow:0 12px 40px rgba(15,23,42,.06);
}

.gc-contact-form label{
    display:block;
    margin-bottom:18px;
    font-weight:700;
    color:#0f172a;
}

.gc-contact-form input,
.gc-contact-form textarea{
    width:100%;
    margin-top:8px;
    padding:15px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    font-size:15px;
    font-family:inherit;
    background:#f8fafc;
}

.gc-contact-form textarea{
    resize:vertical;
}

.gc-contact-form button{
    width:100%;
    min-height:54px;
    border:0;
    border-radius:18px;
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:#fff;
    font-weight:800;
    font-size:16px;
    cursor:pointer;
}

.gc-contact-success{
    background:#ecfdf5;
    color:#15803d;
    padding:18px;
    border-radius:18px;
    font-weight:700;
}

.gc-contact-error{
    background:#fff7ed;
    color:#9a3412;
    padding:16px;
    border-radius:16px;
    margin-bottom:18px;
    font-weight:700;
}

@media(max-width:768px){
    .gc-contact-form{
        padding:22px;
        border-radius:22px;
    }
}

.offer-single-content{
    margin-top:34px;
    padding-top:28px;
    border-top:1px solid #e5e7eb;
    color:#334155;
    font-size:16px;
    line-height:1.8;
}

.offer-single-content h2{
    font-size:26px;
    margin:0 0 16px;
    color:#0f172a;
}

.offer-single-content h3{
    font-size:22px;
    margin:28px 0 12px;
    color:#0f172a;
}

.offer-single-content p{
    margin-bottom:16px;
}

.offer-single-content ul,
.offer-single-content ol{
    margin:16px 0 22px;
    padding-left:22px;
}

.offer-single-content li{
    margin-bottom:8px;
}

.offer-single-content a{
    color:#2563eb;
    font-weight:700;
    text-decoration:none;
}

.offer-single-content a:hover{
    text-decoration:underline;
}

.related-offers h2{
    width:100%;
    text-align:center;
}

.related-title{
    text-align:center;
    font-size:34px;
    font-weight:800;
    margin:0 0 30px;
    color:#0f172a;
}

.related-title span{
    display:inline-block;
    padding:10px 22px;
    border-radius:999px;
    background:#f1f5f9;
    position:relative;
}

/* линия слева */
.related-title span:before{
    content:'';
    position:absolute;
    left:-40px;
    top:50%;
    transform:translateY(-50%);
    width:30px;
    height:2px;
    background:#cbd5f5;
}

/* линия справа */
.related-title span:after{
    content:'';
    position:absolute;
    right:-40px;
    top:50%;
    transform:translateY(-50%);
    width:30px;
    height:2px;
    background:#cbd5f5;
}

@media(max-width:768px){

    .related-title{
        font-size:26px;
        line-height:1.2;
        margin:0 0 24px;
        padding:0 12px;
        text-align:center;
    }

    .related-title:before{
        display:none;
    }

    .related-title:after{
        width:48px;
        height:3px;
        margin:10px auto 0;
    }

}

.gc-aff-banner{
    margin:34px 0;
    text-align:center;
}

.gc-aff-banner-link{
    display:inline-block;
    max-width:100%;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 12px 40px rgba(15,23,42,.08);
    background:#fff;
}

.gc-aff-banner img{
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
}

@media(max-width:768px){
    .gc-aff-banner{
        margin:24px 0;
    }

    .gc-aff-banner-link{
        border-radius:18px;
    }
}

@media(max-width:768px){

    .gc-aff-banner{
        margin:24px 0;
    }

    .gc-aff-banner-link{
        grid-template-columns:1fr;
        border-radius:22px;
    }

    .gc-aff-banner img{
        min-height:auto;
        max-height:320px;
    }

    .gc-aff-banner-content{
        padding:22px;
    }

    .gc-aff-banner-content h3{
        font-size:23px;
    }

    .gc-aff-banner-content span{
        width:100%;
    }
}

.gc-aff-banner{
    margin:34px 0;
}

.gc-aff-banner-link{
    display:block;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 12px 40px rgba(15,23,42,.08);
    background:#fff;
}

.gc-aff-banner img{
    display:block;
    width:100%;
    height:auto;
}

@media(max-width:768px){
    .gc-aff-banner{
        margin:24px 0;
    }

    .gc-aff-banner-link{
        border-radius:18px;
    }
}

.gc-page-content .gc-wide-block{
    width:min(1280px, calc(100vw - 32px));
    margin:36px 0 36px 50%;
    transform:translateX(-50%);
}

.gc-page-content .gc-wide-block .offers{
    margin-top:0;
}

.gc-page-content .gc-wide-block .gc-aff-banner{
    margin:0;
}

@media(max-width:768px){
    .gc-page-content .gc-wide-block{
        width:calc(100vw - 24px);
        margin:28px 0 28px 50%;
    }
}

.gc-wide-section{
    margin-top:36px;
    margin-bottom:36px;
}

.gc-wide-section .offers{
    margin-top:0;
}

.gc-wide-section .gc-aff-banner{
    margin:0;
}

.gc-page-text .gc-calc-cta,
.gc-calc-cta{
    color:#fff !important;
    text-decoration:none !important;
    opacity:1 !important;
}

.gc-page-text .gc-calc-cta:hover,
.gc-calc-cta:hover{
    color:#fff !important;
    text-decoration:none !important;
}

.gc-page-content .gc-aff-banner{
    margin-top:0;
}

.gc-page-text > .gc-aff-banner:first-child{
    margin-top:-18px;
}

.gc-page-content:has(.gc-aff-banner:first-child){
    padding-top:24px;
}

html{
    scroll-behavior:smooth;
}

.gc-picker-v2-offers{
    display:none;
}

.gc-picker-v2-offers.active{
    display:grid;
}

.gc-picker-v2-offers .card{
    display:block;
}

.gc-picker-v2-card{
    animation:gcPickerFade .3s ease;
}

.gc-picker-v2-card.gc-picker-best{
    border-color:#2563eb;
    box-shadow:0 18px 50px rgba(37,99,235,.14);
}

.gc-picker-v2{
    max-width:1200px;
    margin:60px auto;
    padding:0 20px;
}

.gc-picker-v2-head{
    text-align:center;
    max-width:820px;
    margin:0 auto 30px;
}

.gc-picker-v2-head h2{
    font-size:38px;
    line-height:1.15;
    margin:0 0 14px;
}

.gc-picker-v2-head p{
    font-size:18px;
    color:#64748b;
}

.gc-picker-v2-box{
    background:#fff;
    border-radius:30px;
    padding:32px;
    box-shadow:0 18px 60px rgba(15,23,42,.08);
    border:1px solid #e5e7eb;
    max-width:900px;
    margin:0 auto 36px;
}

.gc-picker-v2-step{
    display:none !important;
}

.gc-picker-v2-step.active{
    display:block !important;
}

.gc-picker-v2-result{
    display:none;
    text-align:center;
    background:#ecfdf5;
    border:1px solid #bbf7d0;
    border-radius:24px;
    padding:26px;
}

.gc-picker-v2-options{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.gc-picker-v2-options button,
.gc-picker-reset{
    min-height:58px;
    border:1px solid #dbeafe;
    border-radius:18px;
    background:#f8fafc;
    color:#0f172a;
    font-weight:900;
    font-size:16px;
    cursor:pointer;
}

.gc-picker-v2-options button:hover{
    background:#eff6ff;
    border-color:#2563eb;
}

.gc-picker-v2-offers{
    display:none;
}

.gc-picker-v2-offers.active{
    display:grid;
}

.gc-picker-v2-offers .card{
    max-width:none;
}

@media(max-width:768px){
    .gc-picker-v2{
        margin:40px auto;
        padding:0 14px;
    }

    .gc-picker-v2-head{
        text-align:left;
    }

    .gc-picker-v2-head h2{
        font-size:28px;
    }

    .gc-picker-v2-box{
        padding:22px;
        border-radius:24px;
    }

    .gc-picker-v2-options{
        grid-template-columns:1fr;
    }

    .gc-picker-v2-options button{
        width:100%;
    }
}


/* QUIZ OFFERS — FIXED CARDS */

.gc-picker-v2-offers.active{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:24px;
    max-width:1180px;
    margin:34px auto 0;
}

.gc-picker-v2-offers .card{
    position:relative;
    background:#fff;
    border:1px solid #dbeafe;
    border-radius:30px;
    padding:28px;
    box-shadow:0 18px 50px rgba(15,23,42,.06);
    overflow:hidden;
}

.gc-picker-v2-offers .gc-picker-match{
    display:inline-flex;
    margin-bottom:18px;
    padding:7px 14px;
    border-radius:999px;
    background:#eff6ff;
    color:#2563eb;
    font-size:13px;
    font-weight:900;
}

.gc-picker-v2-offers .card-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:22px;
}

.gc-picker-v2-offers .card-logo{
    width:96px;
    height:96px;
    object-fit:contain;
    padding:14px;
    border-radius:22px;
    background:#fff;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 28px rgba(15,23,42,.08);
}

.gc-picker-v2-offers .card-title{
    display:block;
    color:#0f172a !important;
    font-size:24px;
    line-height:1.2;
    font-weight:900;
    text-decoration:none !important;
}

.gc-picker-v2-offers .card-rating{
    margin-top:8px;
    color:#f59e0b;
    font-weight:800;
}

.gc-picker-v2-offers .params{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin:22px 0;
}

.gc-picker-v2-offers .param{
    background:#f8fafc;
    border-radius:18px;
    padding:16px;
}

.gc-picker-v2-offers .param span{
    display:block;
    margin-bottom:6px;
    color:#64748b;
    font-size:14px;
    font-weight:700;
}

.gc-picker-v2-offers .param strong{
    display:block;
    color:#0f172a;
    font-size:20px;
    line-height:1.2;
    font-weight:900;
}

.gc-picker-v2-offers .card-desc{
    color:#475569;
    font-size:16px;
    line-height:1.7;
    margin:18px 0 22px;
}

.gc-picker-v2-offers .offer-btn{
    display:flex !important;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:56px;
    border-radius:18px;
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:#fff !important;
    font-size:16px;
    font-weight:900;
    text-decoration:none !important;
    box-shadow:0 12px 28px rgba(37,99,235,.22);
}

.gc-picker-v2-offers .offer-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 36px rgba(37,99,235,.28);
}

@media(max-width:900px){
    .gc-picker-v2-offers.active{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){
    .gc-picker-v2-offers .card{
        padding:22px;
        border-radius:24px;
    }

    .gc-picker-v2-offers .card-logo{
        width:78px;
        height:78px;
    }

    .gc-picker-v2-offers .card-title{
        font-size:21px;
    }

    .gc-picker-v2-offers .params{
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .gc-picker-v2-offers .param{
        padding:13px;
    }

    .gc-picker-v2-offers .param strong{
        font-size:17px;
    }
}

.gc-picker-counter{
    text-align:center;
    color:#64748b;
    font-weight:800;
    margin-bottom:20px;
}

.gc-picker-processing{
    display:none;
    text-align:center;
    padding:40px 20px;
}

.gc-picker-processing h3{
    margin:14px 0 8px;
    font-size:26px;
    color:#0f172a;
}

.gc-picker-processing p{
    margin:0;
    color:#64748b;
}

.gc-picker-loader{
    width:58px;
    height:58px;
    border-radius:50%;
    border:6px solid #dbeafe;
    border-top-color:#2563eb;
    margin:0 auto;
    animation:gcSpin 1s linear infinite;
}

@keyframes gcSpin{
    to{transform:rotate(360deg);}
}

/* =====================================================
   TERNOPIL FINANCE HUB — UNIQUE VISUAL LAYER
   ===================================================== */

:root{
    --tc-primary:#059669;
    --tc-primary-dark:#047857;
    --tc-accent:#14b8a6;
    --tc-soft:#ecfdf5;
    --tc-bg:#f3f8f6;
    --tc-card:#ffffff;
    --tc-text:#10201b;
    --tc-muted:#64748b;
    --tc-border:#dbe7e2;
    --tc-shadow:0 16px 42px rgba(16,32,27,.06);
    --tc-shadow-strong:0 22px 56px rgba(16,32,27,.12);
}

body{
    background:
        radial-gradient(circle at 12% 8%, rgba(20,184,166,.11), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(5,150,105,.10), transparent 28%),
        var(--tc-bg);
    color:var(--tc-text);
}

/* HEADER */

.main-header{
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--tc-border);
}

.logo,
.logo-site{
    color:var(--tc-primary-dark);
    letter-spacing:-.02em;
}

.nav a,
.main-nav a{
    color:#24443b;
}

.nav a:hover,
.main-nav a:hover{
    color:var(--tc-primary);
}

.header-btn,
.btn-primary,
.offer-btn,
.single-btn,
.offer-single-btn,
.gc-calc-cta,
#gc_calc_btn,
.gc-contact-form button,
.creditor-link,
.gc-mobile-sticky a{
    background:linear-gradient(135deg,var(--tc-primary),var(--tc-accent)) !important;
    color:#fff !important;
    box-shadow:0 14px 32px rgba(5,150,105,.22);
}

.header-btn{
    border-radius:999px;
}

.btn-primary:hover,
.offer-btn:hover,
.single-btn:hover,
.offer-single-btn:hover{
    box-shadow:0 18px 44px rgba(5,150,105,.30);
}

/* HERO */

.hero{
    padding:64px 0 34px;
}

.hero:before{
    background:radial-gradient(circle,rgba(20,184,166,.20) 0%,transparent 68%);
    right:-160px;
}

.hero:after{
    background:radial-gradient(circle,rgba(5,150,105,.14) 0%,transparent 68%);
    left:-180px;
}

.hero h1{
    color:var(--tc-text);
    letter-spacing:-.045em;
}

.hero p{
    color:#52645f;
}

.tf-hero-label{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    padding:0 16px;
    border-radius:999px;
    background:var(--tc-soft);
    color:var(--tc-primary-dark);
    font-weight:800;
    margin-bottom:18px;
}

/* CARDS */

.hero-card,
.gc-calc-box,
.gc-picker-v2-box,
.offer-single,
.article-single,
.gc-page-content,
.gc-contact-form,
.card,
.article-card,
.blog-card,
.creditor-card,
.gc-how-card,
.gc-faq-item{
    border-color:var(--tc-border) !important;
}

.hero-card,
.gc-calc-box,
.gc-picker-v2-box,
.offer-single,
.article-single,
.gc-page-content,
.gc-contact-form{
    box-shadow:var(--tc-shadow);
}

.card{
    box-shadow:0 12px 34px rgba(16,32,27,.055);
}

.card:hover{
    box-shadow:var(--tc-shadow-strong);
}

.card-title,
.offer-single h1,
.gc-page-header h1,
.section-title,
.section-head h2,
.gc-how-head h2,
.gc-picker-v2-head h2{
    color:var(--tc-text);
}

.card-logo,
.offer-single-logo,
.single-logo,
.creditor-logo{
    border:1px solid var(--tc-border);
    box-shadow:0 8px 22px rgba(16,32,27,.06);
}

/* PARAMS */

.param,
.hero-features div,
.single-param,
.offer-single-params div,
.creditor-info div,
.gc-calc-result div,
.sidebar-card,
.offer-single-features li,
.offer-steps div{
    background:#f7fbf9;
    border-color:var(--tc-border);
}

/* CHIPS */

.chip,
.gc-picker-pill,
.gc-picker-progress,
.related-title span{
    background:var(--tc-soft);
    color:var(--tc-primary-dark);
}

.badge{
    background:#ecfdf5;
    color:var(--tc-primary-dark);
    border-color:#a7f3d0;
}

.social,
.gc-contact-success{
    background:#ecfdf5;
    color:var(--tc-primary-dark);
}

/* FEATURED */

.card.featured{
    background:linear-gradient(135deg,#064e3b,#0f766e);
}

/* QUIZ */

.gc-picker-v2-box{
    position:relative;
    overflow:hidden;
}

.gc-picker-v2-box:before{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    right:-90px;
    top:-90px;
    background:radial-gradient(circle,rgba(20,184,166,.18),transparent 70%);
    pointer-events:none;
}

.gc-picker-v2-options button,
.gc-picker-reset{
    border-color:var(--tc-border);
    background:#f7fbf9;
}

.gc-picker-v2-options button:hover{
    background:var(--tc-soft);
    border-color:var(--tc-primary);
    box-shadow:0 12px 30px rgba(5,150,105,.12);
}

.gc-picker-v2-progress span.active{
    background:linear-gradient(135deg,var(--tc-primary),var(--tc-accent));
}

.gc-picker-result-icon,
.gc-how-num,
.blog-badge{
    background:linear-gradient(135deg,var(--tc-primary),var(--tc-accent));
}

.gc-picker-v2-result{
    background:#ecfdf5;
    border-color:#a7f3d0;
}

.gc-picker-v2-card.gc-picker-best,
.gc-picker-v2-offers .card.gc-picker-best{
    border-color:var(--tc-primary) !important;
    box-shadow:0 18px 50px rgba(5,150,105,.16);
}

.gc-picker-v2-offers .gc-picker-match,
.gc-picker-match{
    background:#ecfdf5;
    color:var(--tc-primary-dark);
}

.gc-picker-loader{
    border-color:#ccfbf1;
    border-top-color:var(--tc-primary);
}

/* HOW */

.gc-how-card{
    box-shadow:0 10px 26px rgba(16,32,27,.055);
}

/* FAQ */

.gc-faq-item summary:after{
    color:var(--tc-primary);
}

/* LINKS */

.blog-more,
.auto-link,
.gc-page-text a,
.offer-single-content a{
    color:var(--tc-primary-dark);
}

/* BLOCKQUOTE */

.gc-page-text blockquote{
    border-left-color:var(--tc-primary);
    background:#f7fbf9;
}

/* RELATED */

.related-title span:before,
.related-title span:after{
    background:#99f6e4;
}

/* BANNERS */

.gc-aff-banner-link{
    box-shadow:0 14px 38px rgba(16,32,27,.08);
}

/* CREDITORS */

.gc-creditors{
    background:#eef8f4;
}

/* FOOTER */

.main-footer{
    background:linear-gradient(135deg,#052e24,#064e3b);
    color:#fff;
}

.main-footer:before{
    background:radial-gradient(circle,rgba(20,184,166,.18),transparent 70%);
}

.footer-text,
.footer-bottom{
    color:#cbded8;
}

.footer-links a{
    color:#e2f5ef;
}

/* LOCAL BLOCKS */

.tf-info-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:24px;
}

.tf-info-card{
    background:#fff;
    border:1px solid var(--tc-border);
    border-radius:24px;
    padding:28px;
    box-shadow:0 12px 34px rgba(16,32,27,.055);
}

.tf-info-card h2,
.tf-info-card h3{
    margin-top:0;
    color:var(--tc-text);
}

.tf-info-card p,
.tf-info-card li{
    color:#52645f;
}

.tf-info-card ul{
    margin:14px 0 0;
    padding-left:20px;
}

/* MOBILE */

@media(max-width:900px){

    .tf-info-grid,
    .gc-picker-v2-offers.active{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    body{
        background:var(--tc-bg);
    }

    .hero{
        padding:32px 8px 18px;
    }

    .hero h1{
        font-size:30px;
        letter-spacing:-.03em;
    }

    .hero p{
        font-size:16px;
    }

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

    .card-logo{
        width:76px;
        height:76px;
    }

    .offer-btn,
    .single-btn,
    .gc-calc-cta,
    #gc_calc_btn{
        border-radius:16px;
    }

    .gc-picker-v2-head{
        text-align:left;
    }

    .gc-picker-v2-box{
        border-radius:22px;
    }

    .gc-picker-v2-offers .card{
        border-radius:22px;
    }

    .tf-info-card{
        padding:22px;
        border-radius:20px;
    }

    .footer-grid{
        gap:26px;
    }
}

.tf-offer-label{
    display:inline-flex;
    padding:8px 14px;
    border-radius:999px;
    background:#ecfdf5;
    color:#047857;
    font-weight:900;
    margin:24px 0 18px;
}

.tf-offer-single{
    margin-top:24px;
}

.tf-offer-warning{
    background:#fefce8;
    border-color:#fde68a;
    color:#854d0e;
}

.tf-related-offers{
    margin-top:52px;
}

/* =====================================================
   TERNOPIL STATIC PAGES
   ===================================================== */

.tf-page-wrap{
    padding-top:28px;
}

.tf-page-content{
    position:relative;
    overflow:hidden;
}

.tf-page-content:before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    right:-120px;
    top:-120px;
    background:radial-gradient(circle,rgba(20,184,166,.12),transparent 70%);
    pointer-events:none;
}

.tf-page-header{
    margin-bottom:34px;
}

.tf-page-label{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    padding:0 16px;
    border-radius:999px;
    background:#ecfdf5;
    color:#047857;
    font-weight:900;
    margin-bottom:18px;
}

.tf-page-meta{
    margin-top:14px;
    color:#64748b;
    font-weight:600;
}

.tf-page-text{
    position:relative;
    z-index:2;
}

.tf-page-text h2{
    color:#10201b;
}

.tf-page-text h3{
    color:#17342d;
}

.tf-page-text table{
    border-color:#dbe7e2;
}

.tf-page-text tr:nth-child(even){
    background:#f7fbf9;
}

.tf-page-text strong{
    color:#17342d;
}

@media(max-width:768px){

    .tf-page-wrap{
        padding-top:12px;
    }

    .tf-page-label{
        min-height:34px;
        font-size:13px;
    }

}

/* =====================================================
   TERNOPIL ARTICLE TEMPLATE
   ===================================================== */

.tf-article-single{
    margin-top:34px;
}

.tf-article-header{
    position:relative;
    z-index:2;
}

.tf-article-label{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    padding:0 16px;
    border-radius:999px;
    background:#ecfdf5;
    color:#047857;
    font-weight:900;
    margin-bottom:18px;
}

.tf-article-meta{
    margin-bottom:18px;
}

.tf-article-meta span{
    display:inline-flex;
    align-items:center;
    margin-right:14px;
    color:#64748b;
    font-weight:700;
    font-size:14px;
}

.tf-article-intro{
    margin:0 0 28px;
    color:#52645f;
    font-size:18px;
    line-height:1.7;
}

.tf-article-content{
    position:relative;
    z-index:2;
}

.tf-article-offers{
    margin-top:54px;
}

.tf-related-posts{
    margin-top:60px;
}

.tf-blog-card{
    border:1px solid #dbe7e2;
}

@media(max-width:768px){

    .tf-article-single{
        margin-top:20px;
    }

    .tf-article-intro{
        font-size:16px;
    }

    .tf-article-meta span{
        margin-bottom:6px;
    }
}

/* =====================================================
   TERNOPIL INDEX TEMPLATE
   ===================================================== */

.tf-index-wrap{
    padding:44px 0 70px;
}

.tf-index-header{
    max-width:860px;
    margin:0 auto 34px;
    text-align:center;
}

.tf-index-header h1{
    margin:0 0 14px;
    font-size:42px;
    line-height:1.15;
    color:#10201b;
}

.tf-index-header p{
    margin:0;
    color:#64748b;
    font-size:17px;
    line-height:1.7;
}

.tf-index-content{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:22px;
}

.tf-index-card{
    background:#fff;
    border:1px solid #dbe7e2;
    border-radius:24px;
    padding:26px;
    box-shadow:0 12px 34px rgba(16,32,27,.055);
}

.tf-index-card h2{
    margin:0 0 14px;
    font-size:24px;
    line-height:1.25;
}

.tf-index-card h2 a{
    color:#10201b;
}

.tf-index-excerpt{
    color:#52645f;
    line-height:1.7;
    margin-bottom:18px;
}

.tf-index-more{
    color:#047857;
    font-weight:900;
}

@media(max-width:768px){
    .tf-index-wrap{
        padding:28px 0 50px;
    }

    .tf-index-header{
        text-align:left;
    }

    .tf-index-header h1{
        font-size:30px;
    }
}

/* =====================================================
   TERNOPIL ARCHIVE TEMPLATE
   ===================================================== */

.tf-archive-section{
    padding-top:24px;
}

.tf-archive-header{
    max-width:860px;
    margin:0 auto 34px;
    text-align:center;
}

.tf-archive-intro{
    margin:0;
    color:#52645f;
    font-size:18px;
    line-height:1.7;
}

.tf-articles-grid{
    gap:26px;
}

.tf-blog-card{
    border:1px solid #dbe7e2;
    border-radius:24px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 12px 34px rgba(16,32,27,.055);
    transition:.25s;
}

.tf-blog-card:hover{
    transform:translateY(-5px);
    box-shadow:0 22px 56px rgba(16,32,27,.11);
}

.tf-blog-image img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.tf-blog-content{
    padding:24px;
}

.tf-blog-date{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    background:#ecfdf5;
    color:#047857;
    font-size:13px;
    font-weight:800;
    margin-bottom:14px;
}

.tf-blog-content h2{
    font-size:28px;
    line-height:1.25;
    margin-bottom:14px;
    color:#10201b;
}

.tf-blog-content p{
    color:#52645f;
    line-height:1.7;
}

.tf-pagination{
    margin-top:40px;
    display:flex;
    justify-content:center;
}

.tf-pagination .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:46px;
    height:46px;
    padding:0 14px;
    border-radius:14px;
    background:#fff;
    border:1px solid #dbe7e2;
    margin:0 4px;
    font-weight:800;
    color:#17342d;
}

.tf-pagination .current{
    background:linear-gradient(135deg,#059669,#14b8a6);
    color:#fff;
    border-color:transparent;
}

@media(max-width:768px){

    .tf-archive-header{
        text-align:left;
    }

    .tf-archive-intro{
        font-size:16px;
    }

    .tf-blog-content{
        padding:20px;
    }

    .tf-blog-content h2{
        font-size:24px;
    }

    .tf-blog-image img{
        height:200px;
    }

}

/* WIDE LANDING PAGES */

.tf-wide-page-wrap{
    padding:42px 0 70px;
}

.tf-wide-page-content{
    width:100%;
}

.tf-wide-page-content > section{
    margin-bottom:56px;
}

.tf-wide-page-content .tf-ads-hero,
.tf-wide-page-content .tf-ads-conditions,
.tf-wide-page-content .tf-ads-example,
.tf-wide-page-content .tf-ads-disclosure,
.tf-wide-page-content .tf-ads-how,
.tf-wide-page-content .tf-ads-offers,
.tf-wide-page-content .tf-ads-contact{
    background:#fff;
    border:1px solid #dbe7e2;
    border-radius:28px;
    padding:38px;
    box-shadow:0 16px 42px rgba(16,32,27,.06);
}

.tf-wide-page-content .tf-ads-hero h1{
    font-size:52px;
    line-height:1.08;
    letter-spacing:-.045em;
    max-width:900px;
}

.tf-wide-page-content .tf-ads-hero p{
    max-width:900px;
    font-size:18px;
    color:#52645f;
}

.tf-ads-notice{
    margin-top:24px;
    padding:18px 20px;
    border-radius:18px;
    background:#ecfdf5;
    border:1px solid #a7f3d0;
    color:#064e3b;
    font-weight:700;
}

.tf-wide-page-content table{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:18px;
}

.tf-wide-page-content th,
.tf-wide-page-content td{
    padding:16px;
    border:1px solid #dbe7e2;
    text-align:left;
}

.tf-wide-page-content th{
    background:#ecfdf5;
    color:#047857;
}

.tf-wide-page-content ul,
.tf-wide-page-content ol{
    padding-left:24px;
}

.tf-wide-page-content li{
    margin-bottom:10px;
}

@media(max-width:768px){
    .tf-wide-page-wrap{
        padding:22px 0 46px;
    }

    .tf-wide-page-content .tf-ads-hero,
    .tf-wide-page-content .tf-ads-conditions,
    .tf-wide-page-content .tf-ads-example,
    .tf-wide-page-content .tf-ads-disclosure,
    .tf-wide-page-content .tf-ads-how,
    .tf-wide-page-content .tf-ads-offers,
    .tf-wide-page-content .tf-ads-contact{
        padding:22px;
        border-radius:22px;
    }

    .tf-wide-page-content .tf-ads-hero h1{
        font-size:32px;
    }
}

/* CREDITORS TRUST BLOCK */

.tf-creditors-trust{
    padding:70px 0;
}

.tf-creditors-note{
    background:#ecfdf5;
    border:1px solid #a7f3d0;
    color:#064e3b;
    border-radius:22px;
    padding:22px 24px;
    font-size:17px;
    line-height:1.7;
    margin:0 0 32px;
}

.tf-creditor-card{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.tf-creditor-desc{
    color:#52645f;
    line-height:1.65;
    margin:0;
}

.tf-creditor-info{
    grid-template-columns:repeat(2,1fr);
}

.tf-creditor-legal{
    background:#f8fafc;
    border:1px solid #dbe7e2;
    border-radius:16px;
    padding:16px;
    color:#64748b;
    font-size:14px;
    line-height:1.6;
}

.creditor-license{
    color:#047857;
    font-weight:800;
}

@media(max-width:768px){
    .tf-creditors-trust{
        padding:42px 0;
    }

    .tf-creditor-info{
        grid-template-columns:1fr;
    }

    .tf-creditors-note{
        padding:18px;
        font-size:15px;
    }
}

/* FIX ONLY MOBILE HEADER BUTTON */

@media(max-width:768px){

    .header-btn,
    .tf-header-btn{
        min-height:36px !important;
        height:36px !important;
        padding:0 12px !important;
        font-size:13px !important;
        line-height:36px !important;
        border-radius:999px !important;
        white-space:nowrap !important;
        flex-shrink:0 !important;
        max-width:145px !important;
        box-shadow:none !important;
    }

}

@media(max-width:380px){

    .header-btn,
    .tf-header-btn{
        max-width:120px !important;
        font-size:12px !important;
        padding:0 10px !important;
    }

}