/* Desktop Russian theme: readable type without changing the mobile theme. */
:root {
  --sob-text: 1rem;
  --sob-reading: 1.125rem;
  --sob-small: .875rem;
  --sob-leading: 1.5;
  --sob-reading-leading: 1.555556;
  --sob-reading-width: 760px;
}

body {
  font-size: var(--sob-text);
  line-height: var(--sob-leading);
}

h1 { font-size: 1.875rem; line-height: 1.2; }
h1.m { font-size: 1.25rem; line-height: 1.4; }
h2 { font-size: 1.5rem; line-height: 1.25; }
h3 { font-size: 1.375rem; line-height: 1.3; }
h4 { font-size: 1.25rem; line-height: 1.4; }
h5, h6 { font-size: 1rem; line-height: 1.5; }

.menu, .menu table { height: auto; min-height: 56px; }
.menu { background: #000; border-radius: 28px; margin-inline: 10px; padding-inline: 20px; }
.menu-lt, .menu-rt { display: none; }
.menu table, .menu tbody { display: block; }
.menu tr { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; min-height: 56px; }
.menu td { display: block; padding: 6px 8px; }
.menu a { display: inline-block; font-size: 1rem; line-height: 22px; white-space: nowrap; }

.block01, .block02 { font-size: var(--sob-small); line-height: var(--sob-leading); }
.block01 h2, .block02 h2 { font-size: 1.375rem; line-height: 1.3; }
.articles-list li { font-size: var(--sob-small); line-height: 1.5; background-position: 0 6px; }
.user-menu .user-menu-small, .user-menu .user-menu-small a { font-size: var(--sob-small); line-height: 1.5; }
.girl p { line-height: 1.625; text-align: left !important; }
.last-in-forum dd { font-size: var(--sob-small); line-height: 1.5; padding-bottom: 16px; }
.last-in-forum dt, .list-01 li { background-position: 0 10px; }
.path, .time, .user, .comment-count, .design { font-size: var(--sob-small); line-height: 1.5; }
.footer { font-size: var(--sob-small); line-height: 1.5; }
.copyright { line-height: 1.5; }
.footer-menu { margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; }

input, select, textarea, button { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.5; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], select, textarea {
  box-sizing: border-box;
  min-height: 34px;
  padding: 4px 6px;
}
.block01 input[type="text"], .block01 input[type="password"], .block01 select {
  width: 100% !important;
  max-width: 100%;
  font-size: var(--sob-small);
  line-height: 1.5;
}
.block01 label { display: inline-block; width: 100%; }
.block01 .default-form > .default-button {
  display: table;
  float: none;
  clear: both;
  margin: 8px 0 0 !important;
}
.default-button, .default-button2, .default-button input, .default-button2 input {
  font-size: var(--sob-small);
}
.default-button span, .default-button2 span { box-sizing: border-box; height: 33px; line-height: 21px; }
.default-button input, .default-button2 input { line-height: 21px; }
.search-form .txt1, .subscribe-form .txt1, .meets-form .txt1 { height: auto; min-height: 30px; font-size: var(--sob-small); }
.search-form select, .meets-form select, .meets-form label { font-size: var(--sob-small); line-height: 1.5; }
.search-form .submit, .subscribe-form .submit, .meets-form .submit, .login .submit, .btn-code { font-size: var(--sob-small); }
.content-menu ul { height: auto; min-height: 24px; }
.table_topic .message .body .action { height: auto; min-height: 24px; }
.commentmsg .message { font-size: var(--sob-small); line-height: 1.5; }

.article-reading {
  max-width: var(--sob-reading-width);
  margin-inline: auto;
  font-size: var(--sob-reading);
  line-height: var(--sob-reading-leading);
  overflow-wrap: break-word;
  display: flow-root;
}
.article-reading .article-breadcrumb, .article-reading .article-meta { font-size: var(--sob-small); line-height: 1.5; }
.article-reading .article-copy p { text-align: left !important; }
.article-reading .article-copy p[style*="center"] { text-align: center !important; }
.article-reading img { max-width: 100%; height: auto; }
.article-reading img[align="left"], .article-reading img[style*="float: left"] { max-width: 45%; margin: 0 20px 12px 0; }
.article-reading img[align="right"], .article-reading img[style*="float: right"] { max-width: 45%; margin: 0 0 12px 20px; }
.article-reading .article-meta { clear: both; padding-block: 16px; }
.article-reading + hr { margin-block: 24px; }
h1.wiki { font-size: 1.5rem; line-height: 1.3; margin-bottom: 8px; }
h2.wiki { font-size: 1.375rem; line-height: 1.3; margin-bottom: 8px; }
h3.wiki { font-size: 1.25rem; line-height: 1.4; margin-bottom: 8px; }
a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid #009fc7;
  outline-offset: 3px;
}
