.newsSwitcher {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.newsSwitcher__container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
}

.newsSwitcher__item {
  flex: 1;
  max-width: 45%;
}

.newsSwitcher__item--previous {
  text-align: left;
}

.newsSwitcher__item--next {
  text-align: right;
}

.newsSwitcher__link {
  display: block;
  color: var(--Orange, #eb5a37);
  font-family: "Asap", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.newsSwitcher__link:hover {
  transform: translateY(-2px);
}

.newsSwitcher__direction {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.newsSwitcher__item--previous .newsSwitcher__direction {
  justify-content: flex-start;
}

.newsSwitcher__item--next .newsSwitcher__direction {
  justify-content: flex-end;
}

.newsSwitcher__arrow {
  color: var(--Orange, #eb5a37);
  transition: transform 0.3s ease;
}

.newsSwitcher__link:hover .newsSwitcher__arrow {
  transform: scale(1.2);
}

.newsSwitcher__item--previous .newsSwitcher__link:hover .newsSwitcher__arrow {
  transform: scale(1.2) translateX(-3px);
}

.newsSwitcher__item--next .newsSwitcher__link:hover .newsSwitcher__arrow {
  transform: scale(1.2) translateX(3px);
}

.newsSwitcher__label {
  font-family: "Asap", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--Orange, #eb5a37);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newsSwitcher__title {
  font-family: "Asap", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin-top: 8px;
}

.newsSwitcher__link:hover .newsSwitcher__title {
  color: var(--Orange, #eb5a37);
}

.newsSwitcher__placeholder {
  height: 80px;
  visibility: hidden;
}

/* Single item centering when only one navigation exists */
.newsSwitcher__container:has(.newsSwitcher__placeholder) {
  justify-content: center;
}

.newsSwitcher__item:has(.newsSwitcher__placeholder) {
  display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .newsSwitcher {
    padding: 30px 0;
  }

  .newsSwitcher__container {
    flex-direction: column;
    gap: 20px;
  }

  .newsSwitcher__item {
    max-width: 100%;
  }

  .newsSwitcher__item--next {
    text-align: left;
  }

  .newsSwitcher__item--next .newsSwitcher__direction {
    justify-content: flex-start;
    flex-direction: row-reverse;
  }

  .newsSwitcher__link {
    padding: 16px;
    min-height: 70px;
  }

  .newsSwitcher__title {
    font-size: 15px;
  }

  .newsSwitcher__label {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .newsSwitcher {
    padding: 20px 0;
  }

  .newsSwitcher__container {
    gap: 15px;
  }

  .newsSwitcher__link {
    padding: 14px;
    min-height: 60px;
  }

  .newsSwitcher__title {
    font-size: 14px;
  }

  .newsSwitcher__label {
    font-size: 12px;
  }

  .newsSwitcher__arrow {
    width: 16px;
    height: 16px;
  }
}
