/* Styling Radio Button */
#post-cat-radio {
	background: #053630;
}
#post-cat-radio label {
    border-radius: 40px;
    border: 2px solid #fff;
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    user-select: none;
	cursor: pointer;
	transition: background 0.3s ease;
}
.tab-category-top, .tab-category-bottom {
    width: 100%;
    display: flex;
    gap: 25px;
	align-content: center;
	overflow-x: scroll;
	white-space: nowrap;
	align-items: center;
	-ms-overflow-style: none;
    scrollbar-width: none;
}
.tab-category-top::-webkit-scrollbar, .tab-category-bottom::-webkit-scrollbar {
    display: none;
}
.tab-category-top {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
	height: 94px;
}
.tab-category-top label {
	padding: 13px 25px 13px 25px;
}
#post-cat-radio .tab-category-top label:hover, #post-cat-radio .tab-category-top label.show_category {
	background: #51D1C9;
	border-color: #51D1C9;
}
.tab-category-bottom {
	background: #51D1C9;
	height: 66px;
	padding: 0 80px;
}
.tab-category-bottom label {
	padding: 10px 20px 10px 20px;
}
#post-cat-radio .tab-category-bottom label:hover, #post-cat-radio .tab-category-bottom label.show_category {
	background: #053630;
	border-color: #053630;
}
.tab-category-bottom label.active{
    display: block;
}
input[type="radio"] {
    display: none;
}

/* General */
#dynamic-content-container{
	margin-top: 100px;
    display: flex;
}

#dynamic-content-container.show__overflow{
    display: flex;
}
.isLoading {
	display: none;
}



/* Display Posts */
.posts-container {
    display: none;
    flex-wrap: wrap;
}
.post-items {
    flex: 0 0 33.333%;
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.post-items img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 20px;
	margin-bottom: 10px;
}
.posts-container .post-items h4, .post-items h4 {
    font-weight: 600;
    line-height: 30px;
    font-size: 20px;
	color: black;
	margin: 0;
}
.date {
	font-style: italic;
}

/* Display Documents */
.documents-container {
	flex-direction:column;
	border-radius: 20px;
	display: flex;
	background: url('/wp-content/uploads/2023/11/Group-4.svg'), #CAE0E0;
	background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}
.documents-container h4 {
	font-size: 20px;
	color: black;
}
.docs-inner {
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.docs-inner:not(:last-child) {
	border-bottom: 1px solid #053630;
}

/* Display Gallery */
.gallery-container {
	flex-direction: column;
	gap: 60px;
}
.gallery-inner {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.galleryPage {
	display: flex;
    flex-direction: row;
	flex-wrap: wrap;
	gap: 30px;
}
.galleryPage a {
	flex: 0 0 31%;
}
.galleryPage img {
	border-radius: 20px;
	height: 250px;
	width: 100%;
	object-fit: cover;
}

/* Pagination */
.pagination__post {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 30px;
	align-items: center;
}
.pagination{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
    margin-right: -10px;
}
.pagination__post .page-numbers {
    background: transparent;
    color: #053630;
    font-weight: 300;
}
.pagination a {
    background: transparent;
    padding: 0;
    color: #053630;
    font-weight: 600;
    width: 50px;
	font-size: 20px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination a.page.current {
    border: 2px solid #053630;
    border-radius: 100%;
}
.pagination__post span.page-numbers.current {
    background: transparent;
    border-radius: 40px !important;
    color: #053630;
    border-color: #053630;
    padding: 0;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-nav.next {
	transform: rotate(-90deg);
}
.page-nav.prev {
	transform: rotate(90deg);
}

/* Lightbox */
.lightbox .lb-image {
	border: none;
}

/* Pour les tablettes */
@media (max-width: 768px) {
	.tab-category-top {
		max-width: 600px; 
	}
}

/* Pour les téléphones mobiles */
@media (max-width: 480px) {
	.tab-category-top, .tab-category-bottom {
		max-width: 100%; 
		padding: 0 15px; 
	}
	.post-items, .galleryPage a {
		flex-basis: 100%;
	}
	.documents-container, .gallery-container {
		margin: 0 20px;
	}
	html, body {
		max-width: 100%;
		overflow-x: hidden;
	}
}