

.tiroirSwitch{
    font-family: "BNPP Sans"!important;
    width: 100%;
    margin: 20px 0;
    background: none;
    color: black;
    border: none;
    font-size:18px;
    position:relative;
  }
  
  .keyboard-user .tiroirSwitch:focus{
    outline: 2px solid black;
  }
  
  .keyboard-user .temps-forts .tiroirSwitch:focus,
  .keyboard-user .outline-white:focus{
    outline: 2px solid white;
  }
  
  .tiroirSwitch::after {
    content: "";
    border: solid #088657;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 10px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    cursor: pointer;
    position:absolute;
    top:8px;
  }
  
  .tiroirSwitch[aria-expanded="true"]::after {
    content: "";
    border: solid #088657;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 10px;
    transform: rotate(226deg);
    -webkit-transform: rotate(226deg);
    cursor: pointer;
    position: absolute;
    top: 12px;
    transition: 0.3s;
  }
  
  .tiroirSwitch:hover::after {
    top:14px;
    transition: 0.3s;
  }
  
  .tiroirSwitch[aria-expanded="true"]:hover::after {
    top: 8px;
    transition: 0.3s;
  }
  
  .card-tiroir{
    position:relative;
    min-height: 380px;
  }
  
  @media (max-width: 991px){
    .card-tiroir{
      min-height: 280px;
    }
    .card-standard .card-img-top{
      max-height: 150px;
    }
  }
  
  /* .card-tiroir .card-footer{
    position:absolute;
    bottom:0;
  } */
  
  .gradient-card-footer {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    transition: .4s;
    position: absolute;
  }
  
  .card-tiroir:hover .gradient-card-footer {
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    transition: .4s;
  }
  
  .card-tiroir {
    position: relative;
    overflow: hidden;
  }
  
  .card-fullbackground{
    background-size: 100%;
    top:0;
    content:"";
    width: 100%;
    height: 380px;
    transition: transform 0.6s ease;
  }
  
  .card-standard{
    overflow: hidden;
  }

  .card-bnpp{
    transition: box-shadow .3s;
  }

  .card-bnpp:hover,.footer-rounded-card:hover{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    transition: box-shadow .3s;
  }

  
  
  .keyboard-user .card-bnpp:has(.stretched-link:focus){
    outline: 2px solid black;
  }
  
  .card-standard .bg-white{
    z-index: 1;
  }

  .card-standard .boite-text{
    flex-grow: 1;
  }

  .card-standard .card-img{
    min-height: 243.7px;
    object-fit: cover;
  }
  
  .boite-card-rounded{
    padding-left: 30px;
    z-index: 10;
    width: 100%;
    transition: padding-left 0.4s;
    flex-grow: 1;
  }

  .boite-card-rounded > div{
    height: calc(100% + 15px);
  }

  .grid-contenus-preferes li:hover .boite-card-rounded,
  .block-fonction-temps li:hover .boite-card-rounded
  {
    padding-left: 20px;
    transition: padding-left 0.4s;
  }

  .text-boite-card-rounded{
    min-height: 60px;
  }


  .card-img{
    border-bottom-left-radius: 0!important;
    border-bottom-right-radius: 0!important;
  }
  
  .img-card-rounded{
    overflow: hidden;
    width: 100%;
    border-top-left-radius: .375rem;
    border-top-right-radius: .375rem;
    border-bottom-left-radius: .375rem;
  }

  .img-card-rounded img{
    border-top-left-radius: .375rem;
    border-top-right-radius: .375rem;
    border-bottom-left-radius: .375rem;
    object-fit: cover;
  }
  
  .card-tiroir:hover .card-fullbackground, 
  .card-standard:hover .card-img,
  .card-standard:has(.stretched-link:focus) .card-img,
  .card-tiroir:has(.stretched-link:focus) .card-fullbackground,
  .bloc-contenus-preferes li:has(.stretched-link:focus) .img-card-rounded img,
  .bloc-contenus-preferes li:has(.stretched-link:hover) .img-card-rounded img
  {
    transform: scale(1.05);
    transition: transform 0.6s ease;
  }
  
  .card-img-top{
    min-height: 175px;
  }
  
  .card-rapport-annuel a:hover{
    text-decoration: underline!important;
    text-underline-offset: 3px;
  }
  
  .card-title{
    font-size: 18px;
    margin-bottom: 15px!important;
  }
  
  .header-top-dynamic-tiroir{
    display: flex;
    justify-content: space-between;
  }
  
  .fs-1.font-bnpp-condensed{
    font-size: calc(2.7rem + 1.5vw)!important;
    line-height: 1;
  }
  
  .fs-2.font-bnpp-condensed{
    font-size: calc(2.1rem + 1.5vw)!important;
    line-height: 1;
  }
  
  
  @media (min-width:1200px){
    .fs-1.font-bnpp-condensed{
      font-size: 3.7rem!important;
    }
    .fs-2.font-bnpp-condensed{
      font-size: 2.9rem!important;
    }
  }
  
  @media (min-width:768px) {
    .card-text{
      line-height: 2rem;
    }
  }

  @media (max-width:1200px) {
    .meta-temp,.meta-like{
      font-size: 12px;
    }
    .bnp_cp_meta{
      padding: 1.5rem!important;
    }
  }
  
  @media (max-width:991px) {
  
    .header-top-dynamic-tiroir{
      display: block;
    }
  
    .tiroir-title{
      line-height: 1;
      margin-bottom: 12px!important
    }
  
    .cta-top-tiroir{
      margin-bottom: 20px;
    }
  
    .block-fonction-temps ul{
      gap:1rem;
    }
    .bnp_cp_meta{
      padding: 1.5rem!important;
    }
    .meta-temp,.meta-like{
      font-size: 10px;
    }
  }
  
  .keyboard-user .card-tiroir:has(.stretched-link:focus){
    outline: 3px solid black;
  }
  
  .keyboard-user .temps-forts .card-tiroir:has(.stretched-link:focus){
    outline: 3px solid white;
  }
  
  .dynamic-tiroir{
    display:grid;
    transition: max-height 0.5s ease-in-out;
  }
  
  .tiroir-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    transition: max-height .4s ease-in-out;
    padding-left: 0;
    padding: 3px;
  }


.bnp_cp_meta {
    font-size: 14px;
    font-family: "Open Sans", Arial;
    color: #6d6d6d;
    display: block;
    position: absolute;
    bottom:0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
  }
  
  li .bnp_cp_meta {
    display: flex;
    justify-content: space-between;
  }
  
  .bnp_cp_meta i {
    font-size: 14px;
  }
  
  .bnp_cp_meta>span {
    margin-right: 14px;
  }
  
  figure.bnpp-src__figure .bnp_cp_meta {
    position: absolute;
    bottom: 15px;
    width: 100%;
    color: #fff;
  }

  ul:has(.card){
    gap: 1rem;
  }

  .card{
    padding:0;
    margin-top: 0;
    max-width: unset;
  }

  .date-cp {
    font-size: 52px;
    font-family: "BNPP Sans Condensed";
    line-height: 44px;
    font-weight: 700;
  }

  .blur-to-top{
    content:"";
    height: 100%;
    top:0;
    position: absolute;
    display: block;
    backdrop-filter: blur(5px);
    -webkit-mask-image:  linear-gradient(to top, black -40%, transparent 67%);
    mask-image: linear-gradient(to top, black -40%, transparent 67%);
    background-color:black;
  }

  .label-post{
    z-index:9
  }

  .card-fullbackground img{
    width:100%;
    height: 100%;
    object-fit: cover;
  }

  .img-card-rounded img{
    background-size:cover; height: 200px;
  }

  .footer-rounded-card{
    /* z-index: 9; */
  }

  .play-card-fullbackground{
    left:50%;right:50%;
  }
  
  @media (max-width:500px) {
  
  .tiroir-title{
    text-align: center;
  }
  }

  .text-ellipsis{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
  }