/* Professional International-Level Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* 30px Content Shift & Social Overlap Fix */
.lg\:col-span-9 { padding-left: 30px; margin-left: 30px; }
.social-share-bar { margin-bottom: 30px; border-top: 1px solid #f1f5f9; padding-top: 20px; display: flex; gap: 15px; }
.social-share-btn { padding: 10px 20px; border-radius: 12px; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.social-share-btn.wa { background: #25d366; color: white; }
.social-share-btn.x { background: #000000; color: white; }
.social-share-btn.fb { background: #1877f2; color: white; }
.social-share-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: #333333;
    background: #ffffff;
}

/* Professional Container */
.professional-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    padding: 3rem 2rem;
    background: #ffffff;
    box-shadow: none;
    border-radius: 0;
    display: block;
}

.main-wrapper {
    width: 95% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 1rem;
}

.container { 
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 20px;
}

body.single-post {
    background: #FFFFFF !important;
}

/* Typography */
.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a202c;
    letter-spacing: -0.025em;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #64748b;
}

.post-category {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Content Styling */
.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    padding-left: 30px !important; /* Fixed 30px shift */
}

.floating-social { position: fixed; left: 24px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; z-index: 100; margin-left: -5px; }

.post-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.post-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    orphans: 3;
    widows: 3;
}

.post-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
}

.post-content li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Featured Posts Section */
.featured-posts {
    background: #f8fafc;
    color: #1a202c;
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.featured-posts h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.featured-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.featured-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.featured-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Newsletter Signup */
.newsletter-section {
    background: #f1f5f9;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed #cbd5e1;
}

.newsletter-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.newsletter-section p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #667eea;
}

.newsletter-form button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.newsletter-form button:hover {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .professional-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-content h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 1000;
    transition: width 0.3s ease;
}

/* Smooth Animations */
* {
    scroll-behavior: smooth;
}

.post-content > * {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elite Content Structures */
.pro-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    font-size: 1.25rem;
    line-height: 1.6;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.pro-intro p {
    margin: 0;
    font-weight: 500;
}

.intro-box {
    background: #f1f5f9;
    color: #334155;
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 1.7;
    border-left: 4px solid #6366f1;
}

.intro-box p {
    margin: 0;
    font-weight: 500;
}

blockquote {
    border-left: 4px solid #667eea;
    background: #f8fafc;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #4a5568;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
}

.faq-section h4 {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    line-height: 1.4;
}

.faq-section h4:first-child {
    margin-top: 0;
}

.faq-section p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.highlight-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
    border-left: 4px solid #f5576c;
}

.highlight-card p {
    margin: 0;
    font-weight: 500;
}

.cta-box {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.cta-box h4 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.cta-box p {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
}

.cta-box a {
    display: inline-block;
    background: white;
    color: #4facfe;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.summary-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.summary-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.summary-table tr:nth-child(even) {
    background: #f9fafb;
}

/* Enhanced Headings */
.content h3 {
    color: #1f2937;
    font-size: 1.875rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem 0;
    line-height: 1.3;
    position: relative;
    padding-left: 1rem;
}

.content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.content h4 {
    color: #374151;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
}

/* Enhanced Lists */
.content ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

.content li {
    list-style: none;
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}
/* Elite Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-btn {
    background: white;
    color: #1a202c;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.2s;
}

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

/* Category Grid Blocks */
.content-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a202c;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: #4f46e5;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.premium-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s;
}

.premium-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.card-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Ad Placeholders */
.ad-slot {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.875rem;
    margin: 2rem 0;
}

.header-ad { height: 90px; width: 728px; margin: 0 auto; }
.sidebar-ad { height: 250px; width: 300px; }
.skyscraper-ad { height: 600px; width: 300px; position: sticky; top: 100px; }

/* Sticky Post Sidebar */
.sticky-column {
    position: sticky;
    top: 100px;
}

/* Table of Contents */
.toc-container {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.toc-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.toc-item {
    margin-bottom: 0.5rem;
}

.toc-link {
    color: #4f46e5;
    text-decoration: none;
    font-size: 0.95rem;
}

.toc-link:hover {
    text-decoration: underline;
}

/* Affiliate Table */
.affiliate-table-wrapper {
    margin: 3rem 0;
    overflow-x: auto;
}

.affiliate-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.affiliate-table th {
    background: #f8fafc;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
}

.affiliate-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.rating-stars {
    color: #fbbf24;
}

.buy-btn {
    background: #ef4444;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 1024px) {
    .premium-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .hero-slider { height: 450px; }
}

body { background-color: #FFFFFF !important; }
.container { width: 95% !important; max-width: 1400px !important; margin: 0 auto !important; padding: 0 15px !important; }

/* Critical Mobile fixes */
@media (max-width: 768px) {
    .container, .professional-container, .main-wrapper { width: 100% !important; padding: 0 20px !important; }
    img { max-width: 100% !important; height: auto !important; }
    .grid, .premium-grid, .featured-grid { grid-template-columns: 1fr !important; } /* Force single column on mobile */
    .single-post main { padding-left: 20px !important; padding-right: 20px !important; overflow-x: hidden; }
    .lg\:col-span-8 { order: 1; }
    aside.lg\:col-span-4 { order: 2; width: 100%; margin-top: 2rem; }
    #sidebar { bottom: 0; z-index: 99; }
    .floating-social { display: none !important; }
    
    /* Fat fingers target sizing */
    nav a, .nav-link, button, .btn { padding: 15px !important; min-height: 48px; border-radius: 8px; justify-content: center; }
}

@media (max-width: 375px) {
    body { font-size: 16px; }
    .container, .professional-container { padding: 0 15px !important; }
    .hero-title, .post-title { font-size: 1.75rem !important; }
    .grid { gap: 1rem !important; }
}
