/*
Theme Name: Worth the Hype
Theme URI: https://worththehype.mx
Description: Tema hijo de Hello Elementor para worththehype.mx. Plantillas de reseña, directorio y shortcodes del home.
Author: Worth the Hype
Template: hello-elementor
Version: 1.0.6
Text Domain: worththehype
*/

:root {
	--wth-tinta: #161514;
	--wth-papel: #F3EEE5;
	--wth-texto: #2E2B27;
	--wth-gris: #4F4A43;
	--wth-rojo: #C8321F;
	--wth-mostaza: #E9B53B;
	--wth-foto: #CFC8BB;
	--wth-anton: 'Anton', 'Arial Black', sans-serif;
	--wth-serif: 'Instrument Serif', Georgia, serif;
	--wth-mono: 'IBM Plex Mono', 'Courier New', monospace;
	--wth-sans: 'Inter', Arial, sans-serif;
	--wth-lectura: 'Newsreader', Georgia, serif;
}

body { background: var(--wth-papel); color: var(--wth-texto); font-family: var(--wth-sans); margin: 0; }
a { color: var(--wth-tinta); }
a:hover, a:focus { color: var(--wth-rojo); }
img { max-width: 100%; height: auto; }

.wth-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.wth-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wth-skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--wth-tinta); color: var(--wth-papel); padding: 10px 16px; width: auto; height: auto; clip: auto; }

/* Tipos de letra */
.wth-anton { font-family: var(--wth-anton); font-weight: 400; text-transform: uppercase; }
.wth-serif { font-family: var(--wth-serif); font-style: italic; font-weight: 400; }
.wth-mono { font-family: var(--wth-mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* Barra superior y header */
.wth-topbar { background: var(--wth-tinta); color: var(--wth-papel); font-family: var(--wth-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 24px; text-align: center; }
.wth-header { border-bottom: 2px solid var(--wth-tinta); }
.wth-header .wth-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.wth-logo { text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; color: var(--wth-tinta); }
.wth-logo .a { font-family: var(--wth-serif); font-style: italic; font-size: 30px; line-height: 1; }
.wth-logo .b { font-family: var(--wth-anton); font-size: 40px; line-height: 1; text-transform: uppercase; }
.wth-q { color: var(--wth-rojo); }
.wth-nav { display: flex; flex-wrap: wrap; gap: 24px; font-family: var(--wth-mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.wth-nav a { text-decoration: none; padding: 12px 0; display: inline-block; }
.wth-nav a.is-current { color: var(--wth-rojo); }
.wth-search { display: flex; align-items: center; border: 2px solid var(--wth-tinta); background: #fff; }
.wth-search input { border: 0; background: transparent; padding: 12px 14px; font-family: var(--wth-sans); font-size: 15px; width: 220px; }
.wth-search button { border: 0; background: var(--wth-tinta); color: var(--wth-papel); width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 0; padding: 0; }

/* Botones */
.wth-btn { display: inline-block; text-decoration: none; background: var(--wth-tinta); color: var(--wth-papel); font-family: var(--wth-mono); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 26px; border: 2px solid var(--wth-tinta); border-radius: 0; cursor: pointer; }
.wth-btn:hover, .wth-btn:focus { background: var(--wth-rojo); border-color: var(--wth-rojo); color: var(--wth-papel); }
.wth-btn--line { background: transparent; color: var(--wth-tinta); }
.wth-btn--line:hover, .wth-btn--line:focus { background: var(--wth-tinta); border-color: var(--wth-tinta); color: var(--wth-papel); }

/* Sellos y etiquetas de veredicto */
.wth-sello { display: inline-flex; flex-direction: column; align-items: center; transform: rotate(-6deg); padding: 10px 26px; outline: 3px solid var(--wth-rojo); outline-offset: 6px; background: var(--wth-rojo); color: var(--wth-papel); }
.wth-sello small { font-family: var(--wth-mono); font-size: 11px; letter-spacing: 0.3em; }
.wth-sello strong { font-family: var(--wth-anton); font-weight: 400; font-size: 56px; line-height: 1; text-transform: uppercase; }
.wth-badge { display: inline-block; font-family: var(--wth-anton); font-size: 16px; line-height: 1; text-transform: uppercase; padding: 5px 10px; background: var(--wth-rojo); color: var(--wth-papel); }
.wth-v-kinda.wth-sello, .wth-v-kinda.wth-badge { background: var(--wth-mostaza); color: var(--wth-tinta); outline-color: var(--wth-mostaza); }
.wth-v-skip-it.wth-badge { background: var(--wth-tinta); color: var(--wth-papel); }
.wth-v-skip-it.wth-sello { background: var(--wth-papel); color: var(--wth-tinta); border: 4px solid var(--wth-tinta); outline-color: var(--wth-tinta); }

/* Secciones */
.wth-section { padding: 56px 0; border-bottom: 2px solid var(--wth-tinta); }
.wth-section:last-child { border-bottom: 0; }
.wth-h2 { margin: 0; font-family: var(--wth-anton); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; text-transform: uppercase; color: var(--wth-tinta); }
.wth-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.wth-section-head a { font-family: var(--wth-mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.wth-kicker { font-family: var(--wth-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wth-rojo); font-weight: 600; }
.wth-meta { font-family: var(--wth-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--wth-gris); }

/* Fotos */
.wth-photo { background: var(--wth-foto); position: relative; overflow: hidden; display: block; }
.wth-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wth-photo--43 { aspect-ratio: 4 / 3; }
.wth-photo--1610 { aspect-ratio: 16 / 10; }
.wth-photo--219 { aspect-ratio: 21 / 9; }
.wth-photo .wth-badge { position: absolute; left: 12px; top: 12px; }

/* Tarjetas */
.wth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px 28px; }
.wth-card { text-decoration: none; display: flex; flex-direction: column; gap: 10px; color: var(--wth-tinta); }
.wth-card:hover .wth-card-title { color: var(--wth-rojo); }
.wth-card-meta { font-family: var(--wth-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wth-gris); }
.wth-card-title { font-family: var(--wth-anton); font-size: 28px; line-height: 1; text-transform: uppercase; }
.wth-card-frase { font-family: var(--wth-serif); font-style: italic; font-size: 21px; line-height: 1.2; color: var(--wth-texto); }

/* Home: última reseña */
.wth-hero { display: flex; flex-wrap: wrap; gap: 40px; padding: 48px 0; border-bottom: 2px solid var(--wth-tinta); }
.wth-hero .wth-photo { flex: 999 1 560px; min-width: 0; }
.wth-hero .wth-sello { position: absolute; right: 28px; bottom: 28px; }
.wth-hero-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.wth-hero-text h1, .wth-hero-text h2 { margin: 0; font-family: var(--wth-anton); font-weight: 400; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.95; text-transform: uppercase; color: var(--wth-tinta); }
.wth-hero-text p { margin: 0; }
.wth-frase-xl { font-family: var(--wth-serif); font-style: italic; font-size: 30px; line-height: 1.15; color: var(--wth-tinta); }

/* Home: veredictos */
.wth-verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 32px 0; border-bottom: 2px solid var(--wth-tinta); }
.wth-verdicts a { text-decoration: none; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 3px solid var(--wth-rojo); background: var(--wth-rojo); color: var(--wth-papel); }
.wth-verdicts a span:first-child { font-family: var(--wth-anton); font-size: 34px; text-transform: uppercase; }
.wth-verdicts a span:last-child { font-family: var(--wth-mono); font-size: 13px; }
.wth-verdicts a.wth-v-kinda { background: var(--wth-mostaza); border-color: var(--wth-mostaza); color: var(--wth-tinta); }
.wth-verdicts a.wth-v-skip-it { background: transparent; border-color: var(--wth-tinta); color: var(--wth-tinta); }
.wth-verdicts a:hover { filter: brightness(0.92); }

/* Chips de zona */
.wth-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.wth-chips a { text-decoration: none; border: 2px solid var(--wth-tinta); padding: 12px 20px; font-family: var(--wth-mono); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; background: #fff; }
.wth-chips a:hover { background: var(--wth-tinta); color: var(--wth-papel); }

/* Cómo calificamos */
.wth-calif { display: flex; flex-wrap: wrap; gap: 40px; }
.wth-calif > div:first-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.wth-calif p { margin: 0; font-size: 17px; line-height: 1.6; }
.wth-calif-cols { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.wth-calif-cols div { border-top: 6px solid var(--wth-rojo); padding-top: 14px; }
.wth-calif-cols div:nth-child(2) { border-top-color: var(--wth-mostaza); }
.wth-calif-cols div:nth-child(3) { border-top-color: var(--wth-tinta); }
.wth-calif-cols strong { display: block; font-family: var(--wth-anton); font-weight: 400; font-size: 28px; text-transform: uppercase; color: var(--wth-tinta); margin-bottom: 6px; }

/* Reseña individual */
.wth-crumbs { padding: 20px 0; font-family: var(--wth-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wth-gris); }
.wth-review-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 40px 0 32px; border-bottom: 2px solid var(--wth-tinta); }
.wth-review-head > div:first-child { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.wth-review-head h1 { margin: 0; font-family: var(--wth-anton); font-weight: 400; font-size: clamp(3.2rem, 7vw, 5.5rem); line-height: 0.92; text-transform: uppercase; color: var(--wth-tinta); }
.wth-review-head .wth-frase-xl { font-size: 34px; }
.wth-review-head p { margin: 0; }
.wth-review-head .wth-sello { margin: 0 16px 12px 0; }
.wth-review-body { display: flex; flex-wrap: wrap; gap: 56px; padding: 48px 0; border-bottom: 2px solid var(--wth-tinta); }
.wth-article { flex: 999 1 560px; min-width: 0; max-width: 720px; font-family: var(--wth-lectura); font-size: 21px; line-height: 1.65; color: var(--wth-texto); }
.wth-article > *:first-child { margin-top: 0; }
.wth-article p { margin: 0 0 22px; }
.wth-article h2, .wth-article h3 { font-family: var(--wth-anton); font-weight: 400; text-transform: uppercase; color: var(--wth-tinta); font-size: 34px; line-height: 1.05; margin: 40px 0 16px; }
.wth-article h3 { font-size: 26px; }
.wth-article blockquote { margin: 32px 0; padding: 12px 0; border-top: 3px solid var(--wth-tinta); border-bottom: 3px solid var(--wth-tinta); border-left: 0; font-family: var(--wth-serif); font-style: italic; font-size: 36px; line-height: 1.2; color: var(--wth-tinta); }
.wth-article blockquote p { margin: 0; }
.wth-article figure { margin: 0 0 28px; }
.wth-article figcaption { font-family: var(--wth-mono); font-size: 13px; color: var(--wth-gris); margin-top: 8px; }
.wth-article img { display: block; }
.wth-aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.wth-ficha { background: #fff; border: 2px solid var(--wth-tinta); padding: 24px; font-family: var(--wth-mono); font-size: 15px; line-height: 1.45; color: var(--wth-tinta); }
.wth-ficha h2 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--wth-tinta); font-family: var(--wth-anton); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.wth-ficha dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.wth-ficha dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; border-bottom: 1px dashed #8A8377; padding-bottom: 10px; }
.wth-ficha dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.wth-ficha dt { font-weight: 600; letter-spacing: 0.08em; }
.wth-ficha dd { margin: 0; }
.wth-aside .wth-btn { text-align: center; }

/* Directorio */
.wth-dir-head { padding: 48px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.wth-dir-head h1 { margin: 0; font-family: var(--wth-anton); font-weight: 400; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.95; text-transform: uppercase; color: var(--wth-tinta); }
.wth-dir-head p { margin: 8px 0 0; }
.wth-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; padding: 20px 0 28px; border-top: 2px solid var(--wth-tinta); border-bottom: 2px solid var(--wth-tinta); margin-bottom: 36px; }
.wth-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wth-filter-chips a { min-height: 46px; box-sizing: border-box; display: inline-flex; align-items: center; padding: 10px 18px; font-family: var(--wth-anton); font-size: 18px; text-transform: uppercase; text-decoration: none; border: 2px solid var(--wth-tinta); background: #fff; color: var(--wth-tinta); }
.wth-filter-chips a.is-on { background: var(--wth-tinta); color: var(--wth-papel); }
.wth-filter-chips a.is-on.wth-v-worth-it { background: var(--wth-rojo); border-color: var(--wth-rojo); }
.wth-filter-chips a.is-on.wth-v-kinda { background: var(--wth-mostaza); border-color: var(--wth-mostaza); color: var(--wth-tinta); }
.wth-filter-selects { display: flex; flex-wrap: wrap; gap: 14px; margin-left: auto; align-items: flex-end; }
.wth-filter-selects label { display: flex; flex-direction: column; gap: 4px; font-family: var(--wth-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wth-tinta); }
.wth-filter-selects select { min-height: 46px; min-width: 160px; border: 2px solid var(--wth-tinta); border-radius: 0; background: #fff; padding: 0 12px; font-family: var(--wth-sans); font-size: 15px; color: var(--wth-tinta); }
.wth-filter-selects .wth-btn { padding: 13px 22px; }
.wth-empty { font-family: var(--wth-serif); font-style: italic; font-size: 28px; padding: 40px 0; }
.wth-pagination { display: flex; justify-content: center; gap: 8px; padding: 48px 0 0; font-family: var(--wth-mono); }
.wth-pagination .page-numbers { min-width: 46px; min-height: 46px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--wth-tinta); text-decoration: none; padding: 0 12px; }
.wth-pagination .current { background: var(--wth-tinta); color: var(--wth-papel); }

/* Footer */
.wth-footer { background: var(--wth-tinta); color: var(--wth-papel); margin-top: 0; }
.wth-footer .wth-wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.wth-footer .wth-logo { color: var(--wth-papel); }
.wth-footer .wth-q { color: var(--wth-mostaza); }
.wth-footer p { margin: 10px 0 0; font-family: var(--wth-mono); font-size: 13px; color: #CFC8BB; }
.wth-footer nav { display: flex; flex-wrap: wrap; gap: 28px; font-family: var(--wth-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.wth-footer nav a { color: var(--wth-papel); padding: 12px 0; display: inline-block; }
.wth-footer nav a:hover { color: var(--wth-mostaza); }

/* Páginas normales (Elementor o editor de bloques) */
.wth-page { padding: 48px 0; }
.wth-page-title { margin: 0 0 32px; font-family: var(--wth-anton); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; text-transform: uppercase; color: var(--wth-tinta); }

@media (max-width: 720px) {
	.wth-search { width: 100%; }
	.wth-search input { width: 100%; flex: 1; }
	.wth-filter-selects { margin-left: 0; width: 100%; }
	.wth-filter-selects label, .wth-filter-selects select { width: 100%; }
	.wth-sello strong { font-size: 40px; }
	.wth-hero .wth-sello { right: 16px; bottom: 16px; }
}

/* Colores de enlaces con más prioridad que los estilos globales de Elementor */
body a.wth-btn, body a.wth-btn:visited { color: var(--wth-papel); }
body a.wth-btn--line, body a.wth-btn--line:visited { color: var(--wth-tinta); }
body a.wth-btn:hover, body a.wth-btn:focus, body a.wth-btn--line:hover, body a.wth-btn--line:focus { color: var(--wth-papel); }
body .wth-verdicts a { color: var(--wth-papel); }
body .wth-verdicts a.wth-v-kinda, body .wth-verdicts a.wth-v-skip-it { color: var(--wth-tinta); }
body .wth-footer a, body .wth-footer .wth-logo { color: var(--wth-papel); }
body .wth-footer nav a:hover { color: var(--wth-mostaza); }
body .wth-chips a:hover { color: var(--wth-papel); }
body .wth-filter-chips a.is-on { color: var(--wth-papel); }
body .wth-filter-chips a.is-on.wth-v-kinda { color: var(--wth-tinta); }
body .wth-card, body .wth-logo { color: var(--wth-tinta); }
.wth-hero-text .wth-btn { align-self: flex-start; }

/* El feed de Instagram no debe empujar el footer */
.wth-ig { display: flow-root; }
.wth-footer { clear: both; }
.wth-logo { white-space: nowrap; }
