@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --ink: #15202b;
  --muted: #4c5f70;
  --line: #d9d2c7;
  --brand: #2a4a73;
  --brand-strong: #001c4c;
  --accent: #001c4c;
  --white: #ffffff;
  --select-bg: #ffffff;
  --select-line: #ebe7de;
  --lv-blue: #001c4c;
  --lv-strip: #ffffff;
  --lv-strip-text: #001c4c;
  --button-bg: #e7ebef;
  --button-bg-hover: #d9e0e7;
  --button-bg-active: #ccd5dd;
  --scrollbar-track: #eef2f8;
  --scrollbar-thumb: #bdc8d6;
  --scrollbar-thumb-hover: #98a8bb;
  --radius: 0;
  --shadow: 0 12px 35px rgba(21, 32, 43, 0.1);
  --page-width: 1280px;
  --content-max-width: 980px;
  --page-gutter: 24px;
  --sidebar-width: 320px;
  --sticky-footer-mobile: 100px;
  --sticky-footer-desktop: 90px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scrollbar-gutter: stable;
}

body {
  min-height: 100vh;
  font-family: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--white);
  padding-bottom: calc(var(--sticky-footer-mobile) + 24px);
}

.lv-header {
  width: 100%;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

.lv-topbar {
  min-height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lv-blue);
  padding: 0 0.8rem;
}

.lv-logo-link {
  display: inline-flex;
  width: min(230px, 62vw);
  line-height: 0;
}

.lv-logo {
  display: block;
  width: 100%;
  height: auto;
}

.lv-section-strip {
  min-height: 60px;
  margin-top: 0;
  padding: 6px var(--page-gutter) 8px;
  background: #eaede2;
  text-align: center;
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lv-section-strip h1,
.lv-section-strip p {
  width: 100%;
  max-width: calc(100vw - (var(--page-gutter) * 2));
  margin: 0 auto;
  padding: 0;
  color: #001c4c;
  font-family: "Source Serif 4", Fallback Title, serif;
  font-optical-sizing: auto;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
  text-align: center;
  text-wrap: balance;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.site-header.lv-header {
  position: relative;
  width: 100%;
  color: #fff;
  background-color: #001c4c;
  box-shadow: none;
  font-family: "Roboto", sans-serif;
}

.site-header.lv-header .inside-header.grid-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 990px;
  min-height: 67px;
  margin: 0 auto;
  padding: 20px 40px;
}

.site-header.lv-header .site-branding {
  flex: 1 1 auto;
  min-width: 0;
}

.site-header.lv-header .main-title {
  margin: 0;
  font-size: 15px;
  line-height: 18px;
  font-weight: 400;
  text-transform: uppercase;
}

.site-header.lv-header .main-title a {
  display: block;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
  font: inherit;
  line-height: inherit;
}

.site-header.lv-header .header-widget {
  flex: 0 0 auto;
  margin-left: 16px;
}

.site-header.lv-header .widget {
  padding: 0;
}

.site-header.lv-header #lavanguardia {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.site-header.lv-header .logo {
  display: block;
  width: 135px;
  max-width: 135px;
  height: auto;
}

.page {
  width: min(var(--page-width), calc(100vw - (var(--page-gutter) * 2)));
  margin: 2.2rem auto 3rem;
  display: grid;
  gap: 1rem;
}

h1,
h2 {
  font-family: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(1.8rem, 3.9vw, 2.75rem);
  max-width: none;
  font-weight: 700;
}

h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 700;
}

.page-context h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
}

.page-context p {
  margin: 0;
  color: var(--muted);
}

.page-context {
  display: none !important;
}

.quick-home {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
}

.quick-home a {
  color: var(--brand-strong);
  text-decoration: none;
}

.quick-home a:hover {
  text-decoration: underline;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(21, 32, 43, 0.04);
  backdrop-filter: blur(2px);
}

.launi-news-feed {
  width: 100%;
  max-width: min(100%, var(--content-max-width));
  margin-inline: auto;
  display: grid;
  gap: 1.2rem;
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
  border-color: #ccd8e5;
}

.launi-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.launi-news-kicker {
  margin: 0 0 0.25rem;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launi-news-title {
  margin: 0;
  color: var(--brand-strong);
}

.launi-news-summary {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.launi-news-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border: 1px solid #cad6e4;
  color: var(--brand-strong);
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.launi-news-more:hover {
  background: #eef4fa;
}

.launi-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.launi-news-card {
  min-width: 0;
}

.launi-news-link {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  border: 1px solid #d7e1ea;
  background: #fff;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.launi-news-link:hover .launi-news-card-title {
  text-decoration: underline;
}

.launi-news-image-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  background: #d9e2ea;
}

.launi-news-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.launi-news-copy {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem;
}

.launi-news-meta {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
}

.launi-news-card-title {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 700;
}

.main-container {
  gap: 1.5rem;
}

.search-layout {
  width: 100%;
  max-width: min(100%, var(--content-max-width));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 5;
  overflow: visible;
  background: #dbe8f1;
  border-color: #c7d6e3;
}

.filters-area {
  display: grid;
  gap: 0.9rem;
  position: relative;
  overflow: visible;
}

.seo-ad-layout {
  width: 100%;
  max-width: min(100%, var(--content-max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  gap: 1.5rem;
  align-items: start;
}

.seo-sidebar-column {
  min-width: 0;
}

.seo-module {
  box-shadow: none;
}

.content-grid {
  width: 100%;
  max-width: min(100%, var(--content-max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  gap: 1.5rem;
  align-items: start;
}

.results-column {
  min-width: 0;
  display: grid;
  gap: 0.85rem;
}

.sidebar-column {
  min-width: 0;
}

.ad-slot {
  display: block;
  width: 100%;
  text-align: center;
  margin: 32px auto;
  position: relative;
  overflow: hidden;
  border: 1px solid #dad1c5;
  background: var(--white);
}

.ad-slot:empty::before {
  content: "Publicidad";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #738397;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ad-billboard {
  width: min(100%, var(--content-max-width));
  min-height: 250px;
  overflow: visible;
}

.ad-rectangle {
  min-height: 250px;
}

.ad-incontent {
  min-height: 250px;
}

.ad-sidebar {
  position: sticky;
  top: 80px;
  width: min(100%, 336px);
  margin-top: 0;
}

.ad-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  min-height: var(--sticky-footer-mobile);
  margin: 0;
  padding: 0.35rem 1rem;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.9rem;
}

.filter-group-title {
  flex: 1 1 100%;
  margin: 0 0 -0.45rem;
  color: #536e9d;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.filters-home-layout .filter-group-title {
  margin-top: 0.7rem;
  margin-bottom: -0.15rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe3ec;
}

.filter-group-title--province {
  margin-top: 0.15rem;
  margin-bottom: -0.7rem;
}

.search-headline {
  width: calc(100% + 2rem);
  max-width: none;
  margin: -1rem -1rem 1.1rem;
  padding: 1.15rem 1.5rem 1.3rem;
  border-bottom: 0;
  background: var(--brand-strong);
  color: #f6f1e7;
  box-shadow: none;
  text-align: center;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  line-height: 1.15;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

.search-headline-break {
  display: block;
}

.home-page .search-headline {
  margin-bottom: 1.45rem;
}

.home-page .panel {
  border: 0;
}

.home-page label {
  border: 1px solid var(--select-line);
}

.home-page #goHome {
  display: none;
}

.home-page .province-secondary,
.filters-home-layout .province-secondary {
  flex: 1 1 100%;
  max-width: none;
  position: relative;
  overflow: visible;
  margin-top: 0.45rem;
  border-color: #dfe4eb;
  background: var(--white);
  opacity: 1;
  box-shadow: none !important;
}

.home-page .province-secondary::before,
.filters-home-layout .province-secondary::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.6rem;
  height: 1px;
  background: #e5e7eb;
}

.home-page .province-secondary > select,
.filters-home-layout .province-secondary > select {
  box-shadow: none !important;
}

.home-page label:not(.province-secondary) > select,
.filters-home-layout label:not(.province-secondary) > select {
  min-height: 3.3rem;
  padding-top: 0.92rem;
  padding-bottom: 0.92rem;
}

.home-page .province-secondary > select,
.filters-home-layout .province-secondary > select {
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  padding-top: 0.66rem;
  padding-bottom: 0.66rem;
}

.home-page .province-secondary.has-selection > select,
.filters-home-layout .province-secondary.has-selection > select {
  color: var(--ink);
}

.home-page .table-wrap {
  border-top: 0;
  border-bottom: 0;
}

.filter-context-page .table-wrap {
  border-top: 0;
  border-bottom: 0;
}

.filter-context-page .results-panel {
  border: 0;
  background: transparent;
  padding: 0;
}

.filter-context-page .content-grid {
  grid-template-columns: minmax(0, 1fr);
}

.filter-context-page .sidebar-column {
  display: none;
}

.filters-home-layout label:not(.province-secondary) {
  flex: 1 1 320px;
  max-width: none;
}

label {
  display: block;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--select-line);
  border-radius: 0 !important;
  background: var(--select-bg);
}

.search-slot {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
}

.filters.has-term-search {
  align-items: flex-end;
}

.term-search-row {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  flex: 1 1 100%;
  width: 100%;
}

.term-search-field {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 0;
  min-width: 0;
  max-width: none;
  order: 1;
  overflow: visible;
  min-height: 4.1rem;
  padding: 0 2.8rem 0 0.95rem;
}

.filters-home-layout .term-search-field {
  flex: 1 1 auto;
}

.term-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: 1.25;
}

.term-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.term-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.term-search-input::placeholder {
  color: #6c7f92;
}

.term-search-input:focus {
  outline: none;
}

.term-search-clear {
  position: absolute;
  top: 50%;
  right: 0.95rem;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c4ccd5;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  transform: translateY(-50%);
  cursor: pointer;
}

.term-search-clear:hover,
.term-search-clear:focus-visible {
  background: transparent;
  color: #b0bac5;
}

.term-search-suggestions {
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% + 0.42rem);
  z-index: 25;
  display: grid;
  border: 1px solid #d8e0e8;
  background: var(--white);
  box-shadow: var(--shadow);
}

.term-search-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.74rem 0.9rem;
  border-bottom: 1px solid #edf1f5;
  background: var(--white);
  text-align: left;
}

.term-search-option:last-child {
  border-bottom: 0;
}

.term-search-option:hover,
.term-search-option:focus-visible {
  background: #edf3f8;
}

.term-search-option-text {
  font-weight: 600;
}

.term-search-option-kind {
  color: var(--muted);
  font-size: 0.77rem;
  white-space: nowrap;
}

.term-search-submit {
  order: 2;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 0;
}

.filters-home-layout .selection-search-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.85rem;
  flex: 1 1 100%;
  width: 100%;
  margin-top: 0.2rem;
}

.filters-home-layout .selection-search-row > label {
  flex: 1 1 calc((100% - 1.7rem) / 3);
  min-width: 15rem;
  max-width: none;
}

.filters-home-layout .selection-search-row .search-slot {
  flex: 1 1 100%;
  align-items: stretch;
  justify-content: flex-end;
  width: 100%;
}

.filters-home-layout .selection-search-row .button-search {
  width: 100%;
}

.filters-home-layout .selection-search-row .province-primary,
.filters-home-layout .selection-search-row .province-secondary {
  margin-top: 0;
  border-color: var(--select-line);
  background: var(--select-bg);
}

.filters-home-layout .selection-search-row .province-secondary::before {
  content: none;
}

.filters-home-layout .selection-search-row > label > select,
.filters-home-layout .selection-search-row .province-secondary > select {
  min-height: 3.3rem;
  padding-top: 0.92rem;
  padding-bottom: 0.92rem;
  color: var(--muted);
  font-size: 1rem;
}

.filters-home-layout .selection-search-row > label.has-selection > select {
  color: var(--ink);
}

select,
button,
.button-link {
  border-radius: 0 !important;
  color: var(--ink);
  font: inherit;
  padding: 0.56rem 0.62rem;
}

label > select {
  display: block;
  width: 100%;
  border: 0 !important;
  background-color: transparent;
  box-shadow: none;
  font-weight: 400;
}

label.has-selection > select {
  font-weight: 400;
}

.term-search-field.has-selection .term-search-input {
  font-weight: inherit;
}

select {
  background: transparent;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25L6 6.25L11 1.25' fill='none' stroke='%23001c4c' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.58rem center;
  background-size: 12px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

select:focus,
select:active {
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}

select:focus-visible {
  outline: none;
}

label:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

select::-ms-expand {
  display: none;
}

select::-webkit-scrollbar {
  width: 10px;
}

select::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

select::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border: 2px solid var(--scrollbar-track);
  border-radius: 999px;
}

select::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

button,
.button-link {
  border: 0;
  background: var(--button-bg);
  cursor: pointer;
  transition: background-color 0.16s ease;
}

button:hover,
.button-link:hover {
  background: var(--button-bg-hover);
}

button:active,
.button-link:active {
  background: var(--button-bg-active);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.button-search {
  width: auto;
  min-width: 9.25rem;
  min-height: 3.3rem;
  padding-inline: 1.35rem;
  padding-block: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--brand-strong);
  color: var(--white);
  white-space: nowrap;
}

.button-search:hover {
  background: #0d2a56;
}

.button-search:active {
  background: #092043;
}

.button-search:disabled,
.button-search:disabled:hover,
.button-search:disabled:active {
  background: var(--brand-strong);
  color: var(--white);
  cursor: default;
  opacity: 1;
}

.toolbar {
  margin-top: 0.6rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.summary {
  margin: 0;
  font-weight: 400;
  text-align: left;
  font-size: calc(1rem - 2px);
}

.results-intro {
  margin: 0 0 0.85rem;
  display: block;
  width: 100%;
  max-width: none;
  color: var(--ink);
  font-size: calc(1rem + 4px);
  line-height: 1.35;
  font-weight: 400;
  text-align: left;
}

.results-intro-emphasis {
  font-weight: 500;
}

.results-title {
  margin: 0 0 0.35rem;
  font-size: calc(1rem + 1px);
  line-height: 1.25;
  font-weight: 700;
  text-align: left;
}

.buttons {
  display: flex;
  gap: 0.5rem;
}

.filter-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex: 0 0 auto;
  min-height: 2.2rem;
}

#filterActions.hidden {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
}

.home-shortcut {
  margin-top: 0.7rem;
}

.button-slim {
  padding-inline: 0.6rem;
  min-width: 122px;
  width: 122px;
  font-size: 0.84rem;
  line-height: 1.05;
  padding-block: 0.45rem;
}

.table-wrap {
  margin-top: 0.75rem;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: auto;
  background: var(--white);
}

.results-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.results-table th,
.results-table td {
  padding: 0.64rem 0.65rem;
  text-align: left;
  vertical-align: top;
  border: 0;
}

.results-table td {
  font-size: 0.95rem;
}

.results-table th {
  background: var(--white);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.15;
}

.results-table th:last-child,
.results-table td:last-child {
  background: var(--white);
}

.results-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.results-table .ad-row td {
  padding: 1rem;
  background: var(--white);
}

.results-table .ad-row td:last-child,
.results-table .ad-row:hover td,
.results-table .ad-row:hover td:last-child {
  background: var(--white);
}

.results-table .ad-row .ad-incontent {
  margin: 0 auto;
}

.results-table tr:hover td {
  background: var(--white);
}

.results-table tr:hover td:last-child {
  background: var(--white);
}

.results-table a {
  color: var(--brand-strong);
  text-decoration: none;
}

.results-table tbody td:nth-child(1) a,
.results-table tbody td:nth-child(2) a {
  font-weight: 600;
}

.results-table a:hover {
  text-decoration: underline;
}

.results-table .centro-cell {
  min-width: 240px;
}

.centro-main {
  display: block;
  font-weight: 300;
  line-height: 1.25;
}

.centro-city {
  display: block;
  margin-top: 0.16rem;
  font-size: 0.84rem;
  line-height: 1.2;
  color: var(--muted);
}

.nota-pill {
  display: inline;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nota-pill.is-pending {
  color: var(--brand-strong);
  font-weight: 600;
  white-space: nowrap;
}

.results-table tbody td:nth-child(6) .nota-pill {
  font-weight: 400;
}

.empty {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.pager {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  font-family: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pager-top {
  margin: 0;
}

.pager-bottom {
  margin-top: 0.85rem;
}

.results-disclaimer {
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.pager-nav {
  min-width: auto;
  width: auto;
  padding: 0;
  background: transparent;
  color: var(--brand-strong);
  font-size: 2rem;
  line-height: 1;
}

.pager-nav:hover {
  background: transparent;
  color: var(--brand);
}

.pager-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

#pageInfo,
#pageInfoTop {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.pager-number {
  min-width: auto;
  width: auto;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}

.pager-number:hover {
  background: transparent;
  color: var(--brand-strong);
}

.pager-number.is-active {
  color: var(--brand-strong);
  font-weight: 700;
}

.pager-number:disabled {
  cursor: default;
}

.meta-line {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.seo-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0.9rem;
}

.filter-context-page .seo-grid {
  width: 100%;
  max-width: min(100%, var(--content-max-width));
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #c7dceb;
}

.seo-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.seo-card-head h2,
.seo-card-head h3 {
  margin: 0;
}

.home-page .seo-card-head h2,
.home-page .seo-card-head h3 {
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.seo-see-all {
  padding: 0.16rem 0.5rem;
  border: 1px solid #dfe5ec;
  background: var(--white);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.76rem;
  line-height: 1.15;
  white-space: nowrap;
}

.seo-see-all:hover {
  color: var(--brand-strong);
  border-color: #cfd8e2;
}

.seo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.94rem;
}

.seo-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: baseline;
  padding: 0.36rem 0;
}

.seo-module.is-collapsible:not(.is-expanded) .seo-list li:nth-child(n + 11) {
  display: none;
}

.seo-list li span {
  color: var(--muted);
  font-size: 0.88rem;
}

.seo-list a {
  color: var(--brand-strong);
}

.seo-toggle {
  display: none;
  margin-top: 0.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #98a8bb;
  font-size: 0.82rem;
  line-height: 1.15;
}

.seo-toggle:hover,
.seo-toggle:active {
  background: transparent;
  color: #7f90a4;
}

.seo-module.is-collapsible .seo-toggle {
  display: inline;
}

.results-panel {
  width: 100%;
  max-width: min(100%, var(--content-max-width));
  margin-inline: auto;
  box-shadow: none;
}

.faq {
  margin: 0;
}

.faq dt {
  font-weight: 700;
  margin-top: 0.66rem;
}

.faq dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.results-column .toolbar,
.results-column .table-wrap,
.results-column .pager-bottom,
.results-column .empty {
  margin-top: 0;
}

@media (min-width: 901px) {
  body {
    padding-bottom: 24px;
  }

  .ad-sticky {
    display: none;
  }

  .results-table {
    table-layout: fixed;
  }

  .content-grid .results-table {
    min-width: 0;
  }

  .results-table th,
  .results-table td {
    overflow-wrap: anywhere;
  }

  .results-table th:nth-child(1),
  .results-table td:nth-child(1) {
    width: 28%;
  }

  .results-table th:nth-child(2),
  .results-table td:nth-child(2) {
    width: 17%;
  }

  .results-table th:nth-child(3),
  .results-table td:nth-child(3) {
    width: 23%;
  }

  .results-table th:nth-child(4),
  .results-table td:nth-child(4) {
    width: 12%;
  }

  .results-table th:nth-child(5),
  .results-table td:nth-child(5) {
    width: 10%;
    overflow-wrap: normal;
  }

  .results-table th:nth-child(6),
  .results-table td:nth-child(6) {
    width: 10%;
    overflow-wrap: normal;
  }
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .seo-ad-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar-column {
    order: 2;
  }

  .seo-sidebar-column {
    order: 2;
  }

  .ad-sidebar {
    position: static;
    top: auto;
    width: min(100%, 336px);
  }
}

@media (max-width: 960px) {
  .page {
    width: 95vw;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    gap: 0.85rem;
  }

  .term-search-row {
    flex-direction: column;
  }

  .filters-home-layout .selection-search-row {
    flex-direction: column;
  }

  .filters-home-layout .term-search-field {
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
    height: auto !important;
  }

  label {
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
  }

  .search-slot {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .filter-end {
    justify-content: flex-start;
    width: 100%;
    margin-left: 0;
  }

  .toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .lv-topbar {
    min-height: 39px;
  }

  .lv-logo-link {
    width: min(205px, 70vw);
  }

  .lv-section-strip h1,
  .lv-section-strip p {
    font-size: 26px;
  }

  .ad-billboard {
    min-height: 250px;
  }
}

@media (max-width: 720px) {
  .site-header.lv-header .inside-header.grid-container {
    padding: 20px 15px;
  }

  .site-header.lv-header .main-title {
    font-size: 12px;
    line-height: 1.15;
  }

  .site-header.lv-header .header-widget {
    margin-left: 12px;
  }

  .lv-section-strip {
    min-height: 0;
    padding: 8px 14px 10px;
  }

  .lv-section-strip h1,
  .lv-section-strip p {
    font-size: clamp(1.15rem, 5.4vw, 1.45rem);
    line-height: 1.14;
  }

  #ad-top-billboard {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
  }

  #ad-top-billboard::before {
    content: none !important;
    display: none !important;
  }

  .search-layout,
  .results-panel,
  .seo-module,
  .seo-sidebar-column .ad-slot {
    padding: 0.9rem;
  }

  .search-headline,
  .results-title {
    text-align: left;
  }

  .search-headline {
    width: calc(100% + 1.8rem);
    margin: -0.9rem -0.9rem 1.1rem;
    padding-inline: 1rem;
  }

  .search-slot,
  .button-search {
    width: 100%;
  }

  .term-search-field {
    order: 1;
    min-height: 3.9rem;
    padding: 0 2.55rem 0 0.78rem;
  }

  .term-search-submit {
    order: 2;
    width: 100%;
  }

  .button-search,
  .button-slim {
    min-height: 44px;
  }

  .seo-see-all {
    min-height: 34px;
    padding: 0.2rem 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    align-self: flex-start;
  }

  .button-slim {
    width: auto;
    min-width: 0;
  }

  .toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .pager {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  #pageInfo,
  #pageInfoTop {
    gap: 0.65rem;
    flex-wrap: wrap;
  }

  .seo-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .launi-news-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .launi-news-grid {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    overflow: visible;
    border-top: 0;
    border-bottom: 0;
    background: transparent;
  }

  .results-table,
  .results-table tbody,
  .results-table tr,
  .results-table td {
    display: block;
    width: 100%;
  }

  .results-table {
    min-width: 0;
  }

  .results-table thead {
    display: none;
  }

  .results-table tbody {
    display: grid;
    gap: 0.85rem;
  }

  .results-table tbody tr {
    border: 1px solid var(--line);
    background: var(--white);
    padding: 0.9rem;
  }

  .results-table tbody tr + tr td {
    border-top: 0;
  }

  .results-table tbody tr:not(.ad-row) td {
    padding: 0.24rem 0;
    display: grid;
    grid-template-columns: minmax(92px, 108px) 1fr;
    gap: 0.75rem;
    align-items: start;
  }

  .results-table tbody tr:not(.ad-row) td::before {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.25;
  }

  .results-table tbody tr:not(.ad-row) td:nth-child(1)::before {
    content: "TitulaciÃ³n";
  }

  .results-table tbody tr:not(.ad-row) td:nth-child(2)::before {
    content: "Universidad";
  }

  .results-table tbody tr:not(.ad-row) td:nth-child(3)::before {
    content: "Centro";
  }

  .results-table tbody tr:not(.ad-row) td:nth-child(4)::before {
    content: "Provincia";
  }

  .results-table tbody tr:not(.ad-row) td:nth-child(5)::before {
    content: "Nota 2026";
  }

  .results-table tbody tr:not(.ad-row) td:nth-child(6)::before {
    content: "Nota 2025";
  }

  .results-table .centro-cell {
    min-width: 0;
  }

  .results-table .ad-row {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .results-table .ad-row td {
    padding: 0;
  }

  .results-table .ad-row td::before {
    content: none;
  }

  .results-table .ad-row .ad-incontent {
    margin: 0;
  }
}

