/*
Theme Name: WBA Consulting Custom
Theme URI: https://wbaconsulting.org
Description: Custom theme for WBA Consulting - professional services and consulting
Version: 1.0.0
Author: WBA Consulting
Author URI: https://wbaconsulting.org
Text Domain: wba-consulting
*/

/* CSS Variables */
:root {
    --primary-color: #0f172a;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --accent-soft: #7dd3fc;
    --text-color: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-subtle: #fafbfc;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Link Styling */
a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: #fafbfc;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

html {
    margin: 0;
    padding: 0;
}

/* Override WordPress body class constraints on single posts */
body.wp-singular,
body.single-post {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.site-title:hover {
    color: var(--secondary-color);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 6rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 60%);
    pointer-events: none;
}

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

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.92;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    background: rgba(255,255,255,0.98);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    color: white;
}

/* Main Content */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
    display: block;
}

/* Single post content - NO max-width, let article-layout handle it */
.site-content-single {
    max-width: none;
    width: 100%;
    padding: 3rem 0;
}

.content-wrapper {
    background: var(--background);
    padding: 0 2rem;
}

/* Remove these - not needed anymore */
.content-wrapper-wide {
    display: none;
}

@media (max-width: 1024px) {
    .content-wrapper-wide {
        padding: 0 2rem;
    }
}

/* Page/Post Content */
.entry-content {
    line-height: 1.8;
}

.entry-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 2rem;
}

.entry-content h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.5rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Homepage Sections */
.intro-section {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 5rem;
}

.intro-section h2 {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.intro-section .lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.focus-areas-section {
    margin: 5rem 0;
}

.focus-areas-section h2 {
    text-align: center;
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.approach-section {
    margin: 5rem 0;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

.approach-section h2 {
    text-align: center;
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.approach-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.approach-point {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.approach-point:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: var(--secondary-color);
}

.approach-point h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.approach-point p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.infrastructure-note {
    margin: 4rem 0;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
}

.infrastructure-note p {
    margin: 0;
    color: var(--text-color);
    font-style: italic;
    font-size: 0.95rem;
}

.cta-section {
    text-align: center;
    margin: 5rem 0;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 60%);
    pointer-events: none;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Blog/Posts Grid */
.recent-insights {
    margin: 5rem 0;
}

.recent-insights h2 {
    text-align: center;
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.insights-context {
    max-width: 850px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.post-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.post-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    border-color: var(--secondary-color);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--secondary-color);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-excerpt {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Analytical Context Boxes */
.analytical-context {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 0 0 2rem 0;
    border-radius: var(--radius);
    font-size: 0.95rem;
    line-height: 1.7;
}

.analytical-context strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.pagination {
    margin: 3rem 0;
    text-align: center;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: var(--background-alt);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover {
    background: var(--secondary-color);
    color: white;
}

.pagination .current {
    background: var(--primary-color);
    color: white;
}

/* Inquiries Page */
.inquiries-page {
    max-width: 900px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.inquiry-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--background-alt);
    border-radius: 8px;
}

.inquiry-sections {
    margin: 3rem 0;
}

.inquiry-section {
    margin-bottom: 3rem;
}

.inquiry-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.inquiry-section ul,
.inquiry-section ol {
    margin-left: 2rem;
    line-height: 1.8;
}

.inquiry-section li {
    margin-bottom: 0.75rem;
}

.contact-methods {
    margin: 4rem 0;
}

.contact-methods h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 8px;
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card .note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

.contact-card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.contact-card li {
    margin-bottom: 0.5rem;
}

.inquiry-note {
    margin: 3rem 0;
    padding: 1.5rem;
    background: var(--background-alt);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

.inquiry-note p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Cards/Grid */
.focus-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.focus-area-card,
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
}

/* Emphasize primary focus area (Framework Development) */
.focus-area-card.primary-focus {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.focus-area-card.primary-focus::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.focus-area-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--secondary-color);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    transition: height 0.3s ease;
}

.focus-area-card:hover::before {
    height: 100%;
}

.focus-area-card:hover,
.service-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    border-color: var(--secondary-color);
}

.focus-area-card h3,
.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.focus-area-card p,
.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-navigation {
    margin-bottom: 1rem;
}

.footer-navigation a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-navigation a:hover {
    color: white;
}

.footer-navigation span {
    margin: 0 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* About Page */
.about-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-page .page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-page .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.approach-item {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary-color);
}

.approach-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.analysis-areas {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.analysis-areas li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-cta {
    background: var(--background-alt);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 3rem;
}

.about-cta h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-cta a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Insights Page */
.insights-page .page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.insights-page .page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.insights-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.insights-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.insights-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.insight-area {
    background: var(--background);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.insight-area:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.insight-area h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.75rem;
}

.insight-area p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.insight-area strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.example-questions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.example-questions h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.example-questions ul {
    margin-left: 1.5rem;
}

.example-questions li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-light);
}

.insights-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 4rem;
}

.insights-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.insights-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.insights-cta .btn {
    background: white;
    color: var(--primary-color);
}

/* Single Post Template */
.single-post {
    /* Removed max-width - article-layout handles width now */
}

.entry-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.entry-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.category-badge:hover {
    background: var(--primary-color);
    text-decoration: none;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.entry-content h2 {
    color: var(--primary-color);
    margin: 2.5rem 0 1.25rem;
    font-size: 1.75rem;
    padding-top: 1rem;
}

.entry-content h3 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
    font-size: 1.35rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.entry-content li {
    margin-bottom: 0.75rem;
}

.entry-content code {
    background: var(--background-alt);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.entry-content pre {
    background: var(--background-dark);
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.entry-content pre code {
    background: none;
    padding: 0;
}

.entry-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 500;
}

.entry-content a:hover {
    color: var(--primary-color);
}

.entry-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--background-alt);
    font-style: italic;
}

.entry-footer {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.post-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.tag-link {
    background: var(--background-alt);
    color: var(--text-color);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag-link:hover {
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
}

/* Related Insights */
.related-insights {
    margin: 4rem auto;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    max-width: 1200px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.related-insights h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.related-post-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.related-post-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.related-post-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.related-post-card h3 a:hover {
    color: var(--secondary-color);
}

.related-post-card .post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 3rem auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    max-width: 1200px;
}

.post-navigation a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.post-navigation a:hover {
    color: var(--primary-color);
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.15rem;
    }
    
    .focus-areas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .approach-section {
        padding: 3rem 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-section h2,
    .focus-areas-section h2,
    .approach-section h2 {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 3rem 2rem;
    }
}

/* ===================================
   SOCIAL SHARE BUTTONS
   =================================== */

.share-buttons {
    margin: 40px 0;
    padding: 30px;
    background: var(--background-alt);
    border-radius: var(--radius);
    border-top: 3px solid var(--secondary-color);
}

.share-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.share-btn svg {
    flex-shrink: 0;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

/* Facebook */
.share-facebook {
    background: #1877f2;
    color: white;
}

.share-facebook:hover {
    background: #0d5fc6;
    color: white;
}

/* X (Twitter) */
.share-twitter {
    background: #000000;
    color: white;
}

.share-twitter:hover {
    background: #1a1a1a;
    color: white;
}

/* LinkedIn */
.share-linkedin {
    background: #0077b5;
    color: white;
}

.share-linkedin:hover {
    background: #005f8d;
    color: white;
}

/* Email */
.share-email {
    background: #64748b;
    color: white;
}

.share-email:hover {
    background: #475569;
    color: white;
}

/* Copy Link */
.share-copy {
    background: #10b981;
    color: white;
    border: none;
    cursor: pointer;
}

.share-copy:hover {
    background: #059669;
    color: white;
}

.share-copy.copied {
    background: #22c55e;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .share-icons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
        width: 100%;
    }
}

/* ===================================
   TABLE OF CONTENTS
   =================================== */

/* Article layout with sidebar */
.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-main {
    min-width: 0; /* Prevent grid blowout */
}

/* TOC Sidebar */
.toc-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
}

.toc-sidebar::-webkit-scrollbar {
    width: 4px;
}

.toc-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.toc-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 2px;
}

.toc-sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.toc-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-color);
}

.toc-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-item {
    margin: 4px 0;
}

.toc-indent {
    margin-left: 15px;
}

.toc-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.875rem;
    line-height: 1.4;
    border-left: 2px solid transparent;
}

.toc-link:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--secondary-color);
    text-decoration: none;
    border-left-color: var(--secondary-color);
}

.toc-link.active {
    background: rgba(59, 130, 246, 0.12);
    color: var(--secondary-color);
    font-weight: 600;
    border-left-color: var(--secondary-color);
}

/* Responsive TOC - Mobile gets full width on top */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .toc-sidebar {
        position: static;
        max-height: none;
        background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
        border: 1px solid #bae6fd;
        border-left: 4px solid var(--secondary-color);
        border-radius: var(--radius);
        padding: 20px;
        order: -1; /* Move to top */
    }
    
    .toc-header {
        border-bottom: 1px solid #bae6fd;
    }
}

/* ===================================
   COPY LINK MODAL
   =================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--background-alt);
    color: var(--text-color);
}

.modal-body {
    padding: 25px;
}

.link-copy-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.link-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    color: var(--text-color);
    background: var(--background-alt);
}

.link-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
}

.copy-icon-btn {
    padding: 12px 16px;
    background: var(--secondary-color);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-icon-btn:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.copy-icon-btn:active {
    transform: scale(0.95);
}

.copy-feedback {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: #d1fae5;
    text-align: center;
}



