/* ===================================================================
   VIVELEAD BLOG - HUBSPOT-INSPIRED PROFESSIONAL DESIGN
   Enterprise-grade, conversion-focused, accessible
   =================================================================== */

/* CSS Variables */
:root {
    --blog-primary: #4051B5;
    --blog-primary-dark: #2f3d8f;
    --blog-text-dark: #2d3e50;
    --blog-text-body: #516f90;
    --blog-text-light: #7c98b6;
    --blog-border: #cbd6e2;
    --blog-bg-light: #f5f8fa;
    --blog-bg-section: #f9fafb;
    --blog-white: #ffffff;
    --blog-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --blog-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --blog-shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --blog-radius: 8px;
    --blog-radius-lg: 12px;
    --blog-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
.vl-hrms-blog-article * {
    box-sizing: border-box;
}

/* ===================================================================
   HERO SECTION - Premium & Creative (2025)
   =================================================================== */

.vl-hrms-blog-hero {
    position: relative;
    background: var(--blog-white);
    padding: 60px 20px 48px;
    border-bottom: 1px solid var(--blog-border);
    overflow: hidden;
}

/* Gradient Background Pattern */
.vl-hrms-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(64, 81, 181, 0.03) 0%,
        rgba(64, 81, 181, 0.01) 50%,
        transparent 100%
    );
    z-index: 0;
}

.vl-hrms-hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(64, 81, 181, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.vl-hrms-blog-hero__container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb with SVG arrows */
.vl-hrms-blog-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--blog-text-light);
    margin-bottom: 20px;
}

.vl-hrms-blog-hero__breadcrumb a {
    color: var(--blog-text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.vl-hrms-blog-hero__breadcrumb a:hover {
    color: var(--blog-primary);
}

.vl-hrms-blog-hero__breadcrumb svg {
    opacity: 0.4;
    flex-shrink: 0;
}

.vl-hrms-blog-hero__breadcrumb .current {
    color: var(--blog-text-body);
    font-weight: 500;
}

/* Category Badges - Premium Style */
.vl-hrms-blog-hero__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.vl-hrms-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg,
        rgba(64, 81, 181, 0.1) 0%,
        rgba(64, 81, 181, 0.05) 100%
    );
    border: 1.5px solid rgba(64, 81, 181, 0.15);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blog-primary);
    text-transform: capitalize;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.vl-hrms-category-badge:hover {
    background: linear-gradient(135deg,
        rgba(64, 81, 181, 0.15) 0%,
        rgba(64, 81, 181, 0.08) 100%
    );
    border-color: rgba(64, 81, 181, 0.3);
    transform: translateY(-1px);
}

.vl-hrms-category-badge svg {
    opacity: 0.7;
}

/* Hero Title */
.vl-hrms-blog-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--blog-text-dark);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.vl-hrms-blog-hero__excerpt {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--blog-text-body);
    margin: 0 0 32px;
}

/* Meta Row - Single Line, Clean */
.vl-hrms-blog-hero__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--blog-border);
    font-size: 14px;
    color: var(--blog-text-body);
    flex-wrap: wrap;
}

.vl-hrms-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vl-hrms-author__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--blog-primary);
}

.vl-hrms-author__name {
    font-weight: 600;
    color: var(--blog-text-dark);
}

.vl-hrms-meta-sep {
    color: var(--blog-text-light);
    opacity: 0.5;
}

.vl-hrms-date,
.vl-hrms-read-time {
    color: var(--blog-text-body);
}

/* Reading Progress Bar */
.vl-hrms-reading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(64, 81, 181, 0.1);
}

/* Featured Image */
.vl-hrms-blog-hero__visual {
    position: relative;
}

.vl-hrms-hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--blog-border);
}

.vl-hrms-hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.vl-hrms-hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

/* Stats Bar */
.vl-hrms-blog-hero__stats {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-top: 1px solid var(--blog-border);
    padding: 24px 0;
}

.vl-hrms-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.vl-hrms-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vl-hrms-stat-item svg {
    flex-shrink: 0;
}

.vl-hrms-stat-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--blog-text-dark);
}

.vl-hrms-stat-label {
    font-size: 14px;
    color: var(--blog-text-light);
}

.vl-hrms-stat-divider {
    width: 1px;
    height: 24px;
    background: var(--blog-border);
}

/* Responsive Design - Hero Section */
@media (max-width: 992px) {
    .vl-hrms-blog-hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
        padding-bottom: 32px;
    }

    .vl-hrms-blog-hero__visual {
        order: -1; /* Move image to top on tablet/mobile */
    }

    .vl-hrms-blog-hero__title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    .vl-hrms-blog-hero__meta-row {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .vl-hrms-stats-container {
        padding: 0 24px;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .vl-hrms-blog-hero {
        padding: 20px 16px 0;
    }

    .vl-hrms-blog-hero__container {
        padding: 0 16px;
        padding-bottom: 24px;
        gap: 24px;
    }

    .vl-hrms-blog-hero__title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .vl-hrms-blog-hero__excerpt {
        font-size: 15px;
        line-height: 1.6;
    }

    .vl-hrms-blog-hero__author {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .vl-hrms-social-label {
        display: none; /* Hide "Share:" label on mobile */
    }

    .vl-hrms-stat-item {
        font-size: 14px;
    }

    .vl-hrms-stat-number {
        font-size: 15px;
    }

    .vl-hrms-stat-label {
        font-size: 13px;
    }

    .vl-hrms-stat-divider {
        display: none; /* Hide dividers on mobile */
    }

    .vl-hrms-stats-container {
        padding: 0 16px;
        gap: 16px;
    }
}

/* ===================================================================
   CONTENT WRAPPER - Proper Responsive Layout
   =================================================================== */

.vl-hrms-blog-content-wrapper {
    background: var(--blog-white);
    padding: 48px 0 60px;
}

.vl-hrms-blog-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: block;
}

/* Hide Sidebar Completely */
.vl-hrms-blog-sidebar {
    display: none;
}

/* ===================================================================
   MAIN CONTENT - Clean Typography
   =================================================================== */

.vl-hrms-blog-main {
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

/* Intro Section */
.vl-hrms-blog-intro {
    margin-bottom: 40px;
}

.vl-hrms-intro-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--blog-text-body);
    margin: 0 0 20px;
}

.vl-hrms-intro-lead strong {
    font-weight: 600;
    color: var(--blog-text-dark);
}

/* Content Sections */
.vl-hrms-content-section {
    margin-bottom: 48px;
}

.vl-hrms-content-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--blog-text-dark);
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blog-border);
}

.vl-hrms-content-section h2:first-child {
    margin-top: 0;
}

.vl-hrms-content-section h3 {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--blog-text-dark);
    margin: 32px 0 16px;
}

.vl-hrms-content-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--blog-text-dark);
    margin: 24px 0 12px;
}

.vl-hrms-content-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--blog-text-body);
    margin: 0 0 20px;
}

.vl-hrms-content-section strong {
    font-weight: 600;
}

/* Lists */
.vl-hrms-content-list {
    margin: 20px 0;
    padding-left: 24px;
}

.vl-hrms-content-list li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--blog-text-body);
    margin-bottom: 10px;
    list-style: disc;
}

/* Callout Box - Minimal */
.vl-hrms-callout {
    background: var(--blog-bg-light);
    border-left: 3px solid var(--blog-primary);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--blog-text-body);
}

/* Pain Points - Clean Table */
.vl-hrms-pain-points {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}

.vl-hrms-pain-point {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--blog-border);
    border-radius: 6px;
    background: var(--blog-white);
}

.vl-hrms-pain-point__icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.5;
}

.vl-hrms-pain-point__content strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--blog-text-dark);
    margin-bottom: 4px;
}

.vl-hrms-pain-point__content p {
    font-size: 14px;
    color: var(--blog-text-light);
    margin: 0;
    line-height: 1.5;
}

/* Inline CTA - Minimal */
.vl-hrms-inline-cta {
    background: var(--blog-bg-light);
    border: 2px solid var(--blog-primary);
    border-radius: 8px;
    padding: 24px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.vl-hrms-inline-cta__content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blog-text-dark);
    margin: 0 0 8px;
}

.vl-hrms-inline-cta__content p {
    font-size: 0.938rem;
    color: var(--blog-text-body);
    margin: 0;
}

.vl-hrms-inline-cta__btn {
    background: var(--blog-primary);
    color: var(--blog-white);
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.vl-hrms-inline-cta__btn:hover {
    opacity: 0.9;
}

/* Feature Grid - Clean Cards */
.vl-hrms-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.vl-hrms-feature-card {
    background: var(--blog-white);
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    padding: 20px;
}

.vl-hrms-feature-card__icon {
    margin-bottom: 12px;
}

.vl-hrms-feature-card__icon svg {
    width: 32px;
    height: 32px;
}

.vl-hrms-feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blog-text-dark);
    margin: 0 0 8px;
}

.vl-hrms-feature-card p {
    font-size: 0.938rem;
    line-height: 1.6;
    color: var(--blog-text-light);
    margin: 0 0 12px;
}

.vl-hrms-feature-benefit {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--blog-primary);
}

/* Blog Figures - Clean */
.vl-hrms-blog-figure {
    margin: 40px 0;
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    overflow: hidden;
}

.vl-hrms-blog-figure__img {
    width: 100%;
    height: auto;
    display: block;
}

.vl-hrms-blog-figure__caption {
    background: var(--blog-bg-light);
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--blog-text-light);
    font-style: italic;
}

/* Impact Cards - Minimal */
.vl-hrms-impact-cards {
    display: grid;
    gap: 20px;
    margin: 24px 0;
}

.vl-hrms-impact-card {
    background: var(--blog-white);
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    padding: 24px;
}

.vl-hrms-impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blog-border);
    line-height: 1;
    margin-bottom: 12px;
}

.vl-hrms-impact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blog-text-dark);
    margin: 0 0 12px;
}

.vl-hrms-impact-card p {
    font-size: 0.938rem;
    line-height: 1.6;
    color: var(--blog-text-body);
    margin: 0;
}

/* Comparison Table - Clean */
.vl-hrms-comparison-table {
    background: var(--blog-white);
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

.vl-hrms-comparison-table__header {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 2fr;
    background: var(--blog-bg-light);
    border-bottom: 1px solid var(--blog-border);
    min-width: 600px;
}

.vl-hrms-comparison-col {
    padding: 16px;
    font-weight: 700;
    font-size: 14px;
    color: var(--blog-text-dark);
}

.vl-hrms-comparison-col--highlight {
    background: var(--blog-primary);
    color: var(--blog-white);
}

.vl-hrms-comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 2fr;
    border-bottom: 1px solid var(--blog-border);
    min-width: 600px;
}

.vl-hrms-comparison-row:last-child {
    border-bottom: none;
}

.vl-hrms-comparison-cell {
    padding: 16px;
    font-size: 14px;
    color: var(--blog-text-body);
}

.vl-hrms-comparison-cell--feature {
    font-weight: 600;
    color: var(--blog-text-dark);
}

.vl-hrms-comparison-cell--highlight {
    background: rgba(64, 81, 181, 0.05);
    font-weight: 500;
}

.vl-hrms-check-icon {
    color: #28a745;
    font-weight: bold;
    margin-right: 6px;
}

/* Industry Grid - Clean */
.vl-hrms-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.vl-hrms-industry-card {
    background: var(--blog-white);
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.vl-hrms-industry-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.vl-hrms-industry-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blog-text-dark);
    margin: 0 0 8px;
}

.vl-hrms-industry-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--blog-text-light);
    margin: 0;
}

/* FAQ Section - HubSpot-Style Grid Accordion */
.vl-hrms-faq-section {
    background: var(--blog-bg-section);
    padding: 80px 20px;
    margin: 60px 0 0;
}

.vl-hrms-faq-section h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--blog-text-dark);
    margin: 0 0 48px;
}

.vl-hrms-faq-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.vl-hrms-faq-item {
    background: var(--blog-white);
    border: 2px solid transparent;
    border-radius: var(--blog-radius);
    overflow: hidden;
    transition: var(--blog-transition);
}

.vl-hrms-faq-item:hover {
    box-shadow: var(--blog-shadow-md);
}

.vl-hrms-faq-item.is-active {
    border-color: var(--blog-primary);
    box-shadow: var(--blog-shadow-lg);
}

.vl-hrms-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    background: none;
    border: none;
    padding: 24px;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--blog-text-dark);
    line-height: 1.4;
    transition: var(--blog-transition);
}

.vl-hrms-faq-question:hover {
    color: var(--blog-primary);
}

.vl-hrms-faq-question span {
    flex: 1;
    padding-right: 16px;
}

.vl-hrms-faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    color: var(--blog-text-light);
}

.vl-hrms-faq-question[aria-expanded="true"] .vl-hrms-faq-icon {
    transform: rotate(180deg);
    color: var(--blog-primary);
}

.vl-hrms-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vl-hrms-faq-item.is-active .vl-hrms-faq-answer {
    max-height: 600px;
    padding: 0 24px 24px;
}

.vl-hrms-faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--blog-text-body);
    margin: 0;
}

/* Final CTA - Clean */
.vl-hrms-final-cta {
    background: var(--blog-primary);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    margin: 48px 0;
}

.vl-hrms-final-cta__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.vl-hrms-final-cta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--blog-white);
    margin: 0 0 12px;
    line-height: 1.3;
}

.vl-hrms-final-cta p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vl-hrms-final-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.vl-hrms-btn-primary,
.vl-hrms-btn-secondary {
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

.vl-hrms-btn-primary {
    background: var(--blog-white);
    color: var(--blog-primary);
}

.vl-hrms-btn-primary:hover {
    opacity: 0.9;
}

.vl-hrms-btn-secondary {
    background: transparent;
    color: var(--blog-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.vl-hrms-btn-secondary:hover {
    border-color: var(--blog-white);
}

.vl-hrms-final-cta__note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===================================================================
   AUTHOR BIO - Professional Layout
   =================================================================== */

.vl-hrms-author-bio {
    background: var(--blog-bg-light);
    padding: 60px 0;
    margin-top: 60px;
    border-top: 1px solid var(--blog-border);
    border-bottom: 1px solid var(--blog-border);
}

.vl-hrms-author-bio__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
    align-items: center;
}

.vl-hrms-author-bio__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--blog-white);
    box-shadow: var(--blog-shadow-md);
    flex-shrink: 0;
    object-fit: cover;
}

.vl-hrms-author-bio__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vl-hrms-author-bio__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blog-text-dark);
    margin: 0;
}

.vl-hrms-author-bio__role {
    font-size: 0.938rem;
    color: var(--blog-primary);
    font-weight: 600;
    margin: 0 0 12px;
}

.vl-hrms-author-bio__description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--blog-text-body);
    margin: 0;
}

/* ===================================================================
   RELATED POSTS - Interactive Cards
   =================================================================== */

.vl-hrms-related-posts {
    background: var(--blog-bg-section);
    padding: 80px 0 100px;
}

.vl-hrms-related-posts__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.vl-hrms-related-posts__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--blog-text-dark);
    margin: 0 0 48px;
    text-align: left;
}

.vl-hrms-related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.vl-hrms-related-card {
    background: var(--blog-white);
    border: 2px solid transparent;
    border-radius: var(--blog-radius-lg);
    overflow: hidden;
    transition: var(--blog-transition);
    position: relative;
}

.vl-hrms-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--blog-shadow-lg);
    border-color: var(--blog-primary);
}

.vl-hrms-related-card__link {
    text-decoration: none;
    display: block;
}

.vl-hrms-related-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.vl-hrms-related-card:hover .vl-hrms-related-card__image {
    transform: scale(1.05);
}

.vl-hrms-related-card__content {
    padding: 28px;
}

.vl-hrms-related-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blog-text-dark);
    margin: 0 0 12px;
    line-height: 1.4;
    transition: color 0.2s;
}

.vl-hrms-related-card:hover .vl-hrms-related-card__title {
    color: var(--blog-primary);
}

.vl-hrms-related-card__excerpt {
    font-size: 0.938rem;
    line-height: 1.6;
    color: var(--blog-text-body);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vl-hrms-related-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--blog-primary);
    transition: gap 0.3s ease;
}

.vl-hrms-related-card:hover .vl-hrms-related-card__cta {
    gap: 12px;
}

/* ===================================================================
   RESPONSIVE DESIGN - PROPER MOBILE SUPPORT
   =================================================================== */

@media (max-width: 1024px) {
    .vl-hrms-blog-hero__container,
    .vl-hrms-blog-container,
    .vl-hrms-author-bio__container,
    .vl-hrms-related-posts__container {
        padding: 0 24px;
    }

    .vl-hrms-related-posts__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .vl-hrms-blog-hero {
        padding: 40px 0 32px;
    }

    .vl-hrms-blog-hero__container {
        padding: 0 16px;
    }

    .vl-hrms-blog-hero__title {
        font-size: 1.75rem;
    }

    .vl-hrms-blog-hero__excerpt {
        font-size: 1rem;
    }

    .vl-hrms-blog-hero__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .vl-hrms-meta-divider {
        display: none;
    }

    .vl-hrms-blog-content-wrapper {
        padding: 32px 0 48px;
    }

    .vl-hrms-blog-container,
    .vl-hrms-author-bio__container {
        padding: 0 16px;
    }

    .vl-hrms-content-section h2 {
        font-size: 1.5rem;
        margin: 32px 0 16px;
    }

    .vl-hrms-content-section h3 {
        font-size: 1.25rem;
    }

    .vl-hrms-feature-grid {
        grid-template-columns: 1fr;
    }

    .vl-hrms-inline-cta {
        flex-direction: column;
        text-align: center;
    }

    .vl-hrms-inline-cta__btn {
        width: 100%;
    }

    .vl-hrms-comparison-table {
        overflow-x: auto;
    }

    .vl-hrms-industry-grid {
        grid-template-columns: 1fr;
    }

    .vl-hrms-author-bio {
        padding: 48px 0;
    }

    .vl-hrms-author-bio__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .vl-hrms-author-bio__avatar {
        margin: 0 auto;
        width: 80px;
        height: 80px;
    }

    .vl-hrms-author-bio__name {
        font-size: 1.25rem;
    }

    .vl-hrms-related-posts {
        padding: 60px 0 80px;
    }

    .vl-hrms-related-posts__title {
        font-size: 1.875rem;
        margin-bottom: 32px;
    }

    .vl-hrms-related-posts__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vl-hrms-related-card:hover {
        transform: translateY(-2px);
    }

    .vl-hrms-final-cta {
        padding: 32px 20px;
    }

    .vl-hrms-final-cta h2 {
        font-size: 1.5rem;
    }

    .vl-hrms-final-cta__buttons {
        flex-direction: column;
        width: 100%;
    }

    .vl-hrms-btn-primary,
    .vl-hrms-btn-secondary {
        width: 100%;
    }

    .vl-hrms-faq-section {
        padding: 60px 20px;
    }

    .vl-hrms-faq-section h2 {
        font-size: 1.875rem;
        margin-bottom: 32px;
    }

    .vl-hrms-faq-list {
        grid-template-columns: 1fr;
    }

    .vl-hrms-faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .vl-hrms-faq-item.is-active .vl-hrms-faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .vl-hrms-blog-hero {
        padding: 32px 16px 24px;
    }

    .vl-hrms-blog-content-wrapper {
        padding: 24px 16px 32px;
    }

    .vl-hrms-pain-points {
        grid-template-columns: 1fr;
    }

    .vl-hrms-impact-number {
        font-size: 2rem;
    }
}

/* ===================================================================
   CONTINUE READING SECTION
   =================================================================== */

.vl-blog-continue-reading {
    background: var(--blog-bg-section);
    padding: 80px 20px;
}

.vl-blog-continue-reading__container {
    max-width: 1200px;
    margin: 0 auto;
}

.vl-blog-continue-reading__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blog-text-dark);
    text-align: center;
    margin-bottom: 48px;
}

/* Reuse blog grid styles from blog-listing.css */
.vl-blog-continue-reading .vl-blog-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .vl-blog-continue-reading .vl-blog-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vl-blog-continue-reading {
        padding: 60px 16px;
    }

    .vl-blog-continue-reading__title {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    .vl-blog-continue-reading .vl-blog-grid-container {
        grid-template-columns: 1fr;
    }
}
