﻿.crumbs {
    padding-top: 24px;
    color: var(--muted);
    font-size: 13px
}

.hero {
    padding: 12px 0 20px
}

.hero-head {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 26px;
    align-items: center;
    margin-bottom: 18px
}

    .hero-head h1 {
        margin: 0 0 8px;
        font-size: clamp(20px, 5vw, 28px);
        line-height: 1.05;
        text-transform: uppercase;
    }

    .hero-head p {
        margin: 0;
        color: var(--muted);
        max-width: 760px
    }

.hero-art {
    min-height: 170px;
    position: relative;
    display: grid;
    place-items: center
}

.globe {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%,#dbeafe,#60a5fa 58%,#2563eb);
    box-shadow: 0 28px 60px rgba(37,99,235,.22)
}

.coin {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    font-size: 22px
}

    .coin.a {
        left: 12%;
        top: 26%;
        background: #3b82f6
    }

    .coin.b {
        right: 14%;
        top: 12%;
        background: #22c55e
    }

    .coin.c {
        right: 7%;
        bottom: 18%;
        background: #8b5cf6
    }

.finder {
    padding: 24px;

}

.finder-grid {
    display: grid;
    grid-template-columns: 1fr 70px 1fr 210px;
    gap: 12px;
    align-items: end
}

label {
    font-size: 13px;
    font-weight: 800;
    color: #334155
}

.field {
    margin-top: 7px;
    min-height: 58px;
    border: 1px solid #dce5f1;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #fff
}

    .field select {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        font-weight: 800;
        color: var(--text)
    }

.swap {
    height: 58px;
    border: 1px solid #dce5f1;
    border-radius: 16px;
    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)
}
#Popular_HistoricalRates .flag {
    font-size: 25px;
    margin-right: 10px;
}

#Popular_HistoricalRates .flag img {
    width: 30px;
    border-radius: 50px;
    border: 1px solid var(--line);
}
#Popular_Currency .flag {
    font-size: 25px;
}

    #Popular_Currency .flag img {
        width: 30px;
        border-radius: 50px;
        border: 1px solid var(--line);
        vertical-align:sub;
    }
.suggestions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px
}

.suggestion {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary)
}

.grid-main {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 20px
}

.panel {
    padding: 22px
}

table {
    width: 100%;
    border-collapse: collapse
}

th, td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 13px
}

th {
    font-size: 12px;
    color: var(--muted)
}
table tbody tr td:first-child {
    display: flex;
}
table tbody tr td span small{
    color: #706868;
}
table tbody tr td:last-child a.link {
    font-size: 28px;
}
.up {
    color: var(--green);
    font-weight: 800
}

.down {
    color: var(--red);
    font-weight: 800
}

.spark {
    height: 26px;
    display: flex;
    align-items: flex-end;
    gap: 3px
}

    .spark i {
        width: 4px;
        border-radius: 3px;
        background: #60a5fa
    }

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px
}

.tab {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-weight: 800;
    cursor: pointer
}

    .tab.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary)
    }

.market-list {
    display: grid;
    gap: 12px
}

.market-item {
    display: grid;
    grid-template-columns: 1fr 90px 80px;
    gap: 10px;
    align-items: center
}

    .market-item b {
        font-size: 13px
    }

.ad {
    min-height: 110px;
    border-radius: 20px;
    background: linear-gradient(135deg,#0b1f5e,#2563eb 55%,#4f46e5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px
}

    .ad b {
        font-size: 23px
    }

    .ad button {
        border: 0;
        border-radius: 12px;
        padding: 11px 18px;
        font-weight: 900
    }

.currency-layout {
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    gap: 18px
}

.currency-menu {
   
}

    .currency-menu a {
        display: flex;
        gap: 10px;
        padding: 0px;
        border-radius: 10px;
        font-size: 13px;
    }
    .currency-menu a span:last-child{
        padding-top:5px;
    }
        .currency-menu a span:last-child b, .currency-menu a span:last-child small {
            vertical-align: sub;
        }

        .currency-menu a.active, .currency-menu a:hover {
            color: var(--primary);
            font-weight: 900
        }

.entity-card {
    padding: 18px;
    background: linear-gradient(145deg,#f8fbff,#edf5ff)
}

    .entity-card h3 {
        margin: 0 0 8px
    }

    .entity-card p {
        font-size: 13px;
        color: var(--muted)
    }

.alpha {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

    .alpha span {
        font-size: 12px;
        color: var(--primary);
        font-weight: 900
    }

.info-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px
}

.info-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff
}

    .info-card h3 {
        font-size: 14px;
        margin: 0 0 8px
    }

    .info-card p {
        font-size: 12px;
        color: var(--muted);
        margin: 0
    }

.compare {
    padding: 20px;
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 16px;
    text-align: center
}

    .compare strong {
        display: block;
        font-size: 22px;
        margin: 6px 0;
        color: var(--primary)
    }

.learn-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px
}

.learn {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    min-height: 145px
}

    .learn .ico {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        background: #f2f5ff;
        color: #7c3aed;
        display: grid;
        place-items: center
    }

    .learn h3 {
        font-size: 14px;
        margin: 10px 0 5px
    }

    .learn p {
        font-size: 12px;
        color: var(--muted);
        margin: 0
    }

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px
}

.trust {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #475569
}

.disclaimer {
    padding: 20px 22px;
    border: 1px solid #fde68a;
    background: var(--warn);
    border-radius: 16px;
    color: #854d0e
}
@media(max-width:1040px) {
    .nav-links {
        display: none
    }

    .hero-head, .grid-main, .currency-layout {
        grid-template-columns: 1fr
    }

    .finder-grid {
        grid-template-columns: 1fr 56px 1fr
    }

        .finder-grid .btn {
            grid-column: 1/-1
        }

    .learn-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .info-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:700px) {
    .container {
        width: min(100% - 20px,var(--max))
    }

    .hero-head {
        grid-template-columns: 1fr
    }

    .hero-art {
        display: none
    }

    .finder {
        padding: 18px
    }

    .finder-grid {
        grid-template-columns: 1fr
    }

    .swap {
        width: 100%
    }

    .grid-main {
        grid-template-columns: 1fr
    }

    .market-item {
        grid-template-columns: 1fr 80px 70px
    }

    .learn-grid, .info-grid, .trust-strip {
        grid-template-columns: 1fr 1fr
    }

    .ad {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 20px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }
}
#Base_HistoricalRates .flag img {
    width: 30px;
    border-radius: 50px;
    border: 1px solid var(--line);
    vertical-align: sub;
}
#Base_HistoricalRates table tbody tr td:first-child {
    display:block;
}
    #Base_HistoricalRates table tbody tr td:first-child span:last-child {
        vertical-align: super;
    }
#Popular_Currency ul {
    padding:0;
    margin:0;
}
    #Popular_Currency ul li {
        list-style: none;
        width: 100%;
        padding: 5px 5px 5px 15px;
        cursor:pointer;
    }
        #Popular_Currency ul li b {
            font-size:14px;
        }
        #Popular_Currency ul li small {
            font-size: 12px;
        }
        #Popular_Currency ul li.active {
            background: linear-gradient(145deg, #f8fbff, #edf5ff);
        }
        #Popular_Currency ul li:hover {
            background: linear-gradient(145deg, #f8fbff, #edf5ff);
        }
        #Popular_Currency ul li:first-child.active {
            border-top-left-radius: 22px;
            border-top-right-radius: 22px;
        }
        #Popular_Currency ul li:last-child.active {
            border-bottom-left-radius: 22px;
            border-bottom-right-radius: 22px;
        }
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px
}

.article {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff
}

.thumb {
    height: 150px;
    padding: 18px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg,#0f172a,#2563eb)
}

.article:nth-child(2) .thumb {
    background: linear-gradient(135deg,#1e293b,#64748b)
}

.article:nth-child(3) .thumb {
    background: linear-gradient(135deg,#301934,#8b5cf6)
}

.article:nth-child(4) .thumb {
    background: linear-gradient(135deg,#334155,#0f766e)
}

.article-body {
    padding: 16px
}

.article h3 {
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 8px
}

.article p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}
