/*
FontAwesome is used so it should be loaded globaly:
In child Function by adding or using the wordpress plugin:
add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome_global' );
function enqueue_font_awesome_global() {
    // Using the official Font Awesome CDN for v5/v6
    wp_enqueue_style( 'font-awesome', 'https://use.fontawesome.com/releases/v6.4.0/css/all.css', array(), '6.4.0' );
}   
*/
.grid-sizer,
.gutter-sizer {
  display: none;
}

.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}



.loadmore-zone {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.isofilter-loadmore {
    color: #fff;
    font-weight: 500;
    padding: 10px;
    border-radius: 10px;
    background: #226d68;
}
.isofilter-loadmore:hover{
  opacity: 0.5;
}

.card {
  width: calc(33.33% - 20px);
  margin: 10px;
  float: left;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.03);
}

.card .content {
  padding: 16px;
  overflow-y: auto;
}

.card footer {
  background: #f0f0f0;
  padding: 12px;
  text-align: center;
}

.card-description {
  padding: 10px;
  max-height: 124px !important;
  overflow: hidden;
}

.card-description::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25px;
  background: linear-gradient(to bottom, transparent, white);
}


.actu-card:hover {
  opacity: 0.5;
}

.actu-title h5 {
  max-width: 280px;
  font-weight: 600;
  margin: 0;
}

.actu-writer:before {
  font-family: FontAwesome !important;
  content: "\f5ad";
  padding-right: 5px;
  font-style: normal !important;
  color: #d8ae48;
}

.actu-writer {
  font-style: italic;
  font-size: 18px;
}

.date:before {
  font-family: FontAwesome !important;
  content: "\f073";
  padding-right: 5px;
  font-style: normal !important;
  color: darkgray;
}

.date {
  margin-bottom: 0.5em;
}

.actu-folder:before {
  font-family: FontAwesome !important;
  content: "\f02c";
  padding-right: 5px;
  font-style: normal !important;
  color: #d8ae48;
}

.actu-folder {
  min-height: 40px;
}

/* Buttons */
#filters {
  text-align: left;
}


.filter-button-group:hover {
  background: #9ca6af;
  opacity: 0.8;
  cursor: pointer;
  color: #343434;
}

.is-checked {
  text-decoration: underline;
}

/* select box */
select#filter-select {
  box-shadow: 0 12px 24px rgba(121, 103, 103, 0.6);
  border-radius: 10px;
  font-size: 20px;
  /* Remove default arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Add space for the custom arrow */
  padding-right: 3em;

  /* Define arrow size and weight via background-size */
  /* The first two gradients create the triangle shape */
  background-image:
    linear-gradient(45deg, transparent 50%, #333 50%),
    linear-gradient(135deg, #333 50%, transparent 50%);

  /* Position the arrow */
  background-position:
    calc(100% - 1.5em) 50%,
    calc(100% - 1em) 50%;

  /* Adjust these values to change SIZE and WEIGHT */
  background-size:
    0.5em 0.5em,
    0.5em 0.5em;

  background-repeat: no-repeat;
}

.label {
  color: #080e14;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 1.25rem 0 .25rem;
}

.filter {
  display: flex;
  margin-bottom: 20px;
  ;
}

.cards .card {
  position: static !important;
  transform: none !important;
}

@media (max-width: 460px) {
  .filter {
    flex-direction: column;
  }

  .card {
    width: 80% !important;
  }

  .card img {
    height: auto;
  }
}

@media (max-width: 760px) {
  .card {
    width: calc(50% - 20px);
  }

  
}