/* ==========================================================================
   Sutxiki Rediseño — Tipografía
   El CSS personalizado del tema fuerza Montserrat con !important en muchos
   sitios, así que aquí hace falta !important con selectores más específicos
   (html body.sutxiki-rd ...). Al desactivar el plugin todo vuelve a como estaba.
   ========================================================================== */

/* --- Letras (alojadas en el plugin, sin Google Fonts) --- */
@font-face { font-family: "Sutxiki Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sutxiki Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Sutxiki Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Sutxiki Fraunces"; src: url("../fonts/fraunces-latin-300-normal.woff2") format("woff2"); font-weight: 100 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sutxiki Fraunces"; src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2"); font-weight: 500 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Sutxiki DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 100 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sutxiki DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sutxiki DM Sans"; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }

/* --- Variables --- */
body.sutxiki-rd {
  --rd-texto: "Sutxiki DM Sans", "Helvetica Neue", Arial, sans-serif;
  --rd-titulos: "Sutxiki Cormorant", Georgia, serif;
  --rd-titulos-peso: 500;
  --rd-titulos-negrita: 600;
  --rd-color-texto: #1f2a24;
}
body.sutxiki-rd--fraunces {
  --rd-titulos: "Sutxiki Fraunces", Georgia, serif;
  --rd-titulos-peso: 300;
  --rd-titulos-negrita: 500;
}

/* --- Texto general --- */
html body.sutxiki-rd,
html body.sutxiki-rd .body_wrap,
html body.sutxiki-rd .page_wrap,
html body.sutxiki-rd .page_content_wrap,
html body.sutxiki-rd .footer_wrap {
  font-family: var(--rd-texto) !important;
  font-weight: 400 !important;
}
html body.sutxiki-rd .body_wrap :is(p, li, .sc_item_descr, .wpb_text_column, input, textarea, select, button) {
  font-family: var(--rd-texto) !important;
}
html body.sutxiki-rd .page_content_wrap :is(p, li) {
  font-size: clamp(16px, 0.35vw + 14.6px, 18px);
  line-height: 1.65;
  font-weight: 400 !important;
}

/* --- Títulos --- */
html body.sutxiki-rd .body_wrap :is(h1, h2, h3, h4, h5, h6, .sc_item_title) {
  font-family: var(--rd-titulos) !important;
  font-weight: var(--rd-titulos-peso) !important;
  letter-spacing: -0.01em;
  line-height: 1.12;
  -webkit-hyphens: none;
  hyphens: none;
}
html body.sutxiki-rd .body_wrap :is(h1, h2, h3, h4, h5, h6, .sc_item_title) :is(b, strong) {
  font-weight: var(--rd-titulos-negrita) !important;
  color: inherit;
}
html body.sutxiki-rd .page_content_wrap :is(h1:not(.rs-layer), h2.sc_item_title) {
  font-size: clamp(34px, 3.4vw + 12px, 60px) !important;
}

/* --- Menú principal: letra de texto, sin cambiar su aspecto de mayúsculas espaciadas --- */
html body.sutxiki-rd .sc_layouts_menu_nav > li > a,
html body.sutxiki-rd .sc_layouts_menu_nav > li > a span {
  font-family: var(--rd-texto) !important;
  font-weight: 500 !important;
}

/* --- Portada: textos del Slider Revolution (llevan la letra en línea, por eso !important) --- */
html body.sutxiki-rd :is(rs-layer, .rs-layer).home-title {
  font-family: var(--rd-titulos) !important;
  font-weight: var(--rd-titulos-peso) !important;
  letter-spacing: -0.01em !important;
}
html body.sutxiki-rd :is(rs-layer, .rs-layer).slider-descr {
  font-family: var(--rd-texto) !important;
  font-weight: 400 !important;
}

/* --- Títulos pequeños (etiquetas de iconos, h5/h6): la serif no se lee a tamaño pequeño --- */
html body.sutxiki-rd .body_wrap :is(h5, h6, .sc_icons_item_title) {
  font-family: var(--rd-texto) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
