/* ========================================
   Insights Article Content Styling
   ======================================== */

.insights-article {
    color: #d1d5db; /* gray-300 */
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Headings */

.insights-article h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 1.5rem;
}

.insights-article h2 {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin: 3rem 0 1rem;
}

.insights-article h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
    color: rgb(94 130 234 / var(--tw-text-opacity)) !important;
    margin: 2rem 0 0.75rem;
}

.insights-article h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

/* Paragraphs */

.insights-article p {
    margin-bottom: 1.5rem;
}

/* Links */

.insights-article a {
    color: #60a5fa; /* matches text-blue-400 */
    text-decoration: none;
    transition: color .2s ease;
}

.insights-article a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Utility */

.insights-article .blue {
    color: #60a5fa;
}

/* Lists */

.insights-article ul,
.insights-article ol {
    margin: 1.5rem 0;
    padding-left: 1.75rem;
}

.insights-article ul {
    list-style: disc;
}

.insights-article ol {
    list-style: decimal;
}



/* Images */

.insights-article img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2rem auto;
}

/* Quotes */

.insights-article blockquote {
    border-left: 4px solid #60a5fa;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-size: 1.25rem;
    font-style: italic;
    color: #e5e7eb;
}

/* Divider */

.insights-article hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 3rem 0;
}

/* Tables */

.insights-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.insights-article th,
.insights-article td {
    border: 1px solid #374151;
    padding: 0.75rem 1rem;
}

.insights-article th {
    background: #111827;
    color: white;
    text-align: left;
}

/* Code */

.insights-article code {
    background: #1f2937;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.insights-article pre {
    background: #111827;
    padding: 1.25rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.insights-article pre code {
    background: none;
    padding: 0;
}

.insights-author {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.insights-author-image {
    flex: 0 0 90px;
}

.insights-author-image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
}

.insights-author-content {
    flex: 1;
}

.insights-author-label {
    display: block;
    margin-bottom: 0.25rem;
    color: rgb(94, 130, 234);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.insights-author h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.insights-author h3 a {
    color: inherit;
    text-decoration: none;
}

.insights-author h3 a:hover {
    color: rgb(94, 130, 234);
}

.insights-author-title {
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.9rem;
}

.insights-author p {
    margin: 0.75rem 0 1rem;
    line-height: 1.65;
}

.insights-author-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.insights-author-link,
.insights-author-linkedin {
    color: rgb(94, 130, 234);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.insights-author-link:hover,
.insights-author-linkedin:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .insights-author {
        gap: 1rem;
        padding: 1.5rem;
    }

    .insights-author-image {
        flex: 0 0 65px;
    }

    .insights-author-image img {
        width: 65px;
        height: 65px;
    }

    .insights-author-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}