﻿
.breadcrumb {
    padding: 15px 0 15px;
    font-size: 13px;
    color: #7c8798;
}

    .breadcrumb span {
        margin: 0 7px;
    }

/* =========================================
           ARTICLE LAYOUT
        ========================================= */

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 790px) 330px;
    gap: 30px;
    align-items: start;
}

/* =========================================
           ARTICLE
        ========================================= */

.article {
    min-width: 0;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef6ff;
    color: #176ee8;
    border: 1px solid #dcecff;
    border-radius: 20px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 13px;
}

.article h1 {
    font-size: 38px;
    line-height: 1.25;
    letter-spacing: -.5px;
    margin-bottom: 15px;
}

.article-intro {
    font-size: 16px;
    color: #657086;
    line-height: 1.7;
    margin-bottom: 18px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #7d8798;
    font-size: 12px;
    padding-bottom: 20px;
}

    .article-meta strong {
        color: #4e5b70;
    }

/* =========================================
           HERO IMAGE
        ========================================= */

.article-image {
    margin-top: 22px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8edf4;
    background: #f5f8fc;
}

    .article-image img {
        width: 100%;
        aspect-ratio: 16 / 7;
        object-fit: cover;
    }

.image-caption {
    padding: 9px 13px;
    font-size: 10px;
    color: #8a93a3;
    background: #fff;
}

/* =========================================
           ARTICLE CONTENT
        ========================================= */

.article-content {
    margin-top: 27px;
}

    .article-content h2 {
        font-size: 25px;
        line-height: 1.35;
        margin: 34px 0 13px;
    }

    .article-content h3 {
        font-size: 19px;
        line-height: 1.4;
        margin: 25px 0 10px;
    }

    .article-content p {
        font-size: 15px;
        color: #4f5c71;
        margin-bottom: 15px;
    }

    .article-content ul,
    .article-content ol {
        margin: 10px 0 20px 22px;
        color: #4f5c71;
        font-size: 14px;
    }

    .article-content li {
        margin-bottom: 7px;
    }

/* =========================================
           HIGHLIGHT BOX
        ========================================= */

.highlight-box {
    margin: 22px 0;
    padding: 18px 20px;
    background: #f5f9ff;
    border: 1px solid #dceaff;
    border-left: 4px solid #2878e8;
    border-radius: 10px;
}

    .highlight-box strong {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
    }

    .highlight-box p {
        margin-bottom: 0;
        font-size: 13px;
    }

/* =========================================
           RATE EXAMPLE
        ========================================= */

.example-card {
    margin: 22px 0;
    border: 1px solid #e5eaf1;
    border-radius: 13px;
    overflow: hidden;
    background: #fff;
}

.example-header {
    padding: 13px 17px;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf2;
    font-size: 13px;
    font-weight: 600;
}

.example-body {
    padding: 18px;
}

.formula {
    padding: 15px;
    border-radius: 9px;
    background: #f7f9fc;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #23314c;
    margin: 12px 0;
}

/* =========================================
           TABLE
        ========================================= */

.article-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #e5eaf1;
    border-radius: 11px;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

    .article-table th,
    .article-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #edf0f4;
        text-align: left;
        font-size: 13px;
    }

    .article-table th {
        background: #f8fafc;
        font-size: 11px;
        color: #69758a;
    }

    .article-table tr:last-child td {
        border-bottom: 0;
    }

/* =========================================
           AUTHOR / REVIEW
        ========================================= */

.review-box {
    margin-top: 32px;
    padding: 17px;
    border: 1px solid #e4eaf2;
    border-radius: 13px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff;
}

.review-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2176e8;
    font-size: 18px;
}

.review-box strong {
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
}

.review-box span {
    display: block;
    font-size: 11px;
    color: #788397;
}

/* =========================================
           TOC SIDEBAR
        ========================================= */

.sidebar {
    position: sticky;
    top: 92px;
}

.toc {
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    padding: 19px;
    background: #fff;
}

    .toc h2 {
        margin-top: 0;
    }

    .toc a {
        display: block;
        font-size: 14px;
        color: #69758a;
        padding: 8px 0;
        border-bottom: 1px solid #f0f2f5;
    }

        .toc a:last-child {
            border-bottom: 0;
        }

        .toc a:hover {
            color: #176ee8;
        }

/* =========================================
           CONVERTER CARD
        ========================================= */

.sidebar-converter {
    margin-top: 17px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #dce9fa;
    background: linear-gradient(180deg, #f5faff, #fff);
    margin-bottom:15px;
}

    .sidebar-converter h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }

.mini-convert {
    border: 1px solid #e1e7ef;
    background: #fff;
    border-radius: 9px;
    padding: 11px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
}

    .mini-convert strong {
        font-size: 13px;
    }

.sidebar-button {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: #176ee8;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

/* =========================================
           RELATED ARTICLES
        ========================================= */

.related-section {
    margin-top: 38px;
    padding-top: 27px;
    border-top: 1px solid #edf0f4;
}

    .related-section h2 {
        font-size: 21px;
        margin-bottom: 16px;
    }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.related-card {
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.related-image {
    height: 110px;
    background: linear-gradient(135deg, #e6f0ff, #f7faff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.related-content {
    padding: 13px;
}

    .related-content h3 {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 6px;
    }

    .related-content p {
        font-size: 10px;
        color: #7b8597;
        line-height: 1.5;
    }

/* =========================================
           SOURCE
        ========================================= */

.source-box {
    margin-top: 32px;
    padding: 18px 20px;
    border: 1px solid #dce9fb;
    border-radius: 13px;
    background: #f7fbff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.source-item strong {
    display: block;
    font-size: 11px;
    margin-bottom: 3px;
}

.source-item span {
    color: #718096;
    font-size: 10px;
}

/* =========================================
           DISCLAIMER
        ========================================= */

.disclaimer {
    margin-top: 17px;
    padding: 17px 20px;
    background: #fff9e9;
    border: 1px solid #f3e2a8;
    border-radius: 12px;
}

    .disclaimer strong {
        display: block;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .disclaimer p {
        color: #776f59;
        font-size: 10px;
        margin: 0;
    }

/* =========================================
           RESPONSIVE
        ========================================= */

@media (max-width: 900px) {

    .nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .toc {
        margin-bottom: 18px;
    }

    .sidebar-converter {
        display: none;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .container {
        width: calc(100% - 24px);
    }

    .header,
    .header-inner {
        height: 62px;
    }

    .language {
        display: none;
    }

    .article h1 {
        font-size: 27px;
    }

    .article-intro {
        font-size: 14px;
    }

    .article-meta {
        gap: 10px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .article-content p {
        font-size: 14px;
    }

    .article-image img {
        aspect-ratio: 16 / 9;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .source-box {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .copyright {
        flex-direction: column;
        gap: 7px;
    }
}
.sidebar-converter h2 {
    font-size: 18px;
    margin-bottom: 18px;
}

.field-label {
    font-size: 12px;
    color: #68738a;
    margin-bottom: 6px;
}

.input-box {
    height: 52px;
    border: 1px solid #e0e6ef;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    margin-bottom: 13px;
}

    .input-box strong {
        font-size: 19px;
    }

.currency-select {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 13px;
}

.convert-btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 9px;
    background: #176ee8;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 7px;
}

.quick-link {
    text-align: center;
    color: #1672e8;
    font-size: 12px;
    font-weight: 600;
    margin-top: 15px;
}

label {
    font-size: 13px;
    font-weight: 800;
    color: #334155
}

.field {
    margin-top: 7px;
    border: 1px solid #dce5f1;
    border-radius: 14px;
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #fff
}

    .field input, .field select {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--text);
        font-weight: 800
    }

    .field input {
        font-size: 27px
    }

.form-grid {
    display: grid;
    gap: 14px;
    margin-top: 15px;
}

.currency-row {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 12px;
    align-items: end
}

.swap {
    height: 56px;
    border-radius: 16px;
    border: 1px solid #dce5f1;
    background: var(--soft);
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
    cursor: pointer
}

.btn {
    border: 0;
    border-radius: 14px;
    padding: 15px 18px;
    background: linear-gradient(135deg,var(--primary),var(--primary-2));
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(37,99,235,.22)
}

.result {
    margin-top: 16px;
    padding: 22px;
    background: linear-gradient(135deg,#f5f9ff,#eef5ff);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    text-align: center;
    display:none;
}
    .result.active {
        display:block;
    }
    .result small {
        display: block;
        color: var(--muted);
        font-weight: 800
    }

    .result strong {
        display: block;
        color: var(--primary);
        font-size: clamp(20px, 4vw, 28px);
        margin: 4px 0 8px;
    }