/* ============================================
   HOME SECTIONS STYLES - 6 UNIQUE PATTERNS
   AdSense/Ezoic Friendly | SEO Optimized
   Speed Optimized | Mobile Responsive
   ============================================ */
   
   /* ============================================
   LOCALBIZZ COMPLETE CSS (WITH HOMEPAGE SLIDERS)
   Version: 2.1 (February 2026)
   All-in-One Solution - No External Files Needed
   ============================================ */

/* ==========================================
   1. CORE FOUNDATION & VARIABLES
   ========================================== */
   
   /* ============================================
   AUTHOR PAGES CSS (SHOW & DASHBOARD)
   SEO Optimized | SaaS Style | User Friendly
   ============================================ */

/* ==================== BREADCRUMB ==================== */
.breadcrumb-section{background:#f8fafc;padding:1.5rem 0;border-bottom:1px solid #e2e8f0}
.breadcrumb-custom{display:flex;gap:0.5rem;list-style:none;padding:0;margin:0}
.breadcrumb-item{display:flex;align-items:center;gap:0.5rem}
.breadcrumb-item a{color:#64748b;text-decoration:none;font-weight:600;font-size:0.875rem}
.breadcrumb-item a:hover{color:#2563eb}
.breadcrumb-item.active{color:#0f172a;font-weight:700}
.breadcrumb-item:not(:last-child)::after{content:'/';color:#cbd5e1;margin-left:0.5rem}

/* ==================== AUTHOR HERO ==================== */
.author-hero-section{padding:3rem 0;background:#fff}
.author-hero-card{background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);border:1px solid #e2e8f0;border-radius:24px;padding:3rem;box-shadow:0 10px 30px rgba(0,0,0,0.05)}
.author-avatar-wrapper{position:relative;display:inline-block}
.author-avatar-large{width:200px;height:200px;border-radius:50%;border:5px solid #fff;box-shadow:0 10px 30px rgba(0,0,0,0.15);object-fit:cover}
.verified-badge{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;padding:0.5rem 1rem;border-radius:50px;font-size:0.75rem;font-weight:800;box-shadow:0 4px 12px rgba(16,185,129,0.3);white-space:nowrap}
.author-name-hero{font-size:2.5rem;font-weight:900;color:#0f172a;margin-bottom:0.75rem;line-height:1.2}
.author-designation{color:#2563eb;font-size:1.125rem;font-weight:700;margin-bottom:1rem}
.author-bio-text{color:#475569;font-size:1rem;line-height:1.7;margin-bottom:1.5rem}
.author-social-links{display:flex;gap:0.75rem;flex-wrap:wrap}
.social-link-btn{display:inline-flex;align-items:center;gap:0.5rem;background:#fff;color:#0f172a;padding:0.625rem 1.25rem;border-radius:50px;font-weight:700;font-size:0.875rem;text-decoration:none;border:2px solid #e2e8f0;transition:all 0.3s}
.social-link-btn:hover{background:#2563eb;color:#fff;border-color:#2563eb;transform:translateY(-2px)}
.social-link-btn.linkedin:hover{background:#0077b5;border-color:#0077b5}
.author-stats-box{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.5rem;box-shadow:0 4px 12px rgba(0,0,0,0.05)}
.stat-item-author{text-align:center;padding:1rem 0;border-bottom:1px solid #f1f5f9}
.stat-item-author:last-child{border-bottom:none}
.stat-number-author{font-size:2rem;font-weight:900;color:#2563eb;line-height:1;margin-bottom:0.5rem}
.stat-label-author{color:#64748b;font-size:0.875rem;font-weight:600}

/* ==================== ARTICLES SECTION ==================== */
.author-articles-section{padding:4rem 0;background:#f8fafc}
.section-title-author{font-size:2rem;font-weight:900;color:#0f172a;margin-bottom:2rem;display:flex;align-items:center;gap:0.75rem}
.articles-grid-author{display:flex;flex-direction:column;gap:2rem}
.author-article-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;transition:all 0.4s;box-shadow:0 4px 12px rgba(0,0,0,0.04)}
.author-article-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(0,0,0,0.1);border-color:#2563eb}
.article-image-author{position:relative;aspect-ratio:3/2;overflow:hidden;background:#f1f5f9}
.article-image-author img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s}
.author-article-card:hover .article-image-author img{transform:scale(1.1)}
.article-category-badge{position:absolute;top:12px;left:12px;background:rgba(37,99,235,0.95);color:#fff;padding:0.5rem 1rem;border-radius:50px;font-size:0.75rem;font-weight:800;text-transform:uppercase}
.article-content-author{padding:2rem}
.article-title-author{font-size:1.375rem;font-weight:800;line-height:1.4;margin-bottom:1rem}
.article-title-author a{color:#0f172a;text-decoration:none}
.article-title-author a:hover{color:#2563eb}
.article-excerpt-author{color:#64748b;font-size:0.9375rem;line-height:1.6;margin-bottom:1.25rem}
.article-meta-author{display:flex;gap:1.5rem;flex-wrap:wrap;color:#94a3b8;font-size:0.875rem;font-weight:600;margin-bottom:1.25rem}
.read-article-btn{display:inline-flex;align-items:center;gap:0.5rem;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);color:#fff;padding:0.75rem 1.5rem;border-radius:10px;font-weight:800;text-decoration:none;transition:all 0.3s}
.read-article-btn:hover{transform:translateX(5px);box-shadow:0 8px 20px rgba(37,99,235,0.3);color:#fff}
.no-articles-message{text-align:center;padding:4rem 2rem;background:#fff;border-radius:18px;border:2px dashed #e2e8f0}
.no-articles-message i{font-size:4rem;color:#cbd5e1;margin-bottom:1rem}
.no-articles-message h3{color:#0f172a;font-weight:800;margin-bottom:0.5rem}

/* ==================== SIDEBAR ==================== */
.author-sidebar{position:sticky;top:100px}
.sidebar-widget-author{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:1.75rem;margin-bottom:1.5rem;box-shadow:0 4px 12px rgba(0,0,0,0.04)}
.widget-title-author{font-size:1.125rem;font-weight:900;color:#0f172a;margin-bottom:1.25rem;display:flex;align-items:center;gap:0.5rem;border-bottom:2px solid #f1f5f9;padding-bottom:0.75rem}
.popular-article-item{display:flex;gap:1rem;padding-bottom:1rem;border-bottom:1px solid #f1f5f9;margin-bottom:1rem}
.popular-article-item:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}
.popular-number{width:32px;height:32px;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1rem;flex-shrink:0}
.popular-title{font-size:0.9375rem;font-weight:700;line-height:1.4;margin-bottom:0.5rem}
.popular-title a{color:#0f172a;text-decoration:none}
.popular-title a:hover{color:#2563eb}
.popular-meta{color:#94a3b8;font-size:0.8125rem;font-weight:600}

/* ==================== DASHBOARD ==================== */
.dashboard-page{background:#f3f4f6;min-height:100vh;padding:2rem 0}
.dashboard-wrapper{display:flex;gap:2rem;align-items:flex-start}
.dashboard-sidebar{width:350px;position:sticky;top:20px;background:#fff;border-radius:20px;border:1px solid #e5e7eb;padding:30px;box-shadow:0 10px 15px -3px rgba(0,0,0,0.05)}
.dashboard-main{flex:1}
.sidebar-profile-card{text-align:center;margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #f3f4f6}
.profile-avatar-dash{width:100px;height:100px;border-radius:50%;margin:0 auto 1rem;border:3px solid #2563eb}
.profile-name-dash{font-size:1.25rem;font-weight:800;color:#0f172a;margin-bottom:0.25rem}
.profile-role-dash{color:#2563eb;font-size:0.875rem;font-weight:600}
.form-group-dash{margin-bottom:1.25rem}
.form-label-dash{font-weight:700;color:#0f172a;font-size:0.85rem;margin-bottom:0.5rem;display:block}
.form-control-dash{width:100%;border-radius:10px;border:1px solid #d1d5db;padding:12px;transition:0.3s;font-size:0.9375rem}
.form-control-dash:focus{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,0.1);outline:none}
.btn-save-dash{width:100%;background:#0f172a;color:#fff;border-radius:10px;padding:12px;font-weight:700;border:none;cursor:pointer;transition:0.3s}
.btn-save-dash:hover{background:#000;transform:translateY(-2px)}
.btn-logout-dash{width:100%;background:transparent;color:#dc2626;border:2px solid #dc2626;border-radius:10px;padding:10px;font-weight:700;cursor:pointer;transition:0.3s}
.btn-logout-dash:hover{background:#dc2626;color:#fff}
.alert-success-dash{background:#d1fae5;color:#065f46;padding:1rem;border-radius:10px;margin-bottom:1.5rem;font-weight:600;font-size:0.875rem}
.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}
.dashboard-title{font-size:2rem;font-weight:900;color:#0f172a;margin:0}
.dashboard-subtitle{color:#64748b;font-size:1rem;margin:0}
.btn-create-article{display:inline-flex;align-items:center;gap:0.5rem;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);color:#fff;padding:0.875rem 1.75rem;border-radius:12px;font-weight:800;text-decoration:none;transition:all 0.3s;box-shadow:0 4px 12px rgba(37,99,235,0.3)}
.btn-create-article:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(37,99,235,0.4);color:#fff}
.stats-grid-dash{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}
.stat-card-dash{background:#fff;border-radius:16px;padding:1.5rem;border:1px solid #e5e7eb;display:flex;align-items:center;gap:1rem;box-shadow:0 2px 8px rgba(0,0,0,0.04);transition:all 0.3s}
.stat-card-dash:hover{transform:translateY(-5px);box-shadow:0 8px 20px rgba(0,0,0,0.08)}
.stat-icon-dash{width:60px;height:60px;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.75rem;flex-shrink:0}
.stat-value-dash{font-size:2rem;font-weight:900;color:#0f172a;line-height:1;margin-bottom:0.25rem}
.stat-label-dash{color:#64748b;font-size:0.875rem;font-weight:600}
.articles-table-card{background:#fff;border-radius:20px;padding:2rem;border:1px solid #e5e7eb;box-shadow:0 4px 12px rgba(0,0,0,0.04)}
.table-title-dash{font-size:1.5rem;font-weight:900;color:#0f172a;margin-bottom:2rem;display:flex;align-items:center;gap:0.75rem}
.articles-grid-dashboard{display:flex;flex-direction:column;gap:1.5rem}
.article-card-dashboard{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.25rem;display:flex;gap:1.5rem;align-items:center;transition:all 0.3s;box-shadow:0 2px 8px rgba(0,0,0,0.02)}
.article-card-dashboard:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,0.08);border-color:#2563eb}
.article-thumbnail-dash{position:relative;width:140px;flex-shrink:0}
.article-thumbnail-dash img{width:100%;height:94px;object-fit:cover;border-radius:10px}
.status-badge-dash{position:absolute;top:6px;right:6px;padding:0.375rem 0.75rem;border-radius:50px;font-size:0.7rem;font-weight:800;text-transform:uppercase}
.status-approved{background:#d1fae5;color:#065f46}
.status-pending{background:#fef3c7;color:#92400e}
.status-draft{background:#e2e8f0;color:#475569}
.article-info-dash{flex:1}
.article-title-dash{font-size:1.125rem;font-weight:800;line-height:1.4;margin-bottom:0.75rem}
.article-title-dash a{color:#0f172a;text-decoration:none}
.article-title-dash a:hover{color:#2563eb}
.article-meta-dash{display:flex;gap:1.5rem;flex-wrap:wrap;color:#94a3b8;font-size:0.8125rem;font-weight:600}
.article-actions-dash{display:flex;gap:0.5rem}
.action-btn-dash{width:40px;height:40px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#475569;text-decoration:none;transition:all 0.3s}
.action-btn-dash:hover{background:#2563eb;color:#fff;border-color:#2563eb;transform:scale(1.1)}
.no-articles-dash{text-align:center;padding:3rem 2rem;background:#f8fafc;border-radius:16px;border:2px dashed #e2e8f0}
.no-articles-dash i{font-size:3.5rem;color:#cbd5e1;margin-bottom:1rem}
.no-articles-dash h3{color:#0f172a;font-weight:800;margin-bottom:0.75rem}
.btn-create-first{display:inline-flex;align-items:center;gap:0.5rem;background:#2563eb;color:#fff;padding:0.75rem 1.5rem;border-radius:10px;font-weight:800;text-decoration:none;margin-top:1rem;transition:all 0.3s}
.btn-create-first:hover{background:#1d4ed8;transform:translateY(-2px);color:#fff}

/* ==================== RESPONSIVE ==================== */
@media(max-width:991px){
    .dashboard-wrapper{flex-direction:column}
    .dashboard-sidebar{width:100%;position:static}
    .author-sidebar{position:static;margin-top:3rem}
    .author-hero-card{padding:2rem}
    .author-name-hero{font-size:2rem}
}
@media(max-width:768px){
    .author-avatar-large{width:150px;height:150px}
    .author-name-hero{font-size:1.75rem}
    .stats-grid-dash{grid-template-columns:1fr}
    .dashboard-title{font-size:1.5rem}
    .article-card-dashboard{flex-direction:column}
    .article-thumbnail-dash{width:100%}
}

:root { 
    /* Colors */
    --primary: #2563eb; 
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-soft: #eff6ff;
    
    --dark: #0f172a; 
    --slate: #1e293b;
    --slate-light: #475569;
    --slate-lighter: #64748b;
    
    --bg-main: #f8fafc; 
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --border-lighter: #f1f5f9;
    
    /* Spacing */
    --top-bar-h: 42px; 
    --nav-h: 56px; 
    --container-max: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================
   2. GLOBAL RESETS & TYPOGRAPHY
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-display: swap; 
    overflow-x: hidden; 
    color: var(--slate-light);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, .h1 { 
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

h2, .h2 { 
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.25rem;
}

h3, .h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

h4, .h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
}

h5, .h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
}

p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img { 
    height: auto;
    max-width: 100%;
    display: block;
}

/* ==========================================
   3. LAYOUT STRUCTURE
   ========================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

.site-header, 
.header-navigation { 
    min-height: calc(var(--top-bar-h) + var(--nav-h));
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.top-bar { 
    min-height: var(--top-bar-h);
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar { 
    min-height: var(--nav-h);
    padding: 0.75rem 0;
    transition: var(--transition-base);
}

#main-content { 
    min-height: 100vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ==========================================
   4. UNIFIED CARD SYSTEM (Works Everywhere)
   ========================================== */
.article-card,
.post-block-wrapper,
.premium-card-v2,
.main-article-card {
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.article-card:hover,
.post-block-wrapper:hover,
.main-article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* ==========================================
   5. IMAGE CONTAINERS (16:9 STANDARD)
   ========================================== */
.article-img-wrapper,
.article-thumb-wrapper,
.post-thumbnail,
.card-img-wrapper,
.image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--border-lighter);
}

/* Images inside containers */
.article-img-wrapper img,
.article-thumb-wrapper img,
.post-thumbnail img,
.card-img-wrapper img,
.image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover .article-img-wrapper img,
.article-card:hover .post-thumbnail img,
.post-block-wrapper:hover img {
    transform: scale(1.08);
}

/* ==========================================
   6. CARD CONTENT AREAS
   ========================================== */
.article-body,
.card-body-pro,
.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-title,
.post-title,
.card-title-pro {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    min-height: 2.8rem;
}

.article-title a,
.post-title a,
.card-title-pro a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.article-title a:hover,
.post-title a:hover {
    color: var(--primary);
}

.article-excerpt,
.post-excerpt {
    font-size: 0.9375rem;
    color: var(--slate-lighter);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.article-date,
.post-meta,
.posted-time {
    font-size: 0.8125rem;
    color: var(--slate-lighter);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================
   7. CATEGORY & TAG BADGES (UNIFIED)
   ========================================== */
.cat-badge,
.tag-badge,
.v-badge,
.post-category,
.category-label,
.floating-badge,
.floating-cat-badge {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(37, 99, 235, 0.15);
    letter-spacing: 0.5px;
}

/* Tag links */
.tag-link,
.internal-link-tag,
.widget-tags a,
.post-tags a { 
    display: inline-block;
    background: var(--border-lighter);
    color: var(--slate);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    margin: 0.25rem;
    border: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.tag-link:hover,
.widget-tags a:hover,
.post-tags a:hover { 
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================
   8. SWIPER CAROUSEL SYSTEM (UNIFIED FOR ALL PAGES)
   ========================================== */

/* Base Swiper Container */
.swiper {
    overflow: visible !important;
    padding-bottom: 2rem;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.swiper-slide > * {
    width: 100%;
}

/* Global Swiper Heights */
.recent-swiper,
.trending-swiper,
.blog-swiper,
.editor-swiper,
.lifestyle-swiper {
    min-height: 420px;
    overflow: visible !important;
    padding-bottom: 3rem;
}

/* Navigation Arrows (Universal) */
.swiper-button-next,
.swiper-button-prev,
.recent-next,
.recent-prev,
.trending-next,
.trending-prev,
.blog-next,
.blog-prev,
.editor-next,
.editor-prev,
.lifestyle-next,
.lifestyle-prev,
.btn-nav-custom,
.nav-arrow {
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #0f172a;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


.swiper-button-next:hover,
.swiper-button-prev:hover,
.nav-arrow:hover,
.btn-nav-custom:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* Pagination Bullets */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ==========================================
   9. HOMEPAGE SECTION 1: RECENT SERVICE GUIDES
   ========================================== */
.recent-guides {
    background: white;
    padding: 4rem 0;
}

.service-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--border-lighter);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .card-img {
    transform: scale(1.1) rotate(1deg);
}

.floating-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(37, 99, 235, 0.95);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--slate-lighter);
    font-weight: 600;
}

.author-avatar {
    border-radius: 50%;
    border: 2px solid var(--border-light);
}

.card-title {
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.4;
    min-height: 2.8rem;
    margin-bottom: 0.75rem;
}

.card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.card-title a:hover {
    color: var(--primary);
}

.card-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-lighter);
}

.date-badge {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 600;
}

.read-more-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s;
}

.read-more-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* ==========================================
   10. HOMEPAGE SECTION 2: MOST VIEWED (TRENDING)
   ========================================== */
.trending-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 4rem 0;
}

.trending-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trending-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.trending-img-wrapper {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #1e293b;
}

.trending-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.trending-card:hover .trending-img {
    transform: scale(1.12);
}

.trend-cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(37, 99, 235, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.trending-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.views-count-badge {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    padding: 0.625rem 1.125rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #fca5a5;
    align-self: flex-start;
}

.views-count-badge i {
    font-size: 1.125rem;
}

.trending-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.trending-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.trending-title a:hover {
    color: var(--primary);
}

.trending-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    margin-top: auto;
    border-top: 1px solid var(--border-lighter);
}

.trending-date, .trending-author {
    font-size: 0.8125rem;
    color: var(--slate-lighter);
    font-weight: 600;
}

/* ==========================================
   11. HOMEPAGE SECTION 3: FEATURED BLOG POSTS
   ========================================== */
.featured-blogs {
    background: white;
    padding: 4rem 0;
}

.blog-feature-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s;
}

.blog-feature-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-8px);
}

.blog-img-container {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--border-lighter);
}

.blog-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.blog-feature-card:hover .blog-feature-img {
    transform: scale(1.08);
}

.blog-feature-content {
    padding: 1.75rem;
}

.blog-cat-label {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.blog-feature-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0.875rem;
}

.blog-feature-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-feature-title a:hover {
    color: #8b5cf6;
}

.blog-excerpt {
    color: var(--slate-lighter);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.blog-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-lighter);
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--slate-lighter);
    font-weight: 600;
}

.blog-author-info img {
    border-radius: 50%;
    border: 2px solid var(--border-light);
}

.blog-read-time {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 600;
}

/* ==========================================
   12. SIDEBAR WIDGETS (UNIFIED FOR ALL PAGES)
   ========================================== */
.main-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget,
.side-box,
.saas-side-box,
.widget {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-lighter);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.widget-header-line {
    width: 4px;
    height: 28px;
    border-radius: 10px;
}

.widget-title,
.side-title,
.news-title {
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--dark);
    text-transform: uppercase;
    border-left: 4px solid var(--primary);
    padding-left: 0.75rem;
    margin-bottom: 1.25rem;
    display: block;
    letter-spacing: 0.5px;
}

.news-title span {
    display: inline-block;
}

.widget-content {
    /* Container for widget items */
}

.sidebar-post-item {
    display: flex;
    gap: 0.875rem;
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid var(--border-lighter);
    transition: all 0.3s;
    text-decoration: none;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-post-item:hover {
    transform: translateX(5px);
}

.sidebar-post-thumb {
    position: relative;
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--border-lighter);
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.sidebar-post-item:hover .sidebar-post-thumb img {
    transform: scale(1.1);
}

.post-number {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(37, 99, 235, 0.95);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.sidebar-post-details {
    flex-grow: 1;
}

.sidebar-post-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.375rem;
}

.sidebar-post-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-post-title a:hover {
    color: var(--primary);
}

.sidebar-post-meta {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

.category-chip {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-chip:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.cat-count {
    margin-left: auto;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.newsletter-content {
    text-align: center;
}

.newsletter-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.newsletter-title {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.newsletter-text {
    font-size: 0.875rem;
    opacity: 0.95;
    margin-bottom: 1.25rem;
}

.newsletter-input,
.newsletter-form-sidebar input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
}

.newsletter-btn,
.newsletter-form-sidebar button {
    width: 100%;
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover,
.newsletter-form-sidebar button:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.newsletter-trust {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Sidebar News Items */
.news-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-lighter);
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-item:hover {
    transform: translateX(5px);
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.news-cap {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.news-item:hover .news-cap {
    color: var(--primary);
}

/* ==========================================
   13. TOP AUTHORS SECTION (FLEXBOX FIX)
   ========================================== */
.top-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-lighter);
}

.top-author img,
.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-light);
    background: var(--border-lighter);
}

.top-author .info,
.author-info {
    flex-grow: 1;
}

.top-author .info h4,
.top-author .info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.top-author .info li,
.author-stats {
    font-size: 0.8125rem;
    color: var(--slate-lighter);
    list-style: none;
    padding: 0;
}

/* ==========================================
   14. SOCIAL ICONS (UNIFIED)
   ========================================== */
.footer-social,
.social-widget,
.stay-in-touch .social-icons {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social a,
.social-widget a,
.stay-in-touch .social-icons a,
.social-btn-pro {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover,
.social-widget a:hover,
.stay-in-touch .social-icons a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
    border-color: var(--primary);
}

/* ==========================================
   15. ARTICLE SINGLE PAGE
   ========================================== */
.main-card,
.single-block-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-lighter);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #334155;
}

.entry-content h2 {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--dark);
    margin-top: 2.5rem;
    border-left: 5px solid var(--primary);
    padding-left: 1.125rem;
    margin-bottom: 1rem;
}

.entry-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 2rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin: 2rem 0;
}

/* Breadcrumb */
.bc-nav,
.breadcrumb {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--slate-lighter);
    background: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.bc-nav a,
.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.bc-sep {
    margin: 0 0.5rem;
}

/* Reading progress bar */
.p-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: var(--primary);
    z-index: 10002;
    transition: width 0.1s ease;
}

/* Share sidebar */
.share-sidebar {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
}

.share-btn {
    width: 42px;
    height: 42px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    cursor: pointer;
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Table of Contents */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-lighter);
    padding-bottom: 0.625rem;
}

.toc-link {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 800;
    transition: var(--transition-fast);
    display: block;
    line-height: 1.4;
}

.toc-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* ==========================================
   16. PAGINATION (UNIFIED)
   ========================================== */
.pagination-wrapper,
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pagination-wrapper .page-link,
.pagination .page-item a,
.page-link {
    border-radius: 10px;
    border: none;
    background: var(--bg-white);
    color: var(--dark);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    padding: 0.625rem 1rem;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}

.pagination-wrapper .page-link:hover,
.pagination .page-item a:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

.pagination-wrapper .page-item.active .page-link,
.pagination .page-item.active > a {
    background: var(--primary);
    color: white;
}

/* ==========================================
   17. POST META & AUTHOR INFO
   ========================================== */
.post-author {
    color: var(--slate-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.post-author a {
    color: var(--slate-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.post-author a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.post-author img {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border-light);
    background-color: var(--border-lighter);
}

/* Author card premium */
.author-card-premium {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.author-img-container {
    position: relative;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border-radius: 50%;
    border: 3px solid white;
}

/* ==========================================
   18. FOOTER
   ========================================== */
.footer-main {
    background: var(--dark);
    color: #94a3b8;
    padding: 5rem 0 2.5rem;
    font-family: 'Inter', sans-serif;
    border-top: 4px solid var(--primary);
}

.footer-title {
    color: white;
    font-weight: 800;
    margin-bottom: 1.875rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition-base);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.footer-links a i {
    font-size: 0.6875rem;
    margin-right: 0.625rem;
    color: var(--primary);
    opacity: 0.8;
}

.footer-links a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-about-text,
.footer p {
    color: #cbd5e1;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3.75rem;
    padding-top: 1.875rem;
    font-size: 0.875rem;
    color: #64748b;
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.trust-tag {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ==========================================
   19. NAVIGATION & HEADER
   ========================================== */
.nav-link {
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.95);
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #60a5fa;
    transform: translateY(-1px);
}

.nav-item.active .nav-link {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    color: #334155;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: #f0f7ff;
    color: var(--primary);
    transform: translateX(8px);
}

/* Ticker */
.ticker-label {
    background: white;
    color: var(--primary);
    padding: 0.125rem 0.75rem;
    font-weight: 850;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.ticker-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.time-box,
#current-time {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Force hide old elements */
.breaking-news,
.ticker-wrapper,
.trending-ticker,
#live-clock:not(.time-box),
.top-bar-clock,
.breaking-title {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* ==========================================
   20. UTILITY CLASSES
   ========================================== */
.py-30 {
    padding-top: 1.875rem;
    padding-bottom: 1.875rem;
}

.py-40 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-50 {
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
}

.gap-60 {
    margin-top: 3.75rem;
    margin-bottom: 3.75rem;
}

.section-padding {
    padding: 4.375rem 0;
}

.fw-black {
    font-weight: 900;
}

.fw-extrabold {
    font-weight: 800;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

/* ==========================================
   21. RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1300px) {
    .share-sidebar {
        left: 5px;
        scale: 0.9;
    }
}

@media (max-width: 1200px) {
    .share-sidebar {
        display: none;
    }
}

@media (max-width: 991px) {
    .main-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .top-author {
        flex-direction: row;
        align-items: center;
    }
    
    .top-author img {
        width: 45px;
        height: 45px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        min-height: 100px;
    }
    
    .top-bar {
        min-height: 36px;
    }
    
    .navbar-brand img {
        width: 140px;
        height: auto;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    h1, .h1 {
        font-size: 1.5rem;
    }
    
    .article-card,
    .post-block-wrapper {
        min-height: 350px;
    }
    
    .article-title,
    .post-title {
        font-size: 1rem;
        min-height: auto;
    }
    
    .article-excerpt {
        font-size: 0.875rem;
    }
    
    .post-author {
        font-size: 0.875rem;
    }
    
    .post-author img {
        width: 28px;
        height: 28px;
    }
    
    .news-img {
        width: 60px;
        height: 60px;
    }
    
    .section-padding {
        padding: 2.5rem 0;
    }
    
    .footer-main {
        padding: 3.125rem 0 1.875rem;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 0.625rem;
    }
    
    .recent-guides,
    .trending-section,
    .featured-blogs {
        padding: 2.5rem 0;
    }
    
    .recent-swiper,
    .trending-swiper,
    .blog-swiper,
    .editor-swiper,
    .lifestyle-swiper {
        min-height: 380px;
        padding-bottom: 2rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .entry-content {
        font-size: 1rem;
    }
    
    .container {
        padding-right: 12px;
        padding-left: 12px;
    }
}

/* ==========================================
   22. ACCESSIBILITY & PERFORMANCE
   ========================================== */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    content-visibility: auto;
}
<style>







/* ==================== SERVICE SPOTLIGHT (SECTION 4) ==================== */
.service-spotlight-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.4s;
    height: 100%;
}

.service-spotlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.spotlight-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.spotlight-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.spotlight-title {
    font-size: 1.375rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
}

.spotlight-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.spotlight-featured {
    margin-bottom: 1.25rem;
}

.spotlight-featured-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 0.875rem;
    background: #f1f5f9;
}

.spotlight-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.service-spotlight-card:hover .spotlight-featured-img img {
    transform: scale(1.08);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}

.featured-label {
    background: rgba(255,255,255,0.95);
    color: #0f172a;
    padding: 0.375rem 0.875rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.spotlight-featured-title {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0.625rem;
}

.spotlight-featured-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s;
}

.spotlight-featured-title a:hover {
    color: #2563eb;
}

.spotlight-featured-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 600;
}

.meta-author i, .meta-date i {
    margin-right: 0.375rem;
}

.spotlight-sub-list {
    padding-top: 0.875rem;
    margin-top: 0.875rem;
    border-top: 2px solid #f1f5f9;
}

.spotlight-sub-item {
    display: flex;
    gap: 0.875rem;
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.spotlight-sub-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.spotlight-sub-item:hover {
    transform: translateX(5px);
}

.sub-item-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
}

.sub-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.sub-item-thumb:hover .sub-item-thumb img {
    transform: scale(1.1);
}

.sub-item-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.375rem;
}

.sub-item-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s;
}

.sub-item-title a:hover {
    color: #2563eb;
}

.sub-item-meta {
    display: flex;
    gap: 0.875rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.spotlight-footer {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid #f1f5f9;
}

.view-all-link {
    color: #2563eb;
    font-weight: 800;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.view-all-link:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

/* ==================== EXPLORE CARDS (SECTION 5) ==================== */
.explore-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

.explore-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.explore-icon-wrapper {
    flex-shrink: 0;
}

.explore-icon {
    width: 55px;
    height: 55px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.explore-title {
    font-size: 1.125rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.explore-count {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

.explore-featured-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #f1f5f9;
}

.explore-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.explore-card:hover .explore-featured-img img {
    transform: scale(1.1);
}

.explore-content {
    flex-grow: 1;
}

.explore-main-title {
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0.625rem;
}

.explore-main-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s;
}

.explore-main-title a:hover {
    color: #2563eb;
}

.explore-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.explore-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.explore-list-item {
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.explore-list-item:hover {
    color: #2563eb;
    transform: translateX(5px);
}

.explore-list-item i {
    color: #2563eb;
    font-size: 0.875rem;
}

.explore-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid #f1f5f9;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s;
}

.explore-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* ==================== AD SPACES ==================== */
.ad-space-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 1.5rem;
    min-height: 100px;
    border: 2px dashed #cbd5e1;
    position: relative;
    overflow: hidden;
}

.ad-space-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ad-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.ad-content {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-ad {
    min-height: 300px;
}

/* ==================== RESPONSIVE ==================== */

    
    
    
    .service-spotlight-card,
    .explore-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .search-form-hero .input-group {
        flex-direction: column;
        max-width: 100%;
    }
    
    .search-form-hero input,
    .search-form-hero button {
        border-radius: 10px !important;
        width: 100%;
    }
    
    .search-form-hero button {
        margin-top: 0.5rem;
    }
    
    .quick-links {
        text-align: center;
    }
    
    
}


/* ==================== PERFORMANCE ==================== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    content-visibility: auto;
}
</style>

/* ==========================================
   23. PRINT STYLES
   ========================================== */
@media print {
    .navbar,
    .footer-main,
    .share-sidebar,
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    .article-card,
    .post-block-wrapper {
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}


/* ============================================
   END OF LOCALBIZZ COMPLETE CSS
   All-in-One Solution - Ready to Deploy
   ============================================ */

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg width=60 height=60 xmlns=http://www.w3.org/2000/svg%3E%3Cpath d=M30 0L60 30L30 60L0 30z fill=%23fff/%3E%3C/svg%3E');
    background-size: 60px 60px;
}
.hero-container { position: relative; z-index: 2; }
.trust-badge-wrapper { 
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap; 
    margin-bottom: 1.5rem; 
}
.trust-badge, .rating-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.rating-badge { 
    background: rgba(251, 191, 36, 0.15); 
    color: #fbbf24; 
    border-color: rgba(251, 191, 36, 0.3); 
}
.hero-h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-description {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
}
.search-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.search-icon {
    padding: 0 1rem;
    color: #64748b;
    font-size: 1.25rem;
}
.search-input {
    flex: 1;
    border: none;
    padding: 1rem 0;
    font-size: 1rem;
    outline: none;
}
.search-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
}
.search-btn:hover { background: #1d4ed8; }
.quick-categories { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.75rem; 
    align-items: center; 
}
.quick-label { 
    color: rgba(255,255,255,0.6); 
    font-size: 0.875rem; 
}
.category-pill {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}
.category-pill:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: white;
}
.stats-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    padding: 5rem 0;
    background: white;
}
.about-content-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.section-heading {
    margin-bottom: 2.5rem;
}
.heading-badge {
    display: block;
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.heading-title {
    display: block;
    color: #0f172a;
    font-size: 2.25rem;
    font-weight: 900;
}
.lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 1.5rem;
}
.internal-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.3);
    transition: all 0.2s;
}
.internal-link:hover {
    color: #1d4ed8;
    text-decoration-color: #1d4ed8;
}
.value-props-grid {
    display: grid;
    gap: 1.25rem;
    margin: 1.5rem 0;
}
.value-prop-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.prop-icon {
    color: #10b981;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ==========================================
   SECTION 1: RECENT GUIDES (STYLE 1)
   ========================================== */
.section-recent-guides {
    padding: 5rem 0;
    background: #f8fafc;
}
.section-header-style-1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.header-left {}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.badge-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}
.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: #64748b;
    font-size: 1rem;
}
.view-all-link-style-1 {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}
.view-all-link-style-1:hover {
    gap: 0.75rem;
    color: #1d4ed8;
}
.card-style-1 {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-style-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    border-color: #2563eb;
}
.card-image-style-1 {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f1f5f9;
}
.card-image-style-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.card-style-1:hover .card-image-style-1 img {
    transform: scale(1.1);
}
.category-badge-style-1 {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(37, 99, 235, 0.95);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}
.card-content-style-1 {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-title-style-1 {
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.4;
    min-height: 2.8rem;
    margin-bottom: 1rem;
}
.card-title-style-1 a {
    color: #0f172a;
    text-decoration: none;
}
.card-title-style-1 a:hover {
    color: #2563eb;
}
.card-footer-style-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}
.date-style-1 {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 600;
}
.read-btn-style-1 {
    color: #2563eb;
    font-weight: 800;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s;
}
.read-btn-style-1:hover {
    gap: 0.5rem;
}

/* ==========================================
   AD CONTAINER (ADSENSE/EZOIC)
   ========================================== */
.ad-container-wrapper {
    padding: 3rem 0;
    background: white;
}
.ad-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.ad-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
.ad-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}
.ad-content {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-horizontal {
    min-height: 100px;
}

/* ==========================================
   SECTION 2: MOST VIEWED (STYLE 2)
   ========================================== */
.section-most-viewed {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.section-header-style-2 {
    text-align: center;
    margin-bottom: 3rem;
}
.badge-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
}
.card-style-2 {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s;
}
.card-style-2:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.card-featured {
    border: 2px solid #2563eb;
}
.card-image-style-2 {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #1e293b;
}
.card-image-style-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}
.card-style-2:hover .card-image-style-2 img {
    transform: scale(1.12);
}
.card-overlay-style-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}
.category-badge-style-2 {
    background: rgba(37, 99, 235, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}
.views-badge-style-2 {
    background: rgba(255, 255, 255, 0.95);
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.card-content-style-2 {
    padding: 1.75rem;
}
.card-title-style-2 {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.card-title-style-2 a {
    color: #0f172a;
    text-decoration: none;
}
.card-title-style-2 a:hover {
    color: #2563eb;
}
.card-meta-style-2 {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 600;
}

/* ==========================================
   SECTION 3: HOME SERVICES (STYLE 3)
   ========================================== */
.section-home-services {
    padding: 5rem 0;
    background: white;
}
.section-header-style-3 {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.header-icon-style-3 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}
.header-text-style-3 {
    flex-grow: 1;
}
.badge-green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    border: 1px solid #6ee7b7;
}
.btn-primary-style-3 {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-primary-style-3:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    color: white;
}
.card-style-3 {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
    height: 100%;
}
.card-style-3:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.card-image-style-3 {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f1f5f9;
}
.card-image-style-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.card-style-3:hover .card-image-style-3 img {
    transform: scale(1.08);
}
.category-badge-style-3 {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(16, 185, 129, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.card-content-style-3 {
    padding: 1.5rem;
}
.card-title-style-3 {
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.card-title-style-3 a {
    color: #0f172a;
    text-decoration: none;
}
.card-title-style-3 a:hover {
    color: #10b981;
}
.card-stats-style-3 {
    display: flex;
    gap: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
.stat-item-style-3 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
}
.stat-item-style-3 i {
    color: #2563eb;
}

/* ==========================================
   SECTION 4: HVAC SERVICES (STYLE 4)
   ========================================== */
.section-hvac-services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}
.section-header-style-4 {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}
.icon-wrapper-style-4 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}
.text-wrapper-style-4 {
    flex-grow: 1;
}
.badge-orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #9a3412;
    border: 1px solid #fb923c;
}
.cards-grid-style-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.card-style-4 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card-style-4:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.card-image-style-4 {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #f1f5f9;
}
.card-image-style-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.card-style-4:hover .card-image-style-4 img {
    transform: scale(1.1) rotate(1deg);
}
.trending-badge-style-4 {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}
.card-content-style-4 {
    padding: 2rem;
}
.category-text-style-4 {
    display: inline-block;
    color: #f97316;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}
.card-title-style-4 {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.card-title-style-4 a {
    color: #0f172a;
    text-decoration: none;
}
.card-title-style-4 a:hover {
    color: #f97316;
}
.card-excerpt-style-4 {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.card-footer-style-4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
.author-info-style-4 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
}
.author-info-style-4 img {
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}
.read-more-style-4 {
    color: #f97316;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.3s;
}
.read-more-style-4:hover {
    gap: 0.625rem;
}
.section-footer-style-4 {
    text-align: center;
}
.btn-view-all-style-4 {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
}
.btn-view-all-style-4:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.4);
    color: white;
}

/* ==========================================
   SECTION 5: ROOFING SERVICES (STYLE 5)
   ========================================== */
.section-roofing-services {
    padding: 5rem 0;
    background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
}
.section-header-style-5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}
.badge-title-wrapper-style-5 {
    flex-grow: 1;
}
.badge-purple {
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
    color: #7c3aed;
    border: 1px solid #c084fc;
}
.stats-wrapper-style-5 {
    display: flex;
    gap: 2rem;
}
.stat-box-style-5 {
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    border: 1px solid #e9d5ff;
    text-align: center;
}
.stat-box-style-5 .stat-number {
    color: #7c3aed;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.375rem;
}
.stat-box-style-5 .stat-label {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
}
.card-style-5 {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e9d5ff;
    transition: all 0.4s;
    height: 100%;
}
.card-style-5:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.15);
    border-color: #7c3aed;
}
.card-header-style-5 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}
.category-badge-style-5 {
    background: rgba(124, 58, 237, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
}
.views-count-style-5 {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.card-image-style-5 {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
}
.card-image-style-5 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.card-style-5:hover .card-image-style-5 img {
    transform: scale(1.1);
}
.card-content-style-5 {
    padding: 1.75rem;
}
.card-title-style-5 {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.card-title-style-5 a {
    color: #0f172a;
    text-decoration: none;
}
.card-title-style-5 a:hover {
    color: #7c3aed;
}
.card-meta-style-5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
}
.separator-style-5 {
    color: #cbd5e1;
}
.btn-read-style-5 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-read-style-5:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    color: white;
}

/* ==========================================
   SECTION 6: PROPERTY SERVICES (STYLE 6)
   ========================================== */
.section-property-services {
    padding: 5rem 0;
    background: white;
}
.section-header-style-6 {
    margin-bottom: 3rem;
}
.badge-teal {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: #0f766e;
    border: 1px solid #5eead4;
}
.btn-outline-style-6 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #14b8a6;
    color: #0f766e;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-outline-style-6:hover {
    background: #14b8a6;
    color: white;
    transform: translateY(-2px);
}
.masonry-grid-style-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.masonry-large {
    grid-column: span 2;
}
.card-style-6 {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s;
    height: 100%;
}
.card-style-6:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #14b8a6;
}
.card-image-style-6 {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #f1f5f9;
}
.card-image-style-6 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.card-style-6:hover .card-image-style-6 img {
    transform: scale(1.08);
}
.image-overlay-style-6 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.category-pill-style-6 {
    background: rgba(20, 184, 166, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
}
.card-content-style-6 {
    padding: 1.75rem;
}
.card-title-style-6 {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}
.card-title-style-6 a {
    color: #0f172a;
    text-decoration: none;
}
.card-title-style-6 a:hover {
    color: #14b8a6;
}
.card-excerpt-style-6 {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.card-footer-style-6 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
.meta-group-style-6 {
    display: flex;
    gap: 1rem;
}
.meta-item-style-6 {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.meta-item-style-6 i {
    color: #14b8a6;
}
.arrow-link-style-6 {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.arrow-link-style-6:hover {
    transform: scale(1.1);
    color: white;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    padding: 5rem 0;
    background: #f8fafc;
}
.faq-accordion {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
}
.faq-item {
    border-bottom: 1px solid #e2e8f0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    margin: 0;
}
.faq-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}
.faq-toggle:hover {
    background: #f8fafc;
}
.faq-toggle i {
    transition: transform 0.3s;
}
.faq-toggle:not(.collapsed) i {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #475569;
    line-height: 1.7;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg width=80 height=80 xmlns=http://www.w3.org/2000/svg%3E%3Cpath d=M0 0h40v40H0z fill=%23fff/%3E%3C/svg%3E');
    background-size: 80px 80px;
}
.cta-title {
    color: white;
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
.cta-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #0f172a;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(255,255,255,0.2);
    transition: all 0.3s;
}
.cta-btn:hover {
    transform: scale(1.05);
    color: #0f172a;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 991px) {
    .masonry-large {
        grid-column: span 1;
    }
    .section-header-style-3,
    .section-header-style-4,
    .section-header-style-5 {
        flex-direction: column;
        align-items: flex-start;
    }
    .stats-wrapper-style-5 {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .stats-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .search-wrapper {
        flex-direction: column;
    }
    .search-btn {
        width: 100%;
    }
    .section-header-style-1,
    .section-header-style-6 {
        flex-direction: column;
        align-items: flex-start;
    }
    .cards-grid-style-4 {
        grid-template-columns: 1fr;
    }
    .masonry-grid-style-6 {
        grid-template-columns: 1fr;
    }
    .hero-h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    
}

/* ==========================================
   PERFORMANCE OPTIMIZATIONS
   ========================================== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    content-visibility: auto;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}