/* =====================================================
   EDITORIAL STYLES – TITULOS & PREMIUM SECTIONS
   Theme: Sinatra Child
   Author: Corporate Events
   ===================================================== */

/* ---------- TITULOS GENERALES ---------- */

h1,
h2 {
  color: ##d4af37 !important;
  font-weight: 700;
  letter-spacing: 0.3px;
}

h3 {
  color: #cab359 !important;
  font-weight: 700;
}

h4,
h5 {
  color: #d6d6d6 !important;
  font-weight: 600;
}

/* ---------- TITULOS EN FONDOS OSCUROS ---------- */

section,
div {
  background-color: transparent;
}

div[style*="background:black"] h1,
div[style*="background:black"] h2,
div[style*="background:black"] h3,
div[style*="background:black"] h4 {
  color: #ffffff !important;
}

/* ---------- SPONSORED / PREMIUM LABEL ---------- */

.sponsored,
span:contains("Sponsored") {
  background-color: #cab359;
  color: #000;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: 4px;
}

/* ---------- WPBAKERY OVERRIDES ---------- */

.wpb_wrapper h1,
.wpb_wrapper h2,
.wpb_wrapper h3,
.wpb_wrapper h4 {
  color: inherit;
}

/* =========================================================
   UNIFICACIÓN DE TIPOGRAFÍA Y TAMAÑOS PARA TARJETAS
   ========================================================= */

/* 1. Contenedores de tarjetas unificados */
.ce-featured-venue-card,
.ce-destination-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.ce-featured-venue-card:hover,
.ce-destination-card:hover {
    transform: translateY(-3px);
}

/* 2. Unificar el tamaño exacto de las fotos (Imágenes) */
.ce-featured-venue-card .ce-efv-image,
.ce-destination-card .ce-destination-image {
    width: 100%;
    height: 220px; /* Puedes ajustar esta altura fija según prefieras (ej. 200px o 250px) */
    overflow: hidden;
    display: block;
}

.ce-featured-venue-card .ce-efv-image img,
.ce-destination-card .ce-destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la imagen proporcionalmente para que llene el espacio sin deformarse */
    display: block;
}

/* 3. Unificar Tipografía y Espaciados internos del contenido */
.ce-featured-venue-card .ce-efv-content,
.ce-destination-card .ce-destination-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Títulos con la misma fuente, tamaño y color */
.ce-featured-venue-card h3,
.ce-destination-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.ce-featured-venue-card h3 a,
.ce-destination-card h3 a {
    color: #1a202c;
    text-decoration: none;
}

.ce-featured-venue-card h3 a:hover,
.ce-destination-card h3 a:hover {
    color: #3182ce; /* Color al pasar el ratón */
}

/* Extractos / Textos descriptivos unificados */
.ce-featured-venue-card p,
.ce-destination-card p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0 0 15px 0;
    flex-grow: 1; /* Empuja el enlace del final hacia abajo para que queden alineados */
}

/* Enlaces de llamada a la acción (Explore...) */
.ce-featured-venue-link,
.ce-destination-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3182ce;
    text-decoration: none;
    margin-top: auto; /* Mantiene el botón siempre alineado abajo */
}

.ce-featured-venue-link:hover,
.ce-destination-link:hover {
    text-decoration: underline;
}