/*
Theme Name: Tristero Child
Theme URI: https://tristero.qodeinteractive.com/
Description: A child theme of Tristero
Author: Edge Themes
Author URI: http://themeforest.net/user/edge-themes
Version: 1.0.1
Text Domain: tristero
Template: tristero
*/

/* ==========================================================================
   Tipografía Byla: Bodoni Moda (Didona, afín al logotipo), autoalojada.
   "Playfair Display" es la fuente de textos destacados del tema (fechas,
   citas, etiquetas...). Se redefine con Bodoni Moda y se quita de Google Fonts
   en functions.php, para que todos esos textos la usen sin tocar el tema padre.
   ========================================================================== */
@font-face {
	font-family: "Bodoni Moda";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/bodoni-moda-latin-ext-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Bodoni Moda";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/bodoni-moda-latin-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Bodoni Moda";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/bodoni-moda-latin-ext-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Bodoni Moda";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/bodoni-moda-latin-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/bodoni-moda-latin-ext-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/bodoni-moda-latin-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/bodoni-moda-latin-ext-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/bodoni-moda-latin-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Títulos */
h1, h2, h3, h4, h5, h6,
.qodef-h1, .qodef-h2, .qodef-h3, .qodef-h4, .qodef-h5, .qodef-h6,
.qodef-dark-theme-skin h1, .qodef-dark-theme-skin h2, .qodef-dark-theme-skin h3,
.qodef-dark-theme-skin h4, .qodef-dark-theme-skin h5, .qodef-dark-theme-skin h6,
.qodef-dark-theme-skin .qodef-h1, .qodef-dark-theme-skin .qodef-h2, .qodef-dark-theme-skin .qodef-h3,
.qodef-dark-theme-skin .qodef-h4, .qodef-dark-theme-skin .qodef-h5, .qodef-dark-theme-skin .qodef-h6 {
	font-family: "Bodoni Moda", serif;
	font-weight: 500;
	/* Tamaño óptico fijo: a tamaños grandes el automático deja los trazos finos casi invisibles */
	font-variation-settings: "opsz" 28;
}

/* Móvil: los títulos con tracking amplio se salían de la pantalla */
@media (max-width: 680px) {
	h1, .qodef-h1 { font-size: 30px; line-height: 1.2em; letter-spacing: .12em; overflow-wrap: anywhere; }
	h2, .qodef-h2 { font-size: 24px; line-height: 1.25em; letter-spacing: .1em; overflow-wrap: anywhere; }
	body .qodef-page-title .qodef-m-title { font-size: 26px; letter-spacing: .08em; }
	h3, .qodef-h3 { font-size: 20px; letter-spacing: .08em; overflow-wrap: anywhere; }
}

/* Cabecera móvil: logo centrado y sin icono de menú (mientras no haya menú) */
#qodef-mobile-header-opener { display: none; }
#qodef-page-mobile-header-inner { justify-content: center; }
#qodef-page-mobile-header .qodef-mobile-header-logo-link { position: absolute; left: 50%; transform: translateX(-50%); }

/* Documentos de Complianz (política de cookies): mismo aspecto que el resto de páginas del tema.
   El CSS del plugin fija sus propios tamaños, sin mayúsculas y un ancho máximo de 800px. */
body #cmplz-document { max-width: none; font-size: 15px; }
body #cmplz-document h2,
body #cmplz-document h3,
body #cmplz-document h4,
body #cmplz-document h5 { text-transform: uppercase; letter-spacing: 0.2em; line-height: 1.2em; margin: 25px 0; padding-bottom: 0; }
body #cmplz-document h2 { font-size: 40px; }
body #cmplz-document h3 { font-size: 30px; }
body #cmplz-document h4 { font-size: 20px; }
body #cmplz-document h5 { font-size: 15px; }
@media (max-width: 680px) {
	body #cmplz-document h2 { font-size: 24px; letter-spacing: .1em; overflow-wrap: anywhere; }
	body #cmplz-document h3 { font-size: 20px; letter-spacing: .08em; overflow-wrap: anywhere; }
	body #cmplz-document h4 { font-size: 16px; letter-spacing: .08em; }
}
