/*
 * EventosDeMagia.com | Ajustes visuales V2.9.1 | 17 nov 2026
 * SOLO diseño para páginas de entradas de Blogger.
 * No toca Blog1, formularios, PHP, SEO ni la página principal.
 * Instalar en: magicshows.site/eventosdemagia/css/
 */

/* Estructura legible y aireada sin afectar las páginas estáticas */
body.item-view:not(.lms-static-page) .lms-home > .page #page_body .Blog .post-outer-container {
  max-width: 1120px !important;
  padding: clamp(22px, 3.5vw, 44px) !important;
}
body.item-view:not(.lms-static-page) .lms-home > .page #page_body .Blog .post-title {
  font-size: clamp(29px, 3vw, 43px) !important;
  line-height: 1.19 !important;
  letter-spacing: -.015em;
  margin-bottom: 19px !important;
}
body.item-view:not(.lms-static-page) .lms-home > .page #page_body .Blog .post-body {
  font-size: 17px !important;
  line-height: 1.72 !important;
}
body.item-view:not(.lms-static-page) .edm-event-cover {
  margin-bottom: 27px;
  border-radius: 13px;
}
body.item-view:not(.lms-static-page) .edm-event-cover img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}
body.item-view:not(.lms-static-page) .edm-event-eyebrow {
  margin-bottom: 18px;
  gap: 9px;
}
body.item-view:not(.lms-static-page) .edm-event-badge {
  font-size: 12px;
  line-height: 1.3;
  padding: 7px 12px;
}

/* Dos columnas cómodas en escritorio; una sola en tableta y móvil */
body.item-view:not(.lms-static-page) .edm-event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .9fr);
  align-items: start;
  gap: clamp(24px, 3vw, 42px);
}
body.item-view:not(.lms-static-page) .edm-event-intro {min-width: 0; padding-top: 4px;}
body.item-view:not(.lms-static-page) .edm-event-intro h2 {
  font-size: clamp(24px, 2.5vw, 29px);
  line-height: 1.27;
  margin: 0 0 16px;
}
body.item-view:not(.lms-static-page) .edm-event-summary {
  font-size: 17px;
  line-height: 1.78;
  color: #3f3338;
  overflow-wrap: break-word;
}
/* El aviso aparecía repetido en algunos eventos. Se conserva el aviso de la ficha. */
body.item-view:not(.lms-static-page) .edm-event-intro > .edm-event-venue-note {
  display: none !important;
}

/* Ficha de información: texto mayor, filas claras, detalles dorados */
body.item-view:not(.lms-static-page) .edm-post-body .edm-ficha,
body.item-view:not(.lms-static-page) .post-body .edm-ficha {
  background: #fffaf2;
  border: 1px solid #dfc393;
  border-top: 4px solid #bd8a35;
  border-radius: 13px;
  padding: 23px clamp(18px, 2vw, 28px) 20px;
  box-shadow: 0 8px 24px rgba(73, 37, 22, .08);
  min-width: 0;
}
/* Solución visual para etiquetas de entidad HTML visibles en títulos antiguos.
   El texto real del encabezado permanece en la entrada y puede corregirse en Blogger. */
body.item-view:not(.lms-static-page) .edm-event-info-title {
  display: flex !important;
  align-items: center;
  gap: 11px;
  font-size: 0 !important;
  line-height: 0 !important;
  margin: 0 0 17px !important;
  color: #7c0b20;
}
body.item-view:not(.lms-static-page) .edm-event-info-title::before {
  content: "✦";
  color: #b68532;
  font: 23px/1 Georgia, serif;
  flex: none;
}
body.item-view:not(.lms-static-page) .edm-event-info-title::after {
  content: "Información del evento";
  font: 700 clamp(22px, 2.4vw, 27px)/1.23 Georgia, serif;
  color: #761027;
  overflow-wrap: normal;
}
body.item-view:not(.lms-static-page) .edm-event-fact {
  grid-template-columns: minmax(84px, 30%) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
}
body.item-view:not(.lms-static-page) .edm-event-fact dt {
  font-size: 13px;
  line-height: 1.5;
  color: #795661;
}
body.item-view:not(.lms-static-page) .edm-event-fact dd {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: #2e2428;
}
body.item-view:not(.lms-static-page) .edm-event-ticket {
  font-size: 15px;
  min-height: 48px;
  padding: 13px 15px;
}
body.item-view:not(.lms-static-page) .edm-event-notes {
  font-size: 12px;
  line-height: 1.65;
  margin: 11px 0 0;
}

/* Dejar un solo bloque de botones para compartir, más grande y ordenado */
body.item-view:not(.lms-static-page) .post-share-buttons-top,
body.item-view:not(.lms-static-page) .post-share-buttons-bottom,
body.item-view:not(.lms-static-page) .post-share-buttons.byline {
  display: none !important;
}
body.item-view:not(.lms-static-page) .edm-native-sharing {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 48px;
}
body.item-view:not(.lms-static-page) .edm-native-sharing .edm-post-share {
  background: #fff;
  border: 1px solid #eadac4;
  border-radius: 13px;
  box-shadow: 0 5px 18px rgba(74, 38, 26, .06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px;
}
body.item-view:not(.lms-static-page) .edm-native-sharing .edm-post-share strong {
  font-size: 18px;
  margin: 0 0 7px;
  color: #6a0d23;
}
body.item-view:not(.lms-static-page) .edm-native-sharing .edm-share-link,
body.item-view:not(.lms-static-page) .edm-native-sharing .edm-share-copy,
body.item-view:not(.lms-static-page) .edm-native-sharing .edm-share-native {
  min-height: 44px;
  font-size: 14px;
  padding: 11px 16px;
  border-radius: 9px;
  font-weight: 700;
}
body.item-view:not(.lms-static-page) .edm-related h2 {font-size: clamp(24px, 3vw, 29px);}
body.item-view:not(.lms-static-page) .edm-related-city {font-size: 12px;}
body.item-view:not(.lms-static-page) .edm-related-name {font-size: 17px;}
body.item-view:not(.lms-static-page) .edm-related-action {font-size: 13px;}

@media (max-width: 930px) {
  body.item-view:not(.lms-static-page) .edm-event-layout {grid-template-columns: minmax(0, 1fr); gap: 24px;}
  body.item-view:not(.lms-static-page) .edm-event-cover img {max-height: 390px;}
}
@media (max-width: 600px) {
  body.item-view:not(.lms-static-page) .lms-home > .page #page_body .Blog .post-outer-container {
    padding: 19px 16px !important;
    margin: 12px auto 25px !important;
  }
  body.item-view:not(.lms-static-page) .lms-home > .page #page_body .Blog .post-title {
    font-size: clamp(26px, 7vw, 34px) !important;
    margin-bottom: 14px !important;
  }
  body.item-view:not(.lms-static-page) .edm-event-cover img {max-height: 310px;}
  body.item-view:not(.lms-static-page) .edm-event-summary {font-size: 16px; line-height: 1.7;}
  body.item-view:not(.lms-static-page) .edm-event-fact {grid-template-columns: minmax(76px, 29%) minmax(0, 1fr);gap: 11px;}
  body.item-view:not(.lms-static-page) .edm-event-fact dd {font-size: 14px;}
  body.item-view:not(.lms-static-page) .edm-event-fact dt {font-size: 12px;}
  body.item-view:not(.lms-static-page) .edm-native-sharing {width: calc(100% - 24px);margin-bottom: 30px;}
  body.item-view:not(.lms-static-page) .edm-native-sharing .edm-post-share {padding: 16px 13px;gap: 8px;}
  body.item-view:not(.lms-static-page) .edm-native-sharing .edm-share-link,
  body.item-view:not(.lms-static-page) .edm-native-sharing .edm-share-copy,
  body.item-view:not(.lms-static-page) .edm-native-sharing .edm-share-native {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding: 10px 7px;
    font-size: 13px;
  }
}
