		:root{--accent:#c0392b}	
			body {

			}
			.logotxt {
				line-height:1em;
				font-weight:bold;
				font-size:10px;
			}
			.navbar-brand img {
				width:34px;
				height:34px;
			}	
			.navbar {
				z-index:888;
			}
		@media(min-width:1144px) {	
			.logotxt {
				line-height:1em;
				font-weight:bold;
				font-size:16px;
			}
			.navbar-brand img {
				width:52px;
				height:52px;
			}
			.menu-dots .nav-item {
			  display: inline-block;
			  margin: 0 10px;
			  position: relative;
			}

			.menu-dots .nav-item::after {
			  content: "•";
			  position: absolute;
			  top:7px;
			  right: -13px;
			  color: #e60000; /* цвет точки */
			}

			.menu-dots .nav-item:last-child::after {
			  content: "";
			}		
		}
		.hero {
  position: relative;
  background: url("bigkurak.png") center/cover no-repeat;
  color: #fff;
  min-height: 80vh; /* чтобы секция имела высоту */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:rgba(0,0,0,0.7);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2; /* чтобы текст был поверх затемнения */
  padding: 40px 20px;
}

		.color-swatch{width:48px;height:48px;border-radius:6px;border:1px solid rgba(0,0,0,0.08)}
		.section-title{font-weight:700}
		.card-photo{height:180px;object-fit:cover}
		
		.container-fluid {
			max-width:1200px;
		}
		
		.bi-bigg {
			font-size:48px;
		}
		h4 a {
			color:inherit;
			text-decoration:none;
		}
		
		
.mason {
  column-count: 3;
  column-gap: 1rem;
}

.mason p {
  break-inside: avoid;   /* чтобы не ломались внутри */
  margin: 0 0 1rem;
}

.mason img {
  width: 100%;
  display: block;
  border-radius:6px;
}

@media (max-width: 768px) {
  .mason { column-count: 2; }
}
@media (max-width: 480px) {
  .mason { column-count: 1; }
}

/* COM FORUM ==================================================================*/
.msg_links {font-style:italic;font-size:.8em;margin-top:2px;}
.forum-list {border:#dedede 1px solid;margin:20px 0;}
.forum-list .row {border-bottom:#dedede 1px solid;margin:0;padding:15px 0;}
.forum-list .row:last-child {border-bottom:0px !important;margin:0;}
.forum-list strong {font-weight:normal;}
.forum-list .forum-list-title {border-color:#e2e3e5 !important;background:#e2e3e5;color:#212529;padding:10px 5px;font-size:1.2em;}
.forum-list .forum-list-title a {color:#212529 !important;font-weight:700 !important;}
.forum-list .forum-list-title a:hover {}
.forum-list .forum-name {font-size:14px;}
.forum-list .forum-icon {float:left;height:16px;margin-right:10px;}
.forum-list .forum-desc  {font-size:12px;line-height:15px;padding:5px 0;}
.forum-list .forum-subs {border-top:#dedede 1px solid;font-size:12px;line-height:15px;padding-top:5px;}
.forum-list .forum-subs-link {color:#e2e3e5;}
.forum-list .forum-subs-link:hover {color:#212529;}
.forum-list .col-xs-12 a {color:#e2e3e5;}
.forum-list .col-xs-12 a:hover {color:#212529;}
.forum-list .forum-link a {color:#212529;font-weight:700;}
.forum-list .forum-link a:hover {color:#212529;}
.forum-moders a {color:#D14233;}
.forum-form  select {width:100%;margin-top:5px;margin-bottom:5px;padding:2px;}
.forum-form  input {width:100%;margin-top:4px;margin-bottom:5px;}
.thread-desc {padding-bottom:10px;}
.thread-poll {border:#dedede 1px solid;padding:10px;margin-bottom:20px;}
.thread-poll-title h3 {margin-top:0;padding-top:0;}
.thread-poll-desc {padding-bottom:15px;}
.thread-vote {background:#f9f9f9;padding:10px;border:#dedede 1px solid;margin-bottom:20px;}
.thread-table {}
.thread-title {padding:10px;border:#dedede 1px solid;background:#f9f9f9;margin:0 0 20px 0;}
.thread-body {}
.thread-body .well {text-align:center;padding:15px;border:#dedede 1px solid;margin-bottom:20px;}
.thread-right {margin-bottom:20px;}
.thread-votes_links {padding-left:10px;margin-left:10px;border-left:#dedede 1px solid;}
.thread-nav {}
.thread-post_content{word-wrap: break-word;overflow: hidden;}
.thread-post_text {}
.thread-post_text div, .thread-post_text p {padding-bottom:10px;}
.thread-post_text h2, .thread-post_text h3 {margin:10px 0;}
.thread-files {color:#999999;margin:10px 0 0 0;padding: 7px 0 0 0;border-top:1px dotted #CCC;}
.thread-bottom {padding:10px 0 0 0;border-top:#dedede 1px solid;display:block;margin:0 0 20px 0;}
.thread-bottom select {color: #000;border: 1px solid #dedede;padding: 3px 6px;margin-bottom:2px;}
.thread-bottom a {margin-bottom:2px;}	
.last_post_img{float:right;padding:5px;}
.added_later {color: #CCC;margin: 10px 0;display: block;}
.forum_poll_data{background-color:#F2F2F2;}
.forum_poll_header{width:100%;background-color:#EBEBEB;border-bottom:dashed 1px #A8C2CF;}
.forum_poll_title{font-weight:bold;font-size:18px;}
.forum_poll_desc{font-size:12px;margin: 4px 0;}
.forum_poll_gauge_title{font-size:12px;}
.forum_poll_gauge{height:15px;background-color:#212529;margin-bottom:10px;font-size:10px;color:#212529;text-align:right;}
.forum_poll_submit{margin:10px;}
.forum_poll_param{margin:0 0 7px 0;font-size: 12px;}
.thread-userimg {margin:4px auto;padding:5px;}
.thread-userimg img {width:64px;height:64px;background:#212529;border:#dedede 1px solid;padding:2px;}
.thread-userawards{margin-top:3px;margin-bottom:3px;color:orange;}
.thread-userrank{font-size:10px;color:#e2e3e5;}
.thread-userrank span{display:block;clear:both;}
.thread-userrank .user_rank{font-size:10px;color:#e2e3e5;}
.thread-userrank .admin_rank{font-size:10px;color:#660000;}
.thread-userrank .moder_rank{font-size:10px;color:#C00;}
.thread-usermsgcnt{font-size:10px;}
.post_userkarma{padding:2px;margin:2px;font-size:10px;}
.thread-userlink{color:#e2e3e5;font-weight:bold;}
.thread-post_editdate{color:#999999;margin:10px 0 0 0;padding: 7px 0 0 0;border-top:1px dotted #CCC;font-size: 11px;font-style:italic;}
.thread-post_signature{margin-top:10px;border-top:solid 1px #dedede;padding-top:4px;}
.forum_quote{padding:10px;border:dashed 1px gray;background-color:#EBEBEB;font-size:12px;color: gray;margin:8px;}
.forum_quote_author{text-align:right;}
.forum_lostimg{padding:5px;border:solid 1px #dedede;color:#212529;}
.thread-fast{margin-top:2px;}
.thread-fast h3 {margin-bottom:10px;}
.thread-form {}
.thread-form .cm_editor {margin-top:10px;}
.thread-form .cm_editor textarea {position:relative;width:100% !important;max-width:100% !important;}
.forum_fast_form #message {border: 0 none;font-size: 100%;margin: 0;padding: 3px 0;width: 100%;height:108px;max-height:702px;}
/* Приложенные файлы к сообщению форума */
.forum_fa{margin: 6px 0 0 0;border: solid 1px #CCC;padding:7px;}
.forum_fa table {width:600px !important;}
.forum_fa_title{font-weight:bold;}
.forum_fa_desc{border-bottom:solid 1px #dedede;margin-bottom:10px;padding-bottom:8px;}
.forum_fa_entries{background-color:#f9f9f9;border:1px solid #dedede;padding: 8px;margin:6px 0 0 0;display:none;}
.fa_attach {display:block;}
.fa_attach_title {margin-top:6px;margin-bottom:6px;font-weight:bold;color: #e2e3e5;}
.fa_file {width:100%;}
.fa_file td {padding:5px;}
.td_fa_img {width:28px;}
.td_fa_img img {width:24px;height:24px;border:#dedede 1px solid;padding:2px;}
.fa_file_desc{font-size:10px;}
.fa_file_link{font-size:10px;margin-left:5px;}


/* user-grid как «таблица» */
.user-grid {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #dee2e6; /* внешняя рамка */
  margin: 0;
}

/* ячейка */
.user-cell {
  flex: 0 0 25%;               /* 4 колонки */
  box-sizing: border-box;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  padding: 0.65rem 0.75rem;
  min-height: 60px;
  display: flex;
  align-items: center;         /* выравнивание по вертикали — как в таблице */
  background: #fff;
}

/* у последней колонки в строке правый бордер убираем */
.user-cell:nth-child(4n) {
  border-right: 0;
}

/* у последней строки убираем нижний бордер (чтобы «край таблицы» выглядел ровно) */
.user-cell:nth-last-child(-n+4) {
  border-bottom: 0;
}

/* --- адаптив --- */
/* tablet: 3 колонки */
@media (max-width: 991.98px) {
  .user-cell { flex-basis: 33.3333%; }
  .user-cell { -ms-flex: 0 0 33.3333%; }
  .user-cell:nth-child(4n) { border-right: 1px solid #dee2e6; } /* вернуть старое правило */
  .user-cell:nth-child(3n) { border-right: 0; }
  .user-cell:nth-last-child(-n+3) { border-bottom: 0; }
}

/* small: 2 колонки */
@media (max-width: 767.98px) {
  .user-cell { flex-basis: 50%; }
  .user-cell:nth-child(3n) { border-right: 1px solid #dee2e6; }
  .user-cell:nth-child(2n) { border-right: 0; }
  .user-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* x-small: 1 колонка */
@media (max-width: 575.98px) {
  .user-cell { flex-basis: 100%; border-right: 0; }
  .user-cell:nth-last-child(-n+1) { border-bottom: 0; }
}

/* внутри ячейки можно стилизовать имя */
.user-name { font-weight: 500; display: block; color: #212529; text-decoration: none; }
.user-sub { font-size: .85rem; color: #6c757d; margin-top: .25rem; }
@media (max-width: 767.98px) { 
	.lead {
		font-size:inherit;
	}
}