/* --- BLOG STYLESHEET --- */

body.page-id-258870 .et_pb_row.et_pb_row_0 {
	max-width: 900px;
}

html[lang="fr-FR"] body.category.archive h1 {
	display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    gap: 0.35ch;
}



@media screen and (max-width: 980px) {
    body.archive.category #page-container #et-boc #et-main-area #main-content h2 {
        font-size: 18px;
    }
}

/* BLOG TOPICS SELECTOR */
ul.blog-topics {
    display: flex;
    justify-content: center;
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
    gap: 20px;

    & li {
        display: flex;
        height: fit-content;

        & a {
            padding: 10px !important;
            background-color: #F2F4FA;
            border-radius: 3px;
            color: #2CA8DD;
            font-family: Montserrat;
            font-size: 13px;
            font-style: normal;
            font-weight: 500;
            line-height: 1.2em;
			transition: 300ms;
			
			&:hover {
				background: #2CA8DD;
				color: #FFF;
			}
        }
    }

    & li.selected {

        & a {
            background-color: #2CA8DD;
            color: #fff
        }
    }
}

/* BLOG TOPICS SELECTOR - MOBILE */
@media screen and (max-width: 980px) {
    ul.blog-topics {
		flex-flow: row wrap;
        gap: 14px;

        & li {

            & a {
                font-size: 10px;
                padding: 8px !important;
            }
        }
    }
}

/* BLOG ITEM */
@media screen and (width >= 767px) {
	.blog-item .blog-thumbnail img {
		aspect-ratio: 2560 / 1440;
	}
}

.blog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 38px;
    padding-bottom: 50px;

    & .blog-thumbnail,
    & .blog-content {
        width: 100%;
    }

    & .blog-thumbnail a {
        display: flex;
    }

    & .blog-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    	border: 1px solid #2ca8dd33;
    }

    & .blog-content {

        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;

        & h2 {
            color: #002C67;
            font-family: Montserrat;
            font-size: 20px;
            font-style: normal;
            font-weight: 600;
            line-height: 26px;
            /* 130% */
            letter-spacing: -0.4px;
            display: -webkit-box;

            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;

            padding-bottom: 0px !important;
            margin-bottom: 17px !important;

        }

        & .blog-excerpt {
            color: #929EC2;
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px;
            /* 160% */

            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;

            padding-bottom: 0px !important;
            margin-bottom: 30px !important;
        }

        & .read-more {
            margin-top: auto;

            color: #2CA8DD;
            font-family: Montserrat;
            font-size: 16px;
            font-style: normal;
            font-weight: 600;
            line-height: normal;
/*             text-decoration-line: underline;
            text-decoration-style: solid;
            text-decoration-skip-ink: auto;
            text-decoration-thickness: 7%;
            text-underline-offset: 35%;
			text-underline-position: from-font; */
			width: fit-content;
			padding-bottom: 6px;
			background: linear-gradient(to right, #2CA8DD);
			background-position: bottom left;
			background-repeat: no-repeat;
			background-size: 80% 1px;
			transition: background-size 300ms;

            &::after {
                content: '';
                display: inline-block;
                width: 14px;
                height: 14px;
                background-image: url(/wp-content/themes/Divi-child-studio/images/ArrowUpRight.svg);
                margin-left: 5px;
                vertical-align: middle;
				transition: 300ms;
            }
			
			&:hover {
				background-size: 100% 1px;
			}
			
			&:hover::after {
				rotate: 45deg;
			}
        }
    }
}

/* blog item h2 - force size */
@media screen and (max-width: 980px) {
    body #page-container #et-boc #et-main-area #main-content .blog-item h2 {
        font-size: 14px !important;
    }
}
 
/* BLOG ITEM - MOBILE */
@media (max-width: 980px) {
    body #page-container #et-boc #et-main-area #main-content .blog-item {
        flex-direction: row;
        gap: 10px;

        & .blog-thumbnail,
        & .blog-content {
            width: 50%;
        }

        & .blog-content {
            & h2 {
                color: var(--Color, #002C67);
                font-family: Montserrat;
                font-size: 12px !important;
                font-style: normal;
                font-weight: 600;
                line-height: 14.093px;
                /* 117.438% */
                letter-spacing: -0.24px;
            }

            & .blog-excerpt {
                display: none !important;
            }

            & .read-more {
                font-size: 13px!important;
                margin-top: 0px!important;
                /* 0.8px */
                text-underline-offset: 30%;
                /* 4.8px */

                &::after {
                    width: 11px;
                    height: 11px;
                    background-size: contain;
                }
            }
        }
    }
}

/* BLOG ITEM - EVIDENCE */

.blog-item.evidence {
    flex-direction: row;
    gap: 50px;
    align-items: center;
    height: auto;

    & .blog-thumbnail,
    & .blog-content {
        width: 50%;
    }

    & .blog-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

    & .blog-content {

        display: flex;
        flex-direction: column;
        justify-content: center;

        & h2 {
            color: #002C67;
            font-family: Montserrat;
            font-size: 30px;
            font-style: normal;
            font-weight: 600;
            line-height: 36px;
            /* 120% */
            letter-spacing: -0.6px;

            padding-bottom: 0px !important;
            margin-bottom: 23px !important;

        }

        & .blog-excerpt {
            color: #929EC2;
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px;
            /* 160% */
            margin-bottom: 45px !important;
        }



    }
}

/* BLOG ITEM - EVIDENCE - MOBILE */
@media (max-width: 980px) {
    body #page-container #et-boc #et-main-area #main-content .blog-item.evidence {
        flex-direction: column;
        gap: 20px;
		padding-bottom: 10px;

        & .blog-thumbnail,
        & .blog-content {
            width: 100%;
        }

    }
}

/* BLOG GRID */

.blog-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 25px;

    & .blog-grid-item {
        width: calc(100% / 3);
        padding-top: 40px;
        border-top: 1px solid #E0E8FF;
    }

    & .blog-grid-item:nth-child(3n-2) .blog-item {
        border-right: 1px solid #E0E8FF;
        padding-right: 24px;
        margin-right: 8px;
    }

    & .blog-grid-item:nth-child(3n-1) .blog-item {
        margin-left: 16px;
        margin-right: 16px;
    }

    & .blog-grid-item:nth-child(3n) .blog-item {
        margin-left: 8px;
        border-left: 1px solid #E0E8FF;
        padding-left: 24px;
    }
}

/* BLOG GRID - MOBILE */
@media (max-width: 980px) {
    .blog-grid {
        row-gap: 28px;
    }

    & .blog-grid-item {
        width: 100%!important;
		
		&:not(:first-child) {
        	border-top: none !important;
        	padding-top: 0 !important;			
		}

        & .blog-item {
            border-right: none !important;
            padding-right: 0 !important;
            margin-right: 0 !important;
            margin-left: 0 !important;
            border-left: none !important;
            padding-left: 0 !important;
            padding-bottom: 0 !important;
        }
    }
}

/* BLOG PAGINATION */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 25px;

    & .current-page {
        color: #2CA8DD;
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
        /* 150% */
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: none;
        text-decoration-thickness: 8.5%;
        /* 1.36px */
        text-underline-offset: 13%;
        /* 2.08px */
        text-underline-position: from-font;
    }

    & .page-num {
        cursor: pointer;
        color: #002C67;
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
		transition: 300ms;
		
		&:hover {
			text-decoration: underline;
			text-decoration-style: solid;
			text-decoration-skip-ink: none;
			text-decoration-thickness: 8.5%;
			text-underline-offset: 13%;
			text-underline-position: from-font;
			color: #2CA8DD;
		}
	}
	
	& svg path {
		transition: 300ms;
	}
	
	& svg:hover path {
		stroke: #2CA8DD;
	}

    & .next-page,
    & .prev-page {
        cursor: pointer;

        display: flex;
        align-items: center;
        /* 150% */
    }
}

/* --- SINGLE POST PAGE --- */

/* SINGLE POST CONTENT */

.blog-post-content {
    & blockquote {
		margin-top: 35px;
        padding: 50px 35px 0px 75px!important;
        background-image: url(/wp-content/uploads/2025/08/quote.svg);
        background-position: top left;
        background-repeat: no-repeat;
    }

    & figure {
        margin-top: 35px!important;
        margin-bottom: 60px!important;
    }
}


/* SINGLE POST META */
.post-featured-image .et_pb_image_wrap,
.post-featured-image .et_pb_image_wrap img{
	width: 100%;
}
.single-post-meta {
    display: flex;
    align-items: center;
	justify-content: space-between;

    &>div {
        display: flex;
        align-items: center;
    }

    & .author-info {
        gap: 9px;
        margin-right: 40px;

        & img {
            border-radius: 50%;
        }

        & .author-name {
            color: #002C67;
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-style: normal;
            font-weight: 500;
            line-height: 24px;
        }
		
		& .author-title {
			color: #002C67;
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px;
		}
    }

    & .post-date {
        color: #767D95;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        /* 184.615% */

        & svg {
            margin-right: 9px;
        }
    }

    & .socials-share {
        margin-left: auto;
        gap: 15px;

        & p {
            color: #767D95;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px;
            /* 184.615% */
        }

        & a {
            height: fit-content;
            display: flex;
        }
    }


}

.single-post-share .socials-share {
	display: flex;
	align-items: center;
	justify-content: start;
	gap: 13px;

	& p {
		color: #767D95;
		font-family: 'Inter', sans-serif;
		font-size: 13px;
		font-style: normal;
		font-weight: 400;
		line-height: 24px;
		/* 184.615% */
	}

	& a {
		height: fit-content;
		display: flex;
	}
}

/* SINGLE POST META - MOBILE */
@media (max-width: 980px) {
    .single-post-meta {

        & .author-info {
            gap: 13px;
            margin-right: 20px;

            & img {
                width: 50px;
                height: 50px;
            }

            & .author-name {
                font-size: 13px;
				line-height: 18px;
				display: grid;
				
				& .author-title {
					font-size: 13px;
					
					& > span {
						display: none;
					}
				}
            }
        }

        & .post-date {
			display: none;
            font-size: 10px;

            & svg {
                width: 14px;
                height: 15px;
                margin-right: 5px;
            }

            
        }

        & .socials-share {
            margin-left: auto;
            gap: 10px;

            & p {
                display: none;
            }

            & a svg{

                width: 22px;
                height: 22px;
            }
        }
    }
	
	.date-mobile {
		color: #767D95;
		font-family: 'Inter', sans-serif;
		font-size: 13px;
		font-weight: 400;
		line-height: 19px;
	}
}

/* RELATED POSTS */
.related-posts {
    display: flex;
    flex-wrap: wrap;

    & .blog-grid-item {
        width: calc(100% / 3);
    }

    & .blog-excerpt {
        display: none!important;
    }

    & .blog-grid-item:nth-child(3n-2) .blog-item {
        border-right: 1px solid #E0E8FF;
        padding-right: 24px;
        margin-right: 8px;
    }

    & .blog-grid-item:nth-child(3n-1) .blog-item {
        margin-left: 16px;
        margin-right: 16px;
    }

    & .blog-grid-item:nth-child(3n) .blog-item {
        margin-left: 8px;
        border-left: 1px solid #E0E8FF;
        padding-left: 24px;
    }


}

/* RELATED POSTS - MOBILE */
@media (max-width: 980px) {
    .related-posts {
        row-gap: 28px;

        & .blog-grid-item {
            width: 100%!important;
        }
    }
}

/* AUTHOR SECTION */
.single-post-author-section {
    display: flex;
    align-items: flex-start;

    & .author-avatar {
        margin-right: 25px;
        width: 180px;
        height: 180px;
        
        & img {
			width: 100%;
			height: 100%;
			object-fit: cover;
            border-radius: 5px;
        }
    }

    & .author-info {
        width: calc(100% - 292px);

        display: flex;
        flex-direction: column;

        & .written-by {
            color: #2CA8DD;
            font-family: Montserrat;
            font-size: 15px;
            font-style: normal;
            font-weight: 500;
            line-height: normal;
            letter-spacing: -0.15px;
            padding-bottom: 0px !important;

            margin-bottom: 8px !important;
        }

        & .author-name {
            color: #002C67 !important;
            font-family: Inter;
            font-size: 17px;
            font-style: normal;
            font-weight: 600;
            line-height: 24px;
            padding-bottom: 0px !important;

        }
		
		& .author-job-title {
			color: #002C67 !important;
            font-family: Inter;
            font-size: 15px;
            font-style: normal;
            font-weight: 600;
            line-height: 24px;
            padding-bottom: 0px !important;
		}

        & .author-company {
            color: #767D95;
            font-family: Inter;
            font-size: 15px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px;
            padding-bottom: 0px !important;

            margin-bottom: 6px !important;

        }

        & .author-description {
            color: #002C67;
            font-family: Inter;
            font-size: 13px;
            font-style: normal;
            font-weight: 400;
            line-height: 19px; /* 146.154% */
            letter-spacing: 0.13px;

            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            
            padding-bottom: 0px !important;
        }
		
		& a.view-all-posts {
			font-size: 13px;
			margin-top: 12px;
			text-underline-offset: 5px;
			text-decoration: underline;
		}
    }

    & .right-section {
        margin-left: auto;
        gap: 75px;

        & .socials {
            display: flex;
            gap: 10px;
            width: 107px;

            & a {
                display: flex;
            }
        }
    }
    
}
/* AUTHOR SECTION - MOBILE */
@media (max-width: 980px) {
    .single-post-author-section {
        & .author-avatar {
            width: 120px;
            height: 120px;

            margin-right: 11px;
        }

        & .author-info {
            width: calc(100% - 131px);
        }

        & .right-section {
            display: none;
        }
    }
}

/* TABLE OF CONTENTS */
.table-of-contents {
    display: flex;
    flex-direction: column;
    gap: 15px;

    & h3 {
        color: #2CA8DD;
        font-family: Inter;
        font-size: 12px!important;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: 1.8px;
        text-transform: uppercase;
    }

    & ul {
        list-style: none;
        padding-left: 18px;
        padding-bottom: 30px;
        border-left: 1px solid #E0E8FF;

        & li {
            color: #002C67;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-style: normal;
            font-weight: 500;
			line-height: 18px;
			margin-bottom: 7px;

            & a {
                text-decoration: none;
                color: inherit;
            }

            & a:hover {
                text-decoration: underline;
            }
        }
    }
}

/* TABLE OF CONTENTS - MOBILE */
@media (max-width: 980px) {
    .table-of-contents {
        & h3 {
            color: var(--Color-2, #2CA8DD);
            font-size: 12px;
            font-style: normal;
            font-weight: 600;
            line-height: normal;
            letter-spacing: 1.793px;
            text-transform: uppercase;
        }

        & ul {
            padding-left: 0px;
            border-left: none;

            & li {
                color: #002C67;
                font-size: 15.537px;
                font-style: normal;
                font-weight: 500;
                line-height: 28.683px; /* 184.615% */

                &::before {
                    content: '→ ';
                }
            }
        
        }
    }
}

.et_pb_post_content_0_tb_body h2 {
	margin-top: 20px;
	margin-bottom: 5px;
}

/* SINGLE POST TAGS */
.post-tags {

    & ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    & li {
        padding: 10px 20px;
        border: 1px solid #E0E8FF;
        background-color: #F2F4FA;
        border-radius: 3px;

        color: #2CA8DD;
        font-family: Montserrat;
        font-size: 13px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }
}

/* SINGLE POST TAGS - MOBILE */

@media screen and (max-width: 980px) {
    .post-tags {
        & ul {
            gap: 8px;
        }

        & li {
            padding: 8px;
            font-size: 10px;
        }
    }
}

/* --- CATEGORY PAGE --- */

/* CATEGORY POSTS */
.category-posts { 
    display: flex;
    flex-wrap: wrap;
    row-gap: 25px;

    & .blog-grid-item {
        width: calc(100% / 3);
        padding-top: 40px;
        border-top: 1px solid #E0E8FF;
    }

    & .blog-grid-item:nth-child(-n+3) {
        padding-top: 0 !important;
        border-top: none !important;
    }

    & .blog-grid-item:nth-child(3n-2) .blog-item {
        border-right: 1px solid #E0E8FF;
        padding-right: 24px;
        margin-right: 8px;
    }

    & .blog-grid-item:nth-child(3n-1) .blog-item {
        margin-left: 16px;
        margin-right: 16px;
    }

    & .blog-grid-item:nth-child(3n) .blog-item {
        margin-left: 8px;
        border-left: 1px solid #E0E8FF;
        padding-left: 24px;
    }
}

/* CATEGORY POSTS - MOBILE */
@media screen and (max-width: 980px) {
    .category-posts {
        grid-template-columns: 1fr;
        row-gap: 28px;

        & .blog-grid-item {
            width: 100%!important;
            padding-top: 0 !important;
            border-top: none !important;

            & .blog-item {
                border-right: none !important;
                padding-right: 0 !important;
                margin-right: 0 !important;
                margin-left: 0 !important;
                border-left: none !important;
                padding-left: 0 !important;
                padding-bottom: 0 !important;
            }
        }
    }
}

/* CATEGORY_PAGE TOPICS SELECTOR */

ul.category-topics {
    display: flex;
    justify-content: center;
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
    gap: 20px;

    & li {
        display: flex;
        height: fit-content;

        & a {
            padding: 10px !important;
            border-radius: 3px;
            border: 1px solid #E0E8FF;
            background: #FFF;

            color: #2CA8DD;
            font-family: Montserrat;
            font-size: 13px;
            font-style: normal;
            font-weight: 500;
            line-height: 1.2em;
        }
    }

    & li.selected {

        & a {
            background-color: #2CA8DD;
            color: #fff;
        }
    }
}


/* CATEGORY_PAGE TOPICS SELECTOR - MOBILE */

@media screen and (max-width: 980px) {
    ul.category-topics {
        gap: 14px;

        & li {

            & a {
                font-size: 10px;
                padding: 8px !important;
            }
        }
    }
}


/* --- AUTHOR PAGE --- */

/* AUTHOR PAGE CONTENT */

.author-profile {
    display: flex;
    flex-direction: column;
    gap: 45px;


    & .author-header {
        width: 100%;
    
        display: flex;
        align-items: flex-start;
        gap: 28px;
        padding-bottom: 28px;
        border-bottom: 1px solid #E0E8FF;

        & .author-avatar {
            width: 195px;
            height: 195px;
            
            & img {
                border-radius: 5px;
            }
        }

        & .author-info {
            display: flex;
            flex-direction: column;
            height: 195px;

            & .about-the-author {
                color: #2CA8DD !important;
                font-family: 'Inter', sans-serif;
                font-size: 13px;
                font-style: normal;
                font-weight: 600;
                line-height: normal;
                letter-spacing: 1.95px;
                text-transform: uppercase;

                margin-bottom: 10px !important;
                padding-bottom: 0px !important;
            }

            & .author-name {
                color: #002C67 !important;
                font-family: Montserrat;
                font-size: 40px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
                letter-spacing: -2px;

                margin-bottom: 0px!important;
                padding-bottom: 0px !important;
				
				& span.about-author {
					color: #2CA8DD;
                    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
                    font-size: 13px;
                    font-weight: 600;
                    letter-spacing: .15em;
                    text-transform: uppercase;
				}
				
				& span:not(.about-author) {
					font-weight: 700;
				}
            }
			
			& .author-job-title {
				color: #002c67;
				font-family: Montserrat;
                font-size: 20px;
                font-weight: 500;
                line-height: 150%;
                letter-spacing: -1px;
                margin-bottom: 0px !important;
                padding-bottom: 0px !important;
			}

            & .author-company {
                color: #767D95;
                font-family: Montserrat;
                font-size: 20px;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                letter-spacing: -0.8px;

                margin-bottom: 10px !important;
            }

            & .author-social-links {
                margin-top: auto!important;

                display: flex;
                gap: 12px;

                & a {
                    display: flex;
                }
            }
        }
    }   

    & .author-bio p {
        color: #767D95;
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 25px; /* 156.25% */
        letter-spacing: 0.16px;
    }
}

/* AUTHOR PAGE CONTENT - MOBILE */
@media screen and (max-width: 980px) {
    .author-profile {
        & .author-header {
            gap: 20px;

            & .author-avatar {
                width: 120px;
                height: 120px;
            }

            & .author-info {
                height: 120px;

                & .about-the-author {
                    font-size: 11px !important;
                    letter-spacing: 0.5px;
                }

                & .author-company {
                    font-size: 16px !important;
                    letter-spacing: -0.6px;
                }
            }
        }

        & .author-bio p {
            font-size: 15px !important;
        }
    }
}

/* AUTHOR POSTS */

.author-posts {
    display: flex;
    flex-wrap: wrap;
    row-gap: 25px;
    
    & .blog-grid-item {
        width: calc(100% / 3);
        padding-top: 40px;
        border-top: 1px solid #E0E8FF;
    }

    & .blog-grid-item:nth-child(-n+3) {
        padding-top: 0 !important;
        border-top: none !important;
    }

    & .blog-grid-item:nth-child(3n-2) .blog-item {
        border-right: 1px solid #E0E8FF;
        padding-right: 24px;
        margin-right: 8px;
    }

    & .blog-grid-item:nth-child(3n-1) .blog-item {
        margin-left: 16px;
        margin-right: 16px;
    }

    & .blog-grid-item:nth-child(3n) .blog-item {
        margin-left: 8px;
        border-left: 1px solid #E0E8FF;
        padding-left: 24px;
    }
}

/* AUTHOR POSTS - MOBILE */
@media screen and (max-width: 980px) {
    .author-posts {
        grid-template-columns: 1fr;
        row-gap: 28px;

        & .blog-grid-item {
            width: 100%;
            padding-top: 0 !important;
            border-top: none !important;
        
            & .blog-item {
                border-right: none !important;
                padding-right: 0 !important;
                margin-right: 0 !important;
                margin-left: 0 !important;
                border-left: none !important;
                padding-left: 0 !important;
                padding-bottom: 0 !important;
            }
        }
    }
}