/* -------------------------------------------------------------------
   ESTILOS ESPECÍFICOS DEL SHORTCODE (Diseño delegado al editor de bloques)
---------------------------------------------------------------------- */

/* El contenedor principal ya no define las columnas, solo actúa como un bloque */
.refran-shortcode-wrapper {
    /* Quitamos todas las reglas de rejilla/flex/float */
    margin: 30px 0;
    box-sizing: border-box;
    width: 100%;
}

/* -------------------------------------------------------------------
   Estilos de las tarjetas de idioma (Columna 1)
---------------------------------------------------------------------- */
.refran-shortcode-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 6px;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}
.refran-shortcode-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.refran-shortcode-translations h3 {
    font-size: 1.5em;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 3px solid #0d47a1;
    padding-bottom: 5px;
}
.refran-shortcode-item h4 {
    font-size: 1.1em;
    color: #0d47a1;
    margin-bottom: 10px;
    margin-top: 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}
.refran-shortcode-item .refran-texto a {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.4;
    color: #2d3748;
    text-decoration: none;
}
.refran-traduccion-cf {
    font-size: 0.9em;
    color: #5a6b86;
    font-style: italic;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #cccccc;
}

/* -------------------------------------------------------------------
   Estilos de la Columna 2: Datos Interesantes (Shortcode [refran_english_data])
---------------------------------------------------------------------- */
/* -------------------------------------------------------------------
   Estilos de la Columna 2: Datos Interesantes (Shortcode [refran_english_data])
---------------------------------------------------------------------- */
.refran-english-highlight-column {
    background: #f0f8ff;
    padding: 25px;
    /* ... otros estilos ... */

    /* ⭐ CORRECCIÓN DE ALINEACIÓN SUPERIOR */
    align-self: flex-start !important;
    margin-top: 0 !important;
    margin-bottom: 20px; /* Asegura el espaciado inferior si es el último elemento */
}
.refran-english-highlight-column h3 {
    font-size: 1.2em;
    color: #0d47a1;
    margin-top: 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.refran-english-highlight-column .english-cf-text {
    font-size: 1.1em;
    font-style: italic;
    color: #34495e;
    margin-bottom: 25px;
}
.shortcode-ver-mas-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 15px;
    background-color: #0d47a1;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}