/************************************
 * Grids
 */
/************************************
 * Breakpoints
 */
/************************************
 * Transitions
 */
/************************************
 * Paths
 */
/************************************
 * Fonts
 */
/*** LOCAL FONTS ***/
/*** FONTS ***/
/*** VARIABLES TO USE ***/
/************************************
 * Font Sizes
 */
/************************************
 * COLORS
 */
/************************************
 * THEME
 */
/**
 * Font-size calcul
 */
/**
* Trigger hover effect on different pseudo-classes
* depending on touch or no-touch device
* => no-touch > on hover and on focus (by default, can be disable)
* => touch > on active, and when a class is added on the targeted element (optionnal)
*
* @param $focus (boolean) set to false to disable the hover effect on focus (no-touch only)
* @param $touchClass (string) the hover effect will be set if the targeted element has this class
*/
/**
* Set an item to 100% of its parent's width and height
*/
/**
* Set an item to 100% of the window width (and 100% of its parent height)
* even if located in a limited width wrapper
*/
/**
* Set an item to 100% of the window width
* even if located in a limited width wrapper,
* but keep it in the flow
*/
/**
* To call on an <img> tag.
* Set the image size to adapt to its parent
*/
/**
* Like img-cover(), but for responsive img with <picture>
* /!\ To call on <picture>, or <img> parent.
*/
/**
* Floating form items
* if $class2 equals 'empty', the next item is cleared
*/
/*
A simple little SCSS mixin for creating scrim gradients
Inspired by Andreas Larson - https://github.com/larsenwork
https://css-tricks.com/easing-linear-gradients/
*/
/**
Convert em value into px
 */
/**
Fluid font-size between 2 breakpoints.
Font-size must be in px, use em2px() function to convert from em.
*/
/**
Fluid value between 2 breakpoints (can be use for other than font-size)
(Font-size must be in px, use em2px() function to convert from em)
*/
/*
Fluid value - clamp version (2023)
@see https://www.smashingmagazine.com/2022/10/fluid-typography-clamp-sass-functions/
 */
/**
 * Animated placeholder for images or divs (FB like)
 */
/*@mixin breakpoint($point) {
  @if $point == desktop {
    @media only screen and (max-width: $bp-xlarge) {
      @content;
    }
  }
  @else if $point == table {
    @media only screen and (max-width: $bp-large) {
      @content;
    }
  }
  @else if $point == mobile {
    @media only screen and (max-width: $bp-xsmall) {
      @content;
    }
  }
}*/
/*** SPECIFIC TO CURRENT PROJECT ***/
.front-page__news {
  position: relative;
  -webkit-margin-after: clamp(60px, 0.65vw + 57.57px, 70px);
          margin-block-end: clamp(60px, 0.65vw + 57.57px, 70px);
  -webkit-margin-before: clamp(60px, 0.65vw + 57.57px, 70px);
          margin-block-start: clamp(60px, 0.65vw + 57.57px, 70px);
}
.front-page__news h2, .front-page__news .subtitle {
  width: 100%;
  margin-bottom: 0;
  text-align: center;
}
.front-page__news .subtitle {
  font-variation-settings: "wdth" 100, "wght" 300 !important;
  font-family: var(--f-title) !important;
  font-size: clamp(30px, 1.29vw + 25.15px, 50px) !important;
}
.front-page__news-items {
  padding-block: clamp(10px, 1.94vw + 2.72px, 40px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 25px;
}
.front-page__news-item {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  border-radius: 10px;
  padding-block: clamp(25px, 0.97vw + 21.36px, 40px);
  padding-inline: clamp(25px, 0.65vw + 22.57px, 35px);
  background-image: repeating-linear-gradient(to right, var(--c-action) 0%, var(--c-action) 50%, transparent 50%, transparent 100%), repeating-linear-gradient(to right, var(--c-action) 0%, var(--c-action) 50%, transparent 50%, transparent 100%), repeating-linear-gradient(to bottom, var(--c-action) 0%, var(--c-action) 50%, transparent 50%, transparent 100%), repeating-linear-gradient(to bottom, var(--c-action) 0%, var(--c-action) 50%, transparent 50%, transparent 100%);
  background-position: left top, left bottom, left top, right top;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 11px 1px, 11px 1px, 1px 11px, 1px 11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 25px;
}
.front-page__news-item .image {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 120px;
          flex: 0 0 120px;
}
.front-page__news-item .image img {
  border-radius: 50%;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
}
.front-page__news-item .content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.front-page__news-item .content .date {
  color: var(--c-secondary);
  font-size: clamp(16px, 0.13vw + 15.51px, 18px);
  font-family: var(--f-title);
}
.front-page__news-item .content .title {
  color: var(--c-dark);
  font-size: clamp(25px, 0.65vw + 22.57px, 35px);
  padding-block: 5px clamp(15px, 1.29vw + 10.15px, 35px);
}
.front-page__news-item .content .link {
  position: relative;
  display: inline-block;
  line-height: 1;
  max-width: calc(100% - 30px);
}
.front-page__news-item .content .link:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--c-link);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  width: 0;
  height: 1px;
}
@media screen and (hover: hover) {
  .front-page__news-item .content .link:hover:before {
    width: 100%;
  }
}
@media screen and (hover: none) {
  .front-page__news-item .content .link:before {
    width: 100%;
  }
}
.front-page__news-item .content .link:before {
  width: 100%;
}
@media screen and (hover: hover) {
  .front-page__news-item .content .link:hover:before {
    width: 0;
  }
}
.front-page__news-item .content .link:after {
  content: "";
  position: absolute;
  left: calc(100% + 5px);
  background: url("../../svg/link-blank.svg") no-repeat center;
  width: 25px;
  height: 25px;
}
@media screen and (max-width: 768px) {
  .front-page__news-item .image {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .front-page__news-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 12.5px);
            flex: 0 0 calc(50% - 12.5px);
  }
}
@media screen and (min-width: 1201px) {
  .front-page__news-item:not(:nth-of-type(-n+2)) {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
/*# sourceMappingURL=block-home-news.css.map */
