/* Стили для третьей секции номинаций */
.section3-container {
  position: relative;
  left: 0;
  z-index: 10;
  width: 100%;
  min-height: 900px;
}

@media (min-width: 768px) {
  .section3-container {
    min-height: 900px;
  }
}

@media (min-width: 1536px) {
  .section3-container {
    min-height: 1200px;
  }
}

.section3-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0279C1 0%, #FF2A92 100%);
}

.section3-content {
  position: relative;
  z-index: 10;
  padding: 40px 16px 40px 16px;
}

@media (min-width: 768px) {
  .section3-content {
    padding: 80px 52px 40px 52px;
  }
}

@media (min-width: 1536px) {
  .section3-content {
    padding: 100px 52px 40px 52px;
  }
}

.section3-title-wrapper {
  display: flex;
  justify-content: center;
}

.section3-title-img {
  width: 280px;
  height: 50px;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

@media (min-width: 768px) {
  .section3-title-img {
    width: 1182px;
    height: 196px;
  }
}

@media (min-width: 1536px) {
  .section3-title-img {
    width: 1615px;
    height: 268px;
  }
}

.nom-container {
  margin-top: 48px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Ширина аккордеона для разных разрешений - УБРАНО */
@media (min-width: 1440px) {
  .nom-container {
    width: 100%;
  }
}

@media (min-width: 1920px) {
  .nom-container {
    width: 100%;
  }
}

.nom-list {
  width: 100%;
}

.nom-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  
  /* Белые боковые бордеры для каждого блока - тонкие */
  border-left: 0.5px solid white;
  border-right: 0.5px solid white;
  
  /* Тень по верхней границе - умеренная */
  box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.2);
  
  /* Внутренний отступ слева */
  padding-left: 20px;
  
  /* Базовая высота для мобильных */
  min-height: 120px;
}

/* Градиентный фон для нечетных блоков - линейный градиент */
.nom-item:nth-child(odd) {
  background: linear-gradient(180deg, rgba(2, 121, 193, 0.5) 0%, rgba(255, 42, 146, 0.5) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Градиентный фон для четных блоков - линейный градиент */
.nom-item:nth-child(even) {
  background: linear-gradient(180deg, rgba(244, 244, 244, 0.25) 0%, rgba(255, 42, 146, 0.5) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Высота блоков для 1440px */
@media (min-width: 1440px) {
  .nom-item {
    min-height: 170px;
  }
}

/* Высота блоков для 1920px */
@media (min-width: 1920px) {
  .nom-item {
    min-height: 274px;
  }
  
  /* Градиенты для 1920px экранов */
  .nom-item:nth-child(odd) {
    background: linear-gradient(180deg, rgba(2, 121, 193, 0.5) 0%, rgba(255, 42, 146, 0.5) 100%);
  }
  
  .nom-item:nth-child(even) {
    background: linear-gradient(180deg, rgba(244, 244, 244, 0.25) 0%, rgba(255, 42, 146, 0.5) 100%);
  }
}

.nom-trigger {
  position: relative;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  color: rgba(234, 234, 234, 1);
}

.nom-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 0;
}

.nom-header-top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nom-header-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
}

@media (min-width: 768px) {
  .nom-header {
    flex-direction: row;
  }
  
  .nom-header-top {
    width: 50%;
  }
  
  .nom-header-bottom {
    width: 50%;
  }
}

.nom-title {
  font-family: Inter, sans-serif;
  width: 100%;
  display: block;
  line-height: 120%;
  letter-spacing: -4%;
  text-transform: uppercase;
  
  /* Базовые стили для мобильных */
  font-weight: 500;
  font-size: 24px;
}

@media (min-width: 768px) {
  .nom-title {
    width: 70%;
  }
}

/* Стили для 1440px */
@media (min-width: 1440px) {
  .nom-title {
    font-weight: 500;
    font-size: 40px;
    width: 75%;
  }
}

/* Стили для 1920px */
@media (min-width: 1920px) {
  .nom-title {
    font-weight: 600;
    font-size: 65px;
    width: 90%;
  }
}

.nom-slash {
  color: #00FF66;
}

.project-nomination-title {
  color: rgba(234, 234, 234, 1);
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  width: 100%;
  text-align: left;
  transition: opacity 0.3s;
  opacity: 0;
  margin: 0;
  display: none;
}

@media (min-width: 768px) {
  .project-nomination-title {
    width: 50%;
    font-size: 40px;
    letter-spacing: -0.04em;
    display: block;
  }
}

@media (min-width: 1536px) {
  .project-nomination-title {
    font-size: 54px;
  }
}

/* Стили для SVG стрелки */
.nom-arrow {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease, filter 0.3s ease;
  transform: rotate(0deg);
  
  /* Закрытое состояние - серый цвет */
  filter: brightness(0) saturate(100%) invert(93%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(92%) contrast(92%);
}

/* Открытое состояние - зеленый цвет и поворот ровно на 180 градусов */
.nom-trigger[aria-expanded="true"] .nom-arrow {
  filter: brightness(0) saturate(100%) invert(75%) sepia(91%) saturate(6500%) hue-rotate(95deg) brightness(118%) contrast(119%);
  transform: rotate(180deg);
}

.nom-panel-inner {
  padding: 0 8px 16px 8px;
  color: rgba(234, 234, 234, 1);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s cubic-bezier(0.65, 0.05, 0.36, 1), transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
  max-height: 0;
  overflow: visible;
}

@media (min-width: 768px) {
  .nom-panel-inner {
    padding: 0 20px 24px 20px;
    font-size: 16px;
    overflow: visible;
  }
}

@media (min-width: 1536px) {
  .nom-panel-inner {
    padding: 0 32px 32px 32px;
    font-size: 18px;
    overflow: visible;
  }
}

.nom-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 0;
  position: relative;
}

@media (min-width: 768px) {
  .nom-content {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 400px;
  }
}

.nom-left-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
}

@media (min-width: 768px) {
  .nom-left-col {
    width: 50%;
    margin-top: 0;
    padding-top: 0;
  }
}

.nom-description {
  color: rgba(234, 234, 234, 1);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -0.04em;
  text-align: left;
  max-width: 100%;
}

@media (min-width: 768px) and (max-width: 1439px) {
  .nom-description {
    font-size: 26px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.04em;
  }
}

@media (min-width: 1440px) {
  .nom-description {
    font-size: 40px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.04em;
    max-width: 600px;
  }
}

.nom-right-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
}

@media (min-width: 768px) {
  .nom-right-col {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    margin-top: 0;
    padding-top: 0;
  }
}

@media (min-width: 1440px) {
  .nom-right-col {
    top: 0;
  }
}

.nom-scroll-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: auto;
  max-height: 400px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  position: relative;
}

@media (min-width: 768px) {
  .nom-scroll-content {
    max-height: 600px;
    margin-top: 0;
  }
}

.nom-images {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: flex-start;
  width: auto;
  min-width: 0;
  flex-direction: column;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .nom-images {
    gap: 16px;
    flex-direction: row;
    top: -20px;
    right: -20px;
  }
}

.nom-image-1 {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  flex-shrink: 0;
  background-image: url('../img/new-design/Активное долголетие 1.png');
}

@media (min-width: 768px) {
  .nom-image-1 {
    width: 350px;
    height: 294px;
  }
}

@media (min-width: 1536px) {
  .nom-image-1 {
    width: 450px;
    height: 400px;
  }
}

.nom-image-2 {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  flex-shrink: 0;
  background-image: url('../img/new-design/Активное долголетие 2.png');
}

@media (min-width: 768px) {
  .nom-image-2 {
    width: 230px;
    height: 190px;
  }
}

@media (min-width: 1536px) {
  .nom-image-2 {
    width: 300px;
    height: 235px;
  }
}

.nom-list-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(234, 234, 234, 1);
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .nom-list-items {
    font-size: 18px;
  }
}

.nom-bullet {
  color: #00FF66;
}

.nom-description-right {
  color: rgba(234, 234, 234, 1);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: -0.01em;
  text-align: left;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) and (max-width: 1439px) {
  .nom-description-right {
    font-size: 26px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.04em;
    margin-top: 0;
  }
}

@media (min-width: 1440px) {
  .nom-description-right {
    font-size: 40px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.04em;
    margin-top: 0;
  }
}

/* Активное состояние аккордеона */
.nom-trigger[aria-expanded="true"] + .nom-panel-inner {
  opacity: 1;
  transform: translateY(0);
  max-height: 1000px;
}

.nom-trigger[aria-expanded="true"] .project-nomination-title {
  opacity: 1;
}

/* Правила для скрытия/показа дополнительной информации */
.nom-expandable {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0 !important;
}

/* Показываем дополнительную информацию когда аккордеон открыт */
.nom-trigger[aria-expanded="true"] .nom-expandable {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 8px !important;
}

/* Специальное правило для nom-header-bottom - без отступа сверху */
.nom-trigger[aria-expanded="true"] .nom-header-bottom.nom-expandable {
  margin-top: 0 !important;
}

/* Стили для партнера номинации */
.nom-partner-info {
  font-family: Inter;
  font-weight: 500;
  font-style: italic;
  line-height: 100%;
  letter-spacing: -1%;
  text-transform: uppercase;
  color: rgba(234, 234, 234, 1);
  margin-top: 8px;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
  max-width: 90%;
  
  /* Базовый размер для мобильных */
  font-size: 16px;
}

/* Стили для 1440px */
@media (min-width: 1440px) {
  .nom-partner-info {
    font-size: 14px;
  }
}

/* Стили для 1920px */
@media (min-width: 1920px) {
  .nom-partner-info {
    font-size: 20px;
  }
}

/* Стиль для выделения слэша в направлении проекта */
.nom-slash-highlight {
  color: rgba(64, 255, 0, 1) !important;
}

/* Стили для заголовка "ПРОЕКТ В ЭТОЙ НОМИНАЦИИ МОЖЕТ БЫТЬ НАПРАВЛЕН НА:" */
.nom-project-direction-title {
  font-family: Inter;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -4%;
  color: rgba(234, 234, 234, 1);
  margin-top: 0;
  margin-left: 0;
  padding-left: 0;
  text-transform: uppercase;
  text-align: left;
  
  /* Базовый размер для мобильных */
  font-size: 18px;
}

/* Стили для 1440px */
@media (min-width: 1440px) {
  .nom-project-direction-title {
    font-size: 26px;
  }
}

/* Стили для 1920px */
@media (min-width: 1920px) {
  .nom-project-direction-title {
    font-size: 40px;
  }
}
