/* line 3, app/assets/stylesheets/boards.scss */
.boards-index-page .board > a {
  display: none;
}

/* line 6, app/assets/stylesheets/boards.scss */
.boards-index-page .board .board-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 13, app/assets/stylesheets/boards.scss */
.boards-index-page .board .board-desc > a p {
  margin: 0;
}

/* line 19, app/assets/stylesheets/boards.scss */
.boards-index-page .board.gallery {
  background: var(--uz-white);
  border: 1px solid var(--uz-line);
  border-radius: var(--uz-r-lg);
  overflow: hidden;
  transition: .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: static;
  margin-bottom: 22px;
}

/* line 32, app/assets/stylesheets/boards.scss */
.boards-index-page .board.gallery:hover {
  border-color: var(--uz-blue-light);
  box-shadow: 0 16px 38px rgba(11, 16, 48, 0.08);
  transform: translateY(-2px);
}

/* line 38, app/assets/stylesheets/boards.scss */
.boards-index-page .board.gallery > a {
  display: block;
}

/* line 42, app/assets/stylesheets/boards.scss */
.boards-index-page .board.gallery .board-title {
  position: static;
  bottom: auto;
  padding: 18px 20px 20px;
  background-color: transparent;
  width: auto;
  overflow: visible;
  margin-bottom: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--uz-navy);
  line-height: 1.42;
  letter-spacing: -.01em;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* line 59, app/assets/stylesheets/boards.scss */
.boards-index-page .board.gallery .board-title > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--uz-navy);
  overflow: hidden;
  text-decoration: none;
}

/* line 67, app/assets/stylesheets/boards.scss */
.boards-index-page .board.gallery .board-title > a .board-title-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: inherit;
  letter-spacing: inherit;
}

/* line 77, app/assets/stylesheets/boards.scss */
.boards-index-page .board.gallery .board-title > a span.board-date {
  margin-top: auto;
  padding-top: 10px;
  color: var(--uz-muted);
  text-align: left;
  font-weight: 500;
  font-size: 12.5px;
  height: auto;
}

/* line 87, app/assets/stylesheets/boards.scss */
.boards-index-page .board.gallery .board-title > a:hover {
  color: var(--uz-blue);
  text-decoration: none;
}

/* line 94, app/assets/stylesheets/boards.scss */
.boards-index-page .board.gallery .board-desc {
  display: none;
}

/* line 100, app/assets/stylesheets/boards.scss */
.boards-index-page .board-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* line 105, app/assets/stylesheets/boards.scss */
.boards-index-page .board-image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* line 115, app/assets/stylesheets/boards.scss */
.boards-index-page .board-image-wrapper:hover img {
  transform: scale(1.02);
}

/* line 120, app/assets/stylesheets/boards.scss */
.boards-index-page .boards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

/* line 126, app/assets/stylesheets/boards.scss */
.boards-index-page .boards-row > [class*="col-"] {
  width: auto;
  float: none;
  padding: 0;
  min-width: 0;
}

/* line 134, app/assets/stylesheets/boards.scss */
.boards-index-page .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
}

/* line 143, app/assets/stylesheets/boards.scss */
.boards-index-page .pagination li a,
.boards-index-page .pagination li.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--uz-line);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--uz-muted);
  text-decoration: none;
  background: var(--uz-white);
  transition: .2s;
}

/* line 161, app/assets/stylesheets/boards.scss */
.boards-index-page .pagination li a:hover {
  border-color: var(--uz-blue);
  color: var(--uz-blue);
}

/* line 166, app/assets/stylesheets/boards.scss */
.boards-index-page .pagination li.current {
  background: var(--uz-blue);
  border-color: var(--uz-blue);
  color: #fff;
}

/* line 172, app/assets/stylesheets/boards.scss */
.boards-index-page .pagination li.disabled a {
  opacity: .4;
  pointer-events: none;
}

@media (max-width: 1000px) {
  /* line 179, app/assets/stylesheets/boards.scss */
  .boards-index-page .boards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  /* line 185, app/assets/stylesheets/boards.scss */
  .boards-index-page .boards-row {
    grid-template-columns: 1fr;
  }
}

/* line 192, app/assets/stylesheets/boards.scss */
.boards-show-page .board-fallback {
  text-align: center;
}

/* line 194, app/assets/stylesheets/boards.scss */
.boards-show-page .board-fallback img {
  max-width: 100%;
  height: auto;
}

/* line 200, app/assets/stylesheets/boards.scss */
.boards-show-page .board-content {
  margin-top: 24px;
}

/* line 204, app/assets/stylesheets/boards.scss */
.boards-show-page .board-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 212, app/assets/stylesheets/boards.scss */
.boards-show-page #boardSlider .carousel-indicators {
  display: none !important;
}

/* line 215, app/assets/stylesheets/boards.scss */
.boards-show-page #boardSlider .hero-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  max-height: 80vh;
  overflow: hidden;
  background: #000;
}

/* line 224, app/assets/stylesheets/boards.scss */
.boards-show-page #boardSlider .hero-image-img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* line 232, app/assets/stylesheets/boards.scss */
.boards-show-page #boardSlider .hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
}

/* line 238, app/assets/stylesheets/boards.scss */
.boards-show-page #boardSlider .carousel-control .fa {
  font-size: 32px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* line 242, app/assets/stylesheets/boards.scss */
.boards-show-page #boardSlider .carousel-control {
  width: 6%;
  opacity: 0.75;
  background: none;
}

/* line 247, app/assets/stylesheets/boards.scss */
.boards-show-page #boardSlider .carousel-control:hover {
  opacity: 1;
}

/* line 250, app/assets/stylesheets/boards.scss */
.boards-show-page #boardSlider .carousel-arrow {
  font-size: 36px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  /* line 255, app/assets/stylesheets/boards.scss */
  .boards-show-page #boardSlider .hero-slide {
    min-height: 280px;
  }
}

@media (max-width: 576px) {
  /* line 260, app/assets/stylesheets/boards.scss */
  .boards-show-page #boardSlider .hero-slide {
    min-height: 200px;
  }
}
