.featured-productions {
  padding: 1rem 0;
}

.featured-productions__header-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .35rem;
}

.featured-productions__header {
  margin-bottom: 1.5rem;
}

.featured-productions__header .eyebrow {
  color: #156C88;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .05em;
  margin: 0;
}

.featured-productions__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #08172f;
  margin: 0;
}

.featured-toggle {
  border: none;
  background: transparent;
  color: #7b8da3;
  font-size: .82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  transition: .2s ease;
  padding: 0;
}

.featured-toggle:hover {
  color: #156C88;
}

.featured-productions.is-hidden .featured-productions__layout,
.featured-productions.is-hidden h2 {
  display: none;
}

.featured-productions__layout {
  display: grid;
  gap: 1rem;
}

.featured-main {
  display: grid;
  grid-template-columns: 38% 1fr;
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(8, 23, 47, .08);
}

.featured-main__media {
  min-height: 330px;
  background: #eaf5f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-main__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-main__media .fallback-icon {
  font-size: 5rem;
  color: #156C88;
}

.featured-main__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-main__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

.type-label {
  color: #156C88;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .82rem;
}

.year {
  background: #e7f4f7;
  color: #156C88;
  border-radius: 999px;
  padding: .35rem .7rem;
  font-weight: 700;
  font-size: .8rem;
  white-space: nowrap;
}

.volet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.pill {
  border-radius: 999px;
  padding: .35rem .65rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.pill--sante { background: #B2D235; color: #243000; }
.pill--education { background: #00AEE7; }
.pill--emploi { background: #B44A9C; }
.pill--autochtones { background: #E54E26; }
.pill--citoyennete { background: #FDB940; color: #443000; }

.featured-main h3 {
  color: #08172f;
  font-size: clamp(1.5rem, 2.4vw, 1.8rem);
  line-height: 1.12;
  margin: 0 0 .75rem;
}

.featured-excerpt {
  color: #4d5f76;
  font-size: .95rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.featured-excerpt:empty {
  display: none;
}

.authors {
  color: #7b8da3;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.authors:empty {
  display: none;
}

.btn-featured {
  width: fit-content;
  background: #156C88;
  color: #fff;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-weight: 700;
  text-decoration: none;
  font-size: small;
}

.featured-thumbs {
  display: grid;
  gap: .8rem;
}

.featured-thumbs--count-2 {
  grid-template-columns: repeat(2, 1fr);
}

.featured-thumbs--count-3 {
  grid-template-columns: repeat(3, 1fr);
}

.featured-thumbs--count-4 {
  grid-template-columns: repeat(4, 1fr);
}

.featured-thumb {
  border: 1px solid #e8eef3;
  background: #fff;
  border-radius: 16px;
  padding: .7rem;
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}

.featured-thumb:hover,
.featured-thumb.is-active {
  border-color: #156C88;
  box-shadow: 0 8px 22px rgba(8, 23, 47, .08);
  transform: translateY(-2px);
}

.featured-thumb.is-active {
  outline: 3px solid rgba(21, 108, 136, .15);
}

.featured-thumb img,
.thumb-fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  object-fit: cover;
  background: #eaf5f8;
  margin-bottom: .65rem;
}

.thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #156C88;
  font-size: 2rem;
}

.thumb-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #08172f;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.25;
  min-height: 2.2rem;
}

.dots {
  display: flex;
  gap: .3rem;
  margin-top: .55rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot--sante { background: #B2D235; }
.dot--education { background: #00AEE7; }
.dot--emploi { background: #B44A9C; }
.dot--autochtones { background: #E54E26; }
.dot--citoyennete { background: #FDB940; }

@media (max-width: 991px) {
  .featured-main {
    grid-template-columns: 1fr;
  }

  .featured-main__media {
    min-height: 260px;
  }

  .featured-thumbs--count-2,
  .featured-thumbs--count-3,
  .featured-thumbs--count-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .featured-productions__header-top {
    align-items: flex-start;
  }

  .featured-thumbs--count-2,
  .featured-thumbs--count-3,
  .featured-thumbs--count-4 {
    grid-template-columns: 1fr;
  }

  .featured-main__content {
    padding: 1.4rem;
  }
}

.featured-thumbs--hidden {
  display: none;
}