.crypto-offramp-currencies,
.crypto-offramp-currencies * {
    box-sizing: border-box;
}

.crypto-offramp-currencies {
    --offramp-currencies-glow: rgba(255, 185, 0, 0.08);
    position: relative;
    width: 100%;
    min-height: 900px;
    overflow: hidden;
    padding: 86px 24px 70px;
    background: #020202;
    color: #fff;
    font-family: inherit;
}

.crypto-offramp-currencies--glow::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: -280px;
    width: min(1050px, 90vw);
    height: 600px;
    pointer-events: none;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, var(--offramp-currencies-glow) 0%, transparent 68%);
    filter: blur(36px);
    opacity: .9;
}

.crypto-offramp-currencies__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1210px;
    margin: 0 auto;
}

.crypto-offramp-currencies__header {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.crypto-offramp-currencies__heading-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
}

.crypto-offramp-currencies__heading {
    flex: 0 0 auto;
    margin: 0;
    color: #f8c400;
    font-family: inherit;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.crypto-offramp-currencies__decoration {
    display: inline-flex;
    flex: 1 1 100px;
    max-width: 118px;
    min-width: 30px;
    align-items: center;
    justify-content: flex-end;
}

.crypto-offramp-currencies__decoration--reverse {
    justify-content: flex-start;
}

.crypto-offramp-currencies__line {
    display: block;
    width: 95px;
    height: 1px;
    background: #f5b900;
}

.crypto-offramp-currencies__dot {
    display: block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f5b900;
}

.crypto-offramp-currencies__description {
    margin: 22px 0 0;
    color: #f2f2f2;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.crypto-offramp-currencies__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 32px;
    width: 100%;
}

.crypto-offramp-currencies__card {
    --offramp-item-bg: transparent;
    --offramp-item-border: transparent;
    --offramp-item-name: inherit;
    --offramp-item-note: inherit;
    --offramp-item-code: inherit;
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 204px;
    overflow: hidden;
    padding: 28px 12px 24px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #323232;
    border-radius: 13px;
    background: linear-gradient(145deg, #111216 0%, #1c1c1c 100%);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.crypto-offramp-currencies__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 35%, rgba(255,185,0,.018));
}

.crypto-offramp-currencies__card > * {
    position: relative;
    z-index: 1;
}

.crypto-offramp-currencies__card--custom {
    border-color: var(--offramp-item-border);
    background: var(--offramp-item-bg);
}

.crypto-offramp-currencies--hover-lift .crypto-offramp-currencies__card:hover {
    transform: translateY(-7px);
}

.crypto-offramp-currencies__card:hover {
    border-color: #f5b900;
}

.crypto-offramp-currencies__flag {
    display: inline-flex;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: transparent;
}

.crypto-offramp-currencies__flag-image,
.crypto-offramp-currencies__flag-emoji,
.crypto-offramp-currencies__flag-icon {
    display: inline-flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.crypto-offramp-currencies__flag-image {
    object-fit: cover;
}

.crypto-offramp-currencies__flag-emoji {
    font-size: 50px;
    line-height: 1;
}

.crypto-offramp-currencies__flag-icon {
    color: #f5b900;
    font-size: 50px;
}

.crypto-offramp-currencies__flag-icon svg {
    display: block;
    width: 50px;
    height: 50px;
    fill: currentColor;
}

.crypto-offramp-currencies__country {
    width: 100%;
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.crypto-offramp-currencies__card--custom .crypto-offramp-currencies__country {
    color: var(--offramp-item-name);
}

.crypto-offramp-currencies__note {
    width: 100%;
    margin: 3px 0 0;
    color: #9c9c9c;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.crypto-offramp-currencies__card--custom .crypto-offramp-currencies__note {
    color: var(--offramp-item-note);
}

.crypto-offramp-currencies__code {
    width: 100%;
    margin-top: 8px;
    color: #f5b900;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.crypto-offramp-currencies__card--custom .crypto-offramp-currencies__code {
    color: var(--offramp-item-code);
}

@media (max-width: 1180px) {
    .crypto-offramp-currencies__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .crypto-offramp-currencies {
        min-height: 0;
        padding: 64px 18px;
    }

    .crypto-offramp-currencies__heading-row {
        gap: 14px;
    }

    .crypto-offramp-currencies__decoration {
        min-width: 20px;
    }

    .crypto-offramp-currencies__line {
        width: 55px;
    }

    .crypto-offramp-currencies__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        row-gap: 18px;
    }

    .crypto-offramp-currencies__card {
        min-height: 190px;
        padding: 24px 10px 21px;
    }
}

@media (max-width: 430px) {
    .crypto-offramp-currencies {
        padding-right: 12px;
        padding-left: 12px;
    }

    .crypto-offramp-currencies__heading {
        font-size: 29px;
    }

    .crypto-offramp-currencies__description {
        font-size: 15px;
    }

    .crypto-offramp-currencies__grid {
        gap: 12px;
    }
}
