/* Scrutari theme for SearXNG 2026.9.8-3fdc6d753. */
@font-face {
  font-family: "Cinzel";
  src: url("fonts/Cinzel-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

:root,
:root.theme-auto,
:root.theme-light,
:root.theme-dark,
:root.theme-black {
  --scrutari-parchment: #f7edcf;
  --scrutari-parchment-deep: #ead8aa;
  --scrutari-ink: #321a16;
  --scrutari-bronze: #b87535;
  --scrutari-red: #752a22;
  --scrutari-line: #d4ae69;
  --scrutari-surf-width: 92px;
  --scrutari-search-gap: 10px;
  --color-base-font: #f7edcf;
  --color-base-font-rgb: 247, 237, 207;
  --color-base-background: #2e1914;
  --color-base-background-mobile: #2e1914;
  --color-url-font: #f2ce87;
  --color-url-visited-font: #d8af83;
  --color-header-background: rgb(39 17 12 / 88%);
  --color-header-border: #8d613d;
  --color-footer-background: rgb(39 17 12 / 92%);
  --color-footer-border: #8d613d;
  --color-sidebar-border: #a57a4e;
  --color-sidebar-font: #3a2119;
  --color-sidebar-background: #f2e4bd;
  --color-backtotop-font: #f7edcf;
  --color-backtotop-border: #b98b53;
  --color-backtotop-background: #6e2b21;
  --color-btn-background: #752a22;
  --color-btn-font: #fff4d5;
  --color-show-btn-background: #bc8b50;
  --color-show-btn-font: #2d1711;
  --color-search-border: #d4ae69;
  --color-search-shadow: 0 7px 24px rgb(25 8 4 / 38%);
  --color-search-background: #f7edcf;
  --color-search-font: #321a16;
  --color-search-background-hover: #9b4a2e;
  --color-error: #a52321;
  --color-error-background: #f3c8b6;
  --color-warning: #674012;
  --color-warning-background: #f4df9d;
  --color-success: #315826;
  --color-success-background: #cfe1af;
  --color-categories-item-selected-font: #f5d28f;
  --color-categories-item-border-selected: #d4ae69;
  --color-autocomplete-font: #321a16;
  --color-autocomplete-border: #b98b53;
  --color-autocomplete-shadow: 0 8px 22px rgb(31 10 5 / 34%);
  --color-autocomplete-background: #f7edcf;
  --color-autocomplete-background-hover: #ead8aa;
  --color-answer-font: #321a16;
  --color-answer-background: #f3e6c2;
  --color-result-keyvalue-col-table: #edddb4;
  --color-result-keyvalue-odd: #edddb4;
  --color-result-keyvalue-even: #f7edcf;
  --color-result-background: #f7edcf;
  --color-result-border: #bc8b50;
  --color-result-url-font: #59442f;
  --color-result-vim-selected: #ead7a6;
  --color-result-vim-arrow: #8b2f25;
  --color-result-description-highlight-font: #321a16;
  --color-result-link-font: #752a22;
  --color-result-link-font-highlight: #9d3a2b;
  --color-result-link-visited-font: #68405d;
  --color-result-publishdate-font: #725e48;
  --color-result-engines-font: #715741;
  --color-result-search-url-border: #b98b53;
  --color-result-search-url-font: #321a16;
  --color-result-image-span-font: #321a16;
  --color-result-image-span-font-selected: #fff4d5;
  --color-result-image-background: #f7edcf;
  --color-settings-tr-hover: #e6d09b;
  --color-settings-engine-description-font: #6f5942;
  --color-settings-table-group-background: #dec48d;
  --color-result-detail-font: #fff4d5;
  --color-result-detail-label-font: #e7d3a4;
  --color-result-detail-background: #28130f;
  --color-result-detail-hr: #8d613d;
  --color-result-detail-link: #f2ce87;
  --color-result-detail-loader-border: rgb(255 244 213 / 25%);
  --color-result-detail-loader-borderleft: transparent;
  --color-toolkit-badge-font: #fff4d5;
  --color-toolkit-badge-background: #6f3025;
  --color-toolkit-kbd-font: #fff4d5;
  --color-toolkit-kbd-background: #321a16;
  --color-toolkit-dialog-border: #b98b53;
  --color-toolkit-dialog-background: #f7edcf;
  --color-toolkit-tabs-label-border: transparent;
  --color-toolkit-tabs-section-border: #ad8050;
  --color-toolkit-select-background: #f0dfb5;
  --color-toolkit-select-border: #b98b53;
  --color-toolkit-select-background-hover: #e5cb92;
  --color-toolkit-input-text-font: #321a16;
  --color-toolkit-checkbox-onoff-off-background: #d1b581;
  --color-toolkit-checkbox-onoff-on-background: #d1b581;
  --color-toolkit-checkbox-onoff-on-mark-background: #752a22;
  --color-toolkit-checkbox-onoff-on-mark-color: #fff4d5;
  --color-toolkit-checkbox-onoff-off-mark-background: #846d53;
  --color-toolkit-checkbox-onoff-off-mark-color: #fff4d5;
  --color-toolkit-checkbox-label-background: #e7d3a4;
  --color-toolkit-checkbox-label-border: #b98b53;
  --color-toolkit-checkbox-input-border: #752a22;
  --color-toolkit-engine-tooltip-border: #b98b53;
  --color-toolkit-engine-tooltip-background: #f7edcf;
  --color-toolkit-loader-border: rgb(50 26 22 / 20%);
  --color-toolkit-loader-borderleft: transparent;
  --color-doc-code: #321a16;
  --color-doc-code-background: #e6d09b;
  --color-favicon-background-color: #ead8aa;
  --color-favicon-border-color: #b98b53;
}

html {
  background: #2e1914;
  color-scheme: dark;
  font-family: "Libre Baskerville", Georgia, serif;
}

body {
  position: relative;
  min-height: 100vh;
  height: auto;
  color: var(--scrutari-parchment);
  background: #2e1914 url("img/roman-forum-background.png") center / cover fixed no-repeat;
  font-family: "Libre Baskerville", Georgia, serif;
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgb(32 12 8 / 84%), rgb(44 18 10 / 72%) 35%, rgb(30 12 7 / 78%));
  pointer-events: none;
}

body.index_endpoint::before {
  background: linear-gradient(90deg, rgb(32 12 8 / 68%), rgb(44 18 10 / 35%) 35%, rgb(30 12 7 / 45%));
}

main,
footer {
  position: relative;
  z-index: 1;
}

a,
button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
legend,
.tabs > label,
.tabs > li > a {
  font-family: "Cinzel", Georgia, serif;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f7d28e !important;
  outline-offset: 3px;
}

/* Shared top navigation. */
#links_on_top {
  z-index: 20;
  top: 1.4rem;
  right: 1.75rem;
  gap: 0.75rem;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

#links_on_top a {
  gap: 0.35rem;
  margin: 0;
  padding: 0.58rem 0.88rem;
  border: 1px solid rgb(247 237 207 / 65%);
  border-radius: 999px;
  color: var(--scrutari-parchment);
  background: rgb(50 25 20 / 62%);
  backdrop-filter: blur(5px);
  text-transform: uppercase;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

#links_on_top a:hover {
  border-color: #f0d39b;
  background: rgb(117 42 34 / 88%);
  transform: translateY(-1px);
}

#links_on_top a,
#links_on_top a:link *,
#links_on_top a:hover *,
#links_on_top a:visited *,
#links_on_top a:active * {
  color: var(--scrutari-parchment);
}

/* Approved home page. */
body.index_endpoint {
  overflow-x: hidden;
}

#main_index {
  display: flex;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 5rem 0 2rem;
}

body.index_endpoint footer {
  display: none;
}

.scrutari-home {
  width: min(760px, calc(100% - 36px));
  margin: auto;
  padding: 2.5rem 0 5rem;
  text-align: center;
}

.scrutari-brand-axis,
.scrutari-definition {
  width: calc(100% - var(--scrutari-surf-width) - var(--scrutari-search-gap));
  margin-right: auto;
}

.scrutari-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 2vw, 18px);
}

.scrutari-brand-lockup::before,
.scrutari-brand-lockup::after {
  content: "";
  width: clamp(22px, 5vw, 46px);
  height: 9px;
  background: linear-gradient(180deg, transparent 40%, #ddb86f 41% 52%, transparent 53%), linear-gradient(90deg, transparent, #ddb86f 28% 72%, transparent);
  clip-path: polygon(0 44%, 84% 44%, 84% 0, 100% 50%, 84% 100%, 84% 56%, 0 56%);
  filter: drop-shadow(0 2px 2px #2b1008);
  opacity: 0.9;
}

.scrutari-brand-lockup::after {
  transform: scaleX(-1);
}

.scrutari-brand {
  position: relative;
  display: inline-block;
  visibility: visible;
  margin: 0;
  padding: 0.08em 0 0.02em;
  color: #f8e7b7;
  background: linear-gradient(180deg, #fff8db 4%, #e9c681 38%, #a9672f 60%, #f4d897 82%, #fff2c5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.55px rgb(255 239 186 / 52%);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgb(62 22 10 / 92%), 0 4px 2px rgb(32 10 5 / 70%), 0 8px 24px #1d0b07;
  filter: drop-shadow(0 1px 0 rgb(255 244 204 / 42%));
}

.index h1.scrutari-brand {
  visibility: visible;
}

.scrutari-byline {
  margin-top: 5px;
  color: #f0d39b;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.scrutari-rule {
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(410px, 80%);
  margin: 25px auto 21px;
  color: var(--scrutari-line);
}

.scrutari-rule::before,
.scrutari-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--scrutari-line));
}

.scrutari-rule::after {
  background: linear-gradient(90deg, var(--scrutari-line), transparent);
}

.scrutari-laurel {
  font-size: 1rem;
}

#search.scrutari-home-search {
  width: 100%;
  margin: 0;
}

.scrutari-input-shell {
  position: relative;
  display: flex;
  gap: var(--scrutari-search-gap);
  width: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.scrutari-input-shell #q {
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--scrutari-line);
  border-radius: 5px;
  color: var(--scrutari-ink);
  background: rgb(247 237 207 / 96%);
  box-shadow: var(--color-search-shadow);
  font-size: 1rem;
  line-height: 52px;
}

.scrutari-input-shell #q::placeholder {
  color: #805f4c;
}

.scrutari-home-search #clear_search {
  display: none !important;
}

.scrutari-definition {
  margin-top: 24px;
  color: var(--scrutari-parchment);
  font-size: 0.88rem;
  line-height: 1.8;
  text-align: center;
  text-shadow: 0 2px 8px #1e0c08;
}

.scrutari-definition a {
  border-radius: 3px;
  color: #f7d28e;
  text-decoration: underline;
  text-decoration-color: #bc7e3d;
  text-underline-offset: 4px;
  cursor: pointer;
}

.scrutari-definition a.is-speaking {
  color: #fff4c8;
  text-shadow: 0 0 11px rgb(247 210 142 / 72%), 0 2px 8px #1e0c08;
}

.scrutari-listen-mark {
  display: inline-block;
  margin-left: 5px;
  font-size: 0.82em;
  font-style: normal;
  text-decoration: none;
  transform-origin: center;
}

.scrutari-definition a.is-speaking .scrutari-listen-mark {
  animation: scrutari-listen-pulse 720ms ease-in-out infinite alternate;
}

.scrutari-pronunciation-status {
  display: block;
  min-height: 1.35em;
  margin-top: 7px;
  color: #efd6a4;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes scrutari-listen-pulse {
  from { transform: scale(0.9); opacity: 0.65; }
  to { transform: scale(1.18); opacity: 1; }
}

.scrutari-note {
  margin-top: 42px;
  color: #efd6a4;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Search control and one-second rolling-wave transition. */
.scrutari-search .search_box,
.scrutari-results-search-box {
  position: relative;
}

#q.scrutari-is-being-washed {
  color: transparent !important;
  caret-color: transparent;
}

.scrutari-typed-ghost {
  position: absolute;
  z-index: 3;
  inset: 0 calc(var(--scrutari-surf-width) + var(--scrutari-search-gap)) 0 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--scrutari-ink);
  font-size: 1rem;
  line-height: 52px;
  text-align: left;
  white-space: nowrap;
  clip-path: inset(0 0 0 0);
  pointer-events: none;
}

.scrutari-surf,
#send_search.scrutari-surf {
  position: relative;
  z-index: 6;
  flex: 0 0 var(--scrutari-surf-width);
  width: var(--scrutari-surf-width);
  height: 52px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2bc73;
  border-radius: 5px;
  color: white;
  background: linear-gradient(180deg, #153d4a, #061f2b 72%, #88603d);
  box-shadow: var(--color-search-shadow);
  cursor: pointer;
}

.scrutari-surf-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 150ms ease, opacity 200ms ease;
}

.scrutari-surf:hover .scrutari-surf-art {
  transform: scale(1.06);
}

.scrutari-surf-word {
  position: absolute;
  z-index: 2;
  left: 23px;
  bottom: 7px;
  color: white;
  font: italic 700 0.7rem Georgia, serif;
  letter-spacing: 0.04em;
  text-shadow: -1px -1px 0 #06475a, 1px -1px 0 #06475a, -1px 1px 0 #06475a, 1px 1px 0 #06475a, 0 2px 4px #032836;
}

.scrutari-surf:disabled {
  cursor: wait;
}

.scrutari-is-surfing .scrutari-surf .scrutari-surf-art,
.scrutari-is-surfing .scrutari-surf .scrutari-surf-word {
  opacity: 0.14;
  transform: scale(0.82);
}

.scrutari-shore-wash {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 14px;
  overflow: hidden;
  opacity: 0;
  clip-path: polygon(0 78%, 6% 42%, 13% 68%, 20% 33%, 28% 66%, 37% 38%, 47% 71%, 56% 29%, 65% 62%, 74% 35%, 84% 66%, 93% 31%, 100% 55%, 100% 100%, 0 100%);
  background: radial-gradient(ellipse at 72% 55%, rgb(255 255 255 / 72%) 0 7%, transparent 10%), radial-gradient(ellipse at 45% 70%, rgb(232 253 253 / 68%) 0 8%, transparent 11%), linear-gradient(180deg, rgb(181 233 235 / 0%), rgb(220 249 250 / 38%) 46%, rgb(255 255 255 / 70%) 78%, rgb(188 225 226 / 14%));
  filter: drop-shadow(0 1px 1px rgb(2 46 58 / 28%));
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: width, opacity, transform;
}

.scrutari-wave-runner {
  position: absolute;
  z-index: 5;
  top: -3px;
  left: 0;
  width: 104px;
  height: 58px;
  opacity: 0;
  filter: drop-shadow(0 6px 5px rgb(3 39 51 / 44%));
  pointer-events: none;
  transform: translate3d(-52px, 0, 0);
  will-change: transform, opacity;
}

.scrutari-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scrutari-wave-runner .scrutari-surf-word {
  left: 28px;
  bottom: 8px;
}

/* Roman treatment for results, information, preferences, and utility pages. */
#main_results {
  padding-bottom: 2rem;
}

#main_results #search_header {
  grid-template-columns: 10.5rem minmax(0, 1fr);
  padding: 1.2rem 12rem 0.85rem 2rem;
  border-color: rgb(212 174 105 / 65%);
  background: linear-gradient(180deg, rgb(38 14 10 / 94%), rgb(78 29 20 / 92%));
  box-shadow: 0 5px 24px rgb(20 6 4 / 38%);
}

#search_logo {
  width: auto;
  padding: 0.55rem 0;
}

.scrutari-search-logo,
.scrutari-page-brand {
  color: #f4d897;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-shadow: 0 2px 5px #160704;
  text-transform: uppercase;
}

#main_results #search_view {
  padding: 0.35rem 0 0;
}

.scrutari-results-search-box {
  width: 100%;
  max-width: 760px;
  overflow: visible;
  border: 1px solid var(--scrutari-line);
  border-radius: 6px;
  background: var(--scrutari-parchment);
  box-shadow: var(--color-search-shadow);
}

.scrutari-results-search-box #q {
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  border-radius: 5px 0 0 5px;
  color: var(--scrutari-ink);
  background: var(--scrutari-parchment);
  font-size: 1rem;
  line-height: 52px;
}

.scrutari-results-search-box #clear_search {
  z-index: 6;
  color: #6d4d3a;
  background: var(--scrutari-parchment);
}

.scrutari-results-search-box .scrutari-surf {
  border-width: 0 0 0 1px;
  border-radius: 0 5px 5px 0;
  box-shadow: none;
}

.scrutari-results-search-box .scrutari-typed-ghost {
  right: calc(var(--scrutari-surf-width) + 1.8rem);
}

#categories_container {
  display: flex;
  gap: 0.35rem;
  padding-bottom: 0.25rem;
}

#categories_container .category_button,
#categories_container .category_checkbox label {
  margin: 0;
  padding: 0.4rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #ead6aa;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

#categories_container .category_button.selected,
#categories_container .category_button:hover,
#categories_container .category_checkbox input:checked + label,
#categories_container .category_checkbox label:hover {
  border-color: #d4ae69;
  color: #fff4d5;
  background: rgb(117 42 34 / 75%);
}

.search_filters {
  gap: 0.6rem;
  margin: 0.8rem 2rem 0 12.5rem;
}

.search_filters select,
#main_preferences select,
#main_preferences input[type="text"],
#main_preferences textarea {
  border: 1px solid #b98b53;
  border-radius: 4px;
  color: var(--scrutari-ink);
  background-color: #f0dfb5;
}

#main_results #results {
  max-width: 92rem;
  margin: 1.35rem auto 0;
  padding: 0 2rem;
  grid-template-columns: minmax(0, 52rem) minmax(15rem, 21rem);
}

#urls .result,
#answers,
#sidebar .infobox,
#suggestions,
#engines_msg,
#search_url,
#apis,
#corrections {
  border: 1px solid rgb(188 139 80 / 78%);
  border-left: 4px solid var(--scrutari-red);
  border-radius: 5px;
  color: var(--scrutari-ink);
  background: linear-gradient(135deg, rgb(250 241 214 / 98%), rgb(235 216 171 / 97%));
  box-shadow: 0 8px 24px rgb(25 8 4 / 24%);
}

#urls .result {
  margin: 0 0 0.9rem;
  padding: 1rem 1.15rem;
}

#urls .result h3 a {
  color: var(--scrutari-red);
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
}

#urls .result .url_header,
#urls .result .url_header:visited,
#urls .result .content,
#urls .result .engines,
#urls .result .published_date {
  color: #513c2c;
}

#answers,
#sidebar .infobox,
#suggestions,
#engines_msg,
#search_url,
#apis,
#corrections {
  padding: 1rem;
}

#sidebar,
#sidebar a,
#sidebar input,
#sidebar summary,
#sidebar .title {
  color: var(--scrutari-ink);
}

#pagination {
  padding: 0.75rem;
  border: 1px solid rgb(212 174 105 / 62%);
  border-radius: 5px;
  background: rgb(49 20 14 / 72%);
}

#pagination button,
#pagination input {
  font-family: "Cinzel", Georgia, serif;
}

.page_with_header {
  width: min(88rem, calc(100% - 3rem));
  margin: 5.5rem auto 2rem;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 2.5rem;
  border: 1px solid rgb(212 174 105 / 72%);
  border-radius: 6px;
  color: var(--scrutari-ink);
  background: linear-gradient(135deg, rgb(250 241 214 / 98%), rgb(232 210 164 / 97%));
  box-shadow: 0 14px 40px rgb(22 7 4 / 42%);
}

.scrutari-page-brand {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #752a22;
  text-shadow: 0 1px 0 #f5dda4;
}

.page_with_header h1,
.page_with_header h2,
.page_with_header h3,
.page_with_header h4 {
  color: #68271f;
}

.page_with_header a {
  color: #752a22;
}

.page_with_header a:visited {
  color: #68405d;
}

.page_with_header .tabs > label,
.page_with_header .tabs > li > a {
  border-bottom-color: transparent;
  color: #5c3226;
}

.page_with_header .tabs > input:checked + label,
.page_with_header .tabs > li > a.active,
.page_with_header .tabs > label:hover,
.page_with_header .tabs > li > a:hover {
  border-bottom-color: #8b2f25;
  color: #752a22;
}

#main_preferences fieldset {
  margin: 0.7rem 0;
  padding: 0.8rem;
  border: 1px solid rgb(185 139 83 / 40%);
  border-radius: 4px;
}

#main_preferences table,
#main_preferences .tabs > section,
.info-page {
  color: var(--scrutari-ink);
}

.engine-tooltip {
  color: var(--scrutari-ink);
  background: var(--scrutari-parchment);
}

footer {
  color: #e8d3a4;
  background: rgb(39 17 12 / 92%);
}

footer a,
footer a:visited {
  color: #f2ce87;
}

@media (max-width: 75rem) {
  #main_results #search_header {
    padding-right: 10rem;
  }

  #main_results #results {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 68rem) {
  #main_results #search_header {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    padding-right: 1.25rem;
  }

  #main_results #results {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "corrections"
      "answers"
      "sidebar"
      "urls"
      "pagination";
  }

  .search_filters {
    margin-left: 10.5rem;
  }
}

@media (max-width: 50rem) {
  :root {
    --scrutari-surf-width: 76px;
    --scrutari-search-gap: 7px;
  }

  #links_on_top {
    top: 0.9rem;
    right: 0.9rem;
  }

  #links_on_top a {
    padding: 0.5rem 0.65rem;
  }

  .scrutari-brand-axis,
  .scrutari-definition {
    width: 100%;
  }

  .scrutari-brand-lockup {
    gap: 7px;
  }

  .scrutari-brand-lockup::before,
  .scrutari-brand-lockup::after {
    width: 20px;
  }

  .scrutari-definition {
    font-size: 0.82rem;
  }

  .scrutari-surf-word {
    left: 17px;
  }

  #main_results #search_header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "search"
      "categories";
    padding: 4.5rem 0.75rem 0.75rem;
  }

  #main_results #search_logo {
    display: none;
  }

  #main_results #search_view:focus-within {
    position: static;
    height: auto;
    background: transparent;
  }

  #main_results #results {
    padding: 0 0.75rem;
  }

  .search_filters {
    margin: 0.7rem 0.75rem 0;
  }

  .page_with_header {
    width: calc(100% - 1.5rem);
    margin-top: 5rem;
  }
}

@media (max-width: 35rem) {
  #main_index {
    padding-top: 6rem;
  }

  .scrutari-home {
    padding-top: 1rem;
  }

  .scrutari-brand {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
    letter-spacing: 0.08em;
  }

  #links_on_top span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  #links_on_top a {
    min-width: 2.6rem;
    justify-content: center;
  }

  #main_preferences legend,
  #main_preferences .value,
  #main_preferences .description {
    float: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
