/*
 * Vía de Bayona Bureba. El diseño de la plantilla gk_storefront del Joomla,
 * reescrito con sus mismos colores, tipografías, medidas y puntos de corte
 * (1170, 960, 840, 600 y 400 píxeles), sin la plantilla ni sus scripts.
 */

/* Tipografías, en el propio sitio y solo con el subconjunto latino.
 * La del rótulo solo lleva las letras de «Camino de Santiago - Vía de Bayona»
 * (datos/cliente.yml): si el rótulo cambia, se vuelve a pedir a Google Fonts
 * con el texto nuevo, css2?family=Fredericka+the+Great&text=…, y se sustituye. */
@font-face {
  font-family: 'Oxygen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fuentes/oxygen-latin.woff2) format('woff2');
}

@font-face {
  font-family: 'Oxygen';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fuentes/oxygen-700-latin.woff2) format('woff2');
}

@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fuentes/merriweather-latin.woff2) format('woff2');
}

@font-face {
  font-family: 'Fredericka the Great';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fuentes/fredericka-the-great-rotulo.woff2) format('woff2');
}

:root {
  --ocre: #b87c27;
  --verde: #788857;
  --verdeclaro: #9aa475;
  --amarillo: #fed200;
  --texto: #666;
  --titulos: #1b1d1f;
  --gris: #f0f0f0;
  --letra: 'Oxygen', Arial, sans-serif;
  --titular: 'Merriweather', Arial, sans-serif;
  --rotulo: 'Fredericka the Great', Arial, sans-serif;
  /* Los tamaños fluidos de la plantilla */
  --base: calc(12px + 0.2vh + 0.2vw);
  --pequena: calc(12px + 0.1vh + 0.1vw);
  --titulo: calc(15px + 0.3vh + 0.3vw);
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--texto);
  font: 400 var(--base) / 1.5 var(--letra);
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--ocre);
  text-decoration: none;
  transition: color 0.2s linear;
}

a:hover,
a:focus {
  color: var(--titulos);
}

a[href^="tel:"] {
  white-space: nowrap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--titulos);
  font-family: var(--titular);
  font-weight: 400;
  line-height: 1.2;
}

b,
strong {
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0 0 1em;
}

figure img {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.contenedor {
  max-width: 1170px;
  margin: 0 auto;
}

.oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.saltar {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 300;
  padding: 10px 20px;
  background: #000;
  color: #fff;
}

.saltar:focus {
  top: 10px;
  color: #fff;
}

/* Cabecera: la franja blanca con el logotipo y el rótulo, y debajo la barra
 * negra del menú, las dos fijas sobre la foto. Al bajar (.pequena) se
 * encogen; el logotipo cuelga siempre sobre la barra. */

.cabecera .franja {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 102;
  height: 128px;
  background: rgba(255, 255, 255, 0.85);
  transition: height 0.3s linear;
}

/* A la altura de la franja: el logotipo cuelga por fuera, pero la caja no
 * tapa la barra del menú ni se queda con sus clics */
.cabecera .franja .contenedor {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.logo {
  flex: none;
}

.logo img {
  display: block;
  width: 176px;
  height: 200px;
  margin: 0 0 10px;
  transition: all 0.3s linear;
}

.rotulo {
  margin-top: 10px;
  text-align: right;
  color: #444;
  transition: margin 0.3s linear;
}

/* Siempre en una línea, como en el Joomla: la negrita de Fredericka la
 * inventa el navegador y cada uno la ensancha a su manera, así que el rótulo
 * tiene todo el ancho que deja el logotipo y no salta de línea si se pasa */
.rotulo p {
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  transition: font-size 0.3s linear;
}

.rotulo .nombre {
  font-family: var(--rotulo);
  font-size: 4vw;
  font-weight: 700;
}

.rotulo .lema {
  font-size: calc(12px + 0.4vh + 0.4vw);
  font-weight: 700;
}

.menu {
  position: fixed;
  top: 128px;
  left: 0;
  right: 0;
  z-index: 101;
  height: 46px;
  background: #000;
  box-shadow: 0 0 8px 1px #000;
  transition: top 0.3s linear;
}

.menu .contenedor {
  display: flex;
  justify-content: flex-end;
}

.menu ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu li {
  padding: 0 15px;
  line-height: 45px;
}

.menu li:last-child {
  padding-right: 0;
}

.menu a {
  display: block;
  color: #fff;
  font-family: var(--titular);
  font-size: 18px;
}

.menu a:hover,
.menu a:focus {
  color: var(--verdeclaro);
}

.menu li.activo a {
  color: var(--amarillo);
}

.vermenu {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.botonmenu {
  display: none;
}

.cabecera.pequena .franja {
  height: 45px;
}

.cabecera.pequena .menu {
  top: 45px;
}

.cabecera.pequena .logo img {
  width: 123px;
  height: 140px;
  margin: 10px 0;
}

.cabecera.pequena .rotulo {
  margin-top: 7px;
}

.cabecera.pequena .rotulo .nombre {
  font-size: 28px;
  line-height: 32px;
}

.cabecera.pequena .rotulo .lema {
  font-size: 0;
}

/* La foto de cabecera de las páginas interiores, bajo la cabecera fija */

.fotocabecera img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
}

/* El carrusel de la portada: a toda pantalla, con las fotos fundiéndose
 * bajo el mismo rótulo */

.carrusel {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #444;
}

.carrusel .foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.carrusel .foto.activa {
  opacity: 1;
}

/* El rótulo del carrusel, como con animate.css en el Joomla: en cada cambio
 * de foto se desvanece (0,4 s) y, cuando la nueva ya se ha fundido, vuelve:
 * el titular sube y el texto baja, cada uno tras su máscara (1 s). */
.rotulocarrusel {
  position: absolute;
  inset: 0;
  padding-top: 36vh;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 5px #000;
  pointer-events: none;
  transition: opacity 0.4s;
}

.rotulocarrusel.fuera {
  opacity: 0;
}

.rotulocarrusel .mascara {
  overflow: hidden;
}

.rotulocarrusel h1 {
  color: #fff;
  font-size: calc(15px + 2.4vh + 2.4vw);
}

.rotulocarrusel p {
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 0 20px;
  font-size: calc(12px + 1.4vh + 1.4vw);
  line-height: 1.2;
}

.rotulocarrusel.entra h1 {
  animation: subir 1s both;
}

.rotulocarrusel.entra p {
  animation: bajar 1s both;
}

@keyframes subir {
  from { transform: translateY(100%); }
  to { transform: none; }
}

@keyframes bajar {
  from { transform: translateY(-100%); }
  to { transform: none; }
}

/* Las flechas: dos trazos blancos que se abren en un círculo al pasar por encima */
.carrusel button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  margin: 0 30px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: translateY(-50%);
}

.carrusel .anterior {
  left: 0;
}

.carrusel .siguiente {
  right: 0;
}

.carrusel.sola button {
  display: none;
}

.carrusel button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transform: scale(0.9);
  transition: transform 0.3s, opacity 0.3s;
}

.carrusel button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translate(-30%, -50%) rotate(45deg);
  transition: border-color 0.3s;
}

.carrusel .siguiente::after {
  transform: translate(-70%, -50%) rotate(-135deg);
}

.carrusel button:hover::before,
.carrusel button:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.carrusel button:hover::after,
.carrusel button:focus-visible::after {
  border-color: #555;
}

.franjalema {
  padding: 15px 20px;
  background: var(--ocre);
}

.franjalema p {
  max-width: 1170px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--titular);
  font-size: calc(15px + 0.45vh + 0.45vw);
  line-height: 1.2;
}

/* Cuerpo */

.cuerpo {
  padding-top: 25px;
}

.conbarra {
  display: grid;
  grid-template-columns: 69% 31%;
}

.principal {
  min-width: 0;
}

/* Los títulos de las secciones: Blog, Etiquetas, Dónde dormir… */
.seccion {
  margin-bottom: 32px;
  font-size: 42px;
}

/* Los que en el Joomla eran un h1: Etiquetas, cada etiqueta y El Camino de Santiago */
.seccion.mayor {
  font-size: 44px;
}

.seccion.pegada {
  margin-bottom: 0;
}

/* 50 píxeles bajo el título, como en el Joomla (se funde con su margen) */
.seccion + .nube {
  margin-top: 50px;
}

.seccion:has(+ .subtitulo) {
  margin-bottom: 0;
}

.subtitulo {
  margin: 0 0 42px;
  color: var(--titulos);
  font-family: var(--titular);
  font-size: 31.5px;
  line-height: 1.6;
}

/* Páginas y artículos */

.texto .titulo,
.texto h2 {
  margin-bottom: 0.6em;
  padding: 0.7em 0 0.3em;
  border-bottom: 1px solid var(--ocre);
  color: #444;
  font-size: var(--titulo);
}

.texto h3 {
  margin: 1em 0;
  font-size: calc(14px + 0.3vh + 0.3vw);
}

.fecha {
  margin: 0 0 24px;
  color: #999;
  font-size: 12px;
  line-height: 26px;
}

.texto ul,
.mapadelsitio {
  margin: 1em 0;
  padding: 0;
  list-style: none;
}

.texto li::before,
.mapadelsitio li::before {
  content: '';
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 15px;
  background: var(--verdeclaro);
  vertical-align: 0.1em;
}

.mapadelsitio ul {
  margin: 0 2em;
  padding: 0;
  list-style: none;
}

/* flow-root: el margen del último párrafo queda dentro, como en el Joomla */
.texto {
  display: flow-root;
  margin-bottom: 24px;
}

.texto iframe {
  display: block;
}

/* Los vídeos, centrados y a 600 píxeles como estaban en el Joomla */
.texto .video {
  max-width: 600px;
  margin: 0 auto 1em;
}

.establecimiento p {
  margin: 0;
}

/* Listado del blog y de las etiquetas */

/* flow-root: el margen del resumen queda dentro de la entrada, como en el Joomla */
.entrada {
  display: flow-root;
  margin-bottom: 20px;
  padding-top: 48px;
  border-top: 1px solid #e5e5e5;
}

.entrada .foto {
  display: block;
  position: relative;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  overflow: hidden;
}

.entrada .foto img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

/* El marco blanco sobre la foto, y al pasar por encima, el velo con la cruz */
.entrada .foto::before,
.entrada .foto::after {
  content: '';
  position: absolute;
  inset: 9px;
  transition: all 0.3s ease-out;
}

.entrada .foto::before {
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.entrada .foto::after {
  background:
    linear-gradient(#fff, #fff) center / 37px 1px no-repeat,
    linear-gradient(#fff, #fff) center / 1px 37px no-repeat,
    rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: scale(0.5);
}

.entrada .foto:hover::before {
  border-color: transparent;
}

.entrada .foto:hover::after {
  opacity: 1;
  transform: scale(1);
}

.entrada h2 {
  margin-bottom: 0.6em;
  padding: 0.7em 0 0.3em;
  border-bottom: 1px solid var(--ocre);
  color: #444;
  font-size: var(--titulo);
}

.entrada h2 a {
  color: var(--titulos);
}

.entrada h2 a:hover,
.entrada h2 a:focus {
  color: var(--ocre);
}

/* Barra lateral */

.barra {
  padding-left: 40px;
}

.caja {
  margin-bottom: 32px;
  padding: 20px;
  border: 1px solid #e5e5e5;
  background: #f6f6f6;
  color: #888;
  line-height: 1.6;
}

.caja h2 {
  padding-bottom: 20px;
  color: #111;
  font-size: var(--titulo);
  font-weight: 700;
  line-height: 2;
}

.caja ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.archivo ul {
  margin: 3px 0;
}

.archivo li {
  font-size: var(--pequena);
}

.archivo > ul > li:not(:last-child) {
  border-bottom: 1px solid #e5e5e5;
}

.archivo li li {
  margin-left: 10px;
  padding: 5px 0;
}

/* Años y meses, con la altura de línea de la caja */
.archivo summary {
  color: var(--texto);
  font-weight: 700;
  line-height: calc(var(--base) * 1.6);
  cursor: pointer;
  list-style: none;
}

.archivo summary::-webkit-details-marker {
  display: none;
}

.archivo summary::before {
  content: '► ';
}

.archivo details[open] > summary::before {
  content: '▼ ';
}

.archivo a {
  display: block;
  line-height: 1.6;
}

.archivo a[aria-current] {
  color: var(--titulos);
}

.etiquetas ul {
  display: flex;
  flex-wrap: wrap;
}

.etiquetas a {
  display: block;
  margin: 0 7px 5px 0;
  padding: 0.3em 0.8em;
  border: 1px solid #333;
  color: #333;
  font-size: var(--pequena);
  line-height: 1;
}

.etiquetas a:hover,
.etiquetas a:focus,
.etiquetas a[aria-current] {
  border-color: #111;
  background: #111;
  color: #fff;
}

/* Todas las etiquetas */

.nube {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nube a {
  display: block;
  margin: 0 8px 6px 0;
  padding: 0 12px;
  border: 1px solid #e5e5e5;
  line-height: 2;
}

/* Tarjetas: El Camino de Santiago y las últimas entradas */

.tarjetas {
  display: grid;
  grid-template-columns: repeat(2, 49%);
  gap: 20px 2%;
  color: #888;
  line-height: 1.3;
}

.tarjeta {
  background: #fff;
}

.tarjetas.gris {
  margin-bottom: 72px;
}

.tarjetas.gris .tarjeta {
  background: var(--gris);
}

.tarjeta .foto {
  display: block;
  border: 1px solid var(--gris);
}

.tarjeta .foto img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.tarjeta .datos {
  padding: 20px;
}

.tarjeta p,
.tarjeta .titulo {
  margin: 0 0 0.5em;
}

.tarjeta .titulo {
  font-family: var(--letra);
  font-size: 1em;
  line-height: 1.3;
}

.tarjeta .leermas {
  margin: 0;
}

.ultimas {
  padding: 60px 0;
  background: var(--ocre);
}

.ultimas h2 {
  padding-bottom: 20px;
  color: #000;
  font-size: var(--titulo);
  font-weight: 700;
  line-height: 2;
  text-align: center;
}

.ultimas .tarjetas {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ultimas .tarjeta .foto {
  border: 0;
}

/* Portada */

.portada {
  padding-bottom: 24px;
}

.recuadro {
  display: flex;
  margin: 15px 0;
  background: var(--gris);
}

.recuadro .icono {
  display: flex;
  flex: 0 0 120px;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
}

.recuadro .icono svg {
  height: 4em;
}

.recuadro .datos {
  align-self: center;
  padding: 15px 20px;
}

.recuadro h2,
.ficha h2 {
  color: var(--texto);
  font-family: var(--letra);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.5;
}

.recuadro p,
.ficha p {
  margin: 0;
}

/* Dónde dormir y Dónde comer */

.filtros {
  margin-bottom: 12px;
}

.filtro {
  display: inline-block;
  margin: 0 6px 10px 0;
  padding: 5px 20px;
  border: 0;
  background: #ccc;
  color: #000;
  cursor: pointer;
  transition: background 0.3s linear, color 0.3s linear;
}

.filtro:hover,
.filtro[aria-pressed="true"] {
  background: var(--ocre);
  color: #fff;
}

.fichas {
  display: grid;
  grid-template-columns: repeat(2, 49%);
  gap: 20px 2%;
  margin-bottom: 50px;
}

.ficha {
  display: flex;
}

.ficha[hidden] {
  display: none;
}

.pictograma {
  flex: 0 0 120px;
  min-height: 120px;
  background: #000 center no-repeat;
}

.pictograma.albergues-de-peregrinos { background-image: url(/img/categorias/albergues-de-peregrinos.png); }
.pictograma.hoteles { background-image: url(/img/categorias/hoteles.png); }
.pictograma.hostales { background-image: url(/img/categorias/hostales.png); }
.pictograma.pensiones { background-image: url(/img/categorias/pensiones.png); }
.pictograma.turismo-rural { background-image: url(/img/categorias/turismo-rural.png); }
.pictograma.restaurantes { background-image: url(/img/categorias/restaurantes.png); }
.pictograma.platos-combinados-cazuelitas-y-bocadillos { background-image: url(/img/categorias/platos-combinados-cazuelitas-y-bocadillos.png); }
.pictograma.tapas { background-image: url(/img/categorias/tapas.png); }

/* min-width y overflow-wrap: una web larga no ensancha la ficha en el móvil */
.ficha .datos {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 15px;
  border: 1px solid #ccc;
  background: var(--gris);
}

/* Contacto */

.formulario {
  margin-bottom: 20px;
  padding-top: 10px;
}

.formulario .datos {
  display: flex;
  gap: 2%;
}

.formulario input:not([type="checkbox"]),
.formulario textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 0;
  background: var(--gris);
  color: #777;
  font-size: 18px;
  line-height: normal;
}

.formulario textarea {
  display: block;
  height: 145px;
  resize: none;
}

.formulario .trampa {
  position: absolute;
  left: -10000px;
  width: 1px;
}

.condiciones {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  color: #888;
  font-size: 16px;
  line-height: 1.6;
}

.condiciones input {
  margin: 7px 0 0 5px;
}

.enviar {
  width: 100%;
  margin: 18px 0;
  padding: 9px 0;
  border: 0;
  background: var(--ocre);
  color: var(--gris);
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s linear;
}

.enviar:hover,
.enviar:focus {
  background: #212121;
}

.ideforms-error {
  color: #c00;
  font-weight: 700;
}

.ideforms-success {
  color: var(--ocre);
  font-weight: 700;
}

/* Enlaces de interés, sobre la franja verde */

.enlaces {
  padding: 40px 0 20px;
  background: var(--verde);
}

.enlaces .contenedor {
  display: flex;
  gap: 40px;
}

.enlaces .columna {
  flex: 1;
}

.enlaces h2 {
  margin-bottom: 6px;
  color: #000;
  font-size: var(--base);
}

.enlaces ul {
  margin: 0 0 20px 2px;
  padding: 0;
  list-style: none;
}

.enlaces li {
  padding: 4px 2px;
  border-bottom: 1px solid #ccc;
  font-size: var(--pequena);
  line-height: 1.3;
}

.enlaces a {
  color: #fff;
}

.enlaces a:hover,
.enlaces a:focus {
  color: #000;
}

/* El mapa de los Caminos, a todo lo ancho */

.mapa {
  background: #f1f1f1;
}

.mapa img {
  display: block;
  width: 100%;
}

/* Pie */

.pie {
  padding: 32px 0;
  background: #000;
  color: #ccc;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

.pie a {
  color: #fff;
}

.pie a:hover,
.pie a:focus,
.pie a[aria-current] {
  color: var(--ocre);
}

.redes {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.redes li {
  display: inline-block;
  width: 54px;
  height: 52px;
  margin: 0 8px;
}

.redes a {
  display: block;
  transition: color 0.3s ease-out;
}

.redes svg {
  display: block;
  width: auto;
  height: 50px;
  margin: 0 auto;
}

.menupie {
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.menupie li {
  display: inline-block;
  margin: 0 8px;
}

.menupie a {
  display: inline-block;
  padding: 6px 0;
}

.desarrolladopor {
  margin: 0 0 20px;
  line-height: 24px;
}

/* Pantallas grandes */
@media (min-width: 1200px) {
  .rotulo .nombre {
    font-size: 55px;
  }
}

@media (max-width: 1170px) {
  .contenedor,
  .franjalema p {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Tableta: cabecera pequeña, menú desplegable y la barra lateral debajo */
@media (max-width: 960px) {
  .contenedor,
  .franjalema p {
    padding-left: 15px;
    padding-right: 15px;
  }

  .cabecera .franja {
    height: 45px;
  }

  .menu {
    top: 45px;
  }

  .logo img {
    width: 123px;
    height: 140px;
    margin: 10px 0;
  }

  .rotulo {
    margin-top: 7px;
  }

  .rotulo .nombre,
  .cabecera.pequena .rotulo .nombre {
    font-size: 3vw;
    line-height: 32px;
  }

  .rotulo .lema {
    font-size: 0;
  }

  .botonmenu {
    display: block;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 5px 6px;
    color: #fff;
    cursor: pointer;
  }

  .botonmenu svg {
    display: block;
    width: 32px;
    height: 35px;
  }

  .vermenu:focus-visible + .botonmenu {
    outline: 2px solid var(--ocre);
  }

  .menu ul {
    display: none;
    position: absolute;
    top: 46px;
    left: 0;
    right: 0;
    padding: 10px 20px 20px;
    background: #000;
    box-shadow: 0 8px 8px -4px #000;
    /* A la derecha, bajo el botón, para no chocar con el logotipo que cuelga */
    text-align: right;
  }

  .vermenu:checked ~ ul {
    display: block;
  }

  .menu li,
  .menu li:last-child {
    padding: 0;
  }

  .conbarra {
    display: block;
  }

  .barra {
    margin-top: 20px;
    padding-left: 0;
  }

  .seccion {
    font-size: 28px;
  }

  .seccion.mayor {
    font-size: 36px;
  }

  .fichas {
    grid-template-columns: 100%;
  }
}

@media (max-width: 840px) {
  .contenedor,
  .franjalema p {
    padding-left: 20px;
    padding-right: 20px;
  }

  .formulario .datos {
    display: block;
  }
}

/* Móvil */
@media (max-width: 600px) {
  .seccion,
  .seccion.mayor {
    font-size: 28px;
  }

  .entrada h2 {
    font-size: 24px;
  }

  .caja {
    margin-bottom: 12px;
    padding: 10px;
    font-size: 14px;
  }

  .tarjetas,
  .ultimas .tarjetas {
    grid-template-columns: 100%;
  }

  .enlaces .contenedor {
    display: block;
  }

  .recuadro .icono {
    flex-basis: 80px;
  }
}

@media (max-width: 400px) {
  .rotulo .nombre,
  .cabecera.pequena .rotulo .nombre {
    font-size: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
