/*
Theme Name: MediCowl
Author: Tris informatique
Author URI: https://www.trisinformatique.com
Version: 1.0
Template: enfold
*/

body {
    -webkit-font-smoothing: antialiased;
}

#top .hotline {
    font-size: 16px !important;
    text-transform: uppercase;
    font-weight: 700 !important;
    border-bottom-width: 3px !important;
}

#top .col_middle {
    vertical-align: middle
}

#top .col_droite {
    float: right;
    width: 50%;
    clear: none;
}

#top .col_gauche {
    float: left;
    width: 50%;
    padding-bottom: 1rem;
}

#top div .av-video-service-html5 .av-section-color-overlay {
    background-repeat: no-repeat !important;
    background-position: center;
    background-position-x: 52%;
}

#top li.av-video-slide.av-video-service-html5.av-video-stretch,
#top.page-id-330 ul.avia-slideshow-inner {
    min-height: 450px;
}

#top #header_meta {
	background-color: #98999b!important;	
}

@media (max-width: 768px) {
    #top.page-id-330 ul.avia-slideshow-inner .slide-1.av-video-slide video {
        width: auto;
        height: 100% !important;
        top: 0 !important;
    }
}

.av_minimal_header #header_main,
.av_minimal_header #header_meta {
    border-bottom: 2px solid #98999b;
}

.footer_color .menu a {
    padding: 0;
    line-height: 19px;
    text-transform: uppercase;
}

#footer .widget {
    margin-bottom: 0;
}

#top #trs-partners-grid .av-masonry-image-container {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

#top #trs-partners-grid .av-masonry-outerimage-container {
    padding: 30px;
}

/* Affichage des lignes de grille accueil*/

#top #wrap_all .trs-home-grid-line .flex_cell_inner {
    display: table;
    height: 100%;
    width: 100%;
}

#top #wrap_all .trs-home-grid-line .flex_cell_inner .flex_column_table {
    display: table-cell;
    vertical-align: middle;
}

#top #wrap_all .trs-home-grid-line.right-align h2.av-special-heading-tag {
    text-align: right;
}

#top #wrap_all .trs-home-grid-line.right-align .av-subheading.av-subheading_below {
    text-align: right;
}

#top #wrap_all .trs-home-grid-line .av-subheading.av-subheading_below>p {
    font-size: 18px;
    text-transform: uppercase;
    color: #379CD6;
}

#top #wrap_all .trs-home-grid-line.right-align .av-special-heading {
    float: right;
}

#top #wrap_all .flex_cell {
    background-size: cover !important;
}

@media(max-width: 768px) {
    .av-layout-grid-container.mobile-reverse {
        flex-direction: column-reverse;
        display: flex !important;
    }

    .responsive #top #wrap_all .av-flex-cells .trs-home-grid-line {
        display: table;
        height: 100%;
        width: 100%;
    }

    .responsive #top #wrap_all .av-flex-cells .trs-home-grid-line .flex_cell_inner {
        display: table-cell;
        vertical-align: middle;
    }
}

/*************************************************/

#top .iconbox.trs-custom-icon-big .iconbox_icon.heading-color {
    margin-bottom: 0;
    font-size: 50px;
    border: none;
}

@media (max-width: 980px) {
    #top .trs-mobile-reverse-col .flex_column_table {
        display: flex !important;
        flex-direction: column-reverse;
    }
}

#top .trs-transparent-play-video {
    background-image: none !important;
    border: 2px solid white;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(7px);
    overflow: hidden;
}

#top .trs-hidden-data-text {
    overflow: hidden;
    transition: max-height .5s ease;
    max-height: 1000px;
}

#top .trs-hidden-data-text.hide {
    max-height: 0;
}

#top .trs-collapse-text-btn .avia_iconbox_title {
    pointer-events: none;
}

#top.page-id-1198 .flex_column_table,
#top.page-id-330 .flex_column_table {
    float: unset;
}

@media(min-width: 980px) {
    #top .trs-separated-col {
        border-left: 1px solid white;
    }
}

.wow {
    opacity: 0;
}

#top .trs-ad-button .avia-button {
    margin-top: 20px;
}

#top .trs-ad-button .avia-button span {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
}

.trs-delay-04 {
    animation-delay: 400ms;
}

.trs-delay-06 {
    animation-delay: 600ms;
}

.trs-zindex-1 {
    z-index: 1 !important;
}

.trs-zindex-2 {
    z-index: 2 !important;
}

.trs-zindex-3 {
    z-index: 3 !important;
}

#top .av-submenu-container {
    background: #379CD6;
    border-color: #2194d6;
}
#top #header .dropdown_available::after{
	padding-left:5px;
	content:'';
	font-family: 'entypo-fontello';
}

#top #header .avia_mega_div{
	border: 1px solid #d5dde1;
	border-top: 2px solid #379cd6;
}
#top #header .avia_mega_div .sub-menu{
	padding:0;
}
#top #header .avia_mega_div > .sub-menu > li{
	padding: 20px 16px;
}
#top #header .avia_mega_div .mega_menu_title,
#top #header .avia_mega_div .mega_menu_title a {
  	display: block;
	min-height:0;
	margin-bottom: 0;
	font-size: 0.80rem;
	font-weight:700;
	line-height:1.1em;
	letter-spacing: 0.14em;
	color:#379cd6;
	text-transform: uppercase;
} 

#top #header .avia_mega_div > .sub-menu > li > ul li.avia_mega_text_block {
  display: block;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #5c6b74;
  line-height: 1.35;
}
#top #header .avia_mega_div a .avia-bullet{
	display:none;
}
#top #header .avia_mega_div a .avia-menu-text{
	color:var(--enfold-main-color-primary);
}

#top #header .avia_mega_div > .sub-menu > li {
	border-right: 1px solid #d5dde1;
 }
#top #header .avia_mega_div > .sub-menu > .avia_mega_menu_columns_last{
	border-right:none;
}

#top #header .av-main-nav .contact-menu-btn a .avia-menu-text {
	padding: 11px 24px;
	border-radius: 3px;
	background: var(--enfold-header-color-primary);
	color: #fff; border-color: var(--enfold-header-color-primary)
	border: 2px solid transparent;
	transition: background-color .18s, color .18s, border-color .18s;

}
#top #header .av-main-nav .contact-menu-btn a .avia-menu-text:hover{
	background: var(--enfold-main-color-secondary);
	border-color: var(--enfold-main-color-secondary);
}

#top .alternate_color .av-subnav-menu a {
    background: transparent;
    color: white;
    border: 2px solid white !important;
    border-radius: 8px;
    padding: 5px 10px;
    transition: all.3s ease;
}

#top .av-subnav-menu>li {
    padding: 10px 5px;
}

#top .alternate_color .av-subnav-menu li:hover a {
    background: white;
    color: #379CD6;
}

#top .av-main-nav ul a .avia-menu-text {
	font-weight: 500;
}

/* Texte des sous-menus */
#top .av-main-nav ul a .avia-menu-text {
    font-weight: 500;
}

/* Hover normal des liens */
#top .av-main-nav ul a:hover {
    background-color: #40a8e4;
    opacity: 0.8;
    color: white !important;
}

#top .av-main-nav ul a:hover .avia-menu-text {
    color: white !important;
}


/* =========================
   TITRES DU MEGA MENU
   ========================= */

/* Pas de fond bleu sur les titres */
#top .av-main-nav .mega_menu_title:hover,
#top .av-main-nav .mega_menu_title a:hover {
    background-color: transparent !important;
    opacity: 1 !important;
}

/* Les titres restent bleus au hover */
#top .av-main-nav .mega_menu_title,
#top .av-main-nav .mega_menu_title a,
#top .av-main-nav .mega_menu_title .avia-menu-text,
#top .av-main-nav .mega_menu_title:hover,
#top .av-main-nav .mega_menu_title:hover a,
#top .av-main-nav .mega_menu_title:hover .avia-menu-text,
#top .av-main-nav .mega_menu_title a:hover,
#top .av-main-nav .mega_menu_title a:hover .avia-menu-text {
    color: #40a8e4 !important;
}

@media(max-width: 768px) {
    #top .av_textblock_section p {
        font-size: 10pt;
    }

    .responsive #scroll-top-link {
        display: block;
    }
}

#top form input::placeholder,
#top form textarea::placeholder {
    color: #999;
}

#top .avia_ajax_form select>option:nth-child(1) {
    display: none;
}

#top .avia_ajax_form select:invalid {
    color: black;
}


#top .avia_ajax_form select:invalid {
    color: gray;
}

#top .avia_ajax_form option:first-of-type {
    color: #9e9e9e;
}

#top .avia_ajax_form option:not(:first-of-type) {
    color: black;
}

#top #revolutionslider_1 {
    min-height: unset !important;
}

#top .trs-dev span.av-icon-char::after {
    width: 80px;
    height: 80px;
    position: absolute;
    right: -20px;
    top: -20px;
    border: 2px solid white;
    border-radius: 100%;
    font-size: 14px;
    line-height: 16px;
    text-overflow: clip;
    overflow-wrap: break-word;
    /*Only for shitty Safari */
    overflow-wrap: anywhere;
    padding: 10px 5px;
    box-sizing: border-box;
    font-weight: bold;
    background: #2388C2;
    transform: rotate(-30deg);
}

#top form.CF5f7483e674f29 *,
#top form.CF5f74965b758fc * {
    margin-left: auto !important;
}

#top form.CF5f7483e674f29 .avia-button,
#top form.CF5f74965b758fc .avia-button {
    float: none;
}

@media(max-width : 980px) {
    .responsive #top #wrap_all .av-break-at-tablet .flex_cell {
        margin-bottom: 0;
    }

    #top form.CF5f7483e674f29 *,
    #top form.CF5f74965b758fc * {
        margin-right: auto !important;
    }
}

#top .trs-big-button span {
    font-size: 19px;
    font-weight: bold;
}

@media(max-width : 768px) {
    .responsive #top .av-inner-masonry {
        display: flex;
        flex-direction: column;
        height: 250px;
    }

    .responsive #top .av-inner-masonry>.av-masonry-outerimage-container {
        position: relative;
        height: 50%;
    }

    .responsive #top .av-inner-masonry>.av-inner-masonry-content.site-background {
        position: relative;
        display: block;
        height: 50%;
    }

    .responsive #top .av-fixed-size .av-masonry-entry .av-inner-masonry-sizer {
        display: none;
    }

    .responsive #top .av-inner-masonry {
        position: relative;
    }

}

#top #footer .av_one_fourth {
    margin-left: 2%;
    width: 23.5%;
}

#top #footer .av_one_fourth.first {
    margin-left: 0;
}

@media(max-width : 980px) {
    #top #footer .av_one_fourth {
        margin-left: 0;
        width: 100%;
    }

    .footer_color {
        background-size: cover;
    }
}

/* 100% de la largeur à partir de 1250px */
@media only screen and (max-width: 1250px) {

    .trs-full-width .flex_column {
        margin: 0;
        margin-bottom: 20px;
        width: 100%;
        display: block;
    }
}

/* === Page accueil Produits === */


/* Chaque colonne produit */
.trs-product-layout .flex_column_table .av_one_fourth {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* aligne image + texte à gauche comme la capture 2 */
    padding: 0 30px;
    position: relative;
}

/* Conteneur d'image : taille fixe identique pour toutes les images */
.trs-product-layout .avia-image-container {
    width: 100%;
    max-width: 220px;
    height: 220px;
    /* hauteur fixe = uniformité garantie */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.trs-product-layout .avia-image-container .avia-image-container-inner,
.trs-product-layout .avia-image-container .avia-image-overlay-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trs-product-layout .avia-image-container img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* garde les proportions sans déformer */
}

/* Supprime le décalage vertical entre colonnes */
.trs-product-layout .av-equal-height-column {
    align-items: flex-start !important;
}

.av-subheading_above {
    text-transform: uppercase;
    font-size: 12px !important;
    letter-spacing: 0.22em;
    font-weight: 600;
    color: #40a8e4;
}

.home .template-page.content {
    padding-top: 100px;
    padding-bottom: 100px;
}

.trs-special-border {
    border-right: 1px solid white;
}

@media (max-width: 980px) {
    .trs-special-border {
        border-right: none;
    }
}

/* Ligne de séparation verticale courte et centrée (desktop) */
.trs-product-layout .flex_column_table .av_one_fourth:not(:first-child) {
    border-left: 1px solid transparent;
    border-image-slice: 1;
    border-image-source: linear-gradient(to bottom,
            transparent 0%,
            transparent 20%,
            rgba(0, 0, 0, 0.15) 20%,
            rgba(0, 0, 0, 0.15) 80%,
            transparent 80%,
            transparent 100%);
    border-image-repeat: stretch;
}

/* Sous 989px (tablette) : les colonnes s'empilent, ligne horizontale courte et centrée */
@media (max-width: 989px) {
    .trs-product-layout .flex_column_table .av_one_fourth {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .trs-product-layout .flex_column_table .av_one_fourth:not(:first-child) {
        border-left: none;
        border-top: 1px solid transparent;
        border-image-source: linear-gradient(to right,
                transparent 0%,
                transparent 20%,
                rgba(0, 0, 0, 0.15) 20%,
                rgba(0, 0, 0, 0.15) 80%,
                transparent 80%,
                transparent 100%);
    }
}

.trs-filter-shadow {
    filter: drop-shadow(rgba(23, 32, 41, 0.12) 0px 20px 32px);
}

/* Page injection display grid */

#top .trs-product-grid .flex_column_table.av-equal-height-column-flextable:not(:first-child) {
    margin-top: 0;
}


/* Chaque ligne de 3 produits devient une grille CSS à 3 colonnes égales */
.trs-product-grid .flex_column_table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

/* Les placeholders de gutter d'Enfold ne sont plus nécessaires avec CSS Grid */
.trs-product-grid .av-flex-placeholder {
    display: none !important;
}

/* Reset : chaque cellule a une bordure bas + droite par défaut (le !important écrase les styles inline du builder) */
.trs-product-grid .flex_column {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-left: none !important;
    border-top: none !important;
}

/* Bordure haute uniquement sur la 1ère ligne de produits (ferme le haut de la grille) */
.trs-product-grid .flex_column_table:first-of-type .flex_column {
    border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
}

/* Pas de bordure droite sur la dernière colonne de chaque ligne (bord extérieur ouvert, comme la maquette) */
.trs-product-grid .flex_column:last-child {
    border-right: none !important;
}

/* Alignement du contenu dans chaque cellule */
.trs-product-grid .avia-image-container {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.trs-product-grid .av-special-heading-tag {
    font-size: 20px;
}

.trs-product-grid .avia_textblock a {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #40a8e4;
    text-decoration: underline;
}

/* Responsive : sous 989px, une seule colonne, bordures horizontales uniquement */
@media (max-width: 989px) {
    .trs-product-grid .flex_column_table {
        grid-template-columns: 1fr;
    }

    .trs-product-grid .flex_column {
        border: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
    }

    /* Optionnel : masque la cellule vide (Exomas Elite +1) en mobile si vous lui ajoutez la classe "trs-grid-empty" via le builder */
    .trs-product-grid .trs-grid-empty {
        display: none !important;
    }
}

/* Fix responsive iPad pour icônes */
@media only screen and (min-width: 900px) and (max-width: 1325px) and (orientation: landscape) {
    #top .flex_column_table .av_font_icon .av-icon-char {
        font-size: 40px !important;
        /* ajuste cette valeur selon le rendu */
        line-height: 1 !important;
    }
}

/* Hero section About us */
.stats {
    display: flex;
    border-top: 1px solid #d5dde1;
}

.stats__item {
    flex: 1;
    padding: 18px 20px;
}

.stats__item:first-child {
    padding-left: 0;
}

.stats__item+.stats__item {
    border-left: 1px solid #d5dde1;
}

.stats__value {
    color: #172029;
    font-size: 26px;
}

.stats__label {
    margin-top: 4px;
    color: #5c6b74;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/*======================================================*/

.branches {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1280px;
    margin: 0 auto;
    border-top: 1px solid #d5dde1;
}

.branches__item {
    padding: 36px 28px 0;
}

.branches__item:first-child {
    padding-left: 0;
}

.branches__item:last-child {
    padding-right: 0;
}

.branches__item+.branches__item {
    border-left: 1px solid #d5dde1;
}

.branches__index {
    display: block;
    margin-bottom: 20px;
    color: #0b8fb0;
    font-size: 11px;
}

.branches__title {
    margin: 0 0 12px;
    color: #172029;
    font-size: 21px;
    font-weight: 400;
}

.branches__description {
    margin: 0;
    color: #5c6b74;
    font-size: 13px;
    line-height: 1.65;
}

.branches__link {
    display: inline-block;
    margin-top: 18px;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: #0b8fb0;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.branches__link:hover,
.branches__link:focus-visible {
    color: #172029;
}

@media (max-width: 900px) {
    .branches {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-inline: 32px;
    }

    .branches__item {
        border-bottom: 1px solid #d5dde1;
    }

    .branches__item:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
        padding-bottom: 30px;
    }

    .branches__item:nth-child(even) {
        padding-right: 0;
        border-left: 1px solid #d5dde1;
    }
}

@media (max-width: 600px) {
    .branches {
        grid-template-columns: 1fr;
        padding: 0 20px 0px;
    }

    .branches__item,
    .branches__item:first-child,
    .branches__item:last-child,
    .branches__item:nth-child(even),
    .branches__item:nth-child(odd) {
        padding: 28px 0;
        border-left: 0;
        border-bottom: 1px solid #d5dde1;
    }

    .branches__item:last-child {
        border-bottom: 0;
    }
}

@media only screen and (max-width: 767px) {

    .content,
    .sidebar {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.hr-no-margin .hr {
  margin: 0px!important;
}

/**
 * Template product
**/
.products-intro {
	background-color: #f4f6f7;
}

.products-intro-inner {
	padding-top: 40px;
	padding-bottom: 40px;
}

.products-grid-section {
	padding-top: 40px;
	padding-bottom: 40px;
}

.products-grid-section {
	background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #e0ddd8;
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    border-right: 1px solid #e0ddd8;
    border-bottom: 1px solid #e0ddd8;
}

/* Retire la bordure droite sur la dernière colonne de chaque ligne */
.product-card:nth-child(3n) {
    border-right: none;
}

.product-card-image {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 260px;
    margin-bottom: 1.5rem;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-card-title {
    margin: 0 0 0.6rem;
    font-size: 1.6rem;
    font-weight: 400;
    color: #1a1a1a;
}

.product-card-subtitle {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #a8763c;
}

.product-card-excerpt {
    flex-grow: 1;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.product-card-link {
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #40a8e4;
}

.product-card-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-card:nth-child(3n) {
        border-right: 1px solid #e0ddd8;
    }
    .product-card:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-card {
        border-right: none !important;
    }
}

.page-template-template-products #wrap_all{
	overflow: visible;
}

@media (max-width: 1023px) {
	.custom-rs {
		margin-top: 0px!important;
	}
}


/* Bouton section hero Accueil */

.hero-section-buttons a {
	font-weight: 600 !important;
}

.hero-section-buttons a:nth-child(2) {
  background-color: transparent;
}

.hero-section-buttons a:nth-child(2):hover {
  background-color: white;
  color: #172029 !important;
}


/* Cartes domaines page accueil */
/* =========================================================
   #cards-domains — 5 cartes domaines
   ========================================================= */

/* Plus de place pour les cinq cartes, uniquement sur grand écran. */
@media only screen and (min-width: 1451px) {
  #top #cards-domains > .container {
    width: 94%;
    max-width: 1720px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* --- Grille : la ligne de colonnes devient une grille --- */
#cards-domains .entry-content-wrapper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* --- Les colonnes Avia deviennent des cartes, quelle que soit leur fraction --- */
#cards-domains .entry-content-wrapper > .flex_column {
  /* neutralisation des styles de colonne Enfold */
  width: auto !important;
  min-width: 0;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;

  /* carte */
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}

#cards-domains .entry-content-wrapper > .flex_column:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .13);
  transform: translateY(-3px);
}

/* --- Image : remplit toute la largeur de la carte, sans marge --- */
#cards-domains .avia-image-container {
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
}

#cards-domains .avia-image-container .avia-image-container-inner,
#cards-domains .avia-image-container .avia-image-overlay-wrap {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

#cards-domains .avia-image-container img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  margin: 0;
}

/* --- Zone de texte : padding intérieur --- */
#cards-domains .av_textblock_section {
  flex: 1 1 auto;
  display: flex;
  min-width: 0;
}

#cards-domains .avia_textblock {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 30px;
}

/* Titre */
#cards-domains .avia_textblock h3 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
  color: #2388c2;
  text-transform: none;
  letter-spacing: 0;
}

/* Sous-titre (1er paragraphe) */
#cards-domains .avia_textblock p:first-of-type {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #3b4650;
}

/* Paragraphe descriptif */
#cards-domains .avia_textblock p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: #58656f;
}

/* Lien "DISCOVER →" (dernier paragraphe), collé en bas de carte
#cards-domains .avia_textblock p:last-of-type {
  margin: auto 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2388c2;
} */

#cards-domains .avia_textblock p:last-of-type a {
  color: #2388c2;
  text-decoration: none;
}

/* =========================================================
   Responsive
   ========================================================= */

/* Tablette : 2 colonnes */
@media only screen and (max-width: 1450px) {
  #cards-domains .entry-content-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile : 1 colonne */
@media only screen and (max-width: 767px) {
  #cards-domains .entry-content-wrapper {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  #cards-domains .avia-image-container img {
    height: 190px;
  }
  #cards-domains .avia_textblock {
    padding: 22px 22px 26px;
  }
}

/* Empêche le clearfix d'Enfold d'occuper la première case */
#cards-domains .entry-content-wrapper::before,
#cards-domains .entry-content-wrapper::after {
  content: none !important;
  display: none !important;
}

/* Section who we are alignement */
@media (min-width: 990px) {
  #who-we-are .entry-content-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 50px;
  }

  #who-we-are .entry-content-wrapper::before,
  #who-we-are .entry-content-wrapper::after {
    display: none;
  }

  #who-we-are .av_one_full {
    grid-column: 1 / -1;
    margin-bottom: 70px;
  }

  #who-we-are .av_one_third {
    width: auto;
    margin: 0;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }
}

@media (max-width: 989px) {
  #who-we-are .av_one_full {
    margin-bottom: 45px;
  }

  #who-we-are .av_one_third {
    width: 100%;
    margin: 0 0 40px;
  }

  #who-we-are .avia_textblock,
  #who-we-are .avia_textblock p {
    text-align: left !important;
  }
}

/* Brochure HyaRelief : couverture paysage aux proportions d'origine. */
#hyarelief-brochure .entry-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 72px);
}
#hyarelief-brochure .entry-content-wrapper::before,
#hyarelief-brochure .entry-content-wrapper::after {
  display: none;
}
#top #hyarelief-brochure .product-brochure-cover,
#top #hyarelief-brochure .product-brochure-copy {
  width: auto;
  min-width: 0;
  margin: 0;
}
#top #hyarelief-brochure .product-brochure-cover {
  flex: 0 1 420px;
  max-width: 420px;
}
#hyarelief-brochure .avia-image-container {
  width: 100%;
  margin: 0;
  box-shadow: 0 8px 28px rgba(23, 47, 64, .12);
}
#hyarelief-brochure .avia-image-container img {
  display: block;
  width: 100%;
  height: auto;
}
#top #hyarelief-brochure .product-brochure-copy {
  flex: 0 1 480px;
}
#hyarelief-brochure .product-brochure-meta {
  color: #526471;
  font-size: 14px;
}
@media only screen and (max-width: 989px) {
  #hyarelief-brochure .entry-content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  #top #hyarelief-brochure .product-brochure-cover {
    flex: none;
    width: 100%;
    margin: 0 auto !important;
  }
  #top #hyarelief-brochure .product-brochure-copy {
    flex: none;
    width: 100%;
  }
}