/**
 * Frontend Styles - ViaComodoro Turismo v2.4.0
 * 
 * Cambios:
 * - Sistema de cards unificado (.vct-card) para lugares, eventos y actividades.
 * - Eliminado el layout horizontal de eventos (.vct-evento-item) que tenía la imagen al costado.
 * - Grid responsive limpio: 1 col mobile → 2 col tablet → 3 col desktop.
 */

/* ============================================
   DETALLES EN PÁGINAS SINGULARES
   ============================================ */

.vct-lugar-details,
.vct-evento-details,
.vct-actividad-details {
    background: #f8f9fa;
    border-left: 4px solid #0073aa;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.vct-detail-item {
    margin-bottom: 15px;
    line-height: 1.6;
}

.vct-detail-item:last-child {
    margin-bottom: 0;
}

.vct-detail-item strong {
    display: inline-block;
    margin-bottom: 4px;
    color: #333;
}

.vct-gratuito {
    background: #e7f5e7;
    padding: 10px;
    border-radius: 4px;
    color: #00a32a;
    font-weight: bold;
}

.vct-fecha-destacada {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    font-size: 1.1em;
}

.vct-precio-destacado {
    font-size: 1.3em;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
}

/* Servicios badges */
.vct-servicios {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.vct-servicio-badge {
    background: #0073aa;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
}

/* Meta badges (actividad singular) */
.vct-actividad-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.vct-meta-badge {
    background: #f0f0f0;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.9em;
}

.vct-nivel-facil    { background: #e7f5e7; color: #00a32a; }
.vct-nivel-moderado { background: #fef7e0; color: #d4a017; }
.vct-nivel-dificil  { background: #fef0f0; color: #d63638; }
.vct-nivel-experto  { background: #f5e7f0; color: #8c1c5d; }

/* Botones singulares */
.vct-btn-entradas,
.vct-btn-reserva {
    display: inline-block;
    background: #0073aa;
    color: white !important;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    margin-top: 10px;
}

.vct-btn-entradas:hover,
.vct-btn-reserva:hover {
    background: #005177;
}

/* ============================================
   GRID UNIFICADO (Shortcodes)
   ============================================ */

.vct-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 20px 0;
}

@media (min-width: 600px) {
    .vct-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .vct-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   CARD UNIFICADO
   ============================================ */

.vct-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vct-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Imagen */
.vct-card-image {
    overflow: hidden;
    height: 190px;
    flex-shrink: 0;
}

.vct-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vct-card:hover .vct-card-image img {
    transform: scale(1.04);
}

/* Contenido */
.vct-card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vct-card-content h3 {
    margin: 0 0 8px;
    font-size: 1.15em;
    line-height: 1.3;
}

.vct-card-content h3 a {
    color: #2d3748;
    text-decoration: none;
}

.vct-card-content h3 a:hover {
    color: #0073aa;
}

/* Fecha (eventos) */
.vct-card-fecha {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    font-size: 0.8em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    font-weight: 600;
}

/* Tag (tipo/lugar) */
.vct-card-tag {
    font-size: 0.82em;
    color: #718096;
    margin-bottom: 6px;
    display: block;
}

/* Precio (actividades) */
.vct-card-precio {
    font-size: 1.15em;
    font-weight: 700;
    color: #0073aa;
    margin: 8px 0;
}

/* Extracto */
.vct-card-content .entry-content p,
.vct-card-content p {
    margin: 0 0 10px;
    color: #4a5568;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Botón ver más */
.vct-btn-ver-mas {
    display: inline-block;
    background: #0073aa;
    color: #fff !important;
    padding: 9px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.88em;
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
    transition: background 0.3s;
}

.vct-btn-ver-mas:hover {
    background: #005177;
}

/* Mensaje vacío */
.vct-empty {
    color: #718096;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}
