/*

1. Add your custom Css styles below
2. Place the this code in your template:

 <link href="css/custom.css" rel="stylesheet">

*/

/* Logo Styling */
#logo img {
    max-height: 50px;
    width: auto;
    display: inline-block;
}

/* Logo Text Responsive - Smaller on Mobile */
/* Using !important to override theme's default 40px font-size */
#header .header-inner #logo a,
#header .header-inner #logo a span,
#header .header-inner #logo a .logo-default,
#header .header-inner #logo a .logo-dark {
    font-size: 24px !important;
    font-weight: 700;
}

/* Tablet - medium screens */
@media (max-width: 991px) {
    #header .header-inner #logo a,
    #header .header-inner #logo a span,
    #header .header-inner #logo a .logo-default,
    #header .header-inner #logo a .logo-dark {
        font-size: 20px !important;
    }
}

/* Mobile - small screens */
@media (max-width: 768px) {
    #header .header-inner #logo a,
    #header .header-inner #logo a span,
    #header .header-inner #logo a .logo-default,
    #header .header-inner #logo a .logo-dark {
        font-size: 18px !important;
    }
}

/* Mobile - very small screens */
@media (max-width: 480px) {
    #header .header-inner #logo a,
    #header .header-inner #logo a span,
    #header .header-inner #logo a .logo-default,
    #header .header-inner #logo a .logo-dark {
        font-size: 16px !important;
    }
}

/* Post Meta - Clean and Secondary */
.post-item .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 0;
    margin: 0 0 28px 0;
    border: none;
}

.post-item .post-meta span {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    font-weight: 400;
}

.post-item .post-meta span i {
    margin-right: 6px;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1;
    vertical-align: middle;
}

.post-item .post-meta span time,
.post-item .post-meta span a {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5;
}

.post-item .post-meta span a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-item .post-meta span a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .post-item .post-meta {
        gap: 14px;
        font-size: 13px;
        margin-bottom: 24px;
    }

    .post-item .post-meta span i {
        font-size: 13px;
        margin-right: 5px;
    }
}

/* =============================================================================
   Post Tags Styling - Modern & Beautiful
   ============================================================================= */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.post-tags i {
    font-size: 16px;
    color: var(--text-muted);
    margin-right: 5px;
}

.post-tags a {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background-color: #f3f4f6;
    color: #4b5563;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.post-tags a:hover {
    background-color: var(--link-color);
    color: #ffffff;
    border-color: var(--link-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 137, 220, 0.2);
}

/* Dark Mode Support for Tags */
@media (prefers-color-scheme: dark) {
    .post-tags a {
        background-color: #374151;
        color: #e5e7eb;
        border-color: #4b5563;
    }

    .post-tags a:hover {
        background-color: #60a5fa;
        color: #ffffff;
        border-color: #60a5fa;
        box-shadow: 0 4px 8px rgba(96, 165, 250, 0.3);
    }
}

/* Mobile Responsive for Tags */
@media (max-width: 768px) {
    .post-tags {
        gap: 8px;
        padding: 15px 0;
    }

    .post-tags a {
        padding: 5px 12px;
        font-size: 12px;
    }

    .post-tags i {
        font-size: 14px;
    }
}

/* =============================================================================
   PageSpeed Optimizations - CLS & Accessibility
   ============================================================================= */

/* Prevent CLS for images - preserve aspect ratio */
.post-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f3f4f6;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Improve text contrast for accessibility */
.post-meta-date,
.post-date {
    color: #555 !important;
}

body.breakpoint-xs,
body.breakpoint-sm,
body.breakpoint-md {
    background: #fff !important;
    color: #222 !important;
}

/* Badge contrast improvement */
.badge.bg-secondary {
    background-color: #555 !important;
    color: #fff !important;
}

/* Category badges on images - white text */
.post-item .post-image .post-meta-category a,
.post-item .post-slider .post-meta-category a,
.post-item .post-video .post-meta-category a,
.post-item .post-audio .post-meta-category a,
.post-item .post-quote-img .post-meta-category a {
    color: #fff !important;
}

/* Category links in descriptions - blue text for contrast */
.post-item-description .post-meta-category a,
.post-item-meta-category a {
    color: #2563eb !important;
}

/* Ensure all meta text has sufficient contrast */
.post-item-meta,
.post-meta span {
    color: #555 !important;
}
/* =============================================================================
   Semantic HTML Structure Styles
   ============================================================================= */

/* =============================================================================
   Article Hero Section - Enhanced Visual Hierarchy
   ============================================================================= */

/* Article Header - Stronger Hero Section */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

/* H1 - Main Center of Attention */
.article-header h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #111827;
    margin: 0 0 24px 0;
    max-width: 900px;
}

/* Mobile H1 */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 32px;
        line-height: 1.25;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 28px;
    }
}

/* =============================================================================
   Article Content - Improved Readability & Typography
   ============================================================================= */

#page-title {
    padding: 20px 0;
}

.post-content,
.article-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #1f2937;
    letter-spacing: -0.003em;
    max-width: 720px;
    padding-top: 0;
    padding-bottom: 0;
}

/* Paragraphs - Better spacing */
.post-content p,
.article-content p {
    margin-bottom: 1.75rem;
    font-weight: 400;
}

/* Headings - Strong hierarchy */
.post-content h2,
.article-content h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #111827;
    margin: 3rem 0 1.25rem 0;
    scroll-margin-top: 80px; /* For smooth scroll with fixed header */
}

.post-content h3,
.article-content h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.015em;
    color: #111827;
    margin: 2.5rem 0 1rem 0;
    scroll-margin-top: 80px;
}

.post-content h4,
.article-content h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: #111827;
    margin: 2rem 0 0.875rem 0;
    scroll-margin-top: 80px;
}

/* Lists - Clean and spaced */
.post-content ul,
.post-content ol,
.article-content ul,
.article-content ol {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 1.5rem 0;
    padding-left: 1.75rem;
}

.post-content li,
.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.post-content li:last-child,
.article-content li:last-child {
    margin-bottom: 0;
}

/* Nested lists */
.post-content li > ul,
.post-content li > ol,
.article-content li > ul,
.article-content li > ol {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Blockquotes - Editorial style */
.post-content blockquote,
.article-content blockquote {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    line-height: 1.7;
    font-style: italic;
    color: #374151;
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    border-left: 4px solid #3b82f6;
    background-color: #f9fafb;
    border-radius: 0 4px 4px 0;
}

.post-content blockquote p:last-child,
.article-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Strong/Bold - Emphasis */
.post-content strong,
.post-content b,
.article-content strong,
.article-content b {
    font-weight: 600;
    color: #111827;
}

/* Links - Subtle but clear */
.post-content a,
.article-content a {
    color: #3b82f6;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.post-content a:hover,
.article-content a:hover {
    color: #2563eb;
}

/* Horizontal Rule */
.post-content hr,
.article-content hr {
    margin: 3rem 0;
    border: none;
    border-top: 2px solid #e5e7eb;
}

/* Code blocks (if present) */
.post-content code,
.article-content code {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    font-size: 0.9em;
    background-color: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    color: #e11d48;
}

.post-content pre code,
.article-content pre code {
    background-color: transparent;
    padding: 0;
}

.post-content pre,
.article-content pre {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 1.25rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .post-content,
    .article-content {
        font-size: 17px;
        line-height: 1.75;
        max-width: 100%;
    }

    .post-content h2,
    .article-content h2 {
        font-size: 26px;
        margin: 2.5rem 0 1rem 0;
    }

    .post-content h3,
    .article-content h3 {
        font-size: 21px;
        margin: 2rem 0 0.875rem 0;
    }

    .post-content h4,
    .article-content h4 {
        font-size: 18px;
        margin: 1.75rem 0 0.75rem 0;
    }

    .post-content blockquote,
    .article-content blockquote {
        font-size: 18px;
        padding: 1.25rem 1.25rem;
        margin: 1.75rem 0;
    }

    .post-content ul,
    .post-content ol,
    .article-content ul,
    .article-content ol {
        padding-left: 1.5rem;
    }
}

/* Subtitle/Excerpt - Supporting Statement */
.article-excerpt {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #374151;
    margin: 0 0 28px 0;
    padding: 0;
    background-color: transparent;
    border: none;
    max-width: 800px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Mobile Excerpt */
@media (max-width: 768px) {
    .article-excerpt {
        font-size: 18px;
        line-height: 1.65;
        margin-bottom: 24px;
    }
}

/* Article Footer */
.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.article-footer .tags-nav {
    margin-bottom: 30px;
}

.article-footer .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.article-footer .post-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px 0;
}

.article-footer .post-nav a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #374151;
    transition: color 0.2s ease;
}

.article-footer .post-nav a:hover {
    color: #3b82f6;
}

.article-footer .post-nav .post-nav-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 5px;
    font-weight: 600;
}

.article-footer .post-nav .post-nav-title {
    font-size: 14px;
    font-weight: 500;
}

/* Screen Reader Only - for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Related Posts as Aside */
aside.related-posts {
    margin-top: 40px;
    padding: 30px;
}

aside.related-posts h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #111827;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-excerpt {
        font-size: 16px;
        padding: 15px;
        margin: 15px 0 20px;
    }

    .article-footer .post-nav {
        flex-direction: column;
        gap: 20px;
    }

    .article-footer .post-nav a {
        width: 100%;
        text-align: center;
    }

    aside.related-posts {
        padding: 20px;
        margin-top: 30px;
    }

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

/* =============================================================================
   Social Share Buttons
   ============================================================================= */

/* Shared Base Styles */
.social-share {
    margin: 0;
    padding: 0;
}

.social-share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    position: relative;
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-share-btn:focus {
    outline: 2px solid #4a89dc;
    outline-offset: 2px;
}

.social-share-btn:active {
    transform: translateY(-1px);
}

/* Platform Colors */
.social-share-facebook { background-color: #1877f2; }
.social-share-facebook:hover { background-color: #0c63d4; }

.social-share-twitter { background-color: #1da1f2; }
.social-share-twitter:hover { background-color: #0d8bd9; }

.social-share-linkedin { background-color: #0a66c2; }
.social-share-linkedin:hover { background-color: #004e99; }

.social-share-whatsapp { background-color: #25d366; }
.social-share-whatsapp:hover { background-color: #1ebe57; }

.social-share-pinterest { background-color: #e60023; }
.social-share-pinterest:hover { background-color: #c8001e; }

.social-share-telegram { background-color: #0088cc; }
.social-share-telegram:hover { background-color: #006da8; }

.social-share-email { background-color: #ea4335; }
.social-share-email:hover { background-color: #d33426; }

.social-share-copy { background-color: #6b7280; }
.social-share-copy:hover { background-color: #4b5563; }

.social-share-native { background-color: #8b5cf6; }
.social-share-native:hover { background-color: #7c3aed; }

/* Horizontal Layout (After Content) */
.social-share-horizontal {
    margin: 40px 0 30px;
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 12px;
    text-align: center;
}

.social-share-horizontal .social-share-heading {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 20px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.social-share-horizontal .social-share-buttons {
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    /* Compact horizontal layout on mobile */
    .social-share-horizontal {
        padding: 20px 15px;
        margin: 30px 0 20px;
    }

    .social-share-horizontal .social-share-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .social-share-horizontal .social-share-buttons {
        gap: 10px;
    }

    .social-share-horizontal .social-share-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

/* Toast notification for copy link */
.copy-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #111827;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    .social-share-btn {
        border: 2px solid currentColor;
    }
}

/* Print styles - hide share buttons */
@media print {
    .social-share,
    .social-share-horizontal,
    .social-share-mobile-sticky {
        display: none !important;
    }
}

/* =============================================================================
   Footer Styles
   ============================================================================= */

.footer-separator {
    margin: 0 10px;
    color: #9ca3af;
}

.copyright-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright-text a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* =============================================================================
   Newsletter Subscription Form Styles
   ============================================================================= */

/* =============================================================================
   Newsletter Subscription Form - Enhanced Value Proposition
   ============================================================================= */

/* Newsletter Inline Form (After Article Content) */
.newsletter-inline-form {
    margin: 60px 0 50px;
    padding: 48px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    border: 1px solid #93c5fd;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.05);
}

.newsletter-inline-content {
    max-width: 680px;
    margin: 0 auto;
}

.newsletter-inline-icon {
    text-align: center;
    margin-bottom: 24px;
}

.newsletter-inline-icon i {
    font-size: 56px;
    color: #3b82f6;
    opacity: 0.9;
}

.newsletter-inline-text {
    text-align: center;
    margin-bottom: 32px;
}

.newsletter-inline-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.newsletter-inline-description {
    font-size: 17px;
    color: #374151;
    margin: 0;
    line-height: 1.65;
    font-weight: 400;
}

.newsletter-inline-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-inline-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.newsletter-inline-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: border-color 0.2s ease;
}

.newsletter-inline-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.newsletter-inline-button {
    padding: 14px 32px;
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-inline-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.newsletter-inline-button:active {
    transform: translateY(0);
}

.newsletter-inline-button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.newsletter-inline-message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 12px;
    text-align: center;
}

.newsletter-inline-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.newsletter-inline-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.newsletter-inline-privacy {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin: 0;
}

.newsletter-inline-privacy a {
    color: #3b82f6;
    text-decoration: underline;
}

/* Visually hidden helper for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .newsletter-inline-form {
        padding: 36px 24px;
        margin: 50px 0 40px;
    }

    .newsletter-inline-icon i {
        font-size: 48px;
    }

    .newsletter-inline-title {
        font-size: 26px;
    }

    .newsletter-inline-description {
        font-size: 16px;
    }

    .newsletter-inline-input-group {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-inline-button {
        width: 100%;
        padding: 16px;
    }
}

/* Print styles - hide newsletter form */
@media print {
    .newsletter-inline-form {
        display: none !important;
    }
}

/* =============================================================================
   FAQ Section - Editorial Style Block
   ============================================================================= */

.faq-section {
    margin-top: 50px !important;
    padding: 40px !important;
    background-color: #f9fafb !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
}

.faq-section h2 {
    margin-bottom: 32px !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    border-bottom: 3px solid #3b82f6 !important;
    padding-bottom: 16px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    letter-spacing: -0.02em !important;
}

.faq-section > div {
    margin-bottom: 24px !important;
    padding: 24px !important;
    background-color: #ffffff !important;
    border-left: 4px solid #3b82f6 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.faq-section > div:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.faq-section > div:last-child {
    margin-bottom: 0 !important;
}

.faq-section h3 {
    margin: 0 0 16px 0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    line-height: 1.5 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.faq-section p {
    margin: 0 !important;
    color: #4b5563 !important;
    line-height: 1.75 !important;
    font-size: 17px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Mobile FAQ Section */
@media (max-width: 768px) {
    .faq-section {
        padding: 30px 20px !important;
        margin-top: 40px !important;
    }

    .faq-section h2 {
        font-size: 26px !important;
        margin-bottom: 24px !important;
    }

    .faq-section > div {
        padding: 20px !important;
    }

    .faq-section h3 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }

    .faq-section p {
        font-size: 16px !important;
    }
}

/* =============================================================================
   Table of Contents - Clean Navigation Block
   ============================================================================= */

.article-toc {
    margin: 40px 0;
    padding: 28px 32px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.article-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.article-toc-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.article-toc-toggle {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
    transition: color 0.2s ease;
    display: none; /* Hidden by default, shown on mobile */
}

.article-toc-toggle:hover {
    color: #3b82f6;
}

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

.article-toc-item {
    margin-bottom: 10px;
}

.article-toc-item:last-child {
    margin-bottom: 0;
}

.article-toc-link {
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.article-toc-link:hover {
    background-color: #e0f2fe;
    color: #3b82f6;
    padding-left: 16px;
}

.article-toc-link.active {
    background-color: #dbeafe;
    color: #2563eb;
    font-weight: 500;
}

/* Nested TOC items (H3) */
.article-toc-item-h3 {
    margin-left: 20px;
}

.article-toc-item-h3 .article-toc-link {
    font-size: 14px;
    color: #6b7280;
}

/* Mobile TOC - Collapsible */
@media (max-width: 768px) {
    .article-toc {
        padding: 20px;
        margin: 30px 0;
    }

    .article-toc-toggle {
        display: block;
    }

    .article-toc-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .article-toc.expanded .article-toc-list {
        max-height: 1000px;
    }

    .article-toc.expanded .article-toc-toggle::after {
        content: ' ▲';
    }

    .article-toc:not(.expanded) .article-toc-toggle::after {
        content: ' ▼';
    }

    .article-toc-link {
        font-size: 14px;
        padding: 8px 10px;
    }

    .article-toc-item-h3 {
        margin-left: 16px;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* =============================================================================
   Sidebar Newsletter Form
   ============================================================================= */

.sidebar-newsletter-form {
    margin-top: 15px;
}

.sidebar-newsletter-form .form-group {
    margin-bottom: 10px;
}

.sidebar-newsletter-form .form-control {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: border-color 0.2s ease;
}

.sidebar-newsletter-form .form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sidebar-newsletter-form .btn-block {
    width: 100%;
    display: block;
}

.sidebar-newsletter-form .btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    padding: 10px 16px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
}

.sidebar-newsletter-form .btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.sidebar-newsletter-form .btn-primary:disabled {
    background-color: #94a3b8;
    border-color: #94a3b8;
    cursor: not-allowed;
}

.widget-newsletter-sidebar .btn-outline-secondary {
    padding: 10px 16px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
}

.sidebar-newsletter-message {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

.sidebar-newsletter-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.sidebar-newsletter-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.btn-outline-secondary {
    color: #6b7280;
    border: 1px solid #d1d5db;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    color: #374151;
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

/* =============================================================================
   Related Content - Enhanced Cards
   ============================================================================= */

aside.related-posts {
    margin-top: 60px !important;
    padding: 40px !important;
}

aside.related-posts h2 {
    font-size: 28px !important;
    margin-bottom: 32px !important;
    color: #111827 !important;
    font-weight: 700 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
}

aside.related-posts h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3b82f6;
    margin: 16px auto 0;
}

/* Related Post Cards */
.related-posts .post-item {
    width: auto;
    height: auto;
    border-radius: 12px !important;
    border: none !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
    background-color: #ffffff !important;
    padding-bottom: 0 !important;
}

.related-posts .post-item-wrap {
    border: none !important;
}

.related-posts .col-md-4 {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 0 !important;
}

.related-posts .post-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

.related-posts .post-image {
    aspect-ratio: 16/9 !important;
    overflow: hidden !important;
}

.related-posts .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease !important;
}

.related-posts .post-item:hover .post-image img {
    transform: scale(1.05) !important;
}

.related-posts .post-item-description {
    padding: 24px !important;
}

.related-posts .post-item-description h4 {
    font-size: 18px !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.related-posts .post-item-description h4 a {
    color: #111827 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.related-posts .post-item-description h4 a:hover {
    color: #3b82f6 !important;
}

.related-posts .post-meta-date {
    font-size: 13px !important;
    color: #6b7280 !important;
    display: block !important;
    margin-bottom: 12px !important;
}

.related-posts .read-time {
    font-size: 13px !important;
    color: #6b7280 !important;
}

.related-posts .post-excerpt {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #4b5563 !important;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
}

.related-posts .item-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #3b82f6 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, gap 0.2s ease !important;
}

.related-posts .item-link:hover {
    color: #2563eb !important;
    gap: 8px !important;
}

.related-posts .item-link i {
    font-size: 12px !important;
}

/* Related Stories Section */
.related-stories {
    margin-top: 0 !important;
    padding: 40px 40px 0 40px !important;
    background-color: #fafafa !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
}

.related-stories h3 {
    font-size: 28px !important;
    margin-bottom: 32px !important;
    color: #111827 !important;
    font-weight: 700 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
}

.related-stories h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #8b5cf6;
    margin: 16px auto 0;
}

.related-stories .story-card {
    transition: all 0.3s ease !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.related-stories .story-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.related-stories .post-image {
    aspect-ratio: 16/9 !important;
    overflow: hidden !important;
}

.related-stories .post-image img,
.related-stories .post-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    aside.related-posts,
    .related-stories {
        padding: 30px 20px !important;
        margin-top: 40px !important;
    }

    aside.related-posts h2,
    .related-stories h3 {
        font-size: 24px !important;
        margin-bottom: 24px !important;
    }

    .related-posts .post-item-description {
        padding: 20px !important;
    }

    .related-posts .post-item-description h4 {
        font-size: 17px !important;
    }
}

/* =============================================================================
   Post Navigation - Enhanced Prev/Next
   ============================================================================= */

.article-footer .post-nav {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 20px !important;
    align-items: center !important;
    margin-top: 40px !important;
    padding: 32px !important;
    background-color: #f9fafb !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
}

.article-footer .post-nav a {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    color: #374151 !important;
    transition: all 0.3s ease !important;
    min-height: 100px !important;
    justify-content: center !important;
}

.article-footer .post-nav a:hover {
    background-color: #eff6ff !important;
    border-color: #3b82f6 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;
}

.article-footer .post-nav .post-prev {
    text-align: left !important;
}

.article-footer .post-nav .post-next {
    text-align: right !important;
}

.article-footer .post-nav .post-all {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    min-height: auto !important;
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    padding: 0 !important;
}

.article-footer .post-nav .post-all:hover {
    background-color: #2563eb !important;
    transform: scale(1.1) translateY(-2px) !important;
}

.article-footer .post-nav .post-nav-label {
    font-size: 12px !important;
    text-transform: uppercase !important;
    color: #6b7280 !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.article-footer .post-nav .post-nav-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    line-height: 1.4 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.article-footer .post-nav a:hover .post-nav-title {
    color: #3b82f6 !important;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .article-footer .post-nav {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
        padding: 20px !important;
        gap: 16px !important;
    }

    .article-footer .post-nav a {
        width: 100% !important;
        text-align: center !important;
        padding: 16px !important;
        min-height: 80px !important;
    }

    .article-footer .post-nav .post-prev,
    .article-footer .post-nav .post-next {
        text-align: center !important;
    }

    .article-footer .post-nav .post-all {
        order: -1 !important;
        margin: 0 auto !important;
    }

    .article-footer .post-nav .post-nav-title {
        font-size: 15px !important;
    }
}

/* =============================================================================
   Sidebar - Refined Visual Hierarchy
   ============================================================================= */

.sidebar.sticky-sidebar {
    position: sticky !important;
    top: 100px !important;
}

.sidebar .widget {
    padding: 24px !important;
    margin-bottom: 32px !important;
    background-color: #fafafa !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    transition: background-color 0.2s ease !important;
}

.sidebar .widget:hover {
    background-color: #f5f5f5 !important;
}

.sidebar .widget-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin-bottom: 20px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    letter-spacing: -0.01em !important;
}

.sidebar .widget ul.list {
    list-style: none !important;
    padding: 0 !important;
}

.sidebar .widget ul.list li {
    margin-bottom: 12px !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding-bottom: 12px !important;
}

.sidebar .widget ul.list li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.sidebar .widget ul.list li a {
    color: #4b5563 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: color 0.2s ease !important;
    display: block !important;
}

.sidebar .widget ul.list li a:hover {
    color: #3b82f6 !important;
}

.sidebar .widget .badge {
    font-size: 11px !important;
    padding: 3px 8px !important;
    background-color: #e5e7eb !important;
    color: #6b7280 !important;
    border-radius: 12px !important;
}

/* Recent Posts Widget */
.sidebar .post-thumbnail-entry {
    margin-bottom: 16px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.sidebar .post-thumbnail-entry:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.sidebar .post-thumbnail-entry img {
    border-radius: 6px !important;
    margin-bottom: 10px !important;
}

.sidebar .post-thumbnail-content {
    padding-left: 0 !important;
}

.sidebar .post-thumbnail-content a {
    color: #374151 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 6px !important;
    transition: color 0.2s ease !important;
}

.sidebar .post-thumbnail-content a:hover {
    color: #3b82f6 !important;
}

.sidebar .post-date {
    font-size: 12px !important;
    color: #6b7280 !important;
}

/* Tags Widget */
.sidebar .widget-tags .tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.sidebar .widget-tags .tags a {
    display: inline-block !important;
    padding: 6px 12px !important;
    background-color: #f3f4f6 !important;
    color: #4b5563 !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid #e5e7eb !important;
}

.sidebar .widget-tags .tags a:hover {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}

/* Search Widget */
.sidebar .widget .input-group {
    display: flex !important;
    gap: 8px !important;
}

.sidebar .widget .form-control {
    flex: 1 !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
}

.sidebar .widget .form-control:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.sidebar .widget .btn {
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}

/* Mobile Sidebar */
@media (max-width: 991px) {
    .sidebar.sticky-sidebar {
        position: relative !important;
        top: 0 !important;
        margin-top: 50px !important;
    }

    .sidebar .widget {
        padding: 20px !important;
        margin-bottom: 24px !important;
    }
}

/* =============================================================================
   Reading Progress Indicator
   ============================================================================= */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e5e7eb;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reading-progress.visible {
    opacity: 1;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* Hide on very small screens to reduce clutter */
@media (max-width: 480px) {
    .reading-progress {
        display: none;
    }
}

/* =============================================================================
   Print Styles
   ============================================================================= */

@media print {
    .reading-progress,
    .sidebar,
    .social-share,
    .newsletter-inline-form,
    .article-toc {
        display: none !important;
    }

    .article-header h1 {
        font-size: 32px !important;
    }

    .post-content,
    .article-content {
        font-size: 12pt !important;
        line-height: 1.6 !important;
    }
}

/* =============================================================================
   HOMEPAGE IMPROVEMENTS - Growth-Focused Editorial Landing Page
   ============================================================================= */

/* Hero Section - Stronger Positioning & Onboarding
   ========================================================================= */

.hero-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    padding: 4rem 0 3.5rem !important;
    margin-bottom: 3rem !important;
    border-bottom: 1px solid #bfdbfe !important;
}

.hero-content {
    text-align: center !important;
    max-width: 880px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
}

.hero-content h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
}

.hero-content .subheading {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.35rem !important;
    color: #334155 !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-ctas {
    display: flex !important;
    gap: 1.25rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 2rem !important;
}

.hero-ctas .btn {
    padding: 0.875rem 2rem !important;
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.hero-ctas .btn-primary {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25) !important;
}

.hero-ctas .btn-primary:hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35) !important;
}

.hero-ctas .btn-outline-secondary {
    background-color: #ffffff !important;
    border: 2px solid #cbd5e1 !important;
    color: #475569 !important;
}

.hero-ctas .btn-outline-secondary:hover {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #334155 !important;
}

/* Mobile Hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2.5rem !important;
        margin-bottom: 2.5rem !important;
    }

    .hero-content h1 {
        font-size: 2.25rem !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-content .subheading {
        font-size: 1.15rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-ctas {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }

    .hero-ctas .btn {
        width: 100% !important;
        max-width: 320px !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem !important;
    }

    .hero-content .subheading {
        font-size: 1.0625rem !important;
    }
}

@media (max-width: 500px) {
    .cornerstones-grid {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cornerstones-grid .cornerstone-link {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cornerstones-grid .cornerstone-link strong,
    .cornerstones-grid .cornerstone-link span {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* Start Here / Cornerstones - Stronger Onboarding Block
   ========================================================================= */

.cornerstones-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    border-left: 5px solid #f59e0b !important;
    padding: 2.5rem !important;
    margin: 0 0 3rem 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15) !important;
}

.cornerstones-section h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.cornerstones-section > p {
    font-size: 1.0625rem !important;
    color: #57534e !important;
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}

.cornerstones-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.25rem !important;
}

.cornerstone-link {
    display: block !important;
    padding: 1.5rem !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border: 2px solid transparent !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.cornerstone-link:hover {
    background: #fffbeb !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.2) !important;
    border-color: #fbbf24 !important;
}

.cornerstone-link strong {
    display: block !important;
    color: #0f172a !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    line-height: 1.4 !important;
}

.cornerstone-link span {
    color: #64748b !important;
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
}

/* Mobile Cornerstones */
@media (max-width: 768px) {
    .cornerstones-section {
        padding: 2rem 1.5rem !important;
        margin: 0 0 2.5rem 0 !important;
    }

    .cornerstones-section h2 {
        font-size: 1.75rem !important;
    }

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

    .cornerstone-link {
        padding: 1.25rem !important;
    }
}

/* Topic Clusters - Enhanced Visual Quality
   ========================================================================= */

.topic-clusters {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 1.75rem !important;
    margin: 3rem 0 !important;
}

.topic-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.topic-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.topic-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-4px) !important;
    border-color: #cbd5e1 !important;
}

.topic-card:hover::before {
    opacity: 1 !important;
}

.topic-card .icon {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
    line-height: 1 !important;
}

.topic-card h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
}

.topic-card p {
    color: #475569 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.65 !important;
    font-size: 0.9375rem !important;
}

.topic-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.topic-card ul li {
    margin-bottom: 0.75rem !important;
}

.topic-card ul li:last-child {
    margin-bottom: 0 !important;
}

.topic-card ul li a {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.9375rem !important;
    transition: color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.topic-card ul li a::before {
    content: '→' !important;
    margin-right: 0.5rem !important;
    transition: transform 0.2s ease !important;
}

.topic-card ul li a:hover {
    color: #2563eb !important;
}

.topic-card ul li a:hover::before {
    transform: translateX(3px) !important;
}

/* Mobile Topic Clusters */
@media (max-width: 768px) {
    .topic-clusters {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin: 2.5rem 0 !important;
    }

    .topic-card {
        padding: 1.75rem !important;
    }

    .topic-card h3 {
        font-size: 1.35rem !important;
    }
}

/* SEO Content - Improved Scannability
   ========================================================================= */

.seo-content {
    margin: 3rem 0 !important;
    padding: 2.5rem !important;
    background: #fafafa !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
}

.seo-content h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.seo-content p {
    color: #374151 !important;
    line-height: 1.75 !important;
    margin-bottom: 1.25rem !important;
    font-size: 1.0625rem !important;
    max-width: 800px !important;
}

.seo-content p strong {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
    display: block !important;
    margin: 2rem 0 1rem 0 !important;
}

.seo-content ul {
    color: #374151 !important;
    line-height: 1.75 !important;
    margin-left: 1.75rem !important;
    margin-bottom: 1.5rem !important;
    max-width: 780px !important;
}

.seo-content ul li {
    margin-bottom: 0.75rem !important;
    padding-left: 0.5rem !important;
    font-size: 1.0625rem !important;
}

.seo-content ul li::marker {
    color: #3b82f6 !important;
}

/* Mobile SEO Content */
@media (max-width: 768px) {
    .seo-content {
        padding: 2rem 1.5rem !important;
        margin: 2.5rem 0 !important;
    }

    .seo-content h2 {
        font-size: 1.75rem !important;
    }

    .seo-content p,
    .seo-content ul li {
        font-size: 1rem !important;
    }
}

/* Trust Section - E-E-A-T
   ========================================================================= */

.trust-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    padding: 2.5rem !important;
    margin: 3rem 0 !important;
    border-radius: 12px !important;
    border: 1px solid #bbf7d0 !important;
}

.trust-section h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.trust-section p {
    color: #374151 !important;
    line-height: 1.75 !important;
    margin-bottom: 1.25rem !important;
    font-size: 1.0625rem !important;
}

.trust-section p strong {
    color: #0f172a !important;
    font-weight: 600 !important;
}

/* Mobile Trust Section */
@media (max-width: 768px) {
    .trust-section {
        padding: 2rem 1.5rem !important;
        margin: 2.5rem 0 !important;
    }

    .trust-section h2 {
        font-size: 1.75rem !important;
    }

    .trust-section p {
        font-size: 1rem !important;
    }
}

/* Section Divider - Latest Articles
   ========================================================================= */

.section-divider {
    margin: 4rem 0 3rem !important;
    padding-top: 0 !important;
    border-top: none !important;
    text-align: center !important;
}

.section-divider h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 2.25rem !important;
    color: #0f172a !important;
    margin-bottom: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.section-divider h2::after {
    content: '' !important;
    display: block !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%) !important;
    margin: 1.25rem auto 0 !important;
    border-radius: 2px !important;
}

/* Mobile Section Divider */
@media (max-width: 768px) {
    .section-divider {
        margin: 3rem 0 2.5rem !important;
    }

    .section-divider h2 {
        font-size: 1.875rem !important;
    }
}

/* Latest Articles - Enhanced Card Design (Homepage Only)
   ========================================================================= */

.homepage-articles {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 50px !important;
    padding: 40px 40px 0 40px !important;
    background-color: #fafafa !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
}

.homepage-articles .post-item {
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    background-color: #ffffff !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

.homepage-articles .post-item-wrap {
    border: 0 !important;
}

.homepage-articles .post-image {
    aspect-ratio: 16/9 !important;
}

.homepage-articles .post-image img {
    transition: transform 0.4s ease !important;
}

.homepage-articles .post-item:hover .post-image img {
    transform: scale(1.08) !important;
}

.homepage-articles .post-item-description {
    padding: 1.75rem !important;
}

.homepage-articles .post-item-description h2 {
    font-size: 1.35rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
    font-weight: 600 !important;
}

.homepage-articles .post-item-description h2 a {
    color: #0f172a !important;
    transition: color 0.2s ease !important;
}

.homepage-articles .post-item:hover .post-item-description h2 a {
    color: #3b82f6 !important;
}

.homepage-articles .post-meta-category {
    display: none !important;
}

.homepage-articles .post-meta-date,
.homepage-articles .post-meta-comments {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
}

.homepage-articles .post-meta-date {
    margin-right: 1.25rem !important;
}

.homepage-articles .post-meta-date time {
    float: left !important;
}

.homepage-articles .post-item-description > p {
    font-size: 0.9375rem !important;
    line-height: 1.65 !important;
    color: #4b5563 !important;
    margin: 1rem 0 !important;
}

.homepage-articles .item-link {
    font-weight: 600 !important;
    color: #3b82f6 !important;
    font-size: 0.9375rem !important;
}

/* Latest Stories Section - Visual Differentiation
   ========================================================================= */

.latest-stories-section {
    margin-top: 4rem !important;
    padding: 3rem 2.5rem !important;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%) !important;
    border-radius: 16px !important;
    border: 1px solid #e9d5ff !important;
}

.latest-stories-section .section-header {
    text-align: center !important;
    margin-bottom: 3rem !important;
}

.latest-stories-section .section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 2.25rem !important;
    color: #0f172a !important;
    margin-bottom: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.latest-stories-section .section-title::after {
    content: '' !important;
    display: block !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #8b5cf6 0%, #a855f7 100%) !important;
    margin: 1.25rem auto 0 !important;
    border-radius: 2px !important;
}

.latest-stories-section .section-description {
    font-size: 1.125rem !important;
    color: #6b7280 !important;
    font-weight: 400 !important;
}

.latest-stories-section .grid-layout {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
}

.latest-stories-section .post-item {
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
    border: 1px solid #e9d5ff !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

.latest-stories-section .post-item:hover {
    /* No hover animation */
}

.latest-stories-section .post-image {
    aspect-ratio: 16/9 !important;
}

.latest-stories-section .btn-outline-primary {
    padding: 0.875rem 2rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    border-width: 2px !important;
    transition: all 0.2s ease !important;
}

/* Mobile Latest Stories */
@media (max-width: 768px) {
    .latest-stories-section {
        padding: 2.5rem 1.5rem !important;
        margin-top: 3rem !important;
    }

    .latest-stories-section .grid-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .latest-stories-section .section-title {
        font-size: 1.875rem !important;
    }

    .latest-stories-section .section-description {
        font-size: 1rem !important;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .latest-stories-section .grid-layout {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Homepage Mobile Optimizations
   ========================================================================= */

@media (max-width: 991px) {
    /* Better spacing between sections on mobile */
    .homepage-articles,
    .latest-stories-section,
    .seo-content,
    .trust-section {
        margin-top: 2.5rem !important;
        margin-bottom: 2.5rem !important;
    }

    /* Sidebar appears after content on mobile */
    .sidebar.sticky-sidebar {
        margin-top: 3rem !important;
    }

    /* Add spacing between story cards, except last one */
    .latest-stories-section .post-item:not(:last-child) {
        margin-bottom: 1.5rem !important;
    }

    /* Fix button height - prevent min-height from breaking layout */
    .btn,
    a.btn,
    button.btn,
    .hero-ctas .btn,
    .latest-stories-section .btn {
        min-height: auto !important;
        height: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center !important;
    }
}

/* ============================================================================
   HOMEPAGE SIDEBAR IMPROVEMENTS
   Softer visual hierarchy, less aggressive, helpful but not distracting
   ========================================================================= */

/* General Sidebar Refinement */
.sidebar.sticky-sidebar .widget {
    background-color: #fafafa !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 1.75rem !important;
    margin-bottom: 1.75rem !important;
    transition: all 0.2s ease !important;
}

.sidebar.sticky-sidebar .widget:hover {
    background-color: #ffffff !important;
    border-color: #d1d5db !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04) !important;
}

.sidebar.sticky-sidebar .widget-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 1.25rem !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    letter-spacing: -0.01em !important;
}

/* Search Widget */
.sidebar.sticky-sidebar .widget form.form-inline .input-group {
    display: flex !important;
    gap: 0 !important;
}

.sidebar.sticky-sidebar .widget form.form-inline .form-control {
    flex: 1 !important;
    border-radius: 8px 0 0 8px !important;
    border-right: none !important;
    font-size: 0.9375rem !important;
    padding: 0.75rem 1rem !important;
}

.sidebar.sticky-sidebar .widget form.form-inline .btn-primary {
    border-radius: 0 8px 8px 0 !important;
    padding: 0.75rem 1.25rem !important;
    margin-bottom: 0 !important;
}

/* Categories & Lists */
.sidebar.sticky-sidebar .widget ul.list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar.sticky-sidebar .widget ul.list li {
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.sidebar.sticky-sidebar .widget ul.list li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.sidebar.sticky-sidebar .widget ul.list li a {
    color: #374151 !important;
    text-decoration: none !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.sidebar.sticky-sidebar .widget ul.list li a:hover {
    color: #3b82f6 !important;
}

.sidebar.sticky-sidebar .widget ul.list li a .badge {
    background-color: #e5e7eb !important;
    color: #6b7280 !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.625rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
}

/* Recent Posts Thumbnails */
.sidebar.sticky-sidebar .post-thumbnail-entry {
    display: flex !important;
    gap: 1rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 1.25rem !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.sidebar.sticky-sidebar .post-thumbnail-entry:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.sidebar.sticky-sidebar .post-thumbnail-entry img {
    width: 80px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
}

.sidebar.sticky-sidebar .post-thumbnail-content {
    flex: 1 !important;
    min-width: 0 !important;
    padding-left: 0 !important;
}

.sidebar.sticky-sidebar .post-thumbnail-content a {
    color: #1f2937 !important;
    text-decoration: none !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    display: block !important;
    margin-bottom: 0.375rem !important;
}

.sidebar.sticky-sidebar .post-thumbnail-content a:hover {
    color: #3b82f6 !important;
}

.sidebar.sticky-sidebar .post-thumbnail-content .post-date {
    color: #9ca3af !important;
    font-size: 0.8125rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
}

/* Popular Tags */
.sidebar.sticky-sidebar .widget-tags .tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.625rem !important;
}

.sidebar.sticky-sidebar .widget-tags .tags a {
    background-color: #f3f4f6 !important;
    color: #4b5563 !important;
    padding: 0.5rem 0.875rem !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
}

.sidebar.sticky-sidebar .widget-tags .tags a:hover {
    background-color: #eff6ff !important;
    color: #3b82f6 !important;
    border-color: #bfdbfe !important;
    transform: translateY(-2px) !important;
}

/* Newsletter Widget - Enhanced Value Proposition */
.sidebar.sticky-sidebar .widget-newsletter-sidebar {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    border: 2px solid #93c5fd !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1) !important;
}

.sidebar.sticky-sidebar .widget-newsletter-sidebar .widget-title {
    color: #1e40af !important;
    font-size: 1.25rem !important;
    margin-bottom: 0.875rem !important;
}

.sidebar.sticky-sidebar .widget-newsletter-sidebar .newsletter-value-prop {
    font-size: 0.9375rem !important;
    color: #374151 !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    font-weight: 500 !important;
}

.sidebar.sticky-sidebar .widget-newsletter-sidebar .form-control {
    border: 2px solid #bfdbfe !important;
    border-radius: 8px !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.9375rem !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
}

.sidebar.sticky-sidebar .widget-newsletter-sidebar .form-control:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

.sidebar.sticky-sidebar .widget-newsletter-sidebar .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    padding: 0.875rem 1.5rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    margin-top: 0.75rem !important;
    transition: all 0.2s ease !important;
}

.sidebar.sticky-sidebar .widget-newsletter-sidebar .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25) !important;
}

.sidebar.sticky-sidebar .widget-newsletter-sidebar .btn-outline-secondary {
    border: 2px solid #bfdbfe !important;
    color: #3b82f6 !important;
    background-color: #ffffff !important;
    padding: 0.75rem 1.25rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
}

.sidebar.sticky-sidebar .widget-newsletter-sidebar .btn-outline-secondary:hover {
    background-color: #eff6ff !important;
    border-color: #3b82f6 !important;
}

/* Mobile Sidebar Refinements */
@media (max-width: 991px) {
    .sidebar.sticky-sidebar .widget {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .sidebar.sticky-sidebar .widget-title {
        font-size: 1.0625rem !important;
    }
}

/* ============================================================================
   HOMEPAGE FOOTER IMPROVEMENTS
   Clearer structure, better hierarchy, more useful
   ========================================================================= */

#footer {
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%) !important;
    border-top: 1px solid #e5e7eb !important;
    padding-top: 3rem !important;
}

#footer .footer-content {
    padding-bottom: 2.5rem !important;
}

#footer .widget {
    margin-bottom: 2rem !important;
}

#footer .widget-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 1.25rem !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    letter-spacing: -0.01em !important;
    position: relative !important;
    padding-bottom: 0.75rem !important;
}

#footer .widget-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 40px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%) !important;
    border-radius: 2px !important;
}

#footer .widget p {
    color: #6b7280 !important;
    line-height: 1.7 !important;
    font-size: 0.9375rem !important;
    margin-bottom: 1rem !important;
}

#footer .widget ul.list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#footer .widget ul.list li {
    margin-bottom: 0.75rem !important;
}

#footer .widget ul.list li:last-child {
    margin-bottom: 0 !important;
}

#footer .widget ul.list li a {
    color: #4b5563 !important;
    text-decoration: none !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

#footer .widget ul.list li a:hover {
    color: #3b82f6 !important;
    transform: translateX(4px) !important;
}

#footer .widget ul.list li a i {
    opacity: 0.7 !important;
}

#footer .copyright-content {
    background-color: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    padding: 1.75rem 0 !important;
}

#footer .copyright-text {
    color: #6b7280 !important;
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
}

#footer .copyright-text a {
    color: #4b5563 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

#footer .copyright-text a:hover {
    color: #3b82f6 !important;
    text-decoration: underline !important;
}

#footer .footer-separator {
    margin: 0 0.75rem !important;
    color: #d1d5db !important;
}

/* Mobile Footer */
@media (max-width: 768px) {
    #footer {
        padding-top: 2.5rem !important;
    }

    #footer .footer-content {
        padding-bottom: 2rem !important;
    }

    #footer .widget {
        margin-bottom: 2rem !important;
    }

    #footer .copyright-text {
        font-size: 0.8125rem !important;
        line-height: 1.8 !important;
    }

    #footer .footer-separator {
        display: block !important;
        height: 0 !important;
        margin: 0.25rem 0 !important;
        visibility: hidden !important;
    }
}

/* ============================================================================
   ADDITIONAL MOBILE HOMEPAGE ENHANCEMENTS
   Reduce monotony, improve scannability, better touch targets
   ========================================================================= */

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        padding: 3rem 0 2.5rem !important;
    }

    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.15 !important;
        margin-bottom: 1rem !important;
    }

    .hero-content .subheading {
        font-size: 1.0625rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-ctas {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
    }

    .hero-ctas .btn {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1.0625rem !important;
    }

    /* Start Here Mobile - More Prominent */
    .cornerstones-section {
        padding: 2rem 1.5rem !important;
        margin: 0 0 2rem 0 !important;
    }

    .cornerstones-section h2 {
        font-size: 1.75rem !important;
    }

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

    /* Topic Clusters Mobile - Card Style */
    .topic-clusters {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .topic-card {
        padding: 1.75rem 1.5rem !important;
    }

    .topic-card .icon {
        font-size: 2.25rem !important;
    }

    .topic-card h3 {
        font-size: 1.25rem !important;
    }

    /* SEO Content Mobile - Better Readability */
    .seo-content {
        padding: 2rem 1.5rem !important;
        margin: 2rem 0 !important;
    }

    .seo-content h2 {
        font-size: 1.625rem !important;
        margin-bottom: 1.25rem !important;
    }

    .seo-content p,
    .seo-content ul {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    /* Trust Section Mobile */
    .trust-section {
        padding: 2rem 1.5rem !important;
        margin: 2rem 0 !important;
    }

    .trust-section h2 {
        font-size: 1.625rem !important;
    }

    /* Latest Articles Mobile - Better Cards */
    .homepage-articles {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .homepage-articles .post-item {
        margin-bottom: 0 !important;
    }

    .homepage-articles .post-title {
        font-size: 1.125rem !important;
        line-height: 1.4 !important;
    }

    /* Section Dividers Mobile */
    .section-divider {
        margin: 2.5rem 0 1.5rem !important;
        padding-top: 1.5rem !important;
    }

    .section-divider h2 {
        font-size: 1.75rem !important;
    }

    /* Improve Touch Targets */
    .cornerstone-link,
    .topic-card ul li a,
    .homepage-articles .post-item a,
    .latest-stories-section .post-item a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Fix button height on mobile */
    .btn,
    a.btn,
    button.btn {
        min-height: auto !important;
        height: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.5 !important;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    /* Add breathing room between major sections */
    .cornerstones-section,
    .topic-clusters,
    .seo-content,
    .trust-section,
    .homepage-articles,
    .latest-stories-section {
        margin-top: 2.5rem !important;
        margin-bottom: 2.5rem !important;
    }

    /* Remove top margin from cornerstones section */
    .cornerstones-section {
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - even more compact */
    .hero-content h1 {
        font-size: 1.75rem !important;
    }

    .hero-content .subheading {
        font-size: 1rem !important;
    }

    .cornerstones-section,
    .seo-content,
    .trust-section {
        padding: 1.75rem 1.25rem !important;
    }

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