/* Blog Pages Specific Styles */

/* Hero Section Styles - Matching Get Quote Page */
.blog-hero-section {
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(233, 236, 239, 1) 50%, rgba(240, 242, 245, 1) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.08), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(90, 74, 227, 0.06), transparent 50%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.blog-hero-section>.container {
    position: relative;
    z-index: 1;
}

.blog-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2rem;
    }
}

.blog-hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    max-width: 600px;
    line-height: 1.7;
    font-weight: 400;
}

.blog-hero-stats {
    margin: 30px 0;
}

.blog-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-left: 50px;
}

.blog-stat-item i {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.blog-stat-item i.bi-file-text {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%);
    color: #5a4ae3;
}

.blog-stat-item i.bi-lightbulb {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.25) 100%);
    color: #ffc107;
}

.blog-stat-item i.bi-arrow-repeat {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.25) 100%);
    color: #28a745;
}

.blog-stat-item i.bi-calendar {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.25) 100%);
    color: #28a745;
}

.blog-stat-item i.bi-calendar-year {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.25) 100%);
    color: #ffc107;
}

.blog-stat-item strong {
    font-size: 1.1rem;
    display: block;
    color: #212529;
}

.blog-stat-item span {
    font-size: 0.9rem;
    color: #6c757d;
}

.blog-hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease;
}

.blog-hero-image:hover img {
    transform: scale(1.02);
}

/* Blog Detail Hero - Matching Get Quote Page */
.blog-detail-hero-section {
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(233, 236, 239, 1) 50%, rgba(240, 242, 245, 1) 100%);
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.blog-detail-hero-section::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.08), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(90, 74, 227, 0.06), transparent 50%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.blog-detail-hero-section>.container {
    position: relative;
    z-index: 1;
}

.blog-detail-hero-section.has-featured-image {
    /* Background image set inline via style attribute for dynamic URLs */
    background-size: cover;
    background-position: center;
}

.blog-detail-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .blog-detail-hero-title {
        font-size: 2rem;
    }
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #6c757d;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.blog-hero-categories {
    margin-bottom: 15px;
}

.blog-category-badge-hero {
    display: inline-block;
    padding: 6px 12px;
    background: #0066cc;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: background 0.3s ease;
}

.blog-category-badge-hero:hover {
    background: #0052a3;
    color: #fff;
}

/* Search & Filter Section - Enhanced to Match FAQ Style */
.blog-search-filter-section {
    padding: 40px 0;
}

.blog-search-filter-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 24px;
}

.blog-search-heading {
    margin-bottom: 16px;
}

.blog-search-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.blog-search-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

/* Search Input - Matching FAQ Style */
.blog-search-filter-card input[type="search"],
.blog-search-filter-card #blogSearchInput {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    padding: 12px 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.blog-search-filter-card input[type="search"]:focus,
.blog-search-filter-card #blogSearchInput:focus {
    border-color: #2563eb;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.15);
    outline: none;
}

.blog-search-filter-card select,
.blog-search-filter-card #blogSortSelect {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    padding: 12px 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.blog-search-filter-card select:focus,
.blog-search-filter-card #blogSortSelect:focus {
    border-color: #2563eb;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.15);
    outline: none;
}

/* Search Button Styling */
.blog-search-filter-card .it__btn-2,
.blog-search-filter-card button[type="submit"] {
    border-radius: 999px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: #fff;
}

.blog-search-filter-card .it__btn-2:hover,
.blog-search-filter-card button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

/* Filter Chips - Matching FAQ Style */
.blog-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #ffffff;
    color: #111827;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin: 4px;
    transition: all 0.2s ease;
    border: 1px solid rgba(148, 163, 184, 0.8);
    cursor: pointer;
}

.blog-filter-chip:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.blog-filter-chip.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.blog-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-filter-chip.active .blog-filter-count {
    background: rgba(255, 255, 255, 0.3);
}

.blog-filter-chip:not(.active) .blog-filter-count {
    background: #dee2e6;
    color: #495057;
}

.blog-tag-chip {
    background: #e7f3ff;
    border-color: #b3d9ff;
}

.blog-tag-chip:hover,
.blog-tag-chip.active {
    background: #0056b3;
    border-color: #0056b3;
}

.chip {
    display: inline-block;
    padding: 6px 14px;
    background: #ffffff;
    color: #111827;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin: 4px;
    transition: all 0.2s ease;
    border: 1px solid rgba(148, 163, 184, 0.8);
    cursor: pointer;
}

.chip:hover,
.chip.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

/* Blog Cards - Enhanced with Better Hover Effects */
.blog-card-featured {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.blog-card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card-featured:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #212529;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-categories {
    margin-bottom: 10px;
}

.blog-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.blog-category-badge:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.blog-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.blog-card-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #0066cc;
}

.blog-card-excerpt {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

.blog-card-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-link:hover {
    color: #1d4ed8;
    text-decoration: none;
    transform: translateX(4px);
}

.blog-card-link i {
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(4px);
}

/* Blog Post Cards (Listing) - Enhanced */
.blog-post-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.blog-post-image-wrapper {
    overflow: hidden;
    border-radius: 12px;
    height: 200px;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image-wrapper {
    transform: scale(1.02);
}

.blog-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image {
    transform: scale(1.08);
}

.blog-post-content {
    padding: 0;
}

.blog-post-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.blog-post-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #0066cc;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #6c757d;
}

.blog-post-excerpt {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-post-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-post-link:hover {
    color: #1d4ed8;
    text-decoration: none;
    transform: translateX(4px);
}

.blog-post-link i {
    transition: transform 0.3s ease;
}

.blog-post-link:hover i {
    transform: translateX(4px);
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 251, 1) 50%, rgba(255, 255, 255, 1) 100%);
}

/* Featured Blogs Section */
.featured-blogs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(249, 250, 251, 1) 100%);
}

/* Benefits Section */
.blog-benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(249, 250, 251, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(248, 250, 252, 1) 100%);
}

.blog-benefits-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.blog-benefit-card {
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.blog-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.blog-benefit-icon {
    font-size: 3rem;
    color: #0066cc;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.2) 100%);
}

.blog-benefit-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.blog-benefit-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Sidebar Card Enhancements - Matching FAQ Sidebar */
.blog-sidebar .card {
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.blog-sidebar .card:hover {
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

.blog-sidebar .card-header {
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px 16px 0 0;
    padding: 15px 20px;
    font-weight: 700;
    color: #0f172a;
}

.blog-sidebar .card-body {
    padding: 20px;
}

/* Sidebar Card Type Styles - Colored Left Borders */
.blog-sidebar .card.blog-card-categories {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), #ffffff);
    border-left: 3px solid #2563eb;
}

.blog-sidebar .card.blog-card-tags {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.06), #ffffff);
    border-left: 3px solid #5a4ae3;
}

.blog-sidebar .card.blog-card-recent {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), #ffffff);
    border-left: 3px solid #059669;
}

.blog-sidebar .card.blog-card-popular {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), #ffffff);
    border-left: 3px solid #ea580c;
}

.blog-sidebar .card.blog-card-newsletter {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.08), #ffffff);
    border-left: 3px solid #5a4ae3;
}

/* Social Sharing */
.blog-social-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #212529;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-share-btn:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-2px);
}

.blog-share-btn i {
    font-size: 1rem;
}

.blog-social-share-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-social-share-bottom .blog-share-btn {
    width: auto;
    height: auto;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f8f9fa;
    color: #212529;
    text-decoration: none;
}

.blog-social-share-bottom .blog-share-btn:hover {
    background: #0066cc;
    color: #fff;
}

/* Floating Share Buttons */
.blog-floating-share {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-floating-share-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 10px;
}

.blog-floating-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: #212529;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-floating-share-btn:hover {
    background: #0066cc;
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Newsletter Header with Site Colors */
.blog-newsletter-header {
    background: linear-gradient(135deg, #052b97 0%, #2563eb 50%, #5a4ae3 100%);
    color: #fff;
    border: none;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(90, 74, 227, 0.2);
}

.blog-newsletter-header h5 {
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.blog-newsletter-header i {
    color: #fff;
}

/* Ensure benefit icons have colored backgrounds */
.appointment-benefit-icon i.bi-lightbulb-fill {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.25) 100%);
    color: #ffc107;
}

.appointment-benefit-icon i.bi-check-circle-fill {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.25) 100%);
    color: #28a745;
}

.appointment-benefit-icon i.bi-shield-check-fill {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%);
    color: #5a4ae3;
}

/* Colored Icons for Benefits Section */
.appointment-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin: 0 auto 15px;
    font-size: 3rem;
}

.appointment-benefit-icon i.bi-lightbulb-fill {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.25) 100%) !important;
    color: #ffc107 !important;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.appointment-benefit-icon i.bi-check-circle-fill {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.25) 100%) !important;
    color: #28a745 !important;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.appointment-benefit-icon i.bi-shield-check-fill {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%) !important;
    color: #5a4ae3 !important;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

/* Newsletter CTA */
.blog-newsletter-cta {
    padding: 70px 0;
    background:
        radial-gradient(circle at top left, rgba(14, 213, 250, 0.28) 0, rgba(14, 213, 250, 0) 48%),
        radial-gradient(circle at bottom right, rgba(104, 76, 177, 0.32) 0, rgba(104, 76, 177, 0) 55%),
        radial-gradient(circle at center, rgba(37, 99, 235, 0.12) 0, transparent 60%),
        linear-gradient(120deg, #020617 0%, #020617 35%, #0b1120 100%);
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.blog-newsletter-cta .section-label {
    color: rgba(255, 255, 255, 0.9);
}

.blog-newsletter-cta h2 {
    color: #f9fafb;
    font-size: 2rem;
    font-weight: 700;
}

.blog-newsletter-cta p {
    color: #9ca3af;
    font-size: 1.05rem;
}

.blog-newsletter-cta .it__btn-2 {
    background: #fff;
    color: #020617;
    border: none;
}

.blog-newsletter-cta .it__btn-2:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Archive Page - Matching Get Quote Page */
.blog-archive-hero-section {
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(233, 236, 239, 1) 50%, rgba(240, 242, 245, 1) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-archive-hero-section::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.08), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(90, 74, 227, 0.06), transparent 50%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.blog-archive-hero-section>.container {
    position: relative;
    z-index: 1;
}

.blog-archive-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.blog-archive-hero-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.blog-archive-stats {
    margin: 30px 0;
}

.blog-archive-nav-section {
    padding: 30px 0;
}

/* Blog Content Typography */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #212529;
}

.blog-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #212529;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #212529;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content blockquote {
    border-left: 4px solid #0066cc;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #6c757d;
}

/* Related Posts Section */
.related-blogs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(249, 250, 251, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(248, 250, 252, 1) 100%);
}

.blog-card-related {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-related:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Author Bio */
.author-bio {
    text-align: center;
}

.author-bio h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.author-posts {
    text-align: left;
}

.author-posts ul {
    list-style: none;
    padding-left: 0;
}

.author-posts li a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-posts li a:hover {
    color: #0052a3;
}

/* Responsive Styles */
@media (max-width: 768px) {

    .blog-hero-title,
    .blog-detail-hero-title,
    .blog-archive-hero-title {
        font-size: 2rem;
    }

    .blog-hero-stats,
    .blog-archive-stats {
        flex-direction: column;
        gap: 15px !important;
    }

    .blog-floating-share {
        display: none;
    }

    .blog-post-card {
        padding: 20px;
    }

    .blog-card-body {
        padding: 20px;
    }

    .blog-content {
        font-size: 1rem;
    }

    .blog-content h2 {
        font-size: 1.75rem;
    }

    .blog-content h3 {
        font-size: 1.25rem;
    }

    .blog-search-filter-card {
        padding: 20px;
    }

    .blog-sidebar .card {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 576px) {

    .blog-hero-section,
    .blog-detail-hero-section,
    .blog-archive-hero-section {
        padding: 60px 0;
    }

    .blog-hero-title,
    .blog-detail-hero-title,
    .blog-archive-hero-title {
        font-size: 1.75rem;
    }

    .blog-post-card {
        padding: 15px;
    }

    .blog-card-body {
        padding: 15px;
    }

    .blog-search-filter-card {
        padding: 16px;
    }

    .blog-benefit-card {
        padding: 24px 16px;
    }

    .blog-hero-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   COMPREHENSIVE ICON COLOR STYLING
   ============================================ */

/* Sidebar Card Header Icons - Colored Backgrounds */
.blog-sidebar .card-header i,
.blog-detail-sidebar .card-header i,
.blog-sidebar .card-header .fa-search,
.blog-sidebar .card-header .fa-folder,
.blog-sidebar .card-header .fa-tags,
.blog-sidebar .card-header .fa-clock,
.blog-sidebar .card-header .fa-fire,
.blog-sidebar .card-header .fa-archive,
.blog-sidebar .card-header .fa-envelope,
.blog-sidebar .card-header .fa-user {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 8px;
    font-size: 1rem;
}

.blog-sidebar .card-header i.fa-search,
.blog-detail-sidebar .card-header i.fa-search,
.blog-sidebar .card-header .fa-search {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%) !important;
    color: #5a4ae3 !important;
}

.blog-sidebar .card-header i.fa-folder,
.blog-detail-sidebar .card-header i.fa-folder,
.blog-sidebar .card-header .fa-folder {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.25) 100%) !important;
    color: #0d6efd !important;
}

.blog-sidebar .card-header i.fa-tags,
.blog-detail-sidebar .card-header i.fa-tags,
.blog-sidebar .card-header .fa-tags {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%) !important;
    color: #5a4ae3 !important;
}

.blog-sidebar .card-header i.fa-clock,
.blog-detail-sidebar .card-header i.fa-clock,
.blog-sidebar .card-header .fa-clock {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.25) 100%) !important;
    color: #0d6efd !important;
}

.blog-sidebar .card-header i.fa-fire,
.blog-sidebar .card-header .fa-fire {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.25) 100%) !important;
    color: #ffc107 !important;
}

.blog-sidebar .card-header i.fa-archive,
.blog-sidebar .card-header .fa-archive {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.15) 0%, rgba(108, 117, 125, 0.25) 100%) !important;
    color: #6c757d !important;
}

.blog-sidebar .card-header i.fa-envelope,
.blog-detail-sidebar .card-header i.fa-envelope,
.blog-sidebar .card-header .fa-envelope {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%) !important;
    color: #5a4ae3 !important;
}

.blog-sidebar .card-header i.fa-user,
.blog-detail-sidebar .card-header i.fa-user,
.blog-sidebar .card-header .fa-user {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%) !important;
    color: #5a4ae3 !important;
}

/* Meta Icons in Blog Posts - Colored Backgrounds */
.blog-post-meta .blog-meta-item i,
.blog-card-meta .blog-meta-item i,
.blog-post-meta i,
.blog-card-meta i,
.blog-card-featured .blog-card-meta i,
.blog-post-card .blog-post-meta i,
.featured-blogs-section .fa-calendar,
.featured-blogs-section .fa-clock,
.blog-posts-section .fa-calendar,
.blog-posts-section .fa-user,
.blog-posts-section .fa-clock,
.blog-posts-section .fa-eye {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    margin-right: 6px;
    font-size: 0.9rem;
    padding: 0 !important;
}

.blog-post-meta .blog-meta-item i.fa-calendar,
.blog-card-meta .blog-meta-item i.fa-calendar,
.blog-card-meta i.fa-calendar,
.blog-post-meta i.fa-calendar,
.blog-card-featured .fa-calendar,
.blog-post-card .fa-calendar,
.featured-blogs-section .fa-calendar {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.25) 100%) !important;
    color: #0d6efd !important;
}

.blog-post-meta .blog-meta-item i.fa-user,
.blog-card-meta .blog-meta-item i.fa-user,
.blog-post-meta i.fa-user,
.blog-card-featured .fa-user,
.blog-post-card .fa-user {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%) !important;
    color: #5a4ae3 !important;
}

.blog-post-meta .blog-meta-item i.fa-clock,
.blog-card-meta .blog-meta-item i.fa-clock,
.blog-card-meta i.fa-clock,
.blog-post-meta i.fa-clock,
.blog-card-featured .fa-clock,
.blog-post-card .fa-clock,
.featured-blogs-section .fa-clock {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.25) 100%) !important;
    color: #0d6efd !important;
}

.blog-post-meta .blog-meta-item i.fa-eye,
.blog-card-meta .blog-meta-item i.fa-eye,
.blog-post-meta i.fa-eye,
.blog-card-featured .fa-eye,
.blog-post-card .fa-eye {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.25) 100%) !important;
    color: #ffc107 !important;
}

/* Detail Page Meta Icons */
.blog-detail-meta .blog-meta-item i,
.blog-detail-meta i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    margin-right: 6px;
    font-size: 0.9rem;
}

.blog-detail-meta .blog-meta-item i.fa-calendar,
.blog-detail-meta i.fa-calendar {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.25) 100%) !important;
    color: #0d6efd !important;
}

.blog-detail-meta .blog-meta-item i.fa-user,
.blog-detail-meta i.fa-user {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%) !important;
    color: #5a4ae3 !important;
}

.blog-detail-meta .blog-meta-item i.fa-clock,
.blog-detail-meta i.fa-clock {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.25) 100%) !important;
    color: #0d6efd !important;
}

.blog-detail-meta .blog-meta-item i.fa-eye,
.blog-detail-meta i.fa-eye {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.25) 100%) !important;
    color: #ffc107 !important;
}

/* Force All Icons to Have Colors - Override Any Black Colors */
.blog-listing i.fa-calendar,
.blog-listing i.fa-clock,
.blog-listing i.fa-user,
.blog-listing i.fa-eye,
.blog-listing i.fa-search,
.blog-listing i.fa-folder,
.blog-listing i.fa-tags,
.blog-listing i.fa-fire,
.blog-listing i.fa-archive,
.blog-listing i.fa-envelope,
.blog-detail i.fa-calendar,
.blog-detail i.fa-clock,
.blog-detail i.fa-user,
.blog-detail i.fa-eye {
    color: inherit !important;
}

/* Social Share Icons - Brand Colors */
.blog-share-btn,
.blog-floating-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #212529;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.blog-share-btn:hover,
.blog-floating-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-share-btn.fa-facebook-f,
.blog-floating-share-btn.fa-facebook-f {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.blog-share-btn.fa-twitter,
.blog-floating-share-btn.fa-twitter {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
}

.blog-share-btn.fa-linkedin-in,
.blog-floating-share-btn.fa-linkedin-in {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
}

.blog-share-btn.fa-whatsapp,
.blog-floating-share-btn.fa-whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.blog-share-btn.fa-link,
.blog-floating-share-btn.fa-link,
.blog-share-btn.blog-copy-link,
.blog-floating-share-btn.blog-copy-link {
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.15) 0%, rgba(90, 74, 227, 0.25) 100%);
    color: #5a4ae3;
    border-color: rgba(90, 74, 227, 0.3);
}

/* Social Share Icons in Links */
a[href*="facebook.com"] .fab.fa-facebook-f {
    color: #1877f2;
}

a[href*="twitter.com"] .fab.fa-twitter {
    color: #1da1f2;
}

a[href*="linkedin.com"] .fab.fa-linkedin-in {
    color: #0077b5;
}

a[href*="wa.me"] .fab.fa-whatsapp {
    color: #25d366;
}

/* Tags Icon */
.blog-tags-section i.fa-tags {
    color: #5a4ae3;
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.1) 0%, rgba(90, 74, 227, 0.2) 100%);
    padding: 6px 10px;
    border-radius: 6px;
    margin-right: 8px;
}

/* Archive Page Icons */
.blog-stat-item i.bi-calendar {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.25) 100%);
    color: #28a745;
}

.blog-stat-item i.bi-calendar-year {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.25) 100%);
    color: #ffc107;
}

/* Empty State Icons */
.text-center .fa-search,
.text-center .fa-folder-open,
.text-center .fa-tag,
.text-center .fa-calendar-times {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1) 0%, rgba(108, 117, 125, 0.2) 100%);
    color: #6c757d;
    padding: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

/* Author Posts List Icon */
.author-posts li i.fa-arrow-right {
    color: #5a4ae3;
    background: linear-gradient(135deg, rgba(90, 74, 227, 0.1) 0%, rgba(90, 74, 227, 0.2) 100%);
    padding: 4px 6px;
    border-radius: 4px;
    margin-right: 6px;
    font-size: 0.8rem;
}

/* Small Calendar Icons in Sidebar Lists */
.blog-sidebar .card-body .fa-calendar,
.blog-detail-sidebar .card-body .fa-calendar,
.blog-sidebar .card-body i.fa-calendar,
.blog-sidebar small .fa-calendar,
.blog-sidebar .text-muted .fa-calendar {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.2) 100%) !important;
    color: #0d6efd !important;
    padding: 4px 6px;
    border-radius: 4px;
    margin-right: 6px;
    font-size: 0.85rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.blog-sidebar .card-body .fa-eye,
.blog-sidebar .card-body i.fa-eye,
.blog-sidebar small .fa-eye,
.blog-sidebar .text-muted .fa-eye {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.2) 100%) !important;
    color: #ffc107 !important;
    padding: 4px 6px;
    border-radius: 4px;
    margin-right: 6px;
    font-size: 0.85rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* ============================================
   BLOG DETAIL HERO - DYNAMIC BACKGROUND STYLES
   ============================================ */
.blog-detail-hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.blog-detail-hero-section.has-featured-image {
    /* Background image set inline via style attribute for dynamic URLs */
    background-size: cover;
    background-position: center;
}

.blog-detail-hero-section.no-featured-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Trust Stats Layout - Matching Get Quote Style */
.blog-hero-stats {
    margin: 30px 0;
}

.blog-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-left: 50px;
}

.blog-stat-item i {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.blog-stat-item strong {
    font-size: 1.1rem;
    display: block;
    color: #212529;
    margin-bottom: 3px;
}

.blog-stat-item span {
    font-size: 0.9rem;
    color: #6c757d;
}

.blog-detail-hero-title.has-featured-image {
    color: #fff;
}

.blog-detail-meta.has-featured-image {
    color: rgba(255, 255, 255, 0.9);
}

.blog-social-share .share-label.has-featured-image {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   BLOG ARCHIVE SELECT STYLES
   ============================================ */
.blog-archive-nav-section .form-control.archive-select {
    max-width: 150px;
}

/* ============================================
   BLOG LISTING BUTTON STYLES
   ============================================ */
.blog-newsletter-form .it__btn-2.radius.w-100 {
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* Grid Placeholders */
.intel-card-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.intel-card-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(90, 74, 227, 0.1) 0%, transparent 50%);
}

.intel-card-placeholder h4 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 80%;
}

/* Detail Hero placeholders */
.blog-detail-hero-placeholder {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.blog-detail-hero-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(90, 74, 227, 0.15) 0%, transparent 60%);
    opacity: 0.8;
}

.blog-detail-hero-placeholder .container {
    position: relative;
    z-index: 1;
}

/* Blog Detail Hero Specifics */
.blog-detail-hero {
    padding: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 60vh !important;
    display: flex;
    align-items: center;
}

.blog-detail-hero.has-featured-image {
    color: #fff;
}

.blog-detail-hero-section .hero-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: 0;
}

.blog-detail-hero-section .avatar-sm {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.blog-detail-hero .breadcrumb-item+.breadcrumb-item::before {
    color: inherit;
    opacity: 0.5;
}

.blog-content-area {
    line-height: 1.8;
    color: #334155;
    font-size: 1.1rem;
}

.blog-content-area h2,
.blog-content-area h3,
.blog-content-area h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.blog-content-area h2 {
    font-size: 2rem;
}

.blog-content-area h3 {
    font-size: 1.75rem;
}

.blog-content-area p {
    margin-bottom: 1.5rem;
}

.blog-content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-content-area blockquote {
    padding: 2.5rem;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    margin: 2.5rem 0;
    color: #1e293b;
    font-size: 1.25rem;
}

.blog-content-area ul,
.blog-content-area ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content-area li {
    margin-bottom: 0.75rem;
}

/* Detail Sharing */
.blog-share-vertical {
    position: sticky;
    top: 100px;
}