.articles-main {
    padding: 0 30px;
}
.page-header {
    text-align: center;
    margin-bottom: 50px;
}
.page-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-subtitle {
    font-size: 18px;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.filter-section {
    margin-bottom: 40px;
}
.filter-section .search-bar {
    margin-top: 30px;
}
.filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}
.filter-tab {
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-tab:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #ffffff;
}
.filter-tab.active {
    background: linear-gradient(135deg, #8b5cf6, #6366f1, #4c1d95);
    border-color: transparent;
    color: #ffffff;
}
.search-bar {
    width: 100%;
    padding: 16px 24px;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}
.search-bar:focus {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}
.search-bar::placeholder {
    color: #64748b;
}
.article-grid {
    display: grid;
    gap: 30px;
}
.article-card-large {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}
.article-card-large:hover {
    border-color: #6366f1;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.2);
}
.article-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.badge-featured {
    background: linear-gradient(135deg, #10b981, #34d399, #059669);
    border: 1px solid #10b981;
}
.badge-category {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}
.article-card-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}
.article-card-description, .small-card-description {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: left !important;
}
.article-card-meta {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}
.meta-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 14px;
}
.verified-badge-small {
    background: rgba(99, 102, 241, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    color: #6366f1;
    font-weight: 600;
    margin-left: auto;
}
.article-card-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.small-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}
.small-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
}
.small-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}
.small-card-description {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 16px;
}
.small-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}
.sidebar-right {
    border-left: 1px solid rgba(99, 102, 241, 0.2);
    padding-left: 35px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 0px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sidebar-right::-webkit-scrollbar {
    display: none;
}
.sidebar-scroll-container {
    /*animation: autoScroll 350s ease-in-out infinite;*/
}
@keyframes autoScroll {
    0% {
        transform: translateY(0);
    }
    10% {
        transform: translateY(0);
    }
    45% {
        transform: translateY(-50%);
    }
    55% {
        transform: translateY(-50%);
    }
    90% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}
.sidebar-scroll-container:hover {
    animation-play-state: paused;
}
.offer-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}
.offer-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
}
.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.offer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 8px;
}
.sponsored-badge {
    background: linear-gradient(135deg, #10b981, #34d399, #059669);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
.offer-visual {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    padding: 30px;
    margin: 15px 0;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.offer-description {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.offer-cta {
    background: linear-gradient(135deg, #8b5cf6, #6366f1, #4c1d95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ════════════════════════════════════════════════════════════════
   ADD THESE TO articles-style.css
   Magazine grid layout + card style updates
════════════════════════════════════════════════════════════════ */


/* ── FILTER SECTION — search bar only, no tabs ─────────────────── */

.filter-section {
    margin-bottom: 50px;
}

/* Remove margin-top that was for the tabs */
.filter-section .search-bar {
    margin-top: 0;
}


/* ── MAGAZINE GRID ─────────────────────────────────────────────── */

.article-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Large card — full width, already styled in main CSS */
.article-card-large {
    width: 100%;
}

/* Small card row — 2 columns */
.article-card-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}


/* ── LARGE CARD — match screenshot exactly ─────────────────────── */

.article-card-large {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.article-card-large:hover {
    border-color: #6366f1;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.2);
}

.article-card-large .article-card-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-card-large .article-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.article-card-large .article-card-title a:hover {
    color: #8b5cf6;
}

.article-card-large .article-card-description {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-large .article-card-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Meta stat items (icon + text) */
.meta-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-size: 14px;
}

.meta-stat svg {
    flex-shrink: 0;
    color: #94a3b8;
}


/* ── BADGES ────────────────────────────────────────────────────── */

.article-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.badge-featured {
    background: linear-gradient(135deg, #10b981, #34d399, #059669);
    color: #ffffff;
    border: none;
}

.badge-category {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}


/* ── SMALL CARDS ───────────────────────────────────────────────── */

.small-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.small-card:hover {
    border-color: #6366f1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.small-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.small-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.small-card-title a:hover {
    color: #8b5cf6;
}

.small-card-description {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.small-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
}


/* ── AJAX — "no results" state ─────────────────────────────────── */

#articles-container > p {
    color: #94a3b8;
    font-size: 16px;
    text-align: center;
    padding: 40px 0;
}

.category-buttons-container {
    margin-top: 20px;
    margin-bottom: 30px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-btn {
    background: linear-gradient(135deg, rgba(20, 15, 50, 0.8) 0%, rgba(30, 20, 70, 0.7) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 10px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-btn:hover {
    background: linear-gradient(135deg, rgba(20, 15, 50, 0.9) 0%, rgba(30, 20, 70, 0.8) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(124, 58, 237, 0.3) 100%);
    border-color: rgba(102, 126, 234, 0.6);
}

.category-btn.view-more {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.4);
}

.category-btn.hidden {
    display: none;
}

/* ── ARTICLES TAB HEADER ─────────────────────────────────────── */

.articles-tab-header {
    display: flex;
    align-items: flex-end;
    gap: 48px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(99,102,241,0.15);
    padding-bottom: 0;
    position: relative;
}
.articles-tab-item {
    cursor: pointer;
    padding-bottom: 14px;
    margin-bottom: -1px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.articles-tab-item.active { opacity: 1; }
.articles-tab-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg,#ffffff,#cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}
.articles-tab-sub {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
}
.articles-tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #8b5cf6;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* Reading paths grid */
.td-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.td-card.td-cat-tile {
    background: rgba(15,20,25,0.6);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 12px;
    padding: 22px 24px;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5);
    text-decoration: none;
    min-height: 185px;
}
.td-card.td-cat-tile:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.15);
    text-decoration: none;
}
.td-cat-tile-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.35;
}
.td-cat-tile-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── STARTER ARTICLE ───────────────────────────────────────── */

.starter-article-wrap { margin-bottom: 30px; }

.pinned-article-card {
    background: rgba(15,20,25,0.6);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 13px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5);
    display: block;
    text-decoration: none;
}
.pinned-article-card:hover {
    border-color: rgba(99,102,241,0.55);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.6);
    text-decoration: none;
}
.starter-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f59e0b;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: 6px;
    padding: 4px 10px;
    margin-bottom: 14px;
}
.starter-label svg {
    width: 11px;
    height: 11px;
    fill: #f59e0b;
    stroke: none;
    flex-shrink: 0;
}

/* Reset link colours inside pinned card */
.pinned-article-card,
.pinned-article-card:visited,
.pinned-article-card:hover {
    color: inherit;
    text-decoration: none;
}
.pinned-category { font-size: 12px; font-weight: 600; color: #667eea; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.pinned-title { font-size: 24px; font-weight: 700; color: #fff; line-height: 1.35; margin: 0 0 10px 0; }
.pinned-subheading { font-size: 14px; color: #a5b4fc; font-style: italic; line-height: 1.6; margin: 0 0 18px 0; }
.pinned-divider { width: 40px; height: 2px; background: linear-gradient(90deg,#667eea,transparent); margin-bottom: 18px; border-radius: 2px; }
.pinned-overview { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.8; margin: 0 0 22px 0; }
.pinned-why { background: rgba(102,126,234,0.07); border-left: 3px solid #667eea; border-radius: 0 10px 10px 0; padding: 14px 18px; margin-bottom: 24px; }
.pinned-why-label { font-size: 11px; font-weight: 700; color: #667eea; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.pinned-why-text { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; margin: 0; }
.pinned-footer { display: flex; align-items: center; justify-content: space-between; }
.pinned-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.35); }
.pinned-read-btn { background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.4); border-radius: 10px; color: #a5b4fc; font-size: 13px; font-weight: 600; padding: 11px 24px; cursor: pointer; transition: all 0.2s; font-family: inherit; box-shadow: 0 4px 18px rgba(0,0,0,0.5); white-space: nowrap; }
.pinned-read-btn:hover { transform: translateY(-1px); border-color: rgba(99,102,241,0.7); background: rgba(99,102,241,0.18); }

/* ── TRENDING THIS WEEK ───────────────────────────────────────── */

.trending-section {
    background: rgba(15,20,25,0.4);
    border: 1px solid rgba(102,126,234,0.2);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.trending-header { display: flex; align-items: center; justify-content: space-between; }

.trending-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.trending-cat {
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
}

.trending-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.trending-card {
    background: rgba(15,20,25,0.6);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s;
}

.trending-card:hover {
    background: rgba(15,20,25,0.8);
    border-color: #6366f1;
    transform: translateY(-2px);
    text-decoration: none;
}

.trending-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.trending-card-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.55;
    flex: 1;
}

.trending-card-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 11px;
    color: #64748b;
    flex-wrap: wrap;
}

.trending-views {
    color: #6366f1;
    font-weight: 600;
    margin-left: auto;
}

/* ── PAGINATION ─────────────────────────────────────────────── */

.articles-pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

.articles-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.articles-pagination .page-numbers li a,
.articles-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: rgba(15,20,25,0.6);
    border: 1px solid rgba(99,102,241,0.2);
    color: #94a3b8;
}

.articles-pagination .page-numbers li a:hover {
    background: rgba(99,102,241,0.15);
    border-color: #6366f1;
    color: #fff;
}

.articles-pagination .page-numbers li span.current {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: #fff;
}

/* ── Milestone 7 update: cards, pagination, number jump ── */
.article-card-large.cb-card,
.small-card.cb-card { display: flex; flex-direction: column; cursor: pointer; }
.cb-card .article-card-description,
.cb-card .small-card-description { flex-grow: 1; display: block; -webkit-line-clamp: unset; overflow: visible; text-overflow: clip; }
.cb-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.cb-card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #64748b; }
.cb-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cb-meta-time svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-save-btn { background: none; border: none; cursor: pointer; padding: 4px; opacity: 0.3; transition: opacity 0.2s; flex-shrink: 0; line-height: 0; }
.art-save-btn:hover, .art-save-btn.saved { opacity: 1; }
.art-save-btn svg { width: 15px; height: 15px; fill: none; stroke: #8b5cf6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-save-btn.saved svg { fill: #8b5cf6; }
.cb-card .article-badges { display: none; }

.cb-pagination-wrap { margin: 4px 0 26px; }
.cb-pagination-wrap .pagination { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cb-pagination-wrap .pagination:empty { display: none; }
.pg-btn { background: transparent; border: 1px solid rgba(99,102,241,0.25); border-radius: 8px; color: #94a3b8; font-size: 13px; font-weight: 500; padding: 0 13px; min-width: 34px; height: 34px; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.pg-btn:hover { border-color: rgba(99,102,241,0.6); color: #a5b4fc; background: rgba(99,102,241,0.08); }
.pg-btn.active { background: linear-gradient(135deg, #6366f1, #8b5cf6); border-color: transparent; color: #fff; }
.pg-ellipsis { color: #475569; font-size: 13px; padding: 0 4px; }
.cb-jump-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cb-jump-input { background: rgba(15,20,25,0.6); border: 1px solid rgba(99,102,241,0.25); border-radius: 8px; color: #e2e8f0; font-size: 13px; padding: 8px 12px; width: 200px; font-family: inherit; outline: none; }
.cb-jump-input:focus { border-color: rgba(99,102,241,0.6); }
.cb-jump-input::placeholder { color: #475569; }
.cb-jump-msg { font-size: 12px; color: #f87171; }
.pagination-info { font-size: 12px; color: #475569; }
.pagination-info:empty { display: none; }
@media (max-width: 768px) { .cb-jump-input { width: 100%; } }
/* ── Three tab header (Articles / Reading Paths / Questions You Can't Ask) ── */
@media (max-width: 1100px) {
    .articles-tab-header { gap: 28px; }
    .articles-tab-title { font-size: 24px; }
}
@media (max-width: 768px) {
    .articles-tab-header { gap: 16px; }
    .articles-tab-title { font-size: 15px; line-height: 1.25; }
    .articles-tab-sub { display: none; }
}

/* ── Articles page: smaller gap between the bottom page numbers and the footer ── */
.cb-pagination-wrap.cb-pagination-bottom { margin: 6px 0 0; }
.cb-pagination-bottom .pagination-info:empty { display: none; }
.page-template-page-articles .footer { margin-top: 10px; }


/* ── PINNED GUIDE CARD (How to read a staging.courben.co article) ── */
.guide-chip { text-decoration: none; display: inline-block; }
.guide-chip:hover { color: #fff; text-decoration: none; }
.guide-card-wrap { margin: 0 0 28px; max-width: 640px; }
.guide-card { background: rgba(15, 20, 25, 0.7); border: 1px solid rgba(220, 38, 38, 0.45); border-radius: 13px; padding: 28px 32px 24px; position: relative; overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5); }
.guide-card-x { position: absolute; top: 14px; right: 14px; background: rgba(220, 38, 38, 0.1); border: 1px solid rgba(220, 38, 38, 0.3); border-radius: 6px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #ef4444; font-size: 13px; line-height: 1; padding: 0; font-family: inherit; transition: background 0.2s; }
.guide-card-x:hover { background: rgba(220, 38, 38, 0.22); }
.guide-card-title { font-size: 28px; font-weight: 800; color: #fff; line-height: 1.25; margin: 0 0 16px; padding-right: 32px; }
.guide-card-text { font-size: 14px; color: rgba(255, 255, 255, 0.62); line-height: 1.8; margin: 0 0 20px; }
.guide-card-why { background: rgba(220, 38, 38, 0.07); border-left: 3px solid rgba(220, 38, 38, 0.6); border-radius: 0 10px 10px 0; padding: 12px 16px; margin-bottom: 24px; }
.guide-card-why-label { font-size: 11px; font-weight: 700; color: #ef4444; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 5px; }
.guide-card-why p { font-size: 13px; color: rgba(255, 255, 255, 0.65); line-height: 1.65; margin: 0; }
.guide-card-foot { display: flex; align-items: center; justify-content: flex-end; }
.guide-card-btn { background: rgba(220, 38, 38, 0.12); border: 1px solid rgba(220, 38, 38, 0.45); border-radius: 10px; color: #fca5a5; font-size: 13px; font-weight: 600; padding: 10px 22px; text-decoration: none; transition: background 0.2s; }
.guide-card-btn:hover { background: rgba(220, 38, 38, 0.22); color: #fecaca; text-decoration: none; }
@media (max-width: 640px) { .guide-card { padding: 22px 20px 20px; } .guide-card-title { font-size: 22px; } }
