/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES (home.blade.php)
   ========================================================================== */

/* Latest Insights & Blogs Grid */
.home-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

@media (max-width: 991px) {
    .home-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-blogs-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Section Headers */
.home-insights-header {
    margin-top: 48px;
}

/* Blog Card Item Styles */
.home-blog-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.home-blog-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
    width: 100%;
}

.home-blog-card-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    background-color: #bd4a3c;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.home-blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.home-blog-card-author {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.home-blog-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 10px;
}

.home-blog-card-title a {
    color: #0f172a;
    text-decoration: none;
}

.home-blog-card-excerpt {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.home-blog-card-footer {
    margin-top: auto;
    padding-top: 10px;
}

.home-blog-card-read-link {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
}

.hero-tag-link {
    color: inherit;
    text-decoration: none;
}
