/*
Theme Name: FlashPress Ultra
Theme URI: https://example.com/flashpress-ultra
Author: FlashPress Team
Author URI: https://example.com
Description: Next-generation mobile-first news theme built for extreme performance. Optimized for Google Discover, Core Web Vitals, and slow mobile devices. Perfect for Marathi, Hindi, and English news sites.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flashpress-ultra
Tags: news, blog, mobile-first, performance, seo, accessibility-ready, translation-ready, custom-colors, featured-images, threaded-comments

FlashPress Ultra WordPress Theme, Copyright 2024-2025
FlashPress Ultra is distributed under the terms of the GNU GPL.
*/

/* ==========================================================================
   CRITICAL CSS - Inline loaded for instant render
   ========================================================================== */

/* CSS Reset & Base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

/* Theme Variables */
:root{--bg-primary:#f0f2f5;--bg-secondary:#fff;--bg-card:#fff;--text-primary:#1b1b1b;--text-secondary:#65676b;--link-color:#0055ee;--link-hover:#0044cc;--border-color:#dadde1;--shadow:0 1px 2px rgba(0,0,0,.1);--shadow-hover:0 2px 8px rgba(0,0,0,.15)}

[data-theme="dark"]{--bg-primary:#18191a;--bg-secondary:#242526;--bg-card:#242526;--text-primary:#e4e6eb;--text-secondary:#b0b3b8;--link-color:#4dabf7;--link-hover:#74c0fc;--border-color:#3a3b3c;--shadow:0 1px 2px rgba(0,0,0,.5);--shadow-hover:0 2px 8px rgba(0,0,0,.7)}

html{font-size:16px;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:1rem;line-height:1.6;color:#1c1e21;background:#f0f2f5;overflow-x:hidden;transition:background .3s ease,color .3s ease}
[data-theme="dark"] body{color:var(--text-primary);background:var(--bg-primary)}
img{max-width:100%;height:auto;display:block;border:0}
a{color:#0645ad;text-decoration:none;transition:color .2s ease;border-bottom:1px solid transparent}
a:hover{color:#0b0080;text-decoration:none;border-bottom-color:#0b0080}
a:focus{outline:2px solid #0645ad;outline-offset:2px}
button,input,select,textarea{font-family:inherit;font-size:100%}

/* Container & Layout */
.site-container{min-height:100vh;display:flex;flex-direction:column;background:#f0f2f5}
[data-theme="dark"] .site-container{background:var(--bg-primary)}
.site-header{background:#fff;border-bottom:1px solid #dadde1;position:sticky;top:0;z-index:100;box-shadow:0 1px 2px rgba(0,0,0,.1)}
[data-theme="dark"] .site-header{background:var(--bg-secondary);border-bottom-color:var(--border-color);box-shadow:var(--shadow)}
.site-header-inner{max-width:680px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.site-branding{flex:0 0 auto}
.site-title{font-size:1.4rem;font-weight:700;margin:0}
.site-title a{color:#0a3c6b;text-decoration:none;border-bottom:none}
[data-theme="dark"] .site-title a{color:var(--link-color)}

/* Theme Switcher */
.theme-toggle{background:none;border:none;padding:8px;cursor:pointer;color:#65676b;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s ease}
.theme-toggle:hover{background:#f0f2f5}
[data-theme="dark"] .theme-toggle{color:var(--text-secondary)}
[data-theme="dark"] .theme-toggle:hover{background:var(--bg-primary)}
.theme-toggle svg{width:20px;height:20px;fill:currentColor}
.site-main{flex:1;max-width:680px;width:100%;margin:20px auto;padding:0 16px}
.site-footer{background:#fff;color:#65676b;padding:32px 16px;margin-top:20px;border-top:1px solid #dadde1}
[data-theme="dark"] .site-footer{background:var(--bg-secondary);color:var(--text-secondary);border-top-color:var(--border-color)}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-navigation{margin-bottom:24px}
.footer-menu{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 24px;text-align:left}
.footer-menu li{margin:0}
.footer-menu a{color:#65676b;font-size:.9375rem;padding:6px 0;display:block;transition:color .2s ease;text-decoration:none;border-bottom:1px solid transparent}
.footer-menu a:hover{color:#0645ad;text-decoration:none;border-bottom-color:#0645ad}
[data-theme="dark"] .footer-menu a{color:var(--text-secondary)}
[data-theme="dark"] .footer-menu a:hover{color:var(--link-color)}
.site-info{margin-top:24px;padding-top:24px;border-top:1px solid #dadde1;font-size:.875rem}
[data-theme="dark"] .site-info{border-top-color:var(--border-color)}
.site-info p{margin:8px 0}
.site-info a{color:#0645ad;text-decoration:none;border-bottom:1px solid transparent}
.site-info a:hover{text-decoration:none;border-bottom-color:#0645ad}

@media (max-width:480px){
  .footer-menu{grid-template-columns:1fr 1fr;gap:8px 16px}
}

/* Navigation Menu */
.main-navigation{flex:1 1 auto;display:flex;align-items:center}
.menu-toggle{display:none;background:none;border:none;padding:8px;cursor:pointer;color:#050505}
.menu-icon{display:block;width:24px;height:2px;background:currentColor;position:relative}
.menu-icon::before,.menu-icon::after{content:'';position:absolute;width:24px;height:2px;background:currentColor;left:0}
.menu-icon::before{top:-7px}
.menu-icon::after{top:7px}
.primary-menu{list-style:none;margin:0;padding:0;display:flex;gap:4px;flex-wrap:wrap}
.primary-menu li{margin:0}
.primary-menu a{display:block;padding:8px 12px;color:#65676b;font-size:.9375rem;font-weight:500;border-radius:6px;transition:background .2s ease,color .2s ease;text-decoration:none}
.primary-menu a:hover,.primary-menu .current-menu-item>a{background:#f0f2f5;color:#050505;text-decoration:none}
[data-theme="dark"] .primary-menu a{color:var(--text-secondary)}
[data-theme="dark"] .primary-menu a:hover,[data-theme="dark"] .primary-menu .current-menu-item>a{background:var(--bg-primary);color:var(--text-primary)}
.primary-menu .sub-menu{display:none;position:absolute;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15);border-radius:8px;padding:8px;min-width:200px;z-index:1000;margin-top:4px;border:1px solid #dadde1}
[data-theme="dark"] .primary-menu .sub-menu{background:var(--bg-secondary);box-shadow:var(--shadow-hover);border-color:var(--border-color)}
.primary-menu li{position:relative}
.primary-menu li:hover>.sub-menu{display:block}
.primary-menu .sub-menu li{display:block}
.primary-menu .sub-menu a{padding:10px 16px;border-radius:6px;display:block;white-space:nowrap}

/* Header Actions */
.header-actions{display:flex;align-items:center;gap:4px}
.header-actions button{background:none;border:none;padding:8px;cursor:pointer;color:#65676b;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s ease}
.header-actions button:hover{background:#f0f2f5}
[data-theme="dark"] .header-actions button{color:var(--text-secondary)}
[data-theme="dark"] .header-actions button:hover{background:var(--bg-primary)}

/* Header Search */
.header-search{position:relative}
.search-form-wrapper{position:absolute;right:0;top:100%;margin-top:8px;background:#fff;padding:16px;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);min-width:300px;z-index:1000;border:1px solid #dadde1}
[data-theme="dark"] .search-form-wrapper{background:var(--bg-secondary);box-shadow:var(--shadow-hover);border-color:var(--border-color)}

/* Mobile Menu */
@media (max-width:767px){
  .site-header-inner{flex-wrap:wrap}
  .site-branding{flex:1 1 auto}
  .header-actions{order:2}
  .menu-toggle{display:flex !important;color:#050505}
  [data-theme="dark"] .menu-toggle{color:var(--text-primary)}
  .main-navigation{order:3;flex-basis:100%;max-height:0;overflow:hidden;transition:max-height .3s ease;background:#fff;border-top:1px solid #dadde1;margin:0 -16px;padding:0}
  [data-theme="dark"] .main-navigation{background:var(--bg-secondary);border-top-color:var(--border-color)}
  .main-navigation.active{max-height:400px;padding:8px 0}
  .primary-menu{flex-direction:column;width:100%;gap:0}
  .primary-menu a{padding:12px 16px;border-radius:0}
  .primary-menu .sub-menu{position:static;box-shadow:none;background:#f0f2f5;margin:0;padding-left:16px;border:none}
  [data-theme="dark"] .primary-menu .sub-menu{background:var(--bg-primary)}
  .search-form-wrapper{min-width:280px;right:-8px}
}

/* Post Cards - Facebook-style Clean Reading */
.post-card{background:#fff;border-radius:8px;margin-bottom:16px;box-shadow:0 1px 2px rgba(0,0,0,.1);overflow:hidden;transition:box-shadow .2s ease}
.post-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.15)}
[data-theme="dark"] .post-card{background:var(--bg-card);box-shadow:var(--shadow)}
[data-theme="dark"] .post-card:hover{box-shadow:var(--shadow-hover)}
.post-thumbnail{position:relative;width:100%;background:#e4e6eb;overflow:hidden}
[data-theme="dark"] .post-thumbnail{background:var(--bg-primary)}
.post-thumbnail img{width:100%;height:auto;display:block}
.post-content{padding:12px 16px 16px}
.post-meta{font-size:.8125rem;color:#65676b;margin-bottom:8px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
[data-theme="dark"] .post-meta{color:var(--text-secondary)}
.post-meta span{display:flex;align-items:center;gap:4px}
.post-title{font-size:1.125rem;font-weight:600;line-height:1.4;margin:0 0 8px;color:#050505}
[data-theme="dark"] .post-title{color:var(--text-primary)}
.post-title a{color:inherit;border-bottom:none}
.post-excerpt{font-size:.9375rem;color:#65676b;line-height:1.5;margin-bottom:12px}
[data-theme="dark"] .post-excerpt{color:var(--text-secondary)}
.category-label{display:inline-block;background:#e7f3ff;color:#1877f2;padding:4px 8px;border-radius:4px;font-size:.75rem;font-weight:600}
.read-more{display:inline-flex;align-items:center;gap:4px;color:#0645ad;font-weight:600;font-size:.875rem;padding:6px 0;border-bottom:2px solid #0645ad}
.read-more:hover{border-bottom-color:#0b0080}

/* WhatsApp Floating Share Button */
.whatsapp-float{position:fixed;bottom:20px;right:20px;width:56px;height:56px;background:#25d366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(37,211,102,.4);z-index:999;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.whatsapp-float:hover{transform:scale(1.1);box-shadow:0 6px 16px rgba(37,211,102,.6)}
.whatsapp-float svg{width:32px;height:32px;fill:#fff}

/* Single Post - Facebook Reading Experience */
.single-post{background:#fff;border-radius:8px;padding:20px;margin-bottom:16px;box-shadow:0 1px 2px rgba(0,0,0,.1)}
[data-theme="dark"] .single-post{background:var(--bg-card);box-shadow:var(--shadow)}
.single-post h1{font-size:1.5rem;font-weight:700;line-height:1.3;margin-bottom:10px;color:#050505}
[data-theme="dark"] .single-post h1{color:var(--text-primary)}
.single-post .entry-meta{font-size:.8125rem;color:#65676b;display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
[data-theme="dark"] .single-post .entry-meta{color:var(--text-secondary)}
.single-post .entry-content{font-size:1rem;line-height:1.7;color:#1c1e21;margin-top:20px}
[data-theme="dark"] .single-post .entry-content{color:var(--text-primary)}
.single-post .entry-content p{margin-bottom:1em}
.single-post .entry-content h2{font-size:1.375rem;margin:1.5em 0 .8em;font-weight:700;color:#050505}
[data-theme="dark"] .single-post .entry-content h2{color:var(--text-primary)}
.single-post .entry-content h3{font-size:1.25rem;margin:1.3em 0 .7em;font-weight:600;color:#050505}
[data-theme="dark"] .single-post .entry-content h3{color:var(--text-primary)}
.single-post .entry-content ul,.single-post .entry-content ol{margin:1em 0;padding-left:2em}
.single-post .entry-content li{margin-bottom:.5em}
.single-post .entry-content img{margin:1.5em auto;border-radius:8px;max-width:100%;height:auto;display:block}
.single-post .entry-content a{color:#0645ad;font-weight:500;border-bottom:1px solid #0645ad}
.single-post .entry-content a:hover{border-bottom-color:#0b0080}
.single-post .entry-content blockquote{border-left:4px solid #1877f2;padding-left:16px;margin:1.5em 0;color:#65676b;font-style:italic}
[data-theme="dark"] .single-post .entry-content blockquote{border-left-color:var(--link-color);color:var(--text-secondary)}
.single-post .post-thumbnail{margin:16px 0;border-radius:8px;overflow:hidden}
.single-post .post-thumbnail img{width:100%;height:auto;display:block}

/* Social Share Buttons - Facebook Style */
.social-share{display:flex;gap:8px;padding:16px 0;border-top:1px solid #e4e6eb;margin-top:20px}
.share-button{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .2s ease;border:none;text-decoration:none}
.share-facebook{background:#1877f2;color:#fff}
.share-facebook:hover{background:#166fe5;color:#fff}
.share-twitter{background:#1da1f2;color:#fff}
.share-twitter:hover{background:#0c8de4;color:#fff}
.share-whatsapp{background:#25d366;color:#fff}
.share-whatsapp:hover{background:#1fbc5a;color:#fff}
.share-linkedin{background:#0077b5;color:#fff}
.share-linkedin:hover{background:#006399;color:#fff}
.share-button svg{width:18px;height:18px;fill:currentColor}

/* Breadcrumbs */
.breadcrumbs{font-size:.8125rem;color:#65676b;margin-bottom:12px;padding:8px 16px;background:#fff;border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.breadcrumbs a{color:#0f5ab5}

/* Navigation Menu - Facebook Style */
.main-navigation{display:flex;gap:4px}
.main-navigation a{padding:8px 12px;color:#65676b;font-size:.9375rem;font-weight:500;border-radius:6px;transition:background .2s ease}
.main-navigation a:hover{background:#f0f2f5;color:#050505}

/* Loading State */
.loading{opacity:0;animation:fadeIn .3s ease forwards}
@keyframes fadeIn{to{opacity:1}}

/* Utility Classes */
.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}
.clearfix::after{content:"";display:table;clear:both}

/* Responsive Typography */
@media (min-width:768px){
  .site-main{padding:0 16px}
  .post-card{margin-bottom:20px}
  .post-title{font-size:1.25rem}
  .single-post{padding:24px}
  .single-post .entry-title{font-size:1.75rem}
  .whatsapp-float{width:60px;height:60px}
}

/* Post Grid */
.post-grid{display:flex;flex-direction:column;gap:16px}

/* Author/Date Meta Styling */
.post-meta time{color:#65676b;font-size:.8125rem}
.entry-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.8125rem;color:#65676b;margin-top:8px}
.entry-meta .meta-separator{color:#dadde1;margin:0 4px}
.entry-meta a{color:#0f5ab5;font-weight:500}

/* Social Share Buttons - Mobile Optimized */
.social-share-buttons{display:flex;gap:8px;margin:16px 0;flex-wrap:wrap;padding:12px 0;border-top:1px solid #e4e6eb;border-bottom:1px solid #e4e6eb}
.share-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;background:#f0f2f5;border:none;border-radius:20px;font-size:.875rem;font-weight:600;color:#65676b;text-decoration:none;transition:all .2s ease;cursor:pointer;white-space:nowrap}
.share-btn svg{width:20px;height:20px;flex-shrink:0}
.share-btn:hover{transform:translateY(-2px);box-shadow:0 2px 8px rgba(0,0,0,.15)}
.share-facebook{background:#e7f3ff;color:#1877f2}
.share-facebook:hover{background:#1877f2;color:#fff}
.share-facebook svg{fill:#1877f2}
.share-facebook:hover svg{fill:#fff}
.share-twitter{background:#e8f5fd;color:#1da1f2}
.share-twitter:hover{background:#1da1f2;color:#fff}
.share-twitter svg{fill:#1da1f2}
.share-twitter:hover svg{fill:#fff}
.share-whatsapp{background:#e7f8ee;color:#25d366}
.share-whatsapp:hover{background:#25d366;color:#fff}
.share-whatsapp svg{fill:#25d366}
.share-whatsapp:hover svg{fill:#fff}
.share-linkedin{background:#e7f3ff;color:#0077b5}
.share-linkedin:hover{background:#0077b5;color:#fff}
.share-linkedin svg{fill:#0077b5}
.share-linkedin:hover svg{fill:#fff}
.share-copy{background:#f0f2f5;color:#65676b}
.share-copy:hover{background:#050505;color:#fff}
.share-copy svg{fill:#65676b}
.share-copy:hover svg{fill:#fff}
.share-copy.copied{background:#25d366;color:#fff}
.share-copy.copied svg{fill:#fff}

/* AdSense Ad Slots */
.adsense-slot{margin:24px 0;min-height:250px;display:flex;align-items:center;justify-content:center;background:#f8f9fa;border-radius:8px;overflow:hidden}
.ad-below-image{margin-top:20px}
.ad-in-content{margin:24px 0}
.ad-below-content{margin-top:32px;margin-bottom:16px}
.adsense-wrapper{width:100%;max-width:100%;text-align:center}

/* Breadcrumbs */
.breadcrumbs{font-size:.8125rem;color:#65676b;padding:12px 0;margin-bottom:16px;border-bottom:1px solid #e4e6eb}
.breadcrumbs a{color:#1877f2;transition:color .2s ease}
.breadcrumbs a:hover{color:#166fe5;text-decoration:underline}
.breadcrumb-separator{color:#dadde1;margin:0 8px}
.breadcrumb-current{color:#050505;font-weight:500}

/* Related Articles Section */
.related-posts{margin-top:40px;padding:32px 0;border-top:2px solid #e4e6eb;background:#f0f2f5;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
.related-title{font-size:1.5rem;font-weight:700;color:#050505;margin-bottom:20px;padding-bottom:12px;border-bottom:3px solid #1877f2;display:inline-block}
.related-grid{display:grid;grid-template-columns:1fr;gap:16px}
.related-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.1);transition:transform .2s ease,box-shadow .2s ease}
.related-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.related-thumbnail{position:relative;width:100%;aspect-ratio:16/9;background:#e4e6eb;overflow:hidden}
.related-thumbnail img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.related-card:hover .related-thumbnail img{transform:scale(1.05)}
.related-category-badge{position:absolute;top:12px;left:12px;background:rgba(24,119,242,.95);color:#fff;padding:4px 10px;border-radius:4px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.3px;z-index:2}
.related-content{padding:16px}
.related-meta{font-size:.75rem;color:#65676b;margin-bottom:8px}
.related-post-title{font-size:1rem;font-weight:600;line-height:1.4;margin:0 0 8px;color:#050505}
.related-post-title a{color:inherit;transition:color .2s ease}
.related-post-title a:hover{color:#1877f2}
.related-excerpt{font-size:.875rem;color:#65676b;line-height:1.5}

/* Mobile Ad Adjustments */
@media (max-width:767px){
  .adsense-slot{min-height:280px;margin:16px 0;border-radius:0}
  .ad-below-image{margin-top:16px}
  .ad-in-content{margin:20px 0}
  .social-share-buttons{gap:6px;padding:10px 0}
  .share-btn{padding:7px 12px;font-size:.8125rem}
  .share-btn span{display:none}
  .share-btn svg{width:22px;height:22px}
  .related-posts{margin-left:0;margin-right:0;padding-left:12px;padding-right:12px;border-radius:0}
  .breadcrumbs{font-size:.75rem;padding:10px 0}
  .breadcrumb-separator{margin:0 6px}
}

/* Tags */
.entry-footer{margin-top:20px;padding-top:16px;border-top:1px solid #e4e6eb}
.post-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tags-label{color:#65676b;font-size:.875rem;font-weight:600}
.post-tags a{display:inline-block;background:#e7f3ff;color:#1877f2;padding:4px 12px;border-radius:16px;font-size:.8125rem;font-weight:500;transition:background .2s ease}
.post-tags a:hover{background:#d8ebff}

/* Related Posts */
.related-posts{margin-top:32px;padding-top:24px;border-top:1px solid #e4e6eb}
.related-posts h3{font-size:1.125rem;font-weight:700;color:#050505;margin-bottom:16px}
.related-post-item{display:flex;gap:12px;padding:12px;border-radius:8px;transition:background .2s ease;margin-bottom:12px}
.related-post-item:hover{background:#f0f2f5}
.related-post-thumbnail{flex-shrink:0;width:80px;height:80px;border-radius:8px;overflow:hidden;background:#e4e6eb}
.related-post-thumbnail img{width:100%;height:100%;object-fit:cover}
.related-post-content{flex:1}
.related-post-title{font-size:.9375rem;font-weight:600;line-height:1.4;color:#050505;margin-bottom:4px}
.related-post-title a{color:inherit}
.related-post-meta{font-size:.75rem;color:#65676b}

/* Comments */
.comments-area{margin-top:32px;padding:20px;background:#fff;border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.comments-title{font-size:1.125rem;font-weight:700;color:#050505;margin-bottom:16px}
.comment-list{list-style:none;margin:0;padding:0}
.comment{padding:12px 0;border-bottom:1px solid #e4e6eb}
.comment-author{font-weight:600;color:#050505;font-size:.9375rem}
.comment-meta{font-size:.75rem;color:#65676b;margin:4px 0 8px}
.comment-content{font-size:.9375rem;line-height:1.6;color:#1c1e21}
.reply{margin-top:8px}
.reply a{font-size:.8125rem;color:#1877f2;font-weight:600}

/* Pagination */
.pagination{display:flex;justify-content:center;gap:8px;margin:32px 0;flex-wrap:wrap}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 12px;background:#fff;border-radius:6px;color:#1877f2;font-weight:600;font-size:.875rem;transition:background .2s ease}
.page-numbers:hover,.page-numbers.current{background:#e7f3ff;color:#1877f2}
.page-numbers.dots{background:transparent;color:#65676b}

/* Archive Header */
.archive-header{background:#fff;padding:16px 20px;border-radius:8px;margin-bottom:20px;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.archive-title{font-size:1.5rem;font-weight:700;color:#050505;margin:0}
.archive-description{font-size:.9375rem;color:#65676b;margin-top:8px;line-height:1.6}

/* Search Form */
.search-form{display:flex;gap:8px}
.search-form label{flex:1;margin:0}
.search-form input[type="search"]{width:100%;padding:10px 16px;border:1px solid #dadde1;border-radius:20px;font-size:.9375rem;background:#f0f2f5;transition:background .2s ease}
.search-form input[type="search"]:focus{background:#fff;border-color:#1877f2;outline:none}
.search-form button{padding:10px 20px;background:#1877f2;color:#fff;border:none;border-radius:20px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:background .2s ease}
.search-form button:hover{background:#166fe5}

/* Sidebar */
.widget{background:#fff;padding:16px;border-radius:8px;margin-bottom:16px;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.widget-title{font-size:1rem;font-weight:700;color:#050505;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid #e4e6eb}
.widget ul{list-style:none;margin:0;padding:0}
.widget li{padding:8px 0;border-bottom:1px solid #f0f2f5}
.widget li:last-child{border-bottom:none}
.widget a{color:#1c1e21;font-size:.9375rem;transition:color .2s ease}
.widget a:hover{color:#1877f2}

/* Professional News Homepage */
.featured-post{background:#fff;border-radius:8px;margin-bottom:24px;box-shadow:0 2px 8px rgba(0,0,0,.12);overflow:hidden}
.featured-thumbnail{position:relative;width:100%;aspect-ratio:16/9;background:#e4e6eb;overflow:hidden}
.featured-thumbnail img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.featured-post:hover .featured-thumbnail img{transform:scale(1.05)}
.featured-category{position:absolute;top:16px;left:16px;background:#1877f2;color:#fff;padding:6px 14px;border-radius:4px;font-size:.8125rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.featured-content{padding:24px}
.featured-title{font-size:1.75rem;font-weight:700;line-height:1.3;margin:0 0 12px;color:#050505}
.featured-title a{color:inherit}
.featured-meta{display:flex;align-items:center;gap:8px;font-size:.875rem;color:#65676b;margin-bottom:14px}
.featured-meta span{display:flex;align-items:center}
.featured-excerpt{font-size:1rem;color:#1c1e21;line-height:1.6;margin-bottom:16px}
.featured-read-more{display:inline-flex;align-items:center;gap:6px;background:#1877f2;color:#fff;padding:10px 24px;border-radius:6px;font-weight:600;font-size:.9375rem;transition:background .2s ease,transform .2s ease}
.featured-read-more:hover{background:#166fe5;transform:translateY(-2px)}

/* Section Header */
.section-header{margin:32px 0 20px}
.section-title{font-size:1.5rem;font-weight:700;color:#050505;padding-bottom:12px;border-bottom:3px solid #1877f2;display:inline-block;margin:0}

/* Post Grid - News Layout */
.post-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:24px}

/* Post Category Badge */
.post-category-badge{position:absolute;top:12px;left:12px;background:rgba(24,119,242,.95);color:#fff;padding:4px 10px;border-radius:4px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.3px;z-index:2;box-shadow:0 2px 4px rgba(0,0,0,.2)}

/* Tablet Layout */
@media (min-width:600px){
  .post-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  .related-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  .featured-post{display:grid;grid-template-columns:1.2fr 1fr;gap:0}
  .featured-thumbnail{aspect-ratio:4/3;height:100%}
  .featured-thumbnail img{height:100%}
  .featured-content{display:flex;flex-direction:column;justify-content:center}
  .breadcrumbs{font-size:.875rem}
}

/* Desktop Layout */
@media (min-width:900px){
  .site-main{max-width:1200px;padding:0 32px}
  .site-header-inner{max-width:1200px;padding:12px 32px}
  .featured-post{grid-template-columns:1.5fr 1fr}
  .featured-title{font-size:2rem}
  .featured-excerpt{font-size:1.0625rem}
  .post-grid{grid-template-columns:repeat(3,1fr);gap:24px}
  .related-grid{grid-template-columns:repeat(3,1fr);gap:24px}
  .section-header{margin:40px 0 24px}
  .related-posts{margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px}
}

/* Lazy Loading Enhancement */
img[loading="lazy"]{opacity:0;transition:opacity .3s ease}
img[loading="lazy"].loaded,img[loading="lazy"][src]{opacity:1}

/* Mobile News Layout Improvements */
@media (max-width:767px){
  .site-header-inner{padding:8px 12px}
  .site-title{font-size:1.25rem}
  .site-main{padding:0 12px}
  .post-card{border-radius:8px;margin-bottom:12px}
  .post-card .post-thumbnail{border-radius:8px 8px 0 0}
  .post-content{padding:14px}
  .post-title{font-size:1.0625rem;line-height:1.35}
  .post-meta{font-size:.75rem;margin-bottom:6px}
  .post-excerpt{font-size:.875rem;line-height:1.5;margin-bottom:10px}
  .single-post{border-radius:0;margin-left:-12px;margin-right:-12px;padding:16px 12px}
  .single-post h1{font-size:1.5rem;line-height:1.3}
  .single-post .entry-content{font-size:.9375rem;line-height:1.7}
  .single-post .entry-content p{margin-bottom:16px}
  .single-post .entry-content img{border-radius:8px;margin:20px 0}
  .whatsapp-float{bottom:16px;right:16px;width:52px;height:52px}
  .featured-post{border-radius:0;margin-left:-12px;margin-right:-12px;box-shadow:none;border-bottom:8px solid #f0f2f5}
  .featured-content{padding:16px}
  .featured-title{font-size:1.375rem}
  .section-header{margin:20px 0 16px}
  .section-title{font-size:1.25rem}
  .related-title{font-size:1.25rem}
  .related-card{border-radius:8px}
}

