.yz-lenta-bottom {
  position: relative;
  /* тут добавьте любые ваши базовые стили для блока */
}

.yz-lenta-bottom::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 16px; /* высота ленты */
  background:
    repeating-linear-gradient(
      135deg,
      #FFD600,      /* желтый */
      #FFD600 16px,
      #222 16px,
      #222 32px
    );
  z-index: 2;
  border-bottom-left-radius: 4px; /* не обязательно */
  border-bottom-right-radius: 4px;
}

.sticky-widget {
    position: sticky;
    top: 70px; /* Отступ от верха */
    align-self: flex-start; /* Если внутри flex-контейнера */
    transition: all 0.3s;
}

/* Отключаем sticky, когда блок доходит до футера */
.footer-active .sticky-widget {
    position: static;
}

/* Общие стили подвала */
.footer {
  padding: 4px;
  position: relative;
  font-family: 'Caveat', 'Comic Sans MS', cursive; /* Рукописный шрифт */
}

/* Текст-цитата как фон */
.handwritten-quote {
  font-size: 24px;
  line-height: 1.6;
  color: #333;
  opacity: 0.9;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Эффект "обведенного слова" */
.marked-link {
  text-decoration: none;
  color: inherit;
  position: relative;
}

.marked-link::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 2px;
  height: 12px;
  background: rgba(255, 215, 0, 0.4); /* Полупрозрачный желтый (как маркер) */
  z-index: -1;
  border-radius: 2px;
  transform: skewX(-10deg); /* Наклон для эффекта от руки */
}

.marked-link:hover::after {
  background: rgba(255, 215, 0, 0.7);
}

/* Дополнительные элементы */
.footer-links {
  margin-top: 30px;
  text-align: center;
}

.footer-links a {
  margin: 0 15px;
  color: #555;
  text-decoration: none;
  border-bottom: 1px dashed #555;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.3;
  pointer-events: none; /* Чтобы не перекрывало клики */
}
/* Базовые стили */
.footer {
  display: flex;
  background: #2c3e50;
  color: white;
  padding: 30px;
  font-family: 'Arial', sans-serif;
  gap: 40px; /* Расстояние между блоками */
}

/* Левый блок: контакты */
.footer-contacts {
  flex: 1;
  max-width: 300px;
}

.footer-contacts h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #f39c12; /* Оранжевый акцент */
}

.footer-contacts p {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* QR-код */
.qr-code {
  margin: 20px 0;
  text-align: center;
}

.qr-code img {
  width: 120px;
  border: 2px solid white;
}

.qr-code p {
  font-size: 12px;
  margin-top: 5px;
}

/* Иконки (Font Awesome) */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  color: white;
  font-size: 24px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #f39c12;
  transform: translateY(-3px);
}

/* Правый блок: ссылки */
.footer-links {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #f39c12;
  padding-left: 5px;
}

#avatar {
    position: relative;
}
.user_profile_title::after {
    content: "";
    display: block;
    margin: 24px auto 0 auto;
    width: 60%;
    height: 20px;
    border-radius: 0px;
    background: repeating-linear-gradient(135deg, #fde80b 0 18px, #222 18px 36px);
    box-shadow: 0 2px 8px rgba(34,34,34,0.19);
}

#user_profile_title::after {
    content: "";
    display: block;
 height: 20px;
    border-radius: 6px;
    background: repeating-linear-gradient(135deg, #fde80b 0 18px, #222 18px 36px);
    box-shadow: 0 2px 8px rgba(34,34,34,0.19);
}



#microblog-float-btn {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background: #f7c100;
  color: #222;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  cursor: pointer;
  font-size: 24px;
  line-height: 50px;
  text-align: center;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

#microblog-float-btn:hover {
  background: #e0b800;
  color: #111;
}

#microblog-modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

#microblog-modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  max-width: 90vw;
  background: white;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  transform: translate(-50%, -50%);
  z-index: 9999;
  overflow-y: auto;
  max-height: 80vh;
}

#microblog-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #555;
}


.object-gallery img {
    transition: transform 0.3s ease;
    height: 150px;
    object-fit: cover;
    width: 100%;
}

.object-gallery img:hover {
    transform: scale(1.05);
}

.object-map {
    border-radius: 0.375rem;
    overflow: hidden;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.text-primary {
    color: #0d6efd !important;
}
