.agenda {
  position: relative;
  overflow: hidden;
  background-color: #F2F4F5;
  padding: 100px 0;
}
.agenda__decor {
  position: absolute;
  top: 20.88%;
  right: -4.48%;
  width: 19.9vw;
  max-width: 382px;
  height: auto;
  pointer-events: none;
}
.agenda__inner {
  position: relative;
  z-index: 1;
  width: 1300px;
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.agenda__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.agenda__title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 48px;
  color: #003A5D;
}
.agenda__intro {
  margin: 0;
  width: 607px;
  max-width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #262626;
}
.agenda__switch {
  display: flex;
  gap: 4px;
  width: 320px;
  max-width: 100%;
  padding: 4px;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #9DB8C9;
  border-radius: 30px;
}
.agenda__switch-btn {
  flex: 1 0 0;
  min-width: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 30px;
  background-color: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #003A5D;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-base);
}
.agenda__switch-btn:hover {
  background-color: rgba(0, 58, 93, 0.06);
}
.agenda__switch-btn.is-active {
  background-color: #003A5D;
  color: #fff;
}
.agenda__switch-btn:focus-visible {
  outline: 2px solid #0090D4;
  outline-offset: 2px;
}
.agenda__panel {
  width: 100%;
}
.agenda__panel[hidden] {
  display: none;
}
.agenda__list {
  display: grid;
  grid-template-columns: repeat(4, 298px);
  justify-content: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agenda__item {
  display: flex;
  margin: 0;
  padding: 0;
}
.agenda__item::before {
  content: none;
}
.agenda__empty {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #262626;
  text-align: center;
}

.agenda-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.agenda-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 300px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #9DB8C9;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 58, 93, 0.1);
  color: #003A5D;
  text-decoration: none;
  transition: var(--transition-base);
}
.agenda-card--link {
  cursor: pointer;
}
.agenda-card--link *,
.agenda-card--link p,
.agenda-card--link span,
.agenda-card--link h3 {
  cursor: pointer;
}
.agenda-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 58, 93, 0.16);
}
.agenda-card--link:focus-visible {
  outline: 2px solid #0090D4;
  outline-offset: 3px;
}
.agenda-card__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background-color: #003A5D;
  color: #fff;
}
.agenda-card__date {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
}
.agenda-card__year-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.agenda-card__year {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.agenda-card__type {
  padding: 2px 10px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.16);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}
.agenda-card__datebox, .agenda-card__kind, .agenda-card__chevron {
  display: none;
}
.agenda-card__body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}
.agenda-card__infos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.agenda-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: #003A5D;
  text-align: center;
  overflow-wrap: break-word;
}
.agenda-card__place {
  display: flex;
  align-items: center;
  gap: 6px;
}
.agenda-card__place--empty {
  height: 24px;
}
.agenda-card__icon {
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
}
.agenda-card__place-text {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #262626;
}
.agenda-card__status {
  padding: 4px 12px;
  border-radius: 30px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}
.agenda-card__cta {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  color: #003A5D;
  text-align: center;
}
.agenda-card--available .agenda-card__status {
  background-color: #D3ECF8;
  border: 1px solid #0090D4;
  color: #003A5D;
}
.agenda-card--full .agenda-card__status {
  background-color: #C62828;
  color: #fff;
}
.agenda-card--conference .agenda-card__head {
  background-color: #0072A8;
}
.agenda-card--conference .agenda-card__type {
  background-color: #003A5D;
}
.agenda-card--conference .agenda-card__status {
  background-color: #fff;
  border: 1px solid #0072A8;
  color: #0072A8;
}
.agenda-card--past .agenda-card__head {
  background-color: #E9EEF1;
  color: #3B5566;
}
.agenda-card--past .agenda-card__type {
  background-color: transparent;
  border: 1px solid #3B5566;
}
.agenda-card--past .agenda-card__title {
  color: #3B5566;
}
.agenda-card--past .agenda-card__status {
  background-color: #3B5566;
  border-color: #3B5566;
  color: #fff;
}

@media only screen and (max-width: 1319px) {
  .agenda__list {
    grid-template-columns: repeat(3, 298px);
  }
}
@media only screen and (max-width: 995px) {
  .agenda__list {
    grid-template-columns: repeat(2, 298px);
  }
}
@media only screen and (max-width: 767px) {
  .agenda {
    padding: 48px 0;
  }
  .agenda__decor {
    top: 30.33%;
    right: -16.51%;
    width: 39.7vw;
    max-width: 149px;
  }
  .agenda__inner {
    width: auto;
    padding-inline: 16px;
    gap: 24px;
  }
  .agenda__header {
    width: 100%;
  }
  .agenda__title {
    font-size: 28px;
    font-weight: 600;
    line-height: 38px;
  }
  .agenda__switch {
    width: 100%;
  }
  .agenda__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .agenda-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 0;
    border-radius: 16px;
  }
  .agenda-card--link:hover {
    transform: none;
  }
  .agenda-card__head, .agenda-card__cta {
    display: none;
  }
  .agenda-card__datebox {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 88px;
    padding: 8px 4px;
    box-sizing: border-box;
    background-color: #003A5D;
    color: #fff;
    text-align: center;
  }
  .agenda-card__day {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
  }
  .agenda-card__month, .agenda-card__yearbox {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
  .agenda-card__body {
    flex: 1 1 0;
    min-width: 0;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px 12px 12px;
  }
  .agenda-card__infos {
    align-items: flex-start;
    gap: 6px;
  }
  .agenda-card__kind {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #003A5D;
  }
  .agenda-card__title {
    display: block;
    min-height: 0;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
  }
  .agenda-card__place {
    gap: 4px;
  }
  .agenda-card__place--empty {
    display: none;
  }
  .agenda-card__icon {
    width: 16px;
    height: 16px;
  }
  .agenda-card__place-text {
    font-size: 14px;
    line-height: 20px;
  }
  .agenda-card__status {
    padding: 2px 8px;
    font-size: 12px;
    line-height: 16px;
  }
  .agenda-card__chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-right: 12px;
  }
  .agenda-card__chevron svg {
    display: block;
    width: 20px;
    height: 20px;
  }
  .agenda-card--conference .agenda-card__datebox {
    background-color: #0072A8;
  }
  .agenda-card--past .agenda-card__datebox {
    background-color: #E9EEF1;
    color: #3B5566;
  }
}
