@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

/* ==========================================================================
   CurrentDateTime Global Editorial & Blog Design System
   ========================================================================== */

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --primary-glow: rgba(79, 70, 229, 0.18);
    --primary-border: #c7d2fe;
    
    --accent: #0ea5e9;
    --accent-light: #f0f9ff;
    
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-surface: #f1f5f9;
    
    --border-color: #e2e8f0;
    --border-subtle: #f1f5f9;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #0ea5e9);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   Blog Listing Layout & Grid
   ========================================================================== */

.blog-hero-section {
    background: radial-gradient(120% 120% at 50% 10%, #1e1b4b 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 2.75rem 2.5rem;
    position: relative;
    overflow: visible;
    margin-top: 0.25rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 40;
}

@media (max-width: 768px) {
    .blog-hero-section { padding: 1.75rem 1.25rem; }
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.blog-search-container {
    position: relative;
    max-width: 580px;
    margin-top: 1.5rem;
    z-index: 1000;
}

.blog-search-form {
    margin: 0;
    padding: 0;
    width: 100%;
}

.blog-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    padding: 5px 8px 5px 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.blog-search-input-wrapper:focus-within {
    background: rgba(15, 23, 42, 0.85);
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.4), 0 12px 36px rgba(0, 0, 0, 0.45);
}

.blog-search-icon {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-right: 12px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.blog-search-input-wrapper:focus-within .blog-search-icon {
    color: #818cf8;
}

.blog-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 4px;
    font-family: inherit;
}

.blog-search-input::placeholder {
    color: #94a3b8;
}

.blog-search-spinner {
    color: #818cf8;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.blog-search-clear-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #e2e8f0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    margin-right: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.blog-search-clear-btn:hover {
    background: rgba(239, 68, 68, 0.8);
    color: #ffffff;
}

.blog-search-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    border: none;
    border-radius: 40px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
    flex-shrink: 0;
}

.blog-search-submit-btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.55);
}

/* Floating Live Search Dropdown */
.blog-live-search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(15, 23, 42, 0.12);
    max-height: 420px;
    overflow-y: auto;
    z-index: 99999;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(226, 232, 240, 0.95);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.blog-live-search-dropdown::-webkit-scrollbar {
    width: 6px;
}
.blog-live-search-dropdown::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 0 18px 18px 0;
}
.blog-live-search-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}
.blog-live-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.blog-search-suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 18px;
    text-decoration: none;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
    cursor: pointer;
}

.blog-search-suggestion-item:last-child {
    border-bottom: none;
}

.blog-search-suggestion-item:hover,
.blog-search-suggestion-item.is-active {
    background: #f8fafc;
    color: #4f46e5;
}

.blog-suggestion-thumb {
    width: 60px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}

.blog-suggestion-info {
    flex: 1;
    min-width: 0;
}

.blog-suggestion-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.blog-suggestion-category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6366f1;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 6px;
}

.blog-suggestion-readtime {
    font-size: 0.72rem;
    color: #64748b;
}

.blog-suggestion-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 3px 0;
}

.blog-search-suggestion-item:hover .blog-suggestion-title,
.blog-search-suggestion-item.is-active .blog-suggestion-title {
    color: #4f46e5;
}

.blog-suggestion-snippet {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-keyword-mark {
    background: #fef08a;
    color: #854d0e;
    font-weight: 700;
    padding: 0 2px;
    border-radius: 3px;
}

.blog-search-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4f46e5;
}

.blog-search-dropdown-footer:hover {
    background: #eef2ff;
    text-decoration: underline;
}

.blog-search-empty-state {
    padding: 24px 18px;
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
}

/* Search Results Active Banner */
.blog-search-results-banner {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-clear-search-filter {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-clear-search-filter:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.blog-rss-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #d97706 !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-rss-badge:hover {
    background: #fef3c7;
    border-color: #fcd34d;
    transform: translateY(-1px);
}

/* ==========================================================================
   Featured Hero Article Banner (.blog-featured-hero-section)
   ========================================================================== */

.blog-featured-hero-section {
    margin: 2rem 0 2.5rem;
}

.featured-hero-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.featured-hero-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.featured-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    border-color: #c7d2fe;
}

.featured-hero-media {
    position: relative;
    aspect-ratio: 16/9;
    background: #0f172a;
    overflow: hidden;
}

.featured-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.featured-hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.6) 100%);
    pointer-events: none;
}

.featured-hero-ribbon {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #f59e0b;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.featured-hero-content {
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-hero-cat-wrap {
    margin-bottom: 0.85rem;
}

.featured-hero-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f1f5f9;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
}

.featured-hero-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.featured-hero-card:hover .featured-hero-heading {
    color: var(--primary);
}

.featured-hero-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-hero-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 1.25rem;
}

.featured-hero-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-author-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.featured-author-info {
    display: flex;
    flex-direction: column;
}

.featured-author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.featured-author-role {
    font-size: 0.72rem;
    color: #94a3b8;
}

.featured-hero-timing {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
}

.featured-hero-action {
    display: flex;
    align-items: center;
}

.featured-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 12px;
    background: var(--primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: all 0.2s ease;
}

.featured-hero-card:hover .featured-read-btn {
    background: var(--primary-hover);
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .featured-hero-card {
        grid-template-columns: 1fr;
    }
    .featured-hero-content {
        padding: 1.75rem;
    }
    .featured-hero-heading {
        font-size: 1.45rem;
    }
}

/* ==========================================================================
   Articles Section Header
   ========================================================================== */

.blog-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.blog-section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

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

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

@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================================================
   Article Card Component (.blog-card)
   ========================================================================== */

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.12);
    border-color: #c7d2fe;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0f172a;
}

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

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

.blog-card-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #0f172a;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.85rem;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-badge i {
    font-size: 0.85rem;
    color: #6366f1;
}

.meta-sep {
    color: #cbd5e1;
}

.blog-card-heading {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-heading {
    color: var(--primary);
}

.blog-card-snippet {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.author-pill {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.author-text {
    font-weight: 600;
    color: #334155;
    font-size: 0.8rem;
}

.read-more-btn {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease;
}

.blog-card:hover .read-more-btn {
    transform: translateX(3px);
}

/* ==========================================================================
   Category Nav Filter Bar
   ========================================================================== */

.blog-category-nav-wrapper {
    margin: 1.5rem 0 2rem;
}

.category-nav-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav-scroll::-webkit-scrollbar {
    display: none;
}

.category-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.category-nav-pill:hover {
    background: #f8fafc;
    color: var(--primary);
    border-color: var(--primary-border);
    transform: translateY(-1px);
}

.category-nav-pill.active {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.pill-count {
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.08);
}

.category-nav-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   Pagination Component (.editorial-pagination-container)
   ========================================================================== */

.editorial-pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 3rem 0 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.pagination-summary {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.pagination-summary strong {
    color: var(--text-main);
    font-weight: 700;
}

.pagination-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.pagination-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-nav-btn.active {
    color: var(--text-main);
    background: #f1f5f9;
}

.pagination-nav-btn.active:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.pagination-nav-btn.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 50%;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-page-btn:hover {
    background: #f8fafc;
    color: var(--primary);
    transform: translateY(-1px);
}

.pagination-page-btn.current {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.pagination-ellipsis {
    padding: 0 6px;
    color: #94a3b8;
    font-weight: 700;
}

/* ==========================================================================
   Single Article Layout & Typography System
   ========================================================================== */

.blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.blog-breadcrumbs a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

.crumb-sep {
    color: #cbd5e1;
}

.crumb-category {
    color: var(--primary) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.crumb-current {
    color: var(--text-main);
    font-weight: 600;
}

.single-article-header {
    margin-bottom: 2rem;
}

.single-cat-badge-wrap {
    margin-bottom: 1rem;
}

.single-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    background: #eef2ff;
    color: #4338ca !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid #c7d2fe;
    transition: background 0.2s ease;
}

.single-cat-badge:hover {
    background: #e0e7ff;
    text-decoration: none !important;
}

.single-article-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .single-article-title { font-size: 1.95rem; }
}

/* Author Byline Card (.editorial-byline-card) */
.editorial-byline-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    margin: 1.5rem 0 2rem;
}

.byline-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.byline-avatar-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.byline-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    color: #16a34a;
    font-size: 1.05rem;
    background: #ffffff;
    border-radius: 50%;
    line-height: 1;
}

.byline-header-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.byline-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
}

.byline-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 50px;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.byline-meta-row {
    font-size: 0.84rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.byline-meta-row i {
    color: #6366f1;
}

.single-article-cover-wrap {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.12);
    background: #0f172a;
    border: 1px solid #e2e8f0;
}

.single-article-cover-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
    display: block;
}

/* 2-Column Article Grid Layout */
.single-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    margin-bottom: 4rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .single-article-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .single-article-sidebar {
        max-width: 680px;
        margin: 0 auto;
    }
    .sidebar-sticky-wrapper {
        position: static;
    }
}

/* Article Topics Tags Section */
.article-tags-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 2.5rem 0 1.5rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.tags-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tags-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tag-pill {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.article-tag-pill:hover {
    background: #eef2ff;
    border-color: #a5b4fc;
    color: #4338ca;
    transform: translateY(-1px);
}

/* Author Bio Card Component */
.author-bio-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.75rem;
    margin: 2.5rem 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.bio-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e7ff;
    flex-shrink: 0;
}

.bio-content {
    flex-grow: 1;
    min-width: 0;
}

.bio-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.bio-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.bio-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #15803d;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 6px;
}

.bio-text {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Sticky Sidebar & Widget Design */
.single-article-sidebar {
    width: 100%;
}

.sidebar-sticky-wrapper {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.sidebar-tool-widget {
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
    border: 1px solid #c7d2fe;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
}

.sidebar-tool-widget .widget-badge,
.sidebar-newsletter-widget .widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4338ca;
    background: #e0e7ff;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.sidebar-tool-widget .widget-title,
.sidebar-newsletter-widget .widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 0.5rem;
}

.sidebar-tool-widget .widget-desc,
.sidebar-newsletter-widget .widget-desc {
    font-size: 0.88rem;
    color: #4338ca;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.widget-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--primary);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: all 0.2s ease;
}

.widget-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.sidebar-section-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.sidebar-related-card:hover {
    background: #f8fafc;
}

.sidebar-related-img {
    width: 58px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.sidebar-related-meta {
    flex-grow: 1;
    min-width: 0;
}

.sidebar-related-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-related-time {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-newsletter-input {
    width: 100%;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 0.88rem;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s ease;
}

.sidebar-newsletter-input:focus {
    border-color: var(--primary);
}

.sidebar-newsletter-btn {
    width: 100%;
    padding: 9px 14px;
    border-radius: 50px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-newsletter-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

/* Main Article Content & Typography */
.single-article-main {
    min-width: 0;
}

/* Professional Table of Contents Component (.blog-toc-card) */
.blog-toc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.75rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-toc-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.blog-toc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.toc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.toc-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toc-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef2ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12);
}

.toc-title-lockup {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.toc-heading-text {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.toc-count-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.toc-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toc-toggle-btn:hover {
    background: #eef2ff;
    color: var(--primary);
    border-color: var(--primary-border);
}

.toc-toggle-icon {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.toc-list-wrapper {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    max-height: 520px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin 0.25s ease, padding 0.25s ease;
}

.toc-list-wrapper.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    pointer-events: none;
}

.toc-scroll-inner {
    max-height: 440px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.toc-scroll-inner::-webkit-scrollbar {
    width: 6px;
}

.toc-scroll-inner::-webkit-scrollbar-track {
    background: transparent;
}

.toc-scroll-inner::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 6px;
}

.toc-scroll-inner::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

.toc-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-nav-item {
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.toc-nav-item.toc-level-3 {
    padding-left: 2rem;
    font-size: 0.85rem;
}

.toc-nav-link {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    color: #334155;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.toc-nav-link:hover {
    background: #f1f5f9;
    color: var(--primary);
    transform: translateX(4px);
}

.toc-nav-link.active {
    background: #eef2ff;
    color: var(--primary);
    font-weight: 700;
    border-left-color: var(--primary);
}

.toc-item-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: #4f46e5;
    background: #eef2ff;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.toc-item-submarker {
    color: #94a3b8;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.toc-item-label {
    line-height: 1.45;
}

/* Article Body & Heading Typography Tokens */
.article-body-content {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
}

/* Master Heading Styles */
.editorial-heading,
.article-heading {
    position: relative;
    font-family: var(--font-heading);
    color: #0f172a;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
}

.editorial-h1,
.single-article-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
}

.editorial-h2,
.article-body-content h2,
.article-heading-h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-top: 3.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
    scroll-margin-top: 85px;
}

.editorial-h2::after,
.article-body-content h2::after,
.article-heading-h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.editorial-h3,
.article-body-content h3,
.article-heading-h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.18rem, 2vw, 1.38rem);
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    letter-spacing: -0.015em;
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
    scroll-margin-top: 85px;
}

.editorial-h4,
.article-body-content h4,
.article-heading-h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #334155;
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
    scroll-margin-top: 85px;
}

/* Heading Anchor Copy Links */
.heading-anchor-link {
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    color: #94a3b8 !important;
    font-size: 1.1rem;
    margin-left: 6px;
    text-decoration: none !important;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.heading-anchor-link:hover {
    color: var(--primary) !important;
    background: #eef2ff;
    transform: scale(1.1);
}

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

/* Editorial Paragraph & Takeaway Components */
.editorial-body-paragraph,
.article-body-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
    letter-spacing: -0.011em;
    margin-bottom: 1.6rem;
}

.editorial-lead-paragraph {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.75;
    color: #1e293b;
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.75rem;
    border-radius: 0 16px 16px 0;
    margin: 2rem 0;
}

.editorial-takeaway-box {
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    margin: 2.25rem 0;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.06);
}

.takeaway-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4338ca;
    margin-bottom: 0.6rem;
}

.takeaway-badge i {
    font-size: 0.95rem;
    color: #f59e0b;
}

.takeaway-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1e1b4b;
    font-weight: 500;
}

.editorial-dropcap-paragraph::first-letter {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 0.85;
    float: left;
    margin-right: 12px;
    margin-top: 4px;
    font-weight: 900;
    color: var(--primary);
}

.editorial-caption-paragraph {
    font-size: 0.88rem;
    color: #64748b;
    font-style: italic;
    line-height: 1.5;
    margin-top: -0.85rem;
    margin-bottom: 1.5rem;
}

.editorial-quote-paragraph {
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1e293b;
    border-left: 4px solid #0ea5e9;
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* Editorial List Components & Bullet Points */
.editorial-list-container {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.75rem 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.editorial-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
}

.list-bullet-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 10px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.list-step-badge {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 2px 7px;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 3px;
}

.list-icon-badge {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 3px;
}

.list-icon-badge.check { color: #16a34a; }
.list-icon-badge.pro { color: #0284c7; }
.list-icon-badge.con { color: #dc2626; }

.list-item-content {
    flex-grow: 1;
}

/* Article Body Content Default List Styling */
.article-body-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-body-content ul li {
    position: relative;
    padding-left: 24px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
}

.article-body-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.article-body-content ol {
    counter-reset: custom-counter;
    list-style: none;
    padding-left: 0;
    margin: 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-body-content ol li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 36px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
}

.article-body-content ol li::before {
    content: counter(custom-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 1px 5px;
    border-radius: 5px;
}

/* Editorial Callout Cards */
.editorial-callout-card {
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    margin: 2.25rem 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.editorial-callout-card .callout-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.editorial-callout-card .callout-icon-pill {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.editorial-callout-card .callout-title-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
}

.editorial-callout-card .callout-body {
    font-size: 1.02rem;
    line-height: 1.7;
}

.callout-tip {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #a7f3d0;
    color: #064e3b;
}
.callout-tip .callout-icon-pill { background: #d1fae5; color: #059669; }
.callout-tip .callout-title-text { color: #065f46; }

.callout-info {
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
    border: 1px solid #c7d2fe;
    color: #1e1b4b;
}
.callout-info .callout-icon-pill { background: #e0e7ff; color: #4f46e5; }
.callout-info .callout-title-text { color: #3730a3; }

.callout-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    color: #78350f;
}
.callout-warning .callout-icon-pill { background: #fef3c7; color: #d97706; }
.callout-warning .callout-title-text { color: #92400e; }

.callout-important {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    color: #581c87;
}
.callout-important .callout-icon-pill { background: #ede9fe; color: #7c3aed; }
.callout-important .callout-title-text { color: #6b21a8; }

.callout-time-zone {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}
.callout-time-zone .callout-icon-pill { background: rgba(255, 255, 255, 0.15); color: #38bdf8; }
.callout-time-zone .callout-title-text { color: #ffffff; }
.callout-time-zone .callout-body { color: #cbd5e1; }

/* Responsive Editorial Comparison Tables */
.editorial-table-wrapper {
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.editorial-table-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 1.5rem 1.75rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.editorial-table-header .table-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 2px;
}

.editorial-table-header .table-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    line-height: 1.3;
    display: block;
    margin: 0;
}

.editorial-table-header .table-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
    display: block;
    margin: 0;
}

.table-responsive-container {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.editorial-table,
.article-body-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    border: none;
    font-size: 0.94rem;
    background: #ffffff;
}

.editorial-table th,
.article-body-content th {
    background: #f8fafc;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    padding: 14px 18px;
    border-bottom: 1.5px solid #e2e8f0;
    white-space: nowrap;
    text-align: left;
}

.editorial-table td,
.article-body-content td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    line-height: 1.6;
    text-transform: none !important;
    font-size: 0.92rem;
}

.editorial-table td strong {
    color: #0f172a;
    font-weight: 700;
}

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

.editorial-table tbody tr:nth-child(even) td,
.article-body-content tbody tr:nth-child(even) td {
    background: #fbfcfe;
}

.editorial-table tbody tr:hover td,
.article-body-content tbody tr:hover td {
    background: #f0f7ff;
}

.editorial-table-caption {
    padding: 10px 18px;
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

/* Mathematical Formula Card Component */
.editorial-formula-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 1.5rem;
    margin: 2.25rem 0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.formula-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #1e293b;
}

.formula-type-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.formula-title-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    margin-left: 6px;
}

.formula-copy-btn,
.terminal-copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.formula-copy-btn:hover,
.terminal-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.formula-copy-btn.copied,
.terminal-copy-btn.copied {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.formula-math-display {
    font-family: var(--font-mono);
    font-size: 1.12rem;
    line-height: 1.7;
    color: #38bdf8;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.formula-result-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.result-label {
    color: #94a3b8;
    font-weight: 600;
}

.result-value {
    color: #4ade80;
    font-weight: 800;
    font-size: 1.05rem;
}

/* Developer IDE Code Terminal Component */
.editorial-code-terminal {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 18px;
    margin: 2.25rem 0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.terminal-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #090d16;
    border-bottom: 1px solid #1e293b;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-dots .dot.close { background: #ef4444; }
.terminal-dots .dot.minimize { background: #f59e0b; }
.terminal-dots .dot.expand { background: #10b981; }

.terminal-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-filename {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #94a3b8;
}

.terminal-lang-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.2);
    padding: 2px 7px;
    border-radius: 4px;
}

.terminal-pre-body {
    padding: 1.5rem !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    font-family: var(--font-mono) !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    color: #f8fafc !important;
    overflow-x: auto;
}

/* In-Text Special Badges & Coordinates */
.editorial-special-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    vertical-align: middle;
}

.badge-timezone {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.badge-offset {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-coordinate {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-kbd {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 0 #94a3b8;
    font-size: 0.78rem;
}

.badge-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.badge-warning {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-neutral {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* 1. FAQ Accordion Component (.editorial-faq-section) */
.editorial-faq-section {
    margin: 3.5rem 0;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.faq-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.faq-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef2ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.faq-main-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
    background: #ffffff;
}

.faq-accordion-item.active {
    border-color: #c7d2fe;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.08);
}

.faq-accordion-trigger {
    width: 100%;
    text-align: left;
    background: #f8fafc;
    border: none;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-accordion-item.active .faq-accordion-trigger {
    background: #eef2ff;
    color: var(--primary);
}

.faq-accordion-icon {
    font-size: 0.9rem;
    color: #64748b;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-accordion-item.active .faq-accordion-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion-item.active .faq-accordion-collapse {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 1.25rem 1.4rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #334155;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

/* 2. Do vs Don't Comparison Component (.editorial-do-dont-grid) */
.editorial-do-dont-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 2.5rem 0;
}

@media (max-width: 768px) {
    .editorial-do-dont-grid {
        grid-template-columns: 1fr;
    }
}

.do-dont-card {
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    border: 1px solid transparent;
}

.do-dont-card.card-do {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-color: #86efac;
}

.do-dont-card.card-dont {
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    border-color: #fca5a5;
}

.do-dont-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.85rem;
}

.card-do .do-dont-badge {
    background: #dcfce7;
    color: #15803d;
    font-weight: 800;
    font-size: 0.76rem;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-dont .do-dont-badge {
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 800;
    font-size: 0.76rem;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-do .do-dont-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: #14532d;
}

.card-dont .do-dont-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: #7f1d1d;
}

.card-do .do-dont-text {
    color: #166534;
    font-size: 0.98rem;
    line-height: 1.65;
}

.card-dont .do-dont-text {
    color: #991b1b;
    font-size: 0.98rem;
    line-height: 1.65;
}

/* 3. Hierarchy Ladder Component (.editorial-hierarchy-ladder) */
.editorial-hierarchy-ladder {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 2.5rem 0;
}

.hierarchy-ladder-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease;
}

.hierarchy-ladder-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.hierarchy-ladder-item.tier-best {
    border-left: 4px solid #10b981;
}

.hierarchy-ladder-item.tier-good {
    border-left: 4px solid #3b82f6;
}

.hierarchy-ladder-item.tier-risky {
    border-left: 4px solid #ef4444;
}

.ladder-tier-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 10px;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.ladder-rank {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}

.ladder-tier-name {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.ladder-content {
    flex-grow: 1;
}

.ladder-item-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.ladder-item-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 8px;
}

.ladder-example-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
}

.example-tag {
    font-weight: 700;
    color: #64748b;
}

.example-code {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--primary);
}

/* 4. Action Checklist Component (.editorial-checklist-card) */
.editorial-checklist-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.75rem 2rem;
    margin: 2.75rem 0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.checklist-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #f1f5f9;
}

.checklist-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef2ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.checklist-main-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.checklist-steps-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checklist-step-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.checklist-step-number {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 800;
    color: #4f46e5;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist-step-body {
    flex-grow: 1;
}

.checklist-step-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 2px;
}

.checklist-step-detail {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

/* 5. Golden Rule Banner Component (.editorial-rule-banner) */
.editorial-rule-banner {
    position: relative;
    border-radius: 20px;
    background: radial-gradient(120% 120% at 20% 10%, #1e1b4b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 0 !important;
    margin: 3.5rem 0;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(56, 189, 248, 0.08);
    overflow: hidden;
}

.rule-banner-accent {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: linear-gradient(180deg, #38bdf8 0%, #6366f1 100%);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
    z-index: 1;
}

.rule-banner-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 1.75rem 2rem 1.75rem 1.75rem;
    position: relative;
    z-index: 2;
}

.rule-icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.rule-content-wrap {
    flex-grow: 1;
    min-width: 0;
}

.rule-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #38bdf8;
    margin-bottom: 0.5rem;
}

.rule-statement-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.55;
    color: #ffffff;
}

.rule-statement-text p,
.editorial-rule-banner p {
    font-family: var(--font-body) !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #e2e8f0 !important;
    margin-bottom: 0.75rem !important;
}

.rule-statement-text p:last-child,
.editorial-rule-banner p:last-child {
    margin-bottom: 0 !important;
}

.rule-statement-text strong,
.editorial-rule-banner strong {
    color: #ffffff !important;
    font-weight: 700;
}

.rule-statement-text a,
.editorial-rule-banner a {
    color: #38bdf8 !important;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.rule-statement-text a:hover,
.editorial-rule-banner a:hover {
    color: #7dd3fc !important;
}

/* Editorial Inline Code & Monospace Badges */
.article-body-content code,
.article-page-wrapper code,
.tz-code-badge {
    font-family: var(--font-mono);
    font-size: 0.88em;
    font-weight: 600;
    color: #4338ca;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: -0.01em;
    word-break: break-word;
}

/* Rule Banner Specific Code & Formula Badges */
.editorial-rule-banner code,
.editorial-rule-banner .rule-formula-badge,
.article-body-content .editorial-rule-banner code,
.article-page-wrapper .editorial-rule-banner code {
    font-family: var(--font-mono) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #38bdf8 !important;
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    padding: 3px 10px !important;
    border-radius: 8px !important;
    display: inline-block !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    letter-spacing: -0.01em !important;
    vertical-align: middle;
}

.editorial-rule-banner .rule-formula-caption {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-size: 0.94rem !important;
    color: #94a3b8 !important;
    line-height: 1.6 !important;
}

/* 6. Authority Citation Pill (.editorial-citation-pill) */
.editorial-citation-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none !important;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.editorial-citation-pill.link:hover {
    background: #eef2ff;
    color: var(--primary);
    border-color: #c7d2fe;
    transform: translateY(-1px);
}

.citation-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.citation-ext-icon {
    font-size: 0.65rem;
    opacity: 0.7;
}

/* Tags Pill Section */
.article-tags-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2.5rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.tags-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tags-pill-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.article-tag-pill {
    padding: 4px 12px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-tag-pill:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Social Share Bar (.blog-share-bar-container) */
.blog-share-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.share-label-lockup {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.share-text-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
}

.share-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.share-x:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.share-btn.share-linkedin:hover {
    background: #0077b5;
    color: #ffffff;
    border-color: #0077b5;
}

.share-btn.share-facebook:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
}

.share-btn.share-whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

.share-btn.share-copy:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: none;
    white-space: nowrap;
}

.share-btn.copied .copy-tooltip {
    display: block;
}

/* Author Bio Card (.author-bio-box) */
.author-bio-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.bio-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bio-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.bio-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.bio-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.bio-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Right Sticky Sidebar */
.single-article-sidebar {
    min-width: 0;
}

.sidebar-sticky-wrapper {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.sidebar-widget.sidebar-tool-widget {
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
    border-color: #c7d2fe;
}

.sidebar-widget.sidebar-newsletter-widget {
    background: #0f172a;
    color: #ffffff;
}

.widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 50px;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.sidebar-newsletter-widget .widget-badge {
    background: rgba(79, 70, 229, 0.3);
    color: #a5b4fc;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 0.4rem;
}

.sidebar-newsletter-widget .widget-title {
    color: #ffffff;
}

.widget-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #4338ca;
    margin-bottom: 1rem;
}

.sidebar-newsletter-widget .widget-desc {
    color: #94a3b8;
}

.widget-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    background: #4f46e5;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: background 0.2s ease;
}

.widget-btn-primary:hover {
    background: #4338ca;
}

.sidebar-section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.sidebar-related-card:hover {
    transform: translateX(3px);
}

.sidebar-related-img {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    background: #0f172a;
    flex-shrink: 0;
}

.sidebar-related-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    margin: 0 0 3px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.sidebar-related-card:hover .sidebar-related-title {
    color: var(--primary);
}

.sidebar-related-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-newsletter-input {
    width: 100%;
    padding: 9px 14px;
    border-radius: 10px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
}

.sidebar-newsletter-input:focus {
    border-color: #6366f1;
}

.sidebar-newsletter-btn {
    width: 100%;
    padding: 9px;
    border-radius: 10px;
    background: #4f46e5;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sidebar-newsletter-btn:hover {
    background: #4338ca;
}

/* Related Posts Section (.blog-related-posts-section) */
.blog-related-posts-section {
    margin: 3.5rem 0 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e2e8f0;
}

.related-posts-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 16px;
    flex-wrap: wrap;
}

.related-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.related-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.related-all-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease;
}

.related-all-link:hover {
    transform: translateX(3px);
}

/* ==========================================================================
   Tool CTA Card Component (.blog-tool-cta-section)
   ========================================================================== */

.blog-tool-cta-section {
    margin: 3rem 0;
    padding: 2.5rem 2.75rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
    border: 1px solid #c7d2fe;
    box-shadow: 0 10px 30px -5px rgba(79, 70, 229, 0.1);
}

.tool-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.tool-cta-text {
    max-width: 600px;
}

.tool-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.tool-cta-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 0.5rem;
}

.tool-cta-desc {
    color: #4338ca;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

.tool-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tool-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    background: #4f46e5;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
}

.tool-btn-primary:hover {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

.tool-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    background: #ffffff;
    color: #4338ca !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid #c7d2fe;
    transition: all 0.2s ease;
}

.tool-btn-secondary:hover {
    background: #f8fafc;
    border-color: #a5b4fc;
}

/* ==========================================================================
   Newsletter Card Component (.blog-newsletter-section)
   ========================================================================== */

.blog-newsletter-section {
    margin: 2.5rem 0 0 0;
    padding: 3rem 2.5rem;
    border-radius: 22px;
    background: #0f172a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
}

.blog-newsletter-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-inner {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(79, 70, 229, 0.25);
    border: 1px solid rgba(79, 70, 229, 0.4);
    color: #a5b4fc;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.newsletter-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 260px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.newsletter-submit-btn {
    padding: 12px 24px;
    border-radius: 12px;
    background: #4f46e5;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
    transition: background 0.2s ease;
}

.newsletter-submit-btn:hover {
    background: #4338ca;
}

.newsletter-fineprint {
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Complete Editorial Blog Components Suite
   ========================================================================== */

/* 1. Master Headings */
.editorial-heading,
.article-heading,
.article-body-content h2,
.article-body-content h3,
.article-body-content h4 {
    font-family: var(--font-heading);
    color: #0f172a;
    position: relative;
    scroll-margin-top: 85px;
}

.article-body-content h2 {
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.3;
    margin-top: 3.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-body-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.article-body-content h3 {
    font-size: clamp(1.18rem, 2vw, 1.38rem);
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-body-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #334155;
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
}

.heading-anchor-link {
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    color: #94a3b8 !important;
    font-size: 1.1rem;
    margin-left: 6px;
    text-decoration: none !important;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.heading-anchor-link:hover {
    color: var(--primary) !important;
    background: #eef2ff;
    transform: scale(1.1);
}

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

/* 2. Paragraphs & Editorial Text */
.article-body-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
    letter-spacing: -0.011em;
    margin-bottom: 1.6rem;
}

.article-body-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.article-body-content a:hover {
    color: var(--primary-hover);
}

.article-body-content strong {
    font-weight: 700;
    color: #0f172a;
}

.article-body-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: #f1f5f9;
    color: #4f46e5;
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* 3. Responsive Tables */
.editorial-table-wrapper,
.article-body-content .editorial-table-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin: 2.25rem 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.table-responsive-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.editorial-table,
.article-body-content table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.editorial-table thead th,
.article-body-content table thead th,
.article-body-content table tr:first-child td,
.editorial-table tr:first-child th {
    background: #f8fafc;
    color: #0f172a;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 20px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.editorial-table tbody td,
.article-body-content table tbody td,
.article-body-content table tr:not(:first-child) td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.editorial-table td p,
.article-body-content table td p,
.editorial-table th p,
.article-body-content table th p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5;
}

.editorial-table tbody tr:nth-child(even),
.article-body-content table tbody tr:nth-child(even),
.article-body-content table tr:nth-child(even):not(:first-child) {
    background: #fafbfc;
}

.editorial-table tbody tr:hover,
.article-body-content table tbody tr:hover,
.article-body-content table tr:hover:not(:first-child) {
    background: #f1f5f9;
    transition: background 0.15s ease;
}

/* 4. Lists & Custom Bullets */
.article-body-content ul,
.editorial-list-container {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1.75rem 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-body-content ul li,
.editorial-list-item {
    position: relative;
    padding-left: 28px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
}

.article-body-content ul li::before,
.list-bullet-dot {
    content: '';
    position: absolute;
    left: 6px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

.article-body-content ol {
    counter-reset: custom-counter;
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1.75rem 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-body-content ol li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 40px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
}

.article-body-content ol li::before {
    content: counter(custom-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 3px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 2px 6px;
    border-radius: 6px;
}

/* 5. Math & Formula Cards */
.editorial-formula-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 18px;
    padding: 1.5rem;
    margin: 2.25rem 0;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.formula-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #1e293b;
}

.formula-title-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.formula-type-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.4);
    padding: 2px 8px;
    border-radius: 6px;
}

.formula-title-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.formula-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.formula-copy-btn:hover {
    color: #ffffff;
    background: #334155;
}

.formula-math-display {
    font-family: 'JetBrains Mono', 'Fira Code', var(--font-mono), monospace;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #38bdf8;
    background: #090d16;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #1e293b;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.formula-result-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #1e293b;
    font-size: 0.92rem;
}

.result-label {
    color: #94a3b8;
    font-weight: 600;
}

.result-value {
    color: #34d399;
    font-family: var(--font-mono);
    font-weight: 700;
}

/* 6. Code Terminal */
.editorial-code-terminal {
    background: #090d16;
    border: 1px solid #1e293b;
    border-radius: 16px;
    margin: 2.25rem 0;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.4);
}

.terminal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
    padding: 10px 16px;
    border-bottom: 1px solid #1e293b;
}

.terminal-window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-lang-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.terminal-filename {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #94a3b8;
}

.terminal-copy-btn {
    background: transparent;
    border: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.terminal-copy-btn:hover {
    color: #ffffff;
    background: #1e293b;
}

.terminal-code-body {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e2e8f0;
    overflow-x: auto;
}

/* 7. Special Badges */
.editorial-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 0.85em;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    vertical-align: middle;
}

.badge-timezone {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.badge-offset {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-coord {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-shortcut {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 0 #94a3b8;
}

/* 8. Callout Cards */
.editorial-callout-card {
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    margin: 2.25rem 0;
    display: flex;
    gap: 16px;
    border: 1px solid transparent;
}

.callout-tip {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.callout-info {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.callout-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.callout-important {
    background: #fdf2f8;
    border-color: #fbcfe8;
    color: #9d174d;
}

.callout-time-zone {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

.callout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.callout-body {
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.65;
}

.callout-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

/* 9. Interactive FAQ Accordion Component (.editorial-faq-section) */
.editorial-faq-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.25rem;
    margin: 3.5rem 0;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.editorial-faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #0ea5e9 100%);
}

.faq-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.faq-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 1.35rem;
    border: 1px solid #c7d2fe;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
    flex-shrink: 0;
}

.faq-main-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.faq-main-title::after {
    display: none !important;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-accordion-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.faq-accordion-item:hover {
    border-color: #c7d2fe;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.06);
}

.faq-accordion-item.active {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.1);
}

.faq-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 1.15rem 1.35rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    user-select: none;
}

.faq-question-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.faq-accordion-item.active .faq-question-text {
    color: #4338ca;
}

.faq-accordion-icon {
    font-size: 1.1rem;
    color: #94a3b8;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    flex-shrink: 0;
}

.faq-accordion-item.active .faq-accordion-icon {
    transform: rotate(180deg);
    color: #4f46e5;
}

.faq-accordion-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion-item.active .faq-accordion-collapse {
    grid-template-rows: 1fr;
}

.faq-answer-content {
    overflow: hidden;
    padding: 0 1.35rem;
    transition: padding 0.3s ease;
}

.faq-accordion-item.active .faq-answer-content {
    padding: 0.25rem 1.35rem 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.faq-answer-content p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #475569;
    margin: 0.75rem 0 0 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}



/* 11. Action Checklist Card (.editorial-checklist-card) */
.editorial-checklist-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem 2.25rem;
    margin: 3.5rem 0;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.checklist-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.checklist-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #ecfdf5;
    color: #059669;
    font-size: 1.35rem;
    border: 1px solid #a7f3d0;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12);
    flex-shrink: 0;
}

.checklist-main-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.checklist-main-title::after {
    display: none !important;
}

.checklist-steps-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checklist-step-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 1.15rem 1.35rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.checklist-step-row:hover {
    border-color: #a7f3d0;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.08);
}

.checklist-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.checklist-step-body {
    flex-grow: 1;
    min-width: 0;
}

.checklist-step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.checklist-step-detail {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #64748b;
}

/* 12. Hierarchy Ladder (.editorial-ladder-card) */
.editorial-ladder-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem 2.25rem;
    margin: 3.5rem 0;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.ladder-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.ladder-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 1.35rem;
    border: 1px solid #c7d2fe;
}

.ladder-main-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 !important;
}

.ladder-steps-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ladder-step-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ladder-step-rank {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background: #e0e7ff;
    color: #4338ca;
}

.ladder-step-title {
    font-weight: 700;
    font-size: 0.98rem;
    color: #0f172a;
}

.ladder-step-example {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    color: #475569;
}

/* 13. Do vs Don't Comparison Grid (.editorial-do-dont-grid) */
.editorial-do-dont-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 3.5rem 0;
}

@media (max-width: 768px) {
    .editorial-do-dont-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-column {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.comparison-column.do-col {
    border-color: #86efac;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 180px);
}

.comparison-column.dont-col {
    border-color: #fca5a5;
    background: linear-gradient(180deg, #fef2f2 0%, #ffffff 180px);
}

.column-header-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.column-header-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.do-col .column-header-title { color: #166534; }
.dont-col .column-header-title { color: #991b1b; }

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1.5rem;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #334155;
}

.item-bullet-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.do-col .item-bullet-icon { color: #16a34a; }
.dont-col .item-bullet-icon { color: #dc2626; }

/* 14. Authority Citation Pill (.editorial-citation-pill) */
.editorial-citation-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 1px 7px;
    border-radius: 50px;
    vertical-align: middle;
    margin: 0 2px;
}

.citation-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

/* 15. Myth vs Fact Grid (.editorial-myth-fact-grid - see Section 4 below) */

/* 7. Action Checklist Card Component */
.editorial-checklist-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checklist-item-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.checklist-item-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.checklist-step-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.checklist-item-content {
    flex-grow: 1;
    min-width: 0;
}

.checklist-item-content strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.4;
}

.checklist-item-content p {
    font-size: 0.96rem !important;
    line-height: 1.6 !important;
    color: #64748b !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   ⚡ Google Core Web Vitals (CWV) & Performance Optimization Suite (2026)
   ========================================================================== */

/* 1. Zero Cumulative Layout Shift (CLS = 0.00) Image Engine */
.featured-image-wrapper,
.single-article-cover-wrap {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    margin: 1.5rem 0 2rem;
    background: #0f172a; /* Prevents white flash before image paint */
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    contain: paint layout;
    position: relative;
}

.featured-image-wrapper img,
.single-article-cover-wrap img,
.single-article-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: inherit;
    transition: transform 0.3s ease;
}

/* 2. Interaction to Next Paint (INP < 50ms) & DOM Acceleration */
.editorial-faq-section,
.editorial-myth-fact-grid,
.editorial-table-wrapper,
.editorial-formula-card,
.editorial-checklist-card,
.author-bio-box,
.tool-cta-card,
.article-tags-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 350px;
}

/* 3. Table Containment & Layout Shift Prevention */
.editorial-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    contain: layout;
}

/* 4. Touch Target Accessibility (Google Mobile-Friendly Standard >= 44px) */
.faq-accordion-trigger {
    min-height: 48px;
    touch-action: manipulation;
}

.article-tag-pill,
.widget-btn-primary,
.sidebar-newsletter-btn,
.btn-cta-primary,
.btn-cta-secondary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

/* 5. Typography & Font Smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ==========================================================================
   Editorial Component Suite (Formulas, Math, Pillars, Tables, FAQs, Rules)
   ========================================================================== */

/* 1. Quick-Answer Pillar Callout Grid */
.editorial-callout-card.callout-world-time,
.callout-world-time {
    background: #0d1322 !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    border-radius: 20px !important;
    padding: 24px 28px !important;
    margin: 2.5rem 0 !important;
    color: #ffffff !important;
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.editorial-callout-card.callout-world-time::before,
.callout-world-time::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #38bdf8, #6366f1, #a855f7) !important;
}

.callout-world-time .callout-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
}

.callout-world-time .callout-icon,
.callout-world-time .callout-icon-pill {
    font-size: 1.35rem !important;
    color: #38bdf8 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.callout-world-time .callout-title,
.callout-world-time .callout-title-text {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

.callout-world-time .callout-body {
    width: 100% !important;
}

.callout-world-time .callout-body p,
.callout-world-time p {
    color: #cbd5e1 !important;
    font-size: 0.96rem !important;
    line-height: 1.65 !important;
    margin: 0;
}

.callout-world-time .callout-body strong,
.callout-world-time strong {
    color: #38bdf8 !important;
    font-weight: 700;
}

.pillar-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
}

@media (min-width: 992px) {
    .pillar-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}

.pillar-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 22px 20px !important;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
}

.pillar-item:hover {
    background: rgba(255, 255, 255, 0.065) !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
    transform: translateY(-2px) !important;
}

.pillar-num {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #38bdf8 !important;
    line-height: 1.3 !important;
    flex-shrink: 0 !important;
}

.pillar-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.pillar-label {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.pillar-desc {
    font-size: 0.88rem !important;
    color: #94a3b8 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* 2. Mathematical / Logic Formula Card */
.editorial-formula-card {
    background: #0f172a;
    border: 1.5px solid #334155;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    margin: 2rem 0;
    color: #f8fafc;
    box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.4);
    position: relative;
    overflow: hidden;
}

.editorial-formula-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4, #10b981);
}

.formula-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.formula-badge {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(129, 140, 248, 0.4);
    color: #a5b4fc;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
}

.formula-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.formula-body {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.formula-row {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
}

.math-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 6px;
}

.math-display {
    font-size: 1.05rem;
    color: #f1f5f9;
    overflow-x: auto;
    padding: 4px 0;
}

.math-display code {
    background: transparent !important;
    border: none !important;
    color: #e2e8f0 !important;
    font-size: 1rem !important;
    padding: 0 !important;
    font-family: 'KaTeX_Main', 'Cambria Math', 'STIX Two Math', serif, monospace;
}

.formula-caption {
    margin-top: 1.25rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.5;
}

.formula-caption strong {
    color: #e2e8f0;
}

.editorial-formula-card .katex {
    font-size: 1.15em;
    color: #f8fafc;
}
.editorial-formula-card .katex-display {
    margin: 0.5em 0;
}

/* 3. Protocol / Process Checklist Card */
.editorial-checklist-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checklist-header,
.checklist-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.checklist-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    width: fit-content;
}

.checklist-title,
.checklist-main-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0;
}

.checklist-body,
.checklist-grid,
.checklist-steps-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checklist-item,
.checklist-step-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.checklist-item:hover,
.checklist-step-row:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.check-icon,
.checklist-step-number {
    width: 28px;
    height: 28px;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.check-content,
.checklist-step-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.55;
}

.check-content strong,
.checklist-step-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}

.checklist-step-detail {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
}

/* 4. Myth vs. Reality Fact-Checking Matrix */
.editorial-myth-fact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    margin: 2.5rem 0 !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04) !important;
}

.myth-fact-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-bottom: 6px !important;
}

.myth-fact-header .grid-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #4f46e5 !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.myth-fact-header .grid-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
}

.grid-cards-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
}

.myth-fact-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 20px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.myth-fact-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.06) !important;
}

.myth-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    width: 100% !important;
}

.myth-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #fee2e2 !important;
    color: #dc2626 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    width: fit-content !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.myth-text,
.myth-row > span:not(.myth-badge),
.myth-row p {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    font-style: italic !important;
    color: #9a3412 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
}

.reality-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
}

.reality-badge,
.fact-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #dcfce7 !important;
    color: #16a34a !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    width: fit-content !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.fact-text,
.reality-text,
.reality-row > span:not(.reality-badge):not(.fact-badge),
.reality-row p {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: #334155 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* 5. Golden Rule Key Takeaway Banner */
.editorial-rule-banner {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
    border: 1.5px solid rgba(99, 102, 241, 0.35) !important;
    border-radius: 20px !important;
    padding: 1.75rem 2rem !important;
    margin: 2.5rem 0 !important;
    box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.45) !important;
    overflow: hidden;
}

.rule-banner-accent {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
}

.rule-banner-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.rule-icon-pill {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.2);
    border: 1.5px solid rgba(129, 140, 248, 0.4);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.rule-content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rule-eyebrow {
    display: inline-block;
    color: #38bdf8 !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin-bottom: 2px;
}

.rule-statement-text {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.45 !important;
    letter-spacing: -0.01em;
}

.editorial-rule-banner p,
.rule-content-wrap p {
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 4px 0 0 0 !important;
}

.rule-formula-caption {
    margin-top: 10px !important;
    color: #94a3b8 !important;
    font-size: 0.88rem !important;
}

.rule-formula-caption code {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* 6. Precision Tool CTA Card Component */
.blog-tool-cta-section,
.tool-cta-card {
    background: #f0f6ff !important;
    border: 1px solid #dbeafe !important;
    border-radius: 24px !important;
    padding: 28px 32px !important;
    margin: 2.5rem 0 !important;
    box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
}

.tool-cta-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2.5rem !important;
    width: 100% !important;
}

.tool-cta-text {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.tool-cta-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #ede9fe !important;
    color: #4f46e5 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    margin-bottom: 12px !important;
    width: fit-content !important;
}

.tool-cta-title,
h3.tool-cta-title {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    letter-spacing: -0.015em !important;
    margin: 0 0 10px 0 !important;
}

.tool-cta-desc,
p.tool-cta-desc {
    font-size: 0.95rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    max-width: 580px !important;
}

.tool-cta-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.tool-btn-primary,
.tool-cta-btn,
.tool-cta-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
    transition: all 0.2s ease !important;
}

.tool-btn-primary:hover,
.tool-cta-btn:hover,
.tool-cta-btn-primary:hover {
    background: #4338ca !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4) !important;
}

.tool-btn-secondary,
.tool-cta-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1.5px solid #c7d2fe !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    padding: 11px 20px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.tool-btn-secondary:hover,
.tool-cta-btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #818cf8 !important;
    color: #4338ca !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

@media (max-width: 992px) {
    .tool-cta-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
    }

    .tool-cta-actions {
        width: 100% !important;
        flex-direction: column !important;
    }

    .tool-btn-primary,
    .tool-btn-secondary {
        width: 100% !important;
        text-align: center !important;
    }
}

/* 7. Interactive Editorial FAQ Accordion Section */
.editorial-faq-section {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}

.faq-header-wrapper,
.faq-section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.faq-eyebrow {
    display: inline-block;
    color: #4f46e5;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.editorial-faq-section .faq-main-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-accordion-item:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.faq-accordion-item.active {
    border-color: #c7d2fe;
    background: #ffffff;
    box-shadow: 0 4px 20px -4px rgba(79, 70, 229, 0.1);
}

.faq-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-question-text {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.faq-accordion-icon {
    font-size: 1rem;
    color: #64748b;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.faq-accordion-item.active .faq-accordion-icon {
    transform: rotate(180deg);
    color: #4f46e5;
}

.faq-accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion-item.active .faq-accordion-collapse {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 20px 18px;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
}

.faq-answer-content p {
    margin: 0;
}

/* ==========================================================================
   📱 Universal Responsive Design & Device Harmonization Suite (2026)
   Covers: 320px, 360px, 480px, 576px, 768px, 992px, 1200px, 1440px+
   ========================================================================== */

/* 1. Universal Base Constraints */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

.article-page-wrapper {
    width: 100%;
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 2.5rem 1.5rem;
}

/* 2. Fluid Typography & Prevent Text Overflow */
.article-main-title,
.post-title,
.article-heading,
.callout-title,
.formula-title-text,
.rule-statement-text,
.faq-question-text {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto;
}

/* 3. Desktop & Ultra-Wide Harmonization (>= 992px) */
@media (min-width: 992px) {
    .pillar-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem !important;
    }

    .single-article-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 340px !important;
        gap: 3rem !important;
        align-items: start !important;
    }

    .editorial-callout-card.callout-world-time,
    .callout-world-time {
        padding: 2rem 2.25rem !important;
    }

    .editorial-myth-fact-grid {
        padding: 2rem 2.25rem !important;
    }

    .editorial-formula-card {
        padding: 1.75rem 2rem !important;
    }
}

/* 4. Desktop / Laptop Breakpoint (<= 1200px) */
@media (max-width: 1200px) {
    .article-layout {
        gap: 2rem !important;
    }
    
    .article-main-content {
        max-width: 100% !important;
    }
}

/* 5. Tablet & Portrait iPad (<= 992px) */
@media (max-width: 992px) {
    .article-layout {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .article-sidebar,
    .blog-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 2rem !important;
    }

    .article-main-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
        line-height: 1.25 !important;
    }

    .editorial-callout-card.callout-world-time,
    .callout-world-time {
        padding: 1.5rem !important;
        margin: 2rem 0 !important;
    }

    .editorial-myth-fact-grid {
        padding: 1.5rem !important;
        margin: 2rem 0 !important;
    }

    .editorial-formula-card {
        padding: 1.5rem !important;
    }
}

/* 6. Phablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
    .article-meta-bar,
    .article-metadata-header {
        flex-wrap: wrap !important;
        gap: 0.75rem 1.25rem !important;
    }

    .article-breadcrumbs {
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
    }
    .article-breadcrumbs::-webkit-scrollbar {
        display: none !important;
    }

    .pillar-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .pillar-item {
        padding: 1.15rem 1.25rem !important;
    }

    .editorial-rule-banner {
        padding: 1.25rem 1.5rem !important;
        margin: 2rem 0 !important;
    }

    .rule-banner-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.85rem !important;
    }

    .rule-statement-text {
        font-size: 1.05rem !important;
        line-height: 1.5 !important;
    }

    .editorial-table-wrapper {
        margin: 1.75rem 0 !important;
        border-radius: 14px !important;
    }

    .table-responsive-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    table.editorial-table th,
    table.editorial-table td {
        padding: 10px 14px !important;
        font-size: 0.88rem !important;
        white-space: nowrap !important;
    }

    .formula-card-topbar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    .formula-math-display {
        padding: 1rem !important;
        font-size: 0.95rem !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .tool-cta-card {
        padding: 1.5rem 1.25rem !important;
    }

    .tool-cta-card .cta-content-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.25rem !important;
    }

    .tool-cta-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* 7. Standard Mobile Devices (<= 576px) */
@media (max-width: 576px) {
    .editorial-callout-card.callout-world-time,
    .callout-world-time {
        padding: 1.25rem 1rem !important;
        border-radius: 16px !important;
        margin: 1.75rem 0 !important;
    }

    .callout-header {
        gap: 10px !important;
    }

    .callout-icon {
        font-size: 1.25rem !important;
    }

    .callout-title,
    .callout-title-text {
        font-size: 1.1rem !important;
    }

    .pillar-num {
        font-size: 1.75rem !important;
    }

    .pillar-label {
        font-size: 0.95rem !important;
    }

    .pillar-desc {
        font-size: 0.85rem !important;
    }

    .editorial-myth-fact-grid {
        padding: 1.25rem 1rem !important;
        border-radius: 16px !important;
        gap: 12px !important;
    }

    .myth-fact-card {
        padding: 14px 16px !important;
        border-radius: 12px !important;
        gap: 10px !important;
    }

    .myth-text,
    .myth-row > span:not(.myth-badge) {
        font-size: 0.95rem !important;
    }

    .fact-text,
    .reality-row > span:not(.reality-badge):not(.fact-badge) {
        font-size: 0.88rem !important;
    }

    .editorial-checklist-card {
        padding: 1.25rem 1rem !important;
        border-radius: 16px !important;
    }

    .checklist-step-row {
        gap: 12px !important;
    }

    .checklist-step-number {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }

    .checklist-step-title {
        font-size: 0.95rem !important;
    }

    .checklist-step-detail {
        font-size: 0.86rem !important;
    }

    .faq-accordion-trigger {
        padding: 14px 16px !important;
    }

    .faq-question-text {
        font-size: 0.92rem !important;
    }

    .faq-answer-content {
        padding: 0 16px 14px !important;
        font-size: 0.88rem !important;
    }
}

/* 8. Ultra-Compact / Foldable Outer Screens (<= 380px) */
@media (max-width: 380px) {
    .editorial-callout-card.callout-world-time,
    .callout-world-time,
    .editorial-myth-fact-grid,
    .editorial-checklist-card,
    .editorial-formula-card,
    .editorial-rule-banner,
    .tool-cta-card {
        padding: 1rem 0.85rem !important;
        border-radius: 14px !important;
    }

    .article-main-title {
        font-size: 1.45rem !important;
    }

    h2.article-heading,
    h2 {
        font-size: 1.25rem !important;
    }

    h3.article-heading,
    h3 {
        font-size: 1.1rem !important;
    }

    .pillar-item,
    .myth-fact-card {
        padding: 12px 12px !important;
    }

/* ==========================================================================
   Single Article View & 2-Column Responsive Layout
   ========================================================================== */

.blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.blog-breadcrumbs a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.blog-breadcrumbs a:hover {
    color: #4338ca;
    text-decoration: underline;
}
.blog-breadcrumbs .crumb-sep {
    color: #94a3b8;
    font-size: 0.8rem;
}
.blog-breadcrumbs .crumb-current {
    color: #0f172a;
    font-weight: 600;
}

.single-article-header {
    margin-bottom: 2rem;
}
.single-article-title,
h1.single-article-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.single-article-cover-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}
.single-article-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}
.single-article-main {
    min-width: 0;
    width: 100%;
}
.single-article-sidebar {
    width: 100%;
    position: relative;
}
.sidebar-sticky-wrapper {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

@media (max-width: 1024px) {
    .single-article-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .single-article-sidebar {
        margin-top: 1.5rem;
    }
    .sidebar-sticky-wrapper {
        position: static;
    }
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}
.sidebar-tool-widget {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #ffffff;
}
.sidebar-tool-widget .widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
}
.sidebar-tool-widget .widget-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0.75rem 0 0.5rem;
}
.sidebar-tool-widget .widget-desc {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}
.widget-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.widget-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.4);
    color: #ffffff;
}
.sidebar-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar-related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s ease;
}
.sidebar-related-card:hover {
    background: #f8fafc;
}
.sidebar-related-img {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.sidebar-related-meta {
    flex: 1;
    min-width: 0;
}
.sidebar-related-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-related-time {
    font-size: 0.75rem;
    color: #64748b;
}
.sidebar-newsletter-widget {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
}
.sidebar-newsletter-widget .widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
}
.sidebar-newsletter-widget .widget-title {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0.75rem 0 0.5rem;
}
.sidebar-newsletter-widget .widget-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}
.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
}
.sidebar-newsletter-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.88rem;
    outline: none;
}
.sidebar-newsletter-btn {
    width: 100%;
    padding: 10px;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.sidebar-newsletter-btn:hover {
    background: #4338ca;
}

.author-bio-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
    margin: 3rem 0;
}
.bio-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.bio-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.bio-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.bio-badge {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 6px;
}
.bio-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 576px) {
    .author-bio-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }
}

.article-tags-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 2.5rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}
.tags-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #64748b;
}
.tags-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.article-tag-pill {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.article-tag-pill:hover {
    background: #4f46e5;
    color: #ffffff;
}




