/* ============================================
   Custom Blog Posts - Frontend Styles
   ============================================ */

/* Import Work Sans Font */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400 !important;500 !important;600 !important;700&display=swap');

* {
    box-sizing: border-box;
    font-family: "Work Sans", sans-serif;
}

h1, h2,h3,h4,h5,h6,p{
        font-family: "Work Sans", sans-serif !important;
}

a{
    text-decoration: auto !important;
}

/* ============================================
   TYPOGRAPHY STANDARDS - ENFORCED
   ============================================ */

/* Force H2 section titles to 1.8rem */
.cs-blog-content h2,
.cs-blog-content .wp-block-heading h2,
article h2 {
    font-size: 1.8rem !important;
}

/* Force paragraphs to 16px */
.cs-blog-content p,
.cs-blog-content .wp-block-paragraph,
article p {
    font-size: 16px !important;
}

/* Images in content - ensure spacing */
.cs-blog-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px 0;
    border-radius: 8px;
}

.cs-blog-content figure {
    margin: 40px 0;
}

.cs-blog-content figure img {
    margin: 0;
}

.cs-blog-content figcaption {
    font-size: 14px;
    color: #6b7280;
    margin-top: 12px;
    text-align: center;
    font-style: italic;
}

/* Lists in content */
.cs-blog-content ul,
.cs-blog-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.cs-blog-content ul li,
.cs-blog-content ol li {
    font-size: 16px !important;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 10px;
}

/* ============================================
   FULL-WIDTH NEWSLETTER SECTIONS
   ============================================ */

/* Remove theme padding on blog pages */
.blog_post-template-default .site-content,
.post-type-archive-blog_post .site-content,
.tax-blog_category .site-content {
    padding: 0 !important;
}

/* Make newsletter sections break out of theme containers and go full-width */
.cs-newsletter-section,
.cbp-newsletter-section,
.cbp-category-newsletter-section {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

/* Newsletter content containers (centered) */
.cs-newsletter-container,
.cbp-newsletter-container,
.cbp-category-newsletter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.cbp-single-post {
    background: #ffffff;
}

/* Global Breadcrumbs */
.cbp-breadcrumbs {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.cbp-breadcrumbs a {
    color: #0B0C0C;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.cbp-breadcrumbs a:hover {
    color: #0B0C0C;
}

.cbp-breadcrumbs span {
    color: #0B0C0C;
    font-size: 14px;
    margin: 0 8px;
}

.cbp-breadcrumbs .current {
    color: #0B0C0C;
    font-weight: 500 !important;
}

.cs-blog-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    padding-top: 40px;
}

/* Hero Section */
.cs-hero-section {
    padding: 20px 0px;
}

.cs-breadcrumb {
    margin-bottom: 20px;
}

.cs-breadcrumb a {
    color: #0B0C0C;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.cs-breadcrumb a:hover {
    color: #0B0C0C;
}

.cs-meta-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.cs-meta-tag {
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600 !important;
    color: #0B0C0C;
}

.cs-meta-tag.cs-read-time {
    color: #0B0C0C;
}

.cs-hero-title {
    font-size: 32px;
    font-weight: 700 !important;
    color: #0B0C0C;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.cs-featured-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #d1d5db;
    margin-bottom: 24px;
}

.cs-featured-image img {
    width: 100%;
    height: 450px !important;
    display: block;
    object-fit: cover;
}

.cs-image-placeholder {
    width: 100%;
    height: 250px;
    background: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-image-placeholder svg {
    width: 60px;
    height: 60px;
    color: #9ca3af;
}

.cs-post-meta {
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    place-content: space-between;
}

.cs-meta-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.cs-meta-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cs-meta-label {
    font-size: 12px;
    color: #0B0C0C;
    font-weight: 400 !important;
}

.cs-meta-value {
    font-size: 14px;
    color: #0B0C0C;
    font-weight: 500 !important;
}

.cs-social-share {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.cs-share-icon {
       width: 50px;
    background: var(--Color-Scheme-1-Foreground, #F9F5EE);
    height: 50px;
    border-radius: 6px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cs-share-icon:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.cs-share-icon svg {
        width: 100px;
    height: 32px;
    color: #4b5563;
}

.cs-share-icon:hover svg {
    color: #0B0C0C;
}

/* Table of Contents Mobile */
.cs-toc-mobile {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.cs-toc-title {
    font-size: 14px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin-bottom: 16px;
}

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

.cs-toc-list li {
    padding-left: 12px;
    position: relative;
}

.cs-toc-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d1d5db;
}

.cs-toc-list a {
    color: #0B0C0C;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.cs-toc-list a:hover {
    color: #0B0C0C;
}

/* Content Wrapper */
.cs-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Main Content */
.cs-main-content {
    min-width: 0;
}

.cs-intro-section {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.cs-intro-section h2 {
    font-size: 20px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin-bottom: 16px;
}

.cs-intro-text {
    font-size: 14px;
    color: #0B0C0C;
    line-height: 1.8;
    margin-bottom: 16px;
}

.cs-intro-text:last-child {
    margin-bottom: 0;
}

.cs-main-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cs-main-text p {
    margin-bottom: 20px;
}

.cs-main-text h2 {
    font-size: 24px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin: 40px 0 20px;
}

.cs-content-image {
    width: 100%;
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.cs-content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-image-caption {
    font-size: 13px;
    color: #0B0C0C;
    margin-top: 8px;
    font-style: italic;
}

.cs-content-quote {
    border-left: 4px solid #0B0C0C;
    padding: 20px 24px;
    margin: 30px 0;
    background: #f9fafb;
    border-radius: 4px;
}

.cs-content-quote p {
    font-size: 14px;
    font-style: italic;
    color: #0B0C0C;
    line-height: 1.7;
    margin: 0;
}

/* CTA Inline (Mobile Only) */
.cs-cta-inline {
    background: #E8F6E9;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
}

.cs-cta-title {
    font-size: 24px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin-bottom: 12px;
}

.cs-cta-description {
    font-size: 14px;
    color: #0B0C0C;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cs-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.cs-grid-item {
    border-radius: 8px;
    overflow: hidden;
}

.cs-grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-grid-caption {
    font-size: 12px;
    color: #0B0C0C;
    margin-top: 8px;
    padding: 0 4px;
}

.cs-conclusion-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.cs-conclusion-section h2 {
    font-size: 24px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin-bottom: 20px;
}

/* Sidebar */
.cs-sidebar {
    position: sticky;
    top: 40px;
    align-self: start;
}

.cs-sidebar-widget {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.cs-widget-title {
    font-size: 14px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin-bottom: 16px;
}

.cs-widget-description {
    font-size: 14px;
    color: #0B0C0C;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cs-contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.cs-form-input:focus {
    outline: none;
    border-color: #10b981;
}

.cs-form-textarea {
    min-height: 100px;
    resize: vertical;
    font-family: "Work Sans", sans-serif;
}

.cs-form-submit {
    width: 100%;
    padding: 12px;
    background: #1E2B37;
    color: #ffffff;
    border: none;
    border-radius: 41px;
    font-size: 14px;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cs-form-submit:hover {
    background: #374151;
}

.cs-form-notice {
    font-size: 11px;
    color: #0B0C0C;
    line-height: 1.4;
}

.cs-form-notice a {
    color: #0B0C0C;
    text-decoration: underline;
}

/* Related Posts in Sidebar */
.cs-related-post-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 24px;
    transition: box-shadow 0.2s ease;
    overflow: hidden;
}

.cs-related-post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cs-related-label {
    width: max-content;
    font-size: 12px;
    margin-left: 20px;
    margin-bottom: 12px;
    font-weight: 600 !important;
    color: #0B0C0C;
    text-transform: capitalize;
    text-decoration: none;
    transition: color 0.2s ease;
    border-radius: 100px;
    border: 1px solid var(--Opacity-Neutral-Darkest-15, rgba(11, 12, 12, 0.15));
    background: var(--Opacity-Neutral-Darkest-5, rgba(11, 12, 12, 0.05));
    padding: 4px 10px;
}

.cs-related-title {
    font-size: 17px;
    font-weight: 500 !important;
    color: #0B0C0C;
    line-height: 1.4;
    margin-bottom: 12px;
    padding: 0 20px;
}

.cs-related-title a {
    color: #0B0C0C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cs-related-title a:hover {
    color: #0B0C0C;
}

.cs-related-excerpt {
        font-size: 13px;
    color: #0b0c0c;
    line-height: 1.6;
    margin-bottom: 12px;
    padding: 0 20px;
}

.cs-related-meta {
    display: flex;
    flex-wrap: wrap ;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
    padding: 0 20px;
    padding-bottom: 20px;
}

.cs-related-meta{

}

.cs-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600 !important;
    color: #0B0C0C;
    text-transform: uppercase;
}

.cs-related-author {
       font-weight: 600 !important;
    color: #000;
    font-size: 14px;
}

.cs-meta-separator {
    color: #d1d5db;
}

.cs-related-image {
    width: 100%;
    height: 180px;
    background: #e5e7eb;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.cs-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-related-image svg {
    width: 50px;
    height: 50px;
    color: #9ca3af;
}

/* Related Posts Section (Bottom) */
.cs-related-posts-section {
    margin-top: 80px;
    padding: 80px 20px;
    border-top: 2px solid #e5e7eb;
}

.cs-related-header {
    margin-bottom: 30px;
}

.cs-related-header h2 {
    font-size: 24px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin-bottom: 8px;
}

.cs-related-subtitle {
    font-size: 14px;
    color: #0B0C0C;
    margin-bottom: 16px;
}

.cs-view-all {
    color: #0B0C0C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600 !important;
    transition: color 0.2s ease;
}

.cs-view-all:hover {
    color: #0B0C0C;
}

.cs-related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cs-bottom-related-card {
    background: #E8F6E9;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs-bottom-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.cs-bottom-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cs-bottom-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cs-bottom-related-card:hover .cs-bottom-card-image img {
    transform: scale(1.05);
}

.cs-bottom-card-image svg {
    width: 60px;
    height: 60px;
    color: #9ca3af;
}

.cs-bottom-card-content {
    padding: 20px;
    background: #E8F6E9;
}

.cs-bottom-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
}

.cs-bottom-category {
        font-size: 12px;
    font-weight: 600 !important;
    color: #0B0C0C;
    text-transform: capitalize;
    text-decoration: none;
    transition: color 0.2s ease;
    border-radius: 100px;
    border: 1px solid var(--Opacity-Neutral-Darkest-15, rgba(11, 12, 12, 0.15));
    background: var(--Opacity-Neutral-Darkest-5, rgba(11, 12, 12, 0.05));
    padding: 4px 10px;
}

.cs-bottom-read-time {
    color: #0B0C0C;
}

.cs-bottom-card-title {
       font-size: 24px;
    font-weight: 400 !important;
    letter-spacing: -0.28px;
    color: #0B0C0C;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.cs-bottom-card-excerpt {
    font-size: 14px;
    color: #0B0C0C;
    line-height: 1.6;
    margin-bottom: 12px;
}

.cs-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600 !important;
    color: #0B0C0C;
}

.cs-bottom-related-card:hover .cs-read-more {
    text-decoration: underline;
}

/* Related Posts Carousel */
.cs-related-carousel {
    display: none;
}

.cs-related-carousel .swiper {
    padding-bottom: 50px;
}

.cs-related-carousel .swiper-pagination {
    bottom: 0 !important;
}

.cs-related-carousel .swiper-pagination-bullet {
    background: #0B0C0C;
    opacity: 0.3;
}

.cs-related-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Newsletter Section */
.cs-newsletter-section {
    margin: 0;
    padding: 40px 30px;
    background: #E8F6E9;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 50px;
}

.cs-newsletter-content h2 {
    font-size: 24px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin-bottom: 8px;
}

.cs-newsletter-content p {
    font-size: 14px;
    color: #0B0C0C;
    margin-bottom: 24px;
}

.cs-newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-newsletter-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.cs-newsletter-input:focus {
    outline: none;
    border-color: #10b981;
}

.cs-newsletter-submit {
    padding: 14px;
    background: #1E2B37;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cs-newsletter-submit:hover {
    background: #374151;
}

.cs-newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #0B0C0C;
    cursor: pointer;
    text-align: left;
}

.cs-newsletter-checkbox input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
}

.cs-newsletter-checkbox a {
    color: #0B0C0C;
    text-decoration: underline;
}

/* ============================================
   Category Archive Page Styles
   ============================================ */

.cbp-category-archive {
    background: #ffffff;
}

/* Category Header */
.cbp-category-header {
    padding: 0px 20px;
    text-align: center;
    background: #ffffff;
}

.cbp-category-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.cbp-category-label {
    font-size: 14px;
    font-weight: 600 !important;
    color: #0B0C0C;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.cbp-category-title {
    font-size: 48px;
    font-weight: 700 !important;
    color: #0B0C0C;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cbp-category-description {
       max-width: 500px;
    font-size: 14px;
    place-self: center;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Posts Grid Section */
.cbp-category-posts {
    padding: 40px 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.cbp-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Post Card */
.cbp-post-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cbp-post-card:hover {
    transform: translateY(-4px);
}

.cbp-post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cbp-post-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

.cbp-post-card:hover .cbp-post-card-image img {
    transform: scale(1.05);
}

.cbp-image-placeholder {
    width: 100%;
    height: 100%;
    background: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbp-image-placeholder svg {
    width: 60px;
    height: 60px;
    color: #9ca3af;
}

.cbp-post-card-content {
    padding: 0;
}

.cbp-post-category {
        font-size: 14px;
    font-weight: 500 !important;
    padding: 4px 10px;
    color: #1a1a1a;
    border-radius: 100px;
    border: 1px solid var(--Opacity-Neutral-Darkest-15, rgba(11, 12, 12, 0.15));
    background: var(--Opacity-Neutral-Darkest-5, rgba(11, 12, 12, 0.05));
}

.cbp-post-category:hover {
    color: #0B0C0C;
}

.cbp-post-title {
        font-size: 24px;
    font-weight: 400 !important;
    letter-spacing: -0.28px;
    color: #0B0C0C;
    line-height: 1.4;
    margin-top: 15px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.cbp-post-card:hover .cbp-post-title {
    color: #0B0C0C;
}

.cbp-post-excerpt {
    font-size: 15px;
    color: #0B0C0C;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Post Meta */
.cbp-post-meta {
    margin-top: 20px;
}

.cbp-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cbp-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600 !important;
    color: #0B0C0C;
    text-transform: uppercase;
    flex-shrink: 0;
}

.cbp-meta-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cbp-author-name {
    font-size: 14px;
    font-weight: 600 !important;
    color: #0B0C0C;
}

.cbp-meta-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9ca3af;
}

.cbp-meta-separator {
    color: #d1d5db;
}

.cbp-post-date,
.cbp-read-time {
    color: #9ca3af;
}

/* Pagination */
.cbp-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.cbp-pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cbp-pagination .page-numbers li {
    display: inline-block;
}

.cbp-pagination .page-numbers a,
.cbp-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500 !important;
    color: #0B0C0C;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cbp-pagination .page-numbers a:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.cbp-pagination .page-numbers .current {
    background: #0B0C0C;
    color: #ffffff;
    border-color: #0B0C0C;
}

/* No Posts Message */
.cbp-no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.cbp-no-posts p {
    font-size: 14px;
    color: #0B0C0C;
}

/* Category Newsletter Section */
.cbp-newsletter-section {
    background: #E8F6E9;
    padding: 80px 50px;
    margin: 0;
}

/* Archive Newsletter Section (between sections) */
/* Newsletter Section - Main Blog Archive */
.cbp-newsletter-section {
    padding: 50px 20px;
    background: #E8F6E9;
}

.cbp-newsletter-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cbp-newsletter-content {
    text-align: left;
}

.cs-newsletter-content h2{
       font-size: 38px;
    font-weight: 700 !important;
    color: #0B0C0C;
    letter-spacing: -0.44px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cs-newsletter-content p{
       font-size: 14px;
    color: #0B0C0C;
    font-weight: 400 !important;
    margin-bottom: 0;
    line-height: 1.6;
}


.cbp-newsletter-content h2 {
    font-size: 38px;
    font-weight: 700 !important;
    color: #0B0C0C;
    letter-spacing: -0.44px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cbp-newsletter-content p {
    font-size: 14px;
    color: #0B0C0C;
    font-weight: 400 !important;
    margin-bottom: 0;
    line-height: 1.6;
}

.cbp-newsletter-form {
    max-width: 100%;
    text-align: right;
}

.cbp-form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.cbp-newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
    background: #f9fafb;
    font-family: "Work Sans", sans-serif;
}

.cbp-newsletter-input::placeholder {
    color: #9ca3af;
}

.cbp-newsletter-submit {
    padding: 10px 24px;
    background: #1E2B37;
    color: #ffffff;
    border: none;
    border-radius: 41px;
    font-size: 14px;
    font-weight: 500 !important;
    cursor: pointer;
    white-space: nowrap;
}

.cbp-newsletter-submit:hover {
    background: #374151;
}

.cbp-newsletter-privacy {
    font-size: 12px;
    color: #0B0C0C;
    margin: 0;
    text-align: right;
}

.cbp-newsletter-privacy a {
    color: #0B0C0C;
    text-decoration: underline;
}

/* Category Newsletter Section - Centered Design */
.cbp-category-newsletter-section {
    padding: 80px 20px;
    margin-bottom: 80px;
    background: #E8F6E9;
    text-align: center;
}

.cbp-category-newsletter-container {
    max-width: 800px;
    margin: 0 auto;
}

.cbp-category-newsletter-container h2 {
       font-size: 42px;
    font-weight: 900 !important;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.52px;
}

.cbp-category-newsletter-container p {
    font-size: 14px;
    color: #0B0C0C;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cbp-category-newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.cbp-category-form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    justify-content: center;
}

.cbp-category-newsletter-input {
    flex: 1;
    max-width: 400px;
    padding: 16px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-size: 14px;
    background: #ffffff;
    font-family: "Work Sans", sans-serif;
}

.cbp-category-newsletter-input::placeholder {
    color: #9ca3af;
}

.cbp-category-newsletter-submit {
      color: #ffffff;
    background: #1E2B37;
    align-self: center;
    padding: 10px 24px;
    border-radius: 41px;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid #1E2B37;
    font-weight: 500 !important;
    transition: background 0.2s ease;
}

.cbp-category-newsletter-submit:hover {
    background: #E91E63;
}

.cbp-category-newsletter-privacy {
    font-size: 12px;
    color: #0B0C0C;
    margin: 0;
}

margin: 0;
}

/* ============================================
   Blog Archive (Main Blog Page) Styles
   ============================================ */

.cbp-blog-archive {
    background: #ffffff;
}

/* Hero Section */
.cbp-blog-hero {
    padding: 30px 20px;
    background: #ffffff;
}

.cbp-blog-hero-container {
    max-width: 1400px;
    margin: 0 auto;
}

.cbp-hero-header {
    margin-bottom: 40px;
}

.cbp-hero-label {
       font-size: 14px;
    font-weight: 600 !important;
    color: #0B0C0C;
    margin-bottom: 12px;
}

.cbp-hero-title {
    font-size: 50px;
    font-weight: 700 !important;
    color: #0B0C0C;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.72px;
}

.cbp-hero-description {
    font-size: 14px;
    color: #0B0C0C;
    line-height: 1.6;
    max-width: 800px;
}

/* Hero Grid */
.cbp-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

/* Featured Post (Large, Left) - Vertical Layout */
.cbp-featured-post {
    background: #ffffff;
}

.cbp-featured-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cbp-featured-image {
    width: 100%;
    height: 350px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.cbp-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cbp-featured-post:hover .cbp-featured-image img {
    transform: scale(1.05);
}

.cbp-featured-content {
    padding: 0;
}

.cbp-featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cbp-featured-category {
    font-size: 12px;
    font-weight: 600 !important;
    color: #0B0C0C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cbp-featured-category:hover {
    color: #0B0C0C;
}

.cbp-featured-read-time {
    font-size: 12px;
    color: #9ca3af;
}

.cbp-featured-title {
    font-size: 36px;
    font-weight: 400 !important;
    color: #0B0C0C;
    letter-spacing: -0.36px;
    line-height: 1.3;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.cbp-featured-post:hover .cbp-featured-title {
    color: #0B0C0C;
}

.cbp-featured-excerpt {
    font-size: 14px;
    color: #0B0C0C;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cbp-featured-link-text {
    font-size: 14px;
    font-weight: 600 !important;
    color: #0B0C0C;
    display: inline-flex;
    align-items: center;
}

/* Recent Posts List (Right) */
.cbp-recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cbp-recent-post-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 24px;
}

.cbp-recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cbp-recent-post-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cbp-recent-post-item a:hover {
    text-decoration: none;
}

.cbp-recent-meta {
        display: flex;
    flex-direction: column-reverse;
    font-size: 14px;
    font-weight: 600 !important;
    gap: 12px;
    margin-bottom: 12px;
    width: max-content;
}

.cbp-recent-category {
    font-size: 12px;
    font-weight: 600 !important;
    color: #0B0C0C;
    text-transform: capitalize;
    text-decoration: none;
    transition: color 0.2s ease;
    border-radius: 100px;
    border: 1px solid var(--Opacity-Neutral-Darkest-15, rgba(11, 12, 12, 0.15));
    background: var(--Opacity-Neutral-Darkest-5, rgba(11, 12, 12, 0.05));
    padding: 4px 10px;
}

.cbp-recent-category:hover {
    color: #0B0C0C;
}

.cbp-recent-read-time {
    font-size: 12px;
    color: #9ca3af;
}

.cbp-recent-title {
    font-size: 24px;
    font-weight: 400 !important;
    color: #0B0C0C;
    line-height: 1.4;
    letter-spacing: -0.28px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.cbp-recent-post-item:hover .cbp-recent-title {
    color: #0B0C0C;
    text-decoration: none;
}

.cbp-recent-link {
       font-size: 14px;
    font-weight: 500 !important;
    padding: 4px 10px;
    color: #0B0C0C;
    border-radius: 100px;
    border: 1px solid var rgba(11, 12, 12, 0.15);
    background: var rgba(11, 12, 12, 0.05);
}

/* More from the blog Section */


.cbp-more-blog-container {
    max-width: 1400px;
    margin: 0 auto;
}

.cbp-section-title {
    font-size: 34px;
    font-weight: 700 !important;
    letter-spacing: -0.28px;
    color: #0B0C0C;
    margin-bottom: 40px;
}

.cbp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Blog Card */
.cbp-blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cbp-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.cbp-blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cbp-blog-card-image {
    width: 100%;
    height: 200px;
    background: #e5e7eb;
    overflow: hidden;
}

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

.cbp-blog-card:hover .cbp-blog-card-image img {
    transform: scale(1.05);
}

.cbp-blog-card-content {
    padding: 24px;
}

.cbp-card-meta {
       display: flex;
    gap: 12px;
    width: fit-content;
    flex-direction: column-reverse;
    margin-bottom: 12px;
}

.cbp-card-category {
       font-size: 12px;
    font-weight: 600 !important;
    color: #0B0C0C;
    text-transform: capitalize;
    text-decoration: none;
    transition: color 0.2s ease;
    border-radius: 100px;
    border: 1px solid var(--Opacity-Neutral-Darkest-15, rgba(11, 12, 12, 0.15));
    background: var(--Opacity-Neutral-Darkest-5, rgba(11, 12, 12, 0.05));
    padding: 4px 10px;
}

.cbp-card-category:hover {
    color: #0B0C0C;
}

.cbp-card-read-time {
    font-size: 12px;
    color: #9ca3af;
}

.cbp-card-title {
    font-size: 24px;
    font-weight: 400 !important;
    letter-spacing: -0.28px;
    color: #0B0C0C;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.cbp-blog-card:hover .cbp-card-title {
    color: #0B0C0C;
}

.cbp-card-excerpt {
    font-size: 14px;
    color: #0B0C0C;
    font-weight: 400 !important;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cbp-card-link {
    font-size: 14px;
    font-weight: 500 !important;
    color: #0B0C0C;
}

/* Category Sections */
.cbp-category-section {
    padding: 50px 20px;
    background: #ffffff;
}

/* First category section - special spacing after newsletter */
.cbp-category-section:first-of-type {
    margin-top: 100px;
    padding-top: 0;
}

.cbp-category-section:nth-child(even) {
    background: #f9fafb;
}

.cbp-category-section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.cbp-category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.cbp-category-section-title {
    font-size: 44px;
    letter-spacing: -0.52px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin-bottom: 12px;
}

.cbp-category-section-description {
    font-size: 16px;
    color: #0B0C0C;
    line-height: 1.6;
    margin-bottom: 0px;
    max-width: 600px;
}

.cbp-see-all {
    font-size: 14px;
    font-weight: 500 !important;
    color: #0B0C0C;
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 20px;
    border-radius: 100px;
    border: 1px solid var(--Opacity-Neutral-Darkest-15, rgba(11, 12, 12, 0.15));
    transition: background 0.2s ease;
}

.cbp-see-all:hover {
    background: #f9fafb;
}

.cbp-category-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Category Card */
.cbp-category-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cbp-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.cbp-category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cbp-category-card-image {
    width: 100%;
    height: 200px;
    background: #e5e7eb;
    overflow: hidden;
}

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

.cbp-category-card:hover .cbp-category-card-image img {
    transform: scale(1.05);
}

.cbp-category-card-content {
    padding: 24px;
}

.cbp-category-card-meta {
    display: flex;
    align-items: left;
    gap: 12px;
    margin-bottom: 12px;
}

.cbp-category-card-tag {
    font-size: 14px;
    font-weight: 500 !important;
    padding: 4px 10px;
    color: #1a1a1a;
    border-radius: 100px;
    border: 1px solid var(--Opacity-Neutral-Darkest-15, rgba(11, 12, 12, 0.15));
    background: var(--Opacity-Neutral-Darkest-5, rgba(11, 12, 12, 0.05));
}

.cbp-category-card-tag:hover {
    color: #0B0C0C;
}

.cbp-category-card-read-time {
    font-size: 12px;
    color: #9ca3af;
}

.cbp-category-card-title {
    font-size: 24px;
    font-weight: 400 !important;
    letter-spacing: -0.28px;
    color: #0B0C0C;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.cbp-category-card:hover .cbp-category-card-title {
    color: #0B0C0C;
}

.cbp-category-card-excerpt {
    font-size: 14px;
    color: #0B0C0C;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cbp-category-card-link {
    font-size: 14px;
    font-weight: 600 !important;
    color: #0B0C0C;
}

/* CTA Section */
.cbp-blog-cta {
    background: #ffffff;
        padding-bottom: 70px;
}

.cbp-blog-cta-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cbp-cta-content {
    padding-right: 40px;
}

.cbp-cta-title {
    font-size: 44px;
    font-weight: 700 !important;
    color: #0B0C0C;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cbp-cta-description {
    font-size: 16px;
    color: #0B0C0C;
    line-height: 1.6;
    margin-bottom: 32px;
}

.cbp-cta-buttons {
    display: flex;
    gap: 16px;
}

.cbp-cta-primary {
      color: #ffffff;
    background: #1E2B37;
    align-self: center;
    padding: 9px 19px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #1E2B37;
    font-weight: 500 !important;
    transition: background 0.2s ease;
}

.cbp-cta-primary:hover {
    background: #374151;
    color: white;
}

.cbp-cta-secondary {
    background: transparent;
    padding: 9px 19px;
    color: #0B0C0C;
    text-decoration: none;
    align-self: center;
    border-radius: 100px;
    border: 1px solid var(--Opacity-Neutral-Darkest-15, rgba(11, 12, 12, 0.15));
    font-size: 14px;
    font-weight: 500 !important;
    transition: all 0.2s ease;
}

.cbp-cta-secondary:hover {
    background: #f9fafb;
}

.cbp-cta-image {
    width: 100%;
    height: 400px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.cbp-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-related-posts-grid {
    display: inherit;
}

.cs-related-carousel {
    display: none;
}

/* Mobile Responsive - Below 767px */
@media (max-width: 767px) {
.cs-newsletter-content p{
    margin-bottom: 10px;
}

    .cs-related-posts-grid {
        display: none;
    }

    .cs-related-carousel {
        display: inherit;
    }

    .cs-hero-section {
        padding: 20px;
    }

    .cs-hero-title {
        font-size: 40px;
        font-weight: 900;
letter-spacing: -0.4px;
    }

    .cs-content-wrapper {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .cs-sidebar {
        display: none;
    }

    .cs-toc-mobile {
        display: block;
    }

    .cs-cta-inline {
        display: block;
    }

    .cs-intro-section {
        padding: 20px;
    }

    .cs-intro-section h2 {
        font-size: 14px;
    }

    .cs-image-grid {
        grid-template-columns: 1fr;
    }

    .cs-conclusion-section h2 {
        font-size: 20px;
    }

    /* Related Posts - Show Carousel on Mobile */
    .cs-related-posts-grid {
        display: none !important;
    }

    .cs-related-carousel {
        display: block !important;
    }

    .cs-related-posts-section {
        margin-top: 40px;
        padding: 30px 20px;
    }

    .cs-related-header h2 {
        font-size: 20px;
    }

    .cs-newsletter-section {
        padding: 30px 20px;
    }

    .cs-newsletter-content h2 {
        font-size: 40px;
    }

    /* Category Archive Mobile */
    .cbp-category-header {
        padding: 0px 20px;
    }

     .cbp-category-archive .cbp-category-header {
        padding-bottom: 0px;
    }


    .cbp-category-title {
        font-size: 24px;
    }

    .cbp-category-description {
        font-size: 14px;
    }

    .cbp-category-posts {
        padding: 30px 20px 30px;
    }

    .cbp-posts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 0px;
    }

    .cbp-post-card-image {
        height: 200px;
    }

    .cbp-post-title {
        font-size: 20px;
        margin-top: 20px;
    }

    .cbp-newsletter-content h2 {
        font-size: 24px;
    }

    .cbp-newsletter-content p {
        font-size: 14px;
    }

    .cbp-form-group {
        flex-direction: column;
    }

    .cbp-newsletter-submit {
        width: 100%;
    }

    /* Blog Archive Mobile */
    .cbp-blog-hero {
        padding: 30px 20px;
    }

    .cbp-hero-title {
        font-size: 32px;
    }

    .cbp-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cbp-featured-image {
        height: 250px;
    }

    .cbp-featured-title {
        font-size: 24px;
    }

    .cbp-recent-posts-list {
        gap: 24px;
    }

    .cbp-recent-post-item {
        padding-bottom: 20px;
    }

    .cbp-recent-title {
        font-size: 14px;
    }

   

    .cbp-section-title {
        font-size: 24px;
    }

    .cbp-blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cbp-newsletter-section {
        padding: 30px 30px;
    }

    .cbp-newsletter-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cbp-newsletter-content {
        text-align: center;
    }

    .cbp-newsletter-content h2 {
        font-size: 24px;
    }

    .cbp-newsletter-form {
        text-align: center;
    }

    .cbp-form-group {
        flex-direction: column;
    }

    .cbp-newsletter-submit {
        width: 100%;
    }

    .cbp-newsletter-privacy {
        text-align: center;
    }

    .cbp-category-section {
        padding: 30px 0px;
    }

    .cbp-category-section:first-of-type {
        margin-top: 30px;
        padding-top: 0;
    }

    .cbp-category-section-header {
        flex-direction: column;
        align-items: flex-start;
        padding:0px 20px; 
        gap: 20px;
        margin-bottom: 20px;
    }

    .cbp-category-section-title {
        font-size: 24px;
    }

    .cbp-category-posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cbp-blog-cta {
        padding-bottom: 30px;
    }

    .cbp-category-newsletter-section {
        padding: 40px 20px;
        margin-bottom: 40px;
    }

    .cbp-category-newsletter-container h2 {
        font-size: 32px;
    }

    .cbp-category-form-group {
        flex-direction: column;
    }

    .cbp-category-newsletter-input {
        max-width: 100%;
    }

    .cbp-category-newsletter-submit {
        width: 100%;
    }

    .cbp-blog-cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cbp-cta-image {
        order: -1;
        height: 250px;
    }

    .cbp-cta-content {
        padding-right: 0;
        order: 1;
    }

    .cbp-cta-title {
        font-size: 24px;
    }

    .cbp-cta-buttons {
        flex-direction: column;
    }

    .cbp-cta-primary,
    .cbp-cta-secondary {
        width: 100%;
        text-align: center;
    }

    .cs-related-posts-section {
        margin-top: 30px;
        padding: 30px 20px;
    }
}

/* Desktop Responsive - 768px and above */
@media (min-width: 768px) {

.site-content{
    padding:20px 0px !important;
}

    .cs-hero-section {
        padding: 20px;
    }

    .cs-toc-mobile {
        display: none;
    }

    .cs-cta-inline {
        display: none;
    }

    .cs-hero-title {
            font-size: 52px;
    letter-spacing: -0.52px;
    font-weight: 700;
    color: #0B0C0C;
    margin-bottom: 50px;    
    }

    .cs-image-placeholder {
        height: 400px;
    }

    .cs-meta-info {
        display: flex;
        gap: 50px;
    }

    .cs-intro-section h2 {
        font-size: 24px;
    }

    .cs-conclusion-section h2 {
        font-size: 24px;
    }

    /* Related Posts - Show Grid on Desktop */
    .cs-related-posts-section {
        margin-top: 80px;
        padding: 60px 20px;
    }

    .cs-related-posts-grid {
        display: grid !important;
    }

    .cs-related-carousel {
        display: none !important;
    }

    .cs-related-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }

    .cs-related-header h2 {
            font-size: 44px;
    letter-spacing: -0.52px;
    font-weight: 700 !important;
    color: #0B0C0C;
    margin-bottom: 12px;
    }

    .cs-related-subtitle {
        flex: 1;
        margin: 0 20px;
        font-size: 15px;
    }

    .cs-newsletter-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 60px;
        padding: 50px 60px;
    }

    .cs-newsletter-content {
        flex: 1;
    }

    .cs-newsletter-content h2 {
        font-size: 32px;
    }

    .cs-newsletter-content p {
        margin-bottom: 0;
    }

    .cs-newsletter-form {
        flex: 1;
    }
}

/* Tablet Responsive - 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .cbp-blog-hero {
        padding: 20px 20px;
    }

    .cbp-category-header {
        padding: 0px 20px;
    }

    

    .cbp-newsletter-section {
        padding: 25px 20px;
    }

    .cbp-category-section {
        padding: 25px 20px;
    }

    .cbp-category-section:first-of-type {
        margin-top: 50px;
        padding-top: 0;
    }

    .cbp-blog-cta {
        padding: 25px 20px;
    }

    .cbp-blog-cta {
        padding: 50px 20px;
    }

    .cs-related-posts-section {
        margin-top: 50px;
        padding: 50px 20px;
    }

    .cbp-archive-newsletter-section {
        padding: 50px 20px;
    }

    .cbp-newsletter-section {
        padding: 50px 20px;
    }

    .cbp-category-posts {
        padding: 50px 20px;
    }

    .cbp-category-newsletter-section {
        padding: 50px 20px;
        margin-bottom: 50px;
    }

    .cbp-category-newsletter-container h2 {
        font-size: 40px;
    }
}
/* ============================================
   RELATED CASE STUDIES SECTION
   ============================================ */

.cbp-related-case-studies {
    background: #f0f9f4;
    padding: 80px 20px;
    width: 100%;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.cbp-related-case-studies-container {
    max-width: 1400px;
    margin: 0 auto;
}

.cbp-related-case-studies-header {
    text-align: center;
    margin-bottom: 60px;
}

.cbp-related-case-studies-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cbp-related-case-studies-title {
    font-size: 48px;
    font-weight: 700 !important;
    margin-bottom: 16px;
}

.cbp-related-case-studies-description {
    font-size: 16px;
    color: #6b7280;
}

/* Case Study Card in Carousel */
.cbp-case-study-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.cbp-case-study-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
    height: 100%;
}

.cbp-case-study-card:hover {
    transform: translateY(-4px);
}

.cbp-case-study-card-image {
    width: 100%;
    height: 240px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cbp-case-study-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cbp-case-study-card-image svg {
    width: 60px;
    height: 60px;
    color: #9ca3af;
}

.cbp-case-study-card-content {
    padding: 24px;
}

.cbp-case-study-card-category {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 12px;
    display: block;
}

.cbp-case-study-card-title {
    font-size: 20px;
    font-weight: 700 !important;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cbp-case-study-card-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Swiper Navigation for Case Studies */
.cbp-case-study-carousel .swiper-button-next,
.cbp-case-study-carousel .swiper-button-prev {
    background: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cbp-case-study-carousel .swiper-button-next:after,
.cbp-case-study-carousel .swiper-button-prev:after {
    font-size: 20px;
    color: #1a1a1a;
}

.cbp-case-study-carousel .swiper-pagination {
    margin-top: 30px;
}

.cbp-case-study-carousel .swiper-pagination-bullet {
    background: #1a1a1a;
    opacity: 0.3;
    width: 10px;
    height: 10px;
}

.cbp-case-study-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

/* View All Case Studies Button */
.cbp-view-all-case-studies {
    text-align: center;
    margin-top: 40px;
}

.cbp-view-all-case-studies-btn {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 100px;
    border: 1px solid #e5e7eb;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.cbp-view-all-case-studies-btn:hover {
    background: #f9fafb;
}

/* Mobile Responsive for Case Studies */
@media (max-width: 768px) {
    .cbp-related-case-studies {
        padding: 60px 20px;
    }
    
    .cbp-related-case-studies-header {
        text-align: left;
        margin-bottom: 40px;
    }
    
    .cbp-related-case-studies-title {
        font-size: 32px;
    }
    
    .cbp-case-study-card-image {
        height: 200px;
    }
    
    .cbp-case-study-card-content {
        padding: 20px;
    }
    
    .cbp-case-study-card-title {
        font-size: 18px;
    }
    
    .cbp-case-study-carousel .swiper-button-next,
    .cbp-case-study-carousel .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .cbp-case-study-carousel .swiper-button-next:after,
    .cbp-case-study-carousel .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* ============================================
   TAB-BASED ARCHIVE LAYOUT
   ============================================ */

.cbp-blog-archive-tabs {
    width: 100%;
    background: #ffffff;
}

/* Page Header */
.cbp-page-header {
    padding: 60px 20px;
    text-align: center;
}

.cbp-page-header-container {
    max-width: 800px;
    margin: 0 auto;
}

.cbp-page-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cbp-page-title {
    font-size: 56px;
    font-weight: 700 !important;
    margin-bottom: 16px;
    line-height: 1.1;
}

.cbp-page-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Category Tabs */
.cbp-category-tabs {
    background: #f9fafb;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.cbp-tabs-container {
    max-width: 1400px;
    margin: 0 auto;
}

.cbp-tabs-list {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cbp-tab {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Work Sans", sans-serif;
}

.cbp-tab:hover {
    background: #f3f4f6;
}

.cbp-tab.active {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

/* Archive Content */
.cbp-archive-content {
    padding: 80px 20px;
}

.cbp-archive-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Blog Grid */
.cbp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Blog Card */
.cbp-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #e5e7eb;
}

.cbp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cbp-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cbp-card-image {
    width: 100%;
    height: 240px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cbp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cbp-card-image svg {
    width: 60px;
    height: 60px;
    color: #9ca3af;
}

.cbp-card-content {
    padding: 24px;
}

.cbp-card-category {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 12px;
    display: block;
}

.cbp-card-title {
    font-size: 20px;
    font-weight: 700 !important;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cbp-card-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cbp-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9ca3af;
}

/* Empty State */
.cbp-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.cbp-empty-state p {
    font-size: 16px;
    color: #6b7280;
}

/* Pagination */
.cbp-pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.cbp-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.cbp-pagination .page-numbers li {
    list-style: none;
}

.cbp-pagination .page-numbers a,
.cbp-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    font-family: "Work Sans", sans-serif;
    white-space: nowrap;
    min-width: 44px;
    text-align: center;
}

.cbp-pagination .page-numbers a:hover {
    background: #f9fafb;
    border-color: #1a1a1a;
}

.cbp-pagination .page-numbers .current {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.cbp-pagination .page-numbers .dots {
    border: none;
    padding: 12px 8px;
}

.cbp-pagination .page-numbers .prev,
.cbp-pagination .page-numbers .next {
    padding: 12px 20px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .cbp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .cbp-page-header {
        padding: 40px 20px;
        text-align: left;
    }
    
    .cbp-page-title {
        font-size: 32px;
    }
    
    .cbp-page-description {
        font-size: 14px;
    }
    
    .cbp-category-tabs {
        padding: 15px;
    }
    
    .cbp-tabs-list {
        justify-content: flex-start;
        gap: 8px;
    }
    
    .cbp-tab {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .cbp-archive-content {
        padding: 50px 20px;
    }
    
    .cbp-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cbp-card-image {
        height: 200px;
    }
    
    .cbp-card-title {
        font-size: 18px;
    }
    
    .cbp-pagination {
        margin-top: 40px;
    }
}

/* ============================================

/* ============================================
   FEATURED POSTS SECTION - Updated Design
   ============================================ */

.cbp-featured-section {
    background: #ffffff;
    padding: 60px 20px;
}

.cbp-featured-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Left Side - Large Featured Post */
.cbp-featured-main {
    background: #f0f9f4;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
}

.cbp-featured-main:hover {
    transform: translateY(-4px);
}

.cbp-featured-main-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cbp-featured-main-image {
    width: 100%;
    height: 350px;
    background: #d1d5db;
    overflow: hidden;
}

.cbp-featured-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cbp-featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
}

.cbp-featured-placeholder svg {
    width: 60px;
    height: 60px;
    color: #9ca3af;
}

.cbp-featured-main-content {
    padding: 32px;
}

.cbp-featured-main-category {
    display: inline-block;
    padding: 4px 12px;
    background: #10b981;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 16px;
}

.cbp-featured-main-title {
    font-size: 24px;
    font-weight: 700 !important;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #0B0C0C;
}

.cbp-featured-main-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 16px;
}

.cbp-featured-main-link-text {
    font-size: 14px;
    font-weight: 600;
    color: #0B0C0C;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cbp-featured-main-link-text span {
    transition: transform 0.2s;
}

.cbp-featured-main:hover .cbp-featured-main-link-text span {
    transform: translateX(4px);
}

/* Right Side - List of Posts */
.cbp-featured-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cbp-featured-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.cbp-featured-item:last-child {
    border-bottom: none;
}

.cbp-featured-item:hover {
    background: #f9fafb;
}

.cbp-featured-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cbp-featured-item-category {
    padding: 2px 8px;
    background: #f3f4f6;
    font-size: 11px;
    font-weight: 600;
    color: #0B0C0C;
    border-radius: 8px;
}

.cbp-featured-item-read {
    font-size: 12px;
    color: #6b7280;
}

.cbp-featured-item-title {
    font-size: 18px;
    font-weight: 600 !important;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #0B0C0C;
}

.cbp-featured-item-link {
    font-size: 13px;
    font-weight: 600;
    color: #0B0C0C;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cbp-featured-item-link span {
    transition: transform 0.2s;
}

.cbp-featured-item:hover .cbp-featured-item-link span {
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cbp-featured-section {
        padding: 40px 20px;
    }
    
    .cbp-featured-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cbp-featured-main-image {
        height: 250px;
    }
    
    .cbp-featured-main-content {
        padding: 24px;
    }
    
    .cbp-featured-main-title {
        font-size: 20px;
    }
    
    .cbp-featured-item {
        padding: 20px 0;
    }
    
    .cbp-featured-item-title {
        font-size: 16px;
    }
}

/* ============================================
   FEATURED POST SECTION - NEW DESIGN
   ============================================ */

.cbp-featured-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.cbp-featured-post-new {
    background: #E8F6E9;
    border-radius: 16px;
    padding: 32px;
}

.cbp-featured-image-new {
    width: 100%;
    height: 400px;
    background: #d1d5db;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
}

.cbp-featured-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cbp-featured-image-new svg {
    width: 80px;
    height: 80px;
    color: #9ca3af;
}

.cbp-featured-meta-new {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.cbp-category-pill {
    display: inline-block;
    padding: 6px 16px;
    background: #ffffff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
}

.cbp-read-time {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400 !important;
}

.cbp-featured-title-new {
    font-size: 32px;
    font-weight: 700 !important;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.cbp-featured-title-new a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.cbp-featured-title-new a:hover {
    color: #10b981;
}

.cbp-featured-description-new {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: 400 !important;
}

.cbp-featured-link-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600 !important;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.cbp-featured-link-new:hover {
    color: #10b981;
}

.cbp-arrow {
    display: inline-block;
    transition: transform 0.2s;
}

.cbp-featured-link-new:hover .cbp-arrow {
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cbp-featured-wrapper {
        padding: 0 20px 40px 20px;
    }
    
    .cbp-featured-post-new {
        padding: 24px;
    }
    
    .cbp-featured-image-new {
        height: 280px;
    }
    
    .cbp-featured-title-new {
        font-size: 24px;
    }
    
    .cbp-featured-description-new {
        font-size: 14px;
    }
}

/* ============================================
   TABLE STYLING IN BLOG CONTENT
   ============================================ */

.cs-blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.cs-blog-content table thead tr {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.cs-blog-content table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600 !important;
    color: #1a1a1a;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.cs-blog-content table td {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    color: #4a5568;
    line-height: 1.6;
}

.cs-blog-content table tbody tr:hover {
    background: #f9fafb;
}

.cs-blog-content table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Mobile Table Responsive */
@media (max-width: 768px) {
    .cs-blog-content table {
        font-size: 13px;
    }
    
    .cs-blog-content table th,
    .cs-blog-content table td {
        padding: 10px 12px;
    }
}

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

.cs-table-of-contents {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 40px;
}

.cs-toc-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a;
    margin: 0 0 16px 0 !important;
}

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

.cs-toc-item {
    margin-bottom: 12px;
}

.cs-toc-item:last-child {
    margin-bottom: 0;
}

.cs-toc-link {
    display: block;
    font-size: 15px;
    color: #4a5568;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 500 !important;
}

.cs-toc-link:hover {
    background: #ffffff;
    color: #10b981;
    padding-left: 16px;
}

/* Category Meta Link Styling */
.cs-meta-category-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500 !important;
    transition: color 0.2s;
}

.cs-meta-category-link:hover {
    color: #10b981;
}

/* Mobile TOC */
@media (max-width: 768px) {
    .cs-table-of-contents {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .cs-toc-title {
        font-size: 16px !important;
    }
    
    .cs-toc-link {
        font-size: 14px;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Heading scroll offset for fixed headers */
.cs-main-content h2[id] {
    scroll-margin-top: 100px;
}
