/* Currencies page */
.currencies-page {
    color: #022a4d;
}

/* Hero */
.currencies-page .currency-hero {
    background: #24439b;
    color: #fff;
    padding: 55px 0 90px;
    margin-bottom: -45px;
}

.currencies-page .currency-hero h1 {
    max-width: 560px;
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #fff;
}

.currencies-page .currency-hero p {
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 20px;
}

.currencies-page .currency-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.currencies-page .currency-hero__feature {
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 9px 12px;
    font-size: 12px;
}

.currencies-page .currency-hero__feature i {
    color: #ffd23f;
    margin-right: 6px;
}

.currencies-page .currency-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffd23f;
    color: #022a4d;
    padding: 11px 18px;
    font-family: OpenSans-Bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.currencies-page .currency-hero__cta:hover {
    color: #022a4d;
    text-decoration: none;
}

/* Main tools */
.currencies-page .currency-tools {
    position: relative;
    z-index: 2;
    margin-bottom: 55px;
}

.currencies-page .currency-calculator-card,
.currencies-page .currency-rates-card,
.currencies-page .currency-benefit-card {
    background: #fff;
    border: 1px solid #d9dee5;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.currencies-page .currency-calculator-card {
    padding: 24px;
}

.currencies-page .currency-calculator-card h2,
.currencies-page .currency-rates-card__head h2 {
    font-size: 20px;
    margin-bottom: 6px;
    color: #022a4d;
}

.currencies-page .currency-calculator-card p,
.currencies-page .currency-rates-card__head p {
    font-size: 13px;
    color: #667085;
    margin-bottom: 16px;
}

.currencies-page .currency-mode-tabs {
    display: flex;
    margin-bottom: 16px;
    border: 1px solid #d9dee5;
}

.currencies-page .currency-mode-tabs button {
    width: 50%;
    border: 0;
    background: #f5f6f8;
    color: #022a4d;
    padding: 8px 10px;
    font-family: OpenSans-Bold;
    font-size: 13px;
    cursor: pointer;
}

.currencies-page .currency-mode-tabs button.active {
    background: #133757;
    color: #fff;
}

.currencies-page .currency-calculator-card .form-group {
    margin-bottom: 14px;
}

.currencies-page .currency-calculator-card label {
    margin-left: 0;
    font-family: OpenSans-Bold;
    color: #022a4d;
}

.currencies-page .currency-calculator-card .form-control {
    height: 34px;
    border-radius: 0;
}

.currencies-page .currency-calculator-result {
    background: #f3f6fb;
    border: 1px solid #d9e3f2;
    padding: 18px;
    text-align: center;
    margin-top: 16px;
}

.currencies-page .currency-calculator-result span {
    display: block;
    font-size: 12px;
    color: #667085;
}

.currencies-page .currency-calculator-result strong {
    display: block;
    font-size: 24px;
    color: #24439b;
    margin-top: 4px;
}

.currencies-page .currency-calculator-note {
    font-size: 11px !important;
    line-height: 1.5;
    margin: 12px 0 0;
    text-align: center;
}

/* Rates */
.currencies-page .currency-rates-card {
    overflow: hidden;
}

.currencies-page .currency-rates-card__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #e8ebef;
}

.currencies-page .currency-rates-card__head > span {
    align-self: flex-start;
    background: #eefaf3;
    color: #137d44;
    padding: 5px 10px;
    font-size: 12px;
    white-space: nowrap;
}

.currencies-page .currency-rates-table thead th {
    background: #f5f6f8;
    color: #667085;
    font-size: 11px;
    text-transform: uppercase;
    padding: 12px 18px;
    border: 0 !important;
}

.currencies-page .currency-rates-table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid #eef0f3 !important;
    vertical-align: middle;
    color: #022a4d;
}

.currencies-page .currency-rates-table tbody td a {
    display: flex;
    align-items: center;
    color: #022a4d;
    text-decoration: none;
}

.currencies-page .currency-rates-table tbody td a span {
    margin-left: 8px;
    color: #4b5563;
    font-family: OpenSans;
}

.currencies-page .currency-rates-table tbody td:nth-child(3),
.currencies-page .currency-rates-table tbody td:nth-child(4) {
    font-family: OpenSans-Bold;
    color: #133757;
}

.currencies-page .currency-rates-table small {
    display: block;
    color: #7d1315;
    font-family: OpenSans;
    font-size: 11px;
}

/* Benefits */
.currencies-page .currency-benefits {
    border: 1px solid #d9dee5;
    border-top: 3px solid #133757;
    padding: 35px 25px;
    margin-bottom: 35px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.currencies-page .currency-section-head {
    max-width: 760px;
    margin: 0 auto 28px;
}

.currencies-page .currency-section-head h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #022a4d;
}

.currencies-page .currency-section-head p {
    font-size: 14px;
    color: #667085;
    line-height: 1.7;
}

.currencies-page .currency-benefit-card {
    padding: 26px 22px;
    text-align: center;
    background: #fafafa;
    border: 1px solid #e6eaf0;
}

.currencies-page .currency-benefit-card__icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 16px;
    background: #eef3ff;
    color: #24439b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.currencies-page .currency-benefit-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #022a4d;
}

.currencies-page .currency-benefit-card p {
    font-size: 13px;
    line-height: 1.7;
    color: #4b5563;
}

/* FAQ */
.currencies-page .currency-faq {
    border: 1px solid #d9dee5;
    border-top: 3px solid #7d1315;
    padding: 28px 25px 30px;
    margin-bottom: 60px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.currencies-page .currency-faq .currency-section-head {
    margin-bottom: 24px;
}

.currencies-page .currency-faq .currency-section-head h2 {
    font-size: 24px;
    margin-bottom: 0;
    color: #022a4d;
}

.currencies-page .currency-faq__inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.currencies-page .currency-faq .faq-item {
    background: #f7f7f7;
    border: 1px solid #e5e7eb;
    margin-bottom: 8px;
}

.currencies-page .currency-faq .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 18px 22px;
    color: #022a4d;
    font-size: 16px;
    font-family: OpenSans-Bold;
    text-decoration: none;
}

.currencies-page .currency-faq .faq-question:hover {
    color: #7d1315;
    text-decoration: none;
}

.currencies-page .currency-faq .faq-question i {
    transition: transform 0.2s ease;
}

.currencies-page .currency-faq .faq-question:not(.collapsed) i {
    transform: rotate(180deg);
}

.currencies-page .currency-faq .faq-answer-wrap {
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.currencies-page .currency-faq .faq-answer {
    padding: 18px 22px;
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
}

/* Mobile */
@media (max-width: 991.98px) {
    .currencies-page .currency-hero {
        padding: 40px 0 70px;
    }

    .currencies-page .currency-hero h1 {
        font-size: 30px;
    }

    .currencies-page .currency-rates-card__head {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .currencies-page .currency-hero {
        padding: 32px 0 60px;
    }

    .currencies-page .currency-hero h1 {
        font-size: 25px;
    }

    .currencies-page .currency-hero__features {
        display: block;
    }

    .currencies-page .currency-hero__feature {
        margin-bottom: 8px;
    }

    .currencies-page .currency-benefits,
    .currencies-page .currency-faq {
        padding: 24px 16px;
    }

    .currencies-page .currency-rates-table tbody td,
    .currencies-page .currency-rates-table thead th {
        padding: 10px;
        font-size: 12px;
    }

    .currencies-page .currency-rates-table tbody td a span {
        display: none;
    }
}


/* override the global span:block */
.currency-calculator-result .result-value span,
.currency-calculator-result .result-secondary span {
    display: inline;
}

/* main value inline */
.currency-calculator-result .result-value {
    font-size: 32px;
    font-family: OpenSans-Bold;
    color: #24439b;
    line-height: 1.1;
}

/* BGN */
.currency-calculator-result .currency-code {
    margin-left: 4px;
    font-size: 18px;
}

/* EUR inline under */
.currency-calculator-result .result-secondary {
    margin-top: 6px;
    font-size: 15px;
    /* color: #7d1315; */
}

/* optional: tighten spacing */
.currency-calculator-result .result-secondary span:last-child {
    margin-left: 3px;
}


.currencies-page .currency-calculator-result .result-value {
    display: block;
    font-size: 32px;
    font-family: OpenSans-Bold;
    color: #24439b;
    line-height: 1.1;
    margin-top: 4px;
}

.currencies-page .currency-calculator-result .currency2 {
    display: inline;
    font-size: inherit;
    color: inherit;
}

.currencies-page .currency-calculator-result .currency-code {
    display: inline;
    font-size: 20px;
    color: inherit;
    margin-left: 4px;
}


.currencies-page .currency-calculator-result .result-secondary,
.currencies-page .currency-calculator-result .result-secondary > span {
    margin-top: 8px;
    font-size: 16px;
    color: #7d1315;
}
/* 
.currencies-page .currency-calculator-result .currency2-eur {
    display: inline;
} */