/* Modal */
#repris-modal {
  position: fixed;
  top:0; 
  left:0;
  width: 100%; 
  height: 100%;
  display: none;
  z-index: 9999;
}

.modal-overlay {
  position: absolute;
  top:0; 
  left:0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.9);
}
h2#modal-title {
  margin:0 0 0.3rem;
}
.modal-content {
  position: absolute;
  top:50%;
  left:50%; transform:translate(-50%,-50%);
  width:90%;
  max-width: 800px;
  background: transparent;
  z-index: 10;
}
.modal-info {
  position:relative;
  background:#fff;
  padding:2rem;
  border-radius:1rem;
  margin-top:1rem;
  max-height:300px;
  overflow:scroll;
}
.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 2rem;
  background: #fff;
  width:36px;
  height:36px;
  border: none;
  border-radius:100em;
  cursor: pointer;
  
}
#modal-video {
  aspect-ratio:16/9;
  border-radius:1rem;
  overflow:hidden;
}
#modal-video iframe {
  width:100%;
  height:100%;
}
#modal-tax {
  margin-bottom:1.5rem;
}
#modal-tax p {
  font-size: .8rem;
  margin:0;
}
a#modal-program {
  display:inline-flex;
  padding:.6rem 2rem;
  border-radius: .5rem;
  background:var(--royal-blue);
  text-decoration: none;
  color:var(--cloudy-white);
}

/* Grid */
.repris-grid {
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
}
.repris-item {
  flex-basis:33%;
  background:#fff;
  border-radius:2rem;
  font-size:.9rem;
  line-height:1.6;
  transition-duration: .3s;
}
.repris-item:hover {
  box-shadow: 0 4px 15px #bcd0f7;
  transform: scale(1.002) translateY(-3px);
  transition-duration: .3s;
}
@media(max-width:992px) {
  .repris-item {
    flex-basis:50%;
    flex-grow:1;
  }
}
.repris-item img {
  width:100%;
  aspect-ratio: 16/9;
  object-fit:cover;
  border-radius:1rem 1rem 0 0;
}
.thumbwrap {
  position:relative;
}
img.play-icon {
  position:absolute;
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  width:36px;height:36px;
}
.repris-item .details {
  padding:1.5rem;
  display:flex;
  flex-direction:column;
  align-items:space-between;
}
.repris-item a {
  text-decoration:none;
  color:inherit;
}
.repris-item .top {
}
.repris-item h3 {
  font-size:1.1rem;
  font-weight:400;
  color:var(--deep-blue);
  margin:0 0 0.5rem;
}
.repris-item .bottom {
  font-size:.8rem;
  line-height:1.5;
}

/* Filter */
#repris-filters {
  padding: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  margin-bottom: 2rem;
  font-size: .8rem;
  font-family:inherit;
}
#repris-filters form#filter-form {
  display:flex;
  gap:2rem;
  width:100%;
}
.filter-group {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-basis: 33%;
}
.filter-group label {
  visibility:hidden;
  font-size:0;
}
.filter-group select {
  appearance:unset;
  -webkit-appearance:unset;
  padding: .5rem 1rem;
  border:1px solid #ccc;
  border-radius:8px;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%23333" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.516 7.548a.75.75 0 0 1 1.06-.032L10 10.699l3.424-3.183a.75.75 0 1 1 1.032 1.088l-4 3.72a.75.75 0 0 1-1.032 0l-4-3.72a.75.75 0 0 1-.032-1.06z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1em;
  margin: 0.5em 0;
}
.filter-group button {
  height:32px;
  cursor:pointer;
}
.filter-group button:hover {
  opacity:.8;
}
input#filter-sok {
  appearance:unset;
  -webkit-appearance:unset;
  padding: .5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 0.5em 0;
  max-height: 32px!important;
  font-weight: 300;
}