body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #1c1916;
  color: #f0ede8;
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px;
}

.site-header {
  position: relative;
  z-index: 2000;
  min-height: 112px;
  background: linear-gradient(180deg, rgba(20, 14, 10, 0.88), rgba(28, 25, 22, 0));
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-title,
.main-nav a {
  color: #f3eadc;
  text-decoration: none;
}

.site-title {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.header-right {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #ffffff;
}

.global-search input {
  width: 160px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f0ede8;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.35rem 0.55rem;
}

.global-search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.global-search input:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.45);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.35rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #e6e1d9;
  display: block;
}

.site-footer {
  color: #cbbca8;
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(214, 204, 185, 0.55);
  font-size: 0.85rem;
  text-align: center;
}

.footer-links a {
  font-size: 0.75rem;
  color: #cbbca8;
  opacity: 0.85;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: underline;
}

@media (max-width: 768px) {
  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  .site-header {
    min-height: 88px;
    overflow: visible;
  }

  .container {
    padding: 24px 20px;
  }

  .header-right {
    display: none;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 4000;
  }

  .header-right.active {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(20, 18, 15, 0.96);
    justify-content: center;
    align-items: center;
    z-index: 3000;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .main-nav a {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .global-search {
    width: 80%;
  }

  .global-search input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px;
    color: #e6e1d9;
  }
}
