.poster-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.poster-cards-box {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  padding: 20px;
  gap: 16px;
}

.poster-container > p {
  font-family: 'Ledger', serif;
  font-size: 64px;
  font-weight: 500;
  margin: 0;
  color: #2c3e50;
}

/* Filters Styling */
.poster-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poster-filter-div {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
}

.poster-filter-div .filter-section {
  flex-shrink: 0;
}

.poster-row-filter {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.poster-filter-block {
  flex-shrink: 1;
  min-width: 0;
}

.filter-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-filter {
  background: #F5F5F5;
  border: 1px solid #dee2e6;
  color: #909785;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  margin-bottom: 0;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
}

.btn-filter:hover {
  background: #909785;
  color: white;
  border-color: #909785;
}

.btn-filter.active {
  background: #909785;
  color: white;
  border-color: #909785;
}

.dropdown-custom {
  position: relative;
  display: inline-block;
  min-width: 150px;
  max-width: 280px;
  flex-shrink: 1;
}

.dropdown-custom .btn {
  width: 100%;
  background: #F5F5F5;
  border: 1px solid #909785;
  color: #909785;
  border-radius: 22px;
  padding: 8px 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-custom .dropdown-menu {
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  padding: 10px;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-item.selected {
  background-color: #909785;
  color: white;
}

.date-input {
  width: 100%;
  padding: 8px;
  text-align: center;
  border: 1px solid #909785;
  border-radius: 8px;
  font-size: 16px;
  background: #F5F5F5;
  border-radius: 22px;
}

.date-input:focus {
  outline: none;
  border-color: #909785;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}


/* Timeline navigation */
.poster-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 2rem;
}

.poster-pagination[hidden] {
  display: none;
}

.poster-nav {
  display: inline-flex;
  height: 44px;
  width: 48px;
  padding: 12px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: 1px solid #909785;
  background: transparent;
  color: #909785;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.poster-nav svg {
  display: block;
}

.poster-nav:hover:not(:disabled) {
  border-color: #C58C78;
  color: #C58C78;
}

.poster-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.badge.offline {
  display: flex;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #F6E2DB;
  color: #000;
  font-family: "AA Stetica";
  font-size: clamp(9px, 0.625vw, 12px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  border-radius: 0 !important;
}

.card {
  box-shadow: 0 10px 10px rgba(206, 203, 201, 0.3) !important;
}

.bg-img {
  position: absolute;
  top: 200px;
  right: 0;
  z-index: -100;
  opacity: 0.5;
}

.bg-img-bot {
  position: absolute;
  top: 1300px;
  left: 0;
  z-index: -100;
  opacity: 0.5;
}  
/* Responsive */


.section_standart {
  min-height: 1500px;
}
@media (max-width: 767px) {
  .poster-cards-box {
    grid-template-columns: 1fr;
  }
  
  .filter-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .dropdown-custom {
    min-width: 100%;
  }

  .poster-filter-div {
      flex-direction: column;
  } 

  .poster-row-filter {
      flex-direction: column;
  }

  .poster-filter-block {
      width: 100%;
      padding: 10px !important;
  }

  .btn-filter {
      width: 30%;
  }

  .filter-btn-block {
      justify-content: space-between;
      width: 100%;
      margin-right: 0px;
  }

  .btn-cl-events {
      width: 100%;
  }

  .mob-no-mb {
      margin-bottom: 0% !important;
  }

  .poster-cards-box {
      padding: 0%;
  }

    .pr-header-top {
      font-size: 50px;
  }    

  .pr-text-head-top {
      font-size: 40px;
  }
  
  .card-title {
      font-size: 20px !important;
  }    

  .btn-filter {
      font-size: 13px;
  }    
}


@media (max-width: 768px) {
  .poster-cards-box {
    grid-template-columns: 1fr;
  }
  
  .filter-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .dropdown-custom {
    min-width: 100%;
  }

}

.loading {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
  grid-column: 1 / -1;
}

.no-results h4 {
  margin-bottom: 1rem;
  color: #495057;
}

#cityDropdown.show::after {
  transform: rotate(180deg);
}

#instructorDropdown.show::after {
  transform: rotate(180deg);
}

.flatpickr-day.selected,  .flatpickr-day.endRange {
  background: #909785 !important;
  border-color: #909785 !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-hidd {
    display: flex;
    }

  .poster-cards-box {
    grid-template-columns: repeat(2, 1fr);
  }  
}

@media (min-width: 768px) and (max-width: 1499px) {
.mobile-hidd {
  display: flex;
  }
}