@charset "UTF-8";
.switch {
  display: inline-block;
  line-height: 1em;
}

.switch,
.switch * {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.switch label {
  cursor: pointer;
}

.switch label input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0;
  display: none;
}
.switch label input[type=checkbox]:checked + .switch__track {
  background-color: #2d2e2e;
}
.switch label input[type=checkbox]:checked + .switch__track:before,
.switch label input[type=checkbox]:checked + .switch__track .switch__lever {
  left: 19px;
}
.switch label input[type=checkbox]:checked + .switch__track .switch__lever {
  background-color: #232424;
}
.switch label input[type=checkbox]:checked + .switch__track .switch__icon {
  fill: #e1e1e1;
}
.switch label input[type=checkbox]:checked + .switch__track .switch__icon--unchecked {
  opacity: 0;
}
.switch label input[type=checkbox]:checked + .switch__track .switch__icon--checked {
  opacity: 1;
}

.switch label .switch__track {
  content: "";
  display: inline-block;
  position: relative;
  width: 40px;
  height: 22px;
  background-color: #f3f0ea;
  border-radius: 11px;
  transition: background 0.3s ease;
  vertical-align: middle;
  margin: 0;
  border: 1px solid #e1e0dd;
}
.switch label .switch__track:before,
.switch label .switch__track .switch__lever {
  content: "";
  position: absolute;
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  left: 1px;
  top: 1px;
  transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease, transform 0.1s ease;
}
.switch label .switch__track:before {
  background-color: rgba(35, 36, 36, 0.15);
}
.switch label .switch__track .switch__lever {
  background-color: #fff;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
.switch label .switch__track .switch__icon {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  fill: #232424;
}
.switch label .switch__track .switch__icon--unchecked {
  opacity: 1;
}
.switch label .switch__track .switch__icon--checked {
  opacity: 0;
}

input[type=checkbox]:checked:not(:disabled) ~ .switch__track:active::before,
input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .switch__track::before {
  transform: scale(2.4);
  background-color: rgba(35, 36, 36, 0.15);
}

input[type=checkbox]:not(:disabled) ~ .switch__track:active:before,
input[type=checkbox]:not(:disabled).tabbed:focus ~ .switch__track::before {
  transform: scale(2.4);
  background-color: rgba(0, 0, 0, 0.08);
}

.switch input[type=checkbox][disabled] + .switch__track {
  cursor: default;
  background-color: rgba(0, 0, 0, 0.12);
}

.switch label input[type=checkbox][disabled] + .switch__track .switch__lever,
.switch label input[type=checkbox][disabled]:checked + .switch__track .switch__lever {
  background-color: #e1e1e1;
}

/*BASE*/
* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f9f9f9;
  color: #444;
  font-size: 15px;
  min-height: 100vh;
}

/*BASE*/
* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f9f9f9;
  color: #444;
  font-size: 15px;
  min-height: 100vh;
}

.main {
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f9f9f9;
}

.btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1em;
  text-transform: uppercase;
}
.btn .search-icon {
  margin: -5px 0 -5px -10px;
}
.btn-primary {
  color: #f1f1f1;
  background-color: #b9080e;
  border-color: #b9080e;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:active {
  color: #fff;
  background-color: #b9080e;
  border-color: #b9080e;
  outline: unset;
  box-shadow: none;
}
.btn-primary:hover path,
.btn-primary:hover circle, .btn-primary:focus path,
.btn-primary:focus circle, .btn-primary:not(:disabled):not(.disabled):active path,
.btn-primary:not(:disabled):not(.disabled):active circle, .btn-primary:not(:disabled):not(.disabled):active:focus path,
.btn-primary:not(:disabled):not(.disabled):active:focus circle, .btn-primary:active path,
.btn-primary:active circle {
  stroke: #fff;
}
.btn-primary path,
.btn-primary circle {
  stroke: #f1f1f1;
}
.btn-default {
  background-color: #fff;
  border-color: #7f7f7f;
}
.btn-default:hover, .btn-default:focus, .btn-default:not(:disabled):not(.disabled):active, .btn-default:not(:disabled):not(.disabled):active:focus, .btn-default:active {
  color: #090d0e;
  border-color: #090d0e;
  background-color: #fff;
  outline: unset;
  box-shadow: none;
}
.btn:disabled:hover {
  box-shadow: none;
  background-color: #fff;
  border-color: #7f7f7f;
  color: #212529;
}
.btn:hover, .btn:focus, .btn:active {
  box-shadow: 0 6px 18px 0 rgba(191, 191, 191, 0.3);
}

.nav-cat {
  height: 54px;
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  flex-shrink: 0;
  padding: 0 30px;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 22;
  border-bottom: 1px solid #e7e7e7;
}
.nav-cat .switch label {
  margin-bottom: 0;
}

.nav-link {
  color: #c9bb9f;
  font-size: 13px;
  text-transform: uppercase;
}
.nav-link.active, .nav-link:hover, .nav-link:focus {
  color: #a99b87;
}
.nav-link.active {
  position: relative;
}
.nav-link.active::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0.2rem;
  height: 1px;
  background: #a99b87;
  left: 1rem;
  right: 1rem;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 84px 20px 20px;
}

.hero__content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.hero__title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: #777777;
  margin-bottom: 2.5rem;
}

.search-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-form__input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid #c9bb9f;
  border-radius: 3px;
  font-size: 1rem;
  background: #fff;
  color: #444;
  outline: none;
  transition: border-color 0.2s;
}
.search-form__input:focus {
  border-color: #495057;
}
.search-form__input::-moz-placeholder {
  color: #aaaaaa;
}
.search-form__input::placeholder {
  color: #aaaaaa;
}

.category-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 35px;
  background: #fff;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: #444;
  min-width: 180px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.category-card__icon {
  margin-bottom: 18px;
}
.category-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #444;
}
.category-card__desc {
  font-size: 0.9rem;
  color: rgb(144.5, 144.5, 144.5);
  margin: 0;
  max-width: 210px;
}
.category-card--biographic {
  border-left: 4px solid #b9080e;
}
.category-card--thematic {
  border-left: 4px solid #c9bb9f;
}

#search-results-container {
  margin: 20px 0;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.search-loading,
.search-error,
.search-empty {
  text-align: center;
  padding: 20px;
  color: rgb(144.5, 144.5, 144.5);
}

.search-results {
  text-align: left;
}

.search-results__info {
  font-size: 0.95rem;
  color: #777777;
  margin-bottom: 15px;
  border-bottom: 1px solid #f3f0ea;
  padding-bottom: 8px;
}

.search-results__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-result {
  display: flex;
  align-items: flex-start;
  padding: 10px 14px;
  background: #fff;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 8px;
  border: 1px solid #a99b87;
  transition: background 0.15s;
}
.search-result:hover {
  background: rgb(249.9, 249.9, 249.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.search-result.aggregate, .search-result.thematic {
  border-left-color: #c9bb9f;
}
.search-result.aggregate .search-result__badge, .search-result.thematic .search-result__badge {
  background-color: #d3d3d3;
  color: #454545;
}
.search-result__icon {
  font-size: 20px;
  margin-right: 14px;
  flex-shrink: 0;
  line-height: 1.3;
}
.search-result__body {
  flex: 1;
  min-width: 0;
}
.search-result__title {
  font-size: 16px;
  font-weight: 500;
}
.search-result__title a {
  color: #444;
  text-decoration: none;
}
.search-result__title a:hover {
  color: #b9080e;
  text-decoration: underline;
}
.search-result__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: #777777;
  margin: 2px 0 4px;
  align-items: center;
}
.search-result__date {
  color: rgb(144.5, 144.5, 144.5);
}
.search-result__badge {
  font-size: 10px;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.search-result__desc {
  font-size: 0.95rem;
  color: #444;
  margin-top: 3px;
  line-height: 1.4;
}
.search-result__extra {
  font-size: 0.85rem;
  color: rgb(131.75, 131.75, 131.75);
  margin-top: 2px;
  font-style: italic;
}

.search-highlight {
  background: #ffeb3b;
  padding: 0 0px;
}

#category-cards {
  transition: opacity 0.2s;
}

.search-empty {
  text-align: center;
  padding: 20px;
  color: rgb(144.5, 144.5, 144.5);
}
.search-empty p {
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.search-empty .search-hint {
  font-size: 0.95rem;
  color: #aaaaaa;
  font-style: italic;
  margin-top: 4px;
}
.search-empty .search-hint::before {
  content: "💡 ";
  font-style: normal;
}

.dark body {
  background-color: #373737;
  color: #d5d5d5;
}
.dark .nav-cat {
  background-color: #474646;
  border-color: #474646;
}
.dark .main {
  background-color: #373737;
}
.dark .hero__subtitle {
  color: #a3a3a3;
}
.dark .search-form__input {
  color: #d5d5d5;
  background-color: #272727;
  border-color: #272727;
}
.dark .switch label .switch__track {
  border-color: #595959;
}
.dark .category-card {
  background: #474646;
}
.dark .hero__title,
.dark .category-card__title,
.dark .search-result__title a {
  color: #d5d5d5;
}
.dark .category-card__desc,
.dark .search-result__desc {
  color: #a3a3a3;
}
.dark .btn:hover, .dark .btn:focus, .dark .btn:active {
  box-shadow: 0 6px 18px 0 rgba(0, 0, 0, 0.3);
}
.dark .search-result {
  background-color: #474646;
  border-color: #474646;
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 2rem;
  }
  .search-form {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .search-form__button {
    width: 100%;
  }
  .category-cards {
    flex-direction: column;
    align-items: center;
  }
  .category-card {
    width: 100%;
    max-width: 280px;
  }
  .nav-cat .nav {
    display: none;
  }
}/*# sourceMappingURL=index.css.map */