/*!
Theme Name: Vault Child
Theme URI: https://uicore.co
Description: Multi-Purpose Elementor WordPress Theme
Author: UiCore
Author URI: https://uicore.co
Template: vault
Version: 1.0.0
Text Domain: vault
*/

 /* Add your custom style here */

 .uicore-navbar .uicore-extra .uicore-search-btn:before {
    font-size: 95% !important; 
 }

.warningbox {
	border-left: 4px solid #c83636 !important;
}

.quick-card {
    border-right: 1px solid #dde3e5;
    border-bottom: 1px solid #dde3e5;
}
.quick-card:hover {
    background: #eef2f3;
}
.quick-card:hover .ui-e-icon-wrp {
    background: rgba(39, 60, 69, 0.12) !important;
}

/* ── Desktop : 4 colonnes ── */
.quick-card:nth-last-child(-n+4) {
    border-bottom: none;
}
.quick-card:nth-child(4n) {
    border-right: none;
}

/* ── Mobile : 2 colonnes ── */
@media (max-width: 768px) {
    /* Reset les règles desktop */
    .quick-card:nth-last-child(-n+4) {
        border-bottom: 1px solid #dde3e5;
    }
    .quick-card:nth-child(4n) {
        border-right: 1px solid #dde3e5;
    }

    /* Règles 2 colonnes */
    .quick-card:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .quick-card:nth-child(2n) {
        border-right: none;
    }
}

/* Sidebar - Page avec sidebar droite */
.page-template-page-avec-sidebar aside {
    width: 300px;
    flex-shrink: 0;
    background: #f8f8f6;
    border: 1px solid #dde3e5;
    border-radius: 4px;
    padding: 28px 24px;
}

/* Titres des widgets */
.page-template-page-avec-sidebar aside .widget-title,
.page-template-page-avec-sidebar aside .wp-block-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #273C45;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dde3e5;
	margin-top: 0px !important;
}

/* Espacement entre widgets */

.page-template-page-avec-sidebar aside .widget:last-child {
    margin-bottom: 0;
}

/* Texte des widgets */
.page-template-page-avec-sidebar aside .widget p {
    font-size: 13.5px;
    color: #6b7b82;
}

/* Liens rapides */
.page-template-page-avec-sidebar aside .wp-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.page-template-page-avec-sidebar aside .wp-block-list li {
    border-bottom: 1px solid #dde3e5;
    padding: 8px 0;
}
.page-template-page-avec-sidebar aside .wp-block-list li:last-child {
    border-bottom: none;
}
.page-template-page-avec-sidebar aside .wp-block-list li a {
    font-size: 12.5px;
    color: #273C45;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
    display: flex;
    align-items: center;
    gap: 3px;
}
.page-template-page-avec-sidebar aside .wp-block-list li a::before {
    content: '→';
    font-size: 12px;
    color: #6b7b82;
    transition: transform 0.15s;
}
.page-template-page-avec-sidebar aside .wp-block-list li a:hover {
    color: #3a5665;
}
.page-template-page-avec-sidebar aside .wp-block-list li a:hover::before {
    transform: translateX(3px);
}

.uicore-page-title {
    margin-bottom: 40px !important;
}

.uicore-content {
	min-height: 400px;
}

.uicore-no-editor {
	padding-bottom: 60px;
}

/* Tableau équipe - Page avec sidebar */
.page-template-page-avec-sidebar-php .wp-block-table table {
    border-collapse: collapse;
    width: 100%;
    font-family: 'DM Sans', sans-serif;
	table-layout: auto !important;
    border: none !important;
}

.page-template-page-avec-sidebar-php .wp-block-table .has-fixed-layout {
    table-layout: auto !important;
}

.page-template-page-avec-sidebar-php .wp-block-table .has-fixed-layout td:first-child {
    width: 150px !important;
}

.page-template-page-avec-sidebar-php .wp-block-table tr {
    border-bottom: 1px solid #dde3e5 !important;
    border-left: none !important;
    border-right: none !important;
    transition: background 0.15s;
}

.page-template-page-avec-sidebar-php .wp-block-table tr:hover {
    background: #f8f8f6;
}

.page-template-page-avec-sidebar-php .wp-block-table td {
    padding: 16px 0px 16px 0px;
    vertical-align: top;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.75;
    border: none !important;
}

.page-id-204.page-template-page-avec-sidebar-php .wp-block-table .has-fixed-layout td:first-child {
	width: auto !important;
	min-width: none !important;
	max-width: none !important;
}

/* Colonne photo - fine */
.page-template-page-avec-sidebar-php .wp-block-table td:first-child {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    padding-right: 0;
}

/* Photo */
.page-template-page-avec-sidebar-php .wp-block-table td:first-child img {
    width: 130px;
    height: 175px;
    object-fit: cover;
    object-position: top center;
    display: block;
	border-radius: 4px;
    filter: grayscale(20%);
    /* border: 2px solid #eef2f3 !important; */
    transition: border-color 0.2s, filter 0.2s;
}

.page-template-page-avec-sidebar-php .wp-block-table tr:hover td:first-child img {

    filter: grayscale(0%);
}

/* Colonne texte - prend le reste */
.page-template-page-avec-sidebar-php .wp-block-table td:last-child {
    width: auto !important;
    padding-left: 28px;
}

/* Nom en gras */
.page-template-page-avec-sidebar-php .wp-block-table td strong {
    color: #273C45;
    font-size: 15px;
    font-weight: 600;
}

/* Supprimer bordure dernière ligne */
.page-template-page-avec-sidebar-php .wp-block-table tr:last-child {
    border-bottom: none !important;
}

/* Bordure top du tableau */
/* .page-template-page-avec-sidebar-php .wp-block-table table {
    border-top: 2px solid #273C45 !important;
} */

/* Supprimer les bordures Gutenberg par défaut */
.page-template-page-avec-sidebar-php .wp-block-table.is-style-regular td,
.page-template-page-avec-sidebar-php .wp-block-table.is-style-regular th,
.page-template-page-avec-sidebar-php .wp-block-table.is-style-regular table {
    border: none !important;
}

/* Empêcher la galerie de se mettre en colonne unique */
.page-template-page-avec-sidebar-php .wp-block-gallery.is-layout-flex {
    flex-wrap: wrap !important;
    flex-direction: row !important;
	display: flex;
}

.uicore-navbar nav.uicore .sub-menu, .uicore-navbar nav.uicore .sub-menu:not(.uicore-megamenu) {
	border: 1px solid #dde3e5;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.page-template-page-avec-sidebar-php strong, .page-template-page-avec-sidebar-php b {
	font-weight: 600;
	color: #3b3b3b;
}

.uicore-navbar nav.uicore .sub-menu .menuSubTitle a span {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7b82;
    font-weight: 500;
}

.uicore-navbar nav.uicore .sub-menu .menuSubTitle.withDivider {
	border-top: 1px solid #ededed;
	margin-top: 10px;
	padding-top: 10px;
}

.ui-breadcrumb {
	font-size: 14px;
}

.topbar-locations {
	display: flex;
    gap: 28px;
}

.uicore-top-bar {
	color: rgba(255, 255, 255, 0.65) !important;
    font-size: 12px;
}

.topbar-loc strong {
	color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-right: 3px;
}

.urgence-dot {
    width: 6px;
    height: 6px;
    background: #e05a5a;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
    flex-shrink: 0;
}

.topbar-urgence {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.topbar-inner {
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Icône éclair avant "Urgence" */
.uicore-cta-wrapper .uicore-btn::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
    top: -1px;
}

.uicore-navbar .uicore ul.sub-menu:not(.uicore-megamenu) li a:hover {
	background: #eef2f3;
    color: #273C45;
}
    
.subTitleHero h5::before {
	content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: #273c45;
}

.subTitleHero h5 {
	
	display: flex;
    align-items: center;
    gap: 8px;
}

.uicore-no-editor img {
	border-radius: 4px;
}
.cigognes {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cigognes::after {
    content: 'À découvrir';
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #f0f7f0;
    color: #4a7c59;
    border: 1px solid #b8d8c0;
    padding: 1px 8px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
	margin-left: 10px;
}

@media screen and (max-width: 767px) {
	.uicore-no-editor>div {
		flex-direction: column !important;
	}
	
	.uicore-page-title {
		margin-bottom: 20px !important;
	}
	
	aside {
		width: 100% !important;
	}
	
	.ui-breadcrumb {
		font-size: 11px;
	}
}