/* TECHNO PARTY 2026 · PÁGINAS GENÉRICAS, BÚSQUEDA y 404
   templates/pagina.php (textos legales, formularios), templates/busqueda.php, templates/404.php.
   Fondo gris de la web, tipografías del tema, rojo solo en enlaces y acentos. *//* ---------- página genérica: ancho de lectura ---------- */


.t26-pag__art{ max-width: 820px; margin: 0 auto; }
body.t26 .t26-pag__t{ font: 700 clamp(28px, 2.6vw, 44px)/1.1 var(--t26-titulo); margin: 0 0 clamp(20px, 1.8vw, 32px); }
.t26-pag__c{ font: 400 16px/1.65 var(--t26-texto); color: var(--t26-gris-claro); overflow-wrap: anywhere; }
.t26-pag__c > * + *{ margin-top: 1em; }
.t26-pag__c :is(h2, h3, h4){ color: var(--t26-blanco); text-transform: none; margin-top: 1.8em; line-height: 1.25; }
body.t26 .t26-pag__c h2{ font-size: clamp(20px, 1.4vw, 26px); }
body.t26 .t26-pag__c h3{ font-size: clamp(17px, 1.1vw, 20px); }
.t26-pag__c :is(strong, b){ color: var(--t26-blanco); }
.t26-pag__c a{ color: var(--t26-rojo-hover); text-decoration: underline; text-underline-offset: 2px; }
.t26-pag__c a:hover{ color: var(--t26-blanco); }
.t26-pag__c :is(ul, ol){ padding-left: 1.4em; }
.t26-pag__c li + li{ margin-top: .4em; }
.t26-pag__c img{ max-width: 100%; height: auto; }
.t26-pag__c table{ width: 100%; border-collapse: collapse; font-size: 14px; }
.t26-pag__c :is(th, td){ border: 1px solid var(--t26-linea); padding: 8px 10px; text-align: left; vertical-align: top; }
.t26-pag__c blockquote{ border-left: 3px solid var(--t26-rojo); padding-left: 16px; color: var(--t26-blanco); }/* formularios dentro del contenido (Fluent Forms y similares): legibles sobre el gris */


.t26-pag__c :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], select, textarea){
	width: 100%; max-width: 100%; background: var(--t26-panel); color: var(--t26-blanco); border: 1px solid var(--t26-linea); border-radius: 8px; padding: 10px 12px; font: 400 15px/1.4 var(--t26-texto);
}
.t26-pag__c :is(input, select, textarea):focus{ outline: 2px solid var(--t26-rojo); outline-offset: 1px; }
.t26-pag__c label{ color: var(--t26-blanco); }
.t26-pag__c :is(button[type="submit"], input[type="submit"], .ff-btn-submit){
	background: var(--t26-rojo); color: #fff; border: 0; border-radius: var(--t26-radio); padding: 0 24px; min-height: var(--t26-pL); font: 700 13px/1 var(--t26-texto); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.t26-pag__c :is(button[type="submit"], input[type="submit"], .ff-btn-submit):hover{ background: var(--t26-rojo-hover); }/* ---------- buscador (404 y búsqueda) ---------- */


.t26-pag__buscar{ display: flex; align-items: center; gap: 10px; max-width: 560px; height: var(--t26-pL); padding: 0 18px; background: var(--t26-panel); border: 1px solid var(--t26-linea); border-radius: var(--t26-radio); color: var(--t26-gris); }
.t26-pag__buscar:focus-within{ border-color: var(--t26-rojo); }
.t26-pag__buscar input{ flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--t26-blanco); font: 400 15px/1 var(--t26-texto); }/* ---------- 404 ---------- */


.t26-pag--404 .t26-pag__art{ display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 72px) 0; }
.t26-pag--404 .t26-pag__t{ margin: 0; }
.t26-pag__kick{ margin: 0; font: 700 13px/1 var(--t26-texto); letter-spacing: .14em; text-transform: uppercase; color: var(--t26-rojo-hover); }
.t26-pag__lead{ margin: 0; font: 400 16px/1.6 var(--t26-texto); color: var(--t26-gris-claro); }
.t26-pag__acc{ display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }/* ---------- búsqueda ---------- */


.t26-bus{ display: flex; flex-direction: column; gap: clamp(28px, 2.5vw, 48px); }
.t26-bus__top{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
body.t26 .t26-bus__top h1{ font: 700 clamp(26px, 2.1vw, 40px)/1.1 var(--t26-titulo); margin: 0; overflow-wrap: anywhere; }
.t26-bus__top h1 span{ color: var(--t26-rojo-hover); }
.t26-bus__top .t26-pag__buscar{ flex: 1 1 320px; }
.t26-bus__vacio{ font: 400 16px/1.6 var(--t26-texto); color: var(--t26-gris-claro); }
.t26-bus__vacio p{ margin: 0 0 .5em; }
.t26-bus__vacio a{ color: var(--t26-rojo-hover); text-decoration: underline; }
.t26-bus__sec{ display: flex; flex-direction: column; gap: 16px; }
body.t26 .t26-bus__h{ font: 700 clamp(18px, 1.25vw, 24px)/1.1 var(--t26-titulo); margin: 0; display: flex; align-items: baseline; gap: 10px; }
.t26-bus__h em{ font: 400 13px/1 var(--t26-texto); font-style: normal; color: var(--t26-gris); }
.t26-bus__ters{ display: flex; flex-wrap: wrap; gap: 8px; }
.t26-bus__ter{ display: inline-flex; align-items: center; gap: 10px; min-height: var(--t26-pM); padding: 4px 16px; border: 1px solid var(--t26-linea); border-radius: var(--t26-radio); background: var(--t26-panel); color: var(--t26-blanco); font: 700 13px/1.2 var(--t26-texto); }
.t26-bus__ter em{ font: 400 11px/1 var(--t26-texto); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--t26-gris); }
.t26-bus__ter:hover{ border-color: var(--t26-rojo); }
.t26-bus__ter:hover em{ color: var(--t26-rojo-hover); }

@media (max-width: 600px) {
	.t26-pag__c{ font-size: 15px; }
	.t26-bus__top{ flex-direction: column; align-items: stretch; }
}/* ===== 13-10-2026 · PUBLICA TU FIESTA: corporativo como el Dashboard, a los márgenes de la web ===== */


body.t26 main.t26-pub{ padding-top: 44px; padding-bottom: 96px; }
.t26-pub__cab{ display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; margin-bottom: 0; border-bottom: 1px solid #555555; }
.t26-pub__tit{ flex: 1 1 420px; min-width: 0; }
.t26-pub__tit h1{ margin: 0 0 8px; font: 700 clamp(30px, 3.44vw, 44px)/1 var(--t26-titulo, 'Poppins', sans-serif); text-transform: uppercase; color: #fff; }
.t26-pub__tit h1 span{ color: #e40613; }
.t26-pub__tit p{ margin: 0; font-size: 15px; line-height: 1.4; color: #bdbdbd; }
.t26-pub__acc{ display: flex; gap: 10px; flex-wrap: wrap; }
.t26-pub__btn{ display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border: 1.5px solid #fff; border-radius: 999px; color: #fff !important; font: 700 11px/1 var(--t26-texto, sans-serif); letter-spacing: .1em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.t26-pub__btn svg{ width: 16px; height: 16px; flex: 0 0 auto; }
.t26-pub__btn:hover,.t26-pub__btn.is-on{ background: #e40613; border-color: #e40613; color: #fff !important; }
.t26-pub__btn.is-on:hover{ background: #ff2a2a; border-color: #ff2a2a; }/* sin caja dentro de caja: el formulario va directo sobre la página */

body.t26 main.t26-pub .tpd26-pub,body.t26 main.t26-pub .tpd26-pub__in,body.t26 main.t26-pub .fluentform,body.t26 main.t26-pub .ff_form_instance,body.t26 main.t26-pub .frm-fluent-form{ max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
body.t26 main.t26-pub .ff-el-section-break,body.t26 main.t26-pub .ff_form_title,body.t26 main.t26-pub .ff-el-section-title{ padding-left: 0 !important; padding-right: 0 !important; }
body.t26 main.t26-pub .ff-el-section-break{ border-top: 1px solid var(--t26-linea); padding-top: 24px !important; margin-top: 12px; }
@media (max-width: 980px) {
	body.t26 main.t26-pub{ padding-top: 28px; }
	.t26-pub__acc{ width: 100%; }
	.t26-pub__btn{ flex: 1 1 auto; justify-content: center; }
}/* modo día */

html[data-t26-tema="dia"] .t26-pub__cab{ border-bottom-color: #e6e6e6; }
html[data-t26-tema="dia"] .t26-pub__tit h1{ color: #111; }
html[data-t26-tema="dia"] .t26-pub__tit p{ color: #555; }
html[data-t26-tema="dia"] .t26-pub__btn:not(.is-on):not(:hover){ border-color: #111; color: #111 !important; }
html[data-t26-tema="dia"] body.t26 main.t26-pub .ff-el-section-break{ border-top-color: #dcdcdc; }/* 13-10-2026 · refuerzo: los snippets pintan títulos y textos de main en blanco con !important; con el id ganan siempre */

html[data-t26-tema="dia"] body.t26 main#contenido#contenido.t26-pub .t26-pub__tit h1{ color: #111 !important; }
html[data-t26-tema="dia"] body.t26 main#contenido#contenido.t26-pub .t26-pub__tit h1 span{ color: #e40613 !important; }
html[data-t26-tema="dia"] body.t26 main#contenido#contenido.t26-pub .t26-pub__tit p{ color: #555 !important; }
html[data-t26-tema="dia"] body.t26 main#contenido#contenido.t26-pub .t26-pub__cab{ border-bottom-color: #e6e6e6 !important; }/* botones de la cabecera: al pasar, texto e icono BLANCOS sobre rojo (el hover unificado de enlaces los ponía rojos sobre rojo) — noche y día */

body.t26 main#contenido.t26-pub a.t26-pub__btn:is(:hover, .is-on),body.t26 main#contenido.t26-pub a.t26-pub__btn:is(:hover, .is-on) *{ color: #fff !important; }/* refuerzo: la caja del formulario (snippet #579 .tpd26-ff) fuera, y su título repetido oculto */

html body.t26 main#contenido.t26-pub #tpd26-pub#tpd26-pub .fluentform,html body.t26 main#contenido.t26-pub #tpd26-pub#tpd26-pub .fluentform.tpd26-ff{ padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; max-width: none !important; margin: 0 !important; }
html body.t26 main.t26-pub #tpd26-pub .tpd26-ff__cab{ display: none !important; }/* 15-10-2026 · Publica tu fiesta: sin raya doble bajo la cabecera, mismo hueco que Noticias y Fichas */


html body :is(main.t26-pub .tpd26-ff__sec.is-primera, #t26a#t26b#t26c){ margin-top: 0 !important; border-top: 0 !important; padding-top: 28px !important; }
