/* ==========================================================================
   IceTown Ajustes · Hoja de estilos del sitio (icetown.com.mx)
   Yellet Cute Design

   Antes vivía en Divi → Opciones del tema → CSS personalizado.
   Ahora se carga desde este plugin, así que sobrevive a cambios de tema
   o a un reset de las opciones de Divi.

   Paleta:
     Azul marino  #3b3d68   (títulos, botones secundarios)
     Rojo         #ba1a1a   (botones, acentos)   ·  rojo menú #a81e1e
     Texto        #4c4c4c   ·  gris secundario #777 / #999
   Tipografía:
     Títulos  'Be Vietnam Pro'  ·  Texto  'Lato'

   Índice
     1. Sitio general (reglas previas al rediseño del blog)
     2. Posts del blog (tipografía del contenido)
     3. Muro · Sesión Pública en 2 columnas
     4. Muro · Buscador (módulo Búsqueda de Divi)
     5. Muro · Círculos de categorías  [shortcode muro_categorias]
     6. Kit de redacción para notas
   ========================================================================== */


/* ==========================================================================
   1. SITIO GENERAL
   Reglas que ya existían en el sitio antes del rediseño del blog.
   ========================================================================== */

/* Invertir columnas solo en celular: clase "inverse" en la fila de Divi */
@media (max-width: 767px) {
  .et_pb_row.inverse {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* Menú móvil: separación del header */
@media (max-width: 980px) {
  .et_mobile_nav_menu { margin-top: 12px !important; }
  #et_mobile_nav_menu { top: 60px !important; } /* ajustar según el alto del header */
}

/* Insignia de reCAPTCHA reducida en celular */
@media (max-width: 767px) {
  .grecaptcha-badge {
    left: 85vw !important;
    right: auto !important;
    bottom: 8px !important;
    transform: scale(0.2);
    transform-origin: bottom left;
    z-index: 9999;
  }
}

/* Contact Form 7: casillas de verificación alineadas con su texto */
.wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Dos columnas también en tablet/celular: clase "two-col-mob" en la fila */
@media only screen and (max-width: 980px) {
  .two-col-mob .et_pb_column { width: 50% !important; }
}


/* ==========================================================================
   2. POSTS DEL BLOG
   Tipografía del contenido de cada post (estilo de la página de Artístico).
   Solo aplica en posts individuales (.single-post).
   ========================================================================== */

/* Texto */
.single-post .et_pb_post_content,
.single-post .et_pb_post_content p {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #4c4c4c;
  font-weight: 500;
}
.single-post .et_pb_post_content p      { padding-bottom: 1.1em; }
.single-post .et_pb_post_content strong { color: #3b3d68; font-weight: 700; }

/* H2: Be Vietnam Pro Extrabold en itálica, azul marino */
.single-post .et_pb_post_content h2 {
  font-family: 'Be Vietnam Pro', Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 34px;
  line-height: 1.15;
  color: #3b3d68;
  text-transform: none;
  margin: 1.9em 0 .55em;
  padding-bottom: 0;
}
.single-post .et_pb_post_content h2::after         { content: none; }
.single-post .et_pb_post_content > h2:first-child  { margin-top: 0; }

/* H3: Be Vietnam Pro Bold, gris (preguntas frecuentes, subtemas) */
.single-post .et_pb_post_content h3 {
  font-family: 'Be Vietnam Pro', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: #5b5b5b;
  text-transform: none;
  margin: 1.4em 0 .35em;
  padding-bottom: 0;
}

/* Listas con viñeta redonda azul marino */
.single-post .et_pb_post_content ul { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.single-post .et_pb_post_content ul li {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #4c4c4c;
  padding: 0 0 .5em 1.3em;
  position: relative;
}
.single-post .et_pb_post_content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b3d68;
}

/* Enlaces: rojo con subrayado sutil */
.single-post .et_pb_post_content a {
  color: #a81e1e;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 30, 30, .35);
}
.single-post .et_pb_post_content a:hover { color: #3b3d68; border-bottom-color: #3b3d68; }

/* Título del post (módulo Título de la publicación del Theme Builder) */
.single-post .et_pb_post_title h1,
.single-post .et_pb_post_title .entry-title {
  font-weight: 800;
  font-style: italic;
  color: #3b3d68;
  line-height: 1.15;
}

/* Celular */
@media (max-width: 767px) {
  .single-post .et_pb_post_content,
  .single-post .et_pb_post_content p,
  .single-post .et_pb_post_content ul li { font-size: 17px; }
  .single-post .et_pb_post_content h2    { font-size: 27px; margin-top: 1.6em; }
  .single-post .et_pb_post_content h3    { font-size: 19px; }
  .single-post .et_pb_post_title h1,
  .single-post .et_pb_post_title .entry-title { font-size: 28px !important; }
}


/* ==========================================================================
   3. MURO · SESIÓN PÚBLICA EN 2 COLUMNAS
   Fila con ID "horarios" y clase "fila-horarios": texto a la izquierda,
   video vertical a la derecha. En celular se apilan solas.
   ========================================================================== */

@media (min-width: 981px) {
  .fila-horarios { display: flex; align-items: center; }
}

/* Ceja roja: "Este fin de semana" */
.fila-horarios .horarios-ceja {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a81e1e;
  padding-bottom: 4px;
}

/* Título: "Horarios de Sesión Pública" */
.fila-horarios .horarios-titulo {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 44px;
  line-height: 1.1;
  color: #3b3d68;
  padding-bottom: 18px;
}

/* Texto y nota de "sujeto a cambio" */
.fila-horarios .et_pb_text p {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #4c4c4c;
}
.fila-horarios .et_pb_text p.horarios-nota { font-size: 15px; color: #777; }

@media (max-width: 767px) {
  .fila-horarios .horarios-titulo { font-size: 32px; }
}


/* ==========================================================================
   4. MURO · BUSCADOR
   Módulo "Búsqueda" de Divi con la clase "muro-buscador":
   campo redondeado + botón azul marino con lupa (sin la palabra "Búsqueda").
   ========================================================================== */

.muro-buscador .et_pb_searchform > div {
  display: flex;
  border: 2px solid #e6e7ef;
  border-radius: 40px;
  overflow: hidden;
  background: #fff;
}
.muro-buscador input.et_pb_s {
  flex: 1;
  border: 0 !important;
  padding: 12px 20px !important;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  background: transparent !important;
}
.muro-buscador input.et_pb_s::placeholder { color: #999; }

/* Botón: se oculta el texto y se pinta una lupa blanca en SVG */
.muro-buscador input.et_pb_searchsubmit {
  position: static !important;
  height: auto !important;
  width: 52px !important;
  min-width: 52px;
  border: 0 !important;
  cursor: pointer;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px;
  background: #3b3d68 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.5' y1='15.5' x2='21' y2='21'/%3E%3C/svg%3E") center / 20px no-repeat !important;
}
.muro-buscador input.et_pb_searchsubmit:hover { background-color: #ba1a1a !important; }


/* ==========================================================================
   5. MURO · CÍRCULOS DE CATEGORÍAS
   Los genera el shortcode muro_categorias (ver includes/muro-categorias.php).
   - En /muro/: los 4 círculos grandes y a color.
   - En una página de categoría o dentro de una nota (.is-archive): los
     demás se reducen y se van a gris; el activo (.is-active) queda a color
     y un poco más grande.
   Los fondos reproducen el diseño original aprobado del carrusel.
   ========================================================================== */

.muro-nav  { max-width: 1080px; margin: 0 auto; padding: 10px 20px 30px; }
.muro-cats { display: flex; justify-content: center; align-items: flex-start; gap: 100px; flex-wrap: wrap; }

.muro-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100px;
  text-decoration: none;
  transition: all .25s;
}
.muro-cat .c {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all .25s;
}
.muro-cat .c img { width: 100px; height: 100px; display: block; }
.muro-cat em {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  color: #3b3d68;
  text-align: center;
}
.muro-cat:hover .c { transform: translateY(-3px); }

/* Fondos de cada estilo de círculo */
.muro-cat .c.ice     { background: radial-gradient(circle, #fff 39%, #f5f5f5 60%, #ddd 60%); }
.muro-cat .c.ice img { width: 80px; height: auto; }
.muro-cat .c.art     { background: radial-gradient(circle, #3b3d68 15%, #6462ad 83%); }
.muro-cat .c.hal     { background: #ba1a1a; }

/* --- Página de categoría: inactivos chiquitos y en gris --- */
.muro-nav.is-archive .muro-cats            { gap: 40px; align-items: center; }
.muro-nav.is-archive .muro-cat             { width: 70px; }
.muro-nav.is-archive .muro-cat .c          { width: 50px; height: 50px; filter: grayscale(1); opacity: .55; }
.muro-nav.is-archive .muro-cat .c img      { width: 50px; height: 50px; }
.muro-nav.is-archive .muro-cat .c.ice img  { width: 40px; height: auto; }
.muro-nav.is-archive .muro-cat em          { font-size: 11px; color: #999; }
.muro-nav.is-archive .muro-cat:hover .c    { filter: none; opacity: 1; }
.muro-nav.is-archive .muro-cat:hover em    { color: #3b3d68; }

/* --- Página de categoría / nota: el activo, a color y al 65% --- */
.muro-nav.is-archive .muro-cat.is-active               { width: 80px; }
.muro-nav.is-archive .muro-cat.is-active .c            { width: 65px; height: 65px; filter: none; opacity: 1; }
.muro-nav.is-archive .muro-cat.is-active .c img        { width: 65px; height: 65px; }
.muro-nav.is-archive .muro-cat.is-active .c.ice img    { width: 52px; height: auto; }
.muro-nav.is-archive .muro-cat.is-active em            { font-size: 12px; color: #3b3d68; }

/* --- Celular --- */
@media (max-width: 767px) {
  .muro-nav  { padding: 6px 12px 24px; }
  .muro-cats { gap: 8px; flex-wrap: nowrap; justify-content: space-around; }
  .muro-cat  { width: 24%; gap: 7px; }
  .muro-cat .c,
  .muro-cat .c img     { width: 70px; height: 70px; }
  .muro-cat .c.ice img { width: 56px; height: auto; }
  .muro-cat em         { font-size: 11px; }

  .muro-nav.is-archive .muro-cats           { gap: 6px; }
  .muro-nav.is-archive .muro-cat            { width: 22%; }
  .muro-nav.is-archive .muro-cat .c,
  .muro-nav.is-archive .muro-cat .c img     { width: 34px; height: 34px; }
  .muro-nav.is-archive .muro-cat .c.ice img { width: 27px; height: auto; }

  .muro-nav.is-archive .muro-cat.is-active .c,
  .muro-nav.is-archive .muro-cat.is-active .c img     { width: 48px; height: 48px; }
  .muro-nav.is-archive .muro-cat.is-active .c.ice img { width: 38px; height: auto; }
}


/* ==========================================================================
   6. KIT DE REDACCIÓN PARA NOTAS
   Elementos para darle ritmo a las notas, con la misma jerarquía visual
   que la página de Artístico. Se usan desde la pestaña "Código" del editor.

   …            Párrafo de entrada, más grande.
   …            Frase destacada en mayúsculas azules.
   …        Ficha de datos (fecha, lugar, costo…).
   …      Dos bloques lado a lado (H3 + texto).
   …          Llamado a la acción con botón.
   ========================================================================== */

/* Párrafo de entrada */
.single-post .et_pb_post_content p.nota-intro {
  font-size: 21px;
  line-height: 1.6;
  color: #3b3d68;
  font-weight: 500;
}

/* Frase destacada (como "EN ICE TOWN ARENA, CREAMOS CAMPEONES…") */
.single-post .et_pb_post_content p.nota-frase {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  color: #3b3d68;
  max-width: 760px;
  margin: 1.6em auto;
  padding: 0;
}

/* Ficha de datos */
.single-post .et_pb_post_content .nota-ficha {
  background: #f3f4f9;
  border-left: 5px solid #3b3d68;
  border-radius: 12px;
  padding: 22px 28px;
  margin: 0 0 1.8em;
}
.single-post .et_pb_post_content .nota-ficha .nota-ficha-titulo {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a81e1e;
  padding-bottom: 10px;
}
.single-post .et_pb_post_content .nota-ficha dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 22px;
  margin: 0;
}
.single-post .et_pb_post_content .nota-ficha dt {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #3b3d68;
}
.single-post .et_pb_post_content .nota-ficha dd {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  color: #4c4c4c;
}

/* Dos bloques lado a lado */
.single-post .et_pb_post_content .nota-dos-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  margin: 0 0 1.4em;
}
.single-post .et_pb_post_content .nota-dos-col h3 { margin-top: .4em; }

/* Llamado a la acción */
.single-post .et_pb_post_content .nota-cta {
  text-align: center;
  background: #3b3d68;
  border-radius: 16px;
  padding: 34px 28px;
  margin: 2.2em 0;
}
.single-post .et_pb_post_content .nota-cta p {
  color: #fff;
  font-size: 18px;
  padding-bottom: 16px;
}
.single-post .et_pb_post_content .nota-cta .nota-cta-titulo {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  padding-bottom: 8px;
}
.single-post .et_pb_post_content .nota-cta a.nota-btn {
  display: inline-block;
  background: #ba1a1a;
  color: #fff;
  border: 0;
  border-radius: 40px;
  padding: 14px 30px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
}
.single-post .et_pb_post_content .nota-cta a.nota-btn:hover { background: #fff; color: #ba1a1a; }

/* Imágenes dentro de la nota */
.single-post .et_pb_post_content img { border-radius: 12px; }

@media (max-width: 767px) {
  .single-post .et_pb_post_content p.nota-intro  { font-size: 19px; }
  .single-post .et_pb_post_content p.nota-frase  { font-size: 18px; }
  .single-post .et_pb_post_content .nota-ficha   { padding: 18px 20px; }
  .single-post .et_pb_post_content .nota-ficha dl { grid-template-columns: 1fr; gap: 2px; }
  .single-post .et_pb_post_content .nota-ficha dd { padding-bottom: 8px; }
  .single-post .et_pb_post_content .nota-dos-col { grid-template-columns: 1fr; }
  .single-post .et_pb_post_content .nota-cta .nota-cta-titulo { font-size: 23px; }
}


/* Logo flotante del menú (celular): mientras el menú NO está fijo,
   el logo no ocupa lugar en la página; al bajar, se comporta normal. */
@media (max-width: 980px) {
  .et_pb_row--with-menu:not(.et_pb_sticky) .et_pb_image_sticky {
    position: absolute !important;
    pointer-events: none;
  }
}

/* ==== 7. Muro: círculos y hero en escritorio ==== */
@media (min-width:981px){
  .page-id-1778 .muro-nav:not(.is-archive) .c{width:75px!important;height:75px!important}
}
@media (min-width:981px) and (max-height:900px){
  .page-id-1778 .ycd-slider{--ycd-desktop-h:max(420px,calc(100vh - 345px))!important}
}