﻿/* At The Moment — branding (text + orange theme) */
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@700&display=swap");

:root {
  --atm-fire: #E05A00;
  --atm-fire-light: #FF7A20;
  --atm-fire-dark: #C44A00;
  --atm-visited: #D4783A;
}

/* ===== Blue/purple → orange (all themes) ===== */
:root,
:root.theme-light,
:root.theme-dark,
:root.theme-black,
:root.theme-auto {
  --color-url-font: var(--atm-fire-light) !important;
  --color-url-visited-font: var(--atm-visited) !important;
  --color-btn-background: var(--atm-fire) !important;
  --color-search-background-hover: var(--atm-fire) !important;
  --color-categories-item-selected-font: var(--atm-fire-light) !important;
  --color-categories-item-border-selected: var(--atm-fire) !important;
  --color-result-vim-arrow: var(--atm-fire-light) !important;
  --color-result-link-font: var(--atm-fire-light) !important;
  --color-result-link-font-highlight: var(--atm-fire-light) !important;
  --color-result-link-visited-font: var(--atm-visited) !important;
  --color-result-detail-link: var(--atm-fire-light) !important;
  --color-toolkit-checkbox-onoff-on-mark-background: var(--atm-fire) !important;
  --color-toolkit-checkbox-input-border: var(--atm-fire) !important;
}

:root.theme-light {
  --color-url-font: var(--atm-fire-dark) !important;
  --color-result-link-font: var(--atm-fire-dark) !important;
  --color-result-link-font-highlight: var(--atm-fire-dark) !important;
  --color-btn-font: #fff !important;
}

:root.theme-dark,
:root.theme-black {
  --color-btn-font: #111 !important;
}

/* Direct link colors (footer, nav, about, results) */
a,
a:link,
footer a,
#links_on_top a,
.article a,
#main_info a,
.result a.url_wrapper,
.result h3 a {
  color: var(--atm-fire-light) !important;
}

a:visited,
footer a:visited,
.result h3 a:visited {
  color: var(--atm-visited) !important;
}

a:hover,
footer a:hover,
#links_on_top a:hover,
.result h3 a:hover {
  color: var(--atm-fire) !important;
}

/* CRITICAL: remove SearXNG PNG background + unhide title text */
.index .title {
  background: none !important;
  background-image: none !important;
  min-height: 0 !important;
}

.index h1,
.index .title h1,
.atm-brand-title,
.atm-wordmark {
  visibility: visible !important;
  opacity: 1 !important;
  font-family: "Rajdhani", Impact, "Arial Black", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--atm-fire-light) !important;
  -webkit-text-fill-color: var(--atm-fire-light) !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow:
    0 0 8px rgba(224, 90, 0, 0.55),
    0 0 18px rgba(255, 122, 32, 0.35);
}

.index .title h1,
.atm-brand-title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

#search_logo {
  text-decoration: none !important;
}
#search_logo img,
a img.logo,
img.logo {
  display: none !important;
}
#search_logo .atm-wordmark {
  font-size: 1.25rem;
  line-height: 1;
  white-space: nowrap;
}

#send_search {
  background: var(--atm-fire) !important;
  border-color: var(--atm-fire) !important;
}
#send_search:hover {
  background: var(--atm-fire-light) !important;
  border-color: var(--atm-fire-light) !important;
}

footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
