/* ============================================================
   Social Tour Card -- capa visual independiente de la card clásica.
   Aislado con el prefijo .tat-sc para no chocar con las clases .tat-card
   de la card clásica ni con el CSS del tema/Elementor.
   Etapa 3: solo modo imagen. Video/Like/Compartir/Guardar se agregan en
   etapas posteriores sin reescribir este archivo desde cero.
   ============================================================ */

.tat-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 1024px) { .tat-social-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .tat-social-grid { grid-template-columns: 1fr; } }

.tat-sc, .tat-sc *, .tat-sc *::before, .tat-sc *::after { box-sizing: border-box; }

.tat-sc {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 4px 18px rgba(16, 24, 40, .12);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (max-width: 640px) {
    .tat-sc { aspect-ratio: 3 / 4.6; }
}

.tat-sc__media-link { position: absolute; inset: 0; display: block; }
.tat-sc__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.tat-sc__media--vacio { background: linear-gradient(135deg, #cbd5e1, #94a3b8); }

@media (hover: hover) {
    .tat-sc:hover .tat-sc__media { transform: scale(1.03); }
}

/* Degradado inferior para que el texto sea legible sobre la foto, sin
   caja blanca separada -- el contenido "flota" sobre la imagen. */
.tat-sc__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.75) 100%);
    pointer-events: none;
}

.tat-sc__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, .95);
    color: #101828;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .3px;
    padding: 6px 12px;
    border-radius: 999px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(16, 24, 40, .18);
}

.tat-sc__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 16px 16px 18px;
    color: #fff;
}

.tat-sc__titulo {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.tat-sc__titulo a { color: #fff; text-decoration: none; }
.tat-sc__titulo a:hover { text-decoration: underline; }

.tat-sc__meta {
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.9);
}
.tat-sc__meta-item::after { content: "·"; margin-left: 10px; opacity: .6; }
.tat-sc__meta-item:last-child::after { content: none; margin-left: 0; }

.tat-sc__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tat-sc__precio {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.25);
}

.tat-sc__reservar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #101828;
    font-size: 13.5px;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .12s ease, filter .12s ease;
}
.tat-sc__reservar:hover { filter: brightness(.96); }
.tat-sc__reservar:active { transform: scale(.97); }
.tat-sc__reservar-icon { width: 15px; height: 15px; flex-shrink: 0; }
