/* BTC Currencies – Premium Crypto Portal Design System v4.0 */
/* Site: btcurrencies.com | Theme: vmag-child                  */
/* ============================================================ */


/* ============================================================
   SECTION 1: CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */

:root {
    /* Backgrounds */
    --bg:           #080c14;
    --surface:      #0d1520;
    --surface2:     #111c2d;

    /* Borders */
    --border:       #1a2640;
    --border2:      #243350;

    /* Text */
    --text:         #e8edf5;
    --text2:        #8899b4;
    --text3:        #4d6080;

    /* Accents */
    --accent:       #f7931a;
    --accent2:      #3b82f6;

    /* Status colors */
    --green:        #10b981;
    --red:          #ef4444;
    --gold:         #e8b84b;

    /* Layout */
    --header-h:     64px;
    --ticker-h:     40px;
    --radius:       6px;
    --radius-lg:    10px;

    /* Shadows */
    --shadow:       0 2px 8px rgba(0, 0, 0, .4);
    --shadow-lg:    0 8px 32px rgba(0, 0, 0, .5);

    /* Motion */
    --transition:   .2s cubic-bezier(.4, 0, .2, 1);

    /* Typography */
    --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-h:       'Roboto Condensed', 'Inter', -apple-system, sans-serif;
}


/* ============================================================
   SECTION 2: GLOBAL RESET + BODY
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
}

body {
    background:   var(--bg);
    color:        var(--text);
    font-family:  var(--font);
    font-size:    15px;
    line-height:  1.6;
    -webkit-font-smoothing:  antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x:   hidden;
}

body ::selection {
    background: var(--accent);
    color: #000;
}

body ::-moz-selection {
    background: var(--accent);
    color: #000;
}

img,
video,
svg {
    display:    block;
    max-width:  100%;
    height:     auto;
}

a {
    color:           var(--accent2);
    text-decoration: none;
    transition:      color var(--transition);
}

a:hover {
    color: var(--accent);
}

button {
    font-family: var(--font);
    cursor:      pointer;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family:  var(--font-h);
    font-weight:  800;
    line-height:  1.2;
    color:        var(--text);
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

input,
textarea,
select {
    font-family: var(--font);
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ============================================================
   SECTION 3: CRITICAL VMAG OVERRIDES
   ============================================================ */

/* Hide ALL conflicting VMag chrome elements */
.vmag-top-header,
#masthead.site-header,
#colophon.site-footer,
.homepage-slider-section,
.btc-price-bar,
#btc-sticky-bar,
#scroll-up,
.vmag-header-wrap,
.site-branding,
.main-navigation,
.vmag-bottom-bar,
.vmag-ad-wrap,
.vmag-breaking-news,
.vmag-carousel-section,
.vmag-tab-section,
.vmag-magazine-section,
.vmag-video-section {
    display: none !important;
}

/* Reset VMag page wrapper */
#page.site {
    background:  none !important;
    padding:     0   !important;
    margin:      0   !important;
    max-width:   none !important;
}

/* Reset VMag content area */
#content.site-content {
    margin:  0 !important;
    padding: 0 !important;
}

/* Override any VMag inline widths */
.site-inner,
.content-area {
    width:   100% !important;
    max-width: none !important;
    float:   none !important;
}

/* Remove any default WordPress body padding when admin bar is present */
.admin-bar body {
    /* handled per element */
}


/* ============================================================
   SECTION 4: HEADER — #btc-header
   ============================================================ */

#btc-header {
    position:       sticky;
    top:            0;
    z-index:        1000;
    height:         var(--header-h);
    background:     rgba(8, 12, 20, .97);
    border-bottom:  1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    will-change:    transform;
}

.admin-bar #btc-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar #btc-header {
        top: 46px;
    }
}

/* Inner container for header */
#btc-header .btcp-container,
.btc-header-inner {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    height:          100%;
    gap:             24px;
}

/* Logo */
.btc-header-logo {
    flex-shrink: 0;
    display:     block;
}

.btc-header-logo img,
.btc-header-logo svg {
    height:    36px;
    max-width: 160px;
    width:     auto;
}

/* Main navigation */
.btc-header-nav {
    display:    flex;
    align-items: center;
    gap:         4px;
    flex:        1;
    justify-content: center;
}

.btc-header-nav > ul {
    display:    flex;
    align-items: center;
    gap:         4px;
    list-style:  none;
    margin:      0;
    padding:     0;
}

.btc-header-nav > ul > li {
    position: relative;
}

.btc-header-nav > ul > li > a {
    display:        flex;
    align-items:    center;
    gap:            4px;
    padding:        0 12px;
    height:         var(--header-h);
    font-size:      14px;
    font-weight:    500;
    color:          var(--text2);
    text-decoration: none;
    white-space:    nowrap;
    border-bottom:  2px solid transparent;
    transition:     color var(--transition), border-color var(--transition);
}

.btc-header-nav > ul > li > a:hover,
.btc-header-nav > ul > li.current-menu-item > a,
.btc-header-nav > ul > li.current-menu-ancestor > a {
    color:         var(--accent);
    border-bottom-color: var(--accent);
}

/* Dropdown menus */
.btc-header-nav .sub-menu {
    position:   absolute;
    top:        calc(100% + 1px);
    left:       0;
    min-width:  220px;
    background: var(--surface);
    border:     1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    z-index:    999;
    opacity:    0;
    visibility: hidden;
    transform:  translateY(-6px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    list-style: none;
    padding:    6px 0;
}

.btc-header-nav li:hover > .sub-menu,
.btc-header-nav li:focus-within > .sub-menu {
    opacity:    1;
    visibility: visible;
    transform:  translateY(0);
}

.btc-header-nav .sub-menu li a {
    display:     block;
    padding:     9px 18px;
    font-size:   13px;
    font-weight: 500;
    color:       var(--text2);
    white-space: nowrap;
    transition:  color var(--transition), background var(--transition);
}

.btc-header-nav .sub-menu li a:hover {
    color:       var(--accent);
    background:  var(--surface2);
}

/* Header action buttons */
.btc-header-actions {
    display:    flex;
    align-items: center;
    gap:         8px;
    flex-shrink: 0;
}

/* Search icon button */
.btc-header-search-btn {
    background: none;
    border:     none;
    color:      var(--text2);
    padding:    8px;
    display:    flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    font-size:  18px;
    line-height: 1;
}

.btc-header-search-btn:hover {
    color:       var(--text);
    background:  var(--surface2);
}

/* Buy crypto CTA button */
.btc-header-cta {
    display:       inline-flex;
    align-items:   center;
    gap:           6px;
    background:    var(--accent);
    color:         #000;
    font-size:     13px;
    font-weight:   700;
    padding:       8px 18px;
    border-radius: 20px;
    text-decoration: none;
    white-space:   nowrap;
    transition:    background var(--transition), transform var(--transition);
    border:        none;
    letter-spacing: .3px;
}

.btc-header-cta:hover {
    background: #e8850f;
    color:      #000;
    transform:  translateY(-1px);
}

/* Hamburger (mobile only) */
.btc-hamburger {
    display:    none;
    background: none;
    border:     none;
    color:      var(--text2);
    padding:    8px;
    font-size:  22px;
    line-height: 1;
    transition: color var(--transition);
}

.btc-hamburger:hover {
    color: var(--text);
}


/* ============================================================
   SECTION 5: TICKER BAR — #btc-ticker-bar
   ============================================================ */

#btc-ticker-bar {
    position:       sticky;
    top:            var(--header-h);
    z-index:        999;
    height:         var(--ticker-h);
    background:     var(--surface);
    border-bottom:  1px solid var(--border);
    display:        flex;
    align-items:    center;
    overflow:       hidden;
}

.admin-bar #btc-ticker-bar {
    top: calc(var(--header-h) + 32px);
}

@media (max-width: 782px) {
    .admin-bar #btc-ticker-bar {
        top: calc(var(--header-h) + 46px);
    }
}

/* Inner wrapper */
.btc-ticker-wrap {
    display:    flex;
    align-items: center;
    height:     100%;
    width:      100%;
    gap:        0;
}

/* Live badge on left */
.btc-ticker-live {
    display:      flex;
    align-items:  center;
    gap:          6px;
    padding:      0 16px;
    font-size:    10px;
    font-weight:  800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color:        var(--green);
    white-space:  nowrap;
    border-right: 1px solid var(--border);
    flex-shrink:  0;
    height:       100%;
}

.btc-ticker-live::before {
    content:          '';
    display:          inline-block;
    width:            6px;
    height:           6px;
    border-radius:    50%;
    background:       var(--green);
    animation:        ticker-pulse 2s ease infinite;
}

@keyframes ticker-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.8); }
}

/* Scrolling items container */
.btc-ticker-inner {
    display:      flex;
    align-items:  center;
    flex:         1;
    overflow:     hidden;
    height:       100%;
    gap:          0;
}

/* Individual ticker item */
.btc-tick-item {
    display:      inline-flex;
    align-items:  center;
    gap:          6px;
    padding:      0 20px;
    font-size:    12px;
    white-space:  nowrap;
    border-right: 1px solid var(--border);
    height:       100%;
    color:        var(--text2);
}

.btc-tick-sym {
    font-weight: 700;
    color:       var(--text);
    font-size:   11px;
}

.btc-tick-price {
    font-weight: 600;
    color:       var(--text);
}

/* Price change indicators */
.btc-up {
    color: var(--green);
    font-weight: 700;
}

.btc-dn {
    color: var(--red);
    font-weight: 700;
}


/* ============================================================
   SECTION 6: CONTAINER AND LAYOUT UTILITIES
   ============================================================ */

.btcp-container {
    max-width: 1360px;
    margin:    0 auto;
    padding:   0 24px;
    width:     100%;
}

.btcp-page {
    min-height: 100vh;
}

/* Clearfix */
.clearfix::after {
    content:  '';
    display:  table;
    clear:    both;
}

/* Visually hidden but accessible */
.sr-only {
    position: absolute;
    width:    1px;
    height:   1px;
    overflow: hidden;
    clip:     rect(0, 0, 0, 0);
    white-space: nowrap;
}


/* ============================================================
   SECTION 7: AD STRIP AND AD ZONES
   ============================================================ */

/* Top leaderboard ad strip */
.btcp-ad-strip {
    padding:       12px 0;
    border-bottom: 1px solid var(--border);
    background:    var(--surface);
}

.btcp-ad-leaderboard {
    display:         flex;
    align-items:     center;
    justify-content: center;
    min-height:      90px;
    width:           100%;
}

/* In-feed ad between sections */
.btcp-ad-infeed {
    margin:        32px 0;
    padding:       20px;
    background:    var(--surface);
    border-radius: var(--radius);
    border:        1px solid var(--border);
    text-align:    center;
}

/* Sidebar rectangle ad */
.btcp-ad-rect {
    padding:    12px 16px 16px;
    text-align: center;
}

.btcp-ad-rect .adsbygoogle,
.btcp-ad-rect ins {
    margin: 0 auto;
}

/* Ad label */
.btcp-ad-label {
    font-size:      9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color:          var(--text3);
    margin-bottom:  6px;
    text-align:     center;
}

/* Placeholder when no real ad configured */
.btcp-ad-placeholder {
    display:         flex;
    align-items:     center;
    justify-content: center;
    border:          1px dashed var(--border2);
    background:      repeating-linear-gradient(
                         45deg,
                         transparent,
                         transparent 4px,
                         rgba(26, 38, 64, .2) 4px,
                         rgba(26, 38, 64, .2) 8px
                     );
    border-radius:   var(--radius);
    color:           var(--text3);
    font-size:       11px;
    letter-spacing:  .5px;
    margin:          0 auto;
}


/* ============================================================
   SECTION 8: HERO SECTION
   ============================================================ */

.btcp-hero {
    padding: 0;
    margin:  0;
}

/* Hero grid: main feature + side stack */
.btcp-hero-layout {
    display:               grid;
    grid-template-columns: 1fr 380px;
    gap:                   2px;
    height:                500px;
    background:            var(--border);
    border-radius:         var(--radius-lg);
    overflow:              hidden;
}

/* ── Main Feature Card ────────────────────────────────────── */

.btcp-hero-feature {
    position:   relative;
    overflow:   hidden;
    display:    block;
    height:     100%;
}

.btcp-hero-feature-link {
    display:         block;
    height:          100%;
    color:           inherit;
    text-decoration: none;
}

.btcp-hero-feature-img {
    position: absolute;
    inset:    0;
    width:    100%;
    height:   100%;
}

.btcp-hero-feature-img img {
    width:            100%;
    height:           100%;
    object-fit:       cover;
    object-position:  center top;
    transition:       transform 6s ease;
    display:          block;
}

.btcp-hero-feature:hover .btcp-hero-feature-img img {
    transform: scale(1.04);
}

/* Gradient overlay */
.btcp-hero-feature-overlay {
    position:   absolute;
    bottom:     0;
    left:       0;
    right:      0;
    background: linear-gradient(
        transparent 0%,
        rgba(8, 12, 20, .55) 25%,
        rgba(8, 12, 20, .92) 70%,
        rgba(8, 12, 20, .98) 100%
    );
    padding:    80px 28px 28px;
    animation:  fadeInUp .5s ease both;
}

.btcp-hero-feature-title {
    font-size:    clamp(1.4rem, 2.2vw, 2.1rem);
    font-weight:  800;
    color:        #ffffff;
    line-height:  1.2;
    margin:       8px 0 12px;
    font-family:  var(--font-h);
    text-shadow:  0 1px 4px rgba(0, 0, 0, .5);
    letter-spacing: -.01em;
}

.btcp-hero-feature-title a {
    color:           #fff;
    text-decoration: none;
}

.btcp-hero-feature-title a:hover {
    color: rgba(255, 255, 255, .85);
}

.btcp-hero-feature-meta {
    font-size: 12px;
    color:     rgba(255, 255, 255, .6);
    display:   flex;
    align-items: center;
    gap:       6px;
}

.btcp-hero-author {
    font-weight: 600;
    color:       rgba(255, 255, 255, .75);
}

.btcp-hero-sep {
    color: rgba(255, 255, 255, .35);
}

/* FEATURED badge (absolute positioned in overlay) */
.btcp-featured-badge {
    position:       absolute;
    top:            16px;
    left:           16px;
    background:     var(--gold);
    color:          #000;
    font-size:      9px;
    font-weight:    900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding:        3px 8px;
    border-radius:  2px;
    pointer-events: none;
}

/* ── Hero Side Stack ──────────────────────────────────────── */

.btcp-hero-stack {
    display:               grid;
    grid-template-rows:    repeat(4, 1fr);
    gap:                   2px;
    background:            var(--border);
    height:                100%;
}

.btcp-hero-secondary {
    background:      var(--surface);
    display:         flex;
    gap:             12px;
    padding:         14px;
    align-items:     flex-start;
    text-decoration: none;
    transition:      background var(--transition);
    overflow:        hidden;
}

.btcp-hero-secondary:hover {
    background: var(--surface2);
}

.btcp-hero-secondary-img-link {
    flex-shrink:   0;
    display:       block;
    width:         88px;
    height:        64px;
    overflow:      hidden;
    border-radius: 4px;
}

.btcp-hero-secondary-img-link img {
    width:       100%;
    height:      100%;
    object-fit:  cover;
    object-position: center;
    transition:  transform .4s ease;
}

.btcp-hero-secondary:hover .btcp-hero-secondary-img-link img {
    transform: scale(1.05);
}

.btcp-hero-secondary-body {
    flex:      1;
    min-width: 0;
}

.btcp-hero-secondary-title {
    font-size:           13px;
    font-weight:         700;
    color:               var(--text);
    line-height:         1.4;
    margin:              6px 0 5px;
    display:             -webkit-box;
    -webkit-line-clamp:  3;
    -webkit-box-orient:  vertical;
    overflow:            hidden;
    font-family:         var(--font);
}

.btcp-hero-secondary-title a {
    color:           inherit;
    text-decoration: none;
}

.btcp-hero-secondary:hover .btcp-hero-secondary-title,
.btcp-hero-secondary:hover .btcp-hero-secondary-title a {
    color: var(--accent);
}

.btcp-secondary-meta {
    font-size: 11px;
    color:     var(--text3);
}


/* ============================================================
   SECTION 9: BREAKING / TRENDING BAR
   ============================================================ */

.btcp-breaking-bar {
    background:    var(--surface);
    border-bottom: 1px solid var(--border);
    height:        40px;
    display:       flex;
    align-items:   center;
    overflow:      hidden;
}

.btcp-breaking-bar .btcp-container {
    display:     flex;
    align-items: center;
    gap:         16px;
    height:      100%;
    overflow:    hidden;
}

.btcp-breaking-label {
    font-size:      10px;
    font-weight:    900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color:          #000;
    background:     var(--accent);
    padding:        3px 10px;
    white-space:    nowrap;
    flex-shrink:    0;
    border-radius:  2px;
    line-height:    1.8;
}

.btcp-breaking-items {
    display:   flex;
    gap:       0;
    overflow:  hidden;
    flex:      1;
    height:    100%;
    align-items: center;
}

.btcp-breaking-item {
    font-size:    12px;
    color:        var(--text2);
    white-space:  nowrap;
    padding:      0 20px;
    border-right: 1px solid var(--border);
    display:      flex;
    align-items:  center;
    height:       100%;
    flex-shrink:  0;
}

.btcp-breaking-item:last-child {
    border-right: none;
}

.btcp-breaking-item a {
    color:           var(--text2);
    text-decoration: none;
    transition:      color var(--transition);
}

.btcp-breaking-item a:hover {
    color: var(--accent);
}


/* ============================================================
   SECTION 10: MAIN LAYOUT GRID
   ============================================================ */

.btcp-main-layout {
    display:               grid;
    grid-template-columns: 1fr 300px;
    gap:                   28px;
    padding-top:           28px;
    padding-bottom:        48px;
    align-items:           start;
}

.btcp-main-col {
    min-width: 0;
}

.btcp-sidebar-col {
    width:      300px;
    min-width:  0;
    position:   sticky;
    top:        calc(var(--header-h) + var(--ticker-h) + 16px);
    max-height: calc(100vh - var(--header-h) - var(--ticker-h) - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--border2) transparent;
}

.btcp-sidebar-col::-webkit-scrollbar {
    width: 4px;
}

.btcp-sidebar-col::-webkit-scrollbar-track {
    background: transparent;
}

.btcp-sidebar-col::-webkit-scrollbar-thumb {
    background: var(--border2);
    border-radius: 2px;
}

.admin-bar .btcp-sidebar-col {
    top: calc(var(--header-h) + var(--ticker-h) + 32px + 16px);
}


/* ============================================================
   SECTION 11: SECTION HEADINGS
   ============================================================ */

.btcp-section {
    margin-bottom: 36px;
}

.btcp-section-head {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    margin-bottom:   16px;
    padding-bottom:  12px;
    border-bottom:   1px solid var(--border);
}

.btcp-section-title {
    font-size:      11px;
    font-weight:    800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color:          var(--text);
    padding-left:   10px;
    border-left:    3px solid var(--accent);
    font-family:    var(--font);
    line-height:    1.4;
}

.btcp-section-more {
    font-size:       11px;
    font-weight:     600;
    color:           var(--accent2);
    text-decoration: none;
    letter-spacing:  .3px;
    white-space:     nowrap;
    transition:      color var(--transition);
}

.btcp-section-more:hover {
    color: var(--accent);
}


/* ============================================================
   SECTION 12: ARTICLE CARDS — 4 TYPES
   ============================================================ */

/* ── Grid containers ─────────────────────────────────────── */

.btcp-latest-grid {
    width: 100%;
}

.btcp-grid-3 {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   20px;
}

.btcp-grid-2 {
    display:               grid;
    grid-template-columns: repeat(2, 1fr);
    gap:                   20px;
}

/* ── TYPE 1: Hero Horizontal Card ───────────────────────── */

.btcp-card--hero-horizontal {
    display:       grid;
    grid-template-columns: 480px 1fr;
    border:        1px solid var(--border);
    border-radius: var(--radius);
    overflow:      hidden;
    background:    var(--surface);
    margin-bottom: 20px;
    transition:    border-color var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.btcp-card--hero-horizontal:hover {
    border-color: var(--border2);
    box-shadow:   var(--shadow);
}

.btcp-card--hero-horizontal .btcp-card-img {
    height:   240px;
    overflow: hidden;
    position: relative;
}

.btcp-card--hero-horizontal .btcp-card-img img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    transition: transform .5s ease;
    display:    block;
}

.btcp-card--hero-horizontal:hover .btcp-card-img img {
    transform: scale(1.03);
}

.btcp-card--hero-horizontal .btcp-card-body {
    padding:        24px;
    display:        flex;
    flex-direction: column;
    justify-content: center;
}

.btcp-card--hero-horizontal .btcp-card-title {
    font-size:    1.2rem;
    font-weight:  800;
    line-height:  1.3;
    margin-bottom: 10px;
    font-family:  var(--font-h);
}

.btcp-card--hero-horizontal .btcp-card-excerpt {
    -webkit-line-clamp: 3;
    margin-bottom: 16px;
}

/* ── TYPE 2: Standard Card (used in grids) ───────────────── */

.btcp-card--standard {
    background:     var(--surface);
    border:         1px solid var(--border);
    border-radius:  var(--radius);
    overflow:       hidden;
    display:        flex;
    flex-direction: column;
    transition:     border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.btcp-card--standard:hover {
    border-color: var(--border2);
    transform:    translateY(-2px);
    box-shadow:   var(--shadow);
}

.btcp-card--standard .btcp-card-img {
    aspect-ratio: 16 / 9;
    overflow:     hidden;
    flex-shrink:  0;
    position:     relative;
}

.btcp-card--standard .btcp-card-img img {
    width:       100%;
    height:      100%;
    object-fit:  cover;
    transition:  transform .5s ease;
    display:     block;
}

.btcp-card--standard:hover .btcp-card-img img {
    transform: scale(1.04);
}

.btcp-card--standard .btcp-card-body {
    padding:        14px 16px 16px;
    display:        flex;
    flex-direction: column;
    flex:           1;
}

/* ── TYPE 3: Compact Horizontal Card ────────────────────── */

.btcp-card--compact {
    display:         flex;
    gap:             12px;
    padding:         14px;
    background:      var(--surface);
    border:          1px solid var(--border);
    border-radius:   var(--radius);
    text-decoration: none;
    transition:      border-color var(--transition), background var(--transition), transform var(--transition);
    align-items:     flex-start;
}

.btcp-card--compact:hover {
    border-color: var(--border2);
    background:   var(--surface2);
    transform:    translateY(-1px);
}

.btcp-card--compact .btcp-card-img {
    flex-shrink:   0;
    width:         100px;
    height:        72px;
    border-radius: 4px;
    overflow:      hidden;
}

.btcp-card--compact .btcp-card-img img {
    width:       100%;
    height:      100%;
    object-fit:  cover;
    object-position: center;
    transition:  transform .4s ease;
    display:     block;
}

.btcp-card--compact:hover .btcp-card-img img {
    transform: scale(1.05);
}

.btcp-card--compact .btcp-card-body {
    flex:      1;
    min-width: 0;
}

/* ── TYPE 4: Sidebar / Compact Vertical ─────────────────── */

.btcp-card--sidebar {
    display:         flex;
    gap:             10px;
    padding:         12px 0;
    border-bottom:   1px solid var(--border);
    text-decoration: none;
    align-items:     flex-start;
}

.btcp-card--sidebar:last-child {
    border-bottom: none;
}

.btcp-card--sidebar .btcp-card-img {
    flex-shrink:   0;
    width:         72px;
    height:        52px;
    border-radius: 3px;
    overflow:      hidden;
}

.btcp-card--sidebar .btcp-card-img img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
}

.btcp-card--sidebar .btcp-card-body {
    flex:      1;
    min-width: 0;
}

/* ── SHARED CARD ELEMENTS ────────────────────────────────── */

/* Category badge */
.btcp-cat {
    display:        inline-block;
    font-size:      10px;
    font-weight:    800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color:          var(--accent);
    margin-bottom:  6px;
    line-height:    1;
    text-decoration: none;
    transition:     color var(--transition);
}

.btcp-cat:hover {
    color: #e8850f;
}

.btcp-cat--blue {
    color: var(--accent2);
}

.btcp-cat--green {
    color: var(--green);
}

.btcp-cat--gold {
    color: var(--gold);
}

/* Card title */
.btcp-card-title {
    font-size:    15px;
    font-weight:  700;
    line-height:  1.4;
    color:        var(--text);
    margin-bottom: 8px;
    font-family:  var(--font);
}

.btcp-card-title a {
    color:           inherit;
    text-decoration: none;
    transition:      color var(--transition);
}

.btcp-card-title a:hover,
.btcp-card--standard:hover .btcp-card-title a,
.btcp-card--compact:hover .btcp-card-title a {
    color: var(--accent);
}

/* Compact card title (smaller) */
.btcp-card--compact .btcp-card-title,
.btcp-card--sidebar .btcp-card-title {
    font-size:  13px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Excerpt */
.btcp-card-excerpt {
    font-size:           13px;
    color:               var(--text3);
    line-height:         1.6;
    margin-bottom:       12px;
    display:             -webkit-box;
    -webkit-line-clamp:  2;
    -webkit-box-orient:  vertical;
    overflow:            hidden;
    flex:                1;
}

/* Card meta bar */
.btcp-card-meta {
    display:       flex;
    align-items:   center;
    gap:           10px;
    font-size:     11px;
    color:         var(--text3);
    border-top:    1px solid var(--border);
    padding-top:   10px;
    margin-top:    auto;
    flex-wrap:     wrap;
}

.btcp-card-author {
    color:       var(--text2);
    font-weight: 500;
}

.btcp-time {
    color: var(--text3);
}


/* ============================================================
   SECTION 13: SIDEBAR WIDGETS
   ============================================================ */

.btcp-widget {
    background:    var(--surface);
    border:        1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    overflow:      hidden;
}

.btcp-widget-head {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         12px 16px;
    border-bottom:   1px solid var(--border);
    flex-shrink:     0;
}

.btcp-widget-title {
    font-size:      10px;
    font-weight:    800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color:          var(--text2);
    font-family:    var(--font);
}

/* Live pulse dot */
.btcp-live-dot {
    font-size:   10px;
    color:       var(--green);
    font-weight: 700;
    letter-spacing: .5px;
    animation:   pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: .35; }
}

/* ── Market Overview Widget ─────────────────────────────── */

.btcp-market-table {
    padding: 0;
}

.btcp-market-row {
    display:               grid;
    grid-template-columns: 1fr auto auto;
    gap:                   8px;
    align-items:           center;
    padding:               10px 16px;
    border-bottom:         1px solid var(--border);
    font-size:             13px;
    transition:            background var(--transition);
    cursor:                default;
}

.btcp-market-row:last-child {
    border-bottom: none;
}

.btcp-market-row:hover {
    background: var(--surface2);
}

.btcp-market-sym {
    font-weight:  700;
    color:        var(--text);
    font-size:    13px;
    display:      block;
    line-height:  1.3;
}

.btcp-market-name {
    font-size: 11px;
    color:     var(--text3);
    display:   block;
}

.btcp-market-price {
    font-weight: 700;
    color:       var(--text);
    text-align:  right;
    font-size:   13px;
    white-space: nowrap;
}

.btcp-market-chg {
    font-size:   12px;
    font-weight: 700;
    text-align:  right;
    min-width:   58px;
    white-space: nowrap;
}

.btcp-market-chg.up {
    color: var(--green);
}

.btcp-market-chg.dn {
    color: var(--red);
}

/* ── Trending Widget ────────────────────────────────────── */

.btcp-trending-list {
    list-style: none;
    padding:    0;
    margin:     0;
}

.btcp-trending-item {
    display:      flex;
    align-items:  flex-start;
    gap:          12px;
    padding:      12px 16px;
    border-bottom: 1px solid var(--border);
    transition:   background var(--transition);
}

.btcp-trending-item:last-child {
    border-bottom: none;
}

.btcp-trending-item:hover {
    background: var(--surface2);
}

.btcp-trending-num {
    font-size:    20px;
    font-weight:  900;
    color:        var(--border2);
    min-width:    28px;
    line-height:  1;
    flex-shrink:  0;
    font-family:  var(--font-h);
    padding-top:  3px;
    transition:   color var(--transition);
}

.btcp-trending-item:hover .btcp-trending-num {
    color: var(--accent);
}

.btcp-trending-body {
    flex:      1;
    min-width: 0;
}

.btcp-trending-title {
    font-size:       13px;
    font-weight:     600;
    color:           var(--text);
    text-decoration: none;
    line-height:     1.4;
    display:         -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow:        hidden;
    margin:          4px 0;
    transition:      color var(--transition);
}

.btcp-trending-title:hover {
    color: var(--accent);
}

.btcp-trending-meta {
    font-size: 11px;
    color:     var(--text3);
}

/* ── Newsletter / Push CTA Widget ──────────────────────── */

.btcp-widget--cta {
    background: linear-gradient(135deg, #0d1a2e 0%, #111c2d 60%, #0a1220 100%);
    border-color: var(--border2);
    padding:      24px 20px;
    text-align:   center;
    overflow:     visible;
}

.btcp-cta-icon {
    font-size:     28px;
    margin-bottom: 10px;
    display:       block;
    line-height:   1;
}

.btcp-cta-title {
    font-size:     16px;
    font-weight:   800;
    color:         var(--text);
    margin-bottom: 8px;
    font-family:   var(--font-h);
    line-height:   1.2;
}

.btcp-cta-text {
    font-size:     13px;
    color:         var(--text2);
    line-height:   1.55;
    margin-bottom: 18px;
}

.btcp-cta-btn {
    display:        block;
    width:          100%;
    background:     var(--accent);
    color:          #000;
    border:         none;
    padding:        12px 16px;
    border-radius:  var(--radius);
    font-size:      13px;
    font-weight:    800;
    cursor:         pointer;
    transition:     background var(--transition), transform var(--transition);
    text-transform: uppercase;
    letter-spacing: .8px;
    font-family:    var(--font);
}

.btcp-cta-btn:hover {
    background: #e8850f;
    transform:  translateY(-1px);
}

.btcp-cta-btn:active {
    transform: translateY(0);
}

/* ── Categories (Topics) Widget ─────────────────────────── */

.btcp-cats-list {
    list-style: none;
    padding:    12px 16px;
    margin:     0;
    display:    flex;
    flex-wrap:  wrap;
    gap:        8px;
}

.btcp-cats-list li {
    display: block;
}

.btcp-cats-list a {
    display:         inline-flex;
    align-items:     center;
    gap:             6px;
    font-size:       12px;
    font-weight:     600;
    color:           var(--text2);
    background:      var(--surface2);
    border:          1px solid var(--border);
    padding:         5px 10px;
    border-radius:   20px;
    text-decoration: none;
    transition:      all var(--transition);
    white-space:     nowrap;
}

.btcp-cats-list a:hover {
    background:    var(--accent);
    color:         #000;
    border-color:  var(--accent);
    transform:     translateY(-1px);
}

.btcp-cats-count {
    font-size: 10px;
    color:     var(--text3);
    transition: color var(--transition);
}

.btcp-cats-list a:hover .btcp-cats-count {
    color: rgba(0, 0, 0, .6);
}

/* ── Load More Button ────────────────────────────────────── */

.btcp-load-more {
    text-align:  center;
    padding:     8px 0 20px;
    margin-top:  8px;
}

.btcp-btn-load {
    display:         inline-block;
    background:      transparent;
    border:          1px solid var(--border2);
    color:           var(--text2);
    padding:         11px 32px;
    border-radius:   var(--radius);
    font-size:       13px;
    font-weight:     600;
    text-decoration: none;
    transition:      all var(--transition);
    letter-spacing:  .3px;
    font-family:     var(--font);
}

.btcp-btn-load:hover {
    border-color: var(--accent);
    color:        var(--accent);
    background:   rgba(247, 147, 26, .06);
}


/* ============================================================
   SECTION 14: SINGLE POST OVERRIDES
   ============================================================ */

/* Single post page base */
body.single .btcp-page,
body.single #btc-main-content {
    padding-bottom: 60px;
}

/* Entry header */
body.single .entry-header {
    padding: 32px 0 24px;
    max-width: 780px;
}

body.single .entry-title,
body.single .entry-header .entry-title {
    font-size:     clamp(1.6rem, 3vw, 2.4rem);
    font-weight:   900;
    color:         var(--text);
    line-height:   1.2;
    letter-spacing: -.02em;
    font-family:   var(--font-h);
    margin-bottom: 16px;
}

/* Entry meta */
body.single .entry-meta {
    display:     flex;
    align-items: center;
    flex-wrap:   wrap;
    gap:         12px;
    font-size:   12px;
    color:       var(--text3);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

body.single .entry-meta a {
    color:           var(--text2);
    text-decoration: none;
    font-weight:     500;
}

body.single .entry-meta a:hover {
    color: var(--accent);
}

body.single .entry-meta .posted-on,
body.single .entry-meta .byline {
    display:     flex;
    align-items: center;
    gap:         5px;
}

/* Featured image */
body.single .entry-thumb,
body.single .post-thumbnail,
body.single .wp-post-image-wrap {
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow:      hidden;
}

body.single .entry-thumb img,
body.single .post-thumbnail img,
body.single .wp-post-image {
    width:          100%;
    max-height:     480px;
    object-fit:     cover;
    border-radius:  var(--radius-lg);
    display:        block;
}

/* Article wrapper */
body.single .post-inner,
body.single article.post,
body.single .hentry {
    background:    var(--surface);
    border:        1px solid var(--border);
    border-radius: var(--radius-lg);
    padding:       32px;
}

/* Entry content */
body.single .entry-content {
    font-size:  17px;
    line-height: 1.8;
    color:      var(--text);
    max-width:  720px;
}

body.single .entry-content p {
    margin-bottom: 1.4rem;
    color:         var(--text);
}

body.single .entry-content h2 {
    font-size:     1.5rem;
    font-weight:   800;
    color:         var(--text);
    padding-left:  14px;
    border-left:   3px solid var(--accent);
    margin:        2rem 0 1rem;
    font-family:   var(--font-h);
}

body.single .entry-content h3 {
    font-size:     1.2rem;
    font-weight:   800;
    color:         var(--text);
    padding-left:  12px;
    border-left:   3px solid var(--accent2);
    margin:        1.8rem 0 .8rem;
    font-family:   var(--font-h);
}

body.single .entry-content h4,
body.single .entry-content h5,
body.single .entry-content h6 {
    color:       var(--text);
    margin:      1.5rem 0 .75rem;
    font-family: var(--font-h);
}

body.single .entry-content a {
    color:           var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(247, 147, 26, .4);
}

body.single .entry-content a:hover {
    color:               var(--accent);
    text-decoration-color: var(--accent);
}

body.single .entry-content blockquote {
    border-left:  4px solid var(--gold);
    background:   var(--surface2);
    padding:      16px 20px;
    margin:       1.6rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style:   italic;
    color:        var(--text2);
}

body.single .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

body.single .entry-content img {
    border-radius: var(--radius);
    max-width:     100%;
    height:        auto;
    margin:        1rem auto;
    display:       block;
}

body.single .entry-content ul,
body.single .entry-content ol {
    padding-left:  1.6rem;
    margin-bottom: 1.2rem;
}

body.single .entry-content ul {
    list-style: disc;
}

body.single .entry-content ol {
    list-style: decimal;
}

body.single .entry-content li {
    margin-bottom: .5rem;
    color:         var(--text);
    line-height:   1.7;
}

body.single .entry-content code {
    background:    var(--surface2);
    border:        1px solid var(--border);
    padding:       2px 6px;
    border-radius: 3px;
    font-size:     .9em;
    color:         var(--accent2);
    font-family:   'Fira Code', 'Cascadia Code', monospace;
}

body.single .entry-content pre {
    background:    var(--surface2);
    border:        1px solid var(--border);
    border-radius: var(--radius);
    padding:       20px;
    overflow-x:    auto;
    margin:        1.5rem 0;
}

body.single .entry-content pre code {
    background: none;
    border:     none;
    padding:    0;
    font-size:  14px;
    color:      var(--text);
}

body.single .entry-content table {
    width:         100%;
    border-radius: var(--radius);
    overflow:      hidden;
    margin:        1.5rem 0;
    font-size:     14px;
}

body.single .entry-content th {
    background:  var(--surface2);
    color:       var(--text);
    font-weight: 700;
    padding:     10px 14px;
    text-align:  left;
    border-bottom: 1px solid var(--border2);
}

body.single .entry-content td {
    padding:       9px 14px;
    color:         var(--text2);
    border-bottom: 1px solid var(--border);
}

body.single .entry-content tr:last-child td {
    border-bottom: none;
}

/* CTA box inside post */
.btc-cta-box {
    background:    linear-gradient(135deg, var(--surface2) 0%, #0a111e 100%);
    border:        1px solid var(--border2);
    border-radius: var(--radius-lg);
    padding:       28px;
    margin:        2rem 0;
    text-align:    center;
}

.btc-cta-box h3,
.btc-cta-box .btc-cta-box-title {
    font-size:     1.3rem;
    font-weight:   800;
    color:         var(--text);
    margin-bottom: 10px;
    border-left:   none;
    padding-left:  0;
}

.btc-cta-box p {
    color:         var(--text2);
    margin-bottom: 20px;
    font-size:     15px;
}

.btc-cta-box .btc-cta-box-btns {
    display:    flex;
    gap:        12px;
    justify-content: center;
    flex-wrap:  wrap;
}

.btc-cta-box .btc-cta-btn-primary {
    display:         inline-block;
    background:      var(--accent);
    color:           #000;
    font-weight:     800;
    padding:         12px 24px;
    border-radius:   var(--radius);
    font-size:       14px;
    text-decoration: none;
    transition:      background var(--transition), transform var(--transition);
    letter-spacing:  .4px;
    text-transform:  uppercase;
}

.btc-cta-box .btc-cta-btn-primary:hover {
    background: #e8850f;
    transform:  translateY(-1px);
    color:      #000;
}

.btc-cta-box .btc-cta-btn-secondary {
    display:         inline-block;
    background:      transparent;
    color:           var(--accent2);
    font-weight:     600;
    padding:         12px 24px;
    border-radius:   var(--radius);
    font-size:       14px;
    text-decoration: none;
    border:          1px solid var(--accent2);
    transition:      all var(--transition);
}

.btc-cta-box .btc-cta-btn-secondary:hover {
    background:   var(--accent2);
    color:        #fff;
    border-color: var(--accent2);
}

/* Table of Contents */
.btc-toc {
    background:    var(--surface);
    border:        1px solid var(--border);
    border-radius: var(--radius-lg);
    padding:       20px 22px;
    margin:        1.8rem 0;
}

@media (min-width: 1024px) {
    .btc-toc {
        position: sticky;
        top:      calc(var(--header-h) + var(--ticker-h) + 20px);
    }
}

.btc-toc-title {
    font-size:      11px;
    font-weight:    800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color:          var(--text2);
    margin-bottom:  14px;
    padding-bottom: 10px;
    border-bottom:  1px solid var(--border);
}

.btc-toc ol,
.btc-toc ul {
    list-style:  none;
    padding:     0;
    margin:      0;
    counter-reset: toc;
}

.btc-toc li {
    counter-increment: toc;
    margin-bottom: 8px;
}

.btc-toc li a {
    font-size:       13px;
    font-weight:     500;
    color:           var(--text2);
    text-decoration: none;
    display:         flex;
    align-items:     flex-start;
    gap:             8px;
    line-height:     1.4;
    transition:      color var(--transition);
}

.btc-toc li a::before {
    content:     counter(toc) ".";
    color:       var(--text3);
    font-weight: 700;
    flex-shrink: 0;
    min-width:   16px;
    font-size:   11px;
    margin-top:  2px;
}

.btc-toc li a:hover {
    color: var(--accent);
}


/* ============================================================
   SECTION 15: SINGLE POST SIDEBAR
   ============================================================ */

body.single .btcp-sidebar-col {
    max-width:  300px;
    position:   sticky;
    top:        calc(var(--header-h) + var(--ticker-h) + 20px);
    max-height: calc(100vh - var(--header-h) - var(--ticker-h) - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--border2) transparent;
}

body.single.admin-bar .btcp-sidebar-col {
    top: calc(var(--header-h) + var(--ticker-h) + 32px + 20px);
}

/* ============================================================
   SECTION 16: FOOTER — #btc-footer
   ============================================================ */

#btc-footer {
    background:  #04080f;
    border-top:  1px solid var(--border);
    margin-top:  0;
}

.btc-footer-top {
    padding: 56px 0 40px;
}

.btc-footer-grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   40px;
    align-items:           start;
}

/* Footer brand column */
.btc-footer-brand {
    grid-column: span 1;
}

.btc-footer-logo {
    max-height: 32px;
    width:      auto;
    margin-bottom: 16px;
    display:    block;
}

.btc-footer-tagline {
    font-size:     13px;
    color:         var(--text3);
    line-height:   1.6;
    margin-bottom: 20px;
}

/* Social buttons */
.btc-footer-social {
    display: flex;
    gap:     8px;
    flex-wrap: wrap;
}

.btc-social-btn {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    width:           36px;
    height:          36px;
    border-radius:   50%;
    border:          1px solid var(--border2);
    background:      transparent;
    color:           var(--text3);
    font-size:       14px;
    text-decoration: none;
    transition:      all var(--transition);
    flex-shrink:     0;
}

.btc-social-btn:hover {
    background:   var(--accent);
    border-color: var(--accent);
    color:        #000;
    transform:    translateY(-2px);
}

/* Footer column headings */
.btc-footer-col-title {
    font-size:      10px;
    font-weight:    800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color:          var(--text2);
    margin-bottom:  16px;
    padding-bottom: 10px;
    border-bottom:  2px solid var(--accent);
    display:        inline-block;
    font-family:    var(--font);
}

/* Footer links */
.btc-footer-links {
    list-style: none;
    padding:    0;
    margin:     0;
}

.btc-footer-links li {
    margin-bottom: 0;
    line-height:   2;
}

.btc-footer-links a {
    font-size:       13px;
    color:           var(--text2);
    text-decoration: none;
    transition:      color var(--transition);
    display:         block;
    padding:         2px 0;
}

.btc-footer-links a:hover {
    color: var(--accent);
}

/* Footer bottom bar */
.btc-footer-bottom {
    padding:     16px 0;
    border-top:  1px solid var(--border);
}

.btc-footer-bottom-inner {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             16px;
    flex-wrap:       wrap;
}

.btc-footer-copy {
    font-size: 12px;
    color:     var(--text3);
    line-height: 1.5;
}

.btc-footer-copy a {
    color:           var(--text2);
    text-decoration: none;
}

.btc-footer-copy a:hover {
    color: var(--accent);
}

.btc-footer-legal {
    display:    flex;
    gap:        16px;
    flex-wrap:  wrap;
}

.btc-footer-legal a {
    font-size:       12px;
    color:           var(--text3);
    text-decoration: none;
    transition:      color var(--transition);
}

.btc-footer-legal a:hover {
    color: var(--accent);
}

/* Disclaimer text */
.btc-footer-disclaimer {
    padding:    20px 0;
    border-top: 1px solid var(--border);
    font-size:  11px;
    color:      var(--text3);
    line-height: 1.7;
}


/* ============================================================
   SECTION 17: MOBILE RESPONSIVE
   ============================================================ */

/* ── 1024px breakpoint ───────────────────────────────────── */
@media (max-width: 1024px) {
    .btcp-hero-layout {
        grid-template-columns: 1fr 320px;
        height: 460px;
    }

    .btcp-main-layout {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }

    .btcp-sidebar-col {
        width: 280px;
    }

    .btcp-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .btcp-card--hero-horizontal {
        grid-template-columns: 360px 1fr;
    }

    .btc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .btc-header-nav > ul > li > a {
        padding: 0 8px;
        font-size: 13px;
    }
}

/* ── 768px breakpoint ───────────────────────────────────── */
@media (max-width: 768px) {

    /* Hero section */
    .btcp-hero-layout {
        grid-template-columns: 1fr;
        grid-template-rows:    auto auto;
        height:                auto;
        gap:                   2px;
    }

    .btcp-hero-feature {
        height: 280px;
    }

    .btcp-hero-stack {
        grid-template-rows:    none;
        grid-template-columns: repeat(2, 1fr);
        height:                auto;
    }

    .btcp-hero-secondary {
        padding: 12px;
    }

    /* Main layout — sidebar drops below */
    .btcp-main-layout {
        grid-template-columns: 1fr;
        gap:                   0;
    }

    .btcp-sidebar-col {
        width:      100%;
        position:   static;
        max-height: none;
        overflow:   visible;
        margin-top: 28px;
    }

    /* Grids */
    .btcp-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .btcp-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Hero horizontal card — stack vertically */
    .btcp-card--hero-horizontal {
        grid-template-columns: 1fr;
    }

    .btcp-card--hero-horizontal .btcp-card-img {
        height: 200px;
    }

    .btcp-card--hero-horizontal .btcp-card-body {
        padding: 16px;
    }

    /* Header nav — hide desktop nav */
    .btc-header-nav {
        display: none;
    }

    /* Show hamburger */
    .btc-hamburger {
        display: flex;
    }

    /* Hide text on CTA button */
    .btc-header-cta span.btc-cta-text {
        display: none;
    }

    /* Ad leaderboard — hide on mobile */
    .btcp-ad-leaderboard {
        min-height: 60px;
    }

    /* Breaking bar — hide overflow more aggressively */
    .btcp-breaking-items {
        overflow: hidden;
    }

    /* Footer */
    .btc-footer-top {
        padding: 36px 0 28px;
    }

    .btc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Single post */
    body.single .entry-title {
        font-size: 1.4rem;
    }

    body.single .entry-content {
        font-size: 16px;
    }

    body.single .post-inner,
    body.single article.post,
    body.single .hentry {
        padding: 20px;
    }

    .btcp-container {
        padding: 0 16px;
    }
}

/* ── 480px breakpoint ───────────────────────────────────── */
@media (max-width: 480px) {

    /* Grids — single column */
    .btcp-grid-3,
    .btcp-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Hero */
    .btcp-hero-feature {
        height: 240px;
    }

    .btcp-hero-stack {
        grid-template-columns: 1fr;
    }

    .btcp-hero-feature-title {
        font-size: 1.2rem;
    }

    /* Footer — single column */
    .btc-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .btc-footer-bottom-inner {
        flex-direction:  column;
        align-items:     flex-start;
        gap:             12px;
    }

    /* Header — compact */
    #btc-header .btcp-container,
    .btc-header-inner {
        gap: 12px;
    }

    .btc-header-logo img,
    .btc-header-logo svg {
        height:    28px;
        max-width: 120px;
    }

    .btc-header-cta {
        padding:   7px 12px;
        font-size: 12px;
    }

    /* Ad strip — hide on very small */
    .btcp-ad-strip {
        display: none;
    }

    /* Breaking bar — tighter */
    .btcp-breaking-bar {
        height: 36px;
    }

    /* Section padding */
    .btcp-main-layout {
        padding-top:    16px;
        padding-bottom: 32px;
    }

    /* Card titles */
    .btcp-card-title {
        font-size: 14px;
    }

    /* Sidebar CTA */
    .btcp-widget--cta {
        padding: 20px 16px;
    }

    /* Market widget */
    .btcp-market-row {
        padding: 9px 12px;
        font-size: 12px;
    }

    /* Container padding */
    .btcp-container {
        padding: 0 12px;
    }

    /* Single post */
    body.single .post-inner,
    body.single article.post,
    body.single .hentry {
        padding:       16px;
        border-radius: var(--radius);
    }

    body.single .entry-title {
        font-size: 1.3rem;
    }

    body.single .entry-content {
        font-size: 15px;
        line-height: 1.75;
    }
}


/* ============================================================
   SECTION 18: ANIMATIONS AND TRANSITIONS
   ============================================================ */

/* Fade in + slide up */
@keyframes fadeInUp {
    from {
        opacity:   0;
        transform: translateY(16px);
    }
    to {
        opacity:   1;
        transform: translateY(0);
    }
}

/* Fade in only */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Shimmer/skeleton loading */
@keyframes shimmer {
    0%, 100% { opacity: .5; }
    50%       { opacity: 1;  }
}

/* Slide in from left */
@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0);     }
}

/* Scale in */
@keyframes scaleIn {
    from { opacity: 0; transform: scale(.96); }
    to   { opacity: 1; transform: scale(1);   }
}

/* Used in hero overlay */
.btcp-hero-feature-overlay {
    animation: fadeInUp .5s .1s ease both;
}

/* Loading state */
.btcp-loading {
    animation: shimmer 1.5s ease infinite;
    pointer-events: none;
}

/* Card hover micro-animations — already handled in transitions above */

/* Staggered card entrance on page load */
.btcp-card--standard,
.btcp-card--compact {
    animation: fadeIn .4s ease both;
}

/* Hero secondary cards */
.btcp-hero-secondary:nth-child(1) { animation-delay: .05s; }
.btcp-hero-secondary:nth-child(2) { animation-delay: .1s; }
.btcp-hero-secondary:nth-child(3) { animation-delay: .15s; }
.btcp-hero-secondary:nth-child(4) { animation-delay: .2s; }


/* ============================================================
   SECTION 19: SEARCH OVERLAY
   ============================================================ */

.btc-search-overlay {
    position:      fixed;
    inset:         0;
    background:    rgba(8, 12, 20, .95);
    z-index:       9000;
    display:       flex;
    align-items:   center;
    justify-content: center;
    padding:       0 16px;
    opacity:       0;
    pointer-events: none;
    transition:    opacity var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btc-search-overlay.open {
    opacity:        1;
    pointer-events: all;
}

.btc-search-overlay-close {
    position:   absolute;
    top:        20px;
    right:      20px;
    background: none;
    border:     none;
    color:      var(--text3);
    font-size:  28px;
    cursor:     pointer;
    padding:    8px;
    line-height: 1;
    transition: color var(--transition);
}

.btc-search-overlay-close:hover {
    color: var(--text);
}

.btc-search-inner {
    width:     600px;
    max-width: 90vw;
}

.btc-search-inner .search-form {
    display:  flex;
    gap:      0;
    position: relative;
}

.btc-search-inner .search-field {
    width:         100%;
    background:    var(--surface);
    border:        1px solid var(--border2);
    border-right:  none;
    color:         var(--text);
    padding:       16px 20px;
    font-size:     18px;
    border-radius: var(--radius) 0 0 var(--radius);
    outline:       none;
    font-family:   var(--font);
    transition:    border-color var(--transition);
}

.btc-search-inner .search-field::placeholder {
    color: var(--text3);
}

.btc-search-inner .search-field:focus {
    border-color: var(--accent);
}

.btc-search-inner .search-submit {
    background:    var(--accent);
    color:         #000;
    border:        none;
    padding:       0 24px;
    font-size:     16px;
    font-weight:   700;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor:        pointer;
    transition:    background var(--transition);
    white-space:   nowrap;
    font-family:   var(--font);
}

.btc-search-inner .search-submit:hover {
    background: #e8850f;
}

.btc-search-hint {
    margin-top:  12px;
    font-size:   13px;
    color:       var(--text3);
    text-align:  center;
}

.btc-search-hint kbd {
    background:    var(--surface2);
    border:        1px solid var(--border2);
    border-radius: 3px;
    padding:       2px 6px;
    font-size:     11px;
    color:         var(--text2);
}


/* ============================================================
   SECTION 20: MOBILE NAV
   ============================================================ */

.btc-mobile-nav {
    position:   fixed;
    top:        0;
    left:       0;
    bottom:     0;
    width:      280px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    z-index:    8500;
    transform:  translateX(-100%);
    transition: transform var(--transition);
    overflow-y: auto;
    overflow-x: hidden;
    display:    flex;
    flex-direction: column;
}

.admin-bar .btc-mobile-nav {
    top: 46px;
}

.btc-mobile-nav.open {
    transform: translateX(0);
}

/* Mobile nav header */
.btc-mobile-nav-head {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         16px 20px;
    border-bottom:   1px solid var(--border);
    flex-shrink:     0;
}

.btc-mobile-nav-logo img {
    height:    28px;
    width:     auto;
}

.btc-mobile-nav-close {
    background: none;
    border:     none;
    color:      var(--text2);
    font-size:  22px;
    cursor:     pointer;
    padding:    4px;
    line-height: 1;
    transition: color var(--transition);
}

.btc-mobile-nav-close:hover {
    color: var(--text);
}

/* Mobile nav menu items */
.btc-mobile-menu {
    list-style: none;
    padding:    0;
    margin:     0;
    flex:       1;
    overflow-y: auto;
}

.btc-mobile-menu > li {
    border-bottom: 1px solid var(--border);
}

.btc-mobile-menu > li > a {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         14px 20px;
    font-size:       15px;
    font-weight:     500;
    color:           var(--text2);
    text-decoration: none;
    transition:      color var(--transition), background var(--transition);
}

.btc-mobile-menu > li > a:hover,
.btc-mobile-menu > li.current-menu-item > a {
    color:       var(--accent);
    background:  rgba(247, 147, 26, .05);
}

/* Mobile submenu */
.btc-mobile-menu .sub-menu {
    list-style:  none;
    padding:     0;
    margin:      0;
    background:  var(--surface2);
    border-top:  1px solid var(--border);
    display:     none;
}

.btc-mobile-menu .sub-menu.open {
    display: block;
}

.btc-mobile-menu .sub-menu li a {
    display:         block;
    padding:         11px 20px 11px 36px;
    font-size:       14px;
    font-weight:     400;
    color:           var(--text3);
    text-decoration: none;
    border-bottom:   1px solid var(--border);
    transition:      color var(--transition), background var(--transition);
}

.btc-mobile-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.btc-mobile-menu .sub-menu li a:hover {
    color:      var(--accent);
    background: rgba(247, 147, 26, .04);
}

/* Mobile nav footer */
.btc-mobile-nav-footer {
    padding:     16px 20px;
    border-top:  1px solid var(--border);
    flex-shrink: 0;
}

.btc-mobile-nav-footer .btc-header-cta {
    width:           100%;
    justify-content: center;
}

/* Overlay backdrop */
.btc-mobile-overlay {
    position:    fixed;
    inset:       0;
    background:  rgba(8, 12, 20, .75);
    z-index:     8400;
    display:     none;
    cursor:      pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btc-mobile-overlay.open {
    display: block;
    animation: fadeIn .2s ease both;
}


/* ============================================================
   SECTION 21: UTILITY CLASSES (extras)
   ============================================================ */

/* Text truncation */
.truncate-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.truncate-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Flex utilities */
.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8      { gap: 8px; }
.gap-12     { gap: 12px; }
.gap-16     { gap: 16px; }

/* Spacing */
.mt-0       { margin-top:     0; }
.mt-8       { margin-top:     8px; }
.mt-16      { margin-top:     16px; }
.mt-24      { margin-top:     24px; }
.mb-0       { margin-bottom:  0; }
.mb-8       { margin-bottom:  8px; }
.mb-16      { margin-bottom:  16px; }
.mb-24      { margin-bottom:  24px; }
.pt-16      { padding-top:    16px; }
.pb-16      { padding-bottom: 16px; }

/* Colors */
.text-accent  { color: var(--accent);  }
.text-accent2 { color: var(--accent2); }
.text-muted   { color: var(--text3);   }
.text-green   { color: var(--green);   }
.text-red     { color: var(--red);     }
.text-gold    { color: var(--gold);    }

/* Background helpers */
.bg-surface   { background: var(--surface);  }
.bg-surface2  { background: var(--surface2); }

/* Border */
.border-bottom { border-bottom: 1px solid var(--border); }

/* Width */
.w-full { width: 100%; }

/* No margin/padding reset */
.no-margin  { margin:  0; }
.no-padding { padding: 0; }

/* Display */
.hidden        { display: none !important; }
.block         { display: block; }
.inline-block  { display: inline-block; }

/* Font weights */
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }
.font-900 { font-weight: 900; }

/* Font sizes */
.text-xs  { font-size: 11px; }
.text-sm  { font-size: 13px; }
.text-md  { font-size: 15px; }
.text-lg  { font-size: 17px; }
.text-xl  { font-size: 20px; }

/* Rounded */
.rounded    { border-radius: var(--radius);    }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 9999px; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Object fit */
.object-cover { object-fit: cover; width: 100%; height: 100%; }

/* Aspect ratios */
.aspect-16-9   { aspect-ratio: 16 / 9; }
.aspect-4-3    { aspect-ratio: 4 / 3;  }
.aspect-square { aspect-ratio: 1 / 1;  }


/* ============================================================
   SECTION 22: PAGINATION
   ============================================================ */

.btcp-pagination,
.pagination,
.nav-links {
    display:         flex;
    align-items:     center;
    justify-content: center;
    gap:             6px;
    padding:         24px 0 16px;
    flex-wrap:       wrap;
}

.btcp-pagination a,
.btcp-pagination span,
.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    min-width:       36px;
    height:          36px;
    padding:         0 12px;
    border-radius:   var(--radius);
    font-size:       13px;
    font-weight:     600;
    text-decoration: none;
    border:          1px solid var(--border);
    color:           var(--text2);
    background:      var(--surface);
    transition:      all var(--transition);
}

.btcp-pagination a:hover,
.pagination a:hover,
.nav-links a:hover {
    border-color: var(--accent);
    color:        var(--accent);
    background:   rgba(247, 147, 26, .07);
}

.btcp-pagination .current,
.pagination .current,
.nav-links .current {
    background:   var(--accent);
    border-color: var(--accent);
    color:        #000;
}

/* Prev / Next post navigation */
.post-navigation {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   16px;
    padding:               24px 0;
    border-top:            1px solid var(--border);
    margin-top:            32px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    background:    var(--surface);
    border:        1px solid var(--border);
    border-radius: var(--radius-lg);
    padding:       16px 20px;
    transition:    border-color var(--transition), background var(--transition);
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    border-color: var(--border2);
    background:   var(--surface2);
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-subtitle {
    font-size:      10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color:          var(--text3);
    margin-bottom:  8px;
    display:        block;
    font-weight:    700;
}

.post-navigation a {
    font-size:       14px;
    font-weight:     600;
    color:           var(--text);
    text-decoration: none;
    line-height:     1.4;
    display:         -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow:        hidden;
    transition:      color var(--transition);
}

.post-navigation a:hover {
    color: var(--accent);
}

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

    .post-navigation .nav-next {
        text-align: left;
    }
}


/* ============================================================
   SECTION 23: ARCHIVE / CATEGORY PAGE
   ============================================================ */

.btcp-archive-header {
    padding:       24px 0 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.btcp-archive-title {
    font-size:    2rem;
    font-weight:  900;
    color:        var(--text);
    font-family:  var(--font-h);
    margin-bottom: 6px;
}

.btcp-archive-desc {
    font-size: 15px;
    color:     var(--text2);
}

.btcp-archive-meta {
    font-size: 13px;
    color:     var(--text3);
    margin-top: 8px;
}

.btcp-archive-meta strong {
    color: var(--text2);
}


/* ============================================================
   SECTION 24: AUTHOR BOX
   ============================================================ */

.btcp-author-box {
    background:    var(--surface);
    border:        1px solid var(--border);
    border-radius: var(--radius-lg);
    padding:       24px;
    margin:        36px 0 24px;
    display:       flex;
    gap:           20px;
    align-items:   flex-start;
}

.btcp-author-avatar {
    flex-shrink:   0;
    width:         64px;
    height:        64px;
    border-radius: 50%;
    overflow:      hidden;
    border:        2px solid var(--border2);
}

.btcp-author-avatar img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
}

.btcp-author-info {
    flex:      1;
    min-width: 0;
}

.btcp-author-name {
    font-size:    16px;
    font-weight:  800;
    color:        var(--text);
    margin-bottom: 4px;
    font-family:  var(--font-h);
}

.btcp-author-role {
    font-size:     11px;
    color:         var(--accent);
    font-weight:   700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display:       block;
}

.btcp-author-bio {
    font-size:  13px;
    color:      var(--text2);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .btcp-author-box {
        flex-direction: column;
        align-items:    center;
        text-align:     center;
        padding:        18px;
    }
}


/* ============================================================
   SECTION 25: RELATED POSTS
   ============================================================ */

.btcp-related {
    margin-top:    36px;
    padding-top:   28px;
    border-top:    1px solid var(--border);
}

.btcp-related-title {
    font-size:      11px;
    font-weight:    800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color:          var(--text);
    padding-left:   10px;
    border-left:    3px solid var(--accent);
    margin-bottom:  20px;
    font-family:    var(--font);
}

.btcp-related-grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   16px;
}

@media (max-width: 768px) {
    .btcp-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


/* ============================================================
   SECTION 26: COMMENTS AREA
   ============================================================ */

.comments-area {
    margin-top:    36px;
    padding-top:   28px;
    border-top:    1px solid var(--border);
}

.comments-title {
    font-size:     1.1rem;
    font-weight:   800;
    color:         var(--text);
    margin-bottom: 24px;
    font-family:   var(--font-h);
}

.comment-list {
    list-style: none;
    padding:    0;
    margin:     0 0 32px;
}

.comment-body {
    background:    var(--surface);
    border:        1px solid var(--border);
    border-radius: var(--radius);
    padding:       16px;
    margin-bottom: 12px;
}

.comment-author .fn {
    font-size:   14px;
    font-weight: 700;
    color:       var(--text);
}

.comment-meta {
    font-size:   11px;
    color:       var(--text3);
    margin:      4px 0 12px;
}

.comment-content p {
    font-size:  14px;
    color:      var(--text2);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Comment form */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width:         100%;
    background:    var(--surface);
    border:        1px solid var(--border);
    border-radius: var(--radius);
    padding:       10px 14px;
    color:         var(--text);
    font-size:     14px;
    font-family:   var(--font);
    outline:       none;
    transition:    border-color var(--transition);
    margin-bottom: 12px;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--accent);
}

.comment-form textarea {
    min-height: 120px;
    resize:     vertical;
}

.comment-form input[type="submit"] {
    background:    var(--accent);
    color:         #000;
    border:        none;
    padding:       11px 28px;
    border-radius: var(--radius);
    font-size:     13px;
    font-weight:   800;
    cursor:        pointer;
    font-family:   var(--font);
    text-transform: uppercase;
    letter-spacing: .5px;
    transition:    background var(--transition);
}

.comment-form input[type="submit"]:hover {
    background: #e8850f;
}

.comment-form label {
    font-size:  12px;
    color:      var(--text2);
    display:    block;
    margin-bottom: 5px;
    font-weight: 500;
}


/* ============================================================
   END OF DESIGN SYSTEM v4.0
   ============================================================ */
