/* Bike Caraïbe — custom CSS (effets + typographie article) */

.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	user-select: none;
}

.sand-texture {
	background-image: radial-gradient(#d1fee5 0.5px, transparent 0.5px);
	background-size: 12px 12px;
}

.sea-glass {
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

/* Typographie article (Gutenberg + the_content) */
.bc-prose {
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	color: #002114;
	font-size: 18px;
	line-height: 1.75;
}

.bc-prose > * + * { margin-top: 1.25rem; }

.bc-prose h2 {
	font-family: 'Epilogue', serif;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.25;
	color: #002114;
	margin-top: 3rem;
	margin-bottom: 1rem;
	letter-spacing: -0.01em;
}

.bc-prose h3 {
	font-family: 'Epilogue', serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.3;
	color: #002114;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.bc-prose h4 {
	font-family: 'Epilogue', serif;
	font-weight: 700;
	font-size: 20px;
	color: #006971;
	margin-top: 1.5rem;
}

.bc-prose p { font-size: 18px; line-height: 1.75; }

.bc-prose a {
	color: #006971;
	text-decoration: underline;
	text-decoration-color: rgba(0, 105, 113, 0.3);
	text-underline-offset: 4px;
	transition: all 0.2s;
}
.bc-prose a:hover {
	color: #a43c12;
	text-decoration-color: #a43c12;
}

.bc-prose ul, .bc-prose ol {
	padding-left: 1.5rem;
}
.bc-prose ul { list-style: none; }
.bc-prose ul li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.5rem;
}
.bc-prose ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 6px;
	height: 6px;
	background: #006971;
	border-radius: 9999px;
}
.bc-prose ol { list-style: decimal; }
.bc-prose ol li { margin-bottom: 0.5rem; }

.bc-prose blockquote {
	border-left: 4px solid #f07446;
	background: #ffdbcf;
	padding: 1.5rem 2rem;
	border-radius: 0 16px 16px 0;
	font-family: 'Epilogue', serif;
	font-size: 22px;
	line-height: 1.4;
	font-style: italic;
	color: #5c1a00;
	margin: 2rem 0;
}

.bc-prose img {
	border-radius: 24px;
	box-shadow: 0 8px 32px rgba(0, 33, 20, 0.08);
	max-width: 100%;
	height: auto;
}

.bc-prose code {
	background: #c1ecd4;
	color: #002114;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 0.9em;
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.bc-prose pre {
	background: #0e3727;
	color: #cffbe2;
	padding: 1.5rem;
	border-radius: 16px;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
}
.bc-prose pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.bc-prose table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 33, 20, 0.05);
}
.bc-prose th {
	background: #006971;
	color: #ffffff;
	text-align: left;
	padding: 12px 16px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.bc-prose td {
	padding: 12px 16px;
	border-bottom: 1px solid #c1ecd4;
}
.bc-prose tr:last-child td { border-bottom: none; }

.bc-prose hr {
	border: none;
	height: 1px;
	background: linear-gradient(to right, transparent, #006971, transparent);
	margin: 3rem 0;
}

/* Easy TOC override pour cohérence graphique */
.ez-toc-v2_0_82_2 #ez-toc-container {
	background: #ffffff !important;
	border: 1px solid #c1ecd4 !important;
	border-radius: 24px !important;
	padding: 1.5rem !important;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	box-shadow: 0 2px 12px rgba(0, 33, 20, 0.05) !important;
}
.ez-toc-title {
	color: #006971 !important;
	font-family: 'Epilogue', serif !important;
	font-size: 14px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
}
#ez-toc-container a { color: #002114 !important; }
#ez-toc-container a:hover { color: #006971 !important; }

/* Fix conflits Astra (notre header est custom) */
body.ast-header-break-point .main-header-bar-wrap,
.site-header,
.main-header-bar,
.ast-mobile-header-wrap,
#masthead {
	display: none !important;
}
.site-content { padding-top: 0 !important; }
#colophon { display: none !important; }

/* Responsive header tweaks */
@media (max-width: 768px) {
	header.fixed { padding-left: 16px; padding-right: 16px; }
}

/* Mobile menu */
#bc-mobile-menu.active { display: block; }
#bc-mobile-menu nav a {
	font-size: 24px;
	padding: 12px 0;
	display: block;
	color: #002114;
}
