/*
Theme Name: BGBC Press
Theme URI: https://tbgbcpress.com
Author: Stenia
Description: Thème sur-mesure pour The Bad Girls Book Club — bandeau titre, colonne latérale de navigation, noir et blanc uniquement, sans logo.
Version: 1.0
Text Domain: bgbc-press
*/

/* ---------- Reset minimal ---------- */
* { box-sizing: border-box; }
html, body {
	margin: 0;
	padding: 0;
	background: #ffffff;
	color: #111111;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover,
a:focus {
	text-decoration: underline;
}
img {
	max-width: 100%;
	display: block;
}

body {
	font-family: Georgia, serif;
	font-size: 15px;
	line-height: 1.7;
}

/* ---------- Bandeau ---------- */
.bgbc-banner {
	padding: 22px 28px;
	text-align: right;
}
.bgbc-banner a {
	font-family: 'Anton', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 30px;
	letter-spacing: 1px;
	color: #111111;
}
.bgbc-banner a:hover {
	text-decoration: none;
}

/* ---------- Mise en page générale : colonne + contenu ---------- */
.bgbc-layout {
	display: flex;
	align-items: flex-start;
}

.bgbc-sidebar {
	width: 170px;
	flex-shrink: 0;
	padding: 32px 18px;
}

.bgbc-sidebar-nav {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	font-family: 'Courier New', Courier, monospace;
	font-size: 12px;
	font-weight: 700;
}
.bgbc-sidebar-nav li {
	list-style: none;
	margin-bottom: 12px;
}
.bgbc-sidebar-nav a.current-page {
	text-decoration: underline;
}

.bgbc-page-footer-links {
	display: none;
}

.bgbc-sidebar-footer {
	list-style: none;
	margin: 0;
	padding: 18px 0 0;
	font-family: 'Courier New', Courier, monospace;
	font-size: 9px;
	color: #777777;
	text-transform: lowercase;
}
.bgbc-sidebar-footer li {
	list-style: none;
	margin-bottom: 10px;
}
.bgbc-sidebar-footer a {
	color: #777777;
}

.bgbc-content {
	flex: 1;
	min-width: 0;
	padding: 40px 36px 80px;
	max-width: 620px;
}

.bgbc-content h1 {
	font-family: 'Courier Prime', 'Courier New', monospace;
	font-size: 20px;
	font-weight: 400;
	margin: 0 0 24px;
}

.bgbc-content p {
	margin: 0 0 18px;
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
}

/* ---------- Encarts (À propos : équipe / newsletter) ---------- */
.bgbc-block {
	padding-top: 20px;
	margin-bottom: 20px;
}
.bgbc-block-label {
	font-family: 'Courier Prime', 'Courier New', monospace;
	font-size: 12px;
	margin-bottom: 8px;
}
.bgbc-block-text {
	font-family: Georgia, serif;
	font-size: 13px;
	color: #555555;
}

/* ---------- Curseur en croix ---------- */
html, body {
	cursor: crosshair;
}
a, button {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M23 8 A9 9 0 1 1 9 22' fill='none' stroke='%23000000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='9' y1='22' x2='6' y2='26' stroke='%23000000' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='5' y1='6' x2='24' y2='25' stroke='%23000000' stroke-width='3.5' stroke-linecap='round'/%3E%3Crect x='2' y='3' width='10' height='7' fill='%23000000' transform='rotate(45 7 6.5)'/%3E%3C/svg%3E") 4 4, pointer;
}

/* ---------- Barre de défilement personnalisée (Chrome/Edge/Safari) ---------- */
::-webkit-scrollbar {
	width: 16px;
}
::-webkit-scrollbar-track {
	background: #111111;
}
::-webkit-scrollbar-thumb {
	background: #444444;
}
::-webkit-scrollbar-thumb:hover {
	background: #666666;
}
::-webkit-scrollbar-button:vertical:start {
	background: #111111;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 4l5 6H3z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}
::-webkit-scrollbar-button:vertical:end {
	background: #111111;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 12l5-6H3z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}
/* Firefox : version simplifiée, pas de flèches personnalisées possibles */
* {
	scrollbar-width: auto;
	scrollbar-color: #444444 #111111;
}

/* ---------- Grille d'articles (page Articles / Notes) ---------- */
.bgbc-article-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 480px;
}
@media (max-width: 780px) {
	.bgbc-article-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 460px) {
	.bgbc-article-grid {
		grid-template-columns: 1fr;
	}
}
.bgbc-article-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: inherit;
}
.bgbc-article-card img,
.bgbc-article-card-noimg {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
	background: #eeeeee;
	filter: grayscale(100%);
	transition: filter 0.15s ease;
}
.bgbc-article-card:hover img,
.bgbc-article-card:hover .bgbc-article-card-noimg {
	filter: grayscale(0%);
}
.bgbc-article-card-title {
	font-family: Georgia, serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.bgbc-pagination {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: 32px;
	font-family: 'Courier New', Courier, monospace;
	font-size: 12px;
}
.bgbc-pagination a,
.bgbc-pagination span {
	color: #111111;
}
.bgbc-pagination .current {
	text-decoration: underline;
	font-weight: 700;
}
.bgbc-pagination .dots {
	color: #777777;
}

/* ---------- Petit écran ---------- */
@media (max-width: 640px) {
	.bgbc-layout {
		flex-direction: column;
	}
	.bgbc-sidebar {
		width: 100%;
		padding: 14px 16px;
	}
	.bgbc-sidebar-nav {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px 16px;
		margin: 0;
	}
	.bgbc-sidebar-nav li {
		margin-bottom: 0;
	}
	.bgbc-content {
		padding: 20px 14px 60px;
	}
	.bgbc-sidebar-footer {
		display: none;
	}
	.bgbc-page-footer-links {
		list-style: none;
		display: flex;
		flex-direction: row;
		justify-content: center;
		gap: 20px;
		padding: 20px 0 32px;
		margin: 0;
		font-family: 'Courier New', Courier, monospace;
		font-size: 9px;
		color: #777777;
		text-transform: lowercase;
	}
	.bgbc-page-footer-links li {
		list-style: none;
	}
	.bgbc-page-footer-links a {
		color: #777777;
	}
}
