/*
 * PLAN A Events — Shortcode CSS
 * Solo para shortcodes: [plana_eventos] [plana_proximos] [plana_inscripcion_form] [plana_inscriptos]
 * El diseño de páginas (single + archivo) lo maneja Elementor.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── FORM DE INSCRIPCIÓN ───────────────────────────────────── */
.plana-form-wrap { font-family: 'Inter', sans-serif; }
.plana-form__title { font-size: 18px; font-weight: 700; margin: 0 0 20px; }

.plana-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media(max-width:560px){ .plana-form__grid { grid-template-columns: 1fr; } }

.plana-form__field { display: flex; flex-direction: column; gap: 6px; }
.plana-form__field--full { grid-column: 1/-1; }
.plana-form__field label {
    font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
    color: #666; font-weight: 700;
}
.plana-form__field input,
.plana-form__field textarea {
    border: 1.5px solid #e0e0e0; border-radius: 7px;
    padding: 11px 14px; font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none; transition: border-color .18s; width: 100%;
    background: #fff; color: #111;
}
.plana-form__field input:focus,
.plana-form__field textarea:focus { border-color: #E63946; box-shadow: 0 0 0 3px rgba(230,57,70,.08); }
.plana-form__field textarea { resize: vertical; min-height: 90px; }

.plana-form__footer {
    display: flex; align-items: center; gap: 16px; margin-top: 20px;
}
.plana-form__msg { font-size: 13px; font-weight: 600; }
.plana-form__msg--ok  { color: #16a34a; }
.plana-form__msg--err { color: #dc2626; }

/* Submit button */
.plana-form .plana-btn--primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: #E63946; color: #fff; border: none;
    padding: 12px 24px; border-radius: 7px; font-size: 13px;
    font-weight: 700; font-family: 'Inter', sans-serif;
    letter-spacing: .3px; cursor: pointer; transition: background .18s;
}
.plana-form .plana-btn--primary:hover { background: #c42d3a; }

/* ── WIDGET PRÓXIMOS EVENTOS ───────────────────────────────── */
.plana-widget-proximos { font-family: 'Inter', sans-serif; }
.plana-widget-proximos__heading {
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; margin: 0 0 16px; color: #111;
}
.plana-widget-proximos__item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 0; border-bottom: 1px solid #f0f0f0;
    text-decoration: none; color: inherit; transition: opacity .18s;
}
.plana-widget-proximos__item:first-child { padding-top: 0; }
.plana-widget-proximos__item:last-child  { border-bottom: none; padding-bottom: 0; }
.plana-widget-proximos__item:hover { opacity: .7; }
.plana-widget-proximos__img {
    width: 64px; height: 64px; flex-shrink: 0; overflow: hidden;
    border-radius: 4px;
}
.plana-widget-proximos__img img { width: 100%; height: 100%; object-fit: cover; }
.plana-widget-proximos__img-ph {
    width: 64px; height: 64px; background: #f3f3f3; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; color: #E63946; opacity: .4; flex-shrink: 0;
}
.plana-widget-proximos__info { flex: 1; min-width: 0; }
.plana-widget-proximos__title {
    font-size: 13px; font-weight: 700; color: #111; margin-bottom: 5px;
    line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.plana-widget-proximos__fecha { font-size: 11px; color: #E63946; font-weight: 600; display: block; margin-bottom: 2px; }
.plana-widget-proximos__lugar { font-size: 11px; color: #999; }

/* ── SHORTCODE [plana_eventos] CARD GRID ──────────────────── */
/*
 * Estos estilos son opcionales — si Tomas arma la grilla en Elementor
 * usando el shortcode, puede sobreescribir con sus propias clases.
 * Si usa el shortcode como está, estas clases lo muestran limpio.
 */
.plana-eventos-wrap { font-family: 'Inter', sans-serif; }

.plana-filtros {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.plana-filtro {
    background: #fff; border: 1.5px solid #e0e0e0;
    color: #666; padding: 7px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 600; letter-spacing: .5px;
    cursor: pointer; transition: all .15s; font-family: 'Inter', sans-serif;
}
.plana-filtro:hover { border-color: #E63946; color: #E63946; }
.plana-filtro.active { background: #E63946; border-color: #E63946; color: #fff; }

.plana-eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Card */
.plana-card {
    background: #fff; border: 1px solid #f0f0f0; border-radius: 10px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: box-shadow .22s, transform .22s;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    font-family: 'Inter', sans-serif;
}
.plana-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }

.plana-card__img-wrap {
    position: relative; width: 100%; padding-top: 56.25%; overflow: hidden;
}
.plana-card__img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; display: block;
    transition: transform .4s;
}
.plana-card:hover .plana-card__img { transform: scale(1.04); }
.plana-card__img-placeholder {
    position: absolute; inset: 0; background: #f7f7f7;
    display: flex; align-items: center; justify-content: center;
}
.plana-card__img-placeholder-text { font-size: 40px; font-weight: 800; color: #E63946; opacity: .1; }

.plana-badge {
    position: absolute; top: 0; left: 0;
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; padding: 5px 11px;
}
.plana-badge--publish    { background: #E63946; color: #fff; }
.plana-badge--proximo    { background: #1e40af; color: #fff; }
.plana-badge--finalizado { background: #6b7280; color: #fff; }
.plana-badge--featured   { top: auto; bottom: 0; left: auto; right: 0; background: #E63946; color: #fff; }

.plana-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.plana-card__eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.plana-card__eyebrow-line { width: 14px; height: 1.5px; background: #E63946; }
.plana-card__cat { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #E63946; font-weight: 700; }
.plana-card__title { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 12px; line-height: 1.3; letter-spacing: -.2px; }
.plana-card__title a { text-decoration: none; color: inherit; }
.plana-card__title a:hover { color: #E63946; }
.plana-card__meta-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.plana-card__meta-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #888; }
.plana-card__meta-dot { width: 3px; height: 3px; background: #E63946; border-radius: 50%; flex-shrink: 0; }
.plana-card__divider { height: 1px; background: #f0f0f0; margin: auto 0 16px; }
.plana-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plana-card__precio { font-size: 16px; font-weight: 800; letter-spacing: -.3px; color: #111; }
.plana-card__precio--gratis { color: #E63946; }
.plana-card__precio--finalizado { color: #999; font-size: 12px; font-weight: 500; }

.plana-capacity { margin-bottom: 14px; }
.plana-capacity__bar { height: 3px; background: #f0f0f0; border-radius: 2px; }
.plana-capacity__fill { height: 100%; background: #E63946; border-radius: 2px; }
.plana-capacity__text { font-size: 11px; color: #bbb; margin-top: 4px; display: block; }
.plana-capacity__alert { font-size: 11px; color: #d97706; font-weight: 600; margin-top: 3px; display: block; }

/* Buttons in cards */
.plana-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    padding: 8px 16px; border-radius: 6px; font-size: 11px; font-weight: 700;
    font-family: 'Inter', sans-serif; letter-spacing: .5px; text-transform: uppercase;
    text-decoration: none; cursor: pointer; border: none; transition: all .18s; white-space: nowrap;
}
.plana-btn--primary { background: #E63946; color: #fff; }
.plana-btn--primary:hover { background: #c42d3a; }
.plana-btn--whatsapp { background: transparent; color: #666; border: 1.5px solid #e0e0e0; }
.plana-btn--whatsapp:hover { border-color: #25d366; color: #25d366; }
.plana-btn--outline { background: transparent; color: #666; border: 1.5px solid #e0e0e0; }
.plana-btn--outline:hover { border-color: #E63946; color: #E63946; }
.plana-btn--full { width: 100%; }

.plana-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: #bbb; }
.plana-empty-icon { font-size: 36px; display: block; margin-bottom: 12px; opacity: .4; }

/* Check-in page uses inline styles, nothing extra needed here */
