/*
Theme Name: Crypto
Theme URI: https://wordpress.org
Author: Orkhan Chichitov
Author URI: https://wordpress.org
Description: A simple and clean WordPress theme for cryptocurrency-related websites. It features a modern design, responsive layout, and customizable options to create a unique online presence for your crypto business or blog.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --c-header-bg:     #1428a0;
    --c-header-text:   #ffffff;
    --c-footer-bg:     #000000;
    --c-footer-text:   #ffffff;
    --c-body-bg:       #ffffff;
    --c-body-text:     #111827;
    --c-accent:        #1428a0;
    --c-accent-hover:  #0e1c7a;
    --c-accent-text:   #ffffff;
    --c-muted:         #64748b;
    --c-border:        #e2e8f0;
    --c-card-bg:       #f8fafc;
    --c-card-bg-alt:   #eef2ff;
    --c-shadow:        0 4px 24px rgba(20, 40, 160, 0.10);
    --c-shadow-hover:  0 10px 40px rgba(20, 40, 160, 0.20);
    --radius:          12px;
    --radius-sm:       8px;
    --crypto-section-y: 80px;
    --container-max:   1200px;
    --transition:      0.3s ease;
    --font-sans:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--c-body-text);
    background: var(--c-body-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-accent); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--c-body-text);
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--c-muted);
    margin-bottom: 2rem;
    max-width: 640px;
}
.text-accent { color: var(--c-accent); }
.text-white  { color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn--primary {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(20,40,160,0.25);
}
.btn--primary:hover {
    background: var(--c-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20,40,160,0.35);
    color: #fff;
}
.btn--outline {
    border: 2px solid var(--c-accent);
    color: var(--c-accent);
    background: transparent;
}
.btn--outline:hover {
    background: var(--c-accent);
    color: #fff;
    transform: translateY(-2px);
}
.btn--white {
    background: #fff;
    color: var(--c-accent);
    font-weight: 700;
}
.btn--white:hover {
    background: #e8edff;
    transform: translateY(-2px);
    color: var(--c-accent);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--c-header-bg);
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.site-header__logo {
    flex-shrink: 0;
    color: #fff;
    display: flex;
    align-items: center;
}
.site-header__logo img { height: 42px; width: auto; }
.site-header__logo-text {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}
.site-header__logo-text strong { color: #7dd3fc; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-nav { flex: 1; display: flex; justify-content: flex-end; }
.site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav__item { position: relative; }
.site-nav__link, .site-nav__sub-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.site-nav__link:hover,
.site-nav__item--active > .site-nav__link {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.site-nav__arrow {
    font-size: 0.65rem;
    opacity: 0.7;
    transition: transform var(--transition);
    display: inline-block;
}
.site-nav__item--has-dropdown:hover .site-nav__arrow,
.site-nav__item--has-dropdown.open .site-nav__arrow { transform: rotate(180deg); }

/* Dropdown */
.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--c-shadow-hover);
    border: 1px solid var(--c-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 999;
    padding: 8px 0;
}
.site-nav__item--has-dropdown:hover .site-nav__dropdown,
.site-nav__item--has-dropdown.open .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.site-nav__sub-link {
    color: var(--c-body-text);
    padding: 9px 20px;
    font-size: 0.875rem;
    border-radius: 0;
}
.site-nav__sub-link:hover { background: var(--c-card-bg-alt); color: var(--c-accent); }

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: background var(--transition);
}
.burger:hover { background: rgba(255,255,255,0.12); }
.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transform-origin: center;
    transition: transform var(--transition), opacity var(--transition);
}
.burger.open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open .burger__line:nth-child(2) { opacity: 0; }
.burger.open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Site Main
   ========================================================================== */
.site-main { min-height: 60vh; }

/* ==========================================================================
   Hero — homepage
   ========================================================================== */
.hero {
    position: relative;
    background: var(--c-accent);
    color: #fff;
    overflow: hidden;
    padding: 72px 0 80px;
}
.hero__bg-img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    transition: transform 0.8s ease;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero:hover .hero__bg-img { transform: scale(1.04); }
.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}
.hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero__text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    max-width: 680px;
    line-height: 1.7;
    margin: 0 auto;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__widget { width: 100%; max-width: 560px; }

/* Hero — inner pages (split layout) */
.hero--inner { padding: 56px 0 64px; }
.hero--inner .hero__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}
.hero--inner .hero__text-col { display: flex; flex-direction: column; gap: 16px; }
.hero--inner .hero__title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.hero--inner .hero__text { font-size: 1rem; margin: 0; }
.hero--inner .hero__widget-col { width: 100%; }

/* ==========================================================================
   Section base
   ========================================================================== */
.section { padding: var(--crypto-section-y) 0; }
.section--sm { padding: 48px 0; }
.section--accent {
    background: var(--c-accent);
    color: #fff;
}
.section--accent .section-title { color: #fff; }
.section--accent .section-subtitle { color: rgba(255,255,255,0.75); }
.section--gray { background: var(--c-card-bg); }
.section__header { margin-bottom: 48px; }
.section__header--centered { text-align: center; }
.section__header--centered .section-subtitle { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Feature / Advantage cards
   ========================================================================== */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--c-shadow-hover);
    border-color: var(--c-accent);
}
.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--c-card-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: background var(--transition);
}
.feature-card:hover .feature-card__icon { background: var(--c-accent); }
.feature-card__title { font-size: 1.05rem; font-weight: 700; color: var(--c-body-text); }
.feature-card__text { font-size: 0.9rem; color: var(--c-muted); line-height: 1.6; }

/* Accent section feature cards */
.section--accent .feature-card {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
}
.section--accent .feature-card__title { color: #fff; }
.section--accent .feature-card__text { color: rgba(255,255,255,0.75); }
.section--accent .feature-card__icon { background: rgba(255,255,255,0.15); }
.section--accent .feature-card:hover { border-color: rgba(255,255,255,0.4); }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    counter-reset: step-counter;
}
.step-card {
    background: var(--c-card-bg);
    border-radius: var(--radius);
    padding: 28px 20px;
    border: 1px solid var(--c-border);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--c-shadow); }
.step-card__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-accent);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.step-card__title { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.step-card__text { font-size: 0.875rem; color: var(--c-muted); line-height: 1.55; }

/* ==========================================================================
   Pairs grid
   ========================================================================== */
.pairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.pairs-grid__link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-body-text);
    text-align: center;
    transition: background var(--transition), border-color var(--transition), transform var(--transition), color var(--transition);
}
.pairs-grid__link:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--c-shadow);
}

/* ==========================================================================
   Checklist
   ========================================================================== */
.checklist { background: var(--c-card-bg); border-radius: var(--radius); padding: 28px 32px; border: 1px solid var(--c-border); }
.checklist__list { display: flex; flex-direction: column; gap: 10px; }
.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.55;
}
.checklist__item::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}

/* ==========================================================================
   Reviews / Testimonials
   ========================================================================== */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.review-card {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--c-shadow); }
.review-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 4rem;
    color: var(--c-accent);
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
}
.review-card__text { font-size: 0.9rem; color: var(--c-muted); font-style: italic; line-height: 1.65; }
.review-card__stars { color: #f59e0b; font-size: 0.85rem; margin-top: 12px; }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq__list { display: flex; flex-direction: column; gap: 8px; max-width: 860px; }
.faq__list--wide { max-width: 100%; }
.faq__item {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item:hover { border-color: var(--c-accent); }
.faq__item--open { border-color: var(--c-accent); box-shadow: 0 2px 12px rgba(20,40,160,0.10); }
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--c-body-text);
    line-height: 1.4;
    user-select: none;
    list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--c-card-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--c-accent);
    transition: transform var(--transition), background var(--transition);
    line-height: 1;
}
.faq__item--open .faq__icon {
    transform: rotate(45deg);
    background: var(--c-accent);
    color: #fff;
}
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease, padding var(--transition);
    padding: 0 24px;
    font-size: 0.9rem;
    color: var(--c-muted);
    line-height: 1.7;
}
.faq__item--open .faq__answer { max-height: 1200px; padding: 0 24px 18px; }
.faq__answer p { margin-bottom: 0.65em; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer a { color: var(--c-accent); text-decoration: underline; }

/* ==========================================================================
   CTA block
   ========================================================================== */
.cta-block {
    background: var(--c-accent);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.cta-block__title { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; margin-bottom: 12px; color: #fff; }
.cta-block__text { font-size: 0.95rem; color: rgba(255,255,255,0.82); margin-bottom: 24px; }

/* ==========================================================================
   Related pairs navigation
   ========================================================================== */
.related-pairs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.related-pairs__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-body-text);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.related-pairs__link:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* ==========================================================================
   Exchange Widget
   ========================================================================== */
.exchange-widget {
    max-width: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--c-shadow-hover);
    background: #fff;
    transition: box-shadow var(--transition);
    margin: 0 auto;
}
.exchange-widget:hover { box-shadow: 0 16px 56px rgba(20,40,160,0.25); }
.exchange-widget__iframe { display: block; min-height: 420px; border: none; }

/* ==========================================================================
   Price Chart
   ========================================================================== */
.price-chart-wrap {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    min-height: 300px;
}
.price-chart-wrap__status {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--c-muted);
    font-size: 0.875rem;
}
.price-chart-wrap__canvas { width: 100% !important; display: block; }

/* ==========================================================================
   Conversion Tables
   ========================================================================== */
.conv-table-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-border);
    box-shadow: var(--c-shadow);
}
.conv-table { width: 100%; border-collapse: collapse; }
.conv-table thead { background: var(--c-accent); color: #fff; }
.conv-table th { padding: 14px 20px; font-size: 0.875rem; font-weight: 600; text-align: left; }
.conv-table td { padding: 12px 20px; font-size: 0.875rem; border-bottom: 1px solid var(--c-border); }
.conv-table tbody tr:last-child td { border-bottom: none; }
.conv-table tbody tr:hover { background: var(--c-card-bg-alt); }
.conv-table__val { font-weight: 600; color: var(--c-accent); font-family: 'Courier New', monospace; }

/* ==========================================================================
   Two-column content layout
   ========================================================================== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.two-col--reversed .two-col__img { order: -1; }
.two-col__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--c-shadow); }
.two-col__img img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.5s ease; }
.two-col__img:hover img { transform: scale(1.04); }
.two-col__content { display: flex; flex-direction: column; gap: 16px; }
.two-col__content h2 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); font-weight: 700; }
.two-col__content p { color: var(--c-body-text); font-size: 0.95rem; }
.section--accent .two-col__content p { color: var(--c-accent-text);}

/* ==========================================================================
   Blog Archive
   ========================================================================== */
.blog-archive__header { margin-bottom: 48px; }
.blog-archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.blog-card {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--c-shadow-hover); }
.blog-card__img { height: 200px; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-card__cat {
    display: inline-block;
    background: var(--c-card-bg-alt);
    color: var(--c-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 4px;
    width: fit-content;
}
.blog-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.blog-card__title a { color: var(--c-body-text); }
.blog-card__title a:hover { color: var(--c-accent); }
.blog-card__excerpt { font-size: 0.875rem; color: var(--c-muted); line-height: 1.6; flex: 1; }
.blog-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}
.blog-card__link::after { content: '→'; transition: transform var(--transition); }
.blog-card:hover .blog-card__link::after { transform: translateX(3px); }

/* ==========================================================================
   Single post / article
   ========================================================================== */
.single-post { margin: 0 auto; }
.single-post__header { margin-bottom: 36px; }
.single-post__cat {
    display: inline-block;
    background: var(--c-card-bg-alt);
    color: var(--c-accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.single-post__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.single-post__hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; box-shadow: var(--c-shadow); }
.single-post__hero img { width: 100%; height: 420px; object-fit: cover; }
.single-post__body h2 { font-size: 1.5rem; margin: 2.2em 0 0.75em; }
.single-post__body h3 { font-size: 1.2rem; margin: 1.8em 0 0.6em; }
.single-post__body p  { color: var(--c-body-text); line-height: 1.8; margin-bottom: 1.15em; }
.single-post__body ul,.single-post__body ol { padding-left: 1.5em; margin-bottom: 1.15em; }
.single-post__body li { list-style: disc; padding-left: 4px; margin-bottom: 6px; line-height: 1.65; }
.single-post__body ol li { list-style: decimal; }
.single-post__body a { color: var(--c-accent); text-decoration: underline; }
.single-post__body table { margin: 1.5em 0; }
.single-post__body th,.single-post__body td { padding: 12px 16px; border: 1px solid var(--c-border); font-size: 0.9rem; }
.single-post__body th { background: var(--c-card-bg-alt); font-weight: 700; }
.single-post__body blockquote {
    border-left: 4px solid var(--c-accent);
    margin: 1.5em 0;
    padding: 12px 20px;
    background: var(--c-card-bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--c-muted);
}
.single-post__breadcrumb { font-size: 0.85rem; color: var(--c-muted); margin-bottom: 16px; }
.single-post__breadcrumb a { color: var(--c-muted); }
.single-post__breadcrumb a:hover { color: var(--c-accent); }

/* ==========================================================================
   Page content (legal, about, etc.)
   ========================================================================== */
.page-content { max-width: 860px; margin: 0 auto; }
.page-content h1 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 0.5em; }
.page-content h2 { font-size: 1.45rem; margin: 2em 0 0.75em; color: var(--c-accent); }
.page-content h3 { font-size: 1.15rem; margin: 1.6em 0 0.5em; }
.page-content p  { line-height: 1.8; margin-bottom: 1.1em; color: var(--c-body-text); }
.page-content ul,.page-content ol { padding-left: 1.5em; margin-bottom: 1.1em; }
.page-content li { list-style: disc; padding-left: 4px; margin-bottom: 6px; line-height: 1.65; }
.page-content ol li { list-style: decimal; }
.page-content a { color: var(--c-accent); text-decoration: underline; }
.page-content table { margin: 1.5em 0; }
.page-content th,.page-content td { padding: 12px 16px; border: 1px solid var(--c-border); font-size: 0.9rem; }
.page-content th { background: var(--c-accent); font-weight: 700; }
.page-content strong { font-weight: 700; color: var(--c-body-text); }
.page-content .effective-date { color: var(--c-muted); font-size: 0.875rem; margin-bottom: 2em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--c-footer-bg);
    color: var(--c-footer-text);
    padding: 64px 0 0;
}
.site-footer__inner { }
.site-footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    margin-bottom: 12px;
}
.site-footer__logo strong { color: #7dd3fc; }
.site-footer__tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    margin-bottom: 12px;
}
.site-footer__contact a {
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    transition: color var(--transition);
}
.site-footer__contact a:hover { color: #7dd3fc; }
.site-footer__col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
}
.site-footer__menu { display: flex; flex-direction: column; gap: 7px; }
.site-footer__menu li a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
    line-height: 1.4;
}
.site-footer__menu li a:hover { color: #fff; }
.site-footer__legal-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.site-footer__legal-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    transition: color var(--transition);
}
.site-footer__legal-links a:hover { color: rgba(255,255,255,0.8); }
.site-footer__bottom {
    padding: 20px 0;
    text-align: center;
}
.site-footer__copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error404__wrapper {
    background: var(--c-accent);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 80px 24px;
}
.error404__inner { max-width: 560px; }
.error404__code {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    color: rgba(255,255,255,0.20);
    margin-bottom: 8px;
}
.error404__title { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.error404__text { color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.error404__actions { display: flex; justify-content: center; }

/* ==========================================================================
   Scroll reveal animation
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal--visible {
    opacity: 1;
    transform: none;
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Misc helpers
   ========================================================================== */
.img-block {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--c-shadow);
}
.img-block img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.img-block:hover img { transform: scale(1.04); }

/* Inline note box */
.note-box {
    background: var(--c-card-bg-alt);
    border-left: 4px solid var(--c-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--c-body-text);
    margin: 1.5em 0;
}
.note-box a { color: var(--c-accent); text-decoration: underline; }

/* ==========================================================================
   Responsive – 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .two-col { grid-template-columns: 1fr; }
    .two-col--reversed .two-col__img { order: 0; }
    .hero--inner .hero__split { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Responsive – 768px
   ========================================================================== */
@media (max-width: 768px) {
    :root { --crypto-section-y: 56px; }

    .burger { display: flex; }

    .site-nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--c-header-bg);
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
        padding: 16px 0 40px;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
    }
    .site-nav.open { transform: none; }
    .site-nav__list { flex-direction: column; width: 100%; gap: 0; padding: 0 16px; }
    .site-nav__item { width: 100%; }
    .site-nav__link { padding: 14px 12px; font-size: 1rem; border-radius: 0; width: 100%; }
    .site-nav__link:hover { background: rgba(255,255,255,0.10); }
    .site-nav__arrow { margin-left: auto; }

    .site-nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0,0,0,0.20);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        padding: 0;
        display: block;
    }
    .site-nav__item--has-dropdown.open .site-nav__dropdown { max-height: 700px; }
    .site-nav__sub-link { color: rgba(255,255,255,0.80); padding: 10px 12px 10px 28px; }
    .site-nav__sub-link:hover { background: rgba(255,255,255,0.08); color: #fff; }

    .hero { padding: 48px 0 56px; }
    .hero__title { font-size: 2rem; }
    .hero__widget { max-width: 100%; }

    .features__grid { grid-template-columns: 1fr; }
    .steps__list { grid-template-columns: 1fr; }
    .pairs-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews__grid { grid-template-columns: 1fr; }

    .section__header { margin-bottom: 32px; }
    .cta-block { padding: 36px 24px; }

    .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
    .single-post__hero img { height: 280px; }
}

/* ==========================================================================
   Responsive – 480px
   ========================================================================== */
@media (max-width: 480px) {
    :root { --crypto-section-y: 40px; }
    .container { padding: 0 16px; }

    .hero { padding: 36px 0 44px; }
    .hero__title { font-size: 1.65rem; }
    .hero__text { font-size: 0.95rem; }

    .pairs-grid { grid-template-columns: 1fr 1fr; }
    .site-footer__cols { grid-template-columns: 1fr; }
    .two-col__img img { height: 220px; }
    .single-post__hero img { height: 200px; }
    .section-title { font-size: 1.4rem; }
    .faq__question { font-size: 0.9rem; padding: 14px 16px; }
    .faq__answer { padding: 0 16px; }
    .faq__item--open .faq__answer { padding: 0 16px 14px; }
    .checklist { padding: 20px; }
}

/* ==========================================================================
   Blog listing
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 12px;
}

.blog-card__img-link { display: block; overflow: hidden; border-radius: 10px 10px 0 0; }
.blog-card__date { font-size: 0.8rem; color: var(--c-muted); }

.blog-pagination { margin-top: 48px; display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.blog-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 8px;
    font-size: 0.9rem; font-weight: 600; text-decoration: none;
    border: 1.5px solid var(--c-border);
    color: var(--c-body-text); transition: all var(--transition);
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.blog-pagination .page-numbers.dots { border: none; cursor: default; }

.blog-empty { padding: 60px 0; text-align: center; color: var(--c-muted); font-size: 1.05rem; }

/* ==========================================================================
   Single post extras
   ========================================================================== */
.blog-meta { margin-bottom: 14px; }
.blog-meta__category {
    display: inline-block; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #93c5fd; text-decoration: none;
    border: 1px solid rgba(147, 197, 253, 0.4); border-radius: 20px;
    padding: 4px 12px;
    transition: background var(--transition), color var(--transition);
}
.blog-meta__category:hover { background: rgba(147, 197, 253, 0.15); color: #fff; }

.blog-related { border-top: 1px solid var(--c-border); padding-top: 24px; }
.blog-related h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: var(--c-body-text); }

/* ==========================================================================
   Hero short variant (legal / about pages)
   ========================================================================== */
.hero--short { padding: 60px 0 52px; }
.hero--short .hero__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ==========================================================================
   Legal page content
   ========================================================================== */
.page-content--legal { max-width: 820px; }
.page-content--legal h2 {
    font-size: 1.15rem; font-weight: 700;
    margin: 2rem 0 0.6rem; color: var(--c-body-text);
    padding-bottom: 6px; border-bottom: 1.5px solid var(--c-border);
}
.page-content--legal p,
.page-content--legal li { font-size: 0.95rem; line-height: 1.75; color: #374151; }
.page-content--legal ul { padding-left: 1.4rem; margin: 0.5rem 0 1rem; }
.page-content--legal li { margin-bottom: 6px; }
.page-content--legal a { color: var(--c-accent); text-decoration: underline; }
.page-content--legal a:hover { opacity: 0.8; }

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .hero--short { padding: 44px 0 36px; }
}

@media (max-width: 480px) {
    .blog-grid { grid-template-columns: 1fr; }
}
