/* =========================================
   Modern Insights Page Redesign
   ========================================= */

.modern-insights-area {
    padding: 80px 0;
    background-color: #fcfdfd;
}

/* ---- Category Filter Bar ---- */
.insights-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 52px;
}

.filter-btn {
    padding: 10px 26px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    background: #fff;
    color: #555;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-btn:hover {
    border-color: #061D19;
    color: #061D19;
    background: #f0faf9;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(6,29,25,0.1);
}

.filter-btn.active {
    background: #061D19;
    border-color: #061D19;
    color: #fff;
    box-shadow: 0 8px 20px rgba(6,29,25,0.25);
    transform: translateY(-2px);
}


/* Featured Insight Card */
.featured-insight-card {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 60px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.12);
}

.featured-insight-thumb {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.featured-insight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-insight-card:hover .featured-insight-thumb img {
    transform: scale(1.05);
}

.featured-insight-date {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.featured-insight-content {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insight-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #eaf5f4;
    color: #061D19;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    align-self: flex-start;
}

.featured-insight-title {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 24px;
    color: #061D19;
    transition: color 0.3s ease;
}

.featured-insight-title a {
    color: inherit;
    text-decoration: none;
}

.featured-insight-title a:hover {
    color: #0056b3;
}

.featured-insight-desc {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Premium Grid Cards */
.insight-card-premium {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.insight-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.1);
}

.insight-card-thumb {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.insight-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.insight-card-premium:hover .insight-card-thumb img {
    transform: scale(1.08);
}

.insight-date-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.insight-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.insight-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #061D19;
}

.insight-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.insight-card-title a:hover {
    color: #007bff;
}

.insight-card-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #061D19;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: auto;
}

.read-more-btn i {
    width: 32px;
    height: 32px;
    background: #eaf5f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #007bff;
}

.read-more-btn:hover i {
    background: #007bff;
    color: #fff;
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .featured-insight-thumb, .featured-insight-content {
        width: 100%;
    }
    .featured-insight-content {
        padding: 40px 30px;
    }
    .featured-insight-title {
        font-size: 26px;
    }
}
