@charset "UTF-8";
.container {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 992px) {
  .container {
    max-width: 1296px;
    padding: 0 40px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 688px;
    padding: 0 40px;
  }
}
@media (max-width: 767px) {
  .container {
    max-width: calc(100% - 30px);
    padding: 0 15px;
  }
}
.vk-news-wall {
  margin-top: 160px;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .vk-news-wall {
    margin-top: 64px;
  }
}
@media screen and (max-width: 767px) {
  .vk-news-wall {
    margin-top: 56px;
  }
}
.vk-news-wall .h2 {
  margin-bottom: 64px;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .vk-news-wall .h2 {
    margin-bottom: 48px;
  }
}
@media screen and (max-width: 767px) {
  .vk-news-wall .h2 {
    margin-bottom: 32px;
  }
}
.vk-news-wall .swiper-nav {
  display: flex;
  gap: 10px;
}
.vk-news-wall .swiper-button-custom {
  width: 40px;
  height: 40px;
  background: #EDF2F8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #725EF2;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  user-select: none;
}
.vk-news-wall .swiper-button-custom:hover {
  background: #725EF2;
  color: white;
  transform: scale(1.05);
}
.vk-news-wall .swiper-button-custom.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.vk-news-wall .swiper {
  overflow: visible;
}
.vk-news-wall .swiper-wrapper {
  padding: 0;
  align-items: stretch;
}
.vk-news-wall .swiper-slide {
  height: auto;
  width: 320px;
}
@media (max-width: 991px) {
  .vk-news-wall .slider-buttons {
    position: relative;
    height: auto;
    margin-top: 70px;
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .vk-news-wall .slider-buttons {
    margin-top: 8px;
  }
}
.vk-news-wall {
  /* Карточка поста - без фиксированной высоты */
}
.vk-news-wall .post-card {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(44, 45, 52, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 0 32px;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .vk-news-wall .post-card {
    padding: 24px;
  }
}
.vk-news-wall .post-card:hover {
  -webkit-box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.vk-news-wall {
  /* Шапка карточки */
}
.vk-news-wall .post-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  padding-top: 32px;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .vk-news-wall .post-header {
    padding-top: 24px;
  }
}
.vk-news-wall .post-date-badge {
  background: #D5E0F0;
  color: #2C2D34;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}
.vk-news-wall {
  /* Текст поста - без flex:1 */
}
.vk-news-wall .post-text {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0em;
  color: #2C2D34;
  word-break: break-word;
  overflow-y: auto;
  min-height: 80px;
  max-height: none;
}
.vk-news-wall .post-text a {
  color: #725EF2;
  text-decoration: none;
}
.vk-news-wall .post-text a:hover {
  text-decoration: underline;
}
.vk-news-wall {
  /* Текст с ограничением (когда есть медиа) - 5 строк */
}
.vk-news-wall .post-text-limited {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0em;
  color: #2C2D34;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vk-news-wall .post-text-limited a {
  color: #725EF2;
  text-decoration: none;
}
.vk-news-wall .post-text-limited a:hover {
  text-decoration: underline;
}
.vk-news-wall {
  /* Контейнер для контента (текст + опрос + ссылка) */
}
.vk-news-wall .content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vk-news-wall {
  /* Слайдер медиа */
}
.vk-news-wall .media-swiper {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: #1e1e2f;
  flex-shrink: 0;
  margin-top: 24px;
  margin-bottom: 16px;
}
.vk-news-wall .media-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
}
.vk-news-wall .media-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vk-news-wall .media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.vk-news-wall .media-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}
.vk-news-wall .media-prev {
  left: 8px;
}
.vk-news-wall .media-next {
  right: 8px;
}
.vk-news-wall .media-counter {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  z-index: 10;
}
.vk-news-wall .media-type {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
}
.vk-news-wall .video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  z-index: 10;
  pointer-events: none;
}
.vk-news-wall {
  /* Опрос */
}
.vk-news-wall .poll-preview {
  margin-top: 16px;
}
.vk-news-wall .poll-preview-question {
  font-size: 12px;
  font-weight: 600;
  color: #2C2D34;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  line-height: 1.4;
}
.vk-news-wall .poll-button {
  display: inline-block;
  background: #725EF2;
  color: white;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.vk-news-wall .poll-button:hover {
  background: #5a4ac9;
}
.vk-news-wall {
  /* Ссылка */
}
.vk-news-wall .link-preview {
  margin: 0 16px 12px 16px;
  padding: 10px 12px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.vk-news-wall .link-preview:hover {
  background: #e8edf5;
}
.vk-news-wall .link-preview-icon {
  width: 32px;
  height: 32px;
  background: #D5E0F0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.vk-news-wall .link-preview-title {
  font-size: 12px;
  font-weight: 500;
  color: #2C2D34;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vk-news-wall {
  /* Кнопка подробнее - прижата к низу */
}
.vk-news-wall .post-footer {
  margin-top: 24px;
  flex-shrink: 0;
  display: flex;
  padding-bottom: 32px;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .vk-news-wall .post-footer {
    padding-bottom: 24px;
  }
}
.vk-news-wall {
  /* Модальное окно */
}
.vk-news-wall .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
}
.vk-news-wall .modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vk-news-wall .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 1001;
}
.vk-news-wall .modal-slider {
  position: relative;
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vk-news-wall .modal-slider img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.vk-news-wall .modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
  padding-bottom: 6px;
}
.vk-news-wall .modal-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}
.vk-news-wall .modal-prev {
  left: 20px;
}
.vk-news-wall .modal-next {
  right: 20px;
}
.vk-news-wall .modal-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}
.vk-news-wall .post-text::-webkit-scrollbar {
  width: 4px;
}
.vk-news-wall .post-text::-webkit-scrollbar-track {
  background: #D5E0F0;
  border-radius: 4px;
}
.vk-news-wall .post-text::-webkit-scrollbar-thumb {
  background: #725EF2;
  border-radius: 4px;
}
@media screen and (max-width: 767px) {
  .vk-news-wall .swiper-slide {
    width: 300px;
  }
}

/*# sourceMappingURL=vk-news-wall.css.map */
