
/*Google Font*/
/*
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i|Poppins:400,400i,700,700i&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
*/
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter:opsz,wght@14..32,400..800&display=swap');


:root * {
    /* 
    --bs-body-font-family: 'Open Sans', sans-serif !important ; 
    --bs-body-font-family: 'Poppins', sans-serif !important ; 
    --font-sans: "Manrope", system-ui, sans-serif;
    --font-data: "DM Mono", ui-monospace, monospace;
    --font-sans: "Manrope", system-ui, sans-serif;
    --font-data: "DM Mono", ui-monospace, monospace;

    --bs-body-font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-data: "DM Mono", ui-monospace, monospace;
    */ 
    --bs-body-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;

    --font-sans: "Inter", system-ui, sans-serif;
    --font-data: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

body * {
    /* 
    font-family: 'Open Sans', sans-serif !important ; 
    font-family: 'Poppins', sans-serif !important ; 
    font-family: var(--font-sans);
    font-weight: 500; 
    */
    font-family: var(--font-sans);
    font-weight: 500; 
}

#mainMenu  {
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%;
}

#mainMenu {
    border-bottom: 2px solid #eee;
}

#mainMenu  li a {
    font-weight: bold; 
    font-size: 14px;
    line-height: 14px;
}

#mainMenu  li a.active {
    color: #F14707; 
    border-bottom: 2px solid #F14707;
}

#category-items h2 {
    font-size: 18px;
}



#userMenu li a {
    font-size: 14px;
    line-height: 14px;
    border: 1px solid #F14707;
    border-radius: 5px;
    margin-left: 5px;
    background-color: #F14707; 
    color: #FFF; 
    padding: 8px;
}



#ratesBlock i.bi {
    font-size: 20px;
    line-height: 20px;
    margin-right: 5px; 
}

#ratesBlock a {
    color: #fff;
}

.rates-dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 10px;
}

.rate-card {
    flex: 1 1 220px;
    min-height: unset;
    padding: 1rem 1.1rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    color: #1f2937;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.rate-card:hover {
    color: #1f2937;
    border-color: var(--rate-accent);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

.rate-card:focus-visible {
    outline: 3px solid var(--rate-accent);
    outline-offset: 3px;
}

.rate-card-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.rate-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 8px;
    font-size: 1rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: var(--rate-accent);
}

.rate-title {
    flex-grow: 1;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}

.rate-arrow {
    color: #9ca3af;
    font-size: 0.8rem;
}

.rate-value {
    margin-top: 0.5rem;    /* was 0.85rem */
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);

    color: #111827;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.rate-prefix {
    margin-right: 0.08rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
}

/* HOME PAGE */
#frontpageSlideshow .slide-link {
    position: relative;
    display: block;
}


#frontpageSlideshow .slide-link::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    /* Solid white on the left, fading out around the middle */
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.98) 10%,
        rgba(255, 255, 255, 0.90) 35%,
        rgba(255, 255, 255, 0.45) 55%,
        rgba(255, 255, 255, 0) 70%
    );
}

#frontpageSlideshow .carousel-indicators button {
    background-color: #FFF;
    border: 1px solid #000;
    border-radius: 2px;
    opacity: 1;
}

#frontpageSlideshow .carousel-indicators button.active {
    background-color: #F14707;
}

#frontpageSlideshow .slide-copy {
    position: absolute;
    z-index: 1;
    /* 
    top: 50%; 
    left: 7%;
    transform: translateY(-50%);
    */
    top: 10px; 
    left: 10px;
    width: 35%;
    color: #000;
    text-align: left;
}

#frontpageSlideshow .slide-copy h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 3.5rem);
}

#frontpageSlideshow .carousel-item h2 {
    font-size: 35px;
    line-height: 38px;
    font-weight: bold; 
}

#frontpageSlideshow .carousel-item p {
    font-size: 14px;
    margin-top: 10px;
    
}

#frontpageSlideshow .carousel-item ,
#frontpageSlideshow .carousel-item img 
{
    border-radius: 10px;
    border: 1px solid #eee;
}

.currency-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.currency-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #edf0f3;
}

.currency-card__header h2 {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.currency-card__view-all {
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
}

.currency-table {
    font-size: 0.75rem;
    line-height: 1.15;
    --bs-table-hover-bg: #f8fafc;
}

.currency-table thead th {
    padding: 0.45rem 0.85rem;
    border-bottom: 1px solid #edf0f3;
    background: #f8fafc;
    color: #7a8493;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.currency-table tbody td {
    padding: 0.45rem 0.85rem;
    border-color: #edf0f3;
    white-space: nowrap;
}

.rate-change {
    display: inline-block;
    min-width: 52px;
    padding: 0.2rem 0.4rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
}

.rate-change--up {
    color: #087443;
    background: #e8f7ef;
}

.rate-change--down {
    color: #b42318;
    background: #fef0ef;
}

.currency-card__footer {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.85rem;
    border-top: 1px solid #edf0f3;
    color: #8a94a6;
    font-size: 0.62rem;
}

.currency-card__footer img {
    display: block;
    max-height: 12px;
    width: auto;
    opacity: 0.8;
}

.currency-sort {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
}

.currency-sort::after {
    content: "↕";
    margin-left: 0.25rem;
    opacity: 0.45;
}

.currency-sort:hover {
    opacity: 0.75;
}

#latest-news-articles-front {
    margin-top: 5px;
}

#latest-news-articles-front h2 {
    font-size: 15px;
    font-weight: bold; 
}

#latest-news-articles-front img {
    border-radius: 10px;
    margin: 0 auto;
    max-width: 95%;
}

.latest-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.latest-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.latest-news-card__image-link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f3f5;
}

.latest-news-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.25s ease;
}

.latest-news-card:hover .latest-news-card__image {
    transform: scale(1.03);
}

.latest-news-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0px 5px 5px 5px ;
}

.latest-news-card__content .category a {
    color: #F14707; 
    font-size: 12px;
    font-weight: bold; 
    margin-bottom: 5px;
    display: inline-block; 
}

.latest-news-card__title {
    margin: 0;
    font-size: 15px;
    line-height: 17px;
}

.latest-news-card__title a {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    line-height: 17px;
    font-weight: bold;
}

.latest-news-card__title a:hover {
    text-decoration: underline;
}

.latest-news-card__meta {
    margin-top: auto;
    padding-top: 0.75rem;
    color: #6c757d;
    font-size: 12px;
}

.latest-news-card__meta-separator {
    margin: 0 0.35rem;
}


/* Dark mode: add class="dark" to <body> */
body.dark {
    --bs-body-bg: #121212;
    --bs-body-color: #e5e7eb;
    --bs-border-color: #30343b;
    --bs-table-bg: #1b1d21;
    --bs-table-color: #e5e7eb;
    --bs-table-border-color: #30343b;
    --bs-table-hover-bg: #25282e;

    background: #121212;
    color: #e5e7eb;
}

body.dark #mainMenu {
    border-color: #30343b;
}

body.dark .rate-card,
body.dark .currency-card,
body.dark .latest-news-card {
    background: #1b1d21;
    border-color: #30343b;
    color: #e5e7eb;
}

body.dark .rate-card:hover {
    color: #fff;
}

body.dark .rate-title,
body.dark .rate-prefix,
body.dark .rate-arrow,
body.dark .latest-news-card__meta,
body.dark .currency-card__footer {
    color: #aab1bc;
}

body.dark .rate-value {
    color: #fff;
}

body.dark .currency-card__header,
body.dark .currency-card__footer,
body.dark .currency-table thead th,
body.dark .currency-table tbody td {
    border-color: #30343b;
}

body.dark .currency-table thead th,
body.dark .latest-news-card__image-link {
    background: #25282e;
    color: #aab1bc;
}

/* Slideshow has a hardcoded white overlay and black text */
body.dark #frontpageSlideshow .slide-link::after {
    background: linear-gradient(
        to right,
        rgba(18, 18, 18, 0.98) 10%,
        rgba(18, 18, 18, 0.90) 35%,
        rgba(18, 18, 18, 0.45) 55%,
        rgba(18, 18, 18, 0) 70%
    );
}

body.dark #frontpageSlideshow .slide-copy {
    color: #fff;
}

body.dark #frontpageSlideshow .carousel-item,
body.dark #frontpageSlideshow .carousel-item img {
    border-color: #30343b;
}

/* END OF DARK MODE */


.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.article-meta__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.article-meta__avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex: 0 0 48px;
}

.article-meta__byline {
    display: flex;
    gap: 0.35rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.article-meta__byline a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.article-meta__byline a:hover {
    text-decoration: underline;
}

.article-meta__details {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.article-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
}

.article-meta__share {
    margin-left: auto;
}

@media (max-width: 575.98px) {
    .article-meta {
        gap: 0.85rem;
    }

    .article-meta__details {
        order: 3;
        width: 100%;
        padding: 0;
        border-left: 0;
    }

    .article-meta__share {
        margin-left: 0;
    }
}

#article-outer h1 {
    margin-top: 5px;
}

#article-inner {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
}

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.key-facts-table td {
    border-color: rgba(0, 0, 0, 0.06);
}

.key-facts-table tr:last-child td {
    border-bottom: 0;
}

.icon-cell {
    width: 70px;
}

@media (max-width: 576px) {
    .key-facts-table td:nth-child(2) {
        font-size: 0.85rem;
    }

    .key-facts-table td:nth-child(3) {
        font-size: 0.9rem;
        max-width: 180px;
        white-space: normal;
    }
}

.key-facts-table {
    font-size: 0.875rem;
}

.key-facts-table td {
    border-color: rgba(0, 0, 0, 0.06);
    line-height: 1.2;
}

.key-facts-table tr:last-child td {
    border-bottom: 0;
}

.icon-cell {
    width: 34px;
    font-size: 0.9rem;
}


#market-graph-container {
    margin-bottom: 20px;
}



 #market-top {
    margin-bottom: 1.5rem;
}

.market-hero-card {
    position: relative;
    overflow: hidden;
    padding: 1.75rem;
    border: 1px solid #e7e9ee;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 117, 68, 0.10), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: 0 10px 30px rgba(24, 39, 75, 0.07);
}

.market-flag-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 7px;
    border: 1px solid #e4e7ec;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(24, 39, 75, 0.10);
}

.market-flag {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.market-pair-title ,
.market-pair-title a {
    color: #18212f;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.market-pair-subtitle {
    color: #697386;
    font-size: 0.98rem;
    font-weight: 500;
}

.market-open-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid #d7f0e0;
    border-radius: 999px;
    background: #f0fbf4;
    color: #237947;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.market-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35a864;
    box-shadow: 0 0 0 3px rgba(53, 168, 100, 0.14);
}

.market-price {
    color: #141b27;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
}

.market-price span {
    margin-left: 0.25rem;
    color: #7b8492;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
}

.market-updated {
    color: #8a919d;
    font-size: 0.8rem;
    font-weight: 500;
}

.market-actions {
    align-self: flex-start;
}

.market-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    background: #fff;
    color: #3c4655;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.18s ease;
}

.market-share-btn:hover,
.market-share-btn:focus {
    border-color: #ff7544;
    background: #fff7f3;
    color: #d95728;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .market-hero-card {
        padding: 1.2rem;
        border-radius: 14px;
    }

    .market-flag-wrap {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .market-actions {
        width: 100%;
    }

    .market-share-btn {
        width: 100%;
        justify-content: center;
    }
}

.main-markets-page .markets-grid {
--bs-gutter-x: 0.75rem;
--bs-gutter-y: 0.75rem;
}

.main-markets-page .market-card {
display: flex;
align-items: center;
gap: 0.7rem;
min-height: 64px;
padding: 0.55rem 0.65rem;
color: inherit;
text-decoration: none;
background: var(--bs-body-bg);
border: 1px solid var(--bs-border-color);
border-radius: 0.45rem;
content-visibility: auto;
contain-intrinsic-size: 64px;
}

.main-markets-page .market-card:hover,
.main-markets-page .market-card:focus-visible {
color: inherit;
background: var(--bs-tertiary-bg);
border-color: var(--bs-secondary-color);
}

.main-markets-page .market-flag-wrap {
display: flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
width: 38px;
height: 28px;
}

.main-markets-page .market-flag {
display: block;
max-width: 38px;
max-height: 28px;
object-fit: contain;
}

.main-markets-page .market-card-content {
display: flex;
flex: 1 1 auto;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
min-width: 0;
}

.main-markets-page .market-card-header {
display: flex;
flex-direction: column;
min-width: 0;
}

.main-markets-page .market-pair-title {
overflow: hidden;
font-size: 0.9rem;
font-weight: 700;
line-height: 1.1;
text-overflow: ellipsis;
white-space: nowrap;
}

.main-markets-page .market-pair-subtitle {
overflow: hidden;
margin-top: 0.12rem;
color: var(--bs-secondary-color);
font-size: 0.72rem;
line-height: 1.1;
text-overflow: ellipsis;
white-space: nowrap;
}

.main-markets-page .market-price {
flex: 0 0 auto;
font-size: 0.85rem;
font-weight: 600;
line-height: 1;
white-space: nowrap;
}

.main-markets-page .market-price small {
color: var(--bs-secondary-color);
font-size: 0.68rem;
font-weight: 500;
}









.market-directory-controls .input-group-text {
        background: #fff;
        border-right: 0;
        color: #7b8492;
    }

    .market-directory-controls .form-control {
        border-left: 0;
    }

    .market-directory-controls .form-control:focus {
        border-color: #86b7fe;
        box-shadow: none;
    }

    .market-directory-controls .input-group:focus-within {
        border-radius: 0.375rem;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    }

    .market-directory-controls .input-group:focus-within .input-group-text,
    .market-directory-controls .input-group:focus-within .form-control {
        border-color: #86b7fe;
    }

    .market-no-results {
        border: 1px dashed #d9dde3;
        border-radius: 14px;
        background: #fbfcfd;
    }

    .market-no-results__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        margin-bottom: 0.85rem;
        border-radius: 50%;
        background: #fff1eb;
        color: #e86031;
        font-size: 1.2rem;
    }

    .market-no-results h3 {
        margin-bottom: 0.35rem;
        color: #202938;
        font-size: 1.1rem;
        font-weight: 750;
    }

    .market-no-results p {
        margin: 0;
        color: #788291;
        font-size: 0.92rem;
    }







    .footer-explore h5 {
  margin: 0 0 1rem;
  color: #f8f9fa;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease, padding-left 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  padding-left: 0.35rem;
  text-decoration: none;
}

.footer-links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
  border-radius: 2px;
}

.category-toolbar {
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
}

.item-count {
    color: #6c757d;
    font-size: .95rem;
}

.item-count strong {
    color: #212529;
}

.item-sort label {
    color: #495057;
    font-weight: 600;
    white-space: nowrap;
}

.article-card {
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .10) !important;
}

.article-card .post-img {
    height: 190px;
    overflow: hidden;
    background: #f1f3f5;
}

.article-card .post-img img {
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.article-card:hover .post-img img {
    transform: scale(1.04);
}

.article-title {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: .75rem;
}

.article-title a {
    text-decoration: none;
}

.article-excerpt {
    color: #6c757d;
    font-size: .92rem;
    line-height: 1.6;
}





.article-categories {
  margin: 5px 0;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fafafa;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

.view-all {
  font-size: 0.9rem;
  white-space: nowrap;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.category-card {
  display: block;
  height: 100%;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-2px);
  border-color: #9ca3af;
  box-shadow: 0 8px 18px rgb(0 0 0 / 0.08);
}

.category-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.category-description {
  display: block;
  margin-top: 0.35rem;
  color: #6b7280;
  font-size: 0.82rem;
  line-height: 1.35;
}























.namhost-card {
    --orange: #ff5a1f;
    --orange-dark: #e94a12;

    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff;

    background-image:
        linear-gradient(
            90deg,
            rgba(4, 13, 24, 0.98) 0%,
            rgba(4, 13, 24, 0.94) 38%,
            rgba(4, 13, 24, 0.55) 61%,
            rgba(4, 13, 24, 0.10) 100%
        ),
        url("/site/vault_bg.png");

    background-size: cover;
    background-position: center right;

    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.namhost-card:hover {
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.32);
}

.namhost-card:focus-visible {
    outline: 3px solid #ff8b62;
    outline-offset: 4px;
}

.namhost-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 18px 20px 22px;
}

.namhost-card__logo {
    width: 132px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.namhost-card__title {
    margin: 0;
    max-width: 300px;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 750;
    color: #ffffff;
}

.namhost-card__title span {
    display: block;
}

.namhost-card__intro {
    margin: 12px 0 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.48;
}

.namhost-card__features {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    margin-bottom: 18px;
}

.namhost-card__feature {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.67rem;
    line-height: 1.25;
}

.namhost-card__feature strong {
    display: block;
    color: #ffffff;
    font-size: 0.69rem;
    font-weight: 700;
}

.namhost-card__icon {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #ffb095;
}

.namhost-card__icon svg {
    width: 22px;
    height: 22px;
}

.namhost-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 7px 16px rgba(255, 90, 31, 0.26);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 160ms ease, filter 160ms ease;
}

.namhost-card:hover .namhost-card__cta {
    filter: brightness(1.06);
    transform: translateX(2px);
}

.namhost-card__cta > span {
    font-size: 1.1rem;
    line-height: 0.8;
}

.namhost-card__visual {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 17, 29, 0.1) 0%, rgba(7, 17, 29, 0.3) 24%, rgba(7, 17, 29, 0) 65%),
        repeating-linear-gradient(
            90deg,
            rgba(93, 166, 220, 0.08) 0,
            rgba(93, 166, 220, 0.08) 1px,
            transparent 1px,
            transparent 20px
        );
}

.namhost-card__visual::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.8;
    background:
        radial-gradient(circle at 50% 47%, rgba(79, 180, 255, 0.3), transparent 34%),
        linear-gradient(115deg, transparent 0 42%, rgba(73, 159, 219, 0.12) 42% 44%, transparent 44% 100%);
}

.namhost-card__visual::after {
    position: absolute;
    top: -20%;
    right: -30%;
    width: 130%;
    height: 150%;
    content: "";
    border: 1px solid rgba(123, 203, 255, 0.15);
    border-radius: 50%;
    box-shadow:
        -25px 0 0 rgba(123, 203, 255, 0.07),
        -55px 0 0 rgba(123, 203, 255, 0.04);
    transform: rotate(-24deg);
}

.namhost-card__vault {
    position: absolute;
    top: 50%;
    left: 56%;
    z-index: 1;
    width: min(170px, 72%);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 12px solid #17293c;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.28), transparent 11%),
        radial-gradient(circle at 52% 52%, #273e55 0%, #132a40 54%, #091725 100%);
    box-shadow:
        0 0 0 2px rgba(153, 216, 255, 0.18),
        0 0 36px rgba(47, 154, 235, 0.22),
        inset 0 0 28px rgba(0, 0, 0, 0.7);
}

.namhost-card__vault-ring {
    position: absolute;
    inset: 14%;
    border: 5px solid rgba(185, 225, 255, 0.58);
    border-radius: 50%;
    box-shadow:
        0 0 0 8px rgba(8, 17, 28, 0.55),
        inset 0 0 18px rgba(0, 0, 0, 0.7);
}

.namhost-card__vault-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 4px solid #b8e7ff;
    border-radius: 50%;
    background: radial-gradient(circle, #0a1929 0 31%, #183a55 33% 100%);
    box-shadow:
        0 0 16px rgba(76, 183, 255, 0.46),
        inset 0 0 12px rgba(0, 0, 0, 0.68);
}

.namhost-card__vault-core::before,
.namhost-card__vault-core::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 118%;
    height: 5px;
    content: "";
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, #d7f4ff 16%, #8abfd8 50%, #d7f4ff 84%, transparent);
    box-shadow: 0 0 10px rgba(133, 214, 255, 0.5);
    transform: translate(-50%, -50%);
}

.namhost-card__vault-core::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.namhost-card__vault-core span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dff7ff;
    box-shadow: 0 0 9px rgba(179, 236, 255, 0.9);
}

.namhost-card__vault-core span:nth-child(1) {
    transform: translate(-50%, calc(-50% - 43px));
}

.namhost-card__vault-core span:nth-child(2) {
    transform: translate(calc(-50% + 43px), -50%);
}

.namhost-card__vault-core span:nth-child(3) {
    transform: translate(-50%, calc(-50% + 43px));
}

.namhost-card__vault-core span:nth-child(4) {
    transform: translate(calc(-50% - 43px), -50%);
}

@media (max-width: 700px) {
    .namhost-card {
        grid-template-columns: 1fr 145px;
        min-height: 245px;
    }

    .namhost-card__content {
        padding: 20px 14px 17px 18px;
    }

    .namhost-card__logo {
        width: 112px;
        margin-bottom: 16px;
    }

    .namhost-card__title {
        font-size: 1.35rem;
    }

    .namhost-card__features {
        gap: 8px;
    }

    .namhost-card__feature {
        font-size: 0.58rem;
    }

    .namhost-card__feature strong {
        font-size: 0.6rem;
    }

    .namhost-card__vault {
        width: 135px;
    }
}

@media (max-width: 440px) {
    .namhost-card {
        grid-template-columns: 1fr;
    }

    .namhost-card__visual {
        display: none;
    }

    .namhost-card__content {
        min-height: 250px;
    }
}