/*
Theme Name: Club ePlaneur
Theme URI: https://club.eplaneur.fr/
Template: twentytwentyfive
Author: Club ePlaneur
Description: Twenty Twenty-Five child theme reproducing the look of the former OceanWP "Colibri" theme (header, grey title band, right sidebar, dark footer). Layouts follow the OceanWP per-page settings (full width / full screen / disabled title).
Version: 1.1.0
Requires at least: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: club-eplaneur
*/

/* ------------------------------------------------------------------ Base */

:root {
	--cep-accent: #13aff0;
	--cep-accent-hover: #0b7cac;
	--cep-heading: #333;
	--cep-text: #4a4a4a;
	--cep-border: #f1f1f1;
	--cep-icon-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='12' cy='7.5' r='4.5'/%3E%3Cpath d='M3 21.5c0-4.7 4-7.5 9-7.5s9 2.8 9 7.5z'/%3E%3C/svg%3E");
	--cep-icon-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M20 13v8H3V4h8'/%3E%3Cpath d='M18 2.5l3.5 3.5L12 15.5H8.5V12z'/%3E%3C/svg%3E");
	--cep-icon-folder: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M2 5h7l2 2.5h11V20H2z'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
	--cep-icon-bubble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M2.5 4h19v13H9l-5 4v-4H2.5z'/%3E%3C/svg%3E");
	--cep-icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 6v6.5h4.5'/%3E%3C/svg%3E");
	--cep-icon-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M2 11.5L12 3l10 8.5'/%3E%3Cpath d='M5 9.5V21h5v-6h4v6h5V9.5'/%3E%3C/svg%3E");
	--cep-icon-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}

/* OceanWP root size: 1rem = 10px. Page content written under OceanWP uses
   rem units in inline styles (e.g. the home page hero), keep them identical. */
html {
	font-size: 62.5%;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Parent theme balances/prettifies line breaks; OceanWP did not. */
h1, h2, h3, h4, h5, h6, p, li, blockquote, figcaption {
	text-wrap: wrap;
}

/* Parent theme adds underline offsets on links; OceanWP had none. */
a:where(:not(.wp-element-button)) {
	text-decoration: none;
}

/* Paragraph / list rhythm of OceanWP: margins below, not above. */
.cep-entry > p,
.cep-entry p {
	margin-top: 0;
	margin-bottom: 20px;
}
.cep-entry > * + * {
	margin-block-start: 0;
}
.cep-entry > h1,
.cep-entry > h2,
.cep-entry > h3,
.cep-entry > h4,
.cep-entry > h5,
.cep-entry > h6 {
	margin: 0 0 20px;
}
.cep-entry ul,
.cep-entry ol {
	margin: 15px 0 15px 20px;
	padding: 0;
}
.cep-entry li {
	margin-top: 0;
	margin-bottom: 0;
}
.cep-entry li ul,
.cep-entry li ol {
	margin: 0 0 0 20px;
}
.cep-entry > pre {
	margin: 20px 0;
}
.cep-entry strong,
.cep-entry b {
	font-weight: 600;
}
.cep-entry img {
	max-width: 100%;
	height: auto;
}
.cep-entry table {
	width: 100%;
	margin-bottom: 2.618em;
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	border-style: solid;
	border-color: #e9e9e9;
}
.cep-entry th,
.cep-entry td {
	padding: 10px;
	text-align: left;
	vertical-align: top;
	border-width: 0 1px 1px 0;
	border-style: solid;
	border-color: #e9e9e9;
}
.cep-entry th {
	font-weight: 600;
}

/* Form fields (OceanWP defaults). */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
	min-height: 40px;
	padding: 6px 12px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.8;
	color: #333;
	background: transparent;
	border: 1px solid #ddd;
	border-radius: 3px;
	box-sizing: border-box;
}
input:focus,
textarea:focus,
select:focus {
	border-color: #bbb;
	outline: 0;
}

/* ------------------------------------------------------------- Container */

.cep-container {
	width: 1200px;
	max-width: 90%;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}

/* Template parts/main must not get the flow gap between them. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* ---------------------------------------------------------------- Header */

.cep-topbar {
	height: 16px;
	background: #fff;
	border-bottom: 1px solid var(--cep-border);
}

.cep-header {
	position: relative;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--cep-border);
}

.cep-header-inner {
	height: 74px;
}

.cep-header .cep-logo,
.cep-header .cep-logo a,
.cep-header .cep-logo img {
	display: block;
	line-height: 0;
}

.cep-header .cep-logo img {
	width: 56px;
	height: auto;
}

.cep-header-right {
	height: 100%;
	margin-right: -15px !important;
}

/* Main navigation */
.cep-main-nav {
	height: 100%;
	font-size: 14px;
}

.cep-main-nav .wp-block-navigation__container {
	height: 100%;
	gap: 0;
}

.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item {
	height: 100%;
}

.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	display: block;
	padding: 0 15px;
	font-size: 14px;
	font-weight: 600;
	line-height: 74px;
	letter-spacing: 0.6px;
	color: #555;
	text-decoration: none;
	transition: color 0.3s;
}

.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
	padding-right: 0;
}

.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item:focus-within > .wp-block-navigation-item__content,
.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation__submenu-icon {
	color: var(--cep-accent);
}

.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
	width: auto;
	height: auto;
	margin: 0;
	padding: 0 20px 0 6px;
	color: #555;
}

.cep-main-nav .wp-block-navigation__submenu-icon svg {
	width: 12px;
	height: 12px;
	stroke-width: 2;
}

/* Dropdowns */
.cep-main-nav .wp-block-navigation__submenu-container {
	min-width: 180px !important;
	width: 180px;
	padding: 0 !important;
	background: #fff !important;
	color: #333 !important;
	border: 0 !important;
	border-top: 3px solid var(--cep-accent) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-container {
	top: 100% !important;
	left: 0 !important;
}

.cep-main-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	top: -3px !important;
	left: 100% !important;
}

.cep-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
	position: relative;
	border-bottom: 1px solid var(--cep-border);
}

.cep-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child {
	border-bottom: 0;
}

.cep-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 12px 15px !important;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.6px;
	color: #333;
	transition: background-color 0.3s, color 0.3s;
}

.cep-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	background-color: #f8f8f8;
	color: #555;
}

.cep-main-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon {
	position: absolute;
	top: 50%;
	right: 15px;
	margin: -6px 0 0 !important;
	padding: 0 !important;
	color: #333;
}

.cep-main-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg {
	transform: rotate(-90deg);
}

/* Header search icon */
.cep-header-search {
	margin: 0;
}

.cep-header-search .wp-block-search__button {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0 15px !important;
	min-width: 0;
	height: 74px;
	background: transparent !important;
	border: 0 !important;
	color: #555 !important;
}

.cep-header-search .wp-block-search__button:hover {
	color: var(--cep-accent) !important;
}

.cep-header-search .wp-block-search__button svg {
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
}

.cep-header-search .wp-block-search__inside-wrapper {
	align-items: center;
	border: 0 !important;
	padding: 0 !important;
}

.cep-header-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
	height: 36px;
	min-height: 0;
}

/* Mobile menu (OceanWP switched to the mobile menu below 960px). */
.cep-main-nav .wp-block-navigation__responsive-container-open {
	padding: 0 0 0 15px;
	color: #555;
}

@media (max-width: 959px) {
	.cep-main-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.cep-main-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

.cep-main-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 30px 5% !important;
	background: #fff !important;
	color: #333 !important;
}

.cep-main-nav .is-menu-open .wp-block-navigation__container,
.cep-main-nav .is-menu-open .wp-block-navigation-item {
	height: auto !important;
}

.cep-main-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	line-height: 1.6;
	padding: 10px 0 !important;
}

.cep-main-nav .is-menu-open .wp-block-navigation__submenu-container {
	width: auto;
	border-top: 0 !important;
	box-shadow: none;
}

/* ----------------------------------------------------- Page title band */

.cep-page-header {
	background-color: #f5f5f5;
	padding: 34px 0;
}

.cep-page-header-inner {
	gap: 10px 20px;
}

.cep-page-header .cep-page-header-title {
	margin: 0;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: normal;
	color: #333;
}

.cep-breadcrumbs {
	margin-top: -12px !important;
	font-size: 13px;
	line-height: 1.4;
	color: #6f6f6f;
}

.cep-breadcrumbs ol {
	margin: 0;
	padding: 0;
}

.cep-breadcrumbs a,
.cep-breadcrumbs [aria-current] {
	color: #333;
}

.cep-breadcrumbs a:hover {
	color: var(--cep-accent);
}

/* Home item shown as an icon, like OceanWP. */
.cep-breadcrumbs li:first-child a {
	display: inline-block;
	width: 13px;
	height: 13px;
	overflow: hidden;
	vertical-align: -1px;
	text-indent: 100%;
	white-space: nowrap;
	background-color: currentColor;
	-webkit-mask: var(--cep-icon-home) center / contain no-repeat;
	mask: var(--cep-icon-home) center / contain no-repeat;
}

/* ------------------------------------------------- Content + sidebar */

.cep-content-wrap {
	padding: 50px 0;
}

.cep-content-full-screen {
	width: 100%;
}

.cep-has-sidebar {
	display: flex;
	align-items: flex-start;
}

.cep-has-sidebar > .cep-primary {
	width: 72%;
	flex: 0 0 72%;
	padding-right: 30px;
	border-right: 1px solid var(--cep-border);
	box-sizing: border-box;
	min-width: 0;
	margin: 0;
}

.cep-has-sidebar > .cep-sidebar {
	width: 28%;
	flex: 0 0 28%;
	padding-left: 30px;
	box-sizing: border-box;
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
}

@media (max-width: 959px) {
	.cep-has-sidebar {
		display: block;
	}

	.cep-has-sidebar > .cep-primary,
	.cep-has-sidebar > .cep-sidebar {
		width: 100%;
		padding: 0;
		border: 0;
	}

	.cep-has-sidebar > .cep-sidebar {
		margin-top: 40px;
	}
}

/* --------------------------------------------------------------- Sidebar */

.cep-sidebar > * {
	margin: 0 0 40px !important;
}

.cep-sidebar > *:last-child {
	margin-bottom: 0 !important;
}

.cep-sidebar h2 {
	margin: 0 0 20px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1px;
	color: #333;
}

.cep-widget-title,
.cep-sidebar .cep-widget-title {
	margin: 0 0 20px !important;
	padding-left: 15px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: capitalize;
	color: #333;
	border-left: 3px solid var(--cep-accent);
}

/* Search widget */
.cep-sidebar .wp-block-search__label {
	display: block;
	line-height: 1.3;
	margin: 0 0 3px;
	font-size: 13px;
	font-weight: 400;
}

.cep-sidebar .wp-block-search__inside-wrapper {
	gap: 0;
}

.cep-sidebar .wp-block-search__input {
	height: 42px;
	margin: 0;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.cep-sidebar .wp-block-search__button {
	margin: 0 !important;
	height: 42px;
	padding: 14px 20px;
	border: 1px solid #fff;
}

/* Latest posts / comments */
.cep-sidebar .wp-block-latest-posts,
.cep-sidebar .wp-block-latest-comments {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cep-sidebar .wp-block-latest-posts li {
	margin: 0;
}

.cep-sidebar .wp-block-latest-posts a {
	font-size: 13px;
	color: #333;
}

.cep-sidebar .wp-block-latest-posts a:hover {
	color: var(--cep-accent);
}

.cep-sidebar .wp-block-latest-comments.no-comments,
.cep-sidebar .no-comments.wp-block-latest-comments {
	text-align: right;
}

/* Boxed social icons ("light" style of the OceanWP social widget) */
.cep-social-boxed.wp-block-social-links {
	gap: 6px !important;
	margin: 0 0 0 3px;
	padding: 0;
}

.cep-social-boxed .wp-social-link {
	width: 55px;
	height: 55px;
	margin: 0 !important;
	border: 1px solid #e9e9e9;
	border-radius: 2px;
	background: transparent !important;
	color: #bbb !important;
	transition: transform 0.3s, color 0.3s;
}

.cep-social-boxed .wp-social-link a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0 !important;
}

.cep-social-boxed .wp-social-link svg {
	width: 16px;
	height: 16px;
}

.cep-social-boxed .wp-social-link:hover {
	transform: scale(0.9);
	color: var(--cep-accent) !important;
}

/* "Recent Posts" (OceanWP recent posts widget) */
.cep-recent-posts .wp-block-post-template {
	margin: 0;
	padding: 0;
}

.cep-recent-posts .wp-block-post {
	margin: 0 0 15px !important;
	padding: 0 0 15px;
	border-bottom: 1px solid var(--cep-border);
}

.cep-recent-posts .wp-block-post:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0;
	border-bottom: 0;
}

.cep-recent-posts .cep-recent-posts-title {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.4px;
}

.cep-recent-posts .cep-recent-posts-title a {
	color: #333;
}

.cep-recent-posts .cep-recent-posts-info {
	margin-top: 6px !important;
	font-size: 10px;
	line-height: 1.2;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	color: #aaa;
}

.cep-recent-posts .cep-recent-posts-info > * {
	margin: 0;
	font-size: 10px;
}

.cep-recent-posts .cep-recent-posts-info a {
	color: #aaa;
}

.cep-recent-posts .wp-block-post-date::after {
	content: "/";
	padding: 0 6px 0 3px;
}

/* Calendar */
.cep-sidebar .wp-block-calendar table {
	border: 0;
}

.cep-sidebar .wp-block-calendar caption {
	padding-bottom: 10px;
	margin-bottom: 10px;
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	text-transform: uppercase;
	color: var(--cep-accent);
	border-bottom: 3px solid #e9e9e9;
}

.cep-sidebar .wp-block-calendar th,
.cep-sidebar .wp-block-calendar td {
	padding: 4px 0;
	text-align: center;
	background: transparent;
	border: 0;
	color: #4a4a4a;
}

.cep-sidebar .wp-block-calendar th {
	font-weight: 600;
}

.cep-sidebar .wp-block-calendar #today {
	color: var(--cep-accent);
	font-weight: 600;
}

.cep-sidebar .wp-block-calendar .wp-calendar-nav {
	margin-top: 10px;
}

/* ------------------------------------------------------------ Single post */

.cep-primary .cep-entry-title {
	margin: 0 0 15px;
	padding: 0 0 20px;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.6px;
	color: #333;
	border-bottom: 1px solid var(--cep-border);
}

.cep-meta {
	margin: 0 0 20px !important;
	padding: 0 0 15px;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0.6px;
	color: #4a4a4a;
	border-bottom: 1px solid var(--cep-border);
}

.cep-meta > * {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding-bottom: 5px;
	font-size: 14px;
	font-weight: 400;
}

.cep-meta > * a {
	color: #4a4a4a;
}

.cep-meta > * a:hover {
	color: var(--cep-accent);
}

.cep-meta > *::before {
	content: "";
	display: inline-block;
	width: 17px;
	height: 17px;
	margin-right: 9px;
	background-color: currentColor;
	-webkit-mask: var(--cep-icon-user) center / contain no-repeat;
	mask: var(--cep-icon-user) center / contain no-repeat;
}

.cep-meta > * + *::before {
	margin-left: 0;
}

.cep-meta > * + * {
	margin-left: 0;
}

.cep-meta > *:not(:last-child)::after {
	content: "-";
	padding: 0 10px;
	font-weight: 600;
}

.cep-meta .cep-meta-date::before {
	-webkit-mask-image: var(--cep-icon-note);
	mask-image: var(--cep-icon-note);
}

.cep-meta .cep-meta-cat::before {
	-webkit-mask-image: var(--cep-icon-folder);
	mask-image: var(--cep-icon-folder);
}

.cep-meta .cep-meta-comments::before {
	-webkit-mask-image: var(--cep-icon-bubble);
	mask-image: var(--cep-icon-bubble);
}

/* OceanWP did not show the comments item when comments are closed. */
.cep-meta .cep-meta-comments:empty {
	display: none;
}

.cep-primary .cep-entry {
	margin-bottom: 20px;
}

.cep-thumbnail {
	margin: 0 0 20px;
}

.cep-post-tags {
	font-size: 12px;
	margin: 0 0 20px;
}

/* Related posts */
.cep-related {
	margin: 30px 0 0 !important;
	padding: 30px 0 0;
	border-top: 1px solid var(--cep-border);
}

.cep-related .cep-related-title {
	margin: 0 0 15px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	color: #333;
}

.cep-related .wp-block-post-template {
	gap: 20px;
}

.cep-related .wp-block-post {
	text-align: center;
}

.cep-related .cep-related-post-title {
	margin: 10px 0 5px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.cep-related .cep-related-post-title a {
	color: #333;
}

.cep-related .cep-related-date {
	margin: 0;
	font-size: 12px;
	color: #4a4a4a;
}

.cep-related .cep-related-date::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 5px;
	vertical-align: -1px;
	background-color: currentColor;
	-webkit-mask: var(--cep-icon-clock) center / contain no-repeat;
	mask: var(--cep-icon-clock) center / contain no-repeat;
}

.cep-comments {
	margin-top: 30px !important;
}

/* ----------------------------------------------- Blog / archives / search */

.cep-blog-entries .wp-block-post-template {
	margin: 0;
	padding: 0;
}

.cep-blog-entry {
	margin: 0 0 30px;
	padding: 0 0 30px;
	border-bottom: 1px solid var(--cep-border);
}

.cep-blog-entry .wp-block-post-featured-image {
	margin: 0 0 20px;
}

.cep-blog-entry .cep-blog-entry-title {
	margin: 0 0 15px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.6px;
}

.cep-blog-entry .cep-blog-entry-title a {
	color: #333;
}

.cep-blog-entry .cep-blog-entry-title a:hover {
	color: var(--cep-accent);
}

.cep-blog-entry .cep-meta {
	padding: 0;
	margin: 0 0 20px !important;
	border-bottom: 0;
}

.cep-blog-entry .cep-meta .cep-meta-date {
	font-size: 13px;
}

.cep-blog-entry .cep-meta .cep-meta-date::before {
	-webkit-mask-image: var(--cep-icon-clock);
	mask-image: var(--cep-icon-clock);
}

.cep-blog-entry-summary {
	margin: 0;
}

.cep-blog-entry-summary .wp-block-post-excerpt__excerpt {
	margin: 0 0 20px;
}

.cep-blog-entry-summary .wp-block-post-excerpt__more-text {
	margin: 0;
}

.cep-blog-entry-summary .wp-block-post-excerpt__more-link {
	display: inline-block;
	padding: 8px 16px;
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: capitalize;
	color: #333;
	border: 1px solid #e0e0e0;
	border-radius: 2px;
}

.cep-blog-entry-summary .wp-block-post-excerpt__more-link::after {
	content: "\203A";
	margin-left: 8px;
	font-size: 14px;
	font-weight: 600;
}

.cep-blog-entry-summary .wp-block-post-excerpt__more-link:hover {
	color: #fff;
	background-color: var(--cep-accent);
	border-color: var(--cep-accent);
}

.cep-pagination {
	margin-top: 30px;
	gap: 6px;
	font-size: 13px;
}

.cep-pagination .page-numbers,
.cep-pagination a {
	display: inline-block;
	min-width: 34px;
	padding: 3px 10px;
	text-align: center;
	color: #555;
	border: 1px solid #e9e9e9;
	border-radius: 2px;
}

.cep-pagination .page-numbers.current,
.cep-pagination a:hover {
	color: #fff;
	background: var(--cep-accent);
	border-color: var(--cep-accent);
}

.cep-error-page .cep-error-title {
	font-size: 120px;
	line-height: 1;
	color: #eee;
}

/* ---------------------------------------------------------------- Footer */

.cep-footer-widgets {
	padding: 30px 0;
	background-color: #222;
	color: #929292;
	text-align: center;
}

.cep-footer-columns {
	gap: 0 !important;
	margin: 0;
}

.cep-footer-columns > .wp-block-column {
	flex: 0 0 25% !important;
	padding: 0 15px;
	box-sizing: border-box;
}

@media (max-width: 959px) {
	.cep-footer-columns {
		flex-wrap: wrap !important;
	}

	.cep-footer-columns > .wp-block-column {
		flex-basis: 50% !important;
	}
}

@media (max-width: 480px) {
	.cep-footer-columns > .wp-block-column {
		flex-basis: 100% !important;
	}
}

.cep-footer-widgets .cep-widget-title {
	color: #fff;
}

.cep-footer-social.wp-block-social-links {
	gap: 0 !important;
	margin: 17px 0 0;
	padding: 0;
}

.cep-footer-social .wp-social-link {
	margin: 0 !important;
	background: transparent !important;
	color: #ddd !important;
}

.cep-footer-social .wp-social-link a {
	padding: 0.5em !important;
}

.cep-footer-social .wp-social-link svg {
	width: 20px !important;
	height: 20px !important;
}

.cep-footer-social .wp-social-link:hover {
	color: #20aad9 !important;
}

.cep-footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	letter-spacing: 0.6px;
}

.cep-footer-links li {
	padding: 2px 0;
}

.cep-footer-links a {
	color: #fff;
}

.cep-footer-links a:hover {
	color: var(--cep-accent);
}

.cep-footer-links a::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 10px;
	vertical-align: 0;
	background-color: #929292;
	-webkit-mask: var(--cep-icon-circle) center / contain no-repeat;
	mask: var(--cep-icon-circle) center / contain no-repeat;
}

.cep-footer-bottom {
	padding: 15px 0;
	background-color: #1b1b1b;
}

.cep-footer-bottom p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 12px;
	line-height: 1;
	color: #fff;
}

/* Scroll to top button */
.cep-scroll-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #fff !important;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 2px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
}

.cep-scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.cep-scroll-top:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

@media only screen and (max-width: 320px) {
	.cep-scroll-top {
		display: none !important;
	}
}

/* --------------------------------------------- Former Customizer CSS */

/* Agrandir la boîte méta Ultimate Member dans Gutenberg */
#um-admin-metabox,
.metabox-holder .postbox {
	max-height: none !important;
	height: auto !important;
}

/* Core flips the dropdown chevron when a submenu is open; OceanWP did not. */
.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon[aria-expanded="true"] svg,
.cep-main-nav .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation__submenu-icon svg {
	transform: none;
}

/* Mobile header, as OceanWP: "☰ Menu" toggle, no search icon, taller top bar. */
@media (max-width: 959px) {
	.cep-header-search {
		display: none;
	}

	.cep-main-nav .wp-block-navigation__responsive-container-open {
		gap: 8px;
		padding: 0 15px;
		font-size: 14px;
		font-weight: 600;
		letter-spacing: 0.6px;
		color: #555;
	}

	.cep-main-nav .wp-block-navigation__responsive-container-open svg {
		width: 18px;
		height: 18px;
	}

	.cep-main-nav .wp-block-navigation__responsive-container-open::after {
		content: "Menu";
		font-family: var(--wp--preset--font-family--open-sans);
		font-weight: 600;
	}
}

@media (max-width: 767px) {
	.cep-topbar {
		height: 40px;
	}
}

/* ===================================================================
   OceanWP parity, measured against the production rendering (2026-11-14)
   =================================================================== */

/* Post meta: 17px icon + 6px gap, "-" separator with 6px padding; the date
   is preceded by a space, as in OceanWP's markup. */
.cep-meta > *::before {
	margin-right: 6px;
}

.cep-meta > *:not(:last-child)::after {
	padding: 0 6px;
}

.cep-meta .cep-meta-date time::before {
	content: " ";
	white-space: pre;
}

/* Blog / archive list */
.cep-blog-entry .cep-blog-entry-title {
	margin: 0 0 20px;
	letter-spacing: normal;
}

.cep-blog-entry .cep-meta {
	margin: 0 0 12px !important;
	padding: 0 0 10px;
	letter-spacing: normal;
}

.cep-blog-entry .cep-meta > * {
	line-height: 21px;
}

.cep-blog-entry .cep-meta .cep-meta-date {
	font-size: 14px;
}

.cep-blog-entry .cep-meta .cep-meta-date time {
	font-size: 12px;
}

.cep-blog-entry-summary .wp-block-post-excerpt__excerpt {
	margin: 0 0 20px;
	line-height: 1.8;
}

.cep-blog-entry-summary .wp-block-post-excerpt__more-link {
	padding: 10px 16px;
	line-height: 1;
	letter-spacing: 1px;
	border-color: #ddd;
}

/* Pagination: 40px boxes aligned right, grey current page */
.cep-pagination {
	margin-top: 0;
	gap: 0;
	font-size: 18px;
}

.cep-pagination .wp-block-query-pagination-numbers {
	display: flex;
	margin: 0;
}

.cep-pagination .page-numbers,
.cep-pagination a {
	display: inline-block;
	box-sizing: border-box;
	min-width: 40px;
	height: 40px;
	/* OceanWP: 8px margin + the white space between inline list items */
	margin: 0 8px 0 9px;
	padding: 0 4px;
	font-size: 18px;
	line-height: 38px;
	text-align: center;
	color: #555;
	border: 1px solid #e9e9e9;
	border-radius: 0;
}

.cep-pagination .page-numbers.current,
.cep-pagination a:hover {
	color: #555;
	background: #f8f8f8;
	border-color: #e9e9e9;
}

/* Sidebar calendar */
.cep-sidebar .wp-block-calendar caption {
	margin-bottom: 0;
	padding: 0 0 10px;
	line-height: 1.8;
}

.cep-sidebar .wp-block-calendar thead th {
	padding: 13px 0 14px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.8;
	text-transform: uppercase;
	color: #777;
	border-bottom: 1px solid #e9e9e9;
}

.cep-sidebar .wp-block-calendar tbody td {
	padding: 5px 0 0;
	font-size: 12px;
	line-height: 30px;
	color: #929292;
}

.cep-sidebar .wp-block-calendar tbody {
	border-bottom: 3px solid #e9e9e9;
}

.cep-sidebar .wp-block-calendar #today {
	color: #111;
	font-weight: 600;
}

.cep-sidebar .wp-block-calendar .wp-calendar-nav {
	display: block;
	margin-top: 0;
	font-size: 13px;
	text-align: left;
}

.cep-sidebar .wp-block-calendar .wp-calendar-nav a {
	color: #333;
}

/* Related posts */
.cep-related .cep-related-title {
	margin: 0 0 20px;
}

.cep-related .cep-related-title::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin: 0 7px 1px 1px;
	border-top: 2px solid var(--cep-accent);
	border-right: 2px solid var(--cep-accent);
	transform: rotate(45deg);
}

.cep-related .cep-related-post-title {
	margin: 12px 12px 3px;
}

.cep-related .cep-related-date {
	line-height: 1.8;
}

/* Search results */
.cep-page-subheading {
	margin: 0;
	font-size: 15px;
}

.cep-search-entries .wp-block-post-template {
	margin: 0;
	padding: 0;
}

.cep-search-entry {
	margin: 0 0 20px;
	padding: 0 0 20px;
	border-bottom: 1px solid var(--cep-border);
}

.cep-search-entry .cep-search-entry-title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: normal;
}

.cep-search-entry .cep-search-entry-title a {
	color: #333;
}

.cep-search-entry .cep-search-entry-title a:hover {
	color: var(--cep-accent);
}

.cep-search-entry-summary {
	margin: 0;
}

.cep-search-entry-summary .wp-block-post-excerpt__excerpt,
.cep-search-entry-summary .wp-block-post-excerpt__more-text {
	margin: 0;
	line-height: 1.8;
}

.cep-search-entry-summary .wp-block-post-excerpt__more-link {
	display: inline-block;
	padding-bottom: 3px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #333;
	border-bottom: 1px solid;
}

.cep-search-entry-summary .wp-block-post-excerpt__more-link:hover {
	color: var(--cep-accent);
}

/* Sidebar: every widget keeps OceanWP's 40px bottom margin, the last one too */
.cep-has-sidebar > .cep-sidebar > *:last-child {
	margin-bottom: 40px !important;
}

/* Footer social icons: 20px icon, 10px padding, 6px side margins */
.cep-footer-social.wp-block-social-links {
	margin: 20px 0 0;
}

.cep-footer-social .wp-social-link {
	margin: 0 6px !important;
}

.cep-footer-social .wp-social-link a {
	padding: 10px !important;
	line-height: 1;
}

/* Footer on phones: one column per row, 30px apart (empty columns included) */
@media (max-width: 480px) {
	.cep-footer-columns > .wp-block-column {
		margin-bottom: 30px !important;
	}
}

/* Content links of pages and posts are underlined, as in OceanWP */
.cep-entry a:not(.wp-block-button__link):not(.wp-block-file__button) {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-skip-ink: all;
}

/* WPForms submit button, OceanWP style */
.cep-entry .wpforms-container button.wpforms-submit {
	height: auto;
	padding: 14px 20px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	border: 1px solid #fff;
	border-radius: 3px;
}

/* 404: OceanWP's default error page */
.cep-error-page {
	text-align: center;
}

.cep-error-page .cep-error-title {
	margin: 0 0 25px;
	font-size: 46px;
	font-weight: 600;
	line-height: 1.4;
	color: #333;
}

.cep-error-page .cep-error-text {
	margin: 0 0 35px;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.8;
}

.cep-error-page .cep-error-search {
	max-width: 390px;
	margin: 0 auto;
}

.cep-error-page .cep-error-search .wp-block-search__input {
	height: 40px;
	margin: 0;
	padding: 6px 12px;
	font-size: 14px;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.cep-error-page .cep-error-buttons {
	margin: 60px 0 0;
}

.cep-error-page .cep-error-btn .wp-block-button__link {
	padding: 14px 26px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@media (max-width: 480px) {
	.cep-error-page .cep-error-buttons {
		margin-top: 40px;
	}
}

/* Core social icons leave ~2px of padding in their 24px viewBox: draw them at
   24px (in the same 20px slot) so the glyphs match Font Awesome's 20px ones. */
.cep-footer-social .wp-social-link svg {
	width: 24px !important;
	height: 24px !important;
	margin: -2px;
}

/* Related posts: 3 columns of 100px rows (12.5px gutter), one per row on phones */
.cep-related .wp-block-post-template {
	gap: 0 12.5px;
}

.cep-related .wp-block-post {
	min-height: 100px;
}

@media (max-width: 480px) {
	.cep-related .wp-block-post-template {
		grid-template-columns: 100% !important;
	}

	.cep-related .wp-block-post {
		margin-bottom: 30px;
	}

	.cep-related .wp-block-post:last-child {
		margin-bottom: 0;
	}
}

/* Page header: breadcrumbs go under the title below 960px */
@media (max-width: 959px) {
	.cep-page-header-inner {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 0 !important;
	}

	.cep-breadcrumbs {
		margin-top: 0 !important;
	}
}

/* Sidebar fine-tuning (measured): search label line, boxed social icons
   (3px above and below), calendar last row */
.cep-sidebar .wp-block-search__label {
	line-height: 20px;
}

.cep-sidebar .cep-social-boxed {
	padding: 3px 0 !important;
}

.cep-sidebar .wp-block-calendar tbody tr:last-child td {
	padding-bottom: 12px;
}

/* Below 960px OceanWP gives the content area a 40px bottom margin, also on
   pages without sidebar (full width, 404). */
@media (max-width: 959px) {
	.cep-content-wrap:not(.cep-has-sidebar)::after {
		content: "";
		display: block;
		height: 40px;
	}
}
