/* ==========================================================================
   Insights Hub Stylesheet
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 7rem 2rem 5rem;
    background-color: #f8fafc;
    background-image: radial-gradient(rgba(13, 148, 136, 0.1) 1px, transparent 1px), radial-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px), linear-gradient(135deg, #f8fafc 0%, #f0fdfa 50%, #e6fffa 100%);
    background-size: 20px 20px, 40px 40px, 100% 100%;
    background-position: 0 0, 10px 10px, 0 0;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.22) 0%, rgba(13, 148, 136, 0.05) 50%, transparent 80%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    z-index: 2;
}

.hero-badge,
.hero-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ccfbf1;
    color: #0f766e;
    padding: 0.45rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border: 1px solid #99f6e4;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero-content h1 .highlight {
    color: var(--color-primary, #0d9488);
}

.hero-content p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 1.5rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-primary-btn {
    background-color: var(--color-primary, #0d9488);
    color: #ffffff;
    border: 1px solid var(--color-primary, #0d9488);
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.85rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-primary-btn:hover {
    background-color: var(--color-primary-dark, #0f766e);
    border-color: var(--color-primary-dark, #0f766e);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.hero-secondary-btn {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.85rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-secondary-btn:hover {
    border-color: var(--color-primary, #0d9488);
    color: var(--color-primary, #0d9488);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

/* Filter Tabs */
.filter-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 4rem 0 2.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary, #0d9488);
    border-color: var(--color-primary, #0d9488);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

/* 3-Column Grid Blog Cards */
.insights-feed-section {
    padding: 5rem 2rem 9rem;
    background: #fafbfc;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.article-card {
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary, #0d9488);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
}

.article-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-img-wrap img {
    transform: scale(1.04);
}

.article-tag-chip {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #2dd4bf;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.article-content h3 {
    font-size: 1.3rem;
    color: #0f172a;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    transition: color 0.2s;
}

.article-card:hover .article-content h3 {
    color: var(--color-primary, #0d9488);
}

.article-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
    font-size: 0.825rem;
    color: #94a3b8;
    font-weight: 500;
}

.article-arrow-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    opacity: 0.5;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover .article-arrow-icon {
    opacity: 1;
    color: #ffffff;
    background: var(--color-primary, #0d9488);
    border-color: var(--color-primary, #0d9488);
    transform: translate(2px, -2px);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

.no-results-msg {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border: 1px dashed #e2e8f0;
    border-radius: 1.25rem;
    color: #64748b;
}

@media(max-width: 1024px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media(max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 8rem;
    }
}
