/* Section wrapper */
.news-section {
    background-color: #0f172a; /* slate-900 */
    color: #fff;
    position: relative;
    height: 40vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Container */
.news-container {
    max-width: 70rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.page-hero {
    position: relative;
    background-color: #0f172a;
    color: #fff;
    height: 40vh;
    display: flex;
    align-items: center;
}

.page-hero .container {
    max-width: 70rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

@media (min-width: 640px) {
    .page-hero .container {
        padding: 0 1.5rem;
    } /* sm:px-6 */
}
@media (min-width: 1024px) {
    .page-hero .container {
        padding: 0 2rem;
    } /* lg:px-8 */
}

/* Subtitle */
.news-subtitle {
    display: block;
    color: #60a5fa; /* blue-400 */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem; /* reduced from text-sm (0.875rem) */
    margin-bottom: 1rem;
}

/* Title */
.news-title {
    font-size: 3rem; /* reduced from text-5xl (3rem) */
    font-weight: bold;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .news-title {
        font-size: 3.5rem; /* reduced from text-6xl (3.75rem) */
    }
}

/* Text */
.news-text {
    font-size: 1.2rem; /* reduced from text-xl (1.25rem) */
    color: #cbd5e1; /* slate-300 */
    max-width: 70rem; /* max-w-3xl */
    line-height: 1.6;
    font-weight: 300;
}

/* Section wrapper */
.tabs-section {
    background-color: #fff;
    border-bottom: 1px solid #f1f5f9; /* slate-100 */
    position: sticky;
    top: 4rem;
    z-index: 40;
}

/* Container */
.tabs-container {
    max-width: 70rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    gap: 2rem; /* space-x-8 */
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}
.tabs-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Tab buttons */
.tab {
    font-size: 0.85rem; /* text-sm */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    color: #94a3b8; /* slate-400 */
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #0f172a; /* slate-900 */
}

/* Active tab */
.tab.active {
    color: #2563eb; /* blue-600 */
    border-bottom-color: #2563eb;
}
.insights-section {
    padding: 6rem 0; /* py-24 */
    background-color: #f8fafc; /* slate-50 */
}

.insights-container {
    max-width: 70rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .insights-container {
        padding: 0 1.5rem;
    }
}
@media (min-width: 1024px) {
    .insights-container {
        padding: 0 2rem;
    }
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem; /* gap-12 */
}

@media (min-width: 768px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .insights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.insight-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 2.5rem;
    overflow: hidden;
    border: 1px solid #f1f5f9; /* slate-100 */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.insight-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image */
.card-image {
    position: relative;
    height: 16rem; /* h-64 */
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.insight-card:hover .card-image img {
    transform: scale(1.1);
}

/* Tag */
.card-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.625rem; /* text-[10px] */
    font-weight: bold;
    text-transform: uppercase;
    color: #2563eb; /* blue-600 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Body */
.card-body {
    padding: 2.5rem; /* p-10 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Meta */
.card-meta {
    color: #94a3b8; /* slate-400 */
    font-size: 0.75rem; /* text-xs */
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Title */
.card-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: bold;
    color: #0f172a; /* slate-900 */
    margin-bottom: 1.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.insight-card:hover .card-title {
    color: #2563eb; /* blue-600 */
}

/* Text */
.card-text {
    color: #475569; /* slate-600 */
    font-size: 0.9rem; /* slightly smaller than text-sm */
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Footer */
.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    font-size: 0.75rem; /* text-xs */
}

.author {
    color: #1e293b; /* slate-800 */
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.arrow {
    color: #2563eb; /* blue-600 */
    transition: transform 0.3s ease;
}

.insight-card:hover .arrow {
    transform: translateX(0.5rem);
}
