/*
Theme Name: CryptoDepth Child
Theme URI: https://cryptodepth.io
Description: CryptoDepth custom child theme — Beyond the headline.
Author: CryptoDepth
Author URI: https://cryptodepth.io
Template: generatepress
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: cryptodepth-child
*/

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Inter',sans-serif;background:#F5F6F7;color:#1a1a1a;line-height:1.6;-webkit-font-smoothing:antialiased;}
img{max-width:100%;height:auto;display:block;}
a{text-decoration:none;color:inherit;}
:root{--cd-orange:#F7931A;--cd-dark:#111118;--cd-gray:#F5F6F7;--cd-border:#e5e5e5;}

/* Hide default GeneratePress header, footer, sidebar */
.site-header,.site-footer,.widget-area,#colophon,#masthead{display:none !important;}
.site-content,.content-area,.site-main{padding:0 !important;max-width:100% !important;}
.inside-article{padding:0 !important;}
.entry-footer,.entry-meta .cat-links,.entry-meta .tags-links,.post-categories,.post-tags,.tags-links,.cat-links{display:none !important;}
.page-header{display:none !important;}

/* NAVBAR */
#cd-navbar{background:#111118;padding:0 2rem;height:56px;display:flex;align-items:center;gap:2rem;position:sticky;top:0;z-index:999;border-bottom:1px solid #1e1e2e;}
#cd-navbar .cd-logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0;}
#cd-navbar .cd-logo-icon{display:flex;align-items:center;}
#cd-navbar .cd-logo-icon svg{width:26px;height:26px;fill:#F7931A;}
#cd-navbar .cd-logo-text{font-size:20px;font-weight:800;color:#fff;letter-spacing:-0.3px;}
#cd-navbar .cd-logo-text span{color:#F7931A;}
#cd-navbar .cd-nav-links{display:flex;gap:1.75rem;}
#cd-navbar .cd-nav-links a{color:#ccc;font-size:14px;font-weight:500;transition:color 0.15s;}
#cd-navbar .cd-nav-links a:hover{color:#fff;}
#cd-navbar .cd-nav-right{margin-left:auto;display:flex;align-items:center;gap:12px;}
#cd-navbar .cd-search{background:#F7931A;border:none;border-radius:6px;padding:8px 18px;color:#fff;font-size:13px;font-weight:700;width:220px;outline:none;transition:background 0.15s;}
#cd-navbar .cd-search::placeholder{color:rgba(255,255,255,0.75);}
#cd-navbar .cd-search:focus{background:#e8841a;outline:none;}


/* BREAKING TICKER */
#cd-ticker{display:flex;align-items:center;height:38px;background:#FFF8F0 !important;border-top:3px solid #F7931A;border-bottom:1px solid #FDDCB4;overflow:hidden;}
#cd-ticker .cd-ticker-badge{background:#F7931A;color:#fff;font-size:11px;font-weight:800;padding:0 18px;height:100%;display:flex;align-items:center;white-space:nowrap;letter-spacing:2px;text-transform:uppercase;flex-shrink:0;border-right:1px solid rgba(255,255,255,0.4);}
#cd-ticker .cd-ticker-scroll{overflow:hidden;flex:1;background:#FFF8F0 !important;}
#cd-ticker .cd-ticker-track{display:flex;align-items:center;white-space:nowrap;animation:cdTickerMove 25s linear infinite;background:#FFF8F0 !important;}
#cd-ticker .cd-ticker-track:hover{animation-play-state:paused;}
#cd-ticker .cd-ticker-item{color:#111827 !important;font-size:13px;font-weight:500;padding:0 2rem;background:#FFF8F0 !important;cursor:pointer;transition:color 0.15s;text-decoration:none;}
#cd-ticker .cd-ticker-item:hover{color:#F7931A !important;}
#cd-ticker .cd-ticker-dot{color:#F7931A;font-size:8px;background:#FFF8F0 !important;}
@keyframes cdTickerMove{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* PRICE BAR */
#cd-price-bar{background:#000000;border-bottom:1px solid #1a1a1a;padding:5px 2rem;display:flex;gap:1.75rem;overflow-x:auto;scrollbar-width:none;}
#cd-price-bar::-webkit-scrollbar{display:none;}
.cd-price-item{display:flex;align-items:center;gap:5px;white-space:nowrap;}
.cd-p-coin{color:#aaa;font-size:12px;font-weight:700;}
.cd-p-val{color:#fff;font-size:12px;font-weight:600;}
.cd-p-up{color:#22c55e;font-size:11px;font-weight:700;}
.cd-p-dn{color:#ef4444;font-size:11px;font-weight:700;}

/* CATEGORY BAR */
#cd-cat-bar{background:#fff;border-bottom:1px solid #e5e5e5;padding:0 2rem;display:flex;overflow-x:auto;scrollbar-width:none;position:sticky;top:56px;z-index:99;}
#cd-cat-bar::-webkit-scrollbar{display:none;}
#cd-cat-bar a{padding:13px 15px;font-size:12px;font-weight:700;color:#888;white-space:nowrap;border-bottom:2px solid transparent;text-transform:uppercase;letter-spacing:0.5px;transition:all 0.15s;text-decoration:none;}
#cd-cat-bar a:hover{color:#1a1a1a;}
#cd-cat-bar a.active,#cd-cat-bar a.current-cat{color:#1a1a1a;border-bottom-color:#F7931A;}

/* PAGE LAYOUT */
.cd-page-wrap{max-width:1180px;margin:0 auto;padding:2rem;display:grid;grid-template-columns:1fr 240px;gap:3.5rem;}
.cd-sidebar{padding-left:0;}
@media(max-width:900px){.cd-page-wrap{grid-template-columns:1fr;}}

/* ARTICLE CARDS */
.cd-article-card{background:#fff;border:1px solid #e5e5e5;border-left:3px solid #F7931A;border-radius:8px;overflow:hidden;margin-bottom:0.85rem;display:flex;flex-direction:row;align-items:stretch;transition:box-shadow 0.15s;}
.cd-article-card:hover{box-shadow:0 2px 12px rgba(0,0,0,0.08);}
.cd-card-img-wrap{width:200px;min-width:200px;flex-shrink:0;overflow:hidden;display:block;line-height:0;background:#1a1a2e;align-self:stretch;}
.cd-card-img-wrap img,.cd-card-img-wrap a img,.cd-article-card>a>img{width:200px !important;min-width:200px !important;height:100% !important;object-fit:cover !important;object-position:center !important;display:block !important;border:none !important;}
.cd-article-card>a{width:200px !important;min-width:200px !important;overflow:hidden !important;background:#1a1a2e !important;display:block !important;flex-shrink:0 !important;align-self:stretch !important;line-height:0 !important;}
.cd-article-card>a img{width:100% !important;height:100% !important;object-fit:cover !important;object-position:center !important;display:block !important;border:none !important;}
.cd-article-card .cd-card-body{padding:0.85rem 1rem;display:flex;flex-direction:column;justify-content:space-between;flex:1;overflow:hidden;}
.cd-card-meta-top{display:flex;align-items:center;gap:6px;margin-bottom:6px;flex-wrap:wrap;}
.cd-card-time{font-size:11px;color:#bbb;margin-left:auto;}
.cd-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:6px;}
.cd-card-author{font-size:11px;color:#bbb;}
.cd-card-author a{color:#F7931A;font-weight:600;text-decoration:none;}
.cd-article-card h2{font-size:14px;font-weight:800;color:#0f1117;line-height:1.3;margin-bottom:4px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.cd-article-card h2 a{color:inherit;text-decoration:none;}
.cd-article-card h2 a:hover{color:#F7931A;}
.cd-excerpt{font-size:12px;color:#888;line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.cd-read-more{color:#F7931A;font-size:11px;font-weight:700;text-decoration:none;}
.cd-read-more:hover{color:#e8841a;}

/* CATEGORY TAGS */
.cd-tag{display:inline-block;font-size:10px;font-weight:800;padding:3px 9px;border-radius:4px;text-transform:uppercase;letter-spacing:0.5px;text-decoration:none;}
.cd-tag-bitcoin{background:#fef3c7;color:#92400e;}
.cd-tag-ethereum{background:#ede9fe;color:#5b21b6;}
.cd-tag-xrp{background:#f1f5f9;color:#334155;}
.cd-tag-solana{background:#f0fdf4;color:#166534;}
.cd-tag-policy,.cd-tag-regulation{background:#dbeafe;color:#1e40af;}
.cd-tag-analysis{background:#fce7f3;color:#9d174d;}
.cd-tag-etf{background:#e0f2fe;color:#0369a1;}
.cd-tag-defi,.cd-tag-altcoins{background:#dcfce7;color:#166534;}
.cd-tag-learn{background:#f5f3ff;color:#6d28d9;}
.cd-tag-onchain{background:#fff7ed;color:#c2410c;}
.cd-tag-default{background:#f1f5f9;color:#334155;}

/* SIDEBAR WIDGETS */
.cd-widget{background:#fff;border:1px solid #e5e5e5;border-radius:10px;margin-bottom:1.25rem;overflow:hidden;}
.cd-widget-head{padding:13px 16px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;gap:8px;}
.cd-widget-head::before{content:'';width:3px;height:14px;background:#F7931A;border-radius:2px;flex-shrink:0;}
.cd-widget-head h3{font-size:11px;font-weight:800;color:#555;letter-spacing:1px;text-transform:uppercase;margin:0;}
.cd-about-body{padding:14px 16px;}
.cd-about-body p{font-size:13px;color:#555;line-height:1.7;}

/* SINGLE ARTICLE */
.cd-single-wrap{max-width:1180px;margin:0 auto;padding:2rem;display:grid;grid-template-columns:1fr 300px;gap:2rem;}
@media(max-width:900px){.cd-single-wrap{grid-template-columns:1fr;}}
.cd-article-main{background:#fff;border-radius:10px;border:1px solid #e5e5e5;overflow:hidden;}
.cd-article-hero{width:100%;max-height:480px;object-fit:cover;display:block;}
.cd-article-body{padding:2rem 2.5rem;}
@media(max-width:600px){.cd-article-body{padding:1.25rem;}}
.cd-article-kicker{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.cd-article-headline{font-size:clamp(22px,4vw,30px);font-weight:800;color:#0f1117;line-height:1.25;letter-spacing:-0.5px;margin-bottom:14px;font-family:Georgia,'Times New Roman',serif;}
.cd-article-subheadline{font-size:17px;color:#555;line-height:1.6;margin-bottom:1.25rem;font-family:Georgia,'Times New Roman',serif;font-style:italic;}
.cd-article-meta-bar{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;margin-bottom:1.75rem;flex-wrap:wrap;}
.cd-meta-author{font-size:13px;font-weight:700;color:#1a1a1a;}
.cd-meta-role{font-size:12px;color:#888;}
.cd-meta-sep{color:#ddd;}
.cd-meta-date{font-size:13px;color:#888;}
.cd-meta-read{font-size:13px;color:#888;}
.cd-meta-read strong{color:#F7931A;}
.cd-article-content p{font-size:17px;color:#2d2d2d;line-height:1.85;margin-bottom:1.5rem;font-family:Georgia,'Times New Roman',serif;}
.cd-article-content h2{font-size:21px;font-weight:800;color:#0f1117;margin:2rem 0 1rem;line-height:1.3;}
.cd-article-content h3{font-size:17px;font-weight:700;color:#0f1117;margin:1.5rem 0 0.75rem;}
.cd-article-content a{color:#F7931A;text-decoration:underline;}
.cd-article-content a:hover{color:#e8841a;}
.cd-article-content ul,.cd-article-content ol{padding-left:1.5rem;margin-bottom:1.5rem;}
.cd-article-content ul li,.cd-article-content ol li{font-size:16px;color:#2d2d2d;line-height:1.8;margin-bottom:6px;font-family:Georgia,serif;}
.cd-article-content blockquote{border-left:4px solid #F7931A;background:#fef9f0;padding:1.25rem 1.5rem;margin:2rem 0;border-radius:0 8px 8px 0;}
.cd-article-content blockquote p{font-size:18px !important;font-weight:600 !important;font-style:italic;color:#1a1a1a !important;margin-bottom:0 !important;}
.cd-tradingview-wrap{width:100%;border-radius:8px;overflow:hidden;margin:2rem 0;border:1px solid #e5e5e5;}
.cd-share-bar{display:flex;align-items:center;gap:10px;padding:1.25rem 0;border-top:1px solid #e5e5e5;margin-top:2rem;}
.cd-share-label{font-size:12px;font-weight:700;color:#999;text-transform:uppercase;letter-spacing:0.8px;}
.cd-share-x{background:#000;color:#fff;border:none;border-radius:6px;padding:7px 14px;font-size:12px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:5px;transition:opacity 0.15s;}
.cd-share-x:hover{opacity:0.85;}
.cd-share-copy{background:#f4f4f0;color:#1a1a1a;border:1px solid #e5e5e5;border-radius:6px;padding:7px 14px;font-size:12px;font-weight:700;cursor:pointer;transition:all 0.15s;}
.cd-share-copy:hover{border-color:#F7931A;color:#F7931A;}

/* NEWSLETTER STRIP */
.cd-nl-strip-wrap{max-width:1180px;margin:0 auto;padding:0 2rem 2rem;}
.cd-nl-strip{background:#111118;border-radius:12px;padding:2.5rem 2rem;text-align:center;}
.cd-nl-strip h2{color:#fff;font-size:22px;font-weight:800;margin-bottom:8px;}
.cd-nl-strip p{color:#888;font-size:14px;margin-bottom:1.5rem;}
.cd-nl-form{display:flex;gap:10px;max-width:460px;margin:0 auto;}
.cd-nl-input{flex:1;background:#1e1e2e;border:1px solid #2e2e4e;border-radius:8px;padding:12px 16px;color:#fff;font-size:14px;outline:none;font-family:inherit;}
.cd-nl-input::placeholder{color:#555;}
.cd-nl-input:focus{border-color:#F7931A;}
.cd-nl-btn{background:#F7931A;color:#fff;border:none;border-radius:8px;padding:12px 22px;font-size:14px;font-weight:700;cursor:pointer;}
.cd-nl-btn:hover{background:#e8841a;}

/* FOOTER */
#cd-footer{background:#111118;padding:3rem 2rem 1.5rem;margin-top:1rem;}
.cd-footer-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2rem;}
@media(max-width:800px){.cd-footer-inner{grid-template-columns:1fr 1fr;}}
.cd-footer-logo-row{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.cd-footer-logo-icon svg{width:26px;height:26px;fill:#F7931A;}
.cd-footer-logo-text{font-size:20px;font-weight:800;color:#fff;}
.cd-footer-logo-text span{color:#F7931A;}
.cd-footer-tagline{color:#555;font-size:13px;font-style:italic;margin-bottom:1.25rem;}
.cd-social-row{display:flex;gap:8px;}
.cd-social-btn{width:34px;height:34px;border:1px solid #2e2e4e;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#777;font-size:13px;text-decoration:none;transition:all 0.15s;}
.cd-social-btn:hover{border-color:#F7931A;color:#F7931A;}
.cd-footer-col h4{color:#555;font-size:10px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:1rem;}
.cd-footer-col a{display:block;color:#aaa;font-size:13px;text-decoration:none;margin-bottom:9px;transition:color 0.15s;}
.cd-footer-col a:hover{color:#F7931A;}
.cd-footer-bottom{max-width:1180px;margin:2rem auto 0;padding-top:1.5rem;border-top:1px solid #1e1e2e;display:flex;justify-content:space-between;align-items:center;}
.cd-footer-bottom p{color:#444;font-size:12px;}
@media(max-width:600px){.cd-footer-inner{grid-template-columns:1fr;}.cd-footer-bottom{flex-direction:column;gap:8px;text-align:center;}}

/* ── PRICE BAR SCROLLING FIX ─────────────────────────── */
#cd-price-bar {
  background: #000000;
  border-bottom: 1px solid #1a1a1a;
  padding: 0;
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
}
.cd-price-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: cdPriceScroll 60s linear infinite;
  gap: 0;
  height: 34px;
}
.cd-price-track:hover { animation-play-state: paused; }
.cd-price-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  height: 34px;
  white-space: nowrap;
}
.cd-price-sep {
  color: #222;
  font-size: 12px;
  flex-shrink: 0;
}
@keyframes cdPriceScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ── TICKER ANIMATION ENSURE ─────────────────────────── */
#cd-ticker .cd-ticker-track {
  animation: cdTickerMove 30s linear infinite !important;
}
@keyframes cdTickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── DARK SIDEBAR WIDGETS ────────────────────────────── */
.cd-widget-dark{background:#ffffff;border-radius:10px;margin-bottom:1rem;overflow:hidden;border:1px solid #e5e5e5;border-top:3px solid #F7931A;}
.cd-widget-dark-head{padding:13px 16px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;gap:8px;}
.cd-widget-dark-head::before{content:'';width:3px;height:14px;background:#F7931A;border-radius:2px;flex-shrink:0;}
.cd-widget-dark-head h3{font-size:11px;font-weight:800;color:#555;letter-spacing:1px;text-transform:uppercase;margin:0;}

/* TRENDING LIST — DARK */
.cd-trend-list{padding:4px 0;list-style:none;}
.cd-trend-item{display:flex;flex-direction:row;gap:10px;padding:10px 14px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:background 0.15s;align-items:flex-start;}
.cd-trend-item:last-child{border-bottom:none;}
.cd-trend-item:hover{background:#fef9f0;}
.cd-trend-num{font-size:18px;font-weight:800;color:#F7931A;width:24px;min-width:24px;max-width:24px;line-height:1;font-family:Georgia,serif;flex-shrink:0;text-align:left;padding-top:2px;}
.cd-trend-body{flex:1;min-width:0;text-align:left;overflow:hidden;}
.cd-trend-tag-dark{display:inline-block;font-size:9px;font-weight:800;padding:2px 7px;border-radius:3px;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:5px;background:#fef3c7;color:#92400e;}
.cd-trend-tag-dark-orange{background:#fef3c7;color:#92400e;}
.cd-trend-body h4{font-size:13px;font-weight:700;color:#0f1117;line-height:1.4;margin-bottom:4px;text-align:left;word-break:break-word;}
.cd-trend-body h4 a{color:#0f1117;text-decoration:none;}
.cd-trend-body h4 a:hover{color:#F7931A;}
.cd-trend-meta{font-size:11px;color:#aaa;text-align:left;}

/* ABOUT DARK */
.cd-about-body-dark{padding:14px 16px;}
.cd-about-body-dark p{font-size:13px;color:#888;line-height:1.7;}

/* CONTACT DARK */
.cd-contact-body-dark{padding:6px 0;}
.cd-contact-item-dark{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;border-bottom:1px solid #1a1a2e;}
.cd-contact-item-dark:last-child{border-bottom:none;}
.cd-contact-icon-dark{width:32px;height:32px;background:#1e1e2e;border:1px solid #2e2e4e;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:14px;}
.cd-contact-label-dark{font-size:10px;font-weight:800;color:#F7931A;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:3px;}
.cd-contact-val-dark{font-size:12px;color:#888;}
.cd-contact-val-dark a{color:#ccc;font-weight:600;text-decoration:none;transition:color 0.15s;}
.cd-contact-val-dark a:hover{color:#F7931A;}

/* ── CONTACT STRIP ───────────────────────────────────── */
.cd-contact-strip-wrap{max-width:1180px;margin:0 auto;padding:0 2rem 2rem;}
.cd-contact-strip{background:#111118;border-radius:12px;padding:2rem;display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #1e1e2e;}
.cd-contact-strip-left{padding-right:2rem;border-right:1px solid #1e1e2e;}
.cd-contact-strip-right{padding-left:2rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-content:center;}
.cd-contact-strip h2{color:#fff;font-size:20px;font-weight:800;margin-bottom:10px;letter-spacing:-0.3px;}
.cd-contact-strip p{color:#888;font-size:13px;line-height:1.7;}
.cd-contact-card{background:#1a1a2e;border:1px solid #1e1e2e;border-radius:8px;padding:14px 16px;transition:border-color 0.15s;}
.cd-contact-card:hover{border-color:#F7931A;}
.cd-contact-card-icon{font-size:18px;margin-bottom:8px;}
.cd-contact-card-label{font-size:10px;font-weight:800;color:#F7931A;text-transform:uppercase;letter-spacing:0.8px;margin-bottom:4px;}
.cd-contact-card-desc{font-size:12px;color:#666;margin-bottom:8px;line-height:1.5;}
.cd-contact-card-email{font-size:12px;font-weight:700;}
.cd-contact-card-email a{color:#fff;text-decoration:none;transition:color 0.15s;}
.cd-contact-card-email a:hover{color:#F7931A;}
@media(max-width:768px){
  .cd-contact-strip{grid-template-columns:1fr;}
  .cd-contact-strip-left{padding-right:0;border-right:none;border-bottom:1px solid #1e1e2e;padding-bottom:1.5rem;margin-bottom:1.5rem;}
  .cd-contact-strip-right{padding-left:0;}
}


/* ── LOAD MORE BUTTON ───────────────────────────────── */
.cd-load-more-wrap{text-align:center;padding:1.5rem 0 0.5rem;}
.cd-load-more-btn{background:#fff;border:2px solid #F7931A;color:#F7931A;font-size:13px;font-weight:800;padding:12px 32px;border-radius:8px;cursor:pointer;transition:all 0.15s;letter-spacing:0.5px;text-transform:uppercase;}
.cd-load-more-btn:hover{background:#F7931A;color:#fff;}
.cd-load-more-btn:disabled{opacity:0.5;cursor:not-allowed;}

/* ── RELATED READING BLOCK ──────────────────────────── */
.cd-related-reading{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e5e5e5;border-left:4px solid #F7931A;border-radius:6px;padding:12px 16px;margin:1.5rem 0;box-shadow:0 1px 4px rgba(0,0,0,0.06);}
.cd-related-label{font-size:10px;font-weight:800;color:#F7931A;text-transform:uppercase;letter-spacing:1px;white-space:nowrap;flex-shrink:0;}
.cd-related-link{font-size:14px;font-weight:700;color:#0f1117;text-decoration:none;display:flex;align-items:center;gap:8px;flex:1;}
.cd-related-link:hover{color:#F7931A;}
.cd-related-arrow{color:#F7931A;font-size:16px;flex-shrink:0;}

/* ── COMPREHENSIVE MOBILE FIXES ─────────────────────── */
@media(max-width:768px){

  /* Navbar */
  #cd-navbar{padding:0 0.75rem !important;height:52px !important;gap:0.5rem !important;flex-wrap:nowrap !important;}
  #cd-navbar .cd-nav-links{display:none !important;}
  #cd-navbar .cd-nav-right{margin-left:auto !important;flex-shrink:0 !important;}
  #cd-navbar .cd-search{width:130px !important;min-width:100px !important;font-size:11px !important;padding:6px 8px !important;box-sizing:border-box !important;}
  #cd-navbar .cd-logo{flex-shrink:0 !important;}
  #cd-navbar .cd-logo-text{font-size:17px !important;}

  /* Ticker */
  #cd-ticker{height:34px;}
  #cd-ticker .cd-ticker-badge{font-size:10px;padding:0 12px;letter-spacing:1px;}
  #cd-ticker .cd-ticker-item{font-size:12px;padding:0 1rem;}

  /* Price bar */
  #cd-price-bar{height:30px;}
  .cd-price-item{padding:0 10px;}
  .cd-p-coin{font-size:11px;}
  .cd-p-val{font-size:11px;}
  .cd-p-up,.cd-p-dn{font-size:10px;}

  /* Category bar */
  #cd-cat-bar{top:52px;padding:0 0.5rem;}
  #cd-cat-bar a{padding:10px 10px;font-size:11px;}

  /* Page layout */
  .cd-page-wrap{padding:0.75rem;gap:1rem;grid-template-columns:1fr !important;}
  .cd-sidebar{padding-left:0;margin-top:1rem;}

  /* Article cards - stack vertically on mobile */
  .cd-article-card{flex-direction:column !important;min-height:auto !important;height:auto !important;}
  .cd-article-card>a{width:100% !important;min-width:100% !important;height:180px !important;}
  .cd-article-card>a img{width:100% !important;min-width:100% !important;height:180px !important;object-fit:cover !important;}
  .cd-card-img-wrap{width:100% !important;min-width:100% !important;height:180px !important;}
  .cd-card-img-wrap img{width:100% !important;height:180px !important;object-fit:cover !important;}
  .cd-article-card .cd-card-body{padding:0.85rem 1rem;}
  .cd-article-card h2{font-size:15px;-webkit-line-clamp:3;}
  .cd-excerpt{-webkit-line-clamp:2;}

  /* Single article */
  .cd-single-wrap{padding:0.75rem;gap:1rem;grid-template-columns:1fr !important;}
  .cd-article-body{padding:1rem !important;}
  .cd-article-headline{font-size:22px !important;}
  .cd-article-content p{font-size:16px !important;line-height:1.75 !important;}
  .cd-article-content h2{font-size:18px !important;}
  .cd-article-meta-bar{gap:8px;}
  .cd-meta-sep{display:none;}

  /* Also Trending widget */
  .cd-widget-dark{margin-bottom:0.75rem;}
  .cd-trend-item{padding:10px 12px;}
  .cd-trend-num{font-size:16px;min-width:24px;}
  .cd-trend-body h4{font-size:13px;}

  /* Contact strip */
  .cd-contact-strip{grid-template-columns:1fr !important;padding:1.25rem;}
  .cd-contact-strip-left{padding-right:0;border-right:none;border-bottom:1px solid #1e1e2e;padding-bottom:1.25rem;margin-bottom:1.25rem;}
  .cd-contact-strip-right{padding-left:0;grid-template-columns:1fr !important;}
  .cd-contact-strip h2{font-size:17px;}

  /* Footer */
  .cd-footer-inner{grid-template-columns:1fr !important;gap:1.5rem;}
  .cd-footer-bottom{flex-direction:column;gap:6px;text-align:center;}
  #cd-footer{padding:2rem 1rem 1rem;}

  /* Related reading */
  .cd-related-reading{flex-direction:column;align-items:flex-start;gap:6px;}
  .cd-related-link{font-size:13px;}

  /* Share bar */
  .cd-share-bar{flex-wrap:wrap;gap:8px;}
}

@media(max-width:480px){
  #cd-navbar .cd-logo-text{font-size:16px;}
  #cd-navbar .cd-logo-icon svg{width:22px;height:22px;}
  .cd-article-card>a{height:160px !important;}
  .cd-article-card>a img{height:160px !important;}
  .cd-card-img-wrap{height:160px !important;}
  .cd-card-img-wrap img{height:160px !important;}
  .cd-page-wrap{padding:0.5rem;}
  .cd-article-headline{font-size:20px !important;}
}

/* ── MID-ARTICLE IMAGE FIXES ─────────────────────────── */
.cd-article-content img{
  max-width:100% !important;
  height:auto !important;
  display:block !important;
  border-radius:6px;
  margin:1.5rem auto;
}
.cd-article-content img.alignleft{
  float:left;
  margin:0 1.5rem 1rem 0;
  max-width:45% !important;
}
.cd-article-content img.alignright{
  float:right;
  margin:0 0 1rem 1.5rem;
  max-width:45% !important;
}
.cd-article-content img.aligncenter{
  display:block !important;
  margin:1.5rem auto !important;
  float:none !important;
  max-width:100% !important;
}
.cd-article-content .wp-caption{
  max-width:100% !important;
  height:auto !important;
}
.cd-article-content .wp-caption-text{
  font-size:12px;
  color:#888;
  text-align:center;
  font-style:italic;
  margin-top:6px;
  font-family:-apple-system,sans-serif;
}

/* ── MOBILE ARTICLE FIXES ────────────────────────────── */
@media(max-width:768px){
  .cd-single-wrap{padding:0.5rem !important;gap:0.75rem !important;}
  .cd-article-main{border-radius:8px;}
  .cd-article-body{padding:1rem 1rem 1.5rem !important;}
  .cd-article-headline{font-size:20px !important;letter-spacing:-0.3px !important;line-height:1.3 !important;}
  .cd-article-subheadline{font-size:15px !important;}
  .cd-article-meta-bar{gap:6px !important;flex-wrap:wrap !important;padding:10px 0 !important;}
  .cd-meta-sep{display:none !important;}
  .cd-meta-author{font-size:12px !important;}
  .cd-meta-date,.cd-meta-read{font-size:12px !important;}
  .cd-article-content p{font-size:16px !important;line-height:1.75 !important;margin-bottom:1.25rem !important;}
  .cd-article-content h2{font-size:18px !important;margin:1.5rem 0 0.75rem !important;}
  .cd-article-content h3{font-size:16px !important;}
  .cd-article-content img.alignleft,
  .cd-article-content img.alignright{
    float:none !important;
    max-width:100% !important;
    margin:1rem auto !important;
    display:block !important;
  }
  .cd-article-kicker{margin-bottom:10px !important;}
  .cd-share-bar{flex-wrap:wrap !important;gap:8px !important;padding:1rem 0 !important;}
  .cd-tradingview-wrap iframe,
  .tradingview-widget-container{height:280px !important;}
  .cd-related-reading{flex-direction:column !important;gap:6px !important;}
  .cd-related-link{font-size:13px !important;}
}
@media(max-width:480px){
  .cd-article-headline{font-size:18px !important;}
  .cd-article-content p{font-size:15px !important;}
  .cd-article-body{padding:0.85rem !important;}
}

/* ── LANGUAGE SWITCHER ───────────────────────────────── */
#cd-lang-switcher{position:fixed;bottom:24px;right:24px;z-index:9999;}
#cd-lang-btn{background:#111118;color:#fff;border:1px solid #2e2e4e;border-radius:8px;padding:8px 14px;font-size:12px;font-weight:700;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all 0.15s;box-shadow:0 2px 12px rgba(0,0,0,0.3);}
#cd-lang-btn:hover{border-color:#F7931A;color:#F7931A;}
#cd-lang-popup{display:none;position:absolute;bottom:46px;right:0;background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:8px;box-shadow:0 4px 20px rgba(0,0,0,0.15);min-width:160px;}
#cd-lang-popup.active{display:block;}
#cd-lang-popup a{display:block;padding:8px 12px;font-size:13px;color:#111;text-decoration:none;border-radius:4px;font-family:-apple-system,sans-serif;}
#cd-lang-popup a:hover{background:#FFF8F0;color:#F7931A;}
#cd-lang-popup a.active{color:#F7931A;font-weight:700;}
/* Hide default Google Translate bar */
.goog-te-banner-frame,.goog-te-gadget-icon,.goog-te-menu-value span:last-child,.goog-te-gadget span{display:none !important;}
.goog-te-gadget{height:0;overflow:hidden;}
body{top:0 !important;}

/* ── STATIC PAGE TYPOGRAPHY ─────────────────────────── */
.page .entry-content,
.page .post-content,
body.page .entry-content,
body.page article .entry-content{
  max-width:720px;
  margin:0 auto;
  padding:2rem 2.5rem;
  background:#fff;
  border-radius:10px;
  border:1px solid #e5e5e5;
}
.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3{
  font-family:Georgia,'Times New Roman',serif;
  font-weight:800;
  color:#0f1117;
  line-height:1.3;
  margin-bottom:1rem;
  letter-spacing:-0.3px;
}
.page .entry-content h1{font-size:clamp(22px,4vw,30px);margin-bottom:1.25rem;}
.page .entry-content h2{font-size:22px;margin-top:2rem;}
.page .entry-content h3{font-size:18px;margin-top:1.5rem;}
.page .entry-content p{
  font-family:Georgia,'Times New Roman',serif;
  font-size:17px;
  color:#2d2d2d;
  line-height:1.85;
  margin-bottom:1.5rem;
}
.page .entry-content a{
  color:#F7931A;
  text-decoration:none;
  font-weight:600;
}
.page .entry-content a:hover{
  text-decoration:underline;
}
.page .entry-content ul,
.page .entry-content ol{
  margin:0 0 1.5rem 1.5rem;
}
.page .entry-content ul li,
.page .entry-content ol li{
  font-family:Georgia,'Times New Roman',serif;
  font-size:16px;
  color:#2d2d2d;
  line-height:1.8;
  margin-bottom:6px;
}
.page .entry-content strong{
  font-weight:700;
  color:#0f1117;
}
.page .entry-content hr{
  border:none;
  border-top:1px solid #e5e5e5;
  margin:2rem 0;
}

/* Page title */
.page h1.entry-title,
.page .page-title{
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(24px,4vw,32px);
  font-weight:800;
  color:#0f1117;
  line-height:1.25;
  letter-spacing:-0.5px;
  margin-bottom:1.5rem;
  padding:2rem 2.5rem 0;
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}

/* Mobile page fixes */
@media(max-width:768px){
  .page .entry-content{
    padding:1rem 1rem 1.5rem;
    border-radius:8px;
  }
  .page .entry-content p{font-size:16px !important;}
  .page .entry-content h2{font-size:18px !important;}
  .page h1.entry-title{
    font-size:22px !important;
    padding:1rem 1rem 0;
  }
}

/* ── ARCHIVE / CATEGORY / TAG PAGES ─────────────────── */
.cd-archive-header{
  background:#fff;
  border:1px solid #e5e5e5;
  border-left:4px solid #F7931A;
  border-radius:8px;
  padding:1.25rem 1.5rem;
  margin-bottom:1.25rem;
}
.cd-archive-label{
  font-size:10px;
  font-weight:800;
  color:#F7931A;
  text-transform:uppercase;
  letter-spacing:1px;
  display:block;
  margin-bottom:6px;
  font-family:-apple-system,sans-serif;
}
.cd-archive-title{
  font-size:22px;
  font-weight:800;
  color:#0f1117;
  margin:0 0 6px;
  font-family:Georgia,serif;
  letter-spacing:-0.3px;
}
.cd-archive-desc{
  font-size:14px;
  color:#888;
  margin:4px 0 0;
  font-family:-apple-system,sans-serif;
}
.cd-archive-count{
  font-size:12px;
  color:#bbb;
  margin-top:6px;
  font-family:-apple-system,sans-serif;
}

/* Mobile archive fixes */
@media(max-width:768px){
  .cd-archive-header{padding:1rem;}
  .cd-archive-title{font-size:18px;}
}

/* ── RELATED READING VARIANTS ────────────────────────── */

/* Variant 1 — Dark (navy background, orange accent) */
.cd-related-reading-dark{
  display:flex;
  align-items:center;
  gap:12px;
  background:#111118;
  border:1px solid #1e1e2e;
  border-left:4px solid #F7931A;
  border-radius:6px;
  padding:12px 16px;
  margin:1.5rem 0;
}
.cd-related-reading-dark .cd-related-label{
  font-size:10px;
  font-weight:800;
  color:#F7931A;
  text-transform:uppercase;
  letter-spacing:1px;
  white-space:nowrap;
  flex-shrink:0;
  font-family:-apple-system,sans-serif;
}
.cd-related-reading-dark .cd-related-link{
  font-size:14px;
  font-weight:700;
  color:#e5e5e5;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:8px;
  flex:1;
  font-family:-apple-system,sans-serif;
}
.cd-related-reading-dark .cd-related-link:hover{color:#F7931A;}
.cd-related-reading-dark .cd-related-arrow{color:#F7931A;font-size:16px;flex-shrink:0;}

/* Variant 2 — Light (white background, orange accent) */
.cd-related-reading-light{
  display:flex;
  align-items:center;
  gap:12px;
  background:#fff;
  border:1px solid #e5e5e5;
  border-left:4px solid #F7931A;
  border-radius:6px;
  padding:12px 16px;
  margin:1.5rem 0;
  box-shadow:0 1px 4px rgba(0,0,0,0.06);
}
.cd-related-reading-light .cd-related-label{
  font-size:10px;
  font-weight:800;
  color:#F7931A;
  text-transform:uppercase;
  letter-spacing:1px;
  white-space:nowrap;
  flex-shrink:0;
  font-family:-apple-system,sans-serif;
}
.cd-related-reading-light .cd-related-link{
  font-size:14px;
  font-weight:700;
  color:#0f1117;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:8px;
  flex:1;
  font-family:-apple-system,sans-serif;
}
.cd-related-reading-light .cd-related-link:hover{color:#F7931A;}
.cd-related-reading-light .cd-related-arrow{color:#F7931A;font-size:16px;flex-shrink:0;}

/* Mobile related reading fixes */
@media(max-width:768px){
  .cd-related-reading-dark,
  .cd-related-reading-light,
  .cd-related-reading{flex-direction:column;align-items:flex-start;gap:6px;}
  .cd-related-reading-dark .cd-related-link,
  .cd-related-reading-light .cd-related-link,
  .cd-related-link{font-size:13px;}
}
