
:root {
  --swiper-theme-color: #007aff;
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(
    --swiper-wrapper-transition-timing-function,
    initial
  );
  box-sizing: content-box;
}
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
:root {
  --swiper-navigation-size: 44px;
}
.swiper .swiper-notification {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  z-index: -1000;
}
.swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
}
.swiper-fade .swiper-slide-active {
  pointer-events: auto;
}

* {
  font-family: TheSansTrial, sans-serif;
}
p {
  line-height: 165%;
  font-family: TheSansTrial, sans-serif !important;
}
ul {
  line-height: 165%;
  font-family: TheSansTrial, sans-serif !important;
}
li {
  line-height: 165%;
  font-family: TheSansTrial, sans-serif !important;
}
h2 {
  font-family: TheSansTrial, sans-serif !important;
  font-size: 24px !important;
  line-height: 135% !important;
  font-weight: normal !important;
}
body {
  font-family: TheSansTrial, sans-serif !important;
}
html {
  font-family: TheSansTrial, sans-serif !important;
}
* {
  font-family: TheSansTrial, sans-serif !important;
}
ul {
  font-size: 18px;
}
li {
  font-size: 18px;
}

p {
  font-size: 18px !important;
  color: rgb(51, 50, 47) !important;
  line-height: 165% !important;
}
b {
  color: rgb(51, 50, 47);
  font-size: 18px !important;
}
@media (max-width: 460px) {
  .loo-im {
    display: none !important;
  }
}
@media (max-width: 420px) {
  .seitenkopf__title {
    padding-left: 0px !important;
  }
}

/* === УНИКАЛЬНЫЕ КЛАССЫ === */
.cold-slider-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 40px auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.cold-slider-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  background: #000;
}

.cold-slider-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.cold-slider-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.cold-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

/* === КНОПКИ ДЛЯ БЕЛОГО ФОНА — КОНТРАСТНЫЕ === */
.cold-slider-controls {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}

.cold-slider-btn {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cold-slider-btn:hover {
  background: #f5f5f5;
  border-color: #cccccc;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cold-slider-btn:active {
  transform: translateY(-1px);
  background: #eeeeee;
}

.cold-slider-btn svg {
  width: 22px;
  height: 22px;
  fill: #333333;
  transition: fill 0.3s ease;
}

.cold-slider-btn:hover svg {
  fill: #00aaff;
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
  .cold-slider-wrapper {
    max-width: 500px;
    margin: 25px auto;
  }
  .cold-slider-btn {
    width: 48px;
    height: 48px;
  }
  .cold-slider-btn svg {
    width: 20px;
    height: 20px;
  }
  .cold-slider-controls {
    gap: 24px;
    margin-top: 18px;
  }
}

@media (max-width: 480px) {
  .cold-slider-wrapper {
    max-width: 400px;
    padding: 0 5px;
  }
  .cold-slider-btn {
    width: 44px;
    height: 44px;
  }
  .cold-slider-btn svg {
    width: 18px;
    height: 18px;
  }
  .cold-slider-controls {
    gap: 20px;
  }
}

#form-title {
  background: #2559ae;
}
#reg-form {
  border: 2px solid #2559ae;
}

/* Основной контейнер комментариев */
.comments-container {
  max-width: 680px;
  margin: 0 auto;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #050505;
  background: #fff;
}

/* Один комментарий */
.comment {
  padding: 12px 0;
  border-bottom: 1px solid #e4e6eb;
}

.comment:last-child {
  border-bottom: none;
}

/* Заголовок: аватар + имя + время */
.comment-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  flex-shrink: 0;
}

.comment-meta {
  display: flex;
  flex-direction: column;
}

.username {
  font-weight: 600;
  color: #050505;
  font-size: 15px;
  margin-bottom: 2px;
}

.time {
  font-size: 13px;
  color: #606770;
}

/* Текст комментария */
.comment-text {
  margin-left: 52px; /* отступ под аватар */
  color: #050505;
  word-break: break-word;
}

/* Действия: Gefällt mir · Antworten · X */
.comment-actions {
  margin: 6px 0 0 52px;
  font-size: 13px;
  color: #606770;
}

.comment-actions span {
  cursor: pointer;
}

.comment-actions span:hover {
  text-decoration: underline;
}

/* Ответы (replies) */
.reply {
  margin: 12px 0 0 52px;
  position: relative;
}

/* Уровень вложенности 2 (ответ на ответ) */
.reply.level-2 {
  margin-left: 92px;
}

/* Линия вложенности (как в Facebook) */
.reply.level-2::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 20px;
  bottom: -12px;
  width: 2px;
  background: #e4e6eb;
  z-index: 1;
}

/* Мобильная адаптация */
@media (max-width: 500px) {
  .comments-container {
    padding: 0 12px;
  }

  .avatar {
    width: 36px;
    height: 36px;
  }

  .comment-text,
  .comment-actions,
  .reply {
    margin-left: 48px;
  }

  .reply.level-2 {
    margin-left: 84px;
  }

  .reply.level-2::before {
    left: -36px;
  }
}

.regBtn {
  padding: 8px;
  border-radius: 4px;
  margin: 20px auto;
  text-align: center;
  color: white !important;
  font-size: 18px;
  line-height: 130%;
  font-weight: bolder !important;
  text-decoration: none;
  display: flex;
  justify-content: center;
  max-width: 400px;
  transition: all 0.6s ease-in-out;
  font-family: monospace;
  background: #015999;
  animation: pulse 1.8s infinite ease-in-out;
}

.regBtn:hover {
  transform: scale(1.02);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(44, 16, 201, 0.5);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(38, 16, 201, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(16, 93, 201, 0.5);
  }
}

img {
  max-width: 100%;
}
