/* Blog Detail Page - Complete Redesign */

/* ========================================
   1. BASE & LAYOUT
======================================== */

.blog-article {
    position: relative;
    background: var(--bg);
}

.container--narrow {
    max-width: 800px;
}

/* ========================================
   2. READING PROGRESS BAR
======================================== */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.reading-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon), #1fb6ff);
    width: 0%;
    transition: width 0.1s ease;
}

/* ========================================
   3. FLOATING ACTION BUTTONS
======================================== */

.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon), #1fb6ff);
    border: none;
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.3);
}

.fab.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 229, 255, 0.5);
}

.fab.active {
    background: var(--white);
    color: var(--neon);
}

.floating-share-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 12px;
    background: rgba(11, 16, 32, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-share-menu.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.share-item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.share-item--twitter {
    background: rgba(29, 155, 240, 0.1);
    color: #1D9BF0;
}

.share-item--twitter:hover {
    background: rgba(29, 155, 240, 0.2);
    transform: scale(1.1);
}

.share-item--linkedin {
    background: rgba(0, 119, 181, 0.1);
    color: #0077B5;
}

.share-item--linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
    transform: scale(1.1);
}

.share-item--whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.share-item--whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: scale(1.1);
}

/* ========================================
   4. BREADCRUMB NAVIGATION
======================================== */

.breadcrumb {
    padding: 20px 0;
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 80px;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.breadcrumb__link {
    color: var(--txt);
    transition: color 0.2s;
}

.breadcrumb__link:hover {
    color: var(--neon);
}

.breadcrumb__current {
    color: var(--white);
    font-weight: 500;
}

.breadcrumb__separator {
    color: var(--txt);
    opacity: 0.5;
}

/* ========================================
   5. FEATURED HERO IMAGE
======================================== */

.featured-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
    margin-top: -1px;
    border-radius: 0 0 24px 24px;
}

.featured-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-hero:hover .featured-hero__image {
    transform: scale(1.05);
}

.featured-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(11, 16, 32, 0.4) 50%,
        rgba(11, 16, 32, 0.8) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   6. ARTICLE HEADER
======================================== */

.article-header {
    padding: 40px 0 50px;
    background: var(--bg);
    position: relative;
    z-index: 2;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.article-meta__category {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--neon);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-meta__dot {
    color: rgba(255, 255, 255, 0.3);
}

.article-meta__read-time,
.article-meta__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--txt);
    font-size: 14px;
}

.article-header__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.article-header__excerpt {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-author__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon), #1fb6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    flex-shrink: 0;
}

.article-author__info {
    flex: 1;
}

.article-author__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.article-author__role {
    font-size: 14px;
    color: var(--txt);
}

.article-tools {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.tool-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--txt);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 14px;
}

.tool-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--neon);
}

/* ========================================
   7. ARTICLE LAYOUT (GRID)
======================================== */

.article-layout {
    padding: 60px 0 80px;
    background: var(--bg);
    position: relative;
    z-index: 2;
}

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

/* ========================================
   8. TABLE OF CONTENTS SIDEBAR
======================================== */

.toc-sidebar {
    position: relative;
}

.toc-wrapper {
    position: sticky;
    top: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.3s;
}

.toc-wrapper.sticky {
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.1);
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-title svg {
    color: var(--neon);
}

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

.toc-item {
    margin-bottom: 4px;
}

.toc-item--h2 {
    margin-left: 0;
}

.toc-item--h3 {
    margin-left: 20px;
    font-size: 14px;
}

.toc-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--txt);
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.2s;
    position: relative;
}

.toc-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--neon);
    border-radius: 3px;
    transition: height 0.2s;
}

.toc-link:hover,
.toc-link.active {
    color: var(--neon);
    background: rgba(0, 229, 255, 0.05);
}

.toc-link.active::before {
    height: 20px;
}

/* ========================================
   9. ARTICLE CONTENT
======================================== */

.article-content {
    max-width: 100%;
    min-width: 0;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.article-body h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--white);
    margin: 64px 0 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    scroll-margin-top: 120px;
    position: relative;
}

.article-body h3 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 600;
    color: var(--white);
    margin: 48px 0 20px;
    scroll-margin-top: 120px;
    position: relative;
}

.article-body h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin: 32px 0 16px;
}

.article-body p {
    margin-bottom: 24px;
}

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

.article-body em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.article-body a {
    color: var(--neon);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.2s;
}

.article-body a:hover {
    text-decoration-thickness: 2px;
    opacity: 0.8;
}

/* Lists */
.article-body ul,
.article-body ol {
    margin: 24px 0;
    padding-left: 32px;
}

.article-body ul {
    list-style: none;
}

.article-body ul li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 8px;
}

.article-body ul li::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--neon);
    border-radius: 50%;
}

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

.article-body ol li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.article-body ol li::marker {
    color: var(--neon);
    font-weight: 700;
}

/* Blockquotes */
.article-body blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--neon);
    background: rgba(0, 229, 255, 0.05);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.article-body blockquote p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 19px;
}

/* Code Blocks */
.code-block-wrapper {
    position: relative;
    margin: 32px 0;
}

.article-body pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
    position: relative;
    font-family: 'Fira Code', 'Courier New', monospace;
}

.article-body pre::before {
    content: attr(data-language);
    position: absolute;
    top: 12px;
    right: 60px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--neon);
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.7;
    font-family: system-ui, -apple-system, sans-serif;
}

.article-body code {
    font-size: 15px;
    line-height: 1.6;
}

.article-body pre code {
    display: block;
    color: #e6edf3;
}

.article-body :not(pre) > code {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.9em;
    color: var(--neon);
    font-family: 'Fira Code', monospace;
}

.copy-code-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--neon);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.copy-code-btn:hover {
    background: rgba(0, 229, 255, 0.2);
    transform: scale(1.05);
}

.copy-code-btn.copied {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25D366;
}

/* Scrollbar */
.article-body pre::-webkit-scrollbar {
    height: 8px;
}

.article-body pre::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.article-body pre::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.3);
    border-radius: 4px;
}

.article-body pre::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 229, 255, 0.5);
}

/* Tables */
.article-body table {
    width: 100%;
    margin: 32px 0;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-body table th {
    background: rgba(0, 229, 255, 0.1);
    color: var(--white);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid rgba(0, 229, 255, 0.3);
}

.article-body table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--txt);
}

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

.article-body table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Heading Anchors */
.heading-anchor {
    position: absolute;
    left: -28px;
    opacity: 0;
    color: var(--neon);
    transition: opacity 0.2s;
    text-decoration: none;
}

.article-body h2:hover .heading-anchor,
.article-body h3:hover .heading-anchor {
    opacity: 1;
}

/* ========================================
   10. ARTICLE TAGS
======================================== */

.article-tags {
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-tags__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    font-size: 15px;
}

.article-tags__label svg {
    color: var(--neon);
}

.article-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--txt);
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
}

.tag:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--neon);
    transform: translateY(-2px);
}

/* ========================================
   11. SHARE SECTION
======================================== */

.article-share {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #0f1425 100%);
}

.share-box {
    text-align: center;
    padding: 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(31, 182, 255, 0.02));
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.share-box__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
}

.share-box__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.share-btn--twitter {
    background: rgba(29, 155, 240, 0.1);
    border: 1px solid rgba(29, 155, 240, 0.3);
    color: #1D9BF0;
}

.share-btn--twitter:hover {
    background: rgba(29, 155, 240, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(29, 155, 240, 0.3);
}

.share-btn--linkedin {
    background: rgba(0, 119, 181, 0.1);
    border: 1px solid rgba(0, 119, 181, 0.3);
    color: #0077B5;
}

.share-btn--linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 119, 181, 0.3);
}

.share-btn--whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.share-btn--whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ========================================
   12. RELATED POSTS
======================================== */

.related-posts {
    padding: 80px 0;
    background: var(--bg);
}

.related-posts__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
}

.related-posts__title svg {
    color: var(--neon);
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.related-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.15);
}

.related-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-card__image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-card:hover .related-card__image img {
    transform: scale(1.1);
}

.related-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 16, 32, 0.8) 100%);
}

.related-card__content {
    padding: 24px;
}

.related-card__category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--neon);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.related-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card__excerpt {
    color: var(--txt);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-card__read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--txt);
    font-size: 13px;
}

/* ========================================
   13. ARTICLE CTA
======================================== */

.article-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0B1020 0%, #1a1f3a 100%);
}

.cta-card {
    padding: 60px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(31, 182, 255, 0.05));
    border: 1px solid rgba(0, 229, 255, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon), #1fb6ff);
    color: var(--bg);
}

.cta-card__title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-card__desc {
    font-size: 18px;
    color: var(--txt);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-card__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ========================================
   14. RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
    .article-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .toc-sidebar {
        order: 2;
    }
    
    .article-content {
        order: 1;
    }
    
    .toc-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .featured-hero {
        height: 280px;
    }
    
    .article-header {
        padding: 40px 0;
    }
    
    .article-layout {
        padding: 40px 0;
    }
    
    .article-author {
        flex-wrap: wrap;
    }
    
    .article-tools {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
    
    .article-body {
        font-size: 17px;
    }
    
    .article-body h2 {
        margin: 48px 0 20px;
    }
    
    .article-body h3 {
        margin: 32px 0 16px;
    }
    
    .floating-actions {
        right: 16px;
        bottom: 16px;
    }
    
    .fab {
        width: 48px;
        height: 48px;
    }
    
    .breadcrumb {
        padding: 16px 0;
        top: 70px;
    }
    
    .breadcrumb__item {
        font-size: 13px;
    }
    
    .toc-wrapper {
        padding: 20px;
    }
    
    .related-posts {
        padding: 60px 0;
    }
    
    .related-posts__grid {
        grid-template-columns: 1fr;
    }
    
    .article-share,
    .article-cta {
        padding: 60px 0;
    }
    
    .share-box,
    .cta-card {
        padding: 32px 24px;
    }
    
    .share-box__buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-card__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .article-meta {
        font-size: 13px;
    }
    
    .article-meta__category {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .article-body pre {
        padding: 16px;
        font-size: 14px;
    }
    
    .heading-anchor {
        display: none;
    }
}

/* ========================================
   15. PRINT STYLES
======================================== */

@media print {
    .reading-progress,
    .floating-actions,
    .breadcrumb,
    .article-meta,
    .article-author,
    .article-tools,
    .toc-sidebar,
    .article-tags,
    .article-share,
    .related-posts,
    .article-cta,
    .copy-code-btn,
    header,
    footer {
        display: none !important;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-body {
        font-size: 12pt;
        color: #000;
    }
    
    .article-body h2,
    .article-body h3,
    .article-header__title {
        color: #000;
        page-break-after: avoid;
    }
    
    .article-body pre {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        background: #f5f5f5;
    }
    
    .article-body a {
        color: #0066cc;
        text-decoration: underline;
    }
}
