/* Credit offers — ported from banks.kiev.ua; aliases map its theme vars to finansist24 vars */
:root{--border-color:var(--line);--primary-color:var(--primary);--secondary-color:var(--accent);--text-color:var(--text);--text-muted:var(--muted)}
.credit-offers-container {
    margin: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.credit-offers-container > h2 {
    font-size: 20px;
    line-height: 1.25;
    color: var(--text-color);
    margin: 0 0 6px;
}

.credit-offer-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 10px;
}

.offer-header {
    flex: 0 0 84px;
    width: 84px;
    min-width: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.offer-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.offer-logo {
    max-width: 80px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.offer-logo-text {
    max-width: 68px;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-color);
    overflow-wrap: anywhere;
}

.offer-parameters {
    flex: 1 1 auto;
    min-width: 0;
}

.offer-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.offer-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}

.offer-badge-new {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 4px;
    background: #fff3d6;
    color: #9a5a00;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.offer-primary-line {
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-secondary-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.25;
}

.offer-separator {
    color: #bbb;
}

.offer-actions {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.offer-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 30px;
}

.offer-method {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-width: 74px;
    max-width: 100%;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}

.offer-method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #168a3a;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    background: var(--primary-color);
    color: #fff !important;
    padding: 7px 11px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.offer-btn:hover {
    background: #a80000;
}

.offer-legal {
    position: relative;
    flex: 0 0 auto;
}

.offer-legal > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: #fff;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
}

.offer-legal > summary::-webkit-details-marker {
    display: none;
}

.offer-legal[open] > summary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.offer-org-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-info-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin-top: 5px;
}

.offer-info-links a {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.offer-info-links a:hover {
    color: var(--primary-color);
}

.credit-disclaimer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff8ec;
    border: 1px solid #f4d9ad;
    border-left: 4px solid var(--secondary-color);
    padding: 14px 16px;
    margin: 10px 0 18px;
}

.credit-disclaimer-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.credit-disclaimer p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
}

.blog-faq-wrapper {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid #e5e5e5;
}

.blog-faq-wrapper h2 {
    margin: 0 0 18px;
    font-size: 26px;
    line-height: 1.25;
}

.blog-faq-item {
    padding: 16px 0;
    border-bottom: 1px solid #eeeeee;
}

.blog-faq-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.blog-faq-answer {
    color: #444;
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .credit-offers-container {
        gap: 10px;
    }

    .credit-offer-card {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 14px 12px;
        text-align: center;
    }

    .offer-header {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }

    .offer-logo {
        max-width: 150px;
        max-height: 86px;
    }

    .offer-logo-text {
        max-width: 150px;
        font-size: 14px;
    }

    .offer-primary-line {
        font-size: 18px;
        white-space: normal;
    }

    .offer-parameters {
        width: 100%;
    }

    .offer-secondary-line {
        justify-content: center;
        font-size: 12px;
        line-height: 1.35;
    }

    .offer-org-name {
        font-size: 13px;
        white-space: normal;
    }

    .offer-title-row {
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }

    .offer-badges {
        justify-content: center;
    }

    .offer-actions {
        width: 100%;
        align-items: center;
        gap: 8px;
    }

    .offer-method {
        font-size: 12px;
    }

    .offer-method-icon {
        width: 20px;
        height: 20px;
        font-size: 13px;
    }

    .offer-btn {
        width: min(100%, 240px);
        min-height: 40px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .offer-info-links {
        justify-content: center;
    }

    .offer-legal > summary {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .credit-offers-container {
        gap: 10px;
    }

    .credit-offer-card {
        gap: 14px;
        padding: 11px 14px;
    }

    .offer-header {
        flex-basis: 112px;
        width: 112px;
        min-width: 112px;
    }

    .offer-logo {
        max-width: 104px;
        max-height: 66px;
    }

    .offer-logo-text {
        max-width: 84px;
        font-size: 12px;
    }

    .offer-primary-line {
        font-size: 18px;
    }

    .offer-secondary-line {
        font-size: 13px;
    }

    .offer-btn {
        min-height: 34px;
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 359px) {
    .credit-offer-card {
        padding: 12px 10px;
    }

    .offer-parameters {
        width: 100%;
        flex-basis: auto;
    }

    .offer-actions {
        padding-left: 0;
    }

    .offer-info-links {
        width: auto;
    }
}


/* Credit article lead (short description above the offers) */
.article-lead{font-size:1.08rem;line-height:1.6;color:var(--text);border-left:4px solid var(--primary);background:#f3f9fd;padding:.9rem 1.1rem;margin:0 0 1.2rem}
.blog-faq-wrapper{margin-top:2rem}
