#indemnites {
  margin: 0 auto;
  max-width: 1300px;
  padding: 24px;
  color: var(--color-text);
  /*font-family: "Raleway", sans-serif;*/
}
#indemnites h1,
#indemnites h2,
#indemnites h3,
#indemnites h4,
#indemnites h5,
#indemnites h6 {
  /*font-family: "Poppins", sans-serif;*/
}

.indemnites-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 2rem;
}

.indemnites-header h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.year-select {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.year-select__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(15, 16, 53, 0.2);
  color: var(--color-text);
  font-size: 20px;
  font-weight: 600;
  border-radius: 14px;
  padding: 0.65rem 1.75rem 0.65rem 1.25rem;
  cursor: pointer;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
  box-sizing: border-box;
}

.year-select__label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.year-select__icon {
  flex: 0 0 auto;
  position: relative;
  width: 12px;
  height: 12px;
}

.year-select__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.year-select__trigger[aria-expanded="true"] .year-select__icon::after {
  transform: rotate(135deg) translateY(1px);
}

.year-select__popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(15, 16, 53, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(15, 16, 53, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 10;
}

.year-select__popover[hidden] {
  display: none !important;
}

.year-select__option {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
}

.year-select__option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.year-select__option span {
  font-size: 1rem;
  font-style: normal;
  color: var(--color-text);
  cursor: pointer;
}

.year-select__option[aria-selected="true"] span {
  color: var(--color-titre);
}

.year-select__option:not([aria-selected="true"]):hover span {
  color: var(--color-t);
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.indemnites-content {
  display: flex;
  gap: 2rem;
  flex-direction: column-reverse;
}

.indemnites-content h2 {
  font-size: 26px;
  font-weight: 300;
  color: var(--color-text);
  margin: 0;
  margin-bottom: 2rem;
}
@media (min-width: 641px) {
  .indemnites-content h2 {
    font-size: 35px;
  }
}

.indemnites-recap__amount {
  font-size: 64px;
  font-weight: 700;
  margin: 0;
  padding-bottom: 2rem;
}

.et_pb_post_content_0_tb_body ul.indemnites-items {
  list-style: none !important;
  padding-left: 0!important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
.et_pb_post_content_0_tb_body ul{
  padding-left: 0 !important;
}

.indemnites-items li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(15, 16, 53, 0.12);
  padding-bottom: 1rem;
  padding-top: 1rem;
  transition: all 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  color: var(--color-lien);
  font-weight: 700;
  position: relative;
}
.indemnites-items li a:hover {
  gap: 1.25rem;
}

.indemnites-items li a.not_read{
  padding-right: 24px;
}

.indemnites-items li a.not_read::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: var(--color-error);
  border-radius: 50%;
  transform: translateY(-50%);
}


.indemnites-items li a svg path {
  stroke: var(--color-lien);
  fill: var(--color-lien);
}

@media (min-width: 641px) {
  .indemnites-header {
    flex-direction: row;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
  }

  .indemnites-header h1 {
    font-size: 40px;
  }

  .year-select {
    width: fit-content;
  }

  .year-select__trigger {
    width: auto;
    justify-content: flex-start;
    font-size: 1.875rem;
    font-weight: 700;
    padding: 0.9rem 2.5rem 0.9rem 1.75rem;
  }

  .year-select__option {
    font-size: 1.0625rem;
  }

  .indemnites-content {
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    gap: 1rem;
  }

  .indemnites-items-container {
    flex: 1 1 60%;
  }
  .indemnites-recap {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }

  .recus {
    font-size: 18px;
  }

  .indemnites-items {
    max-width: 75%;
  }

  .indemnites-items li a {
    width: auto;
  }
}
