:root {
    --text-color: #334155;
    /* Darker, richer slate grey */
    --heading-color: #1e293b;
    /* Darker slate for headings */
    --highlight-color: #EAB63E;
    --bg-color: #EBECED;
    /* Warm Grey from Loomfactor.com */
    --bg-secondary: #f8f9fa;
    --font-main: 'Geist Sans', system-ui, -apple-system, sans-serif;
    --spacing-unit: 1rem;
    --max-width: 1200px;
    --content-width: 720px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    /* Slightly tighter line height for larger font */
    font-size: 20px;
    /* Larger editorial size */
    letter-spacing: -0.01em;
    /* Tighter tracking for modern sans */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1em;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.8rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.1em !important;
    letter-spacing: -0.03em;
    color: #1d2856 !important;
}

/* Auto-TOC H2 Styling target */
h2 {
    font-size: 2rem;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
    position: relative;
    scroll-margin-top: 2em;
    /* Smooth scroll offset */
}

p {
    margin-bottom: 1.5em;
}

/* Highlight Box / Blockquote Styling */
.post-content blockquote,
.post-content .wp-block-quote,
.highlight-box {
    background: var(--bg-secondary);
    border-left: 4px solid var(--highlight-color);
    padding: 2rem;
    margin: 2.5rem 0;
    font-size: 1.1em;
    font-weight: 500;
    color: var(--heading-color);
    border-radius: 0 8px 8px 0;
    box-shadow: none !important;
    /* Reset generic theme shadows if any */
}

/* Ensure Paragraphs inside quotes don't add extra margin */
.post-content blockquote p:last-child,
.post-content .wp-block-quote p:last-child {
    margin-bottom: 0;
}

/* Custom Lists */
.post-content ul,
.post-content .wp-block-list {
    margin-bottom: 1.5em;
    padding-left: 1.5rem;
    /* Ensure indentation exists */
    list-style: none !important;
    /* Force remove default bullets */
}

.post-content ul li,
.post-content .wp-block-list li {
    list-style: none !important;
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.5em;
}

.post-content ul li::before,
.post-content .wp-block-list li::before {
    content: "■";
    color: var(--highlight-color);
    font-size: 0.6em;
    position: absolute;
    left: -1.5rem;
    /* Position relative to the li padding */
    top: 0.6em;
}

/* Layout */
/* Full Width Image */
/* Layout */
/* Full Width Image - Modified to Contained */
.featured-image-container-full {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    max-height: 480px;
    /* Reduced height */
    padding: 0 2rem;
    /* Align with page content */
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    /* Rounded corners for contained look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Layout */
.category-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--bg-secondary);
    color: var(--heading-color);
    border-radius: 100px;
    /* Pill shape */
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy transition */
    cursor: default;
}

.category-tag:hover {
    transform: rotate(-3deg) scale(1.05);
    /* Tilt and slight grow */
    background-color: var(--highlight-color);
    box-shadow: 0 4px 12px rgba(234, 182, 62, 0.3);
}

.main-article-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem;
    /* Adjusted padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-content {
    max-width: 800px;
}

/* Remove old featured image styles from here if any */

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    /* Content | Sidebar */
    gap: 5rem;
    position: relative;
    align-items: start;
}

/* Right Sidebar */
.sidebar-right {
    display: block;
    height: 100%;
}

.sidebar-sticky-wrapper {
    position: sticky;
    top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    /* Space between TOC and Author */
}

/* TOC Styles in Sidebar */
.toc-container {
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.toc-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--heading-color);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.7;
}

#table-of-contents {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.toc-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: all 0.2s ease;
    display: block;
    border-left: 2px solid transparent;
    /* Keep the indicator styling */
    padding-left: 1rem;
    margin-left: 0;
}

.toc-link:hover {
    color: var(--heading-color);
}

.toc-link.active {
    color: var(--heading-color);
    font-weight: 500;
    border-left-color: var(--highlight-color);
}

/* Author Styles in Sidebar */
.author-container {
    background: rgb(241, 241, 241) !important;
    padding: 2rem;
    border-radius: 8px;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.author-bio {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Advanced Button Styling with Rolling Text */
.follow-btn {
    display: inline-block;
    position: relative;
    background-color: var(--highlight-color);
    color: #000000;
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    overflow: hidden;
    /* Click clipping */
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0px 3px 29px -8px rgba(0, 0, 0, 0.39);
    height: 3.2rem;
    /* Fixed height for roll effect */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The "Primary" Text */
.follow-btn::before {
    content: "Check Out Profile";
    /* Visible text */
    display: block;
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(0);
}

/* The "Secondary" Text (Hidden below) */
.follow-btn::after {
    content: "Let's Connect";
    /* Text that rolls in */
    display: block;
    position: absolute;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    font-weight: 600;
}

/* Hide original text to avoid double layer */
.follow-btn {
    color: transparent !important;
}

.follow-btn::before,
.follow-btn::after {
    color: #000000;
    /* Visible colors */
}

/* Hover State */
.follow-btn:hover {
    background-color: #fccc4c;
    box-shadow: 0px 5px 32px -8px rgba(0, 0, 0, 0.45);
    transform: scale(1.02);
}

/* The Roll Animation */
.follow-btn:hover::before {
    transform: translateY(-150%);
    /* Slide primary up */
}

.follow-btn:hover::after {
    transform: translateY(0);
    /* Slide secondary in */
}


/* --- Services Button Variant (Header Widget) --- */
/* --- Services Button Variant (Header Widget) --- */
.services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--highlight-color);
    color: transparent !important;
    /* Hide real text */
    text-decoration: none;
    padding: 0 1.6rem;
    /* Horizontal padding only */
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    /* Bolder */
    text-transform: capitalize;
    letter-spacing: 0.02em;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0px 3px 29px -8px rgba(0, 0, 0, 0.39);
    height: 3.2rem;
    min-width: 140px;
}

.services-btn::before,
.services-btn::after {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    color: #000000;
    /* Visible Text Color */
}

.services-btn::before {
    content: "Our Services";
    transform: translateY(0);
}

.services-btn::after {
    content: "Explore";
    transform: translateY(100%);
    /* Start completely pushed down */
}

.services-btn:hover {
    background-color: #fccc4c;
    box-shadow: 0px 5px 32px -8px rgba(0, 0, 0, 0.45);
    transform: scale(1.02);
}

.services-btn:hover::before {
    transform: translateY(-100%);
    /* Push up */
}

.services-btn:hover::after {
    transform: translateY(0);
    /* Bring center */
}



/* Premium Content Styling */
.post-content strong {
    color: var(--heading-color);
    font-weight: 700;
}

.post-content a {
    color: var(--heading-color);
    text-decoration: none;
    border-bottom: 2px solid var(--highlight-color);
    transition: background 0.2s;
}

.post-content a:hover {
    background: rgba(234, 182, 62, 0.15);
    /* Highlight color transparent */
}

/* Custom Lists */
/* Custom Lists */
.post-content ul,
.post-content .wp-block-list {
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-bottom: 1.5em;
    list-style: none !important;
}

.post-content ul li,
.post-content .wp-block-list li {
    list-style: none !important;
    position: relative;
    padding-left: 1.5rem;
    /* Space for bullet */
    margin-bottom: 0.5em;
}

.post-content ul li::before,
.post-content .wp-block-list li::before {
    content: "■";
    color: var(--highlight-color);
    font-size: 0.6em;
    position: absolute;
    left: 0;
    /* Align bullet to start of block */
    top: 0.6em;
}

/* Content Images */
.post-content img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
    width: 100%;
    height: auto;
}

/* Responsive */

@media (max-width: 900px) {
    .page-wrapper {
        grid-template-columns: 1fr;
        /* Stack */
        gap: 3rem;
    }

    .sidebar-right {
        order: 2;
        /* Put sidebar at bottom */
    }

    .sidebar-sticky-wrapper {
        position: static;
    }

    .toc-container {
        display: none;
        /* Often hidden on mobile or moved */
    }
}

/* ==========================================================================
   Archive Page Styles
   ========================================================================== */

/* Main Container */
.pitch-deck-archive.content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* Header */
.archive-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 3rem 0;
}

.archive-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.archive-subtitle {
    font-size: 1.2rem;
    color: #334155;
    opacity: 0.8;
}

/* Grid Layout */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    gap: 2.5rem;
}

@media (max-width: 1100px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns */
    }
}

@media (max-width: 700px) {
    .posts-grid {
        grid-template-columns: 1fr;
        /* 1 Column */
    }
}

/* Post Card */
.post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    /* Very subtle default */
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    /* Lift effect */
}

/* Card Image */
.post-card-image-link {
    display: block;
    aspect-ratio: 16/9;
    /* Consistent Image Size */
    overflow: hidden;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image {
    transform: scale(1.05);
    /* Image zoom on hover */
}

/* Card Content */
.post-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #EAB63E;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.post-card-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    margin-top: 0;
}

.post-card-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.post-card-title a:hover {
    color: #EAB63E;
}

.post-card-excerpt {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 2rem;
    flex-grow: 1;
    /* Push button down */
}

/* Read More Link */
.read-more-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.read-more-link .arrow {
    margin-left: 0.5rem;
    transition: transform 0.2s;
}

.read-more-link:hover {
    color: #EAB63E;
}

.read-more-link:hover .arrow {
    transform: translateX(5px);
}


/* Pagination */
.archive-pagination {
    margin-top: 4rem;
    text-align: center;
    grid-column: 1 / -1;
    /* Span full width */
}

.archive-pagination .page-numbers {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin: 0 0.2rem;
    background: white;
    color: #1e293b;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: #1e293b;
    color: white;
}
.site-info{
background: none !important;}