/*
Theme Name: DigiVantageeks Blog
Theme URI: https://digivantageeks.com/blog
Author: DigiVantageeks
Author URI: https://digivantageeks.com
Description: Premium dark-themed custom WordPress blog theme matching the DigiVantageeks main website. Glassmorphism cards, orange accent branding, modern animations, fully responsive.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digivantageeks
Tags: dark, blog, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ═══════════════════════════════════════════
   RESET & BASE — Exact match from main site
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #0b0f19;
    color: #e2e8f0;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════════
   DARK THEME TOKENS (from main site dark mode)
═══════════════════════════════════════════ */
:root {
    --bg-body: #0b0f19;
    --bg-nav: rgba(15, 20, 35, 0.65);
    --bg-card: rgba(17, 24, 39, 0.6);
    --bg-card-hover: rgba(17, 24, 39, 0.85);
    --bg-input: rgba(255, 255, 255, 0.06);
    --bg-footer: rgba(11, 15, 25, 0.8);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.07);
    --border-input: rgba(255, 255, 255, 0.1);
    --border-offer: rgba(249, 115, 22, 0.15);
    --border-hover: rgba(255, 255, 255, 0.15);

    --orange: #f97316;
    --orange-dark: #ea580c;
    --orange-glow: rgba(249, 115, 22, 0.35);
    --orange-glow-soft: rgba(249, 115, 22, 0.15);
    --orange-gradient: linear-gradient(135deg, #f97316, #ea580c);

    --text-heading: #f1f5f9;
    --text-body: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --text-faint: #6b7280;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --radius-full: 60px;

    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-orange: 0 6px 24px rgba(249, 115, 22, 0.35);
    --shadow-orange-hover: 0 10px 32px rgba(249, 115, 22, 0.45);

    --transition: 0.3s ease;
    --transition-slow: 0.35s ease;
    --max-width: 1200px;
    --nav-height: 80px;
}

/* ═══════════════════════════════════════════
   NAVBAR — Exact glassmorphic pill from main site
═══════════════════════════════════════════ */
.nav-outer {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 24px;
    display: flex; justify-content: center;
}

.nav-container {
    display: flex; align-items: center; gap: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 8px 12px 8px 16px;
    max-width: 900px; width: 100%;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; flex-shrink: 0;
    text-decoration: none;
}

.nav-logo-circle {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--orange-gradient);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 14px;
    box-shadow: 0 2px 8px var(--orange-glow);
    flex-shrink: 0;
}

.nav-logo-text {
    font-weight: 700; font-size: 16px; color: var(--text-heading);
    white-space: nowrap;
}

.nav-logo-text span {
    background: var(--orange-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-divider {
    width: 1px; height: 28px; background-color: rgba(255, 255, 255, 0.1);
    margin: 0 16px; flex-shrink: 0;
}

.nav-links {
    display: flex; align-items: center; gap: 4px;
    flex-shrink: 0;
}

.nav-link {
    padding: 8px 18px; border-radius: 40px;
    font-size: 14px; font-weight: 500; color: var(--text-muted) !important;
    cursor: pointer; border: none; background: none;
    font-family: inherit; transition: all 0.25s ease;
    white-space: nowrap; text-decoration: none;
    display: inline-block;
}

.nav-link:hover { color: #fff !important; }

.nav-pill-active,
.nav-pill-active:link,
.nav-pill-active:visited {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important; font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.nav-cta {
    padding: 10px 22px; border-radius: 40px;
    background: var(--orange-gradient);
    color: #fff; font-weight: 600; font-size: 13px;
    border: none; cursor: pointer; font-family: inherit;
    box-shadow: 0 4px 14px var(--orange-glow);
    transition: all 0.3s ease; white-space: nowrap;
    line-height: 1.3; text-decoration: none;
    display: inline-flex; align-items: center;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.nav-theme-btn {
    width: 38px; height: 38px; border-radius: 50%;
    border: none; background: transparent;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: var(--orange); font-size: 18px; flex-shrink: 0;
    transition: all 0.3s; margin-left: 6px;
}

.nav-theme-btn:hover { background: rgba(249, 115, 22, 0.08); }

.nav-hamburger {
    display: none; width: 40px; height: 40px;
    border: none; background: none; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    margin-left: auto;
}

.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: #cbd5e1; border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    display: none; position: fixed;
    top: 80px; left: 16px; right: 16px;
    background: rgba(15, 20, 35, 0.95);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid var(--border-subtle);
    border-radius: 24px; padding: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    z-index: 99; flex-direction: column; gap: 4px;
    animation: slideDown 0.3s ease;
}

.mobile-menu-panel.open { display: flex; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.mobile-link {
    display: block; padding: 14px 20px; border-radius: 16px;
    font-size: 15px; font-weight: 500; color: #cbd5e1;
    text-decoration: none; cursor: pointer;
    border: none; background: none; font-family: inherit;
    text-align: left; width: 100%;
    transition: background 0.2s;
}

.mobile-link:hover { background: rgba(255, 255, 255, 0.05); }

.mobile-cta {
    margin-top: 4px; padding: 14px; border-radius: 16px;
    background: var(--orange-gradient);
    color: #fff; font-weight: 600; font-size: 15px;
    border: none; cursor: pointer; font-family: inherit;
    text-align: center; width: 100%;
    text-decoration: none; display: block;
}

/* ═══════════════════════════════════════════
   SHARED COMPONENTS — From main site
═══════════════════════════════════════════ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-spacing { padding: 80px 0; }

.accent-text {
    background: var(--orange-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    transition: all var(--transition-slow);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.section-label {
    font-size: 13px; font-weight: 600; color: var(--orange);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
    color: var(--text-heading); line-height: 1.15; margin-bottom: 16px;
}

.section-desc {
    font-size: 16px; color: var(--text-muted);
    max-width: 600px; line-height: 1.7;
}

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: var(--radius-pill);
    background: var(--orange-gradient);
    color: #fff; font-weight: 600; font-size: 16px;
    border: none; cursor: pointer; font-family: inherit;
    box-shadow: var(--shadow-orange);
    transition: all 0.3s ease; text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange-hover);
}

.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: var(--radius-pill);
    background: rgba(30, 35, 50, 0.8);
    border: 1.5px solid var(--border-input);
    color: var(--text-body); font-weight: 600; font-size: 16px;
    cursor: pointer; font-family: inherit;
    transition: all 0.3s ease; text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(40, 45, 60, 0.9);
    transform: translateY(-2px);
}

.form-input {
    width: 100%; padding: 12px 16px; border-radius: var(--radius-md);
    background: var(--bg-input); border: 1px solid var(--border-input);
    font-family: inherit; font-size: 14px; color: var(--text-body);
    backdrop-filter: blur(8px); transition: all 0.3s; outline: none;
}

.form-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow-soft); }

.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s, transform 0.7s;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.3), transparent);
}

/* ═══════════════════════════════════════════
   BLOG HERO / HOMEPAGE HEADER
═══════════════════════════════════════════ */
.dv-blog-hero {
    padding: 130px 0 60px;
    position: relative;
}

.dv-blog-hero-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.dv-blog-sidebar-intro {
    position: sticky;
    top: 120px;
}

.dv-blog-label {
    display: inline-block;
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--orange); margin-bottom: 16px;
}

.dv-blog-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800; color: var(--text-heading);
    margin-bottom: 16px; line-height: 1.2;
}

.dv-blog-description {
    font-size: 15px; color: var(--text-muted);
    line-height: 1.7; margin-bottom: 28px;
}

.dv-social-icons {
    display: flex; gap: 10px; margin-bottom: 32px;
}

.dv-social-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.2s;
}

.dv-social-icon.linkedin-icon {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.dv-social-icon.pf-icon {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.1));
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.dv-social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.28);
}

.dv-blog-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    color: var(--text-heading);
    font-size: 14px; font-weight: 600;
    transition: all var(--transition);
    background: transparent;
}

.dv-blog-cta-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 0 30px var(--orange-glow-soft);
}

.dv-blog-cta-btn .arrow { transition: transform var(--transition); }
.dv-blog-cta-btn:hover .arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════
   CATEGORY FILTER PILLS
═══════════════════════════════════════════ */
.dv-category-filters {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
}

.dv-cat-pill {
    padding: 8px 20px; font-size: 13px; font-weight: 500;
    color: var(--text-muted); background: transparent;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    cursor: pointer; transition: all var(--transition);
    white-space: nowrap; display: inline-block;
}

.dv-cat-pill:hover,
.dv-cat-pill.active {
    background: var(--orange); color: #fff;
    border-color: var(--orange);
    box-shadow: 0 0 20px var(--orange-glow);
}

/* ═══════════════════════════════════════════
   FEATURED POST CARD
═══════════════════════════════════════════ */
.dv-featured-post {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 32px;
    transition: all var(--transition-slow);
}

.dv-featured-post:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.dv-featured-img {
    position: relative; overflow: hidden; min-height: 280px;
}

.dv-featured-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dv-featured-post:hover .dv-featured-img img { transform: scale(1.05); }

.dv-featured-content {
    padding: 36px; display: flex; flex-direction: column; justify-content: center;
}

.dv-post-category {
    display: inline-block; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--orange); margin-bottom: 12px;
}

.dv-post-category a { color: var(--orange); }
.dv-post-category a:hover { text-decoration: underline; }

.dv-featured-content h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 700; color: var(--text-heading);
    margin-bottom: 12px; line-height: 1.35;
}

.dv-featured-content h2 a:hover { color: var(--orange); }

.dv-post-excerpt {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.7; margin-bottom: 20px;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}

.dv-post-meta {
    display: flex; align-items: center; gap: 16px;
    font-size: 13px; color: var(--text-dim); margin-bottom: 20px;
}

.dv-post-meta svg { width: 14px; height: 14px; opacity: 0.6; }

.dv-post-meta span {
    display: flex; align-items: center; gap: 5px;
}

.dv-read-more {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: var(--orange);
    transition: all var(--transition);
}

.dv-read-more:hover { gap: 12px; }

.dv-read-more svg {
    width: 16px; height: 16px;
    transition: transform var(--transition);
}

.dv-read-more:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════════════
   BLOG CARDS GRID
═══════════════════════════════════════════ */
.dv-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-bottom: 48px;
}

.dv-post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--transition-slow);
    animation: fadeInUp 0.5s ease forwards;
}

.dv-post-card:nth-child(2) { animation-delay: 0.1s; }
.dv-post-card:nth-child(3) { animation-delay: 0.2s; }
.dv-post-card:nth-child(4) { animation-delay: 0.3s; }
.dv-post-card:nth-child(5) { animation-delay: 0.4s; }
.dv-post-card:nth-child(6) { animation-delay: 0.5s; }

.dv-post-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-5px);
}

.dv-card-img {
    position: relative; overflow: hidden; height: 200px;
}

.dv-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dv-post-card:hover .dv-card-img img { transform: scale(1.08); }

.dv-card-category {
    position: absolute; top: 14px; left: 14px;
    padding: 4px 12px;
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--orange);
}

.dv-card-category a { color: var(--orange); }

.dv-card-body { padding: 24px; }

.dv-card-body h3 {
    font-size: 1.05rem; font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.dv-card-body h3 a:hover { color: var(--orange); }

.dv-card-excerpt {
    font-size: 13px; color: var(--text-muted);
    line-height: 1.65; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.dv-card-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-card);
}

.dv-card-meta {
    display: flex; align-items: center; gap: 12px;
    font-size: 12px; color: var(--text-dim);
}

.dv-card-meta span {
    display: flex; align-items: center; gap: 4px;
}

/* ═══════════════════════════════════════════
   VIEW ALL / PAGINATION
═══════════════════════════════════════════ */
.dv-view-all-wrap {
    text-align: center; margin: 32px 0 80px;
}

.dv-view-all-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    color: var(--text-heading);
    font-size: 14px; font-weight: 600;
    transition: all var(--transition);
    background: transparent;
}

.dv-view-all-btn:hover {
    border-color: var(--orange); color: var(--orange);
    box-shadow: 0 0 30px var(--orange-glow-soft);
}

.dv-pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin: 48px 0 80px;
}

.dv-pagination a,
.dv-pagination span {
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 14px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md); font-size: 14px; font-weight: 500;
    color: var(--text-muted); transition: all var(--transition);
}

.dv-pagination a:hover {
    border-color: var(--orange); color: var(--orange);
}

.dv-pagination .current {
    background: var(--orange); border-color: var(--orange); color: #fff;
}

/* ═══════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════ */
.dv-single-hero {
    padding: 120px 0 40px; text-align: center;
}

.dv-single-hero .dv-post-category { margin-bottom: 20px; }

.dv-single-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800; color: var(--text-heading);
    max-width: 800px; margin: 0 auto 20px; line-height: 1.25;
}

.dv-single-meta {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; font-size: 14px; color: var(--text-dim); margin-bottom: 40px;
}

.dv-single-meta span {
    display: flex; align-items: center; gap: 6px;
}

.dv-single-featured-img {
    max-width: 900px; margin: 0 auto 48px;
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border-card);
}

.dv-single-featured-img img { width: 100%; height: auto; display: block; }

/* Single Post Content */
.dv-single-content {
    max-width: 760px; margin: 0 auto; padding-bottom: 60px;
}

.dv-single-content h2 { font-size: 1.75rem; margin: 40px 0 16px; color: var(--text-heading); }
.dv-single-content h3 { font-size: 1.375rem; margin: 32px 0 12px; color: var(--text-heading); }
.dv-single-content h4 { font-size: 1.125rem; margin: 24px 0 10px; color: var(--text-heading); }

.dv-single-content p {
    margin-bottom: 20px; font-size: 16px;
    line-height: 1.85; color: var(--text-muted);
}

.dv-single-content a {
    color: var(--orange); text-decoration: underline;
    text-underline-offset: 3px;
}

.dv-single-content a:hover { color: var(--orange-dark); }

.dv-single-content ul,
.dv-single-content ol { margin: 16px 0 24px 24px; }
.dv-single-content ul { list-style: disc; }
.dv-single-content ol { list-style: decimal; }

.dv-single-content li {
    margin-bottom: 8px; color: var(--text-muted);
    font-size: 16px; line-height: 1.75;
}

.dv-single-content blockquote {
    margin: 28px 0; padding: 24px 28px;
    border-left: 4px solid var(--orange);
    background: var(--bg-card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.dv-single-content blockquote p {
    font-size: 17px; font-style: italic;
    color: var(--text-body); margin-bottom: 0;
}

.dv-single-content img { border-radius: var(--radius-md); margin: 24px 0; }

.dv-single-content pre {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-md); padding: 20px 24px;
    overflow-x: auto; margin: 24px 0;
    font-size: 14px; line-height: 1.6;
}

.dv-single-content code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: rgba(249, 115, 22, 0.1);
    padding: 2px 6px; border-radius: 4px;
    font-size: 0.9em; color: var(--orange);
}

.dv-single-content pre code {
    background: none; padding: 0; color: var(--text-body);
}

.dv-single-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }

.dv-single-content th,
.dv-single-content td {
    padding: 12px 16px; text-align: left;
    border: 1px solid var(--border-card); font-size: 14px;
}

.dv-single-content th {
    background: var(--bg-card); color: var(--text-heading); font-weight: 600;
}

.dv-single-content td { color: var(--text-muted); }

/* Post Tags */
.dv-post-tags {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px;
    padding-top: 28px; border-top: 1px solid var(--border-card);
}

.dv-post-tags a {
    padding: 6px 16px; background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    font-size: 12px; font-weight: 500;
    color: var(--text-muted); transition: all var(--transition);
    text-decoration: none;
}

.dv-post-tags a:hover {
    border-color: var(--orange); color: var(--orange);
}

/* Post Navigation */
.dv-post-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin: 48px auto; max-width: 760px;
}

.dv-post-nav-item {
    padding: 24px; background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    transition: all var(--transition); display: block;
}

.dv-post-nav-item:hover {
    border-color: var(--border-hover); transform: translateY(-2px);
}

.dv-post-nav-item .label {
    font-size: 12px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}

.dv-post-nav-item .title {
    font-size: 15px; font-weight: 600;
    color: var(--text-heading); line-height: 1.4;
}

.dv-post-nav-item.next { text-align: right; }

/* Related Posts */
.dv-related-posts {
    padding: 60px 0 80px; border-top: 1px solid var(--border-card);
}

.dv-related-posts h2 { text-align: center; margin-bottom: 40px; }

/* ═══════════════════════════════════════════
   ARCHIVE & SEARCH HEADERS
═══════════════════════════════════════════ */
.dv-archive-header,
.dv-search-results-header {
    padding: 120px 0 40px; text-align: center;
}

.dv-archive-header h1,
.dv-search-results-header h1 { margin-bottom: 12px; }

.dv-archive-header h1 span,
.dv-search-results-header h1 span { color: var(--orange); }

.dv-archive-header p,
.dv-search-results-header p { max-width: 600px; margin: 0 auto; font-size: 16px; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════ */
.dv-404 { padding: 160px 0; text-align: center; }

.dv-404-number {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900; color: var(--orange);
    line-height: 1; margin-bottom: 16px; opacity: 0.8;
}

.dv-404 h1 { margin-bottom: 16px; }
.dv-404 p { max-width: 500px; margin: 0 auto 32px; font-size: 16px; color: var(--text-muted); }

.dv-404 .dv-view-all-btn {
    background: var(--orange); border-color: var(--orange); color: #fff;
}

.dv-404 .dv-view-all-btn:hover {
    background: var(--orange-dark); border-color: var(--orange-dark);
}

/* ═══════════════════════════════════════════
   COMMENTS
═══════════════════════════════════════════ */
.dv-comments-section { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; }
.dv-comments-section h2 { margin-bottom: 32px; }

.dv-comment {
    padding: 24px; background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg); margin-bottom: 16px;
}

.dv-comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.dv-comment-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.dv-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }

.dv-comment-author { font-weight: 600; color: var(--text-heading); font-size: 14px; }
.dv-comment-date { font-size: 12px; color: var(--text-dim); }
.dv-comment-body p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.dv-comment .children { margin-left: 32px; margin-top: 16px; }

.dv-comment-form label {
    display: block; font-size: 14px; font-weight: 500;
    color: var(--text-heading); margin-bottom: 6px;
}

.dv-comment-form input,
.dv-comment-form textarea {
    width: 100%; padding: 12px 16px;
    background: var(--bg-input); border: 1px solid var(--border-input);
    border-radius: var(--radius-md); color: var(--text-body);
    font-family: 'Poppins', sans-serif; font-size: 14px;
    margin-bottom: 16px; transition: border-color var(--transition); outline: none;
}

.dv-comment-form input:focus,
.dv-comment-form textarea:focus { border-color: var(--orange); }

.dv-comment-form textarea { min-height: 140px; resize: vertical; }

.dv-comment-form .submit {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: var(--orange-gradient);
    color: #fff; border: none; border-radius: var(--radius-pill);
    font-family: 'Poppins', sans-serif; font-size: 14px;
    font-weight: 600; cursor: pointer; transition: all var(--transition);
}

.dv-comment-form .submit:hover {
    box-shadow: var(--shadow-orange);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   SEARCH FORM
═══════════════════════════════════════════ */
.dv-search-form { display: flex; gap: 8px; }

.dv-search-form input[type="search"] {
    flex: 1; padding: 12px 16px;
    background: var(--bg-input); border: 1px solid var(--border-input);
    border-radius: var(--radius-md); color: var(--text-body);
    font-family: 'Poppins', sans-serif; font-size: 14px;
    outline: none; transition: border-color var(--transition);
}

.dv-search-form input[type="search"]:focus { border-color: var(--orange); }

.dv-search-form button {
    padding: 12px 20px; background: var(--orange);
    color: #fff; border: none; border-radius: var(--radius-md);
    cursor: pointer; transition: background var(--transition);
    font-family: 'Poppins', sans-serif; font-weight: 600;
}

.dv-search-form button:hover { background: var(--orange-dark); }

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.dv-sidebar .widget {
    margin-bottom: 32px; padding: 28px;
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
}

.dv-sidebar .widget-title {
    font-size: 16px; font-weight: 700; color: var(--text-heading);
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border-card);
}

.dv-sidebar .widget ul li {
    padding: 10px 0; border-bottom: 1px solid var(--border-card);
}

.dv-sidebar .widget ul li:last-child { border-bottom: none; }

.dv-sidebar .widget ul li a {
    font-size: 14px; color: var(--text-muted);
    transition: color var(--transition);
}

.dv-sidebar .widget ul li a:hover { color: var(--orange); }

/* ═══════════════════════════════════════════
   FOOTER — Exact match from main site
═══════════════════════════════════════════ */
.footer-area {
    background: var(--bg-footer);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.footer-bottom-row {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 12px;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .dv-blog-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .dv-blog-sidebar-intro { position: static; text-align: center; }
    .dv-social-icons { justify-content: center; }
    .dv-blog-cta-btn { margin: 0 auto; }
    .dv-category-filters { justify-content: center; }
    .dv-posts-grid { grid-template-columns: repeat(2, 1fr); }
    .dv-featured-post { grid-template-columns: 1fr; }
    .dv-featured-img { min-height: 220px; }
}

@media (max-width: 860px) {
    .nav-container { max-width: 100%; padding: 8px 12px 8px 16px; border-radius: var(--radius-pill); }
    .nav-links, .nav-divider, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .nav-theme-btn { margin-left: auto; }
}

@media (max-width: 768px) {
    .dv-blog-hero { padding: 110px 0 40px; }
    .section-spacing { padding: 36px 0; }
}

@media (max-width: 640px) {
    .nav-outer { padding: 10px 12px; }
    .nav-logo-text { font-size: 14px; }
    .nav-logo-circle { width: 36px; height: 36px; font-size: 12px; }
    .dv-blog-title { font-size: 1.75rem; }
    .dv-posts-grid { grid-template-columns: 1fr; }
    .dv-featured-content { padding: 24px; }
    .dv-post-nav { grid-template-columns: 1fr; }
    .dv-single-hero h1 { font-size: 1.75rem; }
    .dv-single-content { padding-left: 16px; padding-right: 16px; }
    .footer-bottom-row {
        flex-direction: column !important; align-items: center !important;
        text-align: center !important; gap: 6px !important;
    }
    .footer-services-col { display: none !important; }
}

@media (max-width: 480px) {
    .nav-container { padding: 7px 10px 7px 14px !important; }
    .nav-logo { gap: 8px !important; }
    .container { padding: 0 16px !important; }
    .section-spacing { padding: 32px 0 !important; }
    .btn-primary, .btn-secondary {
        min-height: 48px !important; padding: 13px 24px !important; font-size: 14px !important;
    }
}

/* ═══════════════════════════════════════════
   WORDPRESS OVERRIDES
═══════════════════════════════════════════ */
.wp-block-image img { border-radius: var(--radius-md); }
.alignwide { max-width: 900px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.wp-caption-text { font-size: 13px; color: var(--text-dim); text-align: center; margin-top: 8px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
