/* Macbook */
@media screen and (min-width: 2160px) {

	section#eventos .evento {
		flex: 1 1 calc(100% / 3);
		height: auto
	}

	section#eventos .evento:nth-child(1),
	section#eventos .evento:nth-child(2) {
		flex: 1 0 35%;
	}

}

/* iMac */
@media screen and (min-width: 1440px) and (max-width: 4800px) {}



/* Celulares */
@media screen and (min-width: 641px) and (max-width: 1080px) {}



@media screen and (min-width: 320px) and (max-width: 640px) {
	header {
		width: 100%;
		height: 4em
	}

	header .espacio {
		padding: 1em 2em;
		width: calc(100% - 4em);
		flex-direction: row-reverse
	}

	header nav.menu,
	header .espacio nav.redes {
		display: none;
	}

	header .logo {
		height: 2em;
		min-height: 2em;
		width: 2em;
		min-width: 3em;
	}

	header .logo figure {
		min-height: 2em
	}

	#verMenu {
		min-width: 2em;
		gap: .45em;
		display: inline-flex
	}

	#verMenu span.linea {
		width: 2em
	}


	header .bloque.der {
		display: none
	}

	header.scroll {
		background-color: #f7f7f7
	}

	header.scroll.act {
		background-color: rgb(0, 0, 0, .8)
	}



	header.act {
		width: 100%;
		min-height: 100vh;
	}

	header.act .bloque.izq .barra {
		width: calc(100% - 4em);
		display: inline-block;
		padding: 0;
		margin: 0 2em
	}

	header.act .bloque.izq .barra a.logo.blanco {
		display: inline-block;
		float: left;
		padding: 1em 0;
		height: 8em;
		width: 8em;
	}

	header.act .bloque.izq .barra a#verMenu {
		float: right;
	}

	header.act .bloque.izq .barra nav.principal {
		width: 100%;
		margin: 4em 0;
		display: inline-block
	}

	header.act nav.principal a {
		width: 100%;
		display: block;
		margin: 0 0 1em;
		font-size: 2em
	}

	header.act .bloque.der {
		display: flex
	}

	header.act #verMenu {
		padding: 1em 0
	}

	h1 {
		font-size: 48px
	}

	h2 {
		font-size: 28px
	}

	h5 {
		font-size: 12pt
	}

	span.boton,
	span.boton a {
		width: 100%
	}


	.contenedor,
	section#about .contenedor,
	section#eventos blockquote,
	section#eventos.pagina blockquote,
	section#eventos.archivo .contenedor,
	section#beneficios.nosotros .contenedor.encabezado,
	section.pagina.portada .contenedor,
	section#faqs .contenedor,
	section.pagina .contenedor,
	section#eventos.archivo.pagina .contenedor,
	footer .espacio {
		width: calc(100% - 4em);
		padding: 6em 2em 4em;
		gap: 1em;
		max-width: calc(100% - 4em)
	}

	section#eventos.archivo .columna.dos {
		flex: auto
	}

	section#eventos.archivo.pagina .contenedor blockquote {
		padding: 0 0 2em;
		max-width: 100%;
	}

	section#eventos.archivo.pagina .evento {
		flex: auto
	}

	.columna.dos,
	.columna.tres,
	section .numeralia.contenedor .columna.numeros,
	.flex.row,
	section#faqs ul,
	section#beneficios .contenedor {
		flex-direction: column;
		width: 100%
	}

	.flex.col.center.end {
		align-items: flex-start;
	}


	section#home .bloque {
		width: calc(100% - 4em);
		padding: 0 2em
	}

	section#home .bloque .logo {
		min-width: 240px;
		width: 70%
	}

	section#home {
		min-height: 100vh
	}

	section#home video {
		aspect-ratio: 9 / 16;
		max-height: 100vh;
		position: absolute;
	}

	section .numeralia.contenedor {
		flex-direction: column;
		gap: 4rem;
	}

	section .numeralia.contenedor .bloque {
		flex: 0 1 100%
	}

	section .numeralia.contenedor .bloque.flex.center {
		justify-content: flex-start
	}

	section .numeralia.contenedor .bloque h1 {
		font-size: 32px;
	}

	section .numeralia.contenedor figure.icono {
		padding: .5rem
	}

	section .numeralia.contenedor figure.icono i {
		font-size: 3em
	}

	section .numeralia.contenedor span.boton a {
		flex-wrap: nowrap
	}


	section#eventos.archivo .columna.asistencia {
		justify-content: flex-start
	}

	section#about .contenedor .bloque {
		flex: inherit;
	}

	section#eventos h2 {
		font-size: 24pt;
	}

	section#eventos .evento,
	section#eventos .evento:nth-child(1),
	section#eventos .evento:nth-child(2) {
		flex: 1 0 100%
	}

	section#eventos.pagina h1 {
		font-size: 24pt
	}


	ul.grid {
		grid-gap: 1em;
	}

	ul.grid li {
		grid-column: span 6;
		flex-direction: row;
		justify-content: flex-start;
		gap: 2rem
	}

	section#beneficios ul.grid li figure {
		flex: 1 0 6rem
	}

	section#beneficios ul.grid li .bloque {
		flex: 1 1 calc(100% - 8rem);
		justify-content: flex-start;
		align-content: flex-start;
		align-items: flex-start;
	}

	section#beneficios .contenedor ul.grid li h3 {
		text-align: left;
		font-size: 12pt
	}


	.slick-prev:before,
	.slick-next:before {
		font-size: 2rem !important
	}

	section#portada,
	section#portada .slider.portada,
	section#portada .slider .fotograma,
	section#portada .edicionbg,
	section#portada .edicionbg figure.fotograma {
		min-height: calc(100vh - 80px)
	}

	section#portada nav.menu-event {
		width: calc(100% - 8em);
		flex-direction: column;
		gap: 1rem;
		padding: 2em;
		align-items: flex-start;
	}

	section#portada nav.menu-event span {
		padding: 0;
		gap: 1rem;
	}

	section#portada nav.menu-event h4 {
		font-size: 12pt
	}


	section#boletos .contenedor {
		gap: 4rem
	}

	section#boletos .cajatexto {
		flex-direction: column;
		gap: 0
	}

	section#boletos .cajatexto p {
		font-size: 12pt
	}

	section#faqs .contenedor {
		gap: 4em;
	}

	section#faqs ul li {
		padding: 1rem;
		flex: 0 1 calc(100% - 2rem);
		width: calc(100% - 2rem)
	}


	section#eventos.archivo.pagina h1 {
		font-size: 24pt
	}


	footer {
		height: auto;
	}

	footer .espacio {
		gap: 2em
	}

	footer .columna.medio {
		width: 100%;
		justify-content: flex-start;
		min-height: auto;
		height: auto
	}

	footer .columna.medio.contacto {
		align-items: flex-start;
		justify-content: flex-start;
	}


	body.club section.pagina.portada {
		min-height: 50vh
	}

	body.club section.pagina h1 {
		font-size: 30pt
	}

	body.club section.pagina.portada figure {
		margin: 0;
		width: calc(100% - 4em);
		height: calc(100% - 4em)
	}

	body.club section.pagina.alt {
		flex-direction: column;
	}

	body.club section.pagina.alt figure {
		min-height: 40vh
	}

	body.club section#boletos .columna.img {
		min-height: 240px;
		background-repeat: no-repeat;
	}
	
	body.club section#boletos.pagina .contenedor {flex-direction: column-reverse; flex-wrap: wrap}
	

	body.club section#beneficios .contenedor ul.grid li h3 {
		text-align: center;
	}

	body.club section#galeria.pagina,
	body.club section.pagina .slider,
	body.club section.pagina .slider figure.fotograma {
		min-height: 40vh
	}

	input, select {flex: 1 0 calc(100% - 4.5rem)}
	.club #registro form .flex.row {flex-direction: row; flex-wrap:wrap; gap: 1rem;}
	form span.req {margin: 0 0 0 .5rem; min-width: 1rem}
	
	form .checkbox input[type="checkbox" i]  {max-width: 2rem; flex: auto;}
	form .checkbox .aviso label {flex: 1}
	section form#verificacion input {flex: auto}
	section form#verificacion input[type="text" i] {flex: 1; padding: .5rem; max-width: 32px; min-height: 3rem}
	#registro .columna.dos.completado {padding: 4rem 2rem; width: calc(100% - 4rem);}
	
	.club #registro .columna.dos.completado {padding: 4rem 2rem; width: calc(100% - 4rem)}
	body.club.ride section.pagina.portada figure {margin: 2em; width: calc(100% - 4rem)}
	
	span.cerrarFondo {
		margin: 0;
	}

	section#galeria .contenedor {
		padding: 2em;
	}

	section#galeria.pagina ul.grid {
		flex-direction: column;
	}

	section ul.grid figure.imagen {
		height: min(30vh, 270px);
		width: 100%
	}

	section.contacto span.boton a {
		flex-direction: row;
		font-size: 11pt
	}

	#modalInfo {
		padding: 1em;
		width: calc(100% - 2em);
		min-height: calc(100vh - 2em)
	}

	#modalInfo a#cerrarModal {
		top: 0;
		right: 20px;
	}

	#modalInfo .contenedor {
		width: 100%;
		padding: 4em 0;
		flex: inherit;
		max-width: 100%;
	}

	#modalInfo .contenedor .tarjeta {
		flex-direction: column;
		width: calc(100% - 2em);
		padding: 1em;
		overflow: auto;
		height: 80vh
	}

	#modalInfo.equipo figure.imagen,
	#modalInfo.equipo .info {
		width: 100%
	}

	#modalInfo.equipo figure.imagen {
		min-height: 360px;
		flex: auto;
		border-radius: 8px;
	}

	#modalInfo.equipo .info {
		overflow: scroll
	}

	#modalInfo.equipo .info p {
		height: auto;
	}

	#modalInfo .chimpform {
		padding: 4rem 2rem;
		width: calc(100% - 4rem)
	}

	input[type="submit" i] {
		width: 100%
	}



	article h2 {
		margin-top: 1em
	}

	article h2.wp-block-heading {
		font-size: 24px
	}

	article .bloque p {
		display: inline
	}

	article figure.wp-block-image {
		margin: 1em 0
	}

	:is(figure.fotograma h1, section.post .encabezado) {
		width: calc(100% - 4em)
	}

	section.post article {
		width: calc(100% - 5rem);
		padding: 0 2.5rem 4rem;
	}

	article figure.wp-block-gallery.has-nested-images {
		flex-direction: column;
	}

	article figure.wp-block-gallery figure.wp-block-image {
		width: 100%;
		gap: 1em;
	}


	section.post .contenedor {
		padding: 2em 0 4em;
		width: 100%;
		max-width: 100%;
		gap: .5rem
	}

	section.post .contenedor h1 {
		font-size: 1.5em
	}

	section.post .contenedor h4 {
		font-size: .75em
	}


	section.post .bloque {
		width: 100%;
	}

	section.post figure.portada {
		width: calc(100% - 1em);
		margin: 0 .5em;
		height: min(33vh, 480px)
	}

	section.post article .bloque h2 {
		width: 100%;
	}

	section.post article p,
	section.post article ol,
	section.post article ul {
		font-size: 12pt
	}

	section.post article ol,
	section.post article ul {
		text-align: left;
	}

	article .wp-block-columns {
		flex-direction: column
	}

	article iframe {
		min-height: 270px;
	}

	:is(article h1, ) {
		width: calc(100% - 2em)
	}

	:is(article .wp-block-group) {
		width: calc(100% - 4em);
		margin: 0
	}

	article .wp-block-group {
		font-size: .75em
	}

	article .wp-block-group h2 {
		font-size: 1.5em
	}

	article h3 {
		margin-top: 1em;
		font-size: 1.5em;
		text-align: left;
		width: 100%
	}

	.compartir nav a {
		font-size: .75rem;
		padding: .75rem .5rem
	}
	
	form .flex.checkbox .aviso {flex-direction: row !important}
	
	form#splash-form .datos .flex.row {flex-direction: row !important}
	body#splash-page section#about .contenedor .bienvenida h4 {text-align: center;}
}


/* Celulares muy chiquitos */

@media screen and (min-width: 180px) and (max-width: 320px) {}

/* Tabletas */
@media screen and (min-width: 721px) and (max-width: 1130px) {}

/* iPad Pro */
@media only screen and (min-device-height: 1024px) and (max-device-height: 1366px) and (orientation: portrait)and (-webkit-min-device-pixel-ratio: 1.5) {}
/* Fluid layout: intermediate navigation, statistics, archive and footer. */
header .espacio, footer .espacio, .numeralia.contenedor, section#eventos.archivo.pagina>.contenedor{box-sizing:border-box}
header .espacio{width:100%;max-width:1568px;margin:auto;display:flex;padding:1rem clamp(1.25rem,4vw,4rem)}
header .espacio>*{min-width:0}header .menu{gap:clamp(.75rem,2vw,2rem)}
@media(min-width:641px) and (max-width:1199px){
 header .espacio{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(0,1.3fr);grid-template-areas:"brand menu" "social menu";column-gap:2rem;row-gap:.75rem;align-items:center}
 header .espacio>.logo{grid-area:brand;min-width:0!important;width:150px;min-height:80px!important}
 header .espacio>.logo figure{min-height:80px!important}
 header .espacio>nav.redes{grid-area:social;gap:1.5rem}
 header .espacio>nav.menu{grid-area:menu;display:flex;flex-direction:column;align-items:flex-end;gap:.65rem}
 header .espacio>nav.menu a{font-size:clamp(14px,1.7vw,18px);text-align:right}
 header #verMenu{display:none}
 section#about .contenedor{gap:2rem;padding:4rem 2rem;width:100%;box-sizing:border-box}
 section#about .contenedor .bloque{min-width:0;flex:1 1 0}
 section#about h1{font-size:clamp(32px,4.8vw,52px)}
 section#about p{font-size:clamp(17px,2.3vw,22px)}
}
section .numeralia.contenedor{width:100%;max-width:1200px;padding:clamp(2rem,5vw,4rem) clamp(1.25rem,4vw,3rem);display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:center;gap:2rem!important}
section .numeralia.contenedor .columna.numeros{width:100%;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;align-items:start}
section .numeralia.contenedor .columna.enlace{width:100%;min-width:0;align-items:center}
section .numeralia.contenedor .bloque{min-width:0;width:100%;gap:1rem}
section .numeralia.contenedor .bloque h1{font-size:clamp(30px,4vw,48px);white-space:nowrap}
section .numeralia.contenedor .bloque h4{font-size:clamp(16px,2vw,22px);flex-wrap:wrap;gap:.5rem}
section .numeralia.contenedor span.boton{width:100%;max-width:340px;box-sizing:border-box}
section .numeralia.contenedor span.boton a{display:flex;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:nowrap;width:100%;box-sizing:border-box;gap:1rem;font-size:clamp(15px,1.8vw,20px);padding:1rem}
section .numeralia.contenedor figure.icono{width:clamp(64px,9vw,96px);height:clamp(64px,9vw,96px);min-height:0;max-width:none;padding:1rem;box-sizing:border-box}
section .numeralia.contenedor figure.icono i{font-size:clamp(30px,5vw,48px)}
section#eventos.archivo.pagina>.contenedor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;width:100%;max-width:1440px;padding:clamp(2rem,5vw,5rem) clamp(1.25rem,4vw,4rem)}
section#eventos.archivo.pagina>.contenedor>blockquote{grid-column:1/-1;width:100%;max-width:none;padding:0 0 1rem;box-sizing:border-box}
section#eventos.archivo.pagina>.contenedor>.evento{width:100%;min-width:0;min-height:360px}
section#eventos.archivo.pagina>.contenedor>.evento .contenedor{width:100%;max-width:100%;padding:2rem 1.25rem;box-sizing:border-box;gap:1rem}
section#eventos.archivo.pagina>.contenedor>.evento h2{font-size:clamp(24px,2.7vw,36px);overflow-wrap:anywhere}
footer#contacto{min-height:0;height:auto}
footer#contacto>.espacio{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:start;gap:clamp(1.5rem,4vw,4rem);width:100%;max-width:1200px;padding:clamp(2rem,5vw,3.5rem) clamp(1.25rem,4vw,3rem)}
footer#contacto .columna{width:100%;min-width:0;margin:0;gap:1rem}
footer#contacto .logopie>.logo{width:clamp(120px,20vw,190px);min-height:90px;flex:none}
footer#contacto .logopie>.logo figure{min-height:90px}
footer#contacto .concierge-title{display:flex;align-items:center;gap:.5rem;flex-wrap:nowrap;font-size:clamp(24px,3vw,32px)}
footer#contacto .concierge-title>.logo{display:inline-flex;flex:0 0 55px;width:55px;min-height:38px;height:38px}
footer#contacto .concierge-title>.logo figure{min-height:38px;height:38px}
footer#contacto .concierge a,footer#contacto .concierge a h5{overflow-wrap:anywhere;font-size:clamp(15px,2vw,21px)}
footer#contacto nav.redes{gap:clamp(1rem,3vw,2rem)}
@media(max-width:900px){section .numeralia.contenedor{grid-template-columns:minmax(0,1fr)}section .numeralia.contenedor .columna.enlace{align-items:center}section#eventos.archivo.pagina>.contenedor{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 header,body#home header{height:auto;min-height:72px}
 header .espacio{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:1rem 1.25rem;gap:1rem}
 header .espacio>.logo,body#home header .espacio>.logo{width:100px;min-width:0;min-height:42px}
 header .espacio>.logo figure,body#home header .espacio>.logo figure{min-height:42px}
 header #verMenu{grid-column:2;grid-row:1;position:static;min-height:32px}
 header .espacio>.logo{grid-column:1;grid-row:1}
 header.act,body#home header.act{width:100%;height:auto;min-height:0;position:relative}
 header.act .espacio{width:100%;height:auto;padding:1rem 1.25rem;display:grid;align-items:center}
 header.act #verMenu{position:relative;inset:auto;padding:0}
 header.act .espacio>nav.menu{display:flex;grid-column:1/-1;flex-direction:column;align-items:flex-start;gap:1rem}
 header.act .espacio>nav.redes{display:flex;grid-column:1/-1}
 footer#contacto>.espacio{grid-template-columns:minmax(0,1fr);gap:2rem}
 section .numeralia.contenedor{gap:1.5rem!important}
 section .numeralia.contenedor .columna.numeros{gap:.75rem}
 section .numeralia.contenedor .bloque h1{font-size:clamp(26px,6vw,38px)}
 section#eventos.archivo.pagina>.contenedor{grid-template-columns:minmax(0,1fr)}
 section#eventos.archivo.pagina>.contenedor>.evento{min-height:320px}
}

@media(max-width:640px){body.mobile{display:block}body.mobile main{width:100%}}

section#eventos.cartelera.pagina>blockquote{padding-top:2rem;padding-bottom:2rem}

/* Archive breathing room and compact location/attendance labels. */
section#eventos.archivo.pagina>.contenedor{padding-top:clamp(4rem,8vw,7rem)}
section#eventos .evento.archivado{container-type:inline-size}
section#eventos .evento.archivado .evento-sede{font-size:clamp(11px,3.5cqi,14px);letter-spacing:0;line-height:1.4}
section#eventos.archivo .evento.archivado .contenedor .columna.asistencia{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:.4rem;width:100%;min-width:0}
section#eventos.archivo .evento.archivado .asistencia h2{font-size:clamp(14px,5cqi,20px);white-space:nowrap;letter-spacing:0;flex:none}
section#eventos.archivo .evento.archivado .asistencia h5{font-size:clamp(11px,3.5cqi,14px);white-space:nowrap;gap:.35rem;letter-spacing:0;display:inline-flex;align-items:center;flex:none}
section#eventos.archivo .evento.archivado .asistencia .logo{flex:0 0 34px;width:34px;height:26px;min-height:26px}
section#eventos.archivo .evento.archivado .asistencia .logo figure{min-height:26px;height:26px}

@media(min-width:1200px){header .espacio>.logo{width:140px;min-width:140px;flex:0 0 140px}header .espacio>.logo figure{width:100%}body#home header .espacio>.logo{width:180px;min-width:180px;flex-basis:180px}}

/* Compact introduction typography. */
body#home section#about .contenedor h2{font-size:clamp(28px,3.6vw,44px);line-height:1.15;letter-spacing:0}
body#home section#about .contenedor h4{font-size:clamp(15px,1.8vw,20px);line-height:1.65;text-align:justify;letter-spacing:0}

body#home section#about>.contenedor{align-items:flex-start}
body#home section#about>.contenedor>.bloque{justify-content:flex-start;align-self:flex-start}

/* Keep the events CTA on one line with room for its arrow. */
section .numeralia.contenedor{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
section .numeralia.contenedor span.boton{max-width:440px}
section .numeralia.contenedor span.boton a{white-space:nowrap;font-size:clamp(13px,1.2vw,18px);gap:.75rem}
section .numeralia.contenedor span.boton a i{flex-shrink:0}
@media(max-width:900px){section .numeralia.contenedor{grid-template-columns:minmax(0,1fr)}section .numeralia.contenedor span.boton a{font-size:clamp(12px,3.2vw,18px);padding:1rem .75rem;gap:.5rem}}

/* Give attendance figures more presence on desktop. */
@media(min-width:1200px){
 section#eventos.archivo .evento.archivado .asistencia h2{font-size:clamp(28px,2.5vw,40px)}
 section#eventos.archivo .evento.archivado .asistencia h5{font-size:clamp(18px,1.4vw,22px);gap:.5rem}
 section#eventos.archivo .evento.archivado .asistencia .logo{flex-basis:54px;width:54px;height:40px;min-height:40px}
 section#eventos.archivo .evento.archivado .asistencia .logo figure{height:40px;min-height:40px}
}
