/* =========================================================
   OUR COMMITMENT TO SUSTAINABILITY PAGE  —  assets/css/commitment.css
========================================================= */

:root {
    --breadcrumb-bg : #EDF2F5;
    --blue-mkba     : #005FAC;
    --orange-mkba   : #ED6A18;
    --orange-light  : #F9C9A6;
    --dark-mkba     : #111827;
    --muted-mkba    : #6b7280;
    --sidebar-bg    : #F3F4F6;
}

/* =========================================================
   HERO — PHOTO PLEINE LARGEUR
========================================================= */

.comm-hero {
    position: relative;
    height: 360px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.comm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17,24,39,0.55) 0%, rgba(17,24,39,0.20) 45%, rgba(17,24,39,0.05) 70%);
}

.comm-hero-content {
    position: relative;
    z-index: 1;
}

.comm-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
    max-width: 480px;
}

/* =========================================================
   CONTENU PRINCIPAL
========================================================= */

.comm-body {
    background: #ffffff;
    padding: 48px 0 70px;
}

.comm-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark-mkba);
    margin-bottom: 8px;
}

.comm-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-mkba);
    margin-bottom: 18px;
}

.comm-heading .highlight {
    background: var(--orange-light);
    padding: 0 4px;
    border-radius: 3px;
}

.comm-text {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.85;
    margin-bottom: 26px;
}

/* =========================================================
   BLOCS DE COULEUR
========================================================= */

.comm-color-grid {
    margin-bottom: 26px;
}

.comm-color-block {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    margin-bottom: 16px;
}

.comm-color-block--1 {
    background: linear-gradient(135deg, #3B82F6 0%, #7C3AED 100%);
}
.comm-color-block--2 {
    background: linear-gradient(135deg, #A21CAF 0%, #EC4899 100%);
}
.comm-color-block--3 {
    background: linear-gradient(135deg, #06B6D4 0%, #2563EB 100%);
}

.comm-color-caption-eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--dark-mkba);
    margin-bottom: 4px;
}

.comm-color-caption-heading {
    font-size: 0.92rem;
    color: var(--dark-mkba);
}

/* =========================================================
   LISTE À PUCES
========================================================= */

.comm-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comm-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.8;
}

.comm-square-icon {
    width: 8px;
    height: 8px;
    background: var(--blue-mkba);
    display: inline-block;
    margin-top: 7px;
    flex-shrink: 0;
    border-radius: 1px;
}

/* =========================================================
   SIDEBAR — POLITIQUES ET DÉCLARATIONS
========================================================= */

.comm-sidebar{
    background:var(--sidebar-bg);
    border-radius:8px;
    padding:22px;
}

/* ---------- Titre ---------- */
.comm-sidebar-title{
    position:relative;
    display:inline-block; /* important */
    margin:0 0 20px;
    font-size:1rem;
    font-weight:600;
    line-height:1.4;
    color:var(--dark-mkba);
}

.comm-sidebar-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;
    width:78px;              /* ajuste selon la police */
    height:2px;
    background:var(--blue-mkba);
}

.comm-sidebar-title.title-fr::after{
    width:73px;   /* Politiques */
}

.comm-sidebar-title.title-en::after{
    width:54px;   /* Policies */
}

/* ---------- Liste ---------- */
.comm-doc-list{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.comm-doc-item{
    display:flex;
    align-items:flex-start;
    gap:12px;
}

/* ---------- Icône ---------- */
.comm-doc-icon{
    width:24px;
    height:24px;
    border-radius:50%;
    border:1px solid #cfd5db;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--blue-mkba);
    font-size:.72rem;
    flex-shrink:0;
    margin-top:2px;
}

/* ---------- Contenu ---------- */
.comm-doc-content{
    display:flex;
    flex-direction:column;
}
/* ---------- Lien ---------- */
.comm-doc-link{
    font-size:.83rem;
    font-weight:500;
    line-height:1.4;
    color:var(--dark-mkba);
    text-decoration:underline;
    transition:.25s;
}

.comm-doc-link:hover{
    color:var(--blue-mkba);
}

/* ---------- Type ---------- */

.comm-doc-type{
    margin-top:2px;
    font-size:.72rem;
    font-style:italic;
    color:var(--muted-mkba);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .comm-hero {
        height: 300px;
    }
    .comm-sidebar {
        margin-top: 36px;
    }
}

@media (max-width: 767px) {
    .comm-hero {
        height: 260px;
        padding: 0 4px;
    }
    .comm-hero-title {
        font-size: 1.6rem;
    }
    .comm-heading {
        font-size: 1.3rem;
    }
}
