/* ═══════════════════════════════════════════════════════════════════════════
   BLOG STYLES — Notiqo
   Combined CSS for blog listing and article pages
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   BLOG LISTING PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */

/* Hero Section */
.blog-hero {
    padding: 120px 0 48px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 58, 237, .05) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero .math-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(108, 58, 237, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 58, 237, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 0, 0, .35) 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 0, 0, .35) 0%, transparent 75%);
}

.blog-hero-content {
    position: relative;
    z-index: 1;
}

.blog-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.blog-hero h1 {
    font-family: var(--font-d);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 17px;
    color: var(--text-sec);
    line-height: 1.7;
    max-width: 520px;
}

/* Toolbar (filters + search) */
.blog-toolbar {
    padding: 0 0 48px;
    background: var(--bg);
    position: relative;
    z-index: 2;
}

.toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.category-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.cat-btn {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    color: var(--text-sec);
    border: 1.5px solid var(--border);
    transition: var(--ease);
    cursor: pointer;
}

.cat-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cat-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.search-box {
    position: relative;
    width: 280px;
    flex-shrink: 0;
}

.search-box input {
    width: 100%;
    padding: 11px 20px 11px 42px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: var(--ease);
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 58, 237, .1);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-light);
    pointer-events: none;
}

.sort-select {
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-family: var(--font);
    font-size: 13px;
    color: var(--text-sec);
    background: var(--white);
    cursor: pointer;
    outline: none;
    transition: var(--ease);
}

.sort-select:focus {
    border-color: var(--primary);
}

/* Blog Grid */
.blog-listing {
    padding: 0 0 80px;
    background: var(--bg);
}

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

.blog-card {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--ease);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.blog-cover {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-cover .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(108, 58, 237, .9);
    color: var(--white);
}

.blog-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-cover-img {
    transform: scale(1.05);
}

.blog-cover-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.blog-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-light);
}

.blog-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-body p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--ease);
    align-self: flex-start;
}

.blog-link:hover {
    gap: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 56px;
}

.page-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-sec);
    background: var(--white);
    border: 1.5px solid var(--border);
    transition: var(--ease);
    cursor: pointer;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-btn.disabled {
    opacity: .4;
    pointer-events: none;
}

.page-btn.arrow {
    font-size: 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.empty-state h3 {
    font-family: var(--font-d);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 15px;
    color: var(--text-sec);
    margin-bottom: 24px;
}

/* ─────────────────────────────────────────────────────────────────────────
   BLOG ARTICLE PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */

/* Article Hero */
.article-hero {
    padding: 120px 0 0;
    background: var(--bg);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-sec);
    margin-bottom: 24px;
    transition: var(--ease);
}

.back-link:hover {
    color: var(--primary);
}

.article-hero .tag {
    margin-bottom: 16px;
}

.article-hero h1 {
    font-family: var(--font-d);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.5px;
    margin-bottom: 20px;
    max-width: 800px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-sec);
    margin-bottom: 32px;
}

.article-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-light);
}

.article-cover {
    width: 100%;
    max-width: 900px;
    height: 380px;
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-bottom: 0;
    box-sizing: border-box;
}

.article-cover-inner {
    width: 100%;
    height: 100%;
}

/* Article Content */
.article-content-wrap {
    padding: 48px 0 60px;
    overflow: hidden;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.article-body {
    max-width: 660px;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r-md);
}

.article-body iframe {
    max-width: 100%;
}

/* Table wrapper for horizontal scroll on mobile */
.article-body .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-light);
}

.article-body table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
}

.article-body table thead {
    background: rgba(108, 58, 237, .05);
}

.article-body table th {
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    border-bottom: 2px solid var(--border-light);
    white-space: nowrap;
}

.article-body table td {
    padding: 10px 16px;
    color: var(--text-sec);
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}

.article-body table tbody tr:last-child td {
    border-bottom: none;
}

.article-body table tbody tr:hover {
    background: rgba(108, 58, 237, .02);
}

.article-body h2 {
    font-family: var(--font-d);
    font-size: 24px;
    font-weight: 700;
    margin: 36px 0 16px;
    line-height: 1.3;
}

.article-body h3 {
    font-family: var(--font-d);
    font-size: 20px;
    font-weight: 600;
    margin: 28px 0 12px;
}

.article-body p {
    font-size: 16px;
    color: var(--text-sec);
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-body li {
    font-size: 15px;
    color: var(--text-sec);
    line-height: 1.7;
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

.article-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: rgba(108, 58, 237, .04);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: 15px;
    color: var(--text-sec);
    font-style: italic;
    line-height: 1.7;
}

.article-body strong {
    color: var(--text);
    font-weight: 600;
}

.article-body code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    padding: 2px 6px;
    background: rgba(108, 58, 237, .06);
    color: var(--primary);
    border-radius: var(--r-sm);
}

.article-body pre {
    background: rgba(15, 10, 31, .8);
    color: #E2E8F0;
    padding: 16px 20px;
    border-radius: var(--r-md);
    overflow-x: auto;
    margin: 24px 0;
    font-size: 13px;
    line-height: 1.6;
    max-width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.article-body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 14px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border-light);
    transition: var(--ease);
    cursor: pointer;
    text-decoration: none;
}

.share-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(2px);
}

.share-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.share-btn.copied {
    background: rgba(16, 185, 129, .08);
    border-color: rgba(16, 185, 129, .3);
    color: #10B981;
}

/* Table of Contents */
.toc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-item {
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-sec);
    border-radius: var(--r-sm);
    transition: var(--ease);
    cursor: pointer;
    border-left: 2px solid transparent;
}

.toc-item:hover {
    color: var(--primary);
    background: rgba(108, 58, 237, .04);
}

.toc-item.active {
    color: var(--primary);
    background: rgba(108, 58, 237, .08);
    border-left-color: var(--primary);
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.article-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(108, 58, 237, .06);
    color: var(--primary);
    transition: var(--ease);
}

.article-tag:hover {
    background: rgba(108, 58, 237, .12);
}

/* Related Posts */
.related {
    padding: 60px 0 80px;
    background: var(--bg-alt);
}

.related h2 {
    font-family: var(--font-d);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

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

.related-card {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--ease);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.related-cover {
    height: 160px;
    overflow: hidden;
}

.related-cover-inner {
    width: 100%;
    height: 100%;
}

.related-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-body .tag {
    margin-bottom: 8px;
    font-size: 12px;
    padding: 3px 10px;
    align-self: flex-start;
}

.related-body h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-body span {
    font-size: 13px;
    color: var(--text-light);
    margin-top: auto;
}

/* Article Navigation */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 60px 0;
    padding: 32px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.nav-article {
    padding: 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    transition: var(--ease);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.nav-article:hover {
    border-color: var(--primary);
    background: rgba(108, 58, 237, .02);
}

.nav-article .nav-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.nav-article .nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.nav-article:first-child .nav-label::before {
    content: '← ';
}

.nav-article:last-child .nav-label::after {
    content: ' →';
}

/* Article CTA */
.article-cta {
    padding: 48px;
    background: rgba(108, 58, 237, .04);
    border: 1px solid rgba(108, 58, 237, .1);
    border-radius: var(--r-lg);
    text-align: center;
    margin: 60px 0;
}

.article-cta h3 {
    font-family: var(--font-d);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.article-cta p {
    font-size: 15px;
    color: var(--text-sec);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(108, 58, 237, .1) 0%, rgba(6, 182, 212, .06) 100%);
    border-radius: var(--r-xl);
    text-align: center;
    margin: 80px 0;
}

.newsletter-section h3 {
    font-family: var(--font-d);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter-section p {
    font-size: 16px;
    color: var(--text-sec);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: var(--ease);
}

.newsletter-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 58, 237, .1);
}

.newsletter-form button {
    padding: 14px 32px;
}

/* ─────────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────────────── */

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

    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
    }

    .article-body {
        max-width: 100%;
    }

    .article-sidebar {
        position: static;
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
    }

    .sidebar-section {
        flex: 1;
        min-width: 200px;
        margin-bottom: 0;
    }

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

    .article-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 32px;
    }

    .blog-hero h1 {
        font-size: 28px;
    }

    .blog-toolbar {
        padding: 0 0 32px;
    }

    .toolbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .category-filters {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .category-filters::-webkit-scrollbar {
        display: none;
    }

    .cat-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .search-box {
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-hero {
        padding: 100px 0 0;
    }

    .article-hero h1 {
        font-size: 24px;
        line-height: 1.25;
    }

    .article-meta {
        gap: 8px 12px;
        font-size: 13px;
        margin-bottom: 24px;
    }

    .article-cover {
        height: 200px;
        border-radius: var(--r-md);
    }

    .article-cover-inner {
        border-radius: var(--r-md) !important;
    }

    .article-content-wrap {
        padding: 28px 0 40px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .article-body {
        max-width: 100%;
    }

    .article-body h2 {
        font-size: 20px;
        margin: 28px 0 12px;
    }

    .article-body h3 {
        font-size: 17px;
        margin: 20px 0 10px;
    }

    .article-body p {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 16px;
    }

    .article-body ul,
    .article-body ol {
        margin: 0 0 16px 16px;
    }

    .article-body li {
        font-size: 14px;
    }

    .article-body blockquote {
        margin: 20px 0;
        padding: 16px 18px;
        font-size: 14px;
    }

    .article-body pre {
        padding: 14px 16px;
        font-size: 12px;
        margin: 20px -16px;
        border-radius: 0;
        white-space: pre-wrap;
        word-break: break-all;
    }

    .article-body .table-responsive {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .article-body table {
        font-size: 13px;
        min-width: 400px;
    }

    .article-body table th {
        padding: 10px 12px;
        font-size: 12px;
    }

    .article-body table td {
        padding: 8px 12px;
        font-size: 13px;
    }

    .article-sidebar {
        position: static;
        flex-direction: column;
    }

    .sidebar-section {
        min-width: 100%;
    }

    .share-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .share-btn {
        flex: 1;
        min-width: 130px;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
    }

    .share-btn svg {
        width: 16px;
        height: 16px;
    }

    .toc-list {
        gap: 6px;
    }

    .toc-item {
        padding: 6px 10px;
        font-size: 13px;
    }

    .article-tags {
        margin-top: 24px;
        padding-top: 20px;
    }

    .related {
        padding: 40px 0 60px;
    }

    .related h2 {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-cover {
        height: 140px;
    }

    .related-body {
        padding: 16px;
    }

    .related-body h3 {
        font-size: 15px;
    }

    .article-nav {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 40px 0;
        padding: 24px 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .article-cta {
        padding: 32px 20px;
    }

    .newsletter-section {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 80px 0 24px;
    }

    .blog-hero h1 {
        font-size: 22px;
    }

    .blog-hero p {
        font-size: 14px;
    }

    .toolbar-inner {
        gap: 12px;
    }

    .cat-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .search-box {
        width: 100%;
    }

    .sort-select {
        padding: 8px 12px;
        font-size: 13px;
    }

    .article-hero {
        padding: 80px 0 0;
    }

    .article-hero h1 {
        font-size: 21px;
        line-height: 1.3;
    }

    .article-meta {
        font-size: 12px;
        gap: 6px 8px;
        margin-bottom: 20px;
    }

    .article-meta .dot {
        width: 3px;
        height: 3px;
    }

    .article-cover {
        height: 170px;
    }

    .article-content-wrap {
        padding: 24px 0 32px;
    }

    .article-layout {
        gap: 24px;
    }

    .article-body h2 {
        font-size: 18px;
        margin: 24px 0 10px;
    }

    .article-body h3 {
        font-size: 16px;
        margin: 18px 0 8px;
    }

    .article-body p {
        font-size: 14.5px;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .article-body li {
        font-size: 14px;
    }

    .article-body blockquote {
        padding: 14px 16px;
        font-size: 13.5px;
    }

    .article-body pre {
        padding: 12px 14px;
        font-size: 11.5px;
    }

    .share-btn {
        min-width: 0;
        flex: 1 1 calc(50% - 4px);
        padding: 10px 8px;
        font-size: 12px;
        gap: 6px;
    }

    .share-btn svg {
        width: 14px;
        height: 14px;
    }

    .sidebar-section {
        min-width: 100%;
    }

    .pagination {
        gap: 4px;
    }

    .page-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .related {
        padding: 32px 0 48px;
    }

    .related h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .related-cover {
        height: 120px;
    }

    .related-body {
        padding: 14px;
    }

    .related-body h3 {
        font-size: 14px;
    }

    .article-cta {
        padding: 24px 16px;
    }

    .article-cta h3 {
        font-size: 18px;
    }

    .article-cta p {
        font-size: 14px;
    }

    .newsletter-section {
        padding: 32px 16px;
        margin: 48px 0;
    }

    .newsletter-section h3 {
        font-size: 18px;
    }

    .newsletter-section p {
        font-size: 14px;
    }
}
