.content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    right: -10px;
}

.cs-header-content {
    position: relative;
    z-index: 1;
    color: rgb(78, 78, 77);
    padding: 2vw 8vw;
}
.cs-header-content h1 {
    font-size: 60px;
}
.cs-header-content h6 {
    font-size: 20px;
    margin: 1em 0;
    font-family: museo-500, sans-serif;
}
.cs-header-content p {
    font-size: 20px;
    font-family: museo-500, sans-serif;
}
.cs-header-content a {
    text-decoration: none;
    background: dimgrey;
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-family: museo-500, sans-serif;
}
.cs-header-content a:hover {
    color: #E30613;
}
.cs-header-content h6::after {
    display: none;
}
.cs-header-content p {
    max-width: 70%;
    margin-bottom: 60px;
}

.case-studies-header {
    position: relative;
    height: 450px;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.cover {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    content: "";
    height: 100%;
    position: absolute;
}

.large-articles {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.la {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.la-img {
    max-width: 40%;
}

.la-img img {
    max-width: 100%;
}

.la-title {
    max-width: 40%;
}

.la-title h4, .la-title p {
    max-width: 50%;
}

.la-title h4 {
    color: rgb(157, 157, 156);
    position: relative;
}

.la-title h4::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 75%;
    height: 3px;
    background: red;
}

.large-articles:has(#la1:hover) #caseStudy1 h4  {
    color: #232323;
    cursor: pointer;
    transform: translateX(0px) translateY(-11px) scaleX(1) scaleY(1) rotate(0deg) skewX(0deg) skewY(0deg);
    transition: all 0.4s ease-in-out 0s, visibility 0s;
    --transition: all 0.4s ease-in-out 0s, visibility 0s;
}
.large-articles:has(#la2:hover) #caseStudy2 h4  {
    color: #232323;
    cursor: pointer;
    transform: translateX(0px) translateY(-11px) scaleX(1) scaleY(1) rotate(0deg) skewX(0deg) skewY(0deg);
    transition: all 0.4s ease-in-out 0s, visibility 0s;
    --transition: all 0.4s ease-in-out 0s, visibility 0s;
}

.trusted-by {
    background: rgb(78,78,77);
}

.image-scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    background: rgb(78,78,77);
    padding: 20px 0;
}

.image-scroll-track {
    display: flex;
    width: max-content;
    gap: 50px;
    animation: scrollRightToLeft 90s linear infinite;
}

.image-gallery {
    background: white;
    padding: 2vw 6vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 5px;
}

.image-gallery img {
    height: 250px;
}

.image-scroll-track img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.image-scroll-container:hover .image-scroll-track {
    animation-play-state: paused;
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.articles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 20px;
    padding: 1vw 2vw;
    gap: 10px;
}

.article {
    width: 350px;
    display: flex;
    height: 450px;
    flex-direction: column;
    justify-content: flex-start;
}

.thumbnail {
    max-width: 100%;
}
.thumbnail img {
    max-width: 100%;
    object-fit: cover;
    height: 200px;
    width: 350px;
}
.caption h4 {
    margin-bottom: 0;
    color: rgb(77, 77, 76);
}
.article-button a {
    padding: 12px 20px;
    background: rgb(156, 156, 155);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-family: museo-500, sans-serif;
}
.article-button a:hover {
    color: #E30613;
}

.article-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px 0;
    align-items: center;
}

@media (max-width: 1010px) {
    .la-title h4, .la-title p {
        max-width: 100%;
    }
    .cs-header-content h1 {
        font-size: 40px;
    }
    .cs-header-content p {
        font-size: 17px;
    }
}
@media (max-width: 700px) {
    .la-img, .la-title {
        max-width: 100%;
    }
    .la {
        justify-content: center;
    }
    .large-articles {
        padding: 1vw 3vw;
    }
    .cs-header-content p {
        max-width: 100%;
    }
}

@media (max-width: 400px) {
    .article {
        width: 230px;
        height: 100%;
        max-height: 510px;
    }
    p {
        font-size: 13px;
    }
    .cs-header-content h1 {
        font-size: 30px;
    }
    .cs-header-content p {
        font-size: 14px;
    }
    .caption h4 {
        line-height: 1em;
    }
    .description {
        margin-bottom: 10px;
    }
}
