.card {
  background-color: #EADFCD;
  flex: 1 1 320px;
  max-width: 320px;
  margin-left: 0;
}
.card:hover .botblog .lien a {
  font-weight: bold;
}
.card a {
  text-decoration: none;
  font-family: "Averta";
  color: #163047;
}
.card .imgtop {
  aspect-ratio: 3/2;
}
.card .imgtop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .botblog {
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}
.card .botblog .linetop {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.card .botblog .linetop .date .jour {
  font-weight: 700;
}
.card .botblog .linetop .taxo {
  border: 1px solid #163047;
  border-radius: 20px;
  padding: 3px 20px;
  font-size: 13px;
}
.card .botblog .titre {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 15px;
  margin-top: 25px;
  max-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card .botblog .texte {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 130px;
  line-height: 22px;
}
.card .botblog .lien {
  text-align: end;
  text-decoration: underline;
  font-size: 14px;
  text-transform: uppercase;
}

@media print {
  header, footer, .section3, .section4, .reseaux-actu, .back-link, .actu-link-container {
    display: none !important;
  }
  p, a {
    font-size: 14px !important;
  }
  .post-thumbnail img {
    width: 350px !important;
    height: 231.7880794702px !important;
  }
  .wp-block-media-text {
    display: unset !important;
  }
  .wp-block-media-text .wp-block-media-text__media {
    margin-top: 50px !important;
    margin-bottom: 20px !important;
    justify-content: center !important;
    display: flex !important;
  }
  .wp-block-media-text .wp-block-media-text__media img {
    width: 60% !important;
    height: auto !important;
  }
  .wp-block-media-text .wp-block-media-text__content {
    padding: 0 !important;
    margin-bottom: 40px !important;
  }
  .wp-block-columns .wp-block-column ul {
    margin-top: 15px !important;
  }
  .wp-block-columns .wp-block-column h5 {
    margin-bottom: 0 !important;
    margin-top: 20px !important;
  }
}
main .section1 {
  margin-top: 20px;
}
main .section1 .container {
  margin-bottom: 70px;
}
main .section1 .container .fil-ariane a {
  color: #163047;
  text-decoration: none;
  font-family: "Averta";
  font-size: 14px;
}
main .section1 .container .fil-ariane a:hover {
  text-decoration: underline;
}
main .section1 .container .fil-ariane span {
  font-family: "Averta";
  font-size: 14px;
  color: #163047;
}
main .section1 .container .back-link {
  margin-top: 30px;
  margin-bottom: 25px;
}
main .section1 .container .back-link a svg {
  transform: rotate(180deg);
}
main .section1 .container .top-part {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  main .section1 .container .top-part {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
main .section1 .container .top-part .post-thumbnail {
  width: 50%;
  height: 100%;
  aspect-ratio: 3/2;
}
@media screen and (max-width: 768px) {
  main .section1 .container .top-part .post-thumbnail {
    width: 100%;
  }
}
main .section1 .container .top-part .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
main .section1 .container .top-part .top-right {
  width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  main .section1 .container .top-part .top-right {
    width: 100%;
    gap: 15px;
  }
}
main .section1 .container .top-part .top-right .top-right-top {
  display: flex;
  justify-content: space-between;
}
main .section1 .container .top-part .top-right .top-right-top .categories {
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: flex-start;
}
@media screen and (min-width: 400px) and (max-width: 768px) {
  main .section1 .container .top-part .top-right .top-right-top .categories {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
main .section1 .container .top-part .top-right .top-right-top .categories .category {
  font-family: "Averta";
  border: 1px solid #163047;
  border-radius: 17px;
  padding: 4px 15px;
  font-size: 13px;
  color: #163047;
  text-align: center;
}
main .section1 .container .top-part .top-right .top-right-top .reseaux-actu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}
main .section1 .container .top-part .top-right .top-right-top .reseaux-actu p {
  width: max-content;
  color: #E52233;
  font-weight: 600;
}
main .section1 .container .top-part .top-right .top-right-top .reseaux-actu .icones {
  display: flex;
  gap: 7px;
}
main .section1 .container .top-part .top-right .top-right-top .reseaux-actu .icones a {
  text-decoration: none;
}
main .section1 .container .top-part .top-right .top-right-top .reseaux-actu .icones a svg {
  width: 25px;
  height: 25px;
}
main .section1 .container .top-part .top-right .top-right-top .reseaux-actu .icones a:hover svg {
  opacity: 0.8;
}
main .section1 .container .top-part .top-right .top-right-bottom .date {
  font-family: "Averta";
  font-size: 16px;
  font-weight: 600;
  color: #163047;
  margin-bottom: 20px;
}
main .section1 .container .top-part .top-right .top-right-bottom .titre {
  margin-bottom: 20px;
}
main .section1 .container .top-part .top-right .top-right-bottom .titre h1 {
  text-transform: unset;
  font-size: 30px;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  main .section1 .container .top-part .top-right .top-right-bottom .titre h1 {
    font-size: 22px;
  }
}
main .section2 .container h2, main .section2 .container h3 {
  margin-bottom: 15px;
  margin-top: 25px;
}
main .section2 .container h4, main .section2 .container h5 {
  margin-bottom: 5px;
  margin-top: 15px;
}
main .section2 .container p, main .section2 .container ul > li, main .section2 .container ol > li {
  font-size: 16px;
  font-family: "Averta";
}
main .section2 .container p a, main .section2 .container ul > li a, main .section2 .container ol > li a {
  color: #163047;
  font-weight: bold;
}
main .section2 .container [class^=wp-block-] a {
  color: #163047;
  font-weight: 600;
}
main .section2 .container .wp-block-gallery {
  display: flex;
  gap: 20px;
}
@media screen and (max-width: 600px) {
  main .section2 .container .wp-block-gallery {
    flex-direction: column;
    align-items: center;
  }
  main .section2 .container .wp-block-gallery .wp-block-image {
    width: 100%;
  }
}
main .section2 .container .wp-block-image {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}
@media screen and (max-width: 800px) {
  main .section2 .container .wp-block-group .wp-block-columns .wp-block-column:first-child {
    display: none;
  }
  main .section2 .container .wp-block-group .wp-block-columns .wp-block-column:last-child {
    display: none;
  }
}
@media screen and (max-width: 550px) {
  main .section2 .container .wp-block-group .wp-block-columns {
    flex-direction: column;
    gap: 20px;
  }
}
main .section2 .container .wp-block-group .wp-block-column p {
  font-weight: 600;
  font-size: 16px;
}
main .section2 .container .wp-block-heading:is(h2) {
  text-transform: none;
  font-size: 26px;
  color: #163047;
}
@media screen and (max-width: 768px) {
  main .section2 .container .wp-block-heading:is(h2) {
    font-size: 20px;
  }
}
main .section2 .container .wp-block-heading:is(h3) {
  text-transform: none;
  font-size: 24px;
}
@media screen and (max-width: 768px) {
  main .section2 .container .wp-block-heading:is(h3) {
    font-size: 20px;
  }
}
main .section2 .container .wp-block-heading:is(h4) {
  text-transform: none;
  font-size: 22px;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  main .section2 .container .wp-block-heading:is(h4) {
    font-size: 18px;
  }
}
main .section2 .container .wp-block-heading:is(h5) {
  text-transform: none;
  font-size: 20px;
  color: #E52233;
}
@media screen and (max-width: 768px) {
  main .section2 .container .wp-block-heading:is(h5) {
    font-size: 18px;
  }
}
@media screen and (max-width: 768px) {
  main .section2 .container .wp-block-media-text {
    display: unset;
  }
  main .section2 .container .wp-block-media-text .wp-block-media-text__media {
    margin-top: 50px;
    margin-bottom: 20px;
    justify-content: center;
    display: flex;
  }
  main .section2 .container .wp-block-media-text .wp-block-media-text__media img {
    width: 60%;
    height: auto;
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  main .section2 .container .wp-block-media-text .wp-block-media-text__media img {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  main .section2 .container .wp-block-media-text .wp-block-media-text__content {
    padding: 0;
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 780px) {
  main .section2 .container .wp-block-columns .wp-block-column ul {
    margin-top: 15px;
  }
  main .section2 .container .wp-block-columns .wp-block-column h5 {
    margin-bottom: 0;
    margin-top: 20px;
  }
}
main .section2 .container .actu-link-container {
  width: fit-content;
  margin: 65px auto;
}
main .section2 .container .actu-link-container .btn svg {
  transform: rotate(180deg);
}
main .section3 {
  background-color: #E52233;
  margin-bottom: 80px;
}
main .section3 .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 23px;
  padding-bottom: 23px;
}
@media screen and (max-width: 768px) {
  main .section3 .container {
    height: unset;
    text-align: center;
    padding: 15px 0;
    gap: 15px;
  }
}
main .section3 .container h2 {
  color: white;
}
main .section4 {
  margin-bottom: 100px;
}
main .section4 .container .actualites {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 1100px) {
  main .section4 .container .actualites {
    justify-content: center;
    gap: 30px;
  }
}
