/* ============================================================
   CRYPTOROAD COINDESK — Top Navigation Bar
   ============================================================ */

/* Nascondi header GP — sostituito dalla topbar custom */
#masthead,
.site-header,
.inside-header,
.site-header-wrap,
.main-navigation,
#site-navigation           { display: none !important; }
.generate-back-to-top      { display: none !important; }
body,
body.generate-sticky-enabled { padding-top: 0 !important; }
/* rimuovi ogni spazio aggiunto da GP ai wrapper del contenuto */
#page,
.site,
.site-content,
#content,
.content-area,
.hfeed,
.inside-article,
.generate-columns-container { margin-top: 0 !important; padding-top: 0 !important; }

/* ── Topbar: wrapper ─────────────────────────────────────────── */
.cd-topbar {
    background: #0d0d0d;
    border-bottom: 1px solid #222222;
    height: 48px;
    display: flex;
    align-items: stretch;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
    overflow: hidden;
}
.admin-bar .cd-topbar    { top: 32px; }
.admin-bar .cd-pricebar  { top: 80px; }   /* 32 + 48 */
.admin-bar .cd-mobile-nav { top: 114px; } /* 32 + 48 + 34 */

/* ── Sinistra: hamburger + brand + categorie ─────────────────── */
.cd-topbar-left {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    overflow: hidden;
}

/* Hamburger */
.cd-topbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    padding: 0;
    background: none;
    border: none;
    border-right: 1px solid #2a2a2a;
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
}
.cd-topbar-btn:hover { background: #1c1c1c; }
.cd-topbar-btn:focus-visible,
.cd-topbar-search:focus-visible,
.cd-lang-switcher__toggle:focus-visible,
.cd-mobile-lang__toggle:focus-visible {
    outline: 2px solid #F7C325;
    outline-offset: -3px;
}

/* Brand / Logo */
.cd-topbar-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px 0 14px;
    border-right: 1px solid #2a2a2a;
    text-decoration: none;
    flex-shrink: 0;
}
.cd-topbar-gem {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #F7C325;
    transform: rotate(45deg);
    flex-shrink: 0;
}
.cd-topbar-gem::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #0d0d0d;
}
.cd-topbar-name {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}
.cd-topbar-name em   { color: #F7C325; font-style: normal; }
.cd-topbar-name span { color: #ffffff; }
.cd-topbar-tld       { font-size: 9px; letter-spacing: 1px; opacity: .8; }

/* Categorie */
.cd-topbar-cats {
    display: flex;
    align-items: stretch;
}
.cd-topbar-cats a {
    display: flex;
    align-items: center;
    padding: 0 13px;
    color: #aaaaaa;
    text-decoration: none;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    border-right: 1px solid #2a2a2a;
    transition: color .15s, background .15s;
}
.cd-topbar-cats a:hover { color: #F7C325; background: #181818; }

/* ── Barra 2: prezzi crypto ──────────────────────────────────── */
.cd-pricebar {
    background: #111111;
    border-bottom: 1px solid #222222;
    height: 34px;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: sticky;
    top: 48px;
    z-index: 9998;
}
.cd-ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-left: 16px;
}
.cd-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    border-right: 1px solid #2a2a2a;
    height: 34px;
    cursor: default;
}
.cd-ticker-item:first-child { padding-left: 0; }
.cd-ticker-sym {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
.cd-ticker-price {
    font-size: 11px;
    font-weight: 600;
    color: #aaaaaa;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
.cd-ticker-chg {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
.cd-ticker-chg.up   { color: #00d395; }
.cd-ticker-chg.down { color: #ff4d4d; }

/* ── Menu mobile ─────────────────────────────────────────────── */
.cd-mobile-nav {
    display: none;
    background: #111111;
    border-bottom: 2px solid #F7C325;
    position: sticky;
    top: 82px;   /* 48 topbar + 34 pricebar */
    z-index: 9997;
}
.cd-mobile-nav--open { display: block; }
.cd-mobile-nav a {
    display: block;
    padding: 13px 20px;
    color: #cccccc;
    text-decoration: none;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #222222;
    transition: color .15s, padding-left .15s;
}
.cd-mobile-nav a:last-child { border-bottom: none; }
.cd-mobile-nav a:hover { color: #F7C325; padding-left: 28px; }

.cd-mobile-search {
    display: block;
    width: 100%;
    padding: 13px 20px;
    border: 0;
    border-bottom: 1px solid #222222;
    background: transparent;
    color: #cccccc;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .15s, padding-left .15s;
}

.cd-mobile-search:hover,
.cd-mobile-search:focus {
    color: #F7C325;
    padding-left: 28px;
    outline: 2px solid #F7C325;
    outline-offset: -3px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .cd-topbar-cats { display: none; }
}
@media (max-width: 600px) {
    .cd-topbar    { height: 44px; }
    .cd-topbar-btn { width: 44px; }
    .cd-pricebar  { top: 44px; height: 30px; }
    .cd-mobile-nav { top: 74px; }
    .cd-ticker-item { padding: 0 10px; height: 30px; }
    .cd-ticker-price { display: none; }
}

/* ============================================================
   CRYPTOROAD COINDESK — Layout articolo
   ============================================================ */
/* ── HERO ───────────────────────────────────────────────────── */
.cd-hero {
    background: #ffffff;
    padding-top: 0;
}
.cd-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 40px 32px;
    box-sizing: border-box;
}

/* Categoria */
.cd-category {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1;
}
.cd-category a {
    color: #745600;
    text-decoration: none;
}
.cd-category a:hover { text-decoration: underline; }
.cd-format {
    display: inline-block;
    margin-right: 10px;
    padding: 4px 7px;
    border: 1px solid currentColor;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    vertical-align: middle;
}
.cd-format--analysis { color: #0d6e66; }
.cd-format--guide { color: #7a4d00; }
.cd-format--news { color: #a06c00; }

/* Titolo H1 */
.cd-title {
    font-size: clamp(26px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #111111;
    margin: 0 0 24px;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

/* Meta autore · data */
.cd-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cd-author {
    font-weight: 600;
    color: #111111;
    text-decoration: none;
}
.cd-author:hover { color: #F7C325; }
.cd-sep { color: #cccccc; }
.cd-date { color: #888888; }

/* ── IMMAGINE IN EVIDENZA ────────────────────────────────────── */
.cd-featured-image {
    width: 100%;
    max-width: 1200px;
    max-height: 520px;
    overflow: hidden;
    margin: 32px auto 0;
    padding: 0 40px;
    display: block;
    box-sizing: border-box;
    clear: both;
}
.cd-featured-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.cd-key-points {
    max-width: 760px;
    margin: 30px auto -18px;
    padding: 20px 24px;
    border-left: 4px solid #f7c325;
    background: #f6f7f8;
    box-sizing: border-box;
}
.cd-key-points h2 {
    margin: 0 0 12px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 21px;
    line-height: 1.1;
}
.cd-key-points ul { margin: 0; padding-left: 20px; }
.cd-key-points li { margin: 8px 0; font-size: 15px; line-height: 1.45; }

/* ── CORPO: flex contenuto + sidebar ────────────────────────── */
.cd-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px 80px;
    display: grid;
    grid-template-columns: minmax(0, 760px) 320px;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    box-sizing: border-box;
}
.cd-content { min-width: 0; width: 100%; }
.cd-sidebar  { width: 320px; }

/* ── CORPO: tipografia dell'articolo ────────────────────────── */
.cd-entry p,
.cd-entry li {
    font-size: 18px;
    line-height: 1.85;
    color: #222222;
    margin-bottom: 1.4em;
}
.cd-entry h2 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: #111111;
    margin: 2.2em 0 0.6em;
    padding-left: 14px;
    border-left: 4px solid #F7C325;
    font-family: 'Barlow Semi Condensed', sans-serif;
}
.cd-entry h3 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    color: #111111;
    margin: 1.8em 0 0.5em;
    font-family: 'Barlow Semi Condensed', sans-serif;
}
.cd-entry a {
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cd-entry a:hover { color: #F7C325; }
.cd-entry strong { color: #111111; }
.cd-entry blockquote {
    border-left: 3px solid #F7C325;
    margin: 2em 0;
    padding: 4px 0 4px 24px;
    color: #444444;
    font-style: italic;
    font-size: 19px;
}
.cd-entry code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
}
.cd-entry table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 15px;
}
.cd-entry th {
    background: #111111;
    color: #ffffff;
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cd-entry td {
    padding: 10px 14px;
    border-bottom: 1px solid #e5e5e5;
}
.cd-entry tr:nth-child(even) td { background: #f9f9f9; }
.cd-entry img {
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
}

/* ── ARTICOLI CORRELATI ─────────────────────────────────────── */
.cd-related {
    border-top: 2px solid #111111;
    margin-top: 60px;
    padding-top: 40px;
}
.cd-related-title {
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 28px !important;
    padding-left: 0 !important;
    border-left: none !important;
    color: #111111;
}
.cd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cd-related-card { display: flex; flex-direction: column; }
.cd-related-img-wrap {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f0f0f0;
}
.cd-related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .3s ease;
}
.cd-related-img-wrap:hover .cd-related-img { transform: scale(1.04); }
.cd-related-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}
.cd-related-cat a { color: #745600; text-decoration: none; }
.cd-related-heading {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
}
.cd-related-heading a { color: #111111; text-decoration: none; }
.cd-related-heading a:hover { color: #F7C325; }
.cd-related-date { font-size: 12px; color: #888888; margin: 0; }

/* ── SIDEBAR ────────────────────────────────────────────────── */
.cd-sidebar-box {
    background: #f7f7f7;
    padding: 24px;
    position: sticky;
    top: 90px;
}
.cd-sidebar-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #111111;
    color: #111111;
}
.cd-sidebar-title a { color: inherit; text-decoration: none; }
.cd-sidebar-title a:hover { color: #a06c00; }
.cd-sidebar-item {
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}
.cd-sidebar-item:last-child { border-bottom: none; }
.cd-sidebar-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}
.cd-sidebar-cat a { color: #745600; text-decoration: none; }
.cd-sidebar-heading {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 4px;
}
.cd-sidebar-heading a { color: #111111; text-decoration: none; }
.cd-sidebar-heading a:hover { color: #F7C325; }
.cd-sidebar-date { font-size: 11px; color: #999999; margin: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .cd-body {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .cd-sidebar { width: 100%; }
    .cd-sidebar-box { position: static; }
}
@media (max-width: 767px) {
    .cd-hero-inner { padding: 0 20px 24px; }
    .cd-body        { padding: 32px 20px 60px; }
    .cd-featured-image { padding: 0 20px; }
    .cd-featured-img { height: 240px; }
    .cd-related-grid { grid-template-columns: 1fr; }
    .cd-entry p, .cd-entry li { font-size: 17px; }
}

/* ============================================================
   CRYPTOROAD COINDESK — Homepage Layout
   ============================================================ */

/* ── HOMEPAGE: 3-col layout ────────────────────────────────── */
.cd-homepage {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 80px;
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 32px;
    align-items: flex-start;
    box-sizing: border-box;
}

/* ── LEFT: news feed ────────────────────────────────────────── */
.cd-hp-left {
    border-right: 1px solid #e4e4e4;
    padding-right: 24px;
}
.cd-hp-left-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #111111;
}
.cd-hp-left-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111111;
}
.cd-hp-left-more {
    font-size: 14px;
    color: #745600;
    text-decoration: none;
    font-weight: 700;
}
.cd-feed-date {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888;
    margin: 20px 0 10px;
}
.cd-feed-date:first-of-type { margin-top: 0; }
.cd-feed-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cd-feed-item:last-child { border-bottom: none; }
.cd-feed-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.cd-feed-time {
    font-size: 11px;
    color: #888888;
    font-weight: 600;
}
.cd-feed-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cccccc;
    flex-shrink: 0;
}
.cd-feed-dot--bitcoin     { background: #F7931A; }
.cd-feed-dot--ethereum    { background: #627EEA; }
.cd-feed-dot--defi        { background: #00D395; }
.cd-feed-dot--altcoin,
.cd-feed-dot--altcoins    { background: #9B59B6; }
.cd-feed-dot--notizie     { background: #F7C325; }
.cd-feed-dot--guide       { background: #2ECC71; }
.cd-feed-dot--mercati     { background: #E74C3C; }
.cd-feed-dot--regolamentazione { background: #1ABC9C; }
.cd-feed-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
}
.cd-feed-title a { color: #111111; text-decoration: none; }
.cd-feed-title a:hover { color: #F7C325; }
.cd-feed-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
.cd-feed-cat a { color: #745600; text-decoration: none; }

/* ── CENTER ─────────────────────────────────────────────────── */
.cd-hp-center { min-width: 0; }

/* Featured story */
.cd-hp-feature {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #e4e4e4;
}
.cd-hp-feature-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 16px;
    background: #f0f0f0;
}
.cd-hp-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .3s ease;
}
.cd-hp-feature-img-wrap:hover .cd-hp-feature-img { transform: scale(1.03); }
.cd-hp-feature-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #F7C325;
    color: #111111;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
}
.cd-hp-feature-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #745600;
    text-decoration: none;
    margin-bottom: 10px;
}
.cd-hp-feature-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    color: #111111;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}
.cd-hp-feature-title a { color: inherit; text-decoration: none; }
.cd-hp-feature-title a:hover { color: #F7C325; }
.cd-hp-feature-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 12px;
}
.cd-hp-feature-meta {
    font-size: 11px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Topic hub */
.cd-hp-topic-hub {
    margin: 24px 0 0;
    padding: 0 0 18px;
    border-bottom: 1px solid #e4e4e4;
}
.cd-hp-markets { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid #d9d9d9; }
.cd-hp-markets-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.cd-hp-markets-header h2 { margin: 0; font-family: 'Barlow Semi Condensed', sans-serif; font-size: 25px; line-height: 1; }
.cd-hp-markets-header a { color: #111; font-size: 22px; font-weight: 800; text-decoration: none; }
.cd-hp-markets-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cd-hp-market-card { min-width: 0; padding-top: 14px; border-top: 3px solid #111; }
.cd-hp-market-meta { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; color: #777; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.cd-hp-market-meta .cd-format { margin-right: 0; }
.cd-hp-market-card h3 { margin: 0 0 10px; font-family: 'Barlow Semi Condensed', sans-serif; font-size: 22px; line-height: 1.08; }
.cd-hp-market-card h3 a { color: #111; text-decoration: none; }
.cd-hp-market-card h3 a:hover { color: #a06c00; }
.cd-hp-market-card > p:last-child { margin: 0; color: #555; font-size: 14px; line-height: 1.45; }
.cd-hp-most-read { margin-top: 34px; }
.cd-hp-most-read .cd-hp-right-item { position: relative; padding-left: 23px; }
.cd-hp-most-read .cd-hp-right-item::before { content: counter(most-read); counter-increment: most-read; position: absolute; left: 0; top: 1px; color: #a06c00; font-size: 11px; font-weight: 800; }
.cd-hp-most-read { counter-reset: most-read; }
.cd-hp-mobile-more { display: none; }
.cd-hp-topic-title {
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111111;
    margin: 0 0 12px !important;
}
.cd-hp-topic-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cd-hp-topic-group { min-width: 0; }
.cd-hp-topic-group h3 { margin: 0 0 8px; color: #666; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.cd-hp-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cd-hp-topic-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid #e4e4e4;
    color: #111111;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.cd-hp-topic-link span { min-width: 0; overflow-wrap: anywhere; }
.cd-hp-topic-link em {
    font-style: normal;
    color: #888888;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
}
.cd-hp-topic-link:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}
.cd-hp-topic-link:hover em { color: #F7C325; }
.cd-hp-guide-group-label { margin: 12px 0 0; padding-top: 8px; border-top: 1px solid #e4e4e4; color: #666; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 900px) {
    .cd-hp-topic-groups { grid-template-columns: 1fr; gap: 14px; }
}

/* Focus band for a growing editorial vertical. */
.cd-hp-focus { margin-top: 36px; padding-top: 20px; border-top: 2px solid #111; }
.cd-hp-focus-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.cd-hp-focus-header h2 { margin: 0; font-family: 'Barlow Semi Condensed', sans-serif; font-size: 25px; line-height: 1; }
.cd-hp-focus-header > a { color: #111; font-size: 22px; font-weight: 800; text-decoration: none; }
.cd-hp-focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.cd-hp-focus-card { min-width: 0; }
.cd-hp-focus-img { display: block; aspect-ratio: 16/9; margin-bottom: 11px; overflow: hidden; background: #f0f0f0; }
.cd-hp-focus-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.cd-hp-focus-img:hover img { transform: scale(1.025); }
.cd-hp-focus-kicker { margin: 0 0 6px; color: #745600; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; }
.cd-hp-focus-card h3 { margin: 0; font-family: 'Barlow Semi Condensed', sans-serif; font-size: 19px; line-height: 1.18; }
.cd-hp-focus-card h3 a { color: #111; text-decoration: none; }
.cd-hp-focus-card h3 a:hover { color: #a06c00; }

/* Stories header + tabs */
.cd-hp-stories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #111111;
    flex-wrap: wrap;
}
.cd-hp-stories-title {
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111111;
    margin: 0 !important;
    white-space: nowrap;
}
.cd-hp-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.cd-hp-tab {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    color: #888888;
    text-decoration: none;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    transition: all .15s ease;
}
.cd-hp-tab:hover,
.cd-hp-tab--active { background: #111111; color: #ffffff; border-color: #111111; }

/* Grid: big card + small list */
.cd-hp-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 28px;
    align-items: flex-start;
    padding-bottom: 28px;
    border-bottom: 2px solid #111111;
}
.cd-hp-bigcard-img-wrap {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f0f0f0;
}
.cd-hp-bigcard-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .3s ease;
}
.cd-hp-bigcard-img-wrap:hover .cd-hp-bigcard-img { transform: scale(1.03); }
.cd-hp-bigcard-cat {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: #745600; text-decoration: none; margin-bottom: 8px;
}
.cd-hp-bigcard-title {
    font-size: 20px; font-weight: 800;
    line-height: 1.25; color: #111111; margin: 0 0 10px;
}
.cd-hp-bigcard-title a { color: inherit; text-decoration: none; }
.cd-hp-bigcard-title a:hover { color: #F7C325; }
.cd-hp-bigcard-meta { font-size: 11px; color: #888888; text-transform: uppercase; letter-spacing: 0.5px; margin: 0; }

.cd-hp-smalllist {
    border-left: 1px solid #e4e4e4;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
}
.cd-hp-smallitem { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.cd-hp-smallitem:first-child { padding-top: 0; }
.cd-hp-smallitem:last-child { border-bottom: none; padding-bottom: 0; }
.cd-hp-smallitem-cat {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: #745600; text-decoration: none; margin-bottom: 4px;
}
.cd-hp-smallitem-title {
    font-size: 14px; font-weight: 700;
    line-height: 1.35; color: #111111; margin: 0 0 6px;
}
.cd-hp-smallitem-title a { color: inherit; text-decoration: none; }
.cd-hp-smallitem-title a:hover { color: #F7C325; }
.cd-hp-smallitem-meta { font-size: 11px; color: #888888; margin: 0; }

/* ── RIGHT SIDEBAR ──────────────────────────────────────────── */
.cd-hp-right {
    border-left: 1px solid #e4e4e4;
    padding-left: 24px;
}
.cd-hp-right-box { margin-bottom: 32px; }
.cd-hp-right-header {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 2px solid #111111;
}
.cd-hp-right-title {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: #111111; margin: 0;
}
.cd-hp-right-arrow { font-size: 14px; color: #745600; text-decoration: none; font-weight: 700; }
.cd-hp-right-item {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cd-hp-right-item:last-child { border-bottom: none; }
.cd-hp-right-heading { font-size: 13px; font-weight: 700; line-height: 1.4; margin: 0 0 5px; }
.cd-hp-right-heading a { color: #111111; text-decoration: none; }
.cd-hp-right-heading a:hover { color: #F7C325; }
.cd-hp-right-date { font-size: 11px; color: #888888; margin: 0; }

@media (min-width: 901px) {
    .cd-hp-guides .cd-hp-right-header { margin-bottom: 8px; }
    .cd-hp-guides .cd-hp-right-item { padding: 8px 0; }
    .cd-hp-guides .cd-hp-right-heading { margin-bottom: 0; font-size: 12.5px; line-height: 1.28; }
    .cd-hp-guides .cd-hp-right-date { display: none; }
}

/* Newsletter */
.cd-hp-newsletter { background: #111111; padding: 24px; color: #ffffff; }
.cd-hp-newsletter-tag {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: #F7C325; margin: 0 0 10px;
}
.cd-hp-newsletter-title { font-size: 18px; font-weight: 800; line-height: 1.3; color: #ffffff; margin: 0 0 10px; }
.cd-hp-newsletter-desc { font-size: 13px; line-height: 1.6; color: #aaaaaa; margin: 0 0 18px; }
.cd-hp-newsletter-btn {
    display: inline-block;
    background: #F7C325; color: #111111;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 10px 20px; text-decoration: none;
    transition: background .15s ease;
}
.cd-hp-newsletter-btn:hover { background: #e6b520; color: #111111; }

/* ── HOMEPAGE RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1100px) {
    .cd-homepage {
        grid-template-columns: 200px 1fr 260px;
        gap: 24px;
        padding: 24px 24px 60px;
    }
    .cd-hp-grid { grid-template-columns: 1fr 220px; }
}
@media (max-width: 900px) {
    .cd-homepage {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 20px 60px;
    }
    .cd-hp-center { order: 1; }
    .cd-hp-left { order: 2; }
    .cd-hp-right { order: 3; }
    .cd-hp-left {
        border-right: none; padding-right: 0;
        border-bottom: 1px solid #e4e4e4; padding-bottom: 24px;
    }
    .cd-hp-right {
        border-left: none; padding-left: 0;
        border-top: 1px solid #e4e4e4; padding-top: 24px;
    }
    .cd-hp-grid { grid-template-columns: 1fr; }
    .cd-hp-smalllist { border-left: none; padding-left: 0; border-top: 1px solid #e4e4e4; padding-top: 16px; }
    .cd-mobile-extra { display: none; }
    .cd-hp-mobile-more {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        margin-top: 14px;
        color: #111;
        font-size: 11px;
        font-weight: 800;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}
@media (max-width: 600px) {
    .cd-homepage { padding: 16px 16px 48px; }
    .cd-hp-stories-header { flex-direction: column; align-items: flex-start; }
    .cd-hp-focus-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(250px, 82vw);
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        padding-bottom: 12px;
        scrollbar-width: thin;
    }
    .cd-hp-focus-card { scroll-snap-align: start; }
}

@media (max-width: 760px) {
    .cd-hp-markets-grid { grid-template-columns: 1fr; gap: 14px; }
    .cd-key-points { margin: 24px 20px -20px; padding: 18px 20px; }
}

/* ============================================================
   CRYPTOROAD COINDESK — Archive / Category / Tag Pages
   ============================================================ */

/* ── Header archivio ─────────────────────────────────────────── */
.cd-archive-header {
    background: #ffffff;
    border-bottom: 2px solid #111111;
    padding: 32px 0 28px;
}
.cd-archive-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}
.cd-archive-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #745600;
    margin-bottom: 8px;
}
.cd-archive-title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    color: #111111;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
    font-family: 'Barlow Semi Condensed', sans-serif;
}
.cd-archive-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
    max-width: 680px;
}
.cd-archive-desc strong {
    display: block;
    margin: 8px 0 3px;
    color: #222;
    line-height: 1.35;
    letter-spacing: 0;
}
.cd-archive-desc--ai-paths strong {
    display: block;
    margin: 12px 0 4px;
    color: #222;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: 0;
}
.cd-archive-desc a {
    overflow-wrap: anywhere;
    color: #125a43;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cd-archive-desc a:focus-visible {
    outline: 2px solid #125a43;
    outline-offset: 3px;
}
.cd-archive-feed-title {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
}

/* ── Body archivio ───────────────────────────────────────────── */
.cd-archive-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 40px 80px;
    box-sizing: border-box;
}

/* ── Griglia 3 col ───────────────────────────────────────────── */
.cd-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

/* ── Card ────────────────────────────────────────────────────── */
.cd-archive-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
}
.cd-archive-card-img-wrap {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f0f0f0;
}
.cd-archive-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .3s ease;
}
.cd-archive-card-img-wrap:hover .cd-archive-card-img {
    transform: scale(1.04);
}
.cd-archive-card-body { flex: 1; }
.cd-archive-card-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #745600;
    text-decoration: none;
    margin-bottom: 6px;
}
.cd-archive-card-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    color: #111111;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}
.cd-archive-card-title a { color: inherit; text-decoration: none; }
.cd-archive-card-title a:hover { color: #F7C325; }
.cd-archive-card-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 10px;
}
.cd-archive-card-meta {
    font-size: 11px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}
.cd-archive-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #888888;
    font-size: 15px;
}
.cd-search-empty {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}
.cd-search-empty .cd-archive-empty {
    padding: 24px 0 16px;
}
.cd-search-empty .search-form {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.cd-search-empty .search-field {
    min-height: 44px;
}
.cd-search-empty .search-submit {
    min-height: 44px;
    background: #F7C325;
    color: #111111;
}

/* ── Paginazione ─────────────────────────────────────────────── */
.cd-archive-pagination {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}
.cd-archive-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.cd-archive-pagination .page-numbers li { display: inline; }
.cd-archive-pagination .page-numbers a,
.cd-archive-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #444444;
    border: 1px solid #e4e4e4;
    text-decoration: none;
    transition: all .15s ease;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
.cd-archive-pagination .page-numbers a:hover {
    background: #111111; color: #ffffff; border-color: #111111;
}
.cd-archive-pagination .page-numbers .current {
    background: #F7C325; color: #111111; border-color: #F7C325; font-weight: 700;
}

/* ── Responsive archivio ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .cd-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 767px) {
    .cd-archive-header-inner { padding: 0 20px; }
    .cd-archive-body { padding: 24px 20px 60px; }
    .cd-archive-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
    .cd-archive-body { padding: 20px 16px 48px; }
}

/* ============================================================
   CRYPTOROAD COINDESK — Footer
   ============================================================ */

/* ── Barra copyright (sopra il footer) ───────────────────────── */
.gb-element-9cec3d8c {
    background: #0d0d0d !important;
    border-top: 1px solid #2a2a2a !important;
    padding: 12px 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.gb-text-9d58fb85 {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 11px !important;
    color: #666666 !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
}
.gb-text-365b0912,
.gb-text-365b0912 strong {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #555555 !important;
    text-decoration: none !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    transition: color .15s !important;
}
.gb-text-365b0912:hover { color: #F7C325 !important; }

/* ── Footer principale ───────────────────────────────────────── */
footer.gb-element-c9ca336d {
    background: #111111 !important;
    border-top: 2px solid #F7C325 !important;
    padding: 48px 40px 40px !important;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Layout colonne */
.gb-element-c9ca336d .gb-element-7f049cb2 {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 260px 1fr 1fr !important;
    gap: 48px !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
}

/* Colonna brand */
.gb-text-05abd0ed {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin: 0 0 10px !important;
}
.gb-text-8ae0661f {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 13px !important;
    color: #888888 !important;
    line-height: 1.6 !important;
    margin: 0 0 20px !important;
}

/* Icone social */
.gb-element-87eee3b5 {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
.gb-element-87eee3b5 a,
.gb-element-c7489861 .gb-text-81e6b57f,
.gb-element-c7489861 .gb-text-7aa22a4a,
.gb-element-c7489861 .gb-text-e2a27ff1,
.gb-element-c7489861 .gb-text-e02c2fd8,
.gb-element-c7489861 .gb-text-abc3deea {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    background: #1e1e1e !important;
    border: 1px solid #2a2a2a !important;
    color: #aaaaaa !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: background .15s, color .15s, border-color .15s !important;
}
.gb-element-87eee3b5 a:hover,
.gb-element-c7489861 a:hover {
    background: #F7C325 !important;
    color: #111111 !important;
    border-color: #F7C325 !important;
}

/* Titoli colonne Links / Tags */
.gb-element-c9ca336d h3,
.gb-text-9a6ee0a8,
.gb-text-290efd10 {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #ffffff !important;
    margin: 0 0 18px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #2a2a2a !important;
}

/* Link footer */
.gb-element-c9ca336d a,
.gb-element-a682f296 a,
.gb-element-a682f296 .gb-text {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 13px !important;
    color: #888888 !important;
    text-decoration: none !important;
    line-height: 2 !important;
    transition: color .15s !important;
    display: block !important;
}
.gb-element-c9ca336d a:hover { color: #F7C325 !important; }

/* Tag cloud */
.gb-element-c9ca336d .wp-block-tag-cloud {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}
.gb-element-c9ca336d .wp-block-tag-cloud a {
    display: inline-block !important;
    padding: 4px 10px !important;
    background: #1e1e1e !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 2px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #888888 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: background .15s, color .15s, border-color .15s !important;
}
.gb-element-c9ca336d .wp-block-tag-cloud a:hover {
    background: #F7C325 !important;
    color: #111111 !important;
    border-color: #F7C325 !important;
}

/* Responsive footer */
@media (max-width: 900px) {
    footer.gb-element-c9ca336d { padding: 36px 24px 32px !important; }
    .gb-element-c9ca336d .gb-element-7f049cb2 {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
    .gb-element-9cec3d8c { padding: 12px 24px !important; }
}
@media (max-width: 600px) {
    footer.gb-element-c9ca336d { padding: 28px 16px 24px !important; }
    .gb-element-c9ca336d .gb-element-7f049cb2 {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .gb-element-9cec3d8c { padding: 10px 16px !important; flex-direction: column !important; gap: 4px !important; }
}

/* ============================================================
   CRYPTOROAD COINDESK — Header fixes + language switcher
   ============================================================ */
.cd-topbar {
    justify-content: space-between;
}

.cd-topbar-left {
    flex: 1 1 auto;
    min-width: 0;
}

.cd-topbar-right {
    display: flex;
    align-items: stretch;
    margin-left: auto;
    border-left: 1px solid #2a2a2a;
    flex-shrink: 0;
}

.cd-topbar-search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    border-right: 1px solid #2a2a2a;
    background: transparent;
    color: #f5f5f5;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.cd-topbar-search:hover,
.cd-topbar-search:focus {
    background: #181818;
    color: #f7c325;
}

.cd-topbar-search svg {
    flex: 0 0 auto;
}

.cd-topbar-cats {
    display: flex;
    align-items: stretch;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.cd-topbar-cats::-webkit-scrollbar {
    display: none;
}

.cd-lang-switcher,
.cd-mobile-lang {
    position: relative;
}

.cd-lang-switcher__toggle,
.cd-mobile-lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #f5f5f5;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
}

.cd-lang-switcher__toggle:hover,
.cd-mobile-lang__toggle:hover {
    background: #181818;
}

.cd-lang-switcher__menu,
.cd-mobile-lang__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 10px;
    min-width: 172px;
    padding: 8px;
    border: 1px solid #2a2a2a;
    background: #111111;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    z-index: 10020;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.cd-lang-switcher__menu[hidden],
.cd-mobile-lang__menu[hidden] {
    display: none;
}

.cd-lang-switcher:hover .cd-lang-switcher__menu,
.cd-lang-switcher:focus-within .cd-lang-switcher__menu,
.cd-mobile-lang:hover .cd-mobile-lang__menu,
.cd-mobile-lang:focus-within .cd-mobile-lang__menu,
.cd-lang-switcher__toggle[aria-expanded="true"] + .cd-lang-switcher__menu,
.cd-mobile-lang__toggle[aria-expanded="true"] + .cd-mobile-lang__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.cd-mobile-lang__menu {
    right: 16px;
}

.cd-lang-switcher__item,
.cd-mobile-lang__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #e5e5e5;
    text-decoration: none;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.cd-lang-switcher__item:hover,
.cd-mobile-lang__item:hover,
.cd-lang-switcher__item.is-current,
.cd-mobile-lang__item.is-current {
    background: #1b1b1b;
    color: #f7c325;
}

.cd-lang-switcher__flag {
    line-height: 1;
    font-size: 14px;
}

.cd-lang-switcher__name {
    margin-left: auto;
    color: #9ca3af;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.cd-lang-switcher__caret {
    font-size: 10px;
    opacity: .75;
}

.cd-mobile-lang {
    padding: 10px 16px 16px;
    border-top: 1px solid #222222;
}

.cd-mobile-lang__toggle {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
    padding: 0;
}

@media (max-width: 900px) {
    .cd-topbar-right {
        border-left: 0;
    }
}

@media (max-width: 600px) {
    .cd-topbar-search {
        min-height: 44px;
        width: 44px;
        justify-content: center;
        padding: 0;
    }

    .cd-topbar-search__label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .cd-lang-switcher__toggle {
        min-height: 44px;
        padding: 0 12px;
    }
}

/* ============================================================
   Mobile reading refinements
   ============================================================ */
@media (max-width: 767px) {
    #content.site-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .cd-hero-inner {
        padding: 22px 12px 22px;
    }

    .cd-title {
        font-size: 28px;
        line-height: 1.14;
        letter-spacing: 0;
        margin-bottom: 18px;
        overflow-wrap: anywhere;
    }

    .cd-category {
        margin-bottom: 12px;
        line-height: 1.35;
    }

    .cd-meta {
        gap: 7px;
        line-height: 1.45;
    }

    .cd-featured-image {
        margin-top: 20px;
        padding: 0 12px;
    }

    .cd-featured-img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .cd-body {
        padding: 26px 12px 52px;
        gap: 40px;
    }

    .cd-entry p,
    .cd-entry li {
        font-size: 17px;
        line-height: 1.72;
        margin-bottom: 1.2em;
    }

    .cd-entry h2 {
        font-size: 23px;
        line-height: 1.24;
        margin: 1.85em 0 0.65em;
        padding-left: 11px;
    }

    .cd-entry h3 {
        font-size: 20px;
        line-height: 1.3;
        margin-top: 1.6em;
    }

    .cd-entry blockquote {
        margin: 1.6em 0;
        padding-left: 16px;
        font-size: 17px;
    }

    .cd-entry table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        font-size: 13px;
        scrollbar-width: thin;
    }

    .cd-entry table thead,
    .cd-entry table tbody {
        min-width: 560px;
    }

    .cd-entry th,
    .cd-entry td {
        min-width: 120px;
        padding: 9px 11px;
        vertical-align: top;
    }

    .cd-related {
        margin-top: 44px;
        padding-top: 30px;
    }

    .cd-related-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(240px, 82vw);
        grid-template-columns: none;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        padding-bottom: 12px;
        scrollbar-width: thin;
    }

    .cd-related-card {
        scroll-snap-align: start;
    }

    .cd-hp-tabs {
        width: 100%;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }

    .cd-hp-tab {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 0 12px;
        flex: 0 0 auto;
    }

    .cd-hp-left-more,
    .cd-hp-right-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        min-height: 40px;
    }

    .cd-archive-header {
        padding: 24px 0 22px;
    }

    .cd-archive-header-inner,
    .cd-archive-body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .cd-homepage {
        padding-left: 12px;
        padding-right: 12px;
    }

    .cd-archive-title {
        letter-spacing: 0;
    }

    .cd-archive-pagination .page-numbers a,
    .cd-archive-pagination .page-numbers span {
        min-width: 40px;
        height: 40px;
    }
}

/* ============================================================
   Desktop density pass
   Keep long-form type readable while reducing unused whitespace.
   ============================================================ */
@media (min-width: 1025px) {
    .cd-hero-inner { padding-top: 20px; padding-bottom: 24px; }
    .cd-category { margin-bottom: 10px; }
    .cd-title { margin-bottom: 16px; }
    .cd-featured-image { margin-top: 20px; }
    .cd-featured-img { height: 480px; }

    .cd-body {
        padding-top: 32px;
        padding-bottom: 56px;
        gap: 40px;
    }
    .cd-entry p,
    .cd-entry li {
        line-height: 1.72;
        margin-bottom: 1.1em;
    }
    .cd-entry h2 { margin-top: 1.7em; margin-bottom: .5em; }
    .cd-entry h3 { margin-top: 1.45em; margin-bottom: .45em; }
    .cd-entry blockquote,
    .cd-entry table { margin-top: 1.5em; margin-bottom: 1.5em; }
    .cd-entry img { margin-top: 1.1em; margin-bottom: 1.1em; }

    .cd-related { margin-top: 44px; padding-top: 28px; }
    .cd-related-title { margin-bottom: 18px !important; }
    .cd-related-grid { gap: 18px; }
    .cd-related-img-wrap { margin-bottom: 8px; }
    .cd-related-cat { margin-bottom: 4px; }

    .cd-sidebar-box { padding: 18px; }
    .cd-sidebar-title { margin-bottom: 8px; padding-bottom: 10px; }
    .cd-sidebar-item { padding: 10px 0; }
    .cd-sidebar-heading { line-height: 1.3; margin-bottom: 0; }
    .cd-sidebar-date { display: none; }

    .cd-archive-header { padding-top: 20px; padding-bottom: 18px; }
    .cd-archive-type { margin-bottom: 5px; }
    .cd-archive-title { margin-bottom: 6px; }
    .cd-archive-desc { line-height: 1.48; }
    .cd-archive-body { padding-top: 24px; padding-bottom: 56px; }
    .cd-archive-grid { gap: 26px 24px; margin-bottom: 32px; }
    .cd-archive-card-img-wrap { margin-bottom: 10px; }
    .cd-archive-card-cat { margin-bottom: 4px; }
    .cd-archive-card-title { margin-bottom: 6px; line-height: 1.24; }
    .cd-archive-card-excerpt { margin-bottom: 7px; line-height: 1.48; }
    .cd-archive-pagination { margin-top: 0; }

    footer.gb-element-c9ca336d { padding: 34px 40px 30px !important; }
    .gb-element-c9ca336d .gb-element-7f049cb2 { gap: 32px !important; }
    .gb-text-8ae0661f { margin-bottom: 14px !important; }
    .gb-element-c9ca336d h3,
    .gb-text-9a6ee0a8,
    .gb-text-290efd10 { margin-bottom: 12px !important; padding-bottom: 8px !important; }
    .gb-element-c9ca336d a,
    .gb-element-a682f296 a,
    .gb-element-a682f296 .gb-text { line-height: 1.7 !important; }
    .gb-element-c9ca336d .wp-block-tag-cloud { gap: 4px !important; }
    .gb-element-c9ca336d .wp-block-tag-cloud a { padding: 3px 8px !important; }
}

@media (min-width: 901px) {
    .cd-homepage { padding-top: 14px; padding-bottom: 48px; gap: 26px; }
    .cd-hp-left { padding-right: 18px; }
    .cd-hp-left-header { margin-bottom: 12px; padding-bottom: 9px; }
    .cd-feed-date { margin-top: 13px; margin-bottom: 5px; }
    .cd-feed-item { padding: 8px 0; }
    .cd-feed-meta { margin-bottom: 3px; }
    .cd-feed-title { line-height: 1.28; margin-bottom: 2px; }

    .cd-hp-feature { margin-bottom: 24px; padding-bottom: 24px; }
    .cd-hp-feature-img-wrap { margin-bottom: 12px; }
    .cd-hp-feature-cat { margin-bottom: 6px; }
    .cd-hp-feature-title { margin-bottom: 8px; }
    .cd-hp-feature-excerpt { line-height: 1.48; margin-bottom: 8px; }
    .cd-hp-stories-header { margin-bottom: 18px; padding-bottom: 12px; }
    .cd-hp-grid { gap: 22px; padding-bottom: 18px; }
    .cd-hp-bigcard-img-wrap { margin-bottom: 10px; }
    .cd-hp-bigcard-cat { margin-bottom: 5px; }
    .cd-hp-bigcard-title { margin-bottom: 6px; line-height: 1.18; }
    .cd-hp-smalllist { padding-left: 18px; }
    .cd-hp-smallitem { padding: 9px 0; }
    .cd-hp-smallitem-title { line-height: 1.28; margin-bottom: 3px; }
    .cd-hp-markets { margin-top: 30px; padding-top: 16px; }
    .cd-hp-focus { margin-top: 28px; padding-top: 16px; }
    .cd-hp-right-box { margin-bottom: 24px; }
}
