/* ==========================================
   POST.CSS - Post Page Styles
   Responsive Two-Column Layout
   Desktop/iPad: 1fr 320px
   Mobile: 75% | 25%
   ========================================== */

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    --green-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --blue-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --orange-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    --purple-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ==========================================
   READING PROGRESS BAR
   ========================================== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--cat-gradient, var(--primary-gradient));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb {
    background: white;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #4f46e5;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: #3730a3;
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #9ca3af;
}

.breadcrumb .current {
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 400px;
}

/* ==========================================
   MAIN CONTENT AREA
   ========================================== */
.post-content-area {
    padding: 25px 0 45px;
    background: #f5f7fb;
    min-height: 100vh;
}

/* ==========================================
   POST GRID - Desktop: 1fr 320px
   ========================================== */
.post-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 25px;
    align-items: start;
}

/* ==========================================
   POST ARTICLE (Main Content)
   ========================================== */
.post-article {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Post Header */
.post-header {
    background: var(--cat-gradient, var(--primary-gradient));
    padding: 25px;
    color: white;
    position: relative;
    overflow: hidden;
}

.post-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.post-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
}

.post-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.badge-state {
    background: rgba(255, 255, 255, 0.25);
}

.badge-breaking {
    background: #fbbf24;
    color: #1f2937;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}

.post-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75em;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 15px;
    position: relative;
}

.post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.82em;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}

.meta-icon {
    font-size: 0.95em;
}

/* ==========================================
   QUICK SUMMARY
   ========================================== */
.quick-summary {
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
}

.quick-summary-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95em;
}

.quick-summary p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95em;
    margin: 0;
}

/* ==========================================
   FEATURED IMAGE
   ========================================== */
.featured-image-section {
    padding: 18px 22px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: block;
    transition: var(--transition);
}

.featured-image:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   POST BODY & CONTENT
   ========================================== */
.post-body {
    padding: 22px;
}

.post-content {
    font-size: 1.02em;
    line-height: 1.7;
    color: #1f2937;
    font-weight: 500;
}

.post-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4em;
    font-weight: 800;
    color: #111827;
    margin: 18px 0 10px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--cat-bg, #e5e7eb);
}

.post-content h2:first-child {
    margin-top: 0;
}

.post-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: #1f2937;
    margin: 14px 0 8px;
}

.post-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05em;
    font-weight: 700;
    color: #374151;
    margin: 12px 0 6px;
}

.post-content p {
    margin: 0 0 12px 0;
    line-height: 1.7;
    font-weight: 500;
    color: #1f2937;
}

.post-content p:last-child {
    margin-bottom: 0;
}

.post-content p:empty {
    display: none !important;
}

.post-content strong,
.post-content b {
    font-weight: 700;
    color: #111827;
}

.post-content ul,
.post-content ol {
    margin: 10px 0 10px 20px;
}

.post-content li {
    margin: 6px 0;
    line-height: 1.65;
    font-weight: 500;
    color: #1f2937;
}

/* Tables in Content */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.post-content th {
    background: var(--cat-gradient, var(--primary-gradient));
    color: white;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em;
}

.post-content td {
    padding: 9px 14px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.92em;
    font-weight: 500;
    color: #1f2937;
}

.post-content tr:nth-child(even) {
    background: #f8fafc;
}

.post-content tr:hover {
    background: #f1f5f9;
}

.post-content a {
    color: #4f46e5;
    text-decoration: none;
    border-bottom: 2px solid #4f46e5;
    font-weight: 600;
    transition: var(--transition);
}

.post-content a:hover {
    color: #3730a3;
    background: #eef2ff;
    padding: 1px 3px;
    border-radius: 3px;
}

.post-content blockquote {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-left: 4px solid #4f46e5;
    padding: 14px 18px;
    margin: 14px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #374151;
    font-weight: 500;
    font-size: 0.95em;
    line-height: 1.6;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 12px 0;
    box-shadow: var(--shadow-md);
}

/* ==========================================
   IMPORTANT DATES SECTION
   ========================================== */
.dates-section {
    margin: 18px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid #a7f3d0;
    box-shadow: var(--shadow-md);
}

.dates-header {
    background: var(--green-gradient);
    color: white;
    padding: 12px 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dates-table {
    width: 100%;
    border-collapse: collapse;
}

.dates-table tr {
    border-bottom: 1px solid #a7f3d0;
    transition: var(--transition);
}

.dates-table tr:last-child {
    border-bottom: none;
}

.dates-table tr:hover {
    background: rgba(5, 150, 105, 0.1);
}

.dates-table td {
    padding: 10px 18px;
    font-size: 0.88em;
    font-weight: 600;
}

.dates-table td:first-child {
    font-weight: 700;
    color: #1f2937;
    width: 55%;
}

.dates-table td:last-child {
    color: #059669;
    font-weight: 800;
}

/* ==========================================
   IMPORTANT LINKS SECTION
   ========================================== */
.links-section {
    margin: 18px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid #93c5fd;
    box-shadow: var(--shadow-md);
}

.links-header {
    background: var(--blue-gradient);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95em;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.links-grid {
    padding: 12px 18px;
}

.link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    gap: 10px;
    border: 1px solid #e0e7ff;
}

.link-row:last-child {
    margin-bottom: 0;
}

.link-row:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #93c5fd;
}

.link-label {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.88em;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-click {
    background: var(--blue-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8em;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.link-click:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.5);
}

/* Social Links - Special Styling */
.link-row.social-link {
    border: 2px dashed #93c5fd;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.link-row.social-link.telegram {
    border-color: #0088cc;
    background: linear-gradient(135deg, #e6f7ff 0%, #d0f0ff 100%);
}

.link-row.social-link.whatsapp {
    border-color: #25D366;
    background: linear-gradient(135deg, #e8fff0 0%, #d0ffe0 100%);
}

.link-row.social-link:hover {
    transform: translateY(-3px);
}

/* Telegram Button */
.link-click.link-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    box-shadow: 0 3px 10px rgba(0, 136, 204, 0.3);
}

.link-click.link-telegram:hover {
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.5);
}

/* WhatsApp Button */
.link-click.link-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.link-click.link-whatsapp:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
}

/* ==========================================
   AUTHOR SECTION
   ========================================== */
.author-section {
    padding: 18px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 2px solid #e5e7eb;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    flex-wrap: nowrap;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15em;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.author-label {
    font-size: 0.68em;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.author-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-date {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-left: 14px;
    border-left: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.author-value {
    font-size: 0.85em;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

/* ==========================================
   SHARE SECTION
   ========================================== */
.share-section {
    padding: 18px;
    border-top: 2px solid #f1f5f9;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.share-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 700;
    font-size: 0.82em;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.share-whatsapp { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }
.share-facebook { background: linear-gradient(135deg, #1877F2 0%, #0d5cbf 100%); }
.share-twitter { background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%); }
.share-telegram { background: linear-gradient(135deg, #0088cc 0%, #006699 100%); }
.share-copy { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }

.share-icon {
    font-size: 1em;
}

.share-text {
    display: inline;
}

/* ==========================================
   SIDEBAR - STICKY + SHOW ALL CONTENT
   ========================================== */
.sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.widget {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.widget:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.widget-header {
    padding: 14px 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
}

.widget-orange {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
}

.widget-green {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

.widget-body {
    padding: 5px 0;
    background: linear-gradient(180deg, #fafafa 0%, white 100%);
}

/* Widget Links - ALL VISIBLE */
.widget-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #374151;
    font-size: 0.85em;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
}

.widget-link:last-child {
    border-bottom: none;
}

.widget-link:hover {
    background: linear-gradient(90deg, #eef2ff 0%, #f8fafc 100%);
    color: #4f46e5;
    padding-left: 20px;
}

.widget-link-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    flex-shrink: 0;
    transition: var(--transition);
}

.widget-link:hover .widget-link-icon {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    transform: scale(1.1);
}

/* Related Posts - ALL VISIBLE */
.related-item {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.related-item:last-child {
    border-bottom: none;
}

.related-item:hover {
    background: linear-gradient(90deg, #f0fdf4 0%, #f8fafc 100%);
    padding-left: 20px;
}

.related-item a {
    color: #1e40af;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    transition: var(--transition);
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.related-item a:hover {
    color: #dc2626;
}

.related-date {
    font-size: 0.72em;
    color: #6b7280;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

/* Recent Posts - ALL VISIBLE */
.recent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-item:hover {
    background: linear-gradient(90deg, #fff7ed 0%, #f8fafc 100%);
}

.recent-number {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #4b5563;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: 800;
    flex-shrink: 0;
    transition: var(--transition);
}

.recent-item:hover .recent-number {
    background: var(--orange-gradient);
    color: white;
    transform: scale(1.1);
}

.recent-content {
    flex: 1;
    min-width: 0;
}

.recent-content a {
    color: #1e40af;
    font-size: 0.82em;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    transition: var(--transition);
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.recent-content a:hover {
    color: #dc2626;
}

.recent-meta {
    font-size: 0.68em;
    color: #6b7280;
    margin-top: 3px;
    font-weight: 600;
}

/* ==========================================
   COPY TOAST
   ========================================== */
.copy-toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    z-index: 9999;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    font-size: 0.9em;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ==========================================
   RESPONSIVE - TABLET (1024px)
   ========================================== */
@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: 1fr 300px;
        gap: 22px;
    }
    
    .post-header {
        padding: 22px;
    }
    
    .post-title {
        font-size: 1.55em;
    }
    
    .post-body {
        padding: 20px;
    }
    
    .dates-section,
    .links-section {
        margin: 16px;
    }
}

/* ==========================================
   RESPONSIVE - iPad (850px)
   ========================================== */
@media (max-width: 850px) {
    .post-grid {
        grid-template-columns: 1fr 260px;
        gap: 18px;
    }
    
    .post-content-area {
        padding: 20px 0 35px;
    }
    
    .post-header {
        padding: 18px;
    }
    
    .post-title {
        font-size: 1.35em;
    }
    
    .post-meta-bar {
        gap: 10px;
        font-size: 0.75em;
    }
    
    .post-body {
        padding: 16px;
    }
    
    .post-content {
        font-size: 0.95em;
    }
    
    /* Sidebar */
    .widget-header {
        padding: 12px 14px;
        font-size: 0.82em;
    }
    
    .widget-link {
        padding: 10px 14px;
        font-size: 0.8em;
    }
    
    .widget-link-icon {
        width: 26px;
        height: 26px;
        font-size: 0.82em;
    }
    
    .related-item a {
        font-size: 0.8em;
    }
    
    .recent-content a {
        font-size: 0.78em;
    }
    
    /* Author */
    .author-card {
        gap: 12px;
        padding: 12px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    
    .author-name {
        font-size: 0.9em;
    }
    
    .author-value {
        font-size: 0.78em;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE (680px)
   75% Main | 25% Sidebar
   ========================================== */
@media (max-width: 680px) {
    .container {
        padding: 0 12px;
    }
    
    .post-grid {
        grid-template-columns: 75% 23%;
        gap: 2%;
    }
    
    .post-content-area {
        padding: 12px 0 25px;
    }
    
    .breadcrumb {
        padding: 8px 0;
    }
    
    .breadcrumb .container {
        font-size: 0.75em;
        gap: 4px;
    }
    
    .breadcrumb .current {
        max-width: 120px;
    }
    
    /* Post Article */
    .post-article {
        border-radius: var(--radius-md);
    }
    
    .post-header {
        padding: 12px 14px;
    }
    
    .post-badges {
        gap: 4px;
        margin-bottom: 8px;
    }
    
    .post-badge {
        padding: 3px 7px;
        font-size: 0.6em;
    }
    
    .post-title {
        font-size: 1.05em;
        margin-bottom: 10px;
        line-height: 1.28;
    }
    
    .post-meta-bar {
        gap: 6px;
        font-size: 0.65em;
        padding-top: 8px;
    }
    
    .meta-item {
        gap: 2px;
    }
    
    .quick-summary {
        padding: 10px 12px;
    }
    
    .quick-summary-title {
        font-size: 0.88em;
        margin-bottom: 4px;
    }
    
    .quick-summary p {
        font-size: 0.88em;
        line-height: 1.65;
    }
    
    .featured-image-section {
        padding: 10px 12px;
    }
    
    .post-body {
        padding: 10px 12px;
    }
    
    /* CONTENT TEXT - LARGER & MORE LINE SPACING */
    .post-content {
        font-size: 0.9em;
        line-height: 1.75;
    }
    
    .post-content h2 {
        font-size: 1em;
        margin: 14px 0 8px;
        padding-bottom: 5px;
    }
    
    .post-content h3 {
        font-size: 0.92em;
        margin: 12px 0 6px;
    }
    
    .post-content p {
        margin-bottom: 10px;
        line-height: 1.75;
        font-size: 0.9em;
    }
    
    .post-content ul,
    .post-content ol {
        margin: 8px 0 8px 16px;
    }
    
    .post-content li {
        margin: 5px 0;
        line-height: 1.7;
        font-size: 0.88em;
    }
    
    .post-content table {
        font-size: 0.8em;
    }
    
    .post-content th,
    .post-content td {
        padding: 7px 10px;
    }
    
    /* Dates Section */
    .dates-section {
        margin: 10px 12px;
        border-radius: var(--radius-md);
    }
    
    .dates-header {
        padding: 8px 12px;
        font-size: 0.78em;
    }
    
    .dates-table td {
        padding: 8px 12px;
        font-size: 0.78em;
    }
    
    /* Links Section - ROW LAYOUT ON MOBILE */
    .links-section {
        margin: 10px 12px;
        border-radius: var(--radius-md);
    }
    
    .links-header {
        padding: 8px 12px;
        font-size: 0.78em;
    }
    
    .links-grid {
        padding: 8px 10px;
    }
    
    .link-row {
        padding: 10px 12px;
        gap: 8px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .link-label {
        font-size: 0.75em;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .link-click {
        padding: 6px 12px;
        font-size: 0.68em;
        flex-shrink: 0;
    }
    
    /* Social Links Mobile */
    .link-row.social-link {
        border-width: 1.5px;
    }
    
    /* Author Section - ONE ROW */
    .author-section {
        padding: 10px 12px;
    }
    
    .author-card {
        padding: 10px 12px;
        gap: 10px;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
    }
    
    .author-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.85em;
    }
    
    .author-info {
        flex: 1;
        min-width: 0;
    }
    
    .author-name {
        font-size: 0.78em;
    }
    
    .author-label {
        font-size: 0.55em;
    }
    
    .author-date {
        padding-left: 10px;
        border-left: 1px solid #e5e7eb;
        flex-shrink: 0;
    }
    
    .author-value {
        font-size: 0.68em;
    }
    
    /* SHARE SECTION - SHOW PLATFORM NAMES */
    .share-section {
        padding: 10px 12px;
    }
    
    .share-title {
        font-size: 0.78em;
        margin-bottom: 8px;
    }
    
    .share-buttons {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .share-btn {
        padding: 8px 12px;
        font-size: 0.72em;
        gap: 5px;
        flex: 1;
        min-width: calc(50% - 6px);
        justify-content: center;
    }
    
    .share-text {
        display: inline !important;
    }
    
    .share-icon {
        font-size: 0.95em;
    }
    
    /* SIDEBAR - MOBILE (25% width) STICKY */
    .sidebar {
        position: sticky;
        top: 10px;
        gap: 10px;
    }
    
    .widget {
        border-radius: var(--radius-sm);
    }
    
    .widget-header {
        padding: 8px 10px;
        font-size: 0.68em;
        gap: 5px;
    }
    
    .widget-body {
        padding: 3px 0;
    }
    
    .widget-link {
        padding: 7px 10px;
        font-size: 0.68em;
        gap: 6px;
    }
    
    .widget-link-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7em;
        border-radius: 4px;
    }
    
    .widget-link span {
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .related-item {
        padding: 6px 10px;
    }
    
    .related-item a {
        font-size: 0.68em;
        line-height: 1.4;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .related-date {
        font-size: 0.58em;
        margin-top: 2px;
    }
    
    .recent-item {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .recent-number {
        width: 18px;
        height: 18px;
        font-size: 0.55em;
    }
    
    .recent-content a {
        font-size: 0.65em;
        line-height: 1.38;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .recent-meta {
        font-size: 0.52em;
    }
    
    /* Copy Toast */
    .copy-toast {
        padding: 8px 16px;
        font-size: 0.75em;
        bottom: 12px;
    }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE (500px)
   ========================================== */
@media (max-width: 500px) {
    .container {
        padding: 0 10px;
    }
    
    .post-grid {
        grid-template-columns: 75% 23%;
        gap: 2%;
    }
    
    .post-header {
        padding: 10px 12px;
    }
    
    .post-title {
        font-size: 0.95em;
    }
    
    .post-meta-bar {
        font-size: 0.6em;
        gap: 5px;
    }
    
    .post-body {
        padding: 8px 10px;
    }
    
    /* CONTENT - LARGER & MORE SPACING */
    .post-content {
        font-size: 0.88em;
        line-height: 1.72;
    }
    
    .post-content h2 {
        font-size: 0.95em;
    }
    
    .post-content p {
        margin-bottom: 9px;
        line-height: 1.72;
        font-size: 0.88em;
    }
    
    .post-content li {
        font-size: 0.86em;
        line-height: 1.68;
    }
    
    /* Dates */
    .dates-section {
        margin: 8px 10px;
    }
    
    .dates-header {
        padding: 7px 10px;
        font-size: 0.72em;
    }
    
    .dates-table td {
        padding: 6px 10px;
        font-size: 0.72em;
    }
    
    /* Links - ROW LAYOUT */
    .links-section {
        margin: 8px 10px;
    }
    
    .links-header {
        padding: 7px 10px;
        font-size: 0.72em;
    }
    
    .links-grid {
        padding: 6px 8px;
    }
    
    .link-row {
        padding: 8px 10px;
        gap: 6px;
        flex-direction: row;
    }
    
    .link-label {
        font-size: 0.7em;
    }
    
    .link-click {
        padding: 5px 10px;
        font-size: 0.65em;
    }
    
    /* Author - ONE ROW */
    .author-section,
    .share-section {
        padding: 8px 10px;
    }
    
    .author-card {
        padding: 8px 10px;
        gap: 8px;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .author-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.75em;
    }
    
    .author-name {
        font-size: 0.72em;
    }
    
    .author-label {
        font-size: 0.5em;
    }
    
    .author-value {
        font-size: 0.62em;
    }
    
    /* Share - SHOW NAMES */
    .share-btn {
        padding: 7px 10px;
        font-size: 0.68em;
        min-width: calc(50% - 5px);
    }
    
    .share-text {
        display: inline !important;
    }
    
    /* Sidebar */
    .widget-header {
        padding: 7px 8px;
        font-size: 0.62em;
    }
    
    .widget-link {
        padding: 6px 8px;
        font-size: 0.62em;
    }
    
    .widget-link-icon {
        width: 18px;
        height: 18px;
        font-size: 0.65em;
    }
    
    .widget-link span {
        line-height: 1.28;
    }
    
    .related-item a {
        font-size: 0.62em;
    }
    
    .related-date {
        font-size: 0.52em;
    }
    
    .recent-content a {
        font-size: 0.6em;
    }
    
    .recent-number {
        width: 16px;
        height: 16px;
        font-size: 0.5em;
    }
    
    .recent-meta {
        font-size: 0.48em;
    }
}

/* ==========================================
   RESPONSIVE - VERY SMALL (400px)
   ========================================== */
@media (max-width: 400px) {
    .container {
        padding: 0 8px;
    }
    
    .post-grid {
        grid-template-columns: 75% 23%;
        gap: 2%;
    }
    
    .post-title {
        font-size: 0.88em;
    }
    
    .post-badges {
        gap: 3px;
    }
    
    .post-badge {
        padding: 2px 5px;
        font-size: 0.55em;
    }
    
    .post-meta-bar {
        display: none;
    }
    
    .quick-summary,
    .featured-image-section,
    .post-body {
        padding: 6px 8px;
    }
    .quick-summary-title {
        font-size: 0.96em;
        margin-bottom: 4px;
    }
    
    .quick-summary p {
        font-size: 0.96em;
        line-height: 1.65;
    }
    
    /* CONTENT - STILL READABLE */
    .post-content {
        font-size: 0.85em;
        line-height: 1.7;
    }
    
    .post-content h2 {
        font-size: 0.9em;
        margin: 12px 0 6px;
    }
    
    .post-content p {
        font-size: 0.85em;
        line-height: 1.7;
        margin-bottom: 8px;
    }
    
    .post-content li {
        font-size: 0.84em;
        line-height: 1.65;
    }
    
    /* Dates */
    .dates-section {
        margin: 6px 8px;
    }
    
    /* Links - ROW LAYOUT */
    .links-section {
        margin: 6px 8px;
    }
    
    .link-row {
        padding: 7px 8px;
        gap: 5px;
        flex-direction: row;
    }
    
    .link-label {
        font-size: 0.65em;
    }
    
    .link-click {
        padding: 4px 8px;
        font-size: 0.6em;
    }
    
    /* Author - ONE ROW */
    .author-card {
        padding: 6px 8px;
        gap: 6px;
        flex-direction: row;
    }
    
    .author-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.65em;
    }
    
    .author-name {
        font-size: 0.65em;
    }
    
    .author-value {
        font-size: 0.55em;
    }
    
    /* Share - SHOW NAMES */
    .share-btn {
        padding: 6px 8px;
        font-size: 0.62em;
        min-width: calc(50% - 4px);
    }
    
    .share-text {
        display: inline !important;
    }
    
    /* Sidebar */
    .widget-header {
        padding: 6px;
        font-size: 0.58em;
    }
    
    .widget-link {
        padding: 5px 6px;
        font-size: 0.58em;
    }
    
    .widget-link-icon {
        width: 16px;
        height: 16px;
        font-size: 0.6em;
    }
    
    .related-item {
        padding: 5px 6px;
    }
    
    .related-item a {
        font-size: 0.68em;
    }
    
    .related-date {
        display: none;
    }
    
    .recent-item {
        padding: 5px 6px;
    }
    
    .recent-content a {
        font-size: 0.65em;
    }
    
    .recent-meta {
        display: none;
    }
    
    .recent-number {
        width: 14px;
        height: 14px;
        font-size: 0.48em;
    }
}

/* ==========================================
   RESPONSIVE - ULTRA SMALL (360px)
   ========================================== */
@media (max-width: 360px) {
    .post-grid {
        grid-template-columns: 75% 23%;
        gap: 2%;
    }
    
    .post-title {
        font-size: 1.8em;
    }
    .quick-summary-title {
        font-size: 1.08em;
        margin-bottom: 4px;
    }
    
    .quick-summary p {
        font-size: 1.08em;
        line-height: 1.65;
    }
    /* CONTENT */
    .post-content {
        font-size: 1.0em;
        line-height: 1.68;
    }
    
    .post-content h2 {
        font-size: 1.2em;
    }
    
    .post-content p {
        font-size: 1.0em;
        line-height: 1.68;
    }
    
    /* dates */
    .dates-section {
        margin: 8px 10px;
    }
    
    .dates-header {
        padding: 7px 10px;
        font-size: 0.82em;
    }
    
    .dates-table td {
        padding: 6px 10px;
        font-size: 0.82em;
    }
    /* Links - ROW LAYOUT */
    .link-row {
        padding: 6px;
        gap: 4px;
        flex-direction: row;
    }
    .links-header {
        padding: 7px 10px;
        font-size: 0.82em;
    }
    
    .link-label {
        font-size: 0.82em;
    }
    
    .link-click {
        padding: 4px 6px;
        font-size: 0.65em;
    }
    
    /* Sidebar */
    .widget-header {
        font-size: 0.55em;
        padding: 5px;
    }
    
    .widget-link {
        padding: 4px 5px;
        font-size: 0.55em;
    }
    
    .related-item a,
    .recent-content a {
        font-size: 0.52em;
    }
    
    /* Author - ONE ROW */
    .author-avatar {
        width: 22px;
        height: 22px;
        font-size: 0.6em;
    }
    
    .author-name {
        font-size: 0.6em;
    }
    
    .author-value {
        font-size: 0.5em;
    }
    
    /* Share */
    .share-btn {
        padding: 5px 6px;
        font-size: 0.58em;
    }
    
    .share-text {
        display: inline !important;
    }
}
/* ==========================================
   MOBILE LEFT PADDING FIX
   ========================================== */
@media (max-width: 680px) {
    .container {
        padding: 0 15px !important;
    }
    
    .post-header,
    .quick-summary,
    .featured-image-section,
    .post-body,
    .author-section,
    .share-section {
        padding-left: 17px !important;
        padding-right: 17px !important;
    }
    
    .dates-section,
    .links-section {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 0 14px !important;
    }
    
    .post-header,
    .quick-summary,
    .featured-image-section,
    .post-body,
    .author-section,
    .share-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .dates-section,
    .links-section {
        margin-left: 13px !important;
        margin-right: 13px !important;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 12px !important;
    }
    
    .post-header,
    .quick-summary,
    .featured-image-section,
    .post-body,
    .author-section,
    .share-section {
        padding-left: 13px !important;
        padding-right: 13px !important;
    }
    
    .dates-section,
    .links-section {
        margin-left: 11px !important;
        margin-right: 11px !important;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px !important;
    }
    
    .post-header,
    .quick-summary,
    .featured-image-section,
    .post-body,
    .author-section,
    .share-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .dates-section,
    .links-section {
        margin-left: 9px !important;
        margin-right: 9px !important;
    }
}
