/* Red Terrassa Participa: la entrada y el panel de /participa/ (8-nov-2026).
   Tipografía y colores del tema (variables --rt-*), con valores de reserva. */

.rt-pp {
	--pp-tinta: var(--rt-color-tinta, #1d1d1f);
	--pp-gris: var(--rt-color-gris, #62646a);
	--pp-fondo: var(--rt-color-fondo, #f4f5f6);
	--pp-rojo: var(--rt-color-rojo, #f71920);
	--pp-rojo-acc: var(--rt-color-rojo-accesible, #c9141e);
	--pp-linea: #d9dadd;
	--pp-radio: 1rem;
	box-sizing: border-box;
	max-width: 58rem;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.5rem) 1rem clamp(3rem, 7vw, 5rem);
	color: var(--pp-tinta);
	font-family: var(--rt-font-body, "Manrope", Inter, system-ui, sans-serif);
	font-size: 1rem;
	line-height: 1.55;
}
.rt-pp *, .rt-pp *::before, .rt-pp *::after { box-sizing: border-box; }
.rt-pp a { color: var(--pp-rojo-acc); text-underline-offset: .18em; }
:where(.rt-pp) p { margin: 0; }

/* Títulos */
.rt-pp-eyebrow { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; color: var(--pp-rojo-acc); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rt-pp-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 999px; background: var(--pp-rojo); box-shadow: 0 0 0 .25rem rgb(247 25 32 / 18%); }
.rt-pp-h1 { margin: 0; font-family: var(--rt-font-heading, inherit); font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.rt-pp-h2 { margin: 2rem 0 1rem; font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.rt-pp-seccion > .rt-pp-h2:first-child { margin-top: 0; }
.rt-pp-h3 { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.rt-pp-h3 .rt-pp-ico { color: var(--pp-rojo-acc); }
.rt-pp-lead { max-width: 60ch; margin: .9rem 0 1.5rem; color: var(--pp-gris); font-size: 1.05rem; }
.rt-pp-nota { margin: 0 0 1rem; color: var(--pp-gris); font-size: .95rem; }
.rt-pp-suave { color: var(--pp-gris); font-size: .9rem; }
.rt-pp-ico { flex: none; }

/* Tarjetas */
.rt-pp-tarjeta { padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--pp-linea); border-radius: var(--pp-radio); background: #fff; }
.rt-pp-tarjeta--suave { background: var(--pp-fondo); border-color: transparent; margin-bottom: 1.25rem; }

/* Avisos */
.rt-pp-aviso { margin: 0 0 1.5rem; padding: .9rem 1.1rem; border-left: 4px solid var(--pp-gris); border-radius: .6rem; background: var(--pp-fondo); font-weight: 600; outline: none; }
.rt-pp-aviso--ok { border-color: #1f8a4c; background: #edf7f0; }
.rt-pp-aviso--error { border-color: var(--pp-rojo-acc); background: #fdeeee; }

/* Botones */
.rt-pp-boton { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3rem; padding: 0 1.4rem; border: 2px solid var(--pp-rojo-acc); border-radius: 999px; background: var(--pp-rojo-acc); color: #fff !important; font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.rt-pp-boton:hover { background: #a90f18; border-color: #a90f18; }
.rt-pp-boton:focus-visible, .rt-pp-pestanas a:focus-visible, .rt-pp-opcion:focus-visible { outline: 3px solid var(--pp-tinta); outline-offset: 3px; }
.rt-pp-boton--sec { background: #fff; color: var(--pp-tinta) !important; border-color: var(--pp-linea); }
.rt-pp-boton--sec:hover { background: var(--pp-fondo); border-color: var(--pp-tinta); }
.rt-pp-boton--texto { min-height: 2.75rem; padding: 0 .8rem; background: none; border-color: transparent; color: var(--pp-tinta) !important; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.rt-pp-boton--texto:hover { background: var(--pp-fondo); border-color: transparent; }
.rt-pp-boton[disabled] { opacity: .65; cursor: progress; }
.rt-pp-acciones { margin-top: 1.5rem !important; }

/* Cabecera del panel */
.rt-pp-cabecera { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.75rem; }
.rt-pp-cabecera__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.rt-pp-cabecera__acciones form { margin: 0; }

/* Pestañas */
.rt-pp-pestanas { display: flex; gap: .25rem; margin: 0 0 2rem; padding: .3rem; overflow-x: auto; border-radius: 999px; background: var(--pp-fondo); scrollbar-width: none; }
.rt-pp-pestanas::-webkit-scrollbar { display: none; }
.rt-pp-pestanas a { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0 1.1rem; border-radius: 999px; color: var(--pp-gris); font-weight: 700; text-align: center; text-decoration: none; white-space: nowrap; transition: background .18s, color .18s; }
.rt-pp-pestanas a:hover { color: var(--pp-tinta); }
.rt-pp-pestanas a[aria-selected="true"] { background: #fff; color: var(--pp-tinta); box-shadow: 0 1px 3px rgb(29 29 31 / 14%); }

/* Opciones de «Publicar» */
.rt-pp-opciones { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: .75rem; margin: 0 0 1.25rem; }
.rt-pp-opcion { display: flex; align-items: flex-start; gap: .9rem; padding: 1.1rem 1.15rem; border: 1px solid var(--pp-linea); border-radius: var(--pp-radio); background: #fff; color: var(--pp-tinta) !important; text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.rt-pp-opcion:hover { border-color: var(--pp-tinta); box-shadow: 0 .5rem 1.5rem rgb(29 29 31 / 8%); transform: translateY(-1px); }
.rt-pp-opcion[aria-expanded="true"] { border-color: var(--pp-rojo-acc); box-shadow: inset 0 0 0 1px var(--pp-rojo-acc); }
.rt-pp-opcion__ico { display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: .8rem; background: #fdeeee; color: var(--pp-rojo-acc); }
.rt-pp-opcion__txt { display: grid; gap: .2rem; }
.rt-pp-opcion__txt strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.rt-pp-opcion__txt span { color: var(--pp-gris); font-size: .9rem; line-height: 1.4; }

/* Bloques de formulario */
.rt-pp-bloque { margin-top: 2rem; scroll-margin-top: var(--rt-header-offset, 6.5rem); }
.rt-pp-bloque__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.rt-pp-cerrar { display: none; }

/* Campos */
.rt-pp-rejilla { display: grid; grid-template-columns: 1fr; gap: 1.1rem 1.25rem; }
@media (min-width: 40em) {
	.rt-pp-rejilla { grid-template-columns: 1fr 1fr; }
	.rt-pp-campo--ancho { grid-column: 1 / -1; }
}
.rt-pp-campo { display: grid; gap: .4rem; margin: 0; }
.rt-pp-campo label { font-weight: 700; font-size: .95rem; }
.rt-pp-input, .rt-pp .login-username input, .rt-pp .login-password input {
	width: 100%; min-height: 3rem; padding: .7rem .9rem; border: 1px solid #a9abb1; border-radius: .75rem; background: #fff; color: var(--pp-tinta); font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .18s, box-shadow .18s;
}
textarea.rt-pp-input { min-height: 7rem; resize: vertical; }
.rt-pp-input:hover { border-color: var(--pp-gris); }
.rt-pp-input:focus, .rt-pp .login-username input:focus, .rt-pp .login-password input:focus { outline: none; border-color: var(--pp-tinta); box-shadow: 0 0 0 3px rgb(29 29 31 / 14%); }
.rt-pp-ayuda { color: var(--pp-gris); font-size: .875rem; line-height: 1.4; }
.rt-pp-error { color: var(--pp-rojo-acc); font-size: .9rem; font-weight: 700; }
.rt-pp-trampa { position: absolute !important; left: -9999px; }
.rt-pp-archivo input { width: 100%; padding: .65rem; border: 2px dashed #a9abb1; border-radius: .75rem; background: var(--pp-fondo); font: inherit; font-size: .95rem; cursor: pointer; }
.rt-pp-archivo input:hover { border-color: var(--pp-tinta); }
.rt-pp-archivo input::file-selector-button { margin-right: .9rem; padding: .55rem 1rem; border: 1px solid var(--pp-linea); border-radius: 999px; background: #fff; color: var(--pp-tinta); font: inherit; font-weight: 700; cursor: pointer; }
.rt-pp-marca { display: flex; align-items: flex-start; gap: .6rem; margin: 0 0 .7rem; cursor: pointer; }
.rt-pp-marca input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--pp-rojo-acc); }
.rt-pp-web .rt-pp-acciones { margin-top: .5rem !important; }
.rt-pp-web .rt-pp-nota { margin: .4rem 0 0; }

/* Mis publicaciones */
.rt-pp-lista { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.rt-pp-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .9rem 1.1rem; border: 1px solid var(--pp-linea); border-radius: .85rem; background: #fff; }
.rt-pp-item__txt { display: grid; gap: .15rem; min-width: 0; }
.rt-pp-item__txt strong { overflow-wrap: anywhere; }
.rt-pp-item__txt span { color: var(--pp-gris); font-size: .9rem; }
.rt-pp-item__acc { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.rt-pp-item__acc form { margin: 0; }
.rt-pp-chip { display: inline-flex; align-items: center; min-height: 1.9rem; padding: 0 .75rem; border-radius: 999px; background: var(--pp-fondo); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.rt-pp-chip--ok { background: #e3f3e8; color: #17663a; }
.rt-pp-chip--espera { background: #fff3d6; color: #7a5300; }
.rt-pp-chip--fuera { background: var(--pp-fondo); color: var(--pp-gris); }
.rt-pp-vacio { padding: 1.1rem; border: 1px dashed var(--pp-linea); border-radius: .85rem; color: var(--pp-gris); }

/* Entrada */
.rt-pp-entrada { max-width: 30rem; margin: 0 auto; }
.rt-pp-entrada .rt-pp-tarjeta { margin-top: .5rem; }
.rt-pp #loginform { display: grid; gap: 1rem; margin: 0; }
.rt-pp #loginform p { display: grid; gap: .4rem; margin: 0; }
.rt-pp #loginform label { font-weight: 700; font-size: .95rem; }
.rt-pp #loginform .login-remember label { display: flex; align-items: center; gap: .55rem; font-weight: 500; cursor: pointer; }
.rt-pp #loginform .login-remember input { width: 1.2rem; height: 1.2rem; accent-color: var(--pp-rojo-acc); }
.rt-pp #loginform .login-submit { margin-top: .25rem; }
.rt-pp #wp-submit { width: 100%; min-height: 3.1rem; border: 0; border-radius: 999px; background: var(--pp-rojo-acc); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.rt-pp #wp-submit:hover { background: #a90f18; }
.rt-pp #rt-part-ojo { margin: -.4rem 0 0 !important; justify-self: start; border-radius: 999px !important; border-color: var(--pp-linea) !important; }
.rt-pp-pie { margin-top: 1.1rem !important; text-align: center; }

/* Con JavaScript: una pestaña y un formulario cada vez. Sin él se ve todo seguido. */
.rt-pp--js .rt-pp-seccion:not(.es-activa) { display: none; }
.rt-pp--js .rt-pp-bloque:not(.es-activo) { display: none; }
.rt-pp--js .rt-pp-cerrar { display: inline-flex; }
.rt-pp:not(.rt-pp--js) .rt-pp-seccion + .rt-pp-seccion { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--pp-linea); }

@media (max-width: 39.99em) {
	.rt-pp-cabecera__acciones { width: 100%; }
	.rt-pp-cabecera__acciones .rt-pp-boton--sec { flex: 1; }
	.rt-pp-pestanas { border-radius: 1rem; }
	.rt-pp-pestanas a { flex: 1 0 auto; padding: 0 .9rem; font-size: .95rem; }
	.rt-pp-form .rt-pp-acciones .rt-pp-boton { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.rt-pp * { transition: none !important; }
}

/* El tema (Nectar) da estilo propio a botones, etiquetas y campos: aquí manda el panel.
   Y el contenedor del tema es flexible: sin min-width:0 las pestañas ensanchan la página en móvil. */
.rt-pp { width: 100%; min-width: 0; }
.rt-pp-panel, .rt-pp-seccion, .rt-pp-bloque, .rt-pp-cabecera > div { min-width: 0; max-width: 100%; }
.rt-pp-h1 { overflow-wrap: anywhere; }
.rt-pp label, .rt-pp #loginform label { text-transform: none !important; letter-spacing: normal !important; font-family: inherit !important; }
.rt-pp button.rt-pp-boton, .rt-pp a.rt-pp-boton { background: var(--pp-rojo-acc) !important; border: 2px solid var(--pp-rojo-acc) !important; color: #fff !important; border-radius: 999px !important; font-family: inherit !important; font-size: 1rem !important; text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important; }
.rt-pp button.rt-pp-boton:hover, .rt-pp a.rt-pp-boton:hover { background: #a90f18 !important; border-color: #a90f18 !important; }
.rt-pp .rt-pp-boton.rt-pp-boton--sec { background: #fff !important; color: var(--pp-tinta) !important; border-color: var(--pp-linea) !important; }
.rt-pp .rt-pp-boton.rt-pp-boton--sec:hover { background: var(--pp-fondo) !important; border-color: var(--pp-tinta) !important; }
.rt-pp .rt-pp-boton.rt-pp-boton--texto { background: transparent !important; border-color: transparent !important; color: var(--pp-tinta) !important; }
.rt-pp .rt-pp-boton.rt-pp-boton--texto:hover { background: var(--pp-fondo) !important; }
.rt-pp .rt-pp-input, .rt-pp .login-username input, .rt-pp .login-password input { border: 1px solid #a9abb1 !important; background: #fff !important; border-radius: .75rem !important; box-shadow: none !important; font-family: inherit !important; font-size: 1rem !important; padding: .7rem .9rem !important; min-height: 3rem !important; }
.rt-pp .rt-pp-input:focus, .rt-pp .login-username input:focus, .rt-pp .login-password input:focus { border-color: var(--pp-tinta) !important; box-shadow: 0 0 0 3px rgb(29 29 31 / 14%) !important; }
.rt-pp #wp-submit { background: var(--pp-rojo-acc) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; font-family: inherit !important; text-transform: none !important; letter-spacing: normal !important; }

/* Móvil: las tres pestañas enteras, en tres columnas y con el texto partido si hace falta. */
@media (max-width: 39.99em) {
	.rt-pp-pestanas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
	.rt-pp-pestanas a { min-height: 3.4rem; padding: .35rem .4rem; font-size: .86rem; line-height: 1.2; white-space: normal; }
}

/* Nectar redondea a 4 px los botones de envío con una regla más fuerte: aquí, más fuerte aún. */
html body main.rt-pp button.rt-pp-boton, html body main.rt-pp a.rt-pp-boton, html body main.rt-pp #wp-submit { border-radius: 999px !important; transition: background-color .18s, border-color .18s, color .18s !important; }

/* Publicar en dos pasos (8-nov): qué (tres botones) y cómo (lista para marcar). */
.rt-pp-opciones--3 { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.rt-pp-como { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.rt-pp-como legend { margin: 0 0 .7rem; padding: 0; font-weight: 800; font-size: 1.02rem; }
.rt-pp-como__op { display: flex; align-items: flex-start; gap: .75rem; margin: 0 0 .5rem; padding: .8rem 1rem; border: 1px solid var(--pp-linea); border-radius: .85rem; background: #fff; cursor: pointer; transition: border-color .18s, background .18s; }
.rt-pp-como__op:hover { border-color: var(--pp-tinta); }
.rt-pp-como__op:has(input:checked) { border-color: var(--pp-rojo-acc); background: #fff7f7; box-shadow: inset 0 0 0 1px var(--pp-rojo-acc); }
.rt-pp-como__op input { flex: none; width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--pp-rojo-acc); }
.rt-pp-como__op > span { display: grid; gap: .15rem; }
.rt-pp-como__op strong { font-weight: 700; }
.rt-pp-como__op > span > span { color: var(--pp-gris); font-size: .9rem; line-height: 1.4; }
.rt-pp-como__op:focus-within { outline: 3px solid var(--pp-tinta); outline-offset: 2px; }
.rt-pp-modo[hidden] { display: none !important; }
.rt-pp-modo__tit { margin: 1.5rem 0 .6rem; font-size: 1rem; font-weight: 800; }
.rt-pp--js .rt-pp-modo__tit { display: none; }
.rt-pp:not(.rt-pp--js) .rt-pp-como { display: none; }
.rt-pp label.rt-pp-como__op { font-size: 1rem !important; font-weight: 400 !important; line-height: 1.4 !important; }
.rt-pp label.rt-pp-como__op strong { font-size: 1rem !important; font-weight: 700 !important; }
.rt-pp label.rt-pp-como__op > span > span { font-size: .9rem !important; }

/* Portada y logo (9-nov): dos campos distintos y opcionales. */
.rt-pp-subidas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.rt-pp-subidas .rt-pp-nota { grid-column: 1 / -1; margin: 0; }
@media (max-width: 700px) { .rt-pp-subidas { grid-template-columns: minmax(0, 1fr); } }
.rt-pp-subida { border: 1px solid var(--pp-linea); border-radius: 1rem; padding: 1.1rem; background: #fff; min-width: 0; }
.rt-pp-subida__cabe { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.rt-pp-subida__cabe label { font-weight: 800; }
.rt-pp-opcional { font-size: .75rem; font-weight: 700; color: #62646a; border: 1px solid var(--pp-linea); border-radius: 999px; padding: .1rem .6rem; }
.rt-pp-subida__que { margin: .2rem 0 .8rem; color: #62646a; font-size: .9375rem; }
.rt-pp-subida__marco { margin: 0 0 .8rem; border-radius: .75rem; overflow: hidden; background: #f4f5f6; }
.rt-pp-subida__actual { display: block; max-width: 100%; height: auto; }
.rt-pp-subida__actual--portada { width: 100%; }
.rt-pp-subida__actual--logo { width: 6rem; height: 6rem; object-fit: contain; margin: .6rem; border-radius: 1rem; background: #fff; }
.rt-pp-quitar { display: flex; gap: .5rem; align-items: center; margin-top: .6rem; font-size: .9rem; }

/* Portada de Participa y normas (19-nov-2026) */
.rt-pl { --pl-carbon: #2b2523; --pl-on: #f6efec; --pl-on-2: #d9ccc6; }
.rt-pl-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 2.75rem); align-items: center; padding: .5rem 0 1rem; }
.rt-pl-hero .rt-pp-h1 em { font-style: normal; color: var(--pp-rojo-acc); }
.rt-pl-lead { margin: 1rem 0 0; max-width: 46ch; color: var(--pp-gris); font-size: 1.1rem; }
.rt-pl-normas .rt-pl-lead { max-width: 60ch; }
.rt-pl-botones { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.4rem 0 0 !important; }
.rt-pl-botones .rt-pp-boton { text-decoration: none; }
.rt-pl-fig { margin: 0; border-radius: 1.4rem; overflow: hidden; background: var(--pp-fondo); aspect-ratio: 4 / 3.2; }
.rt-pl-foto { display: block; width: 100%; height: 100%; object-fit: cover; }
.rt-pl-sec { margin-top: clamp(2.2rem, 5vw, 3.2rem); }
.rt-pl-h2 { margin: .2rem 0 0; font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.rt-pl-h3 { margin: 0 0 .6rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.rt-pl-dos, .rt-pl-tres { display: grid; gap: 1rem; margin-top: 1.25rem; }
.rt-pl-dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rt-pl-tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rt-pl-card, .rt-pl-tipo { display: flex; flex-direction: column; min-width: 0; }
.rt-pl-card .rt-pl-botones { margin-top: auto !important; padding-top: 1.1rem; }
.rt-pl-lista { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; color: var(--pp-gris); }
.rt-pl-tipo p { color: var(--pp-gris); }
.rt-pl-donde { margin-top: auto !important; padding-top: .8rem; font-size: .9rem; border-top: 1px solid var(--pp-linea); margin-top: .8rem !important; }
.rt-pl-oscuro { background: var(--pl-carbon); color: var(--pl-on); border-radius: 1.4rem; padding: clamp(1.4rem, 4vw, 2.2rem); }
.rt-pl-oscuro .rt-pp-eyebrow { color: #ff9a9e; }
.rt-pl-oscuro .rt-pl-h2 { color: #fff; }

.rt-pl-oscuro .rt-pp-boton--sec { background: #fff; color: var(--pl-carbon) !important; border-color: #fff; }
.rt-pl-pasos { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .75rem; counter-reset: paso; }
.rt-pl-pasos li { counter-increment: paso; display: grid; grid-template-columns: 2rem 1fr; column-gap: .9rem; padding: .95rem 1rem; border-radius: .9rem; background: #3a3330; }
.rt-pl-pasos li::before { content: counter(paso); grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%; background: var(--pp-rojo); color: #fff; display: grid; place-items: center; font-weight: 800; }
.rt-pl-pasos strong { display: block; }
.rt-pl-pasos span { color: var(--pl-on-2); font-size: .95rem; }
.rt-pl-faq details { border-bottom: 1px solid var(--pp-linea); padding: .95rem 0; }
.rt-pl-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.rt-pl-faq summary::-webkit-details-marker { display: none; }
.rt-pl-faq summary::after { content: "+"; font-weight: 800; color: var(--pp-rojo-acc); }
.rt-pl-faq details[open] summary::after { content: "–"; }
.rt-pl-faq details p { margin-top: .55rem; color: var(--pp-gris); max-width: 62ch; }
.rt-pl-cierre { margin-top: clamp(2.2rem, 5vw, 3.2rem); display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; padding: 1.5rem 1.6rem; border-radius: 1.2rem; background: #fdeeed; border: 1px solid #f3cfcd; }
.rt-pl-cierre p { margin: .4rem 0 0; color: var(--pp-gris); }
.rt-pl-cierre .rt-pl-botones { margin: 0 !important; }
.rt-pl-reglas { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .75rem; counter-reset: regla; }
.rt-pl-reglas li { counter-increment: regla; display: grid; grid-template-columns: 1.6rem 1fr; column-gap: .75rem; }
.rt-pl-reglas li::before { content: counter(regla); grid-row: span 2; color: var(--pp-rojo-acc); font-weight: 800; }
.rt-pl-reglas span { color: var(--pp-gris); }
@media (max-width: 760px) {
	.rt-pl-hero, .rt-pl-dos, .rt-pl-tres { grid-template-columns: 1fr; }
	.rt-pl-fig { aspect-ratio: 16 / 10; }
}

/* Formulario de «Pedir acceso» (19-nov-2026) */
.rt-pl-pedir { max-width: 40rem; margin: 0 auto; }
.rt-pl-formulario { display: grid; gap: 1rem; margin-top: 1.25rem; }
.rt-pl-campo { border: 0; margin: 0; padding: 0; min-width: 0; }
.rt-pl-campo legend { padding: 0; margin: 0 0 .4rem; font-weight: 700; }
.rt-pl-opcion { display: flex; align-items: flex-start; gap: .55rem; margin: 0 0 .4rem; font-weight: 500; cursor: pointer; }
.rt-pl-opcion input { margin-top: .25rem; accent-color: var(--pp-rojo-acc); }
.rt-pl-formulario .rt-pp-campo { margin: 0; }
