
/*#region Article Header*/

.section--article-header {
    background: var(--color-grey);
    padding: 70px 0 0 0;
    overflow-x: hidden;
}

.section--article-header .container {

}

/* LEFT SIDE */
.section--article-header .section__main-tag{
    margin:0 0 12px 0;
    font-size:12px;
    
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;

    color:var(--color-border);
    border:1px solid #E0E0E0;
    border-radius: 3px;
    line-height: 34px;
    padding:0 8px;
}
.section--article-header .section__main-tag span {
    display:flex;
    align-items:center;
    justify-content:center;
}
.section--article-header .section__main-tag svg{
width:14px;
}

.section--article-header .section__left {
    width: calc(50% + 50px);
    padding: 40px 0 30px 0;
}


.section--article-header .section__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
}

/* META ICONS */
.section--article-header .section__meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.section--article-header .section__meta-item {
    min-width: 100px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.section--article-header .section__meta-icon {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section--article-header .section__meta-icon::before{
    content:'';
    width:100%;
    height: 43px;
    background-position: center;
    background-repeat: no-repeat;
}
.section--article-header .section__meta-icon::before{
    background:center center / contain no-repeat;
}
.section--article-header .section__meta-icon[data-icon="icon_arrivee"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Arrivee.png');
}

.section--article-header .section__meta-icon[data-icon="icon_attention"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Attention.png');
}

.section--article-header .section__meta-icon[data-icon="icon_avion"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Avion.png');
}

.section--article-header .section__meta-icon[data-icon="icon_bateau"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Bateau.png');
}

.section--article-header .section__meta-icon[data-icon="icon_city"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_City.png');
}

.section--article-header .section__meta-icon[data-icon="icon_conseils"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Conseils.png');
}

.section--article-header .section__meta-icon[data-icon="icon_depart"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Depart.png');
}

.section--article-header .section__meta-icon[data-icon="icon_distance"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Distance.png');
}

.section--article-header .section__meta-icon[data-icon="icon_informations"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Informations.png');
}

.section--article-header .section__meta-icon[data-icon="icon_lieu"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Lieu.png');
}

.section--article-header .section__meta-icon[data-icon="icon_mer"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Mer.png');
}

.section--article-header .section__meta-icon[data-icon="icon_montagne"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Montagne.png');
}

.section--article-header .section__meta-icon[data-icon="icon_monument"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Monument.png');
}

.section--article-header .section__meta-icon[data-icon="icon_photo"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Photo.png'); 
}

.section--article-header .section__meta-icon[data-icon="icon_randonnee"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Randonnee.png');
}

.section--article-header .section__meta-icon[data-icon="icon_roadtrip"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Roadtrip.png');
}

.section--article-header .section__meta-icon[data-icon="icon_train"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Train.png');
}

.section--article-header .section__meta-icon[data-icon="icon_velo"]::before {
    background-image: url('/wp-content/uploads/icons/Icon_Velo.png');
}

.section--article-header .section__meta-label {
    font-size: 12px;
    text-transform: uppercase;
    opacity: .7;
    width: 100%;
    text-align: center;
}

.section--article-header .section__meta-value {
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

.section--article-header .section__introduction{
    margin:16px 0 0 0;
    font-size:20px;
    line-height:1.6;

}

/* AUTHOR */
.section--article-header .section__footer {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 150px 0 0 0;
}

.section--article-header .section__author {
}

.section--article-header .section__socials{
    width:100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap:2px;
    margin:0 0 0 -10px;
}
.section--article-header .section__social{
    width:28px;
    height:28px;
    border-radius:50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section--article-header .section__social svg {
    width: 16px;
}
.section--article-header .section__social svg *{
    fill:var(--color-text);
}
.section--article-header .section__social:hover {
    background:var(--color-text);
}
.section--article-header .section__social:hover svg *{
    fill:var(--color-grey);
}
.section--article-header .section__author {
    display:flex;
    align-items:center;
    justify-content: flex-start;
    flex-wrap:wrap;
    gap:8px 16px;
}
.section--article-header .section__author-avatar{
    width:40px;
    height:40px;
    border-radius:50%;
    background:var(--color-text);
    overflow:hidden;
}
.section--article-header .section__author-avatar img {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
}
.section--article-header .section__author-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.section--article-header .section__author-date {
    font-size: 12px;
    opacity: .7;
}

.section--article-header .section__reading-time {
    font-size: 12px;
    opacity: .7;
    margin-top: 16px;
}

/* RIGHT IMAGE */
.section--article-header .section__right {
    width: calc(50vw - 100px);
    height: 100%;
    position: absolute;
    top: 0;
    left: calc(50% + 100px);
}

.section--article-header .section__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.section--article-header .section__image-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media all and (max-width: 980px ){
    .section--article-header {
        display:flex;
        flex-direction:column-reverse;
    }
    .section--article-header .section__left{
        width:100%;
        padding:32px 0;
    }
    .section--article-header .section__right {
        width:100%;
        height:350px;
        position: relative;
        top:initial;
        left:initial;
    }
}

/*#endregion Article Header*/

/*#region Reading Progress Bar*/

/* Conteneur */
.reading-progress {
    width: 100%;
    height: 6px;
    background: transparent;
    position: relative;
    z-index: 999;
}

/* Barre interne */
.reading-progress__bar {
    width: 0%; /* rempli via JS */
    height: 100%;
    background: var(--color-nav);
    transition: width 0.15s linear;
}

/* Quand on scroll → la barre devient sticky en haut */
.reading-progress.is-sticky {
    position: fixed;
    top: 70px;
    left: 0;
    background: rgba(255, 255, 255, 0.9); /* optionnel */
    backdrop-filter: blur(4px); /* optionnel premium */
}

/*#endregion Reading Progress Bar*/


.section--metas {
    margin:8px 0 0 0;
    padding:0 16px;
}
.section--metas p{
    width:100%;
    font-size:14px;
    font-style:italic;
    text-align: right;
}