.oag-grid-container {
    display: grid;
    /* Las columnas se definen por la clase de Elementor `elementor-grid-X` */
}

.oag-card {
    border: 1px solid #eee;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Asegura que todas las cards tengan la misma altura */
}

.oag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.oag-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
}

.oag-author-image {
    margin-bottom: 15px;
}

.oag-author-image img {
    width: 80px; /* Tamaño por defecto */
    height: 80px; /* Tamaño por defecto */
    object-fit: cover;
    border-radius: 50%; /* Hace la imagen redonda por defecto */
    background-color: #f0f0f0; /* Color de fondo si la imagen es transparente */
}

.oag-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.oag-author-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oag-post-title {
    font-size: 18px;
    margin: 0;
    line-height: 1.3;
    flex-grow: 1; /* El título ocupa el espacio restante */
    display: flex;
    align-items: center;
    justify-content: center;
}

.oag-post-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.oag-post-title a:hover {
    color: #0073aa;
}

/* Paginación */
.oag-pagination {
    margin-top: 30px;
    text-align: center;
}

.oag-pagination .page-numbers {
    padding: 8px 12px;
    border: 1px solid #ddd;
    margin: 0 2px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.oag-pagination .page-numbers.current,
.oag-pagination .page-numbers:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Enlace "Ver todas las opiniones" */
.oag-view-all-link {
    text-align: center;
    margin-top: 25px; /* Margen superior por defecto */
}

.oag-view-all-link a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.oag-view-all-link a:hover {
    background-color: #005177;
}