/* SC Casos de Estudio: ajustes sobre el CSS de Revox (main.css) */

/* Acordeon FAQ: igual al widget Elementor original */
.sc-case .acc-btn .icon,
.sc-case .acc-btn.active .icon { color: #fff; }
.sc-case .acc-btn i { font-size: 16px; }

/* Parrafos multiples dentro de cada bloque de contenido */
.sc-case .bottom-content-items p + p { margin-top: 16px; }
.sc-case .bottom-content-items a { color: #BFF747; text-decoration: underline; text-underline-offset: 3px; }
.sc-case .top-image-items .list-items a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sc-case .top-image-items .list-items a:hover { color: #BFF747; }

/* Imagenes de la galeria */
.sc-case .project-details-image img,
.sc-case .project-image img { width: 100%; height: auto; display: block; }

/* Portada tipografica cuando el caso aun no tiene imagen */
.sc-case-cover {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
    aspect-ratio: 16 / 7;
    padding: clamp(24px, 5vw, 64px);
    border-radius: 10px;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(191, 247, 71, .22) 0%, rgba(191, 247, 71, 0) 55%),
        linear-gradient(160deg, #1b1b1b 0%, #0b0b0b 100%);
    border: 1px solid rgba(255, 255, 255, .08);
}
.sc-case-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}
.sc-case-cover__label {
    position: relative; z-index: 1;
    font-family: "Kanit", sans-serif;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #BFF747;
}
.sc-case-cover__title {
    position: relative; z-index: 1;
    font-family: "Big Shoulders Display", sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 8vw, 120px);
    line-height: .9;
    text-transform: uppercase;
    color: #fff;
}
.sc-case-cover--card { aspect-ratio: 4 / 3; justify-content: flex-end; }
.sc-case-cover--card .sc-case-cover__title { font-size: clamp(28px, 4vw, 52px); }

@media (max-width: 767px) {
    .sc-case-cover { aspect-ratio: 4 / 3; }
}
