/* =========================================================
   Legado de Promisión — identidad visual de todo el sitio
   Unifica tipografía, color y fondo en las páginas del tema
   (Blocksy y Elementor) con el estilo de la revista.
   Solo toca apariencia: no altera estructura ni contenido.
   ========================================================= */

:root{
  --lp-vino:#850206;
  --lp-vino-osc:#5c0104;
  --lp-vino-tenue:#f7eeee;
  --lp-tinta:#141210;
  --lp-tinta-suave:#4c4744;
  --lp-tinta-tenue:#7c756f;
  --lp-papel:#fdfcfa;
  --lp-papel-2:#f4f1ec;
  --lp-linea:#e0dad1;
  --lp-linea-fuerte:#c8c0b4;
  --lp-oro:#a8823c;
  --lp-serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
  --lp-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

  /* --- Paleta del tema Blocksy --- */
  --theme-palette-color-1:#850206;
  --theme-palette-color-2:#5c0104;
  --theme-palette-color-3:#4c4744;
  --theme-palette-color-4:#141210;
  --theme-palette-color-5:#e0dad1;
  --theme-palette-color-6:#f4f1ec;
  --theme-palette-color-7:#fdfcfa;
  --theme-palette-color-8:#ffffff;

  --theme-font-family:var(--lp-serif);
  --theme-font-size:17px;
  --theme-line-height:1.65;
  --theme-font-weight:400;
  --theme-text-color:var(--lp-tinta-suave);
  --theme-headings-color:var(--lp-tinta);
  --theme-link-initial-color:var(--lp-vino);
  --theme-link-hover-color:var(--lp-vino-osc);
  --theme-border-color:var(--lp-linea);
  --theme-selection-background-color:var(--lp-vino);
  --theme-button-background-initial-color:var(--lp-vino);
  --theme-button-background-hover-color:var(--lp-vino-osc);
  --theme-button-text-initial-color:#ffffff;
  --theme-button-text-hover-color:#ffffff;
  --theme-form-field-border-focus-color:var(--lp-vino);
  --theme-form-selection-field-active-color:var(--lp-vino);

  /* --- Paleta expuesta al editor de bloques --- */
  --wp--preset--color--palette-color-1:#850206;
  --wp--preset--color--palette-color-2:#5c0104;
  --wp--preset--color--palette-color-3:#4c4744;
  --wp--preset--color--palette-color-4:#141210;
  --wp--preset--color--palette-color-5:#e0dad1;
  --wp--preset--color--palette-color-6:#f4f1ec;
  --wp--preset--color--palette-color-7:#fdfcfa;
  --wp--preset--color--palette-color-8:#ffffff;

  /* --- Paleta expuesta a Elementor --- */
  --e-global-color-blocksy_palette_1:#850206;
  --e-global-color-blocksy_palette_2:#5c0104;
  --e-global-color-blocksy_palette_3:#4c4744;
  --e-global-color-blocksy_palette_4:#141210;
  --e-global-color-blocksy_palette_5:#e0dad1;
  --e-global-color-blocksy_palette_6:#f4f1ec;
  --e-global-color-blocksy_palette_7:#fdfcfa;
  --e-global-color-blocksy_palette_8:#ffffff;
  --e-global-color-primary:#141210;
  --e-global-color-secondary:#4c4744;
  --e-global-color-text:#4c4744;
  --e-global-color-accent:#850206;
  --e-a-font-family:var(--lp-serif);
}

/* ---------- Cuerpo del sitio ---------- */
body{
  font-family:var(--lp-serif);
  font-size:17px;
  line-height:1.65;
  color:var(--lp-tinta-suave);
  background-color:var(--lp-papel);
  -webkit-font-smoothing:antialiased;
}
body p,body li,body dd,body dt,body blockquote,body figcaption,body td,body th,
.entry-content,.entry-content p,.entry-content li{ font-family:var(--lp-serif); }

/* ---------- Titulares ---------- */
body h1,body h2,body h3,body h4,body h5,body h6,
.entry-title,.page-title,.ct-widget-title,
.elementor-heading-title,.elementor-widget-heading .elementor-heading-title{
  font-family:var(--lp-serif) !important;
  font-weight:400;
  color:var(--lp-tinta) !important;
  letter-spacing:-.005em;
  line-height:1.2;
}
body h1,.entry-title,.elementor-widget-heading h1.elementor-heading-title{ font-size:38px; line-height:1.15; }
body h2,.elementor-widget-heading h2.elementor-heading-title{ font-size:28px; }
body h3,.elementor-widget-heading h3.elementor-heading-title{ font-size:22px; }
body h4{ font-size:19px; }
@media(max-width:900px){
  body h1,.entry-title{ font-size:29px; }
  body h2{ font-size:24px; }
}

/* ---------- Enlaces ---------- */
.entry-content a,.ct-widget a,.site-main a{ color:var(--lp-vino); }
.entry-content a:hover,.site-main a:hover{ color:var(--lp-vino-osc); }

/* ---------- Menú principal y cabecera ---------- */
.ct-header,[data-header]{ background-color:var(--lp-papel-2); }
.header-menu-1 .menu-item>a,.ct-header .menu>li>a,#main-navigation .menu-item>a{
  font-family:var(--lp-sans) !important;
  font-size:13.5px !important;
  font-weight:600 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  color:var(--lp-tinta) !important;
}
.ct-header .menu>li>a:hover,.ct-header .menu>li.current-menu-item>a,
#main-navigation .menu-item.current-menu-item>a{ color:var(--lp-vino) !important; }
.ct-header .menu>li>a .ct-active-item-indicator,
.ct-header [class*="ct-active"]{ background-color:var(--lp-vino) !important; }

/* ---------- Botones del tema ---------- */
.ct-button,.ct-button-ghost,.wp-block-button__link,
.elementor-button,.elementor-button-link,
input[type="submit"],button[type="submit"]{
  font-family:var(--lp-sans) !important;
  font-weight:600 !important;
  letter-spacing:.02em !important;
  text-transform:none !important;
  border-radius:2px !important;
}
.ct-button,.wp-block-button__link,.elementor-button,
input[type="submit"],button[type="submit"]{
  background-color:var(--lp-vino) !important;
  border-color:var(--lp-vino) !important;
  color:#fff !important;
}
.ct-button:hover,.wp-block-button__link:hover,.elementor-button:hover,
input[type="submit"]:hover,button[type="submit"]:hover{
  background-color:var(--lp-vino-osc) !important;
  border-color:var(--lp-vino-osc) !important;
  color:#fff !important;
}

/* ---------- Formularios ---------- */
input[type="text"],input[type="email"],input[type="url"],input[type="search"],
input[type="tel"],input[type="number"],textarea,select{
  font-family:var(--lp-sans);
  border-radius:2px;
  border-color:var(--lp-linea-fuerte);
  color:var(--lp-tinta);
  background:#fff;
}
input:focus,textarea:focus,select:focus{
  border-color:var(--lp-vino) !important;
  outline:none;
  box-shadow:0 0 0 2px var(--lp-vino-tenue) !important;
}

/* ---------- Citas, separadores, tablas ---------- */
blockquote{
  border-left:3px solid var(--lp-vino);
  background:var(--lp-papel-2);
  padding:14px 20px;
  font-style:normal;
  color:var(--lp-tinta-suave);
}
hr,.wp-block-separator{ border-color:var(--lp-linea); }
table th{ font-family:var(--lp-sans); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--lp-tinta-suave); }
table,table td,table th{ border-color:var(--lp-linea); }

/* ---------- Pie ---------- */
.ct-footer,[data-footer]{ background-color:var(--lp-papel-2); color:var(--lp-tinta-suave); }
.ct-footer a{ color:var(--lp-tinta-suave); }
.ct-footer a:hover{ color:var(--lp-vino); }

/* ---------- Buscador y selector de idioma ---------- */
.ct-header-search,.ct-toggle,.pll-parent-menu-item>a,.lang-item>a{
  font-family:var(--lp-sans) !important;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:13px !important;
}

/* ---------- Ajustes finos ---------- */
::selection{ background:var(--lp-vino); color:#fff; }
.ct-back-to-top{ background-color:var(--lp-vino) !important; }
img{ border-radius:2px; }

/* =========================================================
   Componentes propios del sitio que traían su propia paleta
   ========================================================= */

/* --- Cajas de color puestas desde el editor de bloques --- */
.entry-content .wp-block-group.has-background{
  background-color:var(--lp-papel-2) !important;
  border-radius:2px;
}
.entry-content .wp-block-group.has-background em,
.entry-content .wp-block-group.has-background i{ color:var(--lp-tinta-suave); }

/* --- Buscador y rejilla de Publicaciones --- */
#lp-pub{ font-family:var(--lp-serif); color:var(--lp-tinta-suave); }
#lp-pub .lp-searchbar{
  background:var(--lp-papel-2) !important;
  border:1px solid var(--lp-linea) !important;
  border-radius:2px !important;
}
#lp-pub .lp-searchbar input{ font-family:var(--lp-sans) !important; color:var(--lp-tinta) !important; font-size:15.5px !important; }
#lp-pub .lp-side,#lp-pub .lp-card{
  border:1px solid var(--lp-linea) !important;
  border-radius:2px !important;
  background:#fff !important;
}
#lp-pub .lp-side-h{
  font-family:var(--lp-sans) !important;font-size:11.5px !important;font-weight:700 !important;
  letter-spacing:.12em !important;text-transform:uppercase !important;color:var(--lp-tinta-suave) !important;
  border-bottom:1px solid var(--lp-linea) !important;
}
#lp-pub .lp-facet label{
  font-family:var(--lp-sans) !important;color:var(--lp-tinta-tenue) !important;
  letter-spacing:.1em !important;font-size:11px !important;
}
#lp-pub .lp-facet select,#lp-pub .lp-sort{
  font-family:var(--lp-sans) !important;font-size:14px !important;
  border:1px solid var(--lp-linea-fuerte) !important;border-radius:2px !important;color:var(--lp-tinta) !important;
}
#lp-pub .lp-clear{
  font-family:var(--lp-sans) !important;font-size:13px !important;font-weight:600 !important;
  border:1px solid var(--lp-linea-fuerte) !important;border-radius:2px !important;
  color:var(--lp-vino) !important;background:#fff !important;
}
#lp-pub .lp-clear:hover{ background:var(--lp-vino-tenue) !important;border-color:var(--lp-vino) !important; }
#lp-pub .lp-count{ font-family:var(--lp-sans) !important;font-size:13px !important;color:var(--lp-tinta-tenue) !important; }
#lp-pub .lp-tag{
  font-family:var(--lp-sans) !important;font-size:10.5px !important;font-weight:700 !important;
  letter-spacing:.1em !important;text-transform:uppercase !important;
  background:var(--lp-vino-tenue) !important;color:var(--lp-vino) !important;border-radius:2px !important;
}
#lp-pub .lp-cbody h3{
  font-family:var(--lp-serif) !important;font-weight:400 !important;
  color:var(--lp-tinta) !important;line-height:1.3 !important;
}
#lp-pub .lp-card:hover .lp-cbody h3{ color:var(--lp-vino) !important; }
#lp-pub .lp-meta{ font-family:var(--lp-sans) !important;font-size:12.5px !important;color:var(--lp-tinta-tenue) !important; }
#lp-pub .lp-thumb,#lp-pub .lp-noimg{ border-radius:0 !important; }
#lp-pub .lp-card:hover{ box-shadow:0 4px 18px rgba(20,18,16,.09) !important; }

/* --- Carrusel de la portada --- */
#lp-home-carousel .lp-h-card{ background-color:var(--lp-tinta) !important; border-radius:2px !important; }
#lp-home-carousel .lp-h-card h3{
  font-family:var(--lp-serif) !important;font-weight:400 !important;color:#fff !important;line-height:1.3 !important;
}
#lp-home-carousel .lp-h-tag{
  font-family:var(--lp-sans) !important;font-size:10.5px !important;font-weight:700 !important;
  letter-spacing:.1em !important;text-transform:uppercase !important;border-radius:2px !important;
  background:var(--lp-vino) !important;color:#fff !important;
}
#lp-home-carousel .lp-h-date{ font-family:var(--lp-sans) !important;font-size:12.5px !important;color:rgba(255,255,255,.72) !important; }
#lp-home-carousel .lp-dot{ background:var(--lp-linea-fuerte) !important; }
#lp-home-carousel .lp-dot.active{ background:var(--lp-vino) !important; }

/* --- Portada: secciones heredadas con la paleta azul --- */
.section-fullwidth h2,.section-fullwidth h3{ color:var(--lp-tinta) !important; }
footer.site-footer{ background-color:var(--lp-tinta) !important; color:rgba(255,255,255,.82) !important; }
footer.site-footer h2,footer.site-footer h3,footer.site-footer h4{ color:#fff !important; }
footer.site-footer a{ color:rgba(255,255,255,.82) !important; }
footer.site-footer a:hover{ color:#fff !important; }
footer.site-footer .footer-bottom{ font-family:var(--lp-sans) !important;font-size:13px !important;color:rgba(255,255,255,.6) !important; }
a.button,a.button-publicaciones,.section-fullwidth .button{
  background-color:var(--lp-vino) !important;
  border-color:var(--lp-vino) !important;
  color:#fff !important;
  font-family:var(--lp-sans) !important;
  font-weight:600 !important;
  border-radius:2px !important;
}
a.button:hover,a.button-publicaciones:hover{ background-color:var(--lp-vino-osc) !important;color:#fff !important; }
footer.site-footer a.button,footer.site-footer .button{ background:#fff !important;color:var(--lp-vino) !important;border-color:#fff !important; }

/* Aire entre el carrusel de publicaciones y la sección siguiente */
#lp-home-carousel{ padding-bottom:56px; }
#lp-home-carousel + *,.elementor-widget-container>#lp-home-carousel{ margin-bottom:0; }
.section-fullwidth{ padding-top:28px; }

/* --- Restos de la paleta azul en el resto del sitio --- */
a.ct-menu-link,.ct-menu-link{
  font-family:var(--lp-sans) !important;
  font-size:13.5px !important;
  font-weight:600 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
}
.skip-link,.screen-reader-text:focus{ color:var(--lp-vino) !important;font-family:var(--lp-sans) !important; }
#lp-pub .lp-thumb,#lp-pub .lp-noimg{ background-color:var(--lp-papel-2) !important; }
#lp-pub .lp-ico{ color:var(--lp-tinta-tenue) !important; }
#lp-pub .lp-count{ color:var(--lp-tinta-suave) !important; }

/* Submenú del selector de idioma */
.ct-header ul.sub-menu,ul.sub-menu{
  background-color:#fff !important;
  border:1px solid var(--lp-linea) !important;
  border-radius:2px !important;
}
ul.sub-menu a,ul.sub-menu .ct-menu-link{ color:var(--lp-tinta) !important; }
ul.sub-menu a:hover,ul.sub-menu .ct-menu-link:hover{ color:var(--lp-vino) !important; }

/* Botón claro de la sección de contacto en la portada */
.contact-buttons a{
  color:var(--lp-vino) !important;
  border:1px solid var(--lp-vino) !important;
  font-family:var(--lp-sans) !important;
  font-weight:600 !important;
  border-radius:2px !important;
}
.contact-buttons a:hover{ background-color:var(--lp-vino) !important;color:#fff !important; }
footer.ct-footer,#footer.ct-footer{ background-color:var(--lp-papel-2) !important; }

/* Bloque «Contáctanos» de la portada: velo en tinta y título legible */
.contact-section::before{ background-color:rgba(20,18,16,.82) !important; }
.contact-section h2,.contact-section h3{ color:#fff !important; }
.contact-section p{ color:rgba(255,255,255,.88) !important; }
