.idasso {
  #indemnites {
    margin: 0 auto;
    max-width: 81.25rem;
    padding: 1.5rem;
    color: var(--idasso-paragraph-color, var(--idasso-paragraph-color, #000));
  }
  .indemnites-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

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

  .year-select__trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 0.0625rem solid
      var(--wp--preset--color--idasso-border-strong, #0f0f3533);
    color: var(--idasso-paragraph-color, var(--idasso-paragraph-color, #000));
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 0.875rem;
    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--static .year-select__trigger {
    cursor: default;
  }

  .year-select--static .year-select__icon,
  .year-select--static .year-select__popover {
    display: none;
  }

  .year-select__label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.25rem;
    font-weight: 700;
  }

  .year-select__icon {
    flex: 0 0 auto;
    position: relative;
    width: 0.75rem;
    height: 0.75rem;
  }

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

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

  .year-select__popover {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--idasso-color-surface);
    border: 0.0625rem solid var(--idasso-color-border-strong);
    border-radius: 1rem;
    box-shadow: 0 0.875rem 2.5rem var(--idasso-color-border-strong);
    padding: 0.375rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 10;
  }

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

  .year-select__option {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 0.75rem;
    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(--idasso-paragraph-color, var(--idasso-paragraph-color, #000));
    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(--idasso-paragraph-color, var(--idasso-paragraph-color, #000));
    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-recap__amount, .indemnites-recap__amount span {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    padding-bottom: 0;
  }

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

  .indemnites-items li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--idasso-paragraph-color, var(--idasso-paragraph-color, #000));
    font-size: 1.125rem;
    font-weight: 500;
    border-bottom: 0.0625rem solid var(--idasso-color-border-strong);
    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: 1.5rem;
  }

  .indemnites-items li a.not_read::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 0.625rem;
    height: 0.625rem;
    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: 40.0625rem) {
    .indemnites-header {
      flex-direction: row;
      gap: 4rem;
      align-items: center;
      margin-bottom: 6rem;
    }

    .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: 1.5rem;
      align-self: flex-start;
    }

    .recus {
      font-size: 1.125rem;
    }

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

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