/* ========== BLOG: HIDDEN COST FINANCE - PREFIX 'hcf-' ========== */

/* Hero Section */
.hcf-hero-section {
    min-height: 35vh;
    display: flex;
    align-items: center;
    padding: 1rem 0;
    background: linear-gradient(145deg, var(--bg-color), var(--bg-color-sepration));
    position: relative;
    overflow: hidden;
}

.hcf-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.hcf-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hcf-breadcrumb {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.hcf-breadcrumb a {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 500;
}

.hcf-breadcrumb a:hover {
    text-decoration: underline;
}

.hcf-breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-medium);
}

/* Hero Image Styles */
.hcf-hero-image-wrapper {
    margin-bottom: 2rem;
    /* margin-top: 1rem; */
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--white-color);  /* NEW - white background */
    padding: 3rem;
}

.hcf-hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

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

.hcf-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hcf-dots-pattern {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 250px;
    height: 250px;
    background-image: radial-gradient(var(--primary-navy) 2px, transparent 2px);
    background-size: 25px 25px;
    opacity: 0.03;
    z-index: 1;
}

/* Main Content Section */
.hcf-content-section {
    padding: 1rem 0 5rem;
    background: var(--white-color);
}

.hcf-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

/* Main Content Styles */
.hcf-main-content {
    background: var(--white-color);
    border-radius: 40px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 45px -25px rgba(19,41,75,0.1);
}

/* Section Blocks */
.hcf-section-block {
    margin-bottom: 2.5rem;
}

.hcf-section-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.hcf-section-icon {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--primary-navy);
}

.hcf-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
}

.hcf-section-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.2rem;
}

/* Bullet Lists */
.hcf-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.hcf-bullet-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.hcf-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--primary-navy);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Subheadings */
.hcf-subheading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 1.5rem 0 1rem 0;
}

/* CTA Block */
.hcf-cta-block {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1e3a5f 100%);
    border-radius: 30px;
    padding: 2.5rem;
    margin-top: 3rem;
    color: var(--white-color);
    text-align: center;
}

.hcf-cta-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hcf-cta-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hcf-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hcf-btn-primary {
    background: var(--white-color);
    color: var(--primary-navy);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.hcf-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
    background: var(--white-color);
}

.hcf-btn-secondary {
    background: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.hcf-btn-secondary:hover {
    background: var(--white-color);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

/* Sidebar Styles */
.hcf-sidebar {
    position: sticky;
    top: 2rem;
}

.hcf-sidebar-card {
    background: var(--white-color);
    border-radius: 30px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px -15px rgba(19,41,75,0.1);
}

.hcf-sidebar-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
}

/* Stats */
.hcf-stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-color-sepration);
    border-radius: 20px;
    margin-bottom: 1rem;
}

.hcf-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.2;
}

.hcf-stat-label {
    font-size: 0.85rem;
    color: var(--text-medium);
}

/* Sidebar Lists */
.hcf-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hcf-sidebar-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.hcf-sidebar-list li:last-child {
    border-bottom: none;
}

.hcf-sidebar-list li i {
    color: var(--primary-navy);
    font-size: 0.75rem;
    width: 1.2rem;
}

.hcf-sidebar-list li .fa-check-circle {
    font-size: 1rem;
}

/* Related Card - Read More Blogs */
.hcf-related-card {
    background: linear-gradient(145deg, var(--bg-color-sepration), var(--white-color));
}

.hcf-related-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 1.2rem;
}

.hcf-related-link {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hcf-related-link:hover {
    gap: 0.8rem;
}

.hcf-related-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.hcf-related-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hcf-content-grid {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .hcf-hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .hcf-container {
        padding: 0 2rem;
    }
    
    .hcf-content-grid {
        grid-template-columns: 1fr;
    }
    
    .hcf-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hcf-sidebar-card {
        margin-bottom: 0;
    }
    
    .hcf-related-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hcf-hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hcf-hero-title {
        font-size: 2rem;
    }
    
    .hcf-hero-image-wrapper {
        margin-bottom: 1.5rem;
        border-radius: 20px;
    }
    
    .hcf-hero-image {
        border-radius: 20px;
    }
    
    .hcf-main-content {
        padding: 2rem;
    }
    
    .hcf-section-title {
        font-size: 1.5rem;
    }
    
    .hcf-cta-heading {
        font-size: 1.3rem;
    }
    
    .hcf-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hcf-btn-primary,
    .hcf-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hcf-sidebar {
        grid-template-columns: 1fr;
    }
    
    .hcf-related-card {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hcf-container {
        padding: 0 1.2rem;
    }
    
    .hcf-hero-title {
        font-size: 1.6rem;
    }
    
    .hcf-hero-image-wrapper {
        margin-bottom: 1rem;
        border-radius: 15px;
    }
    
    .hcf-hero-image {
        border-radius: 15px;
    }
    
    .hcf-main-content {
        padding: 1.5rem;
        border-radius: 30px;
    }
    
    .hcf-section-header {
        flex-wrap: wrap;
    }
    
    .hcf-section-icon {
        font-size: 1.5rem;
    }
    
    .hcf-section-title {
        font-size: 1.3rem;
    }
    
    .hcf-cta-block {
        padding: 1.8rem;
    }
    
    .hcf-cta-heading {
        font-size: 1.2rem;
    }
}




/* ========== RECENT BLOGS WITH IMAGES ========== */

.hcf-recent-blogs-card {
    background: var(--white-color);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.hcf-sidebar-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    letter-spacing: -0.2px;
}

.hcf-recent-blogs-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom scrollbar */
.hcf-recent-blogs-list::-webkit-scrollbar {
    width: 4px;
}

.hcf-recent-blogs-list::-webkit-scrollbar-track {
    background: var(--grey-border);
    border-radius: 10px;
}

.hcf-recent-blogs-list::-webkit-scrollbar-thumb {
    background: var(--primary-navy);
    border-radius: 10px;
}

.hcf-recent-blog-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.hcf-recent-blog-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Image Styles */
.hcf-recent-blog-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-color-sepration);
}

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

.hcf-recent-blog-item:hover .hcf-recent-blog-image img {
    transform: scale(1.05);
}

/* Content Styles */
.hcf-recent-blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.hcf-recent-blog-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.3;
    margin: 0;
}

.hcf-recent-blog-description {
    font-size: 0.8rem;
    color: var(--text-medium);
    line-height: 1.4;
    margin: 0;
}

.hcf-recent-blog-readmore {
    font-size: 0.75rem;
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
    margin-top: 0.2rem;
}

.hcf-recent-blog-readmore:hover {
    color: var(--accent-slate);
    gap: 0.5rem;
}

/* View All Button */
.hcf-view-all-container {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.hcf-view-all-link {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.hcf-view-all-link:hover {
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hcf-recent-blogs-card {
        padding: 1.2rem;
    }
    
    .hcf-recent-blog-image {
        width: 65px;
        height: 65px;
    }
    
    .hcf-recent-blog-title {
        font-size: 0.85rem;
    }
    
    .hcf-recent-blog-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hcf-recent-blog-image {
        width: 55px;
        height: 55px;
        border-radius: 10px;
    }
}