/* wa-theme.css — тема, сгенерированная для восстановленного сайта (deepseek/deepseek-v4-pro, попытка 3). */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f4f1e9;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #8b1e2a;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: #d4a419;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  margin-bottom: 1.2em;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  color: #2e1a16;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.8em;
  border-bottom: 3px solid #d4a419;
  padding-bottom: 0.2em;
  display: inline-block;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.7em;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6em;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

ul {
  list-style: none;
}

/* ---------- LOGIN BAR ---------- */
.login {
  background-color: #2b1f1a;
  color: #f0e8db;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.socialicons {
  display: flex;
  align-items: center;
}

.facebook a {
  display: inline-flex;
  align-items: center;
  background-color: #3b5998;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
}

.facebook a img {
  display: none; /* hide potentially broken icon */
}

.login_h1 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.members_area {
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#login {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#login input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
  background: #fff;
  color: #333;
  width: 180px;
}

#login input[type="submit"],
#login input[type="button"] {
  background-color: #d4a419;
  color: #1e140f;
  border: none;
  font-weight: bold;
  cursor: pointer;
  width: auto;
  padding: 8px 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

#login input[type="submit"]:hover {
  background-color: #bc8f13;
}

.forgotten_password {
  margin: 0;
  font-size: 0.85rem;
}

.forgotten_password a {
  color: #d4a419;
}

.forgotten_password a:hover {
  color: #fff;
}

/* ---------- MAIN NAVIGATION ---------- */
.menu1 {
  background-color: #7a2a32;
  border-bottom: 4px solid #d4a419;
  padding: 0;
}

.menu1 .nav1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.menu1 .nav1 a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.menu1 .nav1 a:hover {
  background-color: #651c25;
}

.menu1 .nav1 a img {
  display: none;
}

.menu1 .nav1 a span {
  display: inline;
}

/* ---------- CONTENT LAYOUT ---------- */
.content {
  max-width: 1140px;
  margin: 25px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-gap: 25px;
  align-items: start;
}

.menu2 {
  grid-row: 1 / 2;
}

/* Sidebar menu */
.urbangreymenu {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.headerbarstatic,
.headerbar {
  border-bottom: 1px solid #e8e2d3;
}

.headerbarstatic a,
.headerbar a {
  display: block;
  padding: 12px 18px;
  color: #3a2a22;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
  background: none;
}

.headerbarstatic a:hover,
.headerbar a:hover {
  background-color: #f1ece0;
  color: #7a2a32;
}

.headerbar a img {
  display: none;
}

.submenu {
  background: #fcfaf5;
  padding: 0;
  margin: 0;
}

.submenu li a {
  display: block;
  padding: 9px 18px 9px 35px;
  font-size: 0.9rem;
  color: #4d3e33;
  border-bottom: 1px dotted #ddd7c6;
  text-decoration: none;
}

.submenu li a:hover {
  background-color: #efeadb;
  color: #7a2a32;
}

/* Hide decorative empty corners */
.textareacorner_top,
.textareacorner_bottom {
  display: none;
}

/* Main content area */
.titlearea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.title h1 {
  font-size: 2rem;
  margin: 0;
  border: none;
  color: #2e1a16;
}

.logo a img {
  max-height: 60px;
  width: auto;
}

.textarea {
  background: #fff;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.textarea h2:first-child,
.textarea h3:first-child {
  margin-top: 0;
}

/* Map entries */
.map_infopane {
  border-left: 4px solid #d4a419;
  padding: 10px 15px;
  margin-bottom: 20px;
  background: #fefdf9;
  border-radius: 0 4px 4px 0;
}

.map_heading {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #7a2a32;
}

.map_description {
  font-size: 0.95rem;
  color: #555;
}

.map_website a {
  font-size: 0.9rem;
}

/* Inner page blog content */
.blog-content .featured-image {
  margin-bottom: 15px;
}

.blog-content .featured-image img {
  border-radius: 6px;
}

.entry {
  margin-bottom: 30px;
}

.entry hr {
  border: 0;
  height: 1px;
  background: #e0d9ca;
  margin: 20px 0;
}

.permalink {
  color: #2e1a16;
  font-weight: 600;
  text-decoration: none;
}

.permalink:hover {
  color: #d4a419;
}

/* General list styling in content */
.textarea ul,
.textarea ol {
  margin: 1em 0 1em 1.5em;
  padding-left: 1.5em;
}

.textarea ul {
  list-style: disc;
}

/* Forms general */
form input,
form select,
form textarea {
  margin-bottom: 15px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

form input[type="submit"],
form button {
  background-color: #7a2a32;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

form input[type="submit"]:hover,
form button:hover {
  background-color: #5f1e27;
}

/* Footer */
#page-footer,
.footer {
  background-color: #2b1f1a;
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 40px;
}

.footer-content,
.footer-content2 {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

.footer-content a,
.footer-content2 a {
  color: #d4a419;
}

.footer-content a:hover,
.footer-content2 a:hover {
  color: #fff;
}

/* Marquee image area if exists */
.marquee_image {
  margin: 15px 0;
}

.marquee_image img {
  border-radius: 4px;
}

/* Widget areas on inner pages */
.widgettitle {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
  border-bottom: 2px solid #d4a419;
  padding-bottom: 5px;
}

.widget_archive select,
.widget_categories ul {
  width: 100%;
}

.widget_recent_entries ul li,
.widget_categories ul li {
  border-bottom: 1px solid #e8e2d3;
  padding: 8px 0;
}

.widget_recent_entries ul li a,
.widget_categories ul li a {
  color: #4d3e33;
}

.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover {
  color: #7a2a32;
}

/* Screen reader text hidden but accessible */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .login {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .login_h1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .members_area {
    width: 100%;
  }

  #login {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #login input {
    width: 100%;
  }

  .forgotten_password {
    margin-top: 5px;
  }

  .menu1 .nav1 {
    flex-direction: column;
  }

  .menu1 .nav1 a {
    justify-content: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .content {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .menu2 {
    order: 1;
    margin-bottom: 20px;
  }

  .titlearea,
  .textarea,
  .textareacorner_top,
  .textareacorner_bottom {
    order: 2;
  }

  .titlearea {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    margin-top: 10px;
  }

  .textarea {
    padding: 25px 20px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .urbangreymenu {
    margin-bottom: 25px;
  }
}

/* Prevent overflow from iframes, tables, pre */
table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
  white-space: normal;
}

pre,
code {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
}