/*
Theme Name: CryptoFlash
Theme URI: https://cryptoflash.fr
Author: CryptoFlash
Description: Thème WordPress crypto style presse/éditorial avec fond crème, sidebar tendances, cours en direct et newsletter intégrée.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cryptoflash
Tags: crypto, news, editorial, press, finance
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
    --bg: #F8F5F0;
    --bg-warm: #F2EDE5;
    --bg-card: #FFFFFF;
    --bg-dark: #1A1814;
    --bg-dark-2: #2A2620;
    --gold: #C49B2A;
    --gold-dark: #A07D1A;
    --red: #C43333;
    --green: #1B9E4B;
    --blue: #2563EB;
    --purple: #7C3AED;
    --orange: #EA8C1A;
    --text: #1A1814;
    --text-2: #5C5850;
    --text-3: #9C978E;
    --border: #E5DFD5;
    --border-2: #D5CFC2;
    --shadow: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-hover: 0 6px 20px rgba(0,0,0,0.1);
}

* { margin:0; padding:0; box-sizing:border-box; }
body { background:var(--bg); color:var(--text); font-family:'DM Sans',sans-serif; line-height:1.6; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; height:auto; }

/* === WORDPRESS COMPAT === */
.alignleft { float:left; margin:0 1.5em 1.5em 0; }
.alignright { float:right; margin:0 0 1.5em 1.5em; }
.aligncenter { display:block; margin:0 auto 1.5em; }
.wp-caption { max-width:100%; }
.screen-reader-text { clip:rect(1px,1px,1px,1px); position:absolute!important; height:1px; width:1px; overflow:hidden; }
.sticky, .bypostauthor {}

/* === TOP BAR === */
.topbar { background:var(--bg-dark); color:var(--text-3); font-size:11px; padding:5px 0; }
.topbar .container { display:flex; justify-content:space-between; align-items:center; }
.topbar a { color:var(--text-3); text-decoration:none; }
.topbar a:hover { color:var(--gold); }

/* === HEADER === */
.site-header { background:var(--bg); text-align:center; padding:18px 0 14px; border-bottom:3px double var(--border-2); }
.logo-title { font-family:'Playfair Display',serif; font-size:38px; font-weight:800; color:var(--text); letter-spacing:-1px; text-decoration:none; display:inline-block; }
.logo-title span { color:var(--gold); }
.logo-sub { font-family:'Source Serif 4',serif; font-style:italic; font-size:12px; color:var(--text-3); margin-top:2px; }

/* === NAV === */
.main-nav { background:var(--bg); border-bottom:1px solid var(--border); width:100%; box-sizing:border-box; }
.main-nav .container { display:flex; align-items:center; justify-content:space-between; padding:8px 20px; gap:8px; width:100%; max-width:100%; }
.nav-pills, .nav-pills ul { display:flex; gap:4px; flex-wrap:wrap; list-style:none; }
.nav-pills a, .nav-pills li a { font-size:12px; font-weight:600; padding:5px 14px; border-radius:6px; color:var(--text-2); text-decoration:none; transition:all .2s; text-transform:uppercase; letter-spacing:.4px; }
.nav-pills a:hover, .nav-pills li a:hover { background:var(--bg-warm); color:var(--text); }
.nav-pills .current-menu-item a, .nav-pills a.active { background:var(--red); color:#fff; }
.nav-right { display:flex; gap:10px; align-items:center; }
.btn-sub { background:var(--gold); color:#fff; border:none; padding:6px 18px; border-radius:6px; font-size:12px; font-weight:700; cursor:pointer; font-family:inherit; text-decoration:none; display:inline-block; }
.btn-sub:hover { background:var(--gold-dark); }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.hamburger span { width:22px; height:2px; background:var(--text); border-radius:2px; }

/* === TICKER === */
.ticker { background:var(--red); overflow:hidden; height:28px; display:flex; align-items:center; }
.ticker-scroll { display:flex; gap:32px; animation:scroll 28s linear infinite; padding-left:12px; white-space:nowrap; }
@keyframes scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item { font-size:11px; color:#fff; font-weight:500; display:flex; gap:6px; align-items:center; }
.ticker-item .sym { font-family:'IBM Plex Mono',monospace; font-weight:600; }
.ticker-item .chg { font-family:'IBM Plex Mono',monospace; font-size:10px; }

/* === BREAKING LINE === */
.breaking-line { background:var(--bg-warm); border-bottom:1px solid var(--border); padding:6px 0; font-size:11px; overflow:hidden; }
.breaking-line .container { display:flex; gap:24px; color:var(--text-2); }
.breaking-line strong { color:var(--red); margin-right:6px; }

/* === CONTAINER === */
.container { max-width:1220px; margin:0 auto; padding:0 20px; }

/* === MAIN LAYOUT === */
.main-grid { display:grid; grid-template-columns:1fr 320px; gap:28px; margin-top:20px; }

/* === SECTION TITLES === */
.sec-title { font-family:'Playfair Display',serif; font-size:18px; font-weight:700; margin-bottom:14px; padding-bottom:8px; border-bottom:2px solid var(--text); display:flex; align-items:center; gap:8px; }

/* === HERO GRID === */
.hero-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:16px; margin-bottom:24px; }
.hero-card { background:var(--bg-card); border-radius:10px; overflow:hidden; box-shadow:var(--shadow); transition:all .3s; cursor:pointer; }
.hero-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.hero-card .img-wrap { width:100%; height:220px; overflow:hidden; position:relative; }
.hero-card.main .img-wrap { height:280px; }
.hero-card .img-wrap img { width:100%; height:100%; object-fit:cover; }
.hero-card .tag-badge { position:absolute; top:10px; left:10px; background:var(--bg-card); padding:3px 10px; border-radius:5px; font-size:10px; font-weight:700; color:var(--green); text-transform:uppercase; letter-spacing:.5px; box-shadow:var(--shadow); z-index:2; }
.hero-card .breaking-badge { position:absolute; bottom:14px; left:14px; background:var(--red); color:#fff; padding:4px 14px; border-radius:5px; font-size:11px; font-weight:700; letter-spacing:.5px; z-index:2; }
.hero-card .btc-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#1a1520,#2a1f30,#1a1520); }
.hero-card .btc-placeholder span { font-size:120px; opacity:.25; color:var(--gold); }
.hero-card .card-body { padding:16px 18px 18px; }
.hero-card .meta { font-size:11px; color:var(--text-3); margin-bottom:6px; }
.hero-card .meta .author, .hero-card .meta a { color:var(--gold); font-weight:600; }
.hero-card h3 { font-family:'Playfair Display',serif; font-size:18px; font-weight:700; line-height:1.3; margin-bottom:8px; }
.hero-card.main h3 { font-size:22px; }
.hero-card p, .hero-card .entry-excerpt { font-family:'Source Serif 4',serif; font-size:13px; color:var(--text-2); line-height:1.55; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.hero-card .stats { display:flex; gap:12px; margin-top:12px; padding-top:10px; border-top:1px solid var(--border); font-size:11px; color:var(--text-3); flex-wrap:wrap; }
.hero-card .stats .price-tag { font-family:'IBM Plex Mono',monospace; font-weight:600; background:var(--bg); padding:2px 8px; border-radius:4px; }

/* === HERO SIDE CARDS === */
.hero-side { display:flex; flex-direction:column; gap:12px; }
.hero-side-card { background:var(--bg-card); border-radius:10px; overflow:hidden; box-shadow:var(--shadow); cursor:pointer; transition:all .3s; }
.hero-side-card:hover { box-shadow:var(--shadow-hover); }
.hero-side-card .card-body { padding:14px 16px; }
.hero-side-card h4 { font-family:'Playfair Display',serif; font-size:15px; font-weight:700; line-height:1.3; margin-bottom:6px; }
.hero-side-card .side-tag { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--blue); margin-bottom:6px; }
.hero-side-card p { font-size:12px; color:var(--text-2); line-height:1.5; margin-bottom:10px; }
.hero-side-card .cat-btn { display:inline-block; background:var(--green); color:#fff; padding:6px 16px; border-radius:6px; font-size:11px; font-weight:700; text-decoration:none; }
.hero-side-card .price-row { display:flex; gap:10px; margin-top:8px; }
.hero-side-card .price-box { background:var(--bg); border-radius:6px; padding:6px 10px; flex:1; }
.hero-side-card .price-box .label { font-size:9px; color:var(--text-3); text-transform:uppercase; font-weight:600; }
.hero-side-card .price-box .val { font-family:'IBM Plex Mono',monospace; font-size:14px; font-weight:600; }

/* === ARTICLE CARD === */
.article-card { background:var(--bg-card); border-radius:10px; padding:20px; box-shadow:var(--shadow); margin-bottom:18px; transition:all .3s; cursor:pointer; }
.article-card:hover { box-shadow:var(--shadow-hover); }
.article-card .ac-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.article-card .ac-icon { width:40px; height:40px; border-radius:50%; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.article-card .ac-tag { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; margin-bottom:4px; color:var(--gold); }
.article-card h3 { font-family:'Playfair Display',serif; font-size:18px; font-weight:700; line-height:1.3; margin-bottom:8px; }
.article-card p { font-family:'Source Serif 4',serif; font-size:13px; color:var(--text-2); line-height:1.55; }
.article-card .ac-meta { font-size:11px; color:var(--text-3); margin-top:10px; }

/* === CRYPTO CARDS === */
.crypto-section { margin-bottom:24px; }
.crypto-section .sub-label { font-size:11px; color:var(--text-3); margin-bottom:10px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.crypto-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; margin-bottom:16px; }
.crypto-card { background:var(--bg-card); border-radius:10px; overflow:hidden; box-shadow:var(--shadow); cursor:pointer; transition:all .3s; }
.crypto-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.crypto-card .cc-header { display:flex; align-items:center; gap:8px; padding:12px 14px 0; }
.crypto-card .cc-icon { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; color:#fff; }
.crypto-card .cc-name { font-weight:600; font-size:13px; }
.crypto-card .cc-price { padding:4px 14px; font-family:'IBM Plex Mono',monospace; font-size:16px; font-weight:600; }
.crypto-card .cc-change { padding:0 14px 4px; font-family:'IBM Plex Mono',monospace; font-size:11px; }
.cc-change.up { color:var(--green); }
.cc-change.down { color:var(--red); }
.crypto-card .cc-chart { height:65px; padding:0 10px 10px; display:flex; align-items:flex-end; gap:2px; }
.crypto-card .cc-chart .bar { flex:1; border-radius:1px 1px 0 0; min-height:2px; }

/* === SIDEBAR === */
.sidebar { display:flex; flex-direction:column; gap:20px; }
.side-card { background:var(--bg-card); border-radius:10px; padding:16px; box-shadow:var(--shadow); }
.side-card h3 { font-family:'Playfair Display',serif; font-size:15px; font-weight:700; margin-bottom:12px; padding-bottom:8px; border-bottom:2px solid var(--text); display:flex; align-items:center; gap:6px; }
.trend-list { display:flex; flex-direction:column; gap:0; }
.trend-item { display:flex; gap:10px; align-items:flex-start; padding:9px 0; border-bottom:1px solid var(--border); cursor:pointer; transition:padding-left .2s; }
.trend-item:hover { padding-left:4px; }
.trend-item:last-child { border-bottom:none; }
.trend-item .t-icon { width:30px; height:30px; border-radius:50%; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:13px; flex-shrink:0; }
.trend-item .t-text h5 { font-size:12px; font-weight:600; line-height:1.3; }
.trend-item .t-text span { font-size:10px; color:var(--text-3); }
.moment-item { display:flex; gap:8px; align-items:center; padding:8px 0; border-bottom:1px solid var(--border); }
.moment-item:last-child { border-bottom:none; }
.moment-item .m-icon { width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; flex-shrink:0; }
.moment-item .m-text { font-size:11px; font-weight:500; line-height:1.3; }

/* Newsletter sidebar */
.nl-card { background:linear-gradient(135deg, #FEF3C7, #FDE68A) !important; border:1px solid #F59E0B33; }
.nl-card h3 { border-bottom-color:var(--gold) !important; }
.nl-card p { font-size:12px; color:var(--text-2); margin-bottom:10px; line-height:1.5; }
.nl-input { display:flex; gap:6px; }
.nl-input input { flex:1; background:#fff; border:1px solid var(--border-2); border-radius:6px; padding:7px 10px; font-size:12px; font-family:inherit; outline:none; }
.nl-input input:focus { border-color:var(--gold); }
.nl-input button { background:var(--gold); color:#fff; border:none; padding:7px 14px; border-radius:6px; font-size:11px; font-weight:700; cursor:pointer; font-family:inherit; white-space:nowrap; }

/* === SINGLE POST === */
.single-header { margin-bottom:20px; }
.single-header .cat-tag { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:8px; display:inline-block; }
.single-header h1 { font-family:'Playfair Display',serif; font-size:32px; font-weight:800; line-height:1.25; margin-bottom:12px; }
.single-header .single-meta { font-size:12px; color:var(--text-3); }
.single-header .single-meta a { color:var(--gold); font-weight:600; }
.single-featured { width:100%; border-radius:12px; overflow:hidden; margin-bottom:24px; max-height:450px; }
.single-featured img { width:100%; height:100%; object-fit:cover; }
.entry-content { font-family:'Source Serif 4',serif; font-size:16px; line-height:1.75; color:var(--text-2); }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family:'Playfair Display',serif; color:var(--text); margin:28px 0 12px; }
.entry-content p { margin-bottom:18px; }
.entry-content blockquote { border-left:3px solid var(--gold); margin:24px 0; padding:16px 20px; background:var(--bg-warm); border-radius:0 8px 8px 0; font-style:italic; }
.entry-content a { color:var(--gold); text-decoration:underline; }
.post-tags { display:flex; gap:6px; flex-wrap:wrap; margin:24px 0; }
.post-tags a { background:var(--bg); border:1px solid var(--border); padding:4px 12px; border-radius:6px; font-size:11px; color:var(--text-2); }
.post-nav { display:flex; justify-content:space-between; padding:20px 0; border-top:1px solid var(--border); margin-top:20px; }
.post-nav a { color:var(--gold); font-size:13px; font-weight:600; }

/* === ARCHIVE / SEARCH === */
.archive-header { margin-bottom:24px; }
.archive-header h1 { font-family:'Playfair Display',serif; font-size:26px; font-weight:700; }
.archive-header p { font-family:'Source Serif 4',serif; color:var(--text-2); font-size:14px; margin-top:6px; }
.news-list { display:flex; flex-direction:column; gap:0; }
.news-item { display:flex; gap:18px; padding:18px 0; border-bottom:1px solid var(--border); cursor:pointer; transition:padding-left .2s; }
.news-item:hover { padding-left:6px; }
.news-item .news-thumb { width:160px; min-height:110px; border-radius:10px; flex-shrink:0; overflow:hidden; }
.news-item .news-thumb img { width:100%; height:100%; object-fit:cover; }
.news-item .news-content { flex:1; }
.news-item .news-tag { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.8px; margin-bottom:4px; display:inline-block; }
.news-item h4 { font-family:'Playfair Display',serif; font-size:16px; font-weight:700; line-height:1.3; margin-bottom:6px; }
.news-item p { font-family:'Source Serif 4',serif; font-size:13px; color:var(--text-2); line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-item .item-meta { font-size:11px; color:var(--text-3); margin-top:6px; }
.pagination { display:flex; justify-content:center; gap:6px; margin:30px 0; }
.pagination a, .pagination span { padding:6px 12px; border-radius:6px; font-size:13px; background:var(--bg-card); box-shadow:var(--shadow); color:var(--text-2); }
.pagination .current { background:var(--bg-dark); color:#fff; }

/* === COMMENTS === */
.comments-area { margin-top:30px; }
.comments-area h3 { font-family:'Playfair Display',serif; font-size:18px; margin-bottom:16px; }
.comment-list { list-style:none; }
.comment-list .comment { padding:14px 0; border-bottom:1px solid var(--border); }
.comment-author { font-weight:600; font-size:13px; }
.comment-meta { font-size:11px; color:var(--text-3); }
.comment-content { font-size:14px; color:var(--text-2); margin-top:6px; }
.comment-respond input, .comment-respond textarea { background:var(--bg-card); border:1px solid var(--border); border-radius:8px; padding:10px 14px; font-family:inherit; font-size:13px; color:var(--text); width:100%; outline:none; margin-bottom:10px; }
.comment-respond input[type="submit"] { background:var(--gold); color:#fff; border:none; padding:10px 24px; cursor:pointer; font-weight:700; width:auto; }

/* === 404 === */
.error-404 { text-align:center; padding:80px 20px; }
.error-404 h1 { font-family:'IBM Plex Mono',monospace; font-size:80px; color:var(--gold); }
.error-404 p { font-size:16px; color:var(--text-2); margin:16px 0 24px; }
.error-404 a { display:inline-block; background:var(--gold); color:#fff; padding:10px 24px; border-radius:8px; font-weight:700; }

/* === FOOTER === */
footer { background:var(--bg-dark); color:#A8A29E; padding:40px 0 20px; margin-top:40px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; margin-bottom:28px; }
.footer-brand h3 { font-family:'Playfair Display',serif; font-size:22px; color:#E7E5E4; margin-bottom:8px; }
.footer-brand h3 span { color:var(--gold); }
.footer-brand p { font-size:12px; line-height:1.6; }
.footer-col h4 { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; color:#D6D3D1; margin-bottom:12px; }
.footer-col a { display:block; color:#A8A29E; text-decoration:none; font-size:12px; padding:2px 0; }
.footer-col a:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid #292524; padding-top:16px; display:flex; justify-content:space-between; font-size:11px; color:#78716C; }
.footer-bottom a { color:#78716C; text-decoration:none; margin-left:14px; }
.footer-bottom a:hover { color:var(--gold); }

/* === ANIMATIONS === */
.fade-in { opacity:0; transform:translateY(12px); animation:fadeUp .5s ease forwards; }
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }
.d1 { animation-delay:.06s; } .d2 { animation-delay:.12s; }

/* === RESPONSIVE === */
@media(max-width:1024px) {
    .main-grid { grid-template-columns:1fr; }
    .hero-grid { grid-template-columns:1fr; }
    .crypto-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:640px) {
    .crypto-grid { grid-template-columns:1fr; }
    .nav-pills { display:none; }
    .hamburger { display:flex; }
    .logo-title { font-size:28px; }
    .footer-grid { grid-template-columns:1fr; }
    .hero-card.main h3 { font-size:18px; }
    .news-item { flex-direction:column; }
    .news-item .news-thumb { width:100%; min-height:160px; }
}


/* === FINAL ALIGNMENT === */
.main-nav .container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Centrer le header avec le même container */
.site-header {
    max-width: 100% !important;
}

/* Supprimer le top bar noir si pas configuré */
.topbar .container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 5px 32px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* === NAV SPREAD === */
.nav-pills, .nav-pills ul {
    flex: 1 !important;
    display: flex !important;
    justify-content: space-between !important;
    margin-right: 30px !important;
}
.nav-pills li {
    list-style: none !important;
}

/* === TYPOGRAPHY UPGRADE === */
.nav-pills a, .nav-pills li a {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    padding: 8px 20px !important;
    font-family: "DM Sans", sans-serif !important;
}
.logo-title {
    font-size: 46px !important;
}
.logo-sub {
    font-size: 13px !important;
}
.sec-title {
    font-size: 22px !important;
}
.hero-card.main h3 {
    font-size: 24px !important;
}
.hero-card h3 {
    font-size: 20px !important;
}
.hero-card p, .hero-card .entry-excerpt {
    font-size: 14px !important;
}
.hero-card .meta {
    font-size: 12px !important;
}
.article-card h3 {
    font-size: 20px !important;
}
.article-card p {
    font-size: 14px !important;
}
.crypto-card .cc-name {
    font-size: 15px !important;
}
.crypto-card .cc-price {
    font-size: 18px !important;
}
.side-card h3 {
    font-size: 17px !important;
}
.trend-item .t-text h5 {
    font-size: 13px !important;
}
.moment-item .m-text {
    font-size: 12px !important;
}
.nl-card p {
    font-size: 13px !important;
}
.btn-sub {
    font-size: 14px !important;
}
.ticker-item {
    font-size: 12px !important;
}
.ticker-item .sym {
    font-size: 13px !important;
    font-weight: 700 !important;
}
.breaking-line {
    font-size: 12px !important;
}

/* === SIDEBAR PRO === */
.t-rank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.t-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.t-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Opportunités card */
.oppo-card {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE) !important;
    border: 1px solid #93C5FD !important;
}
.oppo-card h3 {
    border-bottom-color: var(--blue) !important;
}
.oppo-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(147,197,253,0.3);
}
.oppo-item:last-child { border-bottom: none; }
.oppo-item .oppo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.oppo-item .oppo-text {
    flex: 1;
}
.oppo-item .oppo-text h5 {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
}
.oppo-item .oppo-text span {
    font-size: 10px;
    color: var(--text-3);
}
.oppo-item .oppo-badge {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}
.oppo-badge.up { background: #DCFCE7; color: var(--green); }
.oppo-badge.down { background: #FEE2E2; color: var(--red); }

/* === FOOTER PRO === */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-dark-2);
    color: #A8A29E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
}
.social-btn:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}
.footer-disclaimer {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 11px;
    line-height: 1.6;
    color: #78716C;
    margin-bottom: 20px;
}
.footer-disclaimer strong {
    color: #D6D3D1;
}

/* === HERO UPGRADE === */
.hero-card.main h3 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}
.hero-card.main h3 a {
    color: var(--text) !important;
}
.hero-card.main h3 a:hover {
    color: var(--gold) !important;
}
.hero-card .entry-excerpt {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--text-2) !important;
    margin-bottom: 12px !important;
}
.read-more-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 16px;
    border-radius: 6px;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.read-more-btn:hover {
    background: var(--gold);
    color: #fff;
}

/* === TICKER DYNAMIC COLOR === */
.ticker.bullish {
    background: linear-gradient(90deg, #15803D, #16A34A) !important;
}
.ticker.bearish {
    background: linear-gradient(90deg, #B91C1C, #DC2626) !important;
}
.ticker .sym {
    font-weight: 800 !important;
    font-size: 13px !important;
}
.ticker .ticker-item {
    font-weight: 600 !important;
}

/* === CTA LINK === */
.cta-link {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    border-top: 1px solid var(--border);
    margin-top: 8px;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.cta-link:hover {
    color: var(--gold-dark);
}

/* === FOOTER BADGE === */
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(196,155,42,0.15);
    border: 1px solid rgba(196,155,42,0.3);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 12px;
}
.footer-badge span {
    font-size: 14px;
}

/* === TRADFI CARD === */
.tradfi-card {
    background: linear-gradient(135deg, #F0FDF4, #ECFDF5) !important;
    border: 1px solid #86EFAC !important;
}
.tradfi-card h3 {
    border-bottom-color: #22C55E !important;
}
