/**
 * Veeru Tech - Single Blog Detail Module Stylesheet
 * Optimized for Dynamic Post Content Bullets & CTA Icon Inheritance
 */

:root {
    --vt-detail-primary: #06172e;
    --vt-detail-accent: #f17a28;
    --vt-detail-accent-hover: #d96313;
    --vt-detail-bg-light: #f8fafc;
    --vt-detail-card-bg: #ffffff;
    --vt-detail-text-dark: #0f172a;
    --vt-detail-body-text: #334155;
    --vt-detail-text-muted: #64748b;
    --vt-detail-border: #e2e8f0;
    --vt-detail-radius: 12px;
    --vt-detail-sidebar-bg: #ffffff;
    --vt-detail-sidebar-title: #0f172a;
    --vt-detail-sidebar-text: #475569;
    --vt-detail-pill-bg: #f1f5f9;
    --vt-detail-pill-text: #475569;
    --vt-detail-bullet-color: #f17a28;
    --vt-detail-check-color: #f17a28;
}

/* GLOBAL SVG & MASK IMAGE COLORING ENGINE */
.vt-meta-item svg,
.vt-newsletter-icon svg,
.vt-share-btn svg,
.vt-cta-feature-icon svg {
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.vt-mask-icon {
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    background-color: var(--vt-detail-accent);
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
}

.vt-cta-mask-icon {
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    background-color: currentColor !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
}

.vt-mask-bullet-icon {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    background-color: var(--vt-detail-check-color);
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
}

.vt-share-btn .vt-mask-icon {
    width: 16px !important;
    height: 16px !important;
    background-color: #ffffff;
}

.vt-meta-item svg {
    width: 15px !important;
    height: 15px !important;
    fill: #94a3b8 !important;
}

.vt-newsletter-icon svg {
    width: 24px !important;
    height: 24px !important;
    fill: var(--vt-detail-accent) !important;
}

/* DYNAMIC ELEMENTOR COLOR CONTROL COMPATIBILITY FOR SHARE BUTTONS */
.vt-share-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    color: currentColor !important;
}

.vt-share-btn i {
    font-size: 16px !important;
    line-height: 1 !important;
    color: currentColor !important;
    display: inline-block;
}

.vt-cta-feature-icon svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
}

.vt-cta-feature-icon i {
    font-size: 22px !important;
    line-height: 1 !important;
    color: currentColor !important;
}

/* HERO BANNER AREA */
.vt-blog-hero-section.vt-single-hero {
    position: relative;
    background-color: var(--vt-detail-primary);
    padding: 60px 0 70px 0;
    color: #ffffff;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.vt-blog-hero-section.vt-single-hero.vt-hero-full-bg-mode {
    min-height: 380px;
    display: flex;
    align-items: center;
}

.vt-blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #06172e;
    opacity: 0.75;
    z-index: 1;
}

.vt-blog-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.vt-blog-hero-content { max-width: 680px; width: 100%; }

.vt-single-cat-badge {
    display: inline-block;
    background-color: #1e3a8a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vt-blog-hero-title { 
    font-size: 40px; 
    font-weight: 800; 
    color: #ffffff; 
    margin: 0 0 15px 0; 
    line-height: 1.2; 
}

.vt-blog-breadcrumb { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 14px; 
    font-weight: 500; 
    margin-bottom: 20px;
}
.vt-blog-breadcrumb a { color: #ffffff; text-decoration: none; opacity: 0.9; }
.vt-blog-breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.vt-blog-breadcrumb-sep { color: var(--vt-detail-accent); }
.vt-blog-breadcrumb-current { color: var(--vt-detail-accent); font-weight: 600; }

.vt-single-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: #94a3b8;
}

.vt-meta-item { display: flex; align-items: center; gap: 7px; }

.vt-blog-hero-graphic { max-width: 480px; width: 100%; border-radius: 12px; overflow: hidden; }
.vt-blog-hero-graphic img { width: 100%; height: auto; display: block; object-fit: cover; }

/* MAIN CONTENT AREA */
.vt-blog-main-section { padding: 50px 0 80px 0; background-color: #ffffff; }
.vt-blog-main-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.vt-blog-layout-wrapper { display: flex; gap: 40px; width: 100%; }
.vt-blog-main-content { flex-grow: 1; width: 100%; min-width: 0; }
.vt-blog-sidebar { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 30px; }

.vt-single-article { width: 100%; }

.vt-single-featured-image {
    width: 100%;
    border-radius: var(--vt-detail-radius);
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.vt-single-featured-image img { width: 100%; height: auto; display: block; object-fit: cover; }

.vt-single-content-body { 
    font-size: 16px; 
    line-height: 1.8; 
    color: var(--vt-detail-body-text); 
}

.vt-single-content-body h1,
.vt-single-content-body h2,
.vt-single-content-body h3,
.vt-single-content-body h4 {
    color: var(--vt-detail-text-dark);
    font-weight: 800;
    margin: 32px 0 16px 0;
    line-height: 1.3;
}

.vt-single-content-body h2 { font-size: 26px; }
.vt-single-content-body h3 { font-size: 21px; }

.vt-single-content-body p { margin-bottom: 22px; }

/* BULLET & CHECKMARK STYLING FOR LIVE POST CONTENT */
.vt-single-content-body ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 20px 0 25px 0 !important;
}

.vt-single-content-body ul li {
    position: relative !important;
    padding-left: 30px !important;
    margin-bottom: 14px !important;
    line-height: 1.6 !important;
}

/* Default Checkmark mode */
.vt-single-content-body.vt-bullet-mode-checkmark ul li::before,
.vt-single-content-body ul li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    color: var(--vt-detail-check-color, #f17a28) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

/* Standard Bullet Dot Mode */
.vt-single-content-body.vt-bullet-mode-standard_dot ul li::before {
    content: "•" !important;
    font-size: 24px !important;
    top: -2px !important;
    left: 8px !important;
    color: var(--vt-detail-check-color, #f17a28) !important;
}

/* Custom Image Bullet Mode */
.vt-single-content-body.vt-bullet-mode-custom_image ul li::before {
    content: "" !important;
    width: var(--vt-bullet-sz, 20px) !important;
    height: var(--vt-bullet-sz, 20px) !important;
    display: inline-block !important;
    background-color: var(--vt-detail-check-color, #f17a28) !important;
    -webkit-mask-image: var(--vt-custom-bullet-url) !important;
    mask-image: var(--vt-custom-bullet-url) !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
}

/* DYNAMIC SOCIAL SHARE BAR */
.vt-single-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #ffffff;
    border: 1px solid var(--vt-detail-border);
    border-radius: var(--vt-detail-radius);
    margin: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

.vt-share-label { font-size: 14px; font-weight: 700; color: var(--vt-detail-text-dark); }
.vt-share-buttons { display: flex; align-items: center; gap: 10px; }

.vt-share-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 6px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 0 !important;
    text-decoration: none;
    color: #ffffff;
}

.vt-share-btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* NAVIGATION CARDS */
.vt-single-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
    width: 100%;
}

.vt-nav-card a {
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    border: 1px solid var(--vt-detail-border);
    border-radius: var(--vt-detail-radius);
    background-color: #ffffff;
    text-decoration: none;
}

.vt-nav-card a:hover {
    border-color: var(--vt-detail-accent);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.vt-nav-label { font-size: 12px; font-weight: 700; color: var(--vt-detail-accent); margin-bottom: 6px; }
.vt-nav-title { font-size: 14px; font-weight: 700; color: var(--vt-detail-text-dark); line-height: 1.4; }
.vt-nav-next { text-align: right; }

/* SIDEBAR STYLING */
.vt-sidebar-widget {
    background: var(--vt-detail-sidebar-bg);
    border: 1px solid var(--vt-detail-border);
    border-radius: var(--vt-detail-radius);
    padding: 25px;
}

.vt-sidebar-newsletter {
    background-color: var(--vt-detail-primary);
    color: #ffffff;
    text-align: center;
    border: none;
}

.vt-newsletter-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.vt-newsletter-title { font-size: 20px; font-weight: 700; color: #ffffff; margin: 0 0 10px 0; }
.vt-newsletter-desc { font-size: 13px; color: #94a3b8; margin-bottom: 20px; line-height: 1.5; }

.vt-newsletter-form input[type="email"] {
    width: 100%;
    height: 44px;
    border-radius: 6px;
    padding: 0 15px;
    margin-bottom: 12px;
    box-sizing: border-box;
    border: 1px solid var(--vt-detail-border);
    font-size: 13px;
}

.vt-newsletter-form button {
    width: 100%;
    height: 44px;
    background: var(--vt-detail-accent);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.vt-newsletter-privacy { font-size: 11px; color: #64748b; margin-top: 12px; margin-bottom: 0; }

.vt-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--vt-detail-sidebar-title);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--vt-detail-bg-light);
}

.vt-popular-posts-list { display: flex; flex-direction: column; gap: 16px; }
.vt-popular-post-item { display: flex; align-items: center; gap: 14px; }
.vt-popular-post-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.vt-popular-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vt-popular-post-title { font-size: 13px; font-weight: 700; margin: 0 0 4px 0; line-height: 1.3; }
.vt-popular-post-title a { color: var(--vt-detail-sidebar-title); text-decoration: none; }
.vt-popular-post-title a:hover { color: var(--vt-detail-accent); }
.vt-popular-post-date { font-size: 11px; color: var(--vt-detail-text-muted); }

/* CATEGORY PILL BADGES */
.vt-categories-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vt-category-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 6px;
    background-color: var(--vt-detail-bg-light);
    color: var(--vt-detail-sidebar-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.vt-category-item a:hover { background-color: #f1f5f9; color: var(--vt-detail-accent); }

.vt-category-count {
    background-color: var(--vt-detail-pill-bg);
    color: var(--vt-detail-pill-text);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

/* DYNAMIC BOTTOM CTA BANNER */
.vt-blog-cta-banner {
    background-color: var(--vt-detail-primary);
    border-radius: var(--vt-detail-radius);
    padding: 35px 40px;
    margin-top: 60px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.vt-cta-title { font-size: 24px; font-weight: 800; margin: 0 0 8px 0; color: #ffffff; }
.vt-cta-desc { font-size: 13px; color: #94a3b8; margin: 0; }

.vt-cta-features { display: flex; align-items: center; gap: 25px; }
.vt-cta-feature-item { display: flex; align-items: center; gap: 12px; }

.vt-cta-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.vt-cta-feature-text { font-size: 12px; font-weight: 600; color: #e2e8f0; line-height: 1.3; }

.vt-cta-btn {
    background-color: var(--vt-detail-accent);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.vt-cta-btn:hover { opacity: 0.9; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .vt-blog-layout-wrapper { flex-direction: column !important; }
    .vt-blog-sidebar { width: 100%; }
    .vt-single-navigation { grid-template-columns: 1fr; }
    .vt-blog-cta-banner { flex-direction: column; align-items: flex-start; }
    .vt-cta-features { flex-wrap: wrap; }
}

@media (max-width: 600px) {
    .vt-blog-hero-container { flex-direction: column; text-align: center; }
    .vt-single-share-bar { flex-direction: column; gap: 15px; align-items: flex-start; }
    .vt-single-meta-bar { justify-content: center; }
}