/*
Theme Name: Ekonomi Gerizan
Theme URI: https://fcavn.es
Description: Plantilla editorial para un observatorio de economía regional: cuadros de coyuntura, tablas legibles y rúbricas sectoriales del País Vasco y Navarra.
Author: Nerea Aguirre Mendizabal
Template: astra
Version: 0.1.0
Text Domain: coyunturanorte
Tags: wide-blocks, custom-menu, featured-images, translation-ready, blog
*/

@font-face {
  font-family: 'Andada Pro';
  font-style: italic;
  font-weight: 400 840;
  font-display: swap;
  src: url('assets/fonts/andada-pro-italic-400-840-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Andada Pro';
  font-style: italic;
  font-weight: 400 840;
  font-display: swap;
  src: url('assets/fonts/andada-pro-italic-400-840-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Andada Pro';
  font-style: normal;
  font-weight: 400 840;
  font-display: swap;
  src: url('assets/fonts/andada-pro-400-840-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Andada Pro';
  font-style: normal;
  font-weight: 400 840;
  font-display: swap;
  src: url('assets/fonts/andada-pro-400-840-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-italic-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-italic-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  
  --page-bg: #fbfbf8;
  --ground: #ffffff;
  --franja: #edf1ea;
  --type: #1a1d1b;
  --type-70: #4b524d;
  --type-40: #7b827d;
  --vif: #24452c;
  --vif-hover: #16301d;
  --oro: #b8893a;
  --oro-txt: #7d5c1c;
  --border-soft: rgba(26, 29, 27, 0.13);
  --stroke: rgba(26, 29, 27, 0.32);
  --regla: 2px solid var(--type);

  
  --face-a: "Andada Pro", Georgia, "Times New Roman", serif;
  --ff-base: "Andada Pro", Georgia, serif;
  --cifra: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  
  --tap: 44px;

  
  --gouttiere: clamp(16px, 4.5vw, 56px);
  --largeur: 1200px;
  --columna: 44rem;
}

:where(html) { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; box-sizing: border-box; }

:where(html) :where(*), :where(html) :where(*)::before, :where(html) :where(*)::after { box-sizing: inherit; }
body.cn {
  margin: 0;
  font-family: var(--ff-base);
}
:where(body.cn) :where(img, video, svg, iframe) { max-width: 100%; }
:where(body.cn) :where(img, video) { height: auto; }
:where(body.cn) :where(figure) { margin: 0; }
:where(body.cn) :where(input, textarea, select) { font: inherit; max-width: 100%; }
:where(body.cn) :where(textarea) { width: 100%; }
:where(body.cn) :where(table) { border-collapse: collapse; width: 100%; }
:where(body.cn) .screen-reader-text:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where(body.cn) .alignleft { float: left; margin: 0 1.5em 1em 0; }
:where(body.cn) .alignright { float: right; margin: 0 0 1em 1.5em; }
:where(body.cn) .aligncenter { display: block; margin-inline: auto; }
.cn-container {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}
.cn-main { min-height: 60vh; }

:where(.button, input[type="button"], input[type="submit"], input[type="reset"], button) {
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.cn-searchform {
  display: flex;
  align-items: stretch;
}
.cn-searchform__input {
  flex: 1;
  min-width: 0;
  min-height: var(--tap);
}
.cn-searchform__submit {
  min-width: var(--tap);
  padding: 0 1rem;
}
.cn-drawer__close,
.cn-search-overlay__close,
.cn-header__hamburger {
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cn-header__search {
  min-height: var(--tap);
  padding: 0 1rem;
}
:where(body.cn) .form-submit #submit {
  min-height: var(--tap);
  padding: 0 1rem;
}

.cn-header__nav > li {
  position: relative;
}
.cn-header__nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  margin: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
}
.cn-header__nav > li:hover > .sub-menu,
.cn-header__nav > li.cn-desplegado > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.cn-submenu-toggle {
  min-height: var(--tap);
}
.cn-drawer .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(body.cn) .cn-menu-label {
  cursor: default;
}

.cn-crumbs {
  display: flex;
  align-items: baseline;
  gap: .35em;
  min-width: 0;
  white-space: nowrap;
}
.cn-crumbs > * {
  flex: none;
}
.cn-crumbs > [aria-current] {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(body.cn) :where(h1, h2, h3, h4, h5, h6, a) { color: inherit; }
:where(body.cn) :where(a) { text-decoration-color: currentColor; }

body.cn {
  font-family: var(--ff-base);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}
.cn :where(a:hover) { color: var(--vif); }
.cn :focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }

.cn-header {
  background: var(--ground);
  border-bottom: 1px solid var(--type);
}
.cn-header__bar {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: .7rem var(--gouttiere);
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.cn-header__brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex: none;
}
.cn-header__sello { width: 58px; height: auto; display: block; }
.cn-header__wordmark {
  font-family: var(--face-a);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -.005em;
  color: var(--vif);
  line-height: 1;
}
.cn-header__nav-wrap { margin-left: auto; }
.cn-header__nav {
  display: flex;
  gap: .25rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--cifra);
  font-size: .95rem;
  font-weight: 500;
}
.cn-header__nav a {
  display: inline-block;
  padding: .55rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.cn-header__nav a:hover { border-bottom-color: var(--stroke); color: var(--type); }
.cn-header__nav .current-menu-item > a,
.cn-header__nav .current-menu-ancestor > a,
.cn-header__nav .current-post-ancestor > a { border-bottom-color: var(--oro); color: var(--vif); }
.cn-header__nav .sub-menu {
  background: var(--ground);
  border: 1px solid var(--type);
  padding: .4rem 1rem;
  min-width: 14rem;
}
.cn-header__search {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--cifra);
  font-size: .9rem;
  font-weight: 500;
  border: 1px solid var(--stroke);
  flex: none;
}
.cn-header__search:hover { border-color: var(--type); }
.cn-header__hamburger { display: none; flex-direction: column; gap: 5px; }
.cn-header__hamburger span { display: block; width: 22px; height: 2px; background: var(--type); }

.cn-search-overlay {
  display: none;
  position: relative;
  background: var(--franja);
  border-bottom: 1px solid var(--type);
}
body.cn-con-buscador .cn-search-overlay { display: block; }
.cn-search-overlay__inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.1rem var(--gouttiere);
  padding-right: calc(var(--gouttiere) + var(--tap));
}
.cn-search-overlay__close {
  position: absolute;
  top: 50%;
  right: var(--gouttiere);
  transform: translateY(-50%);
  font-size: 1.6rem;
}
.cn-searchform__input {
  border: 1px solid var(--type);
  border-right: 0;
  background: var(--ground);
  padding: 0 .9rem;
  font-family: var(--cifra);
  font-size: 1rem;
  border-radius: 0;
}
.cn-searchform__submit {
  background: var(--vif);
  color: #fff;
  font-family: var(--cifra);
  font-weight: 600;
}
.cn-searchform__submit:hover { background: var(--vif-hover); }

.cn-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 200;
  width: min(21rem, 86vw);
  background: var(--ground);
  border-right: 1px solid var(--type);
  padding: 1rem 1.4rem 2rem;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
  overflow-y: auto;
}
body.cn-con-menu .cn-drawer {
  transform: none;
  visibility: visible;
  transition: transform .25s ease;
  box-shadow: 0 0 0 100vmax rgba(26, 29, 27, .35);
}
.cn-drawer__close { font-size: 1.8rem; margin-left: -.6rem; }
.cn-drawer__nav {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: var(--regla);
  font-family: var(--cifra);
  font-weight: 500;
}
.cn-drawer__nav a {
  display: block;
  padding: .8rem 0;
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
}
.cn-drawer__nav .sub-menu a { padding-left: 1rem; font-weight: 400; }
@media (prefers-reduced-motion: reduce) {
  .cn-drawer, body.cn-con-menu .cn-drawer { transition: none; }
}

.cn-tabhead {
  border-top: var(--regla);
  border-bottom: 1px solid var(--type);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0 .55rem;
}
.cn-tabhead__title {
  margin: 0;
  font-family: var(--face-a);
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
}
.cn-tabhead__cols {
  margin: 0;
  display: flex;
  gap: 2.5rem;
  font-family: var(--cifra);
  font-size: .78rem;
  color: var(--type-70);
}

.cn-ficha {
  font-family: var(--cifra);
  font-variant-numeric: tabular-nums lining-nums;
  border-top: var(--regla);
  border-bottom: var(--regla);
}
.cn-ficha th,
.cn-ficha td {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  vertical-align: baseline;
}
.cn-ficha tr:last-child th,
.cn-ficha tr:last-child td { border-bottom: 0; }
.cn-ficha th { font-weight: 400; font-size: .85rem; color: var(--type-70); padding-right: 1.5rem; }
.cn-ficha td { font-weight: 600; font-size: .95rem; text-align: right; }

.cn-cabecera {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem);
  gap: 2rem 4rem;
  align-items: end;
  padding-top: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.cn-cabecera__title {
  margin: 0;
  font-family: var(--face-a);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.2;
  max-width: 24ch;
  color: var(--vif);
}

.cn-portadilla { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.cn-portadilla__kicker {
  margin: 0 0 .7rem;
  font-family: var(--cifra);
  font-size: .85rem;
  font-weight: 600;
  color: var(--oro-txt);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.cn-portadilla__kicker a { color: var(--vif); text-decoration: none; }
.cn-portadilla__kicker a:hover { text-decoration: underline; }
.cn-portadilla__title {
  margin: 0 0 1.4rem;
  font-family: var(--face-a);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.012em;
  max-width: 30ch;
  hyphens: manual;
  overflow-wrap: break-word;
}
.cn-portadilla__title a { text-decoration: none; }
.cn-portadilla__title a:hover { color: var(--vif); }
.cn-portadilla__img { display: block; border-bottom: 3px solid var(--oro); }
.cn-portadilla__img .cn-photo,
.cn-portadilla__img img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.cn-portadilla__pie {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 19rem);
  gap: 1rem 4rem;
  padding-top: 1.2rem;
}
.cn-portadilla__deck { margin: 0; font-size: 1.15rem; line-height: 1.55; max-width: 46rem; }
@media (max-width: 544px) {
  .cn-portadilla__deck { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; font-size: 1.05rem; }
}
.cn-portadilla__meta {
  margin: 0;
  font-family: var(--cifra);
  font-size: .9rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  color: var(--type-70);
}
.cn-portadilla__go {
  margin-top: .5rem;
  font-weight: 600;
  color: var(--vif);
  text-decoration-color: var(--oro);
  text-underline-offset: .25em;
}

.cn-sumario { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.cn-sumario > .cn-grupo:last-child { border-bottom: var(--regla); }
.cn-grupo {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 0 2.5rem;
  border-bottom: 1px solid var(--stroke);
}
.cn-grupo__stub { padding: 1.2rem 0; }
.cn-grupo__name {
  margin: 0;
  font-family: var(--cifra);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--vif);
}
.cn-grupo__name a { text-decoration: none; }
.cn-grupo__name a:hover { text-decoration: underline; text-decoration-color: var(--oro); }
.cn-grupo__count {
  margin: .3rem 0 0;
  font-family: var(--cifra);
  font-size: .82rem;
  color: var(--type-70);
  font-variant-numeric: tabular-nums;
}
.cn-grupo__rows,
.cn-otras__rows { list-style: none; margin: 0; padding: 0; }

.cn-fila + .cn-fila { border-top: 1px solid var(--border-soft); }
.cn-fila__link {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) 4.5rem;
  gap: 1.4rem;
  align-items: start;
  padding: 1.2rem 0;
  text-decoration: none;
}
.cn-fila__img,
.cn-fila__img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.cn-fila__txt { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.cn-fila__sec {
  font-family: var(--cifra);
  font-size: .8rem;
  font-weight: 600;
  color: var(--vif);
}
.cn-fila__title {
  font-family: var(--face-a);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.25;
}
.cn-fila__link:hover .cn-fila__title {
  color: var(--vif);
  text-decoration: underline;
  text-decoration-color: var(--oro);
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}
.cn-fila__deck { color: var(--type-70); font-size: .98rem; line-height: 1.5; }
.cn-fila__min {
  font-family: var(--cifra);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: .9rem;
  text-align: right;
  padding-top: .2rem;
  color: var(--type);
}

.cn-nota { background: var(--franja); }
.cn-nota__inner {
  display: grid;
  grid-template-columns: 7rem minmax(0, 44rem);
  gap: 2.5rem;
  align-items: start;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.cn-nota__sello { width: 100%; height: auto; }
.cn-nota__title {
  margin: 0 0 .7rem;
  font-family: var(--face-a);
  font-size: 1.5rem;
  line-height: 1.2;
}
.cn-nota__deck { margin: 0 0 1rem; }
.cn-nota__go {
  font-family: var(--cifra);
  font-weight: 600;
  font-size: .95rem;
  color: var(--vif);
  text-decoration-color: var(--oro);
  text-underline-offset: .25em;
}

.cn-analisis__head {
  max-width: calc(var(--columna) + 2 * var(--gouttiere));
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
}
.cn-crumbs {
  font-family: var(--cifra);
  font-size: .82rem;
  color: var(--type-70);
  margin-bottom: 1.6rem;
}
.cn-crumbs a { text-decoration: none; }
.cn-crumbs a:hover { text-decoration: underline; }
.cn-crumbs__sep { color: var(--type-40); }
.cn-analisis__sec {
  margin: 0 0 .6rem;
  font-family: var(--cifra);
  font-size: .88rem;
  font-weight: 600;
}
.cn-analisis__sec a { color: var(--vif); text-decoration-color: var(--oro); text-underline-offset: .25em; }
.cn-analisis__title {
  margin: 0 0 1rem;
  font-family: var(--face-a);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
}
.cn-analisis__deck { margin: 0 0 1.2rem; font-size: 1.2rem; line-height: 1.5; color: var(--type-70); }
.cn-ficha--tecnica { margin: 1.4rem 0 0; }
.cn-ficha--tecnica th,
.cn-ficha--tecnica td { text-align: left; padding-right: 1.2rem; }
.cn-ficha--tecnica thead th {
  font-size: .76rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--type);
}
.cn-ficha--tecnica tbody td { font-weight: 500; font-size: .9rem; border-bottom: 0; }
.cn-ficha--tecnica a { color: var(--vif); text-decoration-color: var(--oro); text-underline-offset: .2em; }

.cn-analisis__cover {
  max-width: calc(58rem + 2 * var(--gouttiere));
  margin: 2rem auto 0;
}
.cn-analisis__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 3px solid var(--oro);
}

.cn-texto {
  max-width: calc(var(--columna) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: 2.2rem var(--gouttiere) 1rem;
  font-size: 1.125rem;
  line-height: 1.72;
}
.cn-texto > * { margin-top: 0; margin-bottom: 1.15em; }
.cn-texto :where(h2) {
  font-family: var(--face-a);
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 2.4em 0 .7em;
  padding-top: .6em;
  border-top: 1px solid var(--type);
}
.cn-texto :where(h3) {
  font-family: var(--face-a);
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 1.8em 0 .5em;
}
.cn-texto :where(h4) { font-family: var(--cifra); font-size: 1rem; font-weight: 600; margin: 1.6em 0 .4em; }
.cn-texto :where(a) {
  color: var(--vif);
  text-decoration-color: var(--oro);
  text-underline-offset: .2em;
}
.cn-texto :where(a:hover) { text-decoration-thickness: 2px; }
.cn-texto :where(ul, ol) { padding-left: 1.3em; }
.cn-texto :where(li) { margin-bottom: .4em; }
.cn-texto :where(blockquote) {
  margin: 1.8em 0;
  padding: .2em 0 .2em 1.3em;
  border-left: 3px solid var(--oro);
  font-style: italic;
}
.cn-texto :where(img) { display: block; }
.cn-texto :where(figcaption) { font-family: var(--cifra); font-size: .82rem; color: var(--type-70); margin-top: .5em; }
.cn-texto :where(table) {
  font-family: var(--cifra);
  font-size: .9rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums lining-nums;
  border-top: var(--regla);
  border-bottom: var(--regla);
  margin: 1.8em 0;
}
.cn-texto :where(th, td) { padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--border-soft); text-align: left; vertical-align: top; }
.cn-texto :where(th) { font-weight: 400; }
.cn-texto :where(tbody th:first-child) { font-weight: 600; }
.cn-texto :where(thead th, tr:first-child th) { font-weight: 600; border-bottom: 1px solid var(--type); }
.cn-texto :where(.wp-block-table) { margin: 1.8em 0; overflow-x: auto; }
.cn-texto :where(.wp-block-table table) { margin: 0; }
.cn-texto :where(.wp-block-table figcaption) { margin-top: .6em; }

.cn-texto :where(ul:has(> li > .wsp-container)) { list-style: none; padding-left: 0; }
.cn-texto :where(.wsp-container ul) { padding-left: 1.1em; }

body.cn #ez-toc-container {
  width: 100%;
  margin: 0 0 2em;
  padding: .2rem 0 .9rem;
  background: none;
  border: 0;
  border-top: var(--regla);
  border-bottom: 1px solid var(--type);
  border-radius: 0;
  box-shadow: none;
}
body.cn #ez-toc-container .ez-toc-title-container {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
body.cn #ez-toc-container .ez-toc-title {
  font-family: var(--cifra);
  font-size: .95rem;
  font-weight: 600;
  color: var(--type);
  min-height: var(--tap);
  display: flex;
  align-items: center;
  flex: 1;
}
body.cn #ez-toc-container .ez-toc-title-toggle { flex: none; }
body.cn #ez-toc-container a.ez-toc-toggle {
  min-width: var(--tap);
  min-height: var(--tap);
  margin: 0;
  padding: 0 .5rem;
  justify-content: center;
  background: none;
  border: 1px solid var(--stroke);
  border-radius: 0;
  box-shadow: none;
  text-shadow: none;
}
body.cn #ez-toc-container .ez-toc-js-icon-con { position: static; width: auto; border: 0; left: auto; }
body.cn #ez-toc-container .ez-toc-btn:focus { outline: 0; }
body.cn #ez-toc-container .ez-toc-btn:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }
body.cn #ez-toc-container ul.ez-toc-list { margin-top: .4rem; }
body.cn #ez-toc-container li {
  font-family: var(--cifra);
  font-size: .95rem;
  line-height: 1.4;
}
body.cn #ez-toc-container ul.ez-toc-list a {
  display: inline-block;
  padding: .32rem 0;
  color: var(--type);
  text-decoration: none;
}
body.cn #ez-toc-container ul.ez-toc-list a:hover { color: var(--vif); text-decoration: underline; text-decoration-color: var(--oro); }

.cn-autoria {
  max-width: var(--columna);
  margin: 2rem auto 0;
  box-sizing: content-box;
  padding: 1.3rem var(--gouttiere) 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}
.cn-autoria::before {
  content: "";
  grid-column: 1 / -1;
  border-top: var(--regla);
  margin-top: -1.3rem;
}
.cn-autoria__avatar { border-radius: 0; display: block; }
.cn-autoria__txt p { margin: 0; }
.cn-autoria__name { font-family: var(--face-a); font-weight: 700; font-size: 1.15rem; }
.cn-autoria__name a { text-decoration: none; }
.cn-autoria__role { font-family: var(--cifra); font-size: .88rem; color: var(--type-70); margin-top: .2rem !important; }
.cn-autoria__bio { margin-top: .6rem !important; font-size: 1rem; }

.cn-otras {
  max-width: calc(58rem + 2 * var(--gouttiere));
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.cn-otras__rows { border-bottom: var(--regla); }

.cn-listado__wrap {
  max-width: calc(58rem + 2 * var(--gouttiere));
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.cn-listado__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
  gap: 1.4rem 3rem;
  align-items: start;
  padding-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.cn-listado__id { min-width: 0; }
.cn-listado__kick {
  margin: 0 0 .5rem;
  font-family: var(--cifra);
  font-size: .88rem;
  font-weight: 600;
  color: var(--vif);
}
.cn-listado__title {
  margin: 0;
  font-family: var(--face-a);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.cn-listado__desc { margin-top: .9rem; max-width: 40rem; font-size: 1.1rem; line-height: 1.55; color: var(--type-70); }
.cn-listado__desc p { margin: 0 0 .6em; }
.cn-listado__desc p:last-child { margin-bottom: 0; }
.cn-listado__ficha { width: 100%; margin-top: 1.9rem; }
.cn-listado__buscar { grid-column: 1 / -1; max-width: 36rem; }
.cn-listado__rows { list-style: none; margin: 0; padding: 0; border-bottom: var(--regla); }
.cn-listado__vacio { max-width: 40rem; margin: 0 0 1rem; font-size: 1.1rem; }
.cn-listado__vacio p { margin: 0; }
.cn-listado__volver { margin: 2rem 0 0; font-family: var(--cifra); font-weight: 600; }
.cn-listado__volver a { color: var(--vif); text-decoration-color: var(--oro); text-underline-offset: .25em; }

.cn-pager {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: 1.6rem;
  font-family: var(--cifra);
  font-variant-numeric: tabular-nums;
}
.cn-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 .6rem;
  border: 1px solid var(--stroke);
  font-weight: 600;
  text-decoration: none;
}
.cn-pager a.page-numbers:hover { border-color: var(--type); color: var(--vif); }
.cn-pager .current { background: var(--vif); border-color: var(--vif); color: #fff; }
.cn-pager .dots { border-color: transparent; }

.cn-indice { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.cn-listado__head + .cn-indice { margin-top: 0; }
.cn-indice__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  border-bottom: var(--regla);
}
.cn-indice__rows > li { border-top: 1px solid var(--border-soft); }
.cn-indice__rows > li:nth-child(-n+2) { border-top: 0; }
.cn-indice__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--tap);
  padding: .8rem 0;
  text-decoration: none;
}
.cn-indice__name { font-family: var(--face-a); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.cn-indice__link:hover .cn-indice__name {
  color: var(--vif);
  text-decoration: underline;
  text-decoration-color: var(--oro);
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}
.cn-indice__count {
  flex: none;
  font-family: var(--cifra);
  font-size: .85rem;
  color: var(--type-70);
  font-variant-numeric: tabular-nums;
}

.cn-pagina__head {
  max-width: calc(var(--columna) + 2 * var(--gouttiere));
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
}
.cn-pagina__title {
  margin: 0 0 1rem;
  font-family: var(--face-a);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.cn-pagina__rev {
  margin: 0;
  padding-top: .6rem;
  border-top: var(--regla);
  font-family: var(--cifra);
  font-size: .85rem;
  color: var(--type-70);
}
.cn-pagina__body { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

.cn-contacto .cn-pagina__head { max-width: calc(58rem + 2 * var(--gouttiere)); }
.cn-contacto__body {
  max-width: calc(58rem + 2 * var(--gouttiere));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 1.5rem 3.5rem;
  align-items: start;
  padding-top: .4rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.cn-contacto__texto.cn-texto { max-width: none; margin: 0; padding: .9rem 0 0; border-top: var(--regla); }
.cn-contacto__form { padding-top: 1.4rem; border-top: var(--regla); }

.cn-footer {
  background: var(--franja);
  border-top: 3px solid var(--oro);
  font-family: var(--cifra);
  font-size: .92rem;
}
.cn-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem 4rem;
  padding-top: 2.6rem;
  padding-bottom: 2rem;
}
.cn-footer__sello { width: 64px; height: auto; display: block; margin-bottom: .8rem; }
.cn-footer__name { margin: 0; font-family: var(--face-a); font-weight: 700; font-size: 1.3rem; color: var(--vif); }
.cn-footer__line { margin: .3rem 0 0; color: var(--type-70); max-width: 30ch; }
.cn-footer__head { margin: 0 0 .6rem; font-weight: 600; padding-bottom: .4rem; border-bottom: 1px solid var(--type); }
.cn-footer__secciones ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}
.cn-footer__secciones li { break-inside: avoid; }
.cn-footer__secciones a { display: block; padding: .38rem 0; text-decoration: none; }
.cn-footer__secciones a:hover,
.cn-footer__nav a:hover { text-decoration: underline; text-decoration-color: var(--oro); color: var(--vif); }
.cn-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 2rem;
  padding-top: .9rem;
  padding-bottom: 1.4rem;
  border-top: 1px solid var(--stroke);
  color: var(--type-70);
}
.cn-footer__nav { display: flex; flex-wrap: wrap; gap: 0 1.4rem; list-style: none; margin: 0; padding: 0; }
.cn-footer__nav a { display: inline-block; padding: .45rem 0; text-decoration: none; }
.cn-footer__copyright { margin: 0; }

@media (max-width: 1080px) {
  .cn-header__nav-wrap { display: none; }
  .cn-header__hamburger { display: inline-flex; margin-left: -.6rem; }
  .cn-header__search { margin-left: auto; }
}
@media (max-width: 921px) {
  .cn-cabecera { grid-template-columns: 1fr; align-items: start; }
  .cn-cabecera__title { max-width: none; }
  .cn-portadilla__pie { grid-template-columns: 1fr; }
  .cn-portadilla__img .cn-photo,
  .cn-portadilla__img img { aspect-ratio: 16 / 9; }
  .cn-grupo { grid-template-columns: 1fr; }
  .cn-grupo__stub { padding: 1.1rem 0 0; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .cn-grupo__count { margin: 0; flex: none; }
  .cn-tabhead__cols { display: none; }
  .cn-footer__inner { grid-template-columns: 1fr; }
  .cn-listado__head { grid-template-columns: 1fr; align-items: start; }
  .cn-listado__ficha { max-width: 24rem; margin-top: 0; }
  .cn-contacto__body { grid-template-columns: 1fr; }
}
@media (max-width: 544px) {
  .cn-header__bar { gap: .6rem; padding-top: .5rem; padding-bottom: .5rem; }
  .cn-header__sello { width: 44px; }
  .cn-header__wordmark { font-size: 1.15rem; }
  .cn-header__search { padding: 0; width: var(--tap); justify-content: center; }
  .cn-header__search-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cn-fila__link { grid-template-columns: 5.5rem minmax(0, 1fr); gap: .9rem; }
  .cn-fila__min { grid-column: 2; text-align: left; padding-top: 0; font-size: .82rem; color: var(--type-70); margin-top: -.6rem; }
  .cn-fila__title { font-size: 1.08rem; }
  .cn-fila__deck { display: none; }
  .cn-nota__inner { grid-template-columns: 1fr; gap: 1rem; }
  .cn-nota__sello { width: 5rem; }
  .cn-ficha--tecnica th, .cn-ficha--tecnica td { padding-right: .7rem; }
  .cn-texto { font-size: 1.0625rem; }
  .cn-texto :where(table) { display: block; overflow-x: auto; }
  .cn-footer__secciones ul { columns: 1; }
  .cn-indice__rows { grid-template-columns: 1fr; }
  .cn-indice__rows > li:nth-child(2) { border-top: 1px solid var(--border-soft); }
  .cn-listado__ficha { max-width: none; }
}

body.cn {
  background: var(--page-bg) !important;
  color: var(--type) !important;
}

body.cn .site-main,
body.cn #primary,
body.cn .entry-content,
body.cn .ast-article-single,
body.cn .site-content,
body.cn #content,
body.cn #page,
body.cn .ast-container,
body.cn .site-main > article,
body.cn .content-area,
body.cn .ast-article-post {
  width: 100% !important;
  margin: 0 !important;
  display: block !important;
  max-width: 100% !important;
  background: transparent !important;
  float: none !important;
  padding: 0 !important;
}

body.cn #ast-mobile-header,
body.cn .ast-archive-title-wrap,
body.cn .ast-secondary-header-bar,
body.cn #ast-desktop-header,
body.cn .ast-footer-copyright,
body.cn .ast-small-footer,
body.cn #masthead,
body.cn .ast-header-breadcrumb {
  height: 0 !important;
  border: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  display: none !important;
}

body.cn #colophon,
body.cn .site-header,
body.cn .entry-banner,
body.cn .main-header-bar,
body.cn .ast-page-title-bar,
body.cn .ast-above-header-wrap,
body.cn .ast-page-header,
body.cn .main-header-bar-wrap,
body.cn .ast-main-header-wrap,
body.cn .ast-breadcrumbs-wrapper,
body.cn .ast-below-header-wrap,
body.cn .site-below-footer-wrap,
body.cn .footer-widget-area,
body.cn .ast-footer-overlay,
body.cn .site-footer,
body.cn .ast-mobile-header-wrap,
body.cn .ast-above-footer,
body.cn .ast-primary-header-bar,
body.cn .ast-breadcrumbs-inner,
body.cn .ast-below-footer {
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  border: none !important;
  overflow: hidden !important;
  display: none !important;
}

body.cn.home .entry-header,
body.cn.home .ast-archive-description {
  display: none !important;
}

:where(body.cn) :where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], textarea) {
  background: transparent;
  color: var(--type);
  border: 1px solid var(--stroke);
}

body.cn #ast-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: var(--tap);
  height: var(--tap);
  background: var(--type);
  color: var(--ground);
  cursor: pointer;
}
body.cn #ast-scroll-top .ast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
body.cn #ast-scroll-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(180deg);
}

body.cn.admin-bar .cn-header { top: 32px; }
@media (max-width: 782px) {
  body.cn.admin-bar .cn-header { top: 46px; }
}

.cn .wpcf7-form p { margin: 0 0 1.1rem; font-family: var(--cifra); font-size: .9rem; font-weight: 600; }
.cn .wpcf7-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea) {
  display: block;
  width: 100%;
  margin-top: .35rem;
  min-height: var(--tap);
  padding: .6rem .75rem;
  background: var(--ground);
  border: 1px solid var(--stroke);
  border-radius: 0;
  font-family: var(--ff-base);
  font-size: 1rem;
  font-weight: 400;
  color: var(--type);
}
.cn .wpcf7-form textarea { min-height: 9rem; resize: vertical; }
.cn .wpcf7-form :where(input, textarea):focus { border-color: var(--vif); outline: 2px solid var(--oro); outline-offset: 1px; }
.cn .wpcf7-form input[type="submit"] {
  min-height: var(--tap);
  padding: 0 1.4rem;
  background: var(--vif);
  color: #fff;
  border: 0;
  border-radius: 0;
  font-family: var(--cifra);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.cn .wpcf7-form input[type="submit"]:hover { background: var(--vif-hover); }
.cn .wpcf7-not-valid-tip { font-weight: 400; font-size: .85rem; color: #a3261d; margin-top: .3rem; }
.cn .wpcf7-response-output { margin: 1rem 0 0; padding: .7rem .9rem; border: 1px solid var(--stroke); font-family: var(--cifra); font-size: .9rem; }
