/*
Theme Name: Velkie Pro Max
Theme URI: https://velkieagentlist.com/
Description: GeneratePress-inspired Clean Semantic HTML5, Logical Heading Hierarchy, Lightweight & Fast Codebase, Built-in Schema Markup Support, Plain URL Menu, Dedicated FAQ & Official Guide SEO Pages, Premium Responsive Blog & Single Post Design. 100/100 Lighthouse Performance, Accessibility, Best Practices, SEO & Agentic Browsing.
Author: Mash Malik
Version: 6.0.0
Text Domain: velkie-pro-max
Requires at least: 6.0
Requires PHP: 7.4
*/

/* =========================================================
   1. GLOBAL RESET & TYPOGRAPHY
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { 
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body { 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background-color: #fdb913; 
    color: #333; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: #3b5998; }
ul { list-style: none; }

/* =========================================================
   1.5 ACCESSIBILITY (A11y), UX & PERFORMANCE TWEAKS
   ========================================================= */
::-moz-selection { background: #fdb913; color: #111827; }
::selection { background: #fdb913; color: #111827; }

/* Focus outlines for 100/100 Lighthouse Accessibility Score */
a:focus-visible, input:focus-visible, button:focus-visible, details summary:focus-visible { 
    outline: 3px solid #cc0000; 
    outline-offset: 2px; 
}

/* Render performance for heavy elements below the fold */
.blog-card { content-visibility: auto; contain-intrinsic-size: 320px; }

/* Screen Reader Text & GeneratePress Skip Link for 100% ADA Compliance */
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    clip: auto !important;
    clip-path: none;
    color: #0f172a;
    display: block;
    font-size: 14px;
    font-weight: 800;
    height: auto;
    left: 12px;
    line-height: normal;
    padding: 12px 20px;
    text-decoration: none;
    top: 12px;
    width: auto;
    z-index: 100000;
}

/* =========================================================
   2. HEADER & NAVIGATION (Polished Gradient + Plain URL Menu)
   ========================================================= */
header, .site-header { 
    background: linear-gradient(135deg, #3b5998 0%, #2a406d 100%); 
    display: flex; justify-content: center; padding: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}
.header-wrapper { width: 95%; max-width: 1200px; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; flex-wrap: wrap; gap: 10px; }
.logo-container { display: flex; align-items: center; cursor: pointer; transition: transform 0.2s; text-decoration: none; }
.logo-container:hover { transform: scale(1.02); }
.logo-container img { max-height: 50px; width: auto; display: block; }
.logo-text { color: #fff; font-size: 26px; font-weight: 900; display: flex; align-items: center; font-family: 'Arial Black', sans-serif; line-height: 1.2; letter-spacing: -0.5px; }
.logo-icon { color: #fdb913; margin-right: 8px; }

nav ul, .main-navigation ul { display: flex; gap: 25px; margin: 0; padding: 0; align-items: center; }
nav li, .main-navigation li { list-style: none; margin: 0; padding: 0; }
nav a, .main-navigation a { color: #fdb913; font-weight: 700; font-size: 14px; text-transform: uppercase; transition: all 0.3s; letter-spacing: 0.5px; display: inline-block; padding: 4px 0; }
nav a:hover, nav a.active, nav li.current-menu-item > a, nav li.current_page_item > a { 
    color: #fff; 
    text-decoration: none; 
    text-shadow: 0 0 8px rgba(255,255,255,0.4); 
}

.search-container { position: relative; }
.search-container input { padding: 9px 15px; border-radius: 20px; border: none; outline: none; width: 220px; font-size: 13px; color: #0f172a; background-color: #ffffff; box-shadow: inset 0 2px 5px rgba(0,0,0,0.1); }

/* =========================================================
   3. MAIN AGENT LIST CONTAINER (Polished Edges)
   ========================================================= */
.main-container { width: 95%; max-width: 1200px; background-color: #fff; margin: 35px auto 25px auto; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.list-title { background: linear-gradient(90deg, #3b5998, #4b6cb0); color: white; text-align: center; padding: 15px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin: 0; }

/* Accessible CSS Marquee (Replaces deprecated <marquee> for 100/100 Lighthouse Accessibility) */
.marquee-bar { background-color: #4b0082; color: white; padding: 10px; font-size: 14px; white-space: nowrap; overflow: hidden; font-weight: 600; position: relative; }
.marquee-track { display: inline-block; padding-left: 100%; animation: velki-marquee 24s linear infinite; will-change: transform; }
.marquee-bar:hover .marquee-track { animation-play-state: paused; }
@keyframes velki-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; padding-left: 0; white-space: normal; display: block; text-align: center; }
}

.status-bar { background-color: #f8fafc; color: #334155; text-align: center; padding: 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid #e2e8f0; }

/* =========================================================
   4. POLISHED PREMIUM TABLE (Match Screenshot Design)
   ========================================================= */
.table-responsive { 
    overflow-x: auto; 
    min-height: 220px; 
    position: relative; 
    background: #fff;
    margin: 20px;
    border-radius: 8px;
    border: 0px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden; 
}

table { width: 100%; border-collapse: collapse; font-size: 14px; border: none; }

/* Clean Grid Header */
thead { background-color: #f8fafc; }
thead th { 
    padding: 15px 10px; 
    text-align: center; 
    border: 0px solid #e2e8f0;
    color: #334155; 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 13px; 
    letter-spacing: 0.5px; 
}

/* Grid Rows */
tbody tr { background-color: #ffffff; transition: background-color 0.3s ease; }
tbody tr.row-admin { background-color: #fff9f5; }
tbody tr:hover { background-color: #f8fafc; }

/* Grid Cells */
tbody td { 
    padding: 12px 10px; 
    text-align: center; 
    vertical-align: middle; 
    border: 1px solid #e2e8f0;
    color: #334155; 
    font-weight: 700; 
}

/* Text-Only Type Colors (Matching Screenshot + WCAG AA Contrast) */
.col-type { font-weight: 700; font-size: 13px; text-transform: uppercase; }
.type-admin { color: #dc2626; } /* Red */
.type-home { color: #111827; }  /* Black */
.type-super { color: #6d28d9; } /* Purple */
.type-master { color: #0f766e; } /* Teal */
.type-server { color: #1d4ed8; } /* Blue */

/* AGENT NAME */
.col-name { text-align: left; padding-left: 15px; font-size: 14px !important; font-weight: 500; color: #0f172a; letter-spacing: -0.2px; }
.name-admin { color: #b45309; }
.agent-sub { font-size: 9px; color: #475569; display: inline-block; }

/* WHATSAPP ICON: SQUARE WITH ROUNDED CORNERS (Match Screenshot) */
.wa-btn { 
    background-color: #25D366; 
    color: white; 
    border: none; 
    padding: 8px 12px; 
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    transition: transform 0.2s, background-color 0.2s; 
}
.wa-btn:hover { transform: translateY(-1px); background-color: #22c55e; color: #fff; }
.wa-btn i { font-size: 18px; }

a.wa-link { text-decoration: none; color: inherit; display: block; font-weight: 600; font-size: 13px; }
.col-number { color: #b45309; font-size: 15px; } /* Accessible Copper/Orange */
.col-complain { color: #b45309; text-transform: uppercase; font-size: 13px; font-weight: 800; cursor: pointer; transition: color 0.2s; }
.col-complain a.wa-link { color: #b45309; font-weight: 800; }
.col-complain:hover, .col-complain a.wa-link:hover { color: #7c2d12; }

.card-footer { background-color: #3b5998; height: 12px; }

/* =========================================================
   5. SEMANTIC FOOTER & TRUST SIGNALS
   ========================================================= */
.site-footer { background: #1e293b; color: #fff; padding: 50px 0 20px; margin-top: 40px; text-align: center; }
.footer-container { width: 95%; max-width: 1200px; margin: 0 auto; }
.footer-trust-section { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid #334155; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: bold; background: #0f172a; color: #f8fafc; padding: 10px 18px; border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.trust-badge i { color: #fdb913; }
.trust-badge-18 { color: #fca5a5; }
.dmca-badge { background: transparent; border: 1px solid #64748b; }
.footer-menu { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; margin-bottom: 25px; }
.footer-menu a { color: #cbd5e1; font-size: 15px; transition: color 0.3s; font-weight: 600; }
.footer-menu a:hover, .footer-menu li.current-menu-item > a { color: #fdb913; }

.social-icons { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; }
.social-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; transition: transform 0.2s; }
.social-icon:hover { transform: scale(1.1); color: #fff; }
.icon-fb { background-color: #1877F2; }
.icon-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.icon-wa { background-color: #25D366; }
.icon-tiktok { background-color: #000000; }
.icon-yt { background-color: #ff0000; }

.copyright p { font-size: 13px; color: #94a3b8; margin-bottom: 5px; }
.copyright span { color: #fdb913; font-weight: bold; }

/* =========================================================
   6. LOADER SPINNER
   ========================================================= */
.loader { display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; background: rgba(255,255,255,0.9); padding: 20px; border-radius: 8px; z-index: 10; }
.spinner { border: 4px solid #f1f5f9; border-top: 4px solid #3b5998; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto 10px auto; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* =========================================================
   7. DEDICATED SEO CONTENT PAGE & DYNAMIC FAQ PAGE
   ========================================================= */
.content-container { width: 95%; max-width: 1200px; margin: 30px auto; background: #fff; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-radius: 12px; border: 1px solid #e2e8f0; }
.breadcrumbs { font-size: 13px; color: #475569; margin-bottom: 25px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs a { color: #2a406d; font-weight: 700; transition: color 0.2s; }
.breadcrumbs a:hover { color: #cc0000; text-decoration: underline; }
.breadcrumbs span { color: #0f172a; font-weight: bold; }

.seo-section { margin-top: 30px; padding: 45px 40px; border-top: 5px solid #3b5998; background: #ffffff; border-radius: 12px; }
.seo-section h1 { font-size: 34px; color: #0f172a; margin-bottom: 20px; font-weight: 900; letter-spacing: -0.6px; line-height: 1.25; }
.seo-section h2 { font-size: 24px; color: #1e293b; margin: 32px 0 16px; font-weight: 800; letter-spacing: -0.4px; border-left: 4px solid #fdb913; padding-left: 12px; }
.seo-section h3 { font-size: 19px; color: #1e293b; margin: 24px 0 12px; font-weight: 800; }
.seo-section p { line-height: 1.85; color: #334155; margin-bottom: 18px; font-size: 16px; }
.seo-section ul { list-style-type: disc; margin: 0 0 20px 22px; color: #334155; line-height: 1.8; }
.seo-section li { margin-bottom: 8px; }
.seo-section a { color: #1e40af; font-weight: 700; text-decoration: underline; }

.seo-pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 28px 0; }
.seo-pillar-card { background: #f8fafc; border: 1px solid #e2e8f0; border-top: 4px solid #3b5998; border-radius: 10px; padding: 22px; transition: transform 0.2s, box-shadow 0.2s; }
.seo-pillar-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.seo-pillar-card h3 { margin-top: 0; font-size: 18px; color: #0f172a; display: flex; align-items: center; gap: 8px; }
.seo-pillar-card h3 i { color: #3b5998; }
.seo-pillar-card p { font-size: 14.5px; margin-bottom: 12px; color: #475569; line-height: 1.65; }
.seo-pillar-card a.pillar-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; color: #2a406d; text-decoration: none; }
.seo-pillar-card a.pillar-link:hover { color: #b45309; }

.internal-links-box { background: #f8fafc; border-left: 4px solid #fdb913; padding: 20px 24px; margin-top: 25px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); border-radius: 0 8px 8px 0; }
.internal-links-box h2, .internal-links-box h3, .internal-links-box h4 { color: #0f172a; margin: 0 0 12px 0; font-size: 18px; font-weight: 800; border: none; padding: 0; }
.internal-links-box ul { list-style-type: circle; margin: 0 0 0 20px; }
.internal-links-box li { margin-bottom: 8px; }

.section-heading { color: #3b5998; border-bottom: 2px solid #eee; padding-bottom: 12px; margin-bottom: 22px; font-weight: 800; font-size: 26px; }

.faq-page-header { text-align: center; max-width: 820px; margin: 0 auto 35px auto; padding-bottom: 25px; border-bottom: 2px solid #f1f5f9; }
.faq-page-header h1 { font-size: 36px; color: #0f172a; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.6px; }
.faq-page-header p { font-size: 16px; color: #475569; line-height: 1.7; }

.faq-accordion { max-width: 960px; margin: 0 auto; }
details.faq-item { margin-bottom: 15px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
details.faq-item summary { font-weight: 700; font-size: 16px; padding: 18px 20px; cursor: pointer; background: #f8fafc; color: #0f172a; list-style: none; display: flex; justify-content: space-between; align-items: center; border-radius: 8px; gap: 12px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:after { content: '\002B'; font-size: 22px; color: #c2410c; font-weight: 700; flex-shrink: 0; }
details[open].faq-item summary { border-radius: 8px 8px 0 0; background: #eff6ff; color: #1e3a8a; }
details[open].faq-item summary:after { content: '\2212'; }
details.faq-item .faq-content { padding: 20px 25px; border-top: 1px solid #e2e8f0; color: #334155; line-height: 1.75; font-size: 16px; background: #fff; border-radius: 0 0 8px 8px; }

/* =========================================================
   8. BEAUTIFUL RESPONSIVE BLOG ARCHIVE & PURE SEO SINGLE POST
   ========================================================= */
.blog-hero-banner {
    background: linear-gradient(135deg, #1e293b 0%, #3b5998 100%);
    color: #ffffff;
    padding: 38px 32px;
    border-radius: 12px;
    margin-bottom: 32px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.15);
    border-bottom: 4px solid #fdb913;
}
.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(253, 185, 19, 0.2);
    color: #fdb913;
    border: 1px solid rgba(253, 185, 19, 0.45);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}
.blog-hero-banner h1 {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.6px;
    line-height: 1.25;
}
.blog-hero-banner p {
    font-size: 16px;
    color: #e2e8f0;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 20px; }
.blog-card { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; background: #fff; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(0,0,0,0.03); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(0,0,0,0.1); }
.blog-card-thumb { position: relative; display: block; overflow: hidden; background: #1e293b; height: 220px; border-bottom: 3px solid #fdb913; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #2a406d 0%, #1e293b 100%); color: #fdb913; padding: 20px; text-align: center; }
.blog-card-fallback i { font-size: 42px; margin-bottom: 8px; }
.blog-card-fallback span { font-size: 12px; font-weight: 800; color: #e2e8f0; text-transform: uppercase; letter-spacing: 0.8px; }
.blog-card-cat { position: absolute; top: 12px; left: 12px; background: #0f172a; color: #fdb913; font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; letter-spacing: 0.5px; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }

.blog-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: #64748b; font-weight: 600; margin-bottom: 10px; flex-wrap: wrap; }
.blog-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-card-meta i { color: #3b5998; }
.blog-content h2, .blog-content h3 { font-size: 20px; margin-bottom: 12px; color: #0f172a; line-height: 1.4; font-weight: 800; letter-spacing: -0.3px; }
.blog-content h2 a, .blog-content h3 a { color: #0f172a; transition: color 0.2s; }
.blog-content h2 a:hover, .blog-content h3 a:hover { color: #3b5998; }
.blog-content p { font-size: 15px; color: #475569; margin-bottom: 20px; line-height: 1.65; flex-grow: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid #f1f5f9; margin-top: auto; }
.read-more { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: #fdb913; color: #0f172a; font-weight: 800; border-radius: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s, transform 0.2s; }
.read-more:hover { background: #eab308; color: #0f172a; transform: translateX(2px); }

.pagination-wrapper { grid-column: 1 / -1; margin-top: 35px; text-align: center; }
.nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers { display: inline-block; padding: 10px 16px; border: 1px solid #cbd5e1; border-radius: 6px; color: #1e293b; font-weight: 700; background: #fff; transition: all 0.2s; }
.page-numbers.current, .page-numbers:hover { background: #3b5998; color: #fff; border-color: #3b5998; }

/* Single Post Pure SEO & Responsive Design */
.single-post-container { max-width: 920px; padding: 48px 44px; background: #ffffff; }
.single-post-header { text-align: left; margin-bottom: 32px; padding-bottom: 25px; border-bottom: 2px solid #f1f5f9; }
.single-cat-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.single-cat-badges a { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; font-size: 12px; font-weight: 800; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; letter-spacing: 0.5px; transition: all 0.2s; }
.single-cat-badges a:hover { background: #1d4ed8; color: #ffffff; }
.single-title { font-size: 38px; color: #0f172a; margin-bottom: 20px; line-height: 1.25; font-weight: 900; letter-spacing: -0.8px; }

.post-meta { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: #475569; font-weight: 600; margin-bottom: 10px; }
.post-meta span { background: #f8fafc; padding: 7px 14px; border-radius: 30px; border: 1px solid #e2e8f0; display: inline-flex; align-items: center; gap: 7px; }
.post-meta i { color: #3b5998; font-size: 14px; }
.post-meta a { color: #334155; transition: color 0.2s; font-weight: 700; }
.post-meta a:hover { color: #cc0000; }

/* Automatic SEO Table of Contents Box */
.seo-toc-box { background: #f8fafc; border: 1px solid #e2e8f0; border-left: 4px solid #3b5998; border-radius: 8px; padding: 18px 22px; margin: 0 0 30px 0; }
.seo-toc-box summary { font-weight: 800; font-size: 16px; color: #0f172a; cursor: pointer; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.seo-toc-box summary::-webkit-details-marker { display: none; }
.seo-toc-box summary:after { content: '▼'; font-size: 12px; color: #3b5998; transition: transform 0.2s; }
.seo-toc-box[open] summary:after { transform: rotate(180deg); }
.seo-toc-list { margin: 14px 0 0 20px !important; list-style-type: decimal !important; font-size: 15px; line-height: 1.7; }
.seo-toc-list li { margin-bottom: 6px !important; }
.seo-toc-list a { color: #1e40af !important; text-decoration: none !important; font-weight: 600 !important; }
.seo-toc-list a:hover { text-decoration: underline !important; color: #cc0000 !important; }

.post-body { line-height: 1.9; font-size: 18px; color: #1e293b; overflow-wrap: break-word; }
.post-body h2 { font-size: 27px; margin: 40px 0 18px; color: #0f172a; border-bottom: 3px solid #fdb913; padding-bottom: 8px; display: block; font-weight: 800; letter-spacing: -0.4px; scroll-margin-top: 24px; }
.post-body h3 { font-size: 22px; margin: 32px 0 14px; color: #1e293b; font-weight: 800; scroll-margin-top: 24px; }
.post-body h4 { font-size: 19px; margin: 24px 0 12px; color: #334155; font-weight: 700; }
.post-body p { margin-bottom: 24px; }
.post-body a { color: #1d4ed8; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: #1e3a8a; }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 25px 0; box-shadow: 0 6px 25px rgba(0,0,0,0.08); }
.post-body blockquote { border-left: 4px solid #fdb913; background: #f8fafc; padding: 22px 28px; font-style: italic; margin: 30px 0; font-size: 19px; color: #334155; border-radius: 0 8px 8px 0; }
.post-body ul, .post-body ol { margin: 0 0 25px 25px; }
.post-body li { margin-bottom: 10px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 25px 0; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid #cbd5e1; padding: 10px 12px; text-align: left; }
.post-body th { background: #f1f5f9; font-weight: 800; }

.post-thumbnail { width: 100%; max-height: 460px; object-fit: cover; margin-bottom: 32px; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); display: block; }

.post-tags-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0; padding-top: 20px; border-top: 1px dashed #e2e8f0; }
.post-tags-bar strong { font-size: 14px; color: #0f172a; margin-right: 4px; }
.post-tags-bar a { background: #f1f5f9; color: #334155; padding: 5px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: background 0.2s, color 0.2s; }
.post-tags-bar a:hover { background: #3b5998; color: #fff; }

.social-share { margin: 40px 0 35px; padding: 25px; background: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0; }
.social-share-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.social-share a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 6px; color: #fff; font-size: 14px; font-weight: 700; transition: transform 0.2s, opacity 0.2s; }
.social-share a:hover { opacity: 0.92; transform: translateY(-2px); color: #fff; }
.share-fb { background: #1877F2; }
.share-wa { background: #15803d; }
.share-tw { background: #0f172a; }

.post-navigation-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 35px 0; }
.post-nav-card { background: #f8fafc; border: 1px solid #e2e8f0; padding: 16px 20px; border-radius: 10px; transition: border-color 0.2s, box-shadow 0.2s; }
.post-nav-card:hover { border-color: #3b5998; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.post-nav-label { display: block; font-size: 12px; color: #64748b; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; letter-spacing: 0.5px; }
.post-nav-card a { font-size: 15px; font-weight: 800; color: #0f172a; line-height: 1.4; display: block; }
.post-nav-card a:hover { color: #3b5998; }

.author-box { display: flex; align-items: center; gap: 24px; background: #f8fafc; padding: 30px; border-radius: 12px; border-left: 5px solid #3b5998; margin-top: 35px; border-top: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.author-avatar img { border-radius: 50%; width: 80px; height: 80px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: block; }
.author-info .author-title { font-size: 19px; margin-bottom: 6px; color: #0f172a; font-weight: 800; }
.author-info p { font-size: 14.5px; color: #475569; line-height: 1.65; margin: 0; }

.related-posts-section { margin-top: 45px; padding-top: 35px; border-top: 2px solid #f1f5f9; }
.related-posts-section h2 { font-size: 24px; color: #0f172a; font-weight: 800; margin-bottom: 20px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

/* 404 Error Styling */
.error-404 { text-align: center; padding: 60px 20px; }
.error-404 h1 { font-size: 72px; color: #0f172a; font-weight: 900; line-height: 1; margin-bottom: 10px; }
.error-404 h2 { color: #3b5998; margin-bottom: 20px; font-size: 28px; }
.error-404 p { color: #475569; margin-bottom: 25px; font-size: 16px; }
.btn-home { display: inline-flex; align-items: center; gap: 8px; background: #3b5998; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 700; transition: background 0.2s; }
.btn-home:hover { background: #2a406d; color: #fff; }

/* =========================================================
   9. RESPONSIVE MEDIA QUERIES (Perfect Mobile Rendering)
   ========================================================= */
@media (max-width: 768px) {
    .header-wrapper { padding: 10px; }
    .logo-container { order: 1; flex: 1; }
    .search-container { order: 2; width: auto; }
    .search-container input { width: 150px; font-size: 14px; }
    nav, .main-navigation { order: 3; width: 100%; margin-top: 12px; overflow-x: auto; white-space: nowrap; padding-bottom: 5px; }
    nav ul, .main-navigation ul { justify-content: flex-start; gap: 20px; }
    
    .main-container { margin: 15px 0; width: 100%; border-radius: 0; border-left: none; border-right: none; }
    .table-responsive { margin: 0; border-radius: 0; border-left: none; border-right: none; padding: 0; }
    
    table { font-size: 9px; }
    thead th { font-size: 10px; padding: 10px 4px; letter-spacing: 0; }
    tbody td { padding: 6px 5px; }
    
    .col-type { font-size: 9px; }
    .col-name { font-size: 9px !important; padding-left: 6px; line-height: 1.2; text-align: center; }
    .col-number { font-size: 9px; }
    .col-complain { font-size: 9px; }
    
    .wa-btn { padding: 6px 8px; font-size: 9px; border-radius: 5px; }
    .wa-btn i { font-size: 9px; }
    a.wa-link { font-size: 9px; }
    
    .list-title { padding: 10px; font-weight: 600; font-size: 12px; text-transform: uppercase; }
    .status-bar { text-align: center; padding: 8px; font-size: 10px; font-weight: 600; text-transform: uppercase; }
    .marquee-bar { padding: 7px; font-size: 10px; white-space: nowrap; overflow: hidden; font-weight: 600; }

    .blog-hero-banner { padding: 26px 18px; margin-bottom: 22px; }
    .blog-hero-banner h1 { font-size: 24px; }
    .blog-hero-banner p { font-size: 14.5px; }
    .blog-grid { grid-template-columns: 1fr; gap: 20px; }

    .single-post-container { padding: 26px 16px; margin: 15px 0; width: 100%; border-radius: 0; }
    .single-title { font-size: 26px; line-height: 1.3; margin-bottom: 14px; letter-spacing: -0.4px; }
    .post-meta { gap: 8px; font-size: 12px; }
    .post-meta span { padding: 5px 10px; }
    .post-body { font-size: 16px; line-height: 1.8; }
    .post-body h2 { font-size: 22px; margin: 30px 0 14px; }
    .post-body h3 { font-size: 19px; margin: 24px 0 12px; }
    .post-body blockquote { font-size: 16.5px; padding: 16px 18px; }
    
    .content-container { padding: 25px 16px; margin: 20px 0; width: 100%; border-radius: 0; border-left: none; border-right: none; }
    .seo-section { padding: 28px 16px; }
    .seo-section h1 { font-size: 25px; }
    .faq-page-header h1 { font-size: 26px; }
    
    .footer-trust-section { flex-direction: column; align-items: center; }
    .author-box { flex-direction: column; text-align: center; padding: 24px 16px; }
    .social-share-buttons a { flex: 1 1 100%; justify-content: center; }
}
