/**
 * Focus Areas Cards — estilos del shortcode [focus_cards]
 * Tres tarjetas inclinadas con la imagen destacada de cada focus-area.
 */
.focus-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 30px auto;
    padding: 30px;
    overflow: visible;
    position: relative;
    /* El diseño de tarjetas inclinadas/solapadas está pensado para LTR
       (transforms y márgenes negativos físicos). En páginas RTL (árabe)
       forzamos LTR aquí para que se vea idéntico a la versión inglesa. */
    direction: ltr;
}
/* Mensaje cuando no hay focus areas publicadas */
.focus-cards-empty {
    color: #fff;
    text-align: center;
}
.focus-card {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 388px;
    max-width: 388px;
    min-width: 320px;
    height: 424px;
    background: #FFF5F0;
    border: 1.078px solid #043829;
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.4s ease;
}
/* Posición y solape de las tres tarjetas */
.focus-card:nth-child(1) {
    transform: rotate(-7deg) translateX(30px);
    margin-right: -40px;
    z-index: 1;
}
.focus-card:nth-child(2) {
    transform: rotate(0deg) translateY(-15px);
    z-index: 3;
}
.focus-card:nth-child(3) {
    transform: rotate(7deg) translateX(-30px);
    margin-left: -40px;
    z-index: 1;
}
/* Hover: la tarjeta apuntada se agranda y pasa al frente */
.focus-card:hover {
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}
.focus-card:nth-child(1):hover {
    transform: rotate(-7deg) translateX(30px) scale(1.05);
}
.focus-card:nth-child(2):hover {
    transform: rotate(0deg) translateY(-15px) scale(1.05);
}
.focus-card:nth-child(3):hover {
    transform: rotate(7deg) translateX(-30px) scale(1.05);
}
/* Las tarjetas no apuntadas mantienen su aspecto normal */
.focus-cards-wrapper:hover .focus-card:not(:hover) {
    opacity: 1;
    filter: none;
}
/* Imagen destacada (a sangre, sin márgenes) */
.focus-card .fc-image {
    flex: 0 0 180px;
    width: 100%;
    height: 180px;
    display: block;
}
.focus-card .fc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Contenido de texto */
.focus-card .fc-content {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 35px;
    overflow: hidden;
}
.focus-card h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #2d2d2d;
    /* Máximo 3 líneas, corta con "…" */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.focus-card p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #555;
    /* Máximo 5 líneas, corta con "…" (no se agranda la tarjeta) */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Botón "GO": siempre visible, superpuesto en la esquina superior */
.focus-card .fc-go-wrap {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
}
.focus-card .fc-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 38px;
    padding: 0 10px;
    background: #C15A4A;
    color: #fff;
    border-radius: 19px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
}
/* Responsive: se apilan en vertical y liberan la altura fija */
@media (max-width: 980px) {
    .focus-cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .focus-card {
        transform: rotate(0deg) translate(0) !important;
        margin: 15px 0 !important;
        width: 90%;
        max-width: 400px;
        min-width: auto;
        height: auto;
    }
}