/*#region Section Scripts*/

.section--scripts {
    padding: 80px 20px 80px 20px;
}

.section--scripts .section__content {
    max-width: 1500px;
    margin: 0 auto;
}

.section--scripts .section__content > .block-acf-paragraph p {
    max-width: 900px;
    margin: 0 auto 24px auto;
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-text);
}

/* Paragraphe natif Gutenberg (core/paragraph) en haut de contenu d'article :
   même rendu que notre bloc paragraphe, pour utiliser le bloc de base. */
.section--scripts .section__content > p,
.section--scripts .section__content > p.wp-block-paragraph {
    max-width: 900px;
    margin: 0 auto 24px auto;
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-text);
}

    /*#region Related Article Block*/

.block-acf-related-article {
    margin: 32px auto;
    width: calc(100% - 100px);
}

.related-article {
    background: #F8F5EE;
    padding: 16px;
    border: 1px solid #e6e1d8;
    text-decoration: none;
    color: inherit;
    gap: 26px;

    display: flex;
    justify-content: space-between;
}

.related-article__image {
    width: 100%;
    max-width: 25%;
    overflow: hidden;
}

.related-article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top:0;
    left:0;
}

.related-article__subtitle {
    margin-bottom: 6px;
    font-size: 14px;
    opacity: .8;
}
.related-article__content {
    padding: 24px 0 8px 0;
}
.related-article__title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.35;
}
.related-article__title strong {
    font-weight: 600;
}

.related-article__excerpt {
    margin-bottom: 24px;
    font-size: 15px;
    opacity: .85;
    line-height: 1.55;
}

.related-article__link {
    font-weight: 400;
    font-size: 14Px;
    color: var(--color-text);
    transition: .2s;
}

.related-article:hover .related-article__link {
    color: var(--color-bold);
}
.related-article:hover .related-article__link span {
    text-decoration: underline;
}
.related-article__footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top:24px;
    padding: 0 8px;
}
/* Hover global */
.related-article:hover {
    text-decoration: none;
    color:var(--color-text);
    font-weight: 400;
}

/*#endregion Related Article Block*/

/*#region Author Block*/

.block-acf-author {
    margin: 80px 0 0 0;
    padding: 80px 0;
    background: var(--color-grey);
}
.block-acf-author .author_container {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}
.block-acf-author .block {
    padding: 40px 16px 32px 32px;
    background: var(--color-white);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
/* Title with decoration */
.block-acf-author .author__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
    padding: 4px 0 4px 18px;
}

.block-acf-author .author__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--color-nav);
}

.author {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: start;
    gap: 30px;
}

/* IMAGE */
.author__image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

/* INFO TEXT */
.author__name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.author__role {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 14px;
}

.author__bio {
    margin-bottom: 14px;
    line-height: 1.55;
    font-size: 15px;
}

/* SOCIAL LINKS */
.author__socials {
    display: flex;
    gap: 16px;
    margin: 24px 0 0 0;
}

.author__socials a {
    font-size: 16px;
    opacity: .7;
    transition: .2s;
}

.author__socials a:hover {
    opacity: 1;
}

.author__socials .social-facebook {
    width: 18px;
}
.author__socials .social-twitter {
    width: 18px;
}
.author__socials .social-instagram {
    width: 18px;
}
.author__socials .social-pinterest {
    width: 18px;
}
.author__socials .social-linkedin {
    width: 18px;
}
/* CTA BUTTON */
.author__cta {
    margin: 16px 0 0 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.author .btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--color-nav);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .25s;
}

.author .btn:hover {
    background: var(--color-bold);
    color:var(--color-white);
    text-decoration: none;
}

/*#endregion Author Block*/

/*#endregion Section Scripts*/
