/* =========================================================
   404, búsqueda, screen-reader-text
   ========================================================= */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--green-50);
  clip: auto;
  clip-path: none;
  color: var(--green-700);
  display: block;
  font: 600 14px var(--font-display);
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 12px 18px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ---------- Searchform ---------- */
.tla-searchform__group {
  display: flex;
  gap: 8px;
}
.tla-searchform__input { flex: 1; }
.tla-searchform__submit { flex-shrink: 0; }

/* ---------- 404 ---------- */
.tla-404__inner {
  text-align: center;
}
.tla-404__num {
  font: 800 clamp(80px, 12vw, 160px) / 1 var(--font-display);
  color: var(--green-200);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.tla-404__search {
  max-width: 520px;
  margin: 32px auto 32px;
}
.tla-404__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Search results ---------- */
.tla-search-result {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.tla-search-result__type {
  font: 600 11px var(--font-body);
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.tla-search-result__title {
  font: 700 20px var(--font-display);
  margin: 0 0 8px;
}
.tla-search-result__title a { color: var(--fg); text-decoration: none; }
.tla-search-result__title a:hover { color: var(--green-700); }
.tla-search-result__excerpt {
  font: 400 14.5px / 1.65 var(--font-body);
  color: var(--fg-muted);
  margin: 0 0 12px;
}
.tla-search-result__more {
  font: 600 13px var(--font-display);
  color: var(--green-600);
}
