/* Two Column WYSIWYG */

.two-col-wysiwyg h2 {
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    margin-bottom: 20px;   
}

.two-col-wysiwyg h3 {
    font-family: "League Spartan", sans-serif;
    font-weight: 700;  
    margin-bottom: 15px;
}

.two-col-wysiwyg p + h3 {
    margin-top: 2.8rem;
}

.two-col-wysiwyg p {

}

.two-col-wysiwyg img {
    border-radius: 20px;
}

/* Case Studies Hero */
.cs_hero-section {
    position: relative;
    height: 60vh;
    min-height: 500px;
    color: white;
    overflow: hidden;
}

.cs_hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cs_hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}

.cs_hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

.cs_hero-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.company-logo {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
}

.company-logo img {
    max-width: 200px;
    height: auto;
}

.cs_hero-content {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    max-width: 90%;
}

.cs_hero-headline {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cs_hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #ffc107;
    font-weight: 500;
    font-size: 1.1rem;
}

.campaign-award {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-self: end;
}

.campaign-award img {
    max-width: 150px;
    height: auto;
}

@media (max-width: 991px) {
    .cs_hero-section {
        max-height: 70vh;
        min-height: 500px;
    }
    
    .cs_hero-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        align-items: center;
        justify-items: center; 
        text-align: center;
    }

    .company-logo {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 2rem;
        justify-self: center; 
    }
    
    .cs_hero-content {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        max-width: 100%;
    }

    .cs_hero-headline {
        font-size: 2.5rem;
        text-align: center;
    }

    .cs_hero-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .campaign-award {
        grid-column: 1;
        grid-row: 3;
        justify-self: center; 
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .cs_hero-headline {
        font-size: 2rem;
    }
    
    .company-logo img {
        max-width: 150px;
    }
    
    .campaign-award img {
        max-width: 120px;
    }
}

/* Blockquote */
.cst-blockquote-section {
    color: #fff;
}

.cst-blockquote-text {
    font-family: "League Spartan", sans-serif;
    font-size: 1.8em;
    font-weight: 500;
}

.cst-blockquote-text .cst-highlight {
    color: #ffc628;
}

.cst-blockquote-avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cst-blockquote-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cst-blockquote-name {
    font-size: 1.1rem;
}

.cst-blockquote-role {
    font-size: 0.95rem;
    opacity: 0.85;
}

@media (max-width: 991.98px) {
    .cst-blockquote-text {
        max-width: 100%;
    }
}

/* Campaign Results */
.cst-results-section {
    background-color: #fff;
}

.cst-result-value {
    font-size: 4rem; 
    line-height: 1;
}

.cst-result-desc {
    font-size: 1.1rem;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .cst-result-value {
        font-size: 2.2rem; 
        margin-bottom: 0.5rem;
    }

    .cst-result-desc {
        font-size: 0.95rem;
    }

    .cst-results-section .row > div {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .cst-results-section .row > div + div {
        border-top: 1px solid #e5e5e5;
    }
}

/* Media Gallery */
.cst-media-gallery {
    width: 100%;
}

.cst-media-gallery__panel {
    position: relative;
    overflow: hidden;
}

.cst-media-gallery__panel--thumb {
    border-radius: 20px;
}

.cst-media-gallery__img {
    width: 100%;
    height: auto;
    display: block;
}

.cst-media-gallery__main {
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    /* padding-bottom removed */
}

/* Keep the 16:9 trick only for the video wrapper */
.cst-media-gallery__main-video {
    position: relative;
    padding-bottom: 56.25%;
}

.cst-media-gallery__main-video iframe,
.cst-media-gallery__main-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}