/*======================================
SINGLE CASES
======================================*/

.single-case {
    background-color: #ffffff;
    color: #0e1b29;
}

/*======================================
HERO EDITORIAL
======================================*/

.case-hero {
    background-color: #0e1b29;
    padding: 140px 0 70px;
    color: #ffffff;
}

.case-hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/*======================================
BREADCRUMB
======================================*/

.case-breadcrumb {
    margin-bottom: 40px;
}

.case-breadcrumb .breadcrumb {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.case-breadcrumb .breadcrumb a {
    color: #ffc93b;
    text-decoration: none;
        text-transform: uppercase;
}

.case-breadcrumb .breadcrumb span {
    color: #fff;

}

/*======================================
HEADER
======================================*/

.case-header {
    width: 100%;
}

.case-title-single {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 50px;
    max-width: 900px;
    color: #ffffff;
}

.case-header-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

/*======================================
SUBTÍTULO
======================================*/

.case-subtitle p {
    font-size: .9rem;
    line-height: 1.7;
    font-weight: 300;
    color: white;
    margin: 0;
    max-width: 760px;
}

/*======================================
INFOS
======================================*/

.case-infos {
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 35px;
}

.case-info-item {
    margin-bottom: 12px;
}

.case-info-item:last-child {
    margin-bottom: 0;
}

.case-info-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffc93b;
    margin-bottom: 8px;
}

.case-info-value {
    display: block;
    font-size: 0.68rem;
    line-height: 1.6;
    color: #ffffff;
}

/*======================================
IMAGEM DESTACADA
======================================*/

.case-featured-image-section {
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.case-featured-image-section .container {
    max-width: 1580px;
    height: auto;
    margin: 0 auto;
    padding: 0 10px;
}



.case-featured-image-wrapper {
    margin: 0;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.16);

    max-height: 420px;
}

.case-featured-image {
    width: 100%;
    height: 620px;
    display: block;
    object-fit: cover;
    object-position: center;
}

/*======================================
CONTEÚDO
======================================*/

.case-content-section-single {
    padding: 10px 0;
}

.case-content-section-single .container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 40px;
}

.case-content-single {
    font-size: 1.08rem;
    line-height: 1.95;
    color: #1d2733;
}



.case-content-single img {
    width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

.case-content-single iframe,
.case-content-single embed,
.case-content-single object,
.case-content-single video {
    width: 100%;
    max-width: 100%;
    margin: 1rem auto;
    display: block;
}

.case-content-single blockquote {
    margin: 3rem 0;
    padding-left: 25px;
    border-left: 3px solid #ffc93b;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #0e1b29;
}

/*======================================
GRID 3 COLUNAS
======================================*/

.case-gallery-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin: 2px 0;
}

.case-gallery-3 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* MOBILE */
@media (max-width: 768px) {

    .case-gallery-3 {
        grid-template-columns: 1fr;
    }

    .case-gallery-3 img {
        height: auto;
    }

}

/*======================================
SHARE
======================================*/

.case-share-section {
    padding: 40px 0 80px;
    margin: 0 auto;
}

.case-share-section .container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 40px;
}

.case-share-section .share {
    display: flex;
    align-items: center;
    gap: 18px;
}

.case-share-section .share p {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5c6875;
}

.case-share-section .share-buttons {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-share-section .share-buttons a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.case-share-section .share-buttons a:hover {
    transform: translateY(-2px);
}

.case-share-section .facebook {
    background-color: #3b5998;
}

.case-share-section .linkedin {
    background-color: #0077b5;
}

.case-share-section .whatsapp {
    background-color: #25d366;
}

/*======================================
RELACIONADOS
======================================*/

.related-posts {
    padding: 100px 0;
    background-color: #f7f8fa;
}

.related-posts .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.related-posts-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 40px;
    color: #0e1b29;
    font-weight: 600;
}

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

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

.related-post-thumb {
    overflow: hidden;
    margin-bottom: 18px;
}

.related-post-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    max-height: 260px;
    display: block;
    transition: transform 0.5s ease;
}

.related-post-item:hover img {
    transform: scale(1.03);
}

.related-post-content h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 500;
    color: #0e1b29;
    margin: 0;
}

/*======================================
RESPONSIVO
======================================*/

@media (max-width: 980px) {

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

    .case-infos {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.15);
        padding-left: 0;
        padding-top: 30px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    .case-hero {
        padding: 120px 0 50px;
    }

    .case-hero .container,
    .case-featured-image-section .container,
    .case-content-section .container,
    .case-share-section .container,
    .related-posts .container {
        padding: 0 4px;
    }

    .case-title-single {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .case-subtitle p {
        font-size: .85rem;
        line-height: 1.8;
    }

    .case-featured-image {
       height: 220px;
       margin-bottom: -10px;
    }

    .case-content-single {
        font-size: 1rem;
        line-height: 1.9;
    }

    .case-content-section-single {
        padding: 10px 0;
    }

    .related-posts {
        padding: 70px 0;
    }

}