/* ==========================================================================
   БАЗОВЫЕ СТИЛИ: ДЛЯ МОБИЛЬНЫХ (Экран по умолчанию)
   ========================================================================== */

.actress-container {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* Отступы между основными секциями */
  width: 100%;
  padding: 1rem;
}

/* Все три секции на мобилках занимают 100% ширины */
.actress-section-top,
.actress-section-middle,
.actress-section-bottom {
  width: 100%;
}

.actress-section-top {
  border-bottom: 1px solid var(--border-header);
  margin-bottom: 2rem;
  text-align: center;
}

/* Внутри средней секции элементы тоже выстраиваются в один столбец */
.actress-section-middle {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.actress-properties {
  max-width: 100%;
  margin: 0 2rem;
}

.actress-photo {
  max-width: 250px;
  max-height: 250px;
  margin: 0 auto;
}

/* Стили для нашей ровной таблицы характеристик (как делали раньше) */
.actress-properties .field,
.actress-properties__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  margin: 0.5em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.actress-properties .field .field__label,
.actress-properties .field .field__item,
.actress-properties .field .field__items {
  float: none !important; /* Железно убиваем друпаловские флоаты */
  padding: 0; /* Убираем дефолтные отступы, чтобы не ломали выравнивание */
}

.actress-properties .field .field__label {
  /* padding: 0;
  font-weight: 400;
  color: var(--text-gray); */
}

/* .actress-properties .field .field__item, */
.actress-properties__item {
  padding: 0;
  font-weight: 600;
}

.field--name-field-aliases .field__label {
  letter-spacing: 0.1rem;
  font-weight: 600;
}

.field--name-field-aliases {
  font-style: italic;
}

.social-networks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.social-btn {
  padding: 1.5rem 2rem;
  border-radius: 2px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  flex: 1;
  min-width: 12rem;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.social-btn:hover {
  transform: scale(1.035);
  -webkit-filter: brightness(120%);
}

.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.onlyfans {
  background-color: #0088cc;
}

.twitter {
  background-color: #1da1f2;
}

.facebook {
  background-color: #1877f2;
}

.bio,
.social-networks {
  margin-bottom: 6rem;
}

.bio-title {
  font-size: 1.6rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.bio-text {
  text-align: justify;
}

/* Общий контейнер для строки параметров */
.actress-features {
  margin-top: 1.5rem;
}

/* Стилизация названия поля (Tattoo:, Piercing:) */
.actress-features__label,
.actress-features .field__label {
  font-weight: 600;
  color: #fff;
  font-size: 1.6rem;
}

/* Контейнер, где Drupal выводит элементы */
.actress-features .field,
.actress-features .field__items {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: baseline;
}

/* Убираем дефолтные стили Drupal-элемента */
.actress-features .field__item {
  display: inline-flex;
}

/* Сами ссылки-теги (Back, Arm, nose, navel) */
.actress-features .field__item a {
  background: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  font-size: 1.4rem;
  font-weight: 600;
  border: 1px solid #333;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

/* Эффект при наведении на тег */
.actress-features .field__item a:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(255, 183, 3, 0.4);
}

.field--name-field-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}

.actress-gallery {
  margin-top: 5rem;
  text-align: center;
}

.actress-gallery h2 {
  margin-bottom: 2rem;
  /* text-align: center; */
}

.actress-gallery__images img {
  border: 1px solid #fff;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.actress-gallery__images img:hover {
  transform: scale(1.035);
  -webkit-filter: brightness(110%);
}

.comments-wrapper {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 2rem;
}

.comments-title {
  font-size: 2rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid #2d2d2d; /* Тонкая темная линия */
  padding-bottom: 1.2rem;
  font-weight: 600;
}
.coments {
  background: #1e1e1e; /* Темный фон карточки под цвет темы */
  border: 1px solid #2d2d2d; /* Аккуратная темная рамка вместо яркой белой */
  border-radius: 0.8rem;
  padding: 1.6rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease;
}
.coments:hover {
  background: #252525; /* Легкое подсвечивание при наведении */
}
.coments-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.coments-img {
  margin-right: 1.2rem;
  flex-shrink: 0;
}
.image-style-commentos {
  border-radius: 50%;
  object-fit: cover;
  background-color: #2d2d2d;
  border: 1px solid #3d3d3d;
}
.coments-top {
  display: flex;
  flex-direction: column;
}
.coments-user-name {
  font-weight: 600;
  color: #e5e7eb; /* Светлое имя пользователя */
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 2px;
}
.coments-data {
  font-size: 1.1rem;
  color: #9ca3af; /* Приглушенный серый для даты */
}
.coments-text {
  font-size: 1.4rem;
  color: #d1d5db; /* Комфортный для чтения светлый текст комментария */
  line-height: 1.5;
  word-break: break-word;
}

.view-similar {
  margin-top: 2rem;
  background: var(--bg-card);
  border-radius: 3px;
  padding: 2rem;
}

.similar-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1.5rem; /* Отступ между текстом заголовка и линией */
  width: 100%;
}

.similar-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(10deg, rgba(255, 255, 255, 0.8), transparent);
}

/* 1. Делаем ссылку (контейнер) относительным */
.view-similar .actress-similar {
  position: relative;
  display: block; /* Ссылка должна быть блочной */
  overflow: hidden; /* Чтобы скругления и имя не вылезали за края */
  border-radius: 3px; /* Необязательно, если уже есть */
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.actress-similar:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

/* 2. Настройки самой картинки */
.view-similar .actress-similar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Чтобы картинка заполняла квадрат */
  display: block; /* Убирает отступ снизу */
}

/* 3. Позиционируем имя поверх картинки */
.view-similar .actress-similar__name {
  position: absolute;
  bottom: 0; /* Прижимаем к нижнему краю */
  left: 0;
  right: 0; /* Растягиваем на всю ширину */
  background: rgba(0, 0, 0, 0.7);
  padding: 0.8rem 1rem;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   АДАПТИВ: ДЛЯ ПК И ПЛАНШЕТОВ (Экран от 576px и шире)
   ========================================================================== */
@media screen and (min-width: 576px) {
  .actress-properties {
    margin: 0;
  }
}

/* ==========================================================================
   АДАПТИВ: ДЛЯ ПК И ПЛАНШЕТОВ (Экран от 768px и шире)
   ========================================================================== */
@media screen and (min-width: 768px) {
  h1 {
    text-align: left;
  }

  /* Перестраиваем среднюю секцию в горизонтальный ряд (две колонки) */
  .actress-section-middle {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start; /* Чтобы колонки не растягивались по высоте друг друга */
    /* gap: 40px;  */
  }

  /* На всякий случай фиксируем, что верх и низ железно остаются на всю ширину */
  .actress-section-top,
  .actress-section-bottom {
    width: 100%;
  }

  /* ---------МОИ СТИЛИ ---------------------------------*/

  .actress-properties {
    width: 250px;
  }

  .bio-title,
  .actress-gallery h2 {
    text-align: left;
  }
}
