/* Custom Case Studies Plugin Styles */

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

/* PREVENT H1 in content - convert to H2 styling */
.ccs-main-content h1 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    line-height: 1.3 !important;
}

/* Force H2 section titles to 1.8rem */
.ccs-main-content h2,
.ccs-main-content .wp-block-heading h2,
.ccs-content-section h2,
article h2 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
}

/* Force paragraphs to 16px */
.ccs-main-content p,
.ccs-main-content .wp-block-paragraph,
.ccs-content-section p,
article p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    font-weight: 400 !important;
}

/* Force list items to 16px */
.ccs-main-content ul li,
.ccs-main-content ol li,
.ccs-content-section ul li,
.ccs-content-section ol li {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
}

/* Images spacing and styling */
.ccs-main-content img,
.ccs-content-section img {
    margin: 40px 0 !important;
    border-radius: 8px !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Block images */
.ccs-main-content .wp-block-image img {
    margin: 40px 0 !important;
    border-radius: 8px !important;
}

/* Override theme containers for full-width sections */

.site-content{
    padding:70px 0px;
}

a:hover{
color: black;
}

.ccs-archive,
.ccs-single {
    width: 100%;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.case_study-template-default .site-content{
padding:0px !important;
}

/* Ensure sections break out of theme containers */


.ccs-page-header,
.ccs-category-tabs,
.ccs-newsletter,
.ccs-hero,
.ccs-related {
    background: #f0f9f4;
    padding: 80px 20px;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.ccs-related-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Archive Page Styles */

/* Remove any container restrictions from body */
.ccs-archive {
    width: 100%;
    max-width: 100%;
}

/* Header Section - Full Width Background */
.ccs-page-header {
    background: #ffffff;
    text-align: center;
    width: 100%;
}

.ccs-page-header-container {
    max-width: 900px;
    margin: 0 auto;
}

.ccs-page-label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 24px;
}

.ccs-page-title {
    font-size: 56px;
    font-weight: 700 !important;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Category Tabs - Full Width Background */
.ccs-category-tabs {
    background: #ffffff;
    padding: 40px 20px;
    width: 100%;
}

.ccs-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.ccs-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: "Work Sans", sans-serif;
}

.ccs-tab:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
}

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

/* Case Studies Grid */
.ccs-archive-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.ccs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    transition: opacity 0.3s ease;
}

/* Case Study Card */
.ccs-card {
    background: #ffffff;
    transition: transform 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.ccs-card-image {
    width: 100%;
    height: 240px;
    background: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

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

.ccs-card-category {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: block;
}

.ccs-card-title {
    font-size: 22px;
    font-weight: 700 !important;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #1a1a1a;
}

.ccs-card-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ccs-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ccs-card-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    flex-shrink: 0;
}

.ccs-card-author {
    display: flex;
    flex-direction: column;
}

.ccs-card-author-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.ccs-card-date {
    font-size: 12px;
    color: #9ca3af;
}

/* Newsletter Section - Full Width Background */
.ccs-newsletter {
    background: #f0f9f4;
    padding: 80px 20px;
    width: 100%;
}

.ccs-newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ccs-newsletter-title {
    font-size: 48px;
    font-weight: 700 !important;
    margin-bottom: 16px;
    line-height: 1.2;
}

.ccs-newsletter-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

.ccs-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.ccs-newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 16px;
    background: #ffffff;
    font-family: "Work Sans", sans-serif;
}

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

.ccs-newsletter-btn {
    padding: 16px 40px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: "Work Sans", sans-serif;
    transition: background 0.2s;
    white-space: nowrap;
}

.ccs-newsletter-btn:hover {
    background: #374151;
}

.ccs-newsletter-privacy {
    font-size: 12px;
    color: #6b7280;
}

/* Empty State */
.ccs-empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.ccs-empty-state svg {
    width: 80px;
    height: 80px;
    color: #d1d5db;
    margin-bottom: 24px;
}

.ccs-empty-state h3 {
    font-size: 24px;
    font-weight: 700 !important;
    margin-bottom: 12px;
}

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

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

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

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

.ccs-pagination .page-numbers a,
.ccs-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;
}

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

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

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

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

/* Single Post Styles */

/* Remove any container restrictions */
.ccs-single {
    width: 100%;
    max-width: 100%;
}

/* Hero Section - Full Width Background */
.ccs-hero {
    background: #808080;
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ccs-hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Mobile hero image - hidden on desktop */
.ccs-hero-image-mobile {
    display: none;
}

.ccs-hero h1 {
        font-size: 40px;
    color: white;
    font-weight: 700 !important;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ccs-hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
}

.ccs-hero-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.ccs-tag {
    padding: 8px 20px;
    background: #ffffff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.2s;
}

.ccs-tag:hover {
    background: #f3f4f6;
}

/* Main Content Section */
.ccs-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
}

/* Left Content */
.ccs-main-content h2 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 24px;
}

.ccs-main-content h2:first-child {
    margin-top: 0;
}

.ccs-main-content p {
    font-size: 16px !important;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.ccs-main-content h3 {
    font-size: 24px;
    font-weight: 700 !important;
    margin-bottom: 16px;
    margin-top: 40px;
}

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

.ccs-main-content figure {
    margin: 40px 0;
}

.ccs-main-content figure img {
    margin: 0;
}

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

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

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

/* Sidebar */
.ccs-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.ccs-sidebar-section {
    background: #f9fafb;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.ccs-sidebar-section h3 {
    font-size: 18px;
    font-weight: 700 !important;
    margin-bottom: 20px;
}

.ccs-services-list {
    list-style: none;
}

.ccs-services-list li {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.ccs-services-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: 700 !important;
}

/* Contact Form */
.ccs-contact-form {
    background: #f0f9f4;
    padding: 32px;
    border-radius: 12px;
}

.ccs-contact-form h3 {
    font-size: 22px;
    font-weight: 700 !important;
    margin-bottom: 8px;
}

.ccs-contact-form p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 24px;
}

.ccs-form-group {
    margin-bottom: 16px;
}

.ccs-form-group input,
.ccs-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Work Sans", sans-serif;
    background: #ffffff;
}

.ccs-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.ccs-form-group input::placeholder,
.ccs-form-group textarea::placeholder {
    color: #9ca3af;
}

.ccs-submit-btn {
    width: 100%;
    padding: 16px;
    background: #1E2B37;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: "Work Sans", sans-serif;
    transition: background 0.2s;
}

.ccs-submit-btn:hover {
    background: #374151;
}

.ccs-form-privacy {
    font-size: 12px;
    color: #6b7280;
    margin-top: 12px;
    margin-bottom: 0px !important;
    text-align: center;
}

/* Related Projects Section - Full Width Background */
.ccs-related {
    background: #f0f9f4;
    padding: 80px 20px;
    width: 100%;
}

.ccs-related-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ccs-related-header {
    text-align: center;
    margin-bottom: 60px;
}

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

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

/* Project Card */
.ccs-project-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.ccs-project-card:hover {
    transform: translateY(-4px);
}

.ccs-project-image {
    width: 100%;
    height: 400px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ccs-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ccs-project-image svg {
    width: 80px;
    height: 80px;
    color: #9ca3af;
}

.ccs-project-content {
       display: flex;
    align-items: start;
    margin-top: 30px;
    flex-direction: row;
}

.ccs-project-left {
    display: flex;
    flex-direction: column;
}

.ccs-project-title {
    font-size: 28px;
    font-weight: 700 !important;
    margin-bottom: 20px;
}

.ccs-project-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ccs-project-tag {
    font-size: 12px;
    color: #1a1a1a;
    padding: 8px 16px;
    background: #f9fafb;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.ccs-project-tag:hover {
    background: #e5e7eb;
}

.ccs-project-right {
    display: flex;
    align-items: center;
}

.ccs-project-description {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
}

.ccs-see-more {
    text-align: center;
}

.ccs-see-more-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;
}

.ccs-see-more-btn:hover {
    background: #f9fafb;
}

/* Mobile/Desktop Visibility */
.ccs-mobile-only {
    display: none;
}

.ccs-desktop-only {
    display: block;
}

/* ============================================
   RELATED BLOGS SECTION
   ============================================ */

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

.ccs-related-blogs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ccs-related-blogs-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.ccs-related-blogs-title {
    font-size: 48px;
    font-weight: 700 !important;
    margin-bottom: 16px;
}

.ccs-related-blogs-description {
    font-size: 16px;
    color: #6b7280;
}

/* Blog Card in Carousel */
.ccs-blog-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

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

.ccs-blog-card:hover {
    transform: translateY(-4px);
}

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

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

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

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

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

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

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

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

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

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

.ccs-blog-carousel .swiper-pagination {
    margin-top: 30px;
}

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

.ccs-blog-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

/* View All Blogs Button */
.ccs-view-all-blogs {
    text-align: center;
    margin-top: 40px;
}

.ccs-view-all-blogs-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;
}

.ccs-view-all-blogs-btn:hover {
    background: #f9fafb;
}

/* Tablet (2 columns) */
@media (max-width: 1024px) {
    .ccs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Archive Styles */
    .ccs-page-header {
        padding: 0 20px;
        text-align: left;
    }

    .ccs-page-label {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .ccs-page-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .ccs-page-description {
        font-size: 14px;
    }

    .ccs-category-tabs {
        padding: 20px;
    }

    .ccs-tabs-list {
        gap: 10px;
    }

    .ccs-tab {
        font-size: 13px;
        padding: 8px 16px;
    }

    .ccs-archive-content {
        padding: 50px 20px;
    }

    .ccs-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ccs-card-image {
        height: 200px;
    }

    .ccs-card-title {
        font-size: 22px;
    }

    .ccs-card-description {
        font-size: 13px;
    }

    .ccs-newsletter {
        padding: 60px 20px;
    }

    .ccs-newsletter-title {
        font-size: 28px;
    }

    .ccs-newsletter-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .ccs-newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .ccs-newsletter-btn {
        width: 100%;
        padding: 16px;
    }

    .ccs-newsletter-privacy {
        font-size: 11px;
    }

    /* Pagination Mobile */
    .ccs-pagination {
        margin-top: 40px;
    }

    .ccs-pagination .page-numbers {
        gap: 6px;
    }

    .ccs-pagination .page-numbers a,
    .ccs-pagination .page-numbers span {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Single Post Styles */
    .ccs-hero {
        padding: 40px 20px;
        text-align: left;
        background: #f0f9f4 !important; /* Light green background on mobile */
        min-height: auto;
        color: #1a1a1a; /* Black text on mobile */
    }

    .ccs-hero h1 {
        font-size: 32px;
        color: #1a1a1a !important; /* Black title on mobile */
    }

    .ccs-hero-description {
        font-size: 14px;
        color: #4a5568 !important; /* Gray description on mobile */
        opacity: 1;
    }

    .ccs-hero-tags {
        justify-content: flex-start;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .ccs-tag {
        font-size: 12px;
        padding: 6px 16px;
        background: #ffffff;
        color: #1a1a1a;
        border: 1px solid #e5e7eb;
    }
    
    /* Show featured image on mobile */
    .ccs-hero-image-mobile {
        display: block;
        width: 100%;
        margin-top: 30px;
        border-radius: 12px;
        overflow: hidden;
        background: #d1d5db;
    }
    
    .ccs-hero-image-mobile img {
        width: 100%;
        height: auto;
        display: block;
    }

    .ccs-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .ccs-mobile-only {
        display: block;
    }

    .ccs-desktop-only {
        display: none;
    }

    .ccs-main-content h2 {
        font-size: 1.5rem !important;
    }

    .ccs-main-content h3 {
        font-size: 20px;
        margin-top: 10px;
    }

    .ccs-main-content p {
        font-size: 16px !important;
    }
    
    .ccs-main-content img {
        margin: 30px 0;
    }
    
    .ccs-main-content figure {
        margin: 30px 0;
    }

    .ccs-sidebar-section {
        padding: 24px;
    }

    .ccs-contact-form {
        padding: 24px;
    }

    .ccs-related {
        padding: 60px 20px;
    }

    .ccs-related-header {
        text-align: left;
        margin-bottom: 40px;
    }

    .ccs-related-title {
        font-size: 32px;
    }

    .ccs-project-image {
        height: 200px;
    }

    .ccs-project-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
        margin-top: 0px;
        flex-wrap: wrap;
    }

    .ccs-project-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .ccs-project-tags {
        gap: 8px;
    }

    .ccs-project-tag {
        font-size: 11px;
        padding: 6px 12px;
    }

    .ccs-project-description {
        font-size: 14px;
    }
    
    /* Related Blogs Mobile */
    .ccs-related-blogs {
        padding: 60px 20px;
    }
    
    .ccs-related-blogs-header {
        text-align: left;
        margin-bottom: 40px;
    }
    
    .ccs-related-blogs-title {
        font-size: 32px;
    }
    
    .ccs-blog-card-image {
        height: 200px;
    }
    
    .ccs-blog-card-content {
        padding: 20px;
    }
    
    .ccs-blog-card-title {
        font-size: 18px;
    }
    
    .ccs-blog-carousel .swiper-button-next,
    .ccs-blog-carousel .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .ccs-blog-carousel .swiper-button-next:after,
    .ccs-blog-carousel .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* ============================================
   TABLE STYLING IN CASE STUDY CONTENT
   ============================================ */

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

.ccs-main-content table thead tr,
.ccs-content-section table thead tr {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

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

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

.ccs-main-content table tbody tr:hover,
.ccs-content-section table tbody tr:hover {
    background: #f9fafb;
}

.ccs-main-content table tbody tr:nth-child(even),
.ccs-content-section table tbody tr:nth-child(even) {
    background: #fafafa;
}

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

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

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

.ccs-toc-list li {
    margin-bottom: 12px;
}

.ccs-toc-list li:last-child {
    margin-bottom: 0;
}

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

.ccs-toc-list a:hover {
    background: #f9fafb;
    color: #10b981;
    padding-left: 16px;
}

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

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