/**
 * Our Work Page Styles
 * 
 * @package Genesis Block Theme
 */

/* Our Work Page Specific Styles */
.our-work-page .content-area {
    padding: 0;
    margin: 0;
}

.our-work-page .site-main {
    width: 100%;
    max-width: none;
}

/* Portfolio Grid Enhancements */
.our-work-page .projects-grid {
    margin-top: 4rem;
}

.our-work-page .project-item {
    margin-bottom: 6rem;
    padding: 2rem 0;
}

.our-work-page .project-item:last-child {
    margin-bottom: 3rem;
}

/* Enhanced Project Media Styling */
.our-work-page .media-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-work-page .media-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.our-work-page .project-media {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Enhanced Content Styling */
.our-work-page .content-wrapper {
    padding: 2rem;
}

.our-work-page .project-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.2;
}

.our-work-page .project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-top: 1.5rem;
}

/* Enhanced Stats Grid */
.our-work-page .stats-row {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.our-work-page .stat-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.our-work-page .stat-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Enhanced Logo Container */
.our-work-page .logo-container {
    margin-bottom: 1.5rem;
    text-align: center;
}

.our-work-page .logo-image {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.our-work-page .logo-image:hover {
    filter: grayscale(0%);
}

/* Enhanced Button Styling */
.our-work-page .our-work-button {
    margin-top: 3rem;
}


/* Responsive Enhancements */
@media (max-width: 991.98px) {
    .our-work-page .project-item {
        margin-bottom: 4rem;
    }
    
    .our-work-page .content-wrapper {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .our-work-page .project-title {
        font-size: 2rem;
    }
    
    .our-work-page .stats-row {
        margin: 1.5rem 0;
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .our-work-page .project-item {
        margin-bottom: 3rem;
    }
    
    .our-work-page .content-wrapper {
        padding: 1rem;
        text-align: center;
    }
    
    .our-work-page .project-title {
        font-size: 1.8rem;
    }
    
    .our-work-page .stats-row .col-md-4 {
        margin-bottom: 1.5rem;
    }
    
    .our-work-page .stats-row .col-md-4:last-child {
        margin-bottom: 0;
    }
}

/* Animation Enhancements */
.our-work-page .project-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.our-work-page .project-item:nth-child(1) { animation-delay: 0.1s; }
.our-work-page .project-item:nth-child(2) { animation-delay: 0.2s; }
.our-work-page .project-item:nth-child(3) { animation-delay: 0.3s; }
.our-work-page .project-item:nth-child(4) { animation-delay: 0.4s; }
.our-work-page .project-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Spacing */
.our-work-page .our-work-section {
    padding: 4rem 0;
}

.our-work-page .section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

@media (max-width: 767.98px) {
    .our-work-page .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
}

/* Big Picture & Contents Module Styles */
.our-work-page .big-picture-contents-section {
    padding: 5rem 0;
    background-color:#F6F9F9;
    position:relative;
}

/* Big Image Container */
.our-work-page .big-image-container {
    position: relative;
    overflow: hidden;
    height: 100%;
    
    border-radius: 16px;
    box-shadow: 0 6px 15px 0 rgba(0, 0, 0, 0.15);
}

.our-work-page .big-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;

}

.our-work-page .big-image-container:hover .big-image {
    transform: scale(1.05);
}

/* Content Wrapper */
.our-work-page .content-wrapper {
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Icon Container */
.our-work-page .icon-container {
    margin-bottom: 1.5rem;
    text-align: left;
}

.our-work-page .company-icon {
    max-width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Company Title */
.our-work-page .company-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Company Description */
.our-work-page .company-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
    text-align:left;
}

.our-work-page .company-description p {
    margin-bottom: 1rem;
}

.our-work-page .company-description strong,
.our-work-page .company-description b {
    color: #e74c3c;
    font-weight: 600;
}

/* CTA Button */
.our-work-page .cta-button {
    margin-top: auto;
}

.our-work-page .cta-button .btn-primary {
 
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--Wordie-White, #F6F9F9);
    text-align: center;
    /* CTA-Reg */
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 16px;
    background: var(--Wordie-Accent, #116E6E);
    border:0px;
    transition: all 0.3s ease;
}

.our-work-page .cta-button .btn-primary:hover {
    background: #0A3542;
    border-color: #0A3542;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 110, 110, 0.3);
    
}

.our-work-page .cta-button .btn-primary svg {
    transition: transform 0.3s ease;
}

.our-work-page .cta-button .btn-primary:hover svg {
    transform: translateX(3px);
}

/* Responsive Design for Big Picture Module */
@media (max-width: 991.98px) {
    .our-work-page .big-picture-contents-section {
        padding: 3rem 0;
    }
    
    .our-work-page .content-wrapper {
        padding: 2rem;
    }
    
    .our-work-page .company-title {
        font-size: 2rem;
    }
    
    .our-work-page .big-image-container {
        /* min-height: 300px; */
    }
}

@media (max-width: 767.98px) {
    .our-work-page .big-picture-contents-section {
        padding: 64px 0px;
    }
    
    .our-work-page .work-showcase {
        margin: 0 1rem;
    }
    
    .our-work-page .content-wrapper {
        padding: 0px;
        text-align: center;
    }
    
    .our-work-page .company-title {
        font-size: 24px;
        text-align: left;
    }
    
    .our-work-page .icon-container {
        text-align: left;
    }
    
    .our-work-page .big-image-container {
        /* min-height: 250px; */
    }
    
    .our-work-page .cta-button {
        text-align: left;
    }
}

/* Post Loop Module Styles */
.our-work-page .post-loop-section {
    padding: 5rem 0;
    background: #E8F1F1;
}

.our-work-page .post-loop-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    text-align: center;
}

.our-work-page .posts-grid {
    margin-bottom: 3rem;
}

.our-work-page .post-card {
    background: #F6F9F9;
    border-radius: 16px;
    border: 1px solid var(--wordie-white-70, #D3D3D3);
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.our-work-page .post-card:hover {
    transform: translateY(-8px);
    /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); */
}

/* Post Image */
.our-work-page .post-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.our-work-page .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.our-work-page .post-card:hover .post-image img {
    transform: scale(1.1);
}

/* Post Content */
.our-work-page .post-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap:16px;
}

/* Category Tag */
.our-work-page .post-category {
    /* margin-bottom: 1rem; */
}

.our-work-page .category-tag {
    display: inline-block;
    color: #0A3542;
    padding: 0.4rem 1rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 16px;
    border: 1px solid var(--Wordie-Accent, #116E6E);
    background: var(--word-dark-teal-20, #E8F1F1);
}

/* Post Title */
.our-work-page .post-title {
    color: var(--Wordie-Dark-Teal, #0A3542);

    /* H4 */
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin:0px;
}

.our-work-page .post-title a {
    color: #0A3542;
    text-decoration: none;
    transition: color 0.3s ease;
}

.our-work-page .post-title a:hover {
    color: #20c997;
}

/* Post Excerpt */
.our-work-page .post-excerpt {
    color: #505C5F;
    line-height: 1.6;
    margin-bottom: 0px;
    flex-grow: 1;
    font-size:16px;
}

.our-work-page .post-excerpt p {
    margin-bottom: 0;
}

/* Post Meta */
.our-work-page .post-meta {
    margin-top: auto;
}

.our-work-page .read-more {
    color: var(--Wordie-Coral, #F5634D);

    /* CTA-Small */
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 21px */
}

.our-work-page .read-more:hover {
    color: #17a2b8;
    transform: translateX(3px);
}

/* View All Button */
.our-work-page .view-all-button {
    margin-top: 2rem;
}

.our-work-page .view-all-button .btn-outline-primary {
    border: 2px solid #20c997;
    color: #20c997;
    background: transparent;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.our-work-page .view-all-button .btn-outline-primary:hover {
    background: #20c997;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 201, 151, 0.3);
}

/* Responsive Design for Post Loop */
@media (max-width: 991.98px) {
    .our-work-page .post-loop-section {
        padding: 3rem 0;
    }
    
    .our-work-page .post-loop-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .our-work-page .post-content {
        padding: 32px;
    }
}

@media (max-width: 767.98px) {
    .our-work-page .post-loop-section {
        padding: 2rem 0;
    }
    
    .our-work-page .post-loop-section .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .our-work-page .post-content {
        padding: 32px;
    }
    
    .our-work-page .post-title {
        font-size: 20px;
    }
    
    .our-work-page .view-all-button .btn-outline-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Grid Texts Module Styles */
.grid-texts-section {
    padding: 5rem 0;
    background: #ffffff;
}

.grid-texts-section .grid-texts {
    margin-top: 3rem;
}

/* Add this to ensure equal height cards */
.grid-texts-section .grid-texts .row {
    display: flex;
    flex-wrap: wrap;
}

.grid-texts-section .grid-texts .row > div {
    display: flex;
    flex-direction: column;
}

.grid-texts-section .grid-text-card {
    padding: 32px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
   
    position: relative;
    overflow: hidden;

    border-radius: 16px;
    border: 1px solid var(--Wordie-Accent, #116E6E);
    background: var(--word-dark-teal-20, #E8F1F1);
    
    /* Add flexbox to ensure content fills the card height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-texts-section .grid-text-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #1e8a7f;
}

.grid-texts-section .grid-text-title {
    color: var(--Wordie-Black, #062028);
    text-align: center;
    
    /* B-Large */
    font-family: "Source Sans Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
}

.grid-texts-section .grid-text-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 1rem 0 0 0;
}

.grid-texts-section .grid-text-link {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.grid-texts-section .grid-text-link:hover {
    color: #1e8a7f;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid-texts-section {
        padding: 3rem 0;
    }
    
    .grid-texts-section .grid-text-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
        min-height:118px;
    }
    
    .grid-texts-section .grid-text-title {
        font-size: 1.1rem;
    }
    
    /* Ensure equal heights on mobile */
    .grid-texts-section .grid-texts .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .grid-texts-section .grid-texts .row > div {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .grid-texts-section .grid-text-card {
        padding: 1.25rem;
    }
    
    /* Additional mobile height fix */
    .grid-texts-section .grid-texts .row > div {
        margin-bottom: 1rem;
    }
}

/* Single Our Work Template Styles */

/* Top Navigation */
body.single-our-work .top-navigation-right .menu a{
    color: var(--Wordie-Dark-Teal, #0A3542);
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
body.single-our-work .site-header{
    background: var(--Wordie-White, #F6F9F9)!important;
box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.15);
}

body.single-our-work  #content{
    background-color:#F6F9F9;
}
.single-our-work .featured-image-section {
    margin-bottom: 3rem;
}

.single-our-work .featured-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
 
}

.single-our-work .featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin-bottom:0px;
}




.single-our-work .logo-title-row {
    display: flex;

    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap:wrap;
}

.single-our-work .company-logo {
    flex-shrink: 0;
}

.single-our-work .logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.single-our-work .post-title-container {
    flex: 1;
}

.single-our-work .post-title {
    color: var(--Wordie-Dark-Teal, #0A3542);
    /* H2 */
    font-family: Montserrat;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.single-our-work .post-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 24px;
}

.single-our-work .post-tag {
    padding: 0.5rem 1rem;
    color: var(--Wordie-Dark-Teal, #0A3542);
    text-align: center;
    /* B-Small */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 16px;
    border: 1px solid var(--Wordie-Accent, #116E6E);
    background: var(--word-dark-teal-20, #E8F1F1);
}

.single-our-work .post-meta-row {
    display: inline-flex;
    gap: 2rem;
    color: #666;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.single-our-work .post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
 

    color: var(--wordie-black-70, #505C5F);

    /* B-Reg */
    font-family: "Source Sans Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}
.single-our-work .post-meta-item .meta-text{
    color:#505C5F;
}
.single-our-work .meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Single Our Work Template - Meta Icons Color */
.single-our-work .meta-svg-icon {
    filter: brightness(0) saturate(100%) invert(27%) sepia(8%) saturate(1234%) hue-rotate(180deg) brightness(94%) contrast(89%);
}

/* Alternative approach using CSS custom properties if the filter doesn't work well */
.single-our-work .meta-svg-icon {
    filter: none;
    fill: #505C5F;
    stroke: #505C5F;
}

.single-our-work .post-meta-item:hover .meta-svg-icon {
    filter: invert(30%) sepia(100%) saturate(1000%) hue-rotate(200deg) brightness(0.7) contrast(1);
}

.single-our-work .post-content-section {
    padding: 2rem 0 4rem 0;
}

.single-our-work .post-content {
  
    margin: 0 auto;
    line-height: 1.7;
    color: #333;
}

.single-our-work .post-content h1,
.single-our-work .post-content h2,
.single-our-work .post-content h3,
.single-our-work .post-content h4,
.single-our-work .post-content h5,
.single-our-work .post-content h6 {
    color: #2c5aa0;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    font-size:20px;
}

.single-our-work .post-content h1 {
    font-size: 2rem;
    margin-top: 3rem;
}


.single-our-work .post-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.single-our-work .post-content h4,
.single-our-work .post-content h5,
.single-our-work .post-content h6 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

.single-our-work .post-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    color:#062028;
    font-size:16px;
}

.single-our-work .post-content ul,
.single-our-work .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.single-our-work .post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.single-our-work .post-content blockquote {
    border-left: 4px solid #2c5aa0;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* .single-our-work .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
} */

.single-our-work .post-content a {
    color: #2c5aa0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-our-work .post-content a:hover {
    color: #1e8a7f;
}

.single-our-work .post-content strong,
.single-our-work .post-content b {
    font-weight: 600;
    color: #0A3542;
}

.single-our-work .post-content em,
.single-our-work .post-content i {
    font-style: italic;
    color: #555;
}

.single-our-work .post-content code {
    background: #f1f3f4;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.single-our-work .post-content pre {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
}

.single-our-work .post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.single-our-work .post-content th,
.single-our-work .post-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.single-our-work .post-content th {
    background: #2c5aa0;
    color: white;
    font-weight: 600;
}

.single-our-work .post-content tr:nth-child(even) {
    background: #f8f9fa;
}

.single-our-work .post-content tr:hover {
    background: #e3f2fd;
}



/* Last paragraph spacing */
.single-our-work .post-content p:last-of-type {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .single-our-work .post-meta-item .meta-text{
        font-size:12px;
    }
    .single-our-work .post-content {
        padding: 0 1rem;
    }
    
    .single-our-work .post-content h1 {
        font-size: 1.75rem;
    }
    

    
    .single-our-work .post-content h3 {
        font-size: 1.25rem;
    }
    
    .single-our-work .post-content ul,
    .single-our-work .post-content ol {
        padding-left: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .single-our-work .logo-title-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .single-our-work .post-title {
        font-size: 24px;
        text-align:left;
    }
    
    .single-our-work .post-meta-row {
        flex-direction: row;
        gap: 1rem;
    }
}

@media (max-width: 576px) {

}

/* Breadcrumbs Styles */
.single-our-work .breadcrumbs-section {
    display: flex;
    padding: 42px 72px;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    
}

.single-our-work .breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.single-our-work .breadcrumb-link {
    color: var(--wordie-black-70, #505C5F);

    /* B-Small */
    font-family: "Source Sans Pro";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.single-our-work .breadcrumb-link:hover {
    color: #1e8a7f;
    text-decoration: underline;
}

.single-our-work .breadcrumb-separator {
    color: #999;
    margin: 0 0.25rem;
}

.single-our-work .breadcrumb-current {
    color: var(--Wordie-Coral, #F5634D);

    /* B-Small */
    font-family: "Source Sans Pro";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
@media(max-width:768px){
    .single-our-work .breadcrumbs-section{
        padding:42px 0px;
    }
}
/* Featured Image Alignment Fix */
.single-our-work .featured-image-section {
    margin-bottom: 37px;
}

.single-our-work .featured-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.single-our-work .featured-image {
    width: 100%;
    height: auto;
    display: block;
}



.single-our-work .post-content-section {
    padding: 42px 0px;
}
@media(max-width:768px){
    .single-our-work .featured-image-section{
        padding-top:64px;
    }
}
/* More Case Studies Section Styles */
.more-case-studies-section {
    padding: 5rem 0;
    background: var(--word-dark-teal-20, #E8F1F1);
}

.more-case-studies-section .section-title {
    color: var(--Wordie-Dark-Teal, #0A3542);
    text-align: center;
    /* H2 */
    font-family: Montserrat;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.more-case-studies-section .case-studies-grid {
    margin-top: 2rem;
}

.more-case-studies-section .case-study-card {
    background: #ffffff;
    
    overflow: hidden;
  
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: 16px;
    border: 1px solid var(--wordie-white-70, #D3D3D3);
}

.more-case-studies-section .case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.more-case-studies-section .case-study-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.more-case-studies-section .case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.more-case-studies-section .case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.more-case-studies-section .case-study-content {
    padding: 32px;
}



.more-case-studies-section .category-tag {
    padding: 0.4rem 1rem;
    display: inline-block;
    color: var(--Wordie-Dark-Teal, #0A3542);
    text-align: center;
    /* B-Extra Small */
    font-family: "Source Sans Pro";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;

    border-radius: 16px;
    border: 1px solid var(--Wordie-Accent, #116E6E);
    background: var(--word-dark-teal-20, #E8F1F1);
}

.more-case-studies-section .case-study-title a{
    color: var(--Wordie-Dark-Teal, #0A3542);
    /* H4 */
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.more-case-studies-section .case-study-description {
    font-size: 16px;
    color: #505C5F;
    line-height: 1.6;

}

.more-case-studies-section .case-study-link {
    margin-top: auto;
}

.more-case-studies-section .read-more-link {
    color: var(--Wordie-Coral, #F5634D);

    /* CTA-Small */
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 21px */
}

.more-case-studies-section .read-more-link:hover {
    color: #c82333;
}

.more-case-studies-section .arrow-icon {
    transition: transform 0.3s ease;
}

.more-case-studies-section .read-more-link:hover .arrow-icon {
    transform: translateX(3px);
}

body.single-our-work .site-main > div:not(.breadcrumbs-section):not(.more-case-studies-section) .container{
    max-width:856px;
}

/* Responsive Design */
@media (max-width: 1200x) {

}

@media (max-width: 768px) {
    .more-case-studies-section .section-title {
        font-size: 24px;
    }
    
    .more-case-studies-section .case-study-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {


}

/* Center images in post content while keeping text alignment */
.single-our-work .post-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* If you want to add some spacing around centered images */
.single-our-work .post-content img {
    display: block;
    margin: 2rem auto;
    text-align: center;
}

/* Make alignnone images display inline when next to each other */
.single-our-work .post-content img.alignnone {
    display: inline-block;
    margin: 0.5rem;
    vertical-align: top;
}

/* Container for multiple alignnone images to ensure proper inline display */
.single-our-work .post-content .wp-block-image.alignnone,
.single-our-work .post-content p:has(img.alignnone) {
    text-align: center;
}

/* Ensure proper spacing between inline images */
.single-our-work .post-content img.alignnone + img.alignnone {
    margin-left: 0.5rem;
}

/* Ensure case study cards have equal heights and aligned read-more links */
.more-case-studies-section .case-studies-grid .row {
    display: flex;
    flex-wrap: wrap;
}

.more-case-studies-section .case-studies-grid .row > div {
    display: flex;
    flex-direction: column;
}

.more-case-studies-section .case-study-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.more-case-studies-section .case-study-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap:16px;
}



.more-case-studies-section .case-study-link {
    margin-top: auto;
}

/* Small brand image styling */
.single-our-work .small-brand-image {
    text-align: center;
    margin-bottom: 1rem;
    flex-basis:100%;
    text-align:left;
}

.single-our-work .brand-image-small {
    max-width: 80px;
    height: auto;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .single-our-work .brand-image-small {
        max-width: 60px;
        text-align:left;
    }
}

/* Our Service Section - Complete button alignment fix */
.our-service-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

.our-service-section .col-lg-4 {
    display: flex !important;
    flex-direction: column !important;
}

.our-service-section .column-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    gap: 16px !important;
}

.our-service-section .column-content h4 {
    margin-bottom: 0 !important;
}

.our-service-section .column-content p {
    flex: 1 !important;
    margin-bottom: 0 !important;
}

.our-service-section .column-button {
    margin-top: auto !important;
}
