/*
 * Custom CSS for Fussep Theme
 * Added for Actualités styling and other specific custom components
 */

.fussep-news-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid #f2f4f8;
}

.fussep-news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 58, 174, 0.08);
}

.fnc-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.fnc-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.fussep-news-card:hover .fnc-image img {
	transform: scale(1.05);
}

.fnc-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.fnc-meta {
	font-size: 13px;
	color: #718096;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.fnc-category {
	color: var(--main-color, #003aae);
	font-weight: 600;
	background: rgba(0, 58, 174, 0.08);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.fnc-title {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 12px;
}

.fnc-title a {
	color: #2d3748;
	transition: color 0.3s ease;
}

.fnc-title a:hover {
	color: var(--main-color, #003aae);
}

.fnc-excerpt {
	font-size: 14px;
	color: #4a5568;
	line-height: 1.6;
	margin-bottom: 15px;
	flex-grow: 1;
}

.fnc-read-more {
	font-size: 14px;
	font-weight: 600;
	color: var(--main-color, #003aae);
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	transition: gap 0.3s ease;
	gap: 5px;
}

.fnc-read-more:hover {
	gap: 10px;
}

/* =============================================
   PORTRAITS — Card Grid Styles
   ============================================= */

/* --- Section & Grid --- */
.fussep-portraits-section {
	padding: 10px 0;
}

.fussep-portraits-grid {
	display: flex;
	flex-wrap: wrap;
}

.fussep-portrait-col {
	padding: 10px;
	display: flex;
}

/* --- Traditional Portrait Card --- */
.fussep-portrait-card {
	background: #ffffff;
	border-radius: 8px;
	/* Plus carré, traditionnel */
	text-align: center;
	border: 1px solid #e0dbce;
	/* Couleur sable/traditionnelle */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	display: flex;
	flex-direction: column;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.fussep-portrait-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--main-color, #003aae);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.4s ease;
}

.fussep-portrait-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
	border-color: #d1c8b4;
}

.fussep-portrait-card:hover::after {
	transform: scaleX(1);
}

/* --- Image Top --- */
.fpc-image-wrapper {
	width: 100%;
	height: 280px;
	/* Plus grand pour mieux voir le portrait vertical */
	overflow: hidden;
	position: relative;
	border-bottom: 2px solid #f0ecdf;
}

.fpc-image-wrapper::before {
	content: '';
	position: absolute;
	inset: 6px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	/* Cadre intérieur plus discret et plus bord à bord */
	z-index: 1;
	pointer-events: none;
}

.fpc-image-wrapper img.fpc-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	/* Force l'image à s'aligner par le haut pour ne pas couper la tête */
	display: block;
	transition: transform 0.6s ease;
	filter: contrast(1.05) saturate(1.1);
	/* Rendu un peu plus riche, traditionnel */
}

.fussep-portrait-card:hover .fpc-image-wrapper img.fpc-image {
	transform: scale(1.05);
}

.fpc-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1a202c, #2d3748);
	display: flex;
	align-items: center;
	justify-content: center;
}

.fpc-image-placeholder span {
	font-size: 4rem;
	font-weight: 700;
	color: #e0dbce;
	font-family: 'Outfit', sans-serif;
	text-transform: uppercase;
}

/* --- Info Area --- */
.fpc-info {
	padding: 20px 20px 25px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.fpc-name {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 5px;
	font-family: 'Outfit', serif;
	/* Si outfit supporte serif sinon fallback */
	line-height: 1.3;
	color: #1a202c;
}

.fpc-name a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.fpc-name a:hover {
	color: var(--main-color, #003aae);
}

.fpc-meta {
	margin-bottom: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.fpc-role {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	color: #c98a2c;
	/* Couleur dorée tradtionnelle type or/laiton */
	text-transform: uppercase;
	letter-spacing: 1px;
	font-family: 'Manrope', sans-serif;
}

.fpc-fonction {
	display: block;
	font-size: 0.85rem;
	color: #718096;
	font-family: 'Manrope', sans-serif;
	font-style: italic;
}

/* --- Excerpt --- */
.fpc-excerpt {
	font-size: 0.9rem;
	color: #4a5568;
	line-height: 1.6;
	margin-bottom: 15px;
	flex-grow: 1;
	/* Pousse le bouton vers le bas */
	font-family: 'Manrope', sans-serif;
}

.fpc-readmore {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--main-color, #003aae);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: all 0.3s ease;
	padding-bottom: 2px;
}

.fpc-readmore i {
	margin-left: 5px;
	transition: transform 0.3s ease;
}

.fpc-readmore:hover {
	color: #1a202c;
	border-color: #1a202c;
}

.fpc-readmore:hover i {
	transform: translateX(4px);
}

/* --- Mini Mode Styles (Shortcode [fussep_portraits_mini]) --- */
.fpc-mini .fpc-image-wrapper {
	height: 200px;
}
.fpc-mini .fpc-info {
	padding: 15px 15px 20px;
}
.fpc-mini .fpc-name {
	font-size: 1.1rem;
}
.fpc-mini .fpc-role {
	font-size: 0.65rem;
}
.fpc-mini .fpc-excerpt {
	font-size: 0.8rem;
	margin-bottom: 10px;
}
.fpc-filterable-item {
	transition: opacity 0.3s ease;
}

/* --- Social Links --- */
.fpc-socials {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.fpc-social-link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f7fc;
	color: #718096;
	font-size: 14px;
	transition: all 0.3s ease;
	text-decoration: none;
	border: 1px solid transparent;
}

.fpc-social-link:hover {
	background: var(--main-color, #003aae);
	color: #fff;
	border-color: var(--main-color, #003aae);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 58, 174, 0.25);
}


/* =============================================
   PORTRAITS — Archive Page
   ============================================= */

.fussep-portraits-archive-section {
	padding: 30px 0 60px;
	background: #fafbfe;
}

.fussep-portraits-archive-header {
	margin-bottom: 30px;
}

/* --- Category Filters --- */
.fpc-filters {
	margin-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.fpc-filter-btn {
	display: inline-block;
	padding: 8px 24px;
	border-radius: 30px;
	font-size: 0.85rem;
	font-weight: 600;
	font-family: 'Manrope', sans-serif;
	text-decoration: none;
	color: #4a5568;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	transition: all 0.3s ease;
	letter-spacing: 0.3px;
}

.fpc-filter-btn:hover {
	color: var(--main-color, #003aae);
	border-color: var(--main-color, #003aae);
	background: rgba(0, 58, 174, 0.04);
	transform: translateY(-1px);
}

.fpc-filter-btn.active {
	color: #ffffff;
	background: var(--main-color, #003aae);
	border-color: var(--main-color, #003aae);
	box-shadow: 0 4px 12px rgba(0, 58, 174, 0.25);
}

.fpc-section-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--main-color, #003aae);
	background: rgba(0, 58, 174, 0.07);
	padding: 6px 20px;
	border-radius: 30px;
	margin-bottom: 16px;
	font-family: 'Manrope', sans-serif;
}

.fpc-section-title {
	font-size: 2.2rem;
	font-weight: 800;
	color: #1a202c;
	font-family: 'Outfit', sans-serif;
	margin-bottom: 12px;
	line-height: 1.2;
}

.fpc-section-subtitle {
	font-size: 1.05rem;
	color: #718096;
	max-width: 550px;
	margin: 0 auto;
	line-height: 1.7;
	font-family: 'Manrope', sans-serif;
}


/* =============================================
   PORTRAITS — Single Page
   ============================================= */

.fussep-single-portrait-section {
	padding: 40px 0 60px;
	background: #fafbfe;
}

/* --- Sidebar Card --- */
.fsp-sidebar-card {
	background: #ffffff;
	border-radius: 24px;
	padding: 40px 30px 30px;
	text-align: center;
	border: 1px solid rgba(0, 58, 174, 0.06);
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
	position: sticky;
	top: 120px;
}

.fsp-photo-wrapper {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 24px;
	border: 5px solid #f0f4ff;
	box-shadow: 0 6px 20px rgba(0, 58, 174, 0.10);
}

.fsp-photo-wrapper img.fsp-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fsp-photo-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--main-color, #003aae), #5b8dee);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.fsp-photo-placeholder span {
	font-size: 4rem;
	font-weight: 700;
	color: #fff;
	font-family: 'Outfit', sans-serif;
	text-transform: uppercase;
}

.fsp-card-info {
	margin-bottom: 10px;
}

.fsp-card-name {
	font-size: 1.4rem;
	font-weight: 800;
	color: #1a202c;
	font-family: 'Outfit', sans-serif;
	margin-bottom: 6px;
}

.fsp-card-role {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--main-color, #003aae);
	background: rgba(0, 58, 174, 0.07);
	padding: 5px 18px;
	border-radius: 20px;
	font-family: 'Manrope', sans-serif;
}

.fsp-card-fonction {
	display: block;
	font-size: 0.85rem;
	color: #718096;
	font-family: 'Manrope', sans-serif;
	margin-top: 6px;
	font-style: italic;
}

.fsp-card-divider {
	width: 60px;
	height: 1px;
	background: linear-gradient(90deg, transparent, #dce3f0, transparent);
	margin: 18px auto;
}

.fsp-card-socials {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.fsp-social-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f7fc;
	color: #718096;
	font-size: 15px;
	transition: all 0.3s ease;
	text-decoration: none;
	border: 1px solid transparent;
}

.fsp-social-btn:hover {
	background: var(--main-color, #003aae);
	color: #fff;
	border-color: var(--main-color, #003aae);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 58, 174, 0.25);
}

/* --- Content Area --- */
.fsp-content-area {
	padding-left: 20px;
}

.fsp-content-header {
	margin-bottom: 30px;
}

.fsp-bio-tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--main-color, #003aae);
	background: rgba(0, 58, 174, 0.07);
	padding: 5px 16px;
	border-radius: 20px;
	margin-bottom: 14px;
	font-family: 'Manrope', sans-serif;
}

.fsp-content-title {
	font-size: 2rem;
	font-weight: 800;
	color: #1a202c;
	font-family: 'Outfit', sans-serif;
	margin-bottom: 6px;
	line-height: 1.2;
}

.fsp-content-role {
	font-size: 1rem;
	color: #718096;
	font-family: 'Manrope', sans-serif;
}

.fsp-bio-content {
	background: #ffffff;
	border-radius: 20px;
	padding: 35px 35px;
	border: 1px solid rgba(0, 58, 174, 0.06);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
	line-height: 1.85;
	font-size: 1rem;
	color: #4a5568;
	font-family: 'Manrope', sans-serif;
}

.fsp-bio-content p {
	margin-bottom: 16px;
	text-align: justify;
}

.fsp-bio-content p:last-child {
	margin-bottom: 0;
}

/* --- Related Portraits --- */
.fsp-related-section {
	margin-top: 70px;
	padding-top: 50px;
	border-top: 1px solid #edf2f7;
}

.fsp-related-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: #1a202c;
	text-align: center;
	margin-bottom: 35px;
	font-family: 'Outfit', sans-serif;
}


/* =============================================
   PORTRAITS — Responsive
   ============================================= */

@media (max-width: 991px) {
	.fsp-content-area {
		padding-left: 0;
		margin-top: 40px;
	}

	.fsp-sidebar-card {
		position: static;
		margin-bottom: 20px;
	}

	.fpc-section-title {
		font-size: 1.8rem;
	}

	.fsp-content-title {
		font-size: 1.6rem;
	}
}

@media (max-width: 767px) {
	.fussep-portraits-archive-section {
		padding: 50px 0 40px;
	}

	.fussep-single-portrait-section {
		padding: 50px 0 40px;
	}

	.fpc-section-title {
		font-size: 1.5rem;
	}

	.fsp-photo-wrapper {
		width: 140px;
		height: 140px;
	}

	.fsp-bio-content {
		padding: 25px 20px;
	}

	.fussep-portrait-col {
		padding: 10px;
	}

	.fussep-portrait-card {
		padding: 30px 20px 24px;
		border-radius: 16px;
	}

	.fpc-avatar-wrapper {
		width: 100px;
		height: 100px;
	}
}