@media screen and (max-width: 800px) {
   span.bcategory{margin:0px}
   .status{display:none!important;}
   .bpfull {padding:0 0 0 15px!important;}
   .board-list{margin:0 -10px;}
}

.board-list{
    border-top: 1px solid #888;
}

.tel{
	text-decoration:none!important;
}

.bpfull{
	padding-left:130px;
}

.simg{
	float:left; width: 100px;  margin:0 15px; text-align: center; position:relative; overflow: hidden;
}



.adlabel{
	float:right; cursor:pointer; color: #332f1e; background-color: #fef5cd; font-family: Verdana; display: inline-block; vertical-align: baseline; border-radius: 3px; font-size: 11px; line-height: 15px;    padding: 0 6px 1px;
}

.off {
  opacity:0.4;
  filter:alpha(opacity=40);
  -moz-opacity:0.4;
}
.fileuploader{
  margin: 0px!important;
  padding: 0px!important;
  background: none!important;  
}
.fileuploader-items .fileuploader-item .fileuploader-item-image img {max-height:none!important; height:100%!important;}


.ddesc{
display: -webkit-box;
-webkit-line-clamp: 3; 
-webkit-box-orient: vertical; 
overflow: hidden; 
max-width:500px;
}
.ddate{
  color: #6b6b6b;
  font-size: 12px;
}

    .square-container {
      position: relative;
      aspect-ratio: 1/1;
      overflow: hidden;
          border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    }

    .square-container .bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0.7;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    z-index: 0;
    }

    .square-container img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      z-index: 1;

    opacity: 0;
    transition: opacity 0.1s ease;
    }
    .square-container img.active {
    opacity: 1;
}


.photo-gallery {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
  -ms-overflow-style: none;
}

.photo-gallery::-webkit-scrollbar {
  display: none; 
}

.photo-track img {
  height: 150px;
  width: auto;
  display: inline-block;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  object-fit: cover;
  cursor: pointer;
}

.photo-track a {
  margin-right: 10px;
}


.line {
    overflow: hidden;
    cursor: pointer;
    padding: 15px 10px 15px 5px;
    line-height: 150%;
    font-size: 16px;
    position: relative;
    transition: background-color 0.1s ease;
    border-bottom: 1px solid #e6e6e6;
}

/* Цвета для обычных */
.line:nth-child(odd):not(.vip) {
    background-color: #ffffff;
}
.line:nth-child(even):not(.vip) {
    background-color: #f6f7f9;
}

/* Цвета для VIP */
.line.vip:nth-child(odd) {
    background-color: #fffdf2;
}
.line.vip:nth-child(even) {
    background-color: rgb(255, 253, 227);
}

/* Hover */
.line:hover:not(.vip, .nohover) {
    background-color: #e8f1f7;
}
.line.vip:hover {
    background-color: #fff8d6;
}

/* Золотая полоска — без смещения */
.line.vip::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #f2c94c; /* мягкий золотистый */
    border-radius: 2px;
}
.line.del {
    background-color: #fdf2f2 !important;
    color: #a94442;
}

.line.del:hover {
    background-color: #fae1e1 !important;
}


@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.line a,
.line a:hover {
  color: #154572;
  text-decoration: none;
  transition: color 0.1s ease;
}


.line a:visited {
  color: #768593; /* более светлый, показывает "вы уже тут были" */
}