.hero-blog-section {
    background: #FAF6FF;
}
.main-title {
    color: var(--primary-color);
    letter-spacing: -1px;
}

.custom-btn {
    background-color: var(--secondary-color);
    border-radius: 50px;
    transition: transform 0.2s ease;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.custom-btn:hover {
    transform: translateY(-2px);
    background-color: var(--secondary-color)
}

.hero-img-container {
    padding-left: 20px; /* Space for the badge overlap */
}

.main-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 40px !important;
}

.stats-badge {
    position: absolute;
    bottom: 30px;
    left: 0; /* Aligns with the container edge */
    background: #fff;
    padding: 12px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 130px;
}

.icon-circle {
    background: var(--primary-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.views-count {
    color: var(--primary-color);
}

.text-purple a {
    color: var(--primary-color);
    transition: color 0.2s ease-in-out;
}

.text-purple a:hover {
    color: var(--primary-color);
    text-decoration: underline !important;
}

.overflow-hidden a {
    display: block;
    overflow: hidden;
}

.hover-zoom {
    transition: transform 0.5s ease;
}

.card:hover .hover-zoom {
    transform: scale(1.05);
}

.newsletter-input::placeholder {
    color: #99A1AF;
}

.bg-dark-gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    pointer-events: none; /* Allows clicks to pass through to the <a> tag behind it */
}
.bg-dark-gradient a, 
.bg-dark-gradient span {
    pointer-events: auto;
}

.update-card {
    height: 380px; /* Adjust height as needed */
    transition: transform 0.3s ease;
}

.update-card:hover {
    transform: translateY(-8px);
}

.update-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.update-card .badge {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 0.7rem;
}

.tiny { font-size: 0.75rem; }
a.overlay-card-wrap {
    height: 320px;
    position: relative;
}

.btn-purple { 
    background-color: #4b0082 !important; 
    color: white !important; 
    transition: all 0.3s ease;
}
.btn-purple:hover {
    background-color: #310055 !important;
    transform: scale(1.02);
}

/* Badge Styling */
.bg-light-purple {
    background-color: #DBEAFE !important;
    letter-spacing: 1px;
    font-size: 0.75rem;
    car(
    --prima: beige);
    color: var(--primary-color);
}

/* Form Container Styling */
.bg-light-gray {
    background-color: #f4f4f9;
}

.subscription-form input {
    border: 1px solid rgba(0,0,0,0.05);
    background-color: #f4f4f9 !important;
    flex: 1;
}

.subscription-form input:focus {
    box-shadow: none;
    outline: none;
}

.tiny {
    font-size: 0.8rem;
    opacity: 0.8;
}
.updates-slider .slick-track {
    padding-top: 1.4rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .subscription-form {
        border-radius: 15px !important;
    }
    .main-hero-img {
        height: 300px;
    }
    .hero-blog-section .lead {
        font-size: 1.1rem;
        font-weight: 300;
    }
    .featured-stories a.image-wrapper {
        height: 220px;
        display: block;
    }
    .latest-updates h2, section.featured-stories h2 {
        font-size: 1.5rem;
    }
    
    .latest-updates .sub-text, section.featured-stories .sub-text {
        font-size: 0.9rem;
    }
    .hero-img-container {
        padding-left: 0px;
    }
    .updates-slider .slick-list.draggable {
        padding-right: 21%;
    }
}