.guten_block {
  height: 300px;
  margin: 0 0 0.5em 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.guten_block a {
  animation-name: fadeInOpacity;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
  display: none;
  height: 100%;
  padding: 1em;
  position: absolute;
  top: 0;
  width: 100%;
}
.guten_block:hover a {
  display: block;
}

.guten_block a h3 {
  background-color: #f7eeddcc;
  color: #333;
  font-size: 1rem;
  height: 87%;
  padding: 1em 1.5em;
  text-transform: uppercase;
}
/****** BLOC VIDE HP ******/
.wp-block-acf-plugin-empty-hp {
  background-color: #111;
  height: 300px;
  margin: 0 0 0.5em 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.empty_guten_block {
  height: 300px;
  margin: 0 0 0.5em 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}
/******BLOC JURY*******/
.wp-block-acf-plugin-programmation {
  width: 46%;
}
.jury,
.programmation_block {
  display: flex;
  flex-direction: column;
  height: 300px;
  margin: 0 0 15px;
  padding: 0 !important;
  width: inherit;
}
.two_columns .jury,
.two_columns .programmation_block,
.two_columns .invite {
  width: 593px;
}

.four_columns .jury,
.four_columns .programmation_block,
.four_columns .invite {
  height: 150px;
  width: 292px;
}
.jury h3,
.programmation_block h3 {
  color: #fff;
  padding: 10px 15px;
  text-transform: uppercase;
  line-height: 1;
}

.acf-block-preview .jury,
.acf-block-preview .programmation_block,
.acf-block-preview .exposition_square {
  cursor: default;
  display: flex;
  flex-direction: column;
  height: 240px;
  margin: 0 !important;
  pointer-events: none;
  text-decoration: none;
  width: inherit;
}

.acf-block-preview .jury h3,
.acf-block-preview .programmation_block h3,
.acf-block-preview .exposition_square h3 {
  color: #fff;
  margin: 0 !important;
  padding: 0.5rem 2rem;
  text-transform: uppercase;
}
.acf-block-preview .jury {
  height: 240px;
  background-size: cover;
}
.acf-block-preview .invite {
  border: 1px solid #000;
  max-width: 390px;
}
.acf-block-preview .invite .image {
  overflow: hidden;
}
.acf-block-preview .invite .image img {
  aspect-ratio: 1/0.61;
  height: auto;
  object-fit: cover;
  object-position: top;
}
.acf-block-preview .invite .description {
  padding: 15px;
}

/*****PROGRAMMATION******/

.programmation_block {
  width: 32.5%;
  transition: opacity 1s;
  text-decoration: none !important;
}

.programmation_block div {
  height: 280px;
  background-size: cover;
}

.acf-block-preview .programmation_block div {
  height: 240px;
  background-size: cover;
}
.acf-block-preview .programmation_block div p {
  display: none;
  width: 100%;
  height: 100%;
  padding: 1rem;
}
.acf-block-preview .programmation_block:hover div p {
  display: block;
}
.acf-block-preview .programmation_block:hover div {
  background-image: inherit;
}

.default_block,
.default_block_topimage {
  background: #fff;
  margin: 0 0 15px;
  height: 600px;
  position: relative;
}
.default_block_topimage div.wrapper_content_block_topimage,
.default_block > div:nth-of-type(1) {
  padding: 15px 1.5em;
}

.default_block_topimage h2:first-of-type,
.default_block h2:first-of-type {
  margin-bottom: 15px;
}

.default_block_topimage .content_default,
.default_block .content_default {
  font-family: 'Roboto Slab', serif;
  height: 200px;
  /* overflow: scroll; */
  overflow: auto;
  scrollbar-color: rgba(0, 0, 0, 0.5);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

/* .default_block_topimage .content_default::-webkit-scrollbar,
.default_block .content_default::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
}

.default_block_topimage .content_default::-webkit-scrollbar-thumb,
.default_block .content_default::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
} */
.default_block_topimage img {
  -o-object-fit: contain !important;
  object-fit: cover !important;
  max-height: 330px;
  width: 100%;
}
.default_block img {
  -o-object-fit: contain !important;
  object-fit: cover !important;
  position: absolute;
  bottom: 0;
  max-height: 330px;
  width: 100%;
}
.default_block_topimage .content_default a,
.default_block .content_default a {
  color: #000;
  /* font-size: 0.85em; */
  /* display: inline-block; */
  /* line-height: 1; */
  /* margin-bottom: 10px; */
  padding: 2px 2px 2px 0;
  text-decoration: underline;
  transition: all 0.3s ease;
}
.default_block_topimage .content_default a:hover,
.default_block .content_default a:hover {
  background: var(--white);
  text-decoration: none;
}

.two_columns,
.three_columns,
.four_columns,
.page-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -15px;
}

.two_columns .default_block_topimage,
.two_columns .default_block {
  width: 49.35%;
}
.two_columns .default_block_topimage:nth-child(2n),
.two_columns .default_block:nth-child(2n) {
  margin-left: 15px;
}
.three_columns .default_block_topimage,
.three_columns .default_block {
  width: clamp(300px, 32%, 550px);
}

.four_columns .default_block_topimage,
.four_columns .default_block {
  width: clamp(150px, 24.15%, 300px);
}
/*************BLOC DE FILM***************/

.acf-block-preview .film,
.acf-block-preview .guten_block {
  height: 305px;
  display: flex;
  background-size: cover;
  justify-content: flex-start;
  pointer-events: none;
  width: 592px;
}
.acf-block-preview .guten_block a {
  display: block;
  height: 92%;
  padding: 0 1em;
  text-decoration: none;
  width: 91%;
}
.acf-block-preview .guten_block {
  width: 50%;
}

.acf-block-preview .film .description_film {
  color: black;
  display: flex;
  flex-direction: column;
  line-height: 1;
  padding: 1.5em 1em;
  width: 50%;
  margin: 1em;
  background-color: #f7eeddcc;
}
.acf-block-preview .film .description_film .category {
  margin: 0.2rem;
  padding: 0.3em;
}

.acf-block-preview .film .tags {
  margin: 0;
}

.acf-block-preview .film .tags li {
  background: inherit;
  color: #111;
  text-transform: uppercase;
}
.acf-block-preview .film .description_film h3 {
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.acf-block-preview .film .description_film .categories {
  margin: 1em 0;
  display: flex;
}

/*********BAKCOFFICE BLOC IMAGE GALLERY*********/

.acf-block-preview > .block_image_gallery {
  width: 390px;
  height: 305px;
  margin: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  text-decoration: none;
}
.acf-block-preview .block_image_gallery h3 {
  font-size: 3em;
  color: #fff;
}
.acf-block-preview .page-id-805 section .page-content {
  justify-content: flex-start !important;
}

.two_columns div.invite .image img,
.three_columns div.invite .image img {
  width: 100%;
}
.two_columns div.invite .image,
.three_columns div.invite .image {
  height: auto;
  overflow: hidden;
}
.invite .image img.default_img {
  margin: 15% auto 0;
}
.wp-block-group__inner-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.two_columns div.invite .description,
.three_columns div.invite .description {
  height: 270px;
  overflow: hidden;
}
.two_columns div.invite .description .bio,
.three_columns div.invite .description .bio {
  font-family: 'Roboto Slab', serif;
  font-size: 0.95em;
  height: 185px;
  /* overflow: scroll; */
  overflow: auto;
}

/* @media only screen and (max-width: 767px) {
  .jury {
    width: 100% !important;
    margin: 1em 0;
  }
  .programmation_block {
    width: 100%;
  }
  div.invite .image {
    height: min-content;
  }
  .chapo {
    padding: 0 1em !important;
  }
} */
