@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --brown: #6D4C41;
    --orange: #E65100;
    --maroon: #3E66A0;

    --primary: #4976C6;
    --primary-hover: var(--maroon);
    --text: #1F2937;
    --gray: #6B7280;

    --color-primary: #4976C6;
    --color-primary-hover: var(--maroon);
    --secondary-orange: #f67b09;
    --grayscale-gray-2: #4f4f4f;
    --grayscale-gray-3: #828282;
    --color-info: #f67b09;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

a:visited {
    color: inherit;
    text-decoration: none;
}

body {
    background: #F5F3F0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    width: 120px;
    height: 47px;
    cursor: pointer;
}

.text-black-custom {
    color: var(--text);
}

.cards-container-custom .card-custom {
    min-width: 0;
    min-height: 0;
}

.card-info,
.card-summary span {
    min-width: 0;
    min-height: 0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.controls .mainButton {
    box-shadow: unset!important;
}
.notification-wrapper {
    color: var(--text);
}

.breadcrumb {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.blog-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--maroon)
}

.btn-blog-item {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.header-blog-item {
    line-height: 1.3;
}

.register-btn {
    background: #4976C6;
    color: white;
    font-weight: bold;
}

.register-btn:hover {
    background: #660000;
}

.calculator-section {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #60A5FA, #1E40AF);
    background-size: cover;
    background-position: center;
    position: relative;
    color: #333;
    user-select: none;
}

.calculator-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.calculator-wrapper h2, .calculator-wrapper h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--maroon);
}

.slider-container {
    margin: 2rem 0;
}

#termSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    outline: none;
    background-image: linear-gradient(var(--orange), var(--orange));
    background-size: 50% 100%;
    background-repeat: no-repeat;
    padding: 0;
}

#termSlider::-webkit-slider-thumb  {
    -webkit-appearance: none;
    width: 24px;
    height: 24px!important;
    background: var(--maroon);
    border-radius: 50%;
    cursor: pointer;
}

#loanSlider, #loanSliderOffer {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    outline: none;
    background-image: linear-gradient(var(--orange), var(--orange));
    background-size: 50% 100%;
    background-repeat: no-repeat;
    padding: 0;
}

#loanSlider::-webkit-slider-thumb, #loanSliderOffer::-webkit-slider-thumb  {
    -webkit-appearance: none;
    width: 24px;
    height: 24px!important;
    background: var(--maroon);
    border-radius: 50%;
    cursor: pointer;
}

.loan-info {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.loan-params {
    display: grid;
    gap: 0.5rem;
}

.param-item {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    align-items: center;
}

.loan-type-selector {
    display: flex;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.loan-type-option {
    flex: 1;
    text-align: center;
    position: relative;
    margin: 0;
}

.loan-type-option input {
    display: none;
}

.blog-link-container {
    display: flex;
    justify-content: start;
    margin-top: 1rem;
    width: 92vw;
    max-width: 1200px;
}

.loan-type-option span {
    display: block;
    padding: 0.75rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.loan-type-option input:checked+span {
    background: var(--maroon);
    color: white;
    height: 100%;
}

.how-to-section {
    padding: 2rem 1rem;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--maroon);
    margin: 0 0 3rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #4976C6, #FF8C00);
    border-radius: 2px;
}

.cards-container-custom {
    display: grid;
    width: 92vw !important;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.offer-legal-text {
    font-size: 11px;
    margin-top: 5px;
    color: #6B7280;
}

.offer-legal-text a {
    text-decoration: none;
}

.offer-legal-text a:hover {
    cursor: pointer;
    text-decoration: underline;
}

.cards-container-custom .full-width {
    grid-column: 1 / -1;
    font-size: 20px;
    color: var(--maroon);
}

#load_more{
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
    background: #f5f5f5;
    color: var(--maroon);
}

.card-custom {
    background: white;
    width: auto;
    padding: 1.5rem;
    max-width: 1200px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.card {
    background: white;
    width: auto;
    padding: 1.5rem;
    max-width: 1200px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.clickable {
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--maroon);
}

.card h3 {
    margin-bottom: 0.5rem;
    color: var(--maroon);
}

.card p {
    margin-bottom: 1rem;
    color: #666;
}

.card-btn {
    background: #4976C6;
    color: white !important;
    width: 100%;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.calculator-wrapper-offer {
    width: 650px;
    max-width: 92vw;
}

.container-offer-item {
    padding: 2rem 0;
    max-width: 92vw;
    margin: 0 auto;
}

.btn-blog-item {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    justify-content: center;
    width: 100%;
}

.offer-text-info {
    display: flex;
    height: auto;
}

.calculator-wrapper-offer {
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.calculator-wrapper-offer h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--maroon);
}

.card-btn-offer-item {
    background: #4976C6 !important;
    color: white;
    text-decoration: none;
}

.card-btn-offer-item:hover {
    background: #660000 !important;
}

.card-btn:hover {
    background: #660000;
}

.card-btn.maroon-btn {
    background: #4976C6;
}

.card-btn.maroon-btn:hover {
    background: #660000;
}

.calculator-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ruble-icon {
    width: 400px;
    height: auto;
}

.loans-section {
    padding: 4rem 1rem;
}

.loans-container {
    display: grid;
    gap: 1.5rem;
}

.loan-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loan-card .tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--maroon);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.method-card-title {
    margin-top: 20px;
}

.loan-card .loan-icon {
    width: 48px;
    height: 48px;
    margin: 1.5rem auto;
    color: var(--orange);
}

.loan-card .loan-details {
    margin-bottom: 1rem;
}

.loan-card .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--maroon);
}

.loan-card .interest,
.loan-card .terms {
    color: #666;
    margin-top: 0.5rem;
}

.loan-card.highlighted {
    background: var(--orange);
    color: white;
}

.loan-card.highlighted .tag {
    background: white;
    color: var(--orange);
}

.loan-card.highlighted .loan-icon {
    color: white;
}

.loan-card.highlighted .loan-btn {
    background: white;
    color: var(--orange);
}

.loan-card .loan-btn {
    background: var(--orange);
    color: white;
    font-weight: bold;
    width: 100%;
}

.methods-section {
    padding: 4rem 1rem;
    text-align: center;
}

.methods-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.method-icon {
    width: 64px;
    height: 64px;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.method-card h3 {
    font-size: 1.125rem;
    color: var(--maroon);
}

.get-money-btn {
    background: var(--orange);
    color: white;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 8px;
}

.reviews-section {
    padding: 4rem 1rem;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-icon-offers {
    width: 150px;
    color: var(--maroon);
}

.review-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(50% - 1rem);
}

.card-text {
    color: #666666;
}

.review-row:nth-child(2) .review-card {
    flex: 1 1 calc(33.333% - 1rem);
}

.reviewer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.review-text {
    font-size: 1rem;
    color: #666;
}

.creditors-section {
    padding: 4rem 1rem;
}

.creditors-container {
    display: grid;
    gap: 1.5rem;
}

.creditor-card {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.creditor-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.creditor-description {
    font-size: 0.875rem;
    color: #666;
}

.faq-section {
    padding: 4rem 1rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.accordion-icon-down,
.accordion-icon-up {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.hidden {
    display: none;
}

.faq-item summary {
    cursor: pointer;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: var(--maroon);
    list-style: none;
    outline: none;
}

.faq-answer {
    padding: 1rem;
    font-size: 0.95rem;
    color: #666;
}

.faq-item[open] summary {
    color: var(--orange);
}

.footer-content {
    background: #4976C6 !important;

    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.footer-info {
    text-align: center;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
}

.honest-loans {
    padding: 2rem 1rem;
}

.loan-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    margin: 1rem 0;
}

.loan-card.highlight {
    border: 2px solid var(--maroon);
    transform: scale(1.05);
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.orange {
    background: #FFF3E0;
    color: var(--orange);
}

.loan-info-stats {
    color: #4976C6;
    font-size: 20px;
    font-weight: bold;
}

.maroon {
    background: #F8BBD0;
    color: var(--maroon);
}

.brown {
    background: #D7CCC8;
    color: var(--brown);
}

.loan-sum {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.loan-percent {
    color: var(--orange);
    font-weight: 500;
}

.loan-term {
    color: #666;
    margin: 0.5rem 0 1rem;
}

.payment-methods {
    padding: 2rem 1rem;
    text-align: center;
}

.methods-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto;
}

.method-card {
    padding: 1.5rem;
    background: white;
    border-radius: 22px;
}

.main-cta {
    background: #4976C6;
    color: white;
    padding: 1rem 3rem;
    font-weight: bold;
}

.main-cta:hover {
    background: #660000;
}

.reviews {
    padding: 2rem 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.reviews-grid {
    display: grid;
    gap: 1rem;
    max-width: 1200px;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.review-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.lenders {
    padding: 2rem 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lenders-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
}

.lender-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.lender-card img {
    width: 100%;
    height: auto;
    object-fit: contain;

    margin-bottom: 1rem;
}

.loader {
    display: none;
    border: 8px solid #ffffff;
    border-top: 8px solid #4976C6;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;

    position: fixed;
    z-index: 999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.main-container {
    min-height: 70vh;
}

.registration-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1200px;
    margin: 32px auto;
}

.registration-container > div{
    flex: 1;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: start;
}

.info-card i {
    font-size: 32px;
    flex-shrink: 0;
}

.info-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.info-card p {
    margin: 0;
    color: #64748B;
    font-size: 14px;
}

.registration-form {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1)
}

.nav-main {
    cursor: pointer;
}

.registration-form h2 {
    margin: 0 0 24px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 16px;
}

.form-check {
    display: flex;
    gap: 8px;
    margin: 24px 0;
    align-items: center;
}

.form-check label {
    font-size: 14px;
}

.faq {
    padding: 2rem 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.accordion-item {
    background: white;
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.accordion-header {
    font-size: 1.1rem;
    font-weight: 400;
    padding: 1.4rem 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    border-radius: 20px;
    width: 100%;
    text-align: left;
}

.accordion-content {
    padding: 0 1.8rem 1.4rem 1.8rem;
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion {
    width: 92vw;
    max-width: 1200px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-section {
    padding: 2rem 0;
}

.container {
    max-width: 92vw;
    margin: 0 auto;
}

.section-title-blog {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--maroon);
    margin: 0 0 3rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.section-title-blog::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #4976C6, #FF8C00);
    border-radius: 2px;
}

.blog-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.calculator-container-offer {
    max-width: 1200px;
    padding-top: 20px;
    margin: 0 auto
}

.gift-icon {
    width: 38px !important;
    height: 38px;
    margin: 0 5px 0 0 !important;
    color: #4caf50 !important;
}

.icon-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    margin-right: 8px;
    text-align: center;
    color: #fff;
    background-color: #4A1A2C;
    border-radius: 50%;
    font-weight: bold;
}

.instruction-list {
    list-style: none;
    padding-left: 0;
    margin: 10px;
}

.instruction-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.instruction-tip {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #4976C6;
}

.instruction-container {
    max-width: 1200px;
    margin-bottom: 20px;
}

.instruction-section {
    margin-bottom: 32px;
    max-width: 92vw !important;
}

.h1-vitrina {
    font-size: 24px;
    margin: 16px 0 16px 0;

    padding-top: 20px;
    color: var(--maroon)
}

.accordion-vitrina {
    border: 1px solid #e0e0e0;
    border-radius: 8px
}

.accordion-vitrina summary {
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--maroon)
}

.accordion-vitrina p {
    margin: 0;
    color: #616161
}

.all-offers-section {
    margin-top: 24px;
}

.all-offers-section h2 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--maroon)
}

.recommended-section h2 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--maroon)
}

.card-top-vitrina {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    align-items: center;
    justify-content: center;
}

.card-logo {
    height: 70px;
    padding: 10px;
    width: auto;
}

.card-image-dummy {
    height: 70px;
    width: 380px;
    padding: 10px;
}

.card-info {
    flex-grow: 1
}

.card-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-direction: row;
    color: #424242;
}

.card-summary > span {
    flex: 1;
}

.card-summary strong {
    color: var(--maroon);
    display: block;
}

.card-btn-vitrina {
    color: #fff;
    padding: 8px 24px;
    white-space: nowrap
}

.card-bottom {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    padding-top: 12px;
    border-top: 1px solid #eee
}

.details-link {
    color: var(--maroon);
    display: block;
    flex: 100%;
}

.gift-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #4caf50;
    font-weight: bold;
}

.show-more {
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
    background: #f5f5f5;
    color: var(--maroon)
}

.blog-card {
    background: white;
    border-radius: 12px;

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.blog-grid {
    display: grid;
    gap: 2rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.blog-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.blog-meta i {
    margin-right: 0.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.pagination a {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.pagination a.active {
    background: var(--primary);
    color: white;
}

.pagination a:hover {
    background: #E5E7EB;
}

.btn-blog {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.card-btn-blog {
    background: var(--primary);
    color: white;
}

.card-btn-blog:hover {
    background: var(--primary-hover);
}

.policy-link {
    color: white;
    opacity: 0.8;
}

.footer_menu_holder{
    margin: 20px 0;
}

.footer_menu_holder ul{
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0 auto;
}

.footer_menu_holder a{
    color: white;
    opacity: 0.8;
    text-decoration: none;
}

.footer_menu_holder a:hover{
    opacity: 1;
}

.policy-link:hover {
    opacity: 1;
}

.content {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.card-branding {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 15px
}

.approval-rate {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0
}

.gift-info {
    justify-content: start;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 8px
}

.card-offer-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin: 20px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
}

.card-top {
    display: grid;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px
}

.card-conditions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.condition-item {
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    text-align: center
}

.loan-info-text {
    margin-right: 14px;
}

.param-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.param-column {
    background: #fff;
    padding: 16px;
    border-radius: 8px
}

.content h1,
.content h2,
.content h3,
.content h4 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--maroon)
}
.content p {
    margin-bottom: 1rem;
}
.content strong {
    color: var(--maroon)
}
.content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content li {
    margin-bottom: 10px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

.disclaimer {
    margin: 2rem 0;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    margin: 20px auto;
    max-width: 1200px;
}

.partners-table {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.instruction-layout {
    width: 92vw !important;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.partners-data-table {
    width: 100%;
    color: red;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.partners-data-table th {
    background: #f5f7fa;
    color: var(--maroon);
    font-weight: 600;
    text-align: left;
    padding: 1.2rem;
    position: sticky;
    top: 0;
}

.mt-2 {
    margin-top: 2rem;
}

.partners-data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e8eaf6;
    color: #263238;
    font-size: 0.95em;
    line-height: 1.5;
}

.partners-data-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.partners-data-table tr:hover {
    background-color: #f3f4f6;
}

footer {
    background: #4976C6 !important;
    color: white;
    padding: 2rem 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 1040px) {
    .cards-container-custom {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1039px) {
    .card-custom {
        max-width: 92vw;
        width: 380px;
    }

    .summary-item {
        font-size: 14px;
        min-width: 59px !important;
    }

    .full-width {
        width: 92vw;
    }

    .secondary-offer {
        width: 48% !important;
        text-align: left;
        margin-bottom: 10px;
        padding: 10px;
        box-shadow: none;
    }

    .offer-text-info {
        height: auto;
    }

    .all-offers-header {
        margin: 9px;
    }

    .card-logo {
        padding: 5px;
    }

    .offer-legal-text {
        margin-top: 10px;
    }

    .offer_button {
        font-size: 15px;
    }

    .btn {
        padding: 11px;
    }

    .card-summary {

        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cards-container-custom{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .review-card {
        flex: 1 1 100%;
    }
}

@media (min-width: 600px) {
    .creditors-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .creditors-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .registration-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
        max-width: 92vw;
        margin: 32px auto;
    }
}

@media (max-width: 1300px) {
    .instruction-container {
        width: 92vw !important;
    }
}

@media (min-width: 1201px) {
    .card-summary {
        flex-direction: row;
        gap: 12px
    }

    .partners-data-table {
        min-width: 960px;
    }

    .card-bottom {
        justify-content: space-between
    }

    .registration-container {
        flex-direction: row;
    }

    .info-cards {
        flex: 1;
    }

    .registration-form {
        flex: 1;
    }
    .calculator-wrapper {
        min-width: 478px;
    }
}

@media (max-width: 768px) {
    .accordion-header {
        font-size: 1.1rem;
    }

    .card-custom {
        width: 92vw;
    }

    .partners-data-table th,
    .partners-data-table td {
        padding: 0.8rem;
        font-size: 0.9em;
    }

    .partners-data-table th {
        min-width: 120px;
    }

    .instruction-text {
        width: 90vw;
    }

    .method-card {
        width: 92.5vw !important;
    }

    .loan-card.highlight {
        transform: none;
    }

    .main-cta {
        width: 92vw;
    }

    .ruble-icon {
        display: none;
    }

    header {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin: 0 0 2rem 0;
    }
    .disclaimer {
        margin: 2rem 0;
    }
    .footer_menu_holder ul {
        justify-content: center;
    }
}

@media (max-width: 968px) {
    .ruble-icon {
        display: none;
    }

    .card-branding {
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        gap: 15px;
        justify-content: center !important;
    }
}

@media (min-width: 768px) {
    .card-top {
        grid-template-columns: 1fr auto auto
    }

    .card-conditions {
        grid-template-columns: repeat(4, 1fr)
    }

    .param-grid {
        gap: 32px
    }

    .blog-card {
        display: flex;
    }

    .container {
        max-width: 1200px;
    }

    .blog-image {
        width: 40%;
        height: auto;
        min-height: 280px;
    }

    .blog-btn {
        width: 11vw;
        align-items: center;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .blog-content {
        padding: 2rem;
    }

    .blog-title {
        font-size: 1.5rem;
    }

    .pagination {
        gap: 1rem;
    }

    .methods-container {
        flex-direction: row;
    }

    .loans-container {
        grid-template-columns: repeat(3, 1fr);
    }

    header {
        padding: 1rem 0rem;
        width: 92vw;
    }

    .breadcrumb {
        padding: 1rem 0rem;
        width: 92vw;
    }

    .calculator-section {
        padding: 4rem 2rem;
    }

    .how-to-section {
        padding: 4rem 2rem;
    }



    .loan-types {
        gap: 1rem;
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-logo,
    .footer-info,
    .footer-bottom {
        text-align: left;
    }

    .footer-logo {
        margin-bottom: 0;
    }

    .main-cta {
        width: fit-content;
    }

    .honest-loans .cards-container-custom {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews-grid {
        max-width: 1200px;
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid :nth-child(n+3) {
        grid-column: span 1;
    }

    .lenders-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        max-width: 1200px;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        text-align: left;
    }
}

@media (max-width: 1024px) {
    header {
        width: 92vw !important;
    }

    .reviews-grid {
        max-width: 92vw;
        width: 92vw !important;
    }

    .calculator-container {
        width: 92vw !important;
    }

    .lenders-grid {
        width: 92vw !important;
        gap: 0.9rem;
    }

    .cards-container-custom {
        width: 92vw !important;

    }
}

@media (max-width: 768px) {
    .responsive-image {
        max-width: 92vw;
    }
}

.cards-container .card-custom {
    min-width: 0;
    min-height: 0;
}

.cards-container {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.cards-container .full-width {
    grid-column: 1 / -1;
    font-size: 20px;
    color: var(--maroon);
}

@media (min-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .honest-loans .cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .cards-container {
        width: 92vw !important;
    }
}
