/* =====================================================
   Atelier detail / content - Nouveau design
   ===================================================== */

.ac-page {
	--ac-green: #6bbf45;
	--ac-green-dark: #5aa83a;
	--ac-red: #e74c3c;
	--ac-text: #222;
	--ac-muted: #69717d;
	--ac-border: #e8e8e8;
	--ac-bg: #f7f8f7;
	background: #fff;
	color: var(--ac-text);
	padding-bottom: 72px;
}

.ac-page * {
	box-sizing: border-box;
}

.ac-title-bar {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 40px 16px;
	max-width: 1200px;
	margin: 0 auto;
}

.ac-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ac-muted);
	font-size: 0.9rem;
	text-decoration: none;
	transition: color 0.2s;
}

.ac-back:hover {
	color: var(--ac-green);
	text-decoration: none;
}

.ac-title-bar h1 {
	margin: 0;
	font-size: 2rem;
	font-weight: 300;
	letter-spacing: 0.3px;
	text-align: right;
	line-height: 1.15;
	color: var(--ac-text);
}

.ac-hero {
	width: 100%;
	height: 340px;
	overflow: hidden;
	background: linear-gradient(135deg, #1b2a1f 0%, #3d6b2f 55%, #6bbf45 100%);
	margin-bottom: 40px;
}

.ac-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ac-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: start;
}

.ac-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
}

.ac-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ac-bg);
	color: var(--ac-muted);
	font-size: 0.82rem;
	font-weight: 600;
}

.ac-chip i {
	color: var(--ac-green);
}

.ac-content {
	font-size: 15px;
	line-height: 1.65;
	color: #333;
}

.ac-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.ac-content h2,
.ac-content h3,
.ac-content h4 {
	margin-top: 1.4em;
	margin-bottom: 0.55em;
	font-weight: 600;
	color: var(--ac-text);
}

.ac-content p {
	margin: 0 0 1em;
}

.ac-content a {
	color: var(--ac-green-dark);
}

.ac-cover {
	margin: 0 0 28px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ac-cover img {
	display: block;
	width: 100%;
	height: auto;
}

.ac-sidebar {
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 24px;
}

.ac-card {
	background: #fff;
	border: 1px solid var(--ac-border);
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ac-card h2 {
	margin: 0 0 14px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ac-red);
}

.ac-card h2.ac-green {
	color: var(--ac-green-dark);
}

.ac-resume {
	font-size: 0.9rem;
	line-height: 1.55;
	color: #444;
}

.ac-resume ul,
.ac-resume ol {
	padding-left: 1.1em;
	margin: 0 0 0.6em;
}

.ac-resume p {
	margin: 0 0 0.7em;
}

.ac-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--ac-green);
	color: #fff !important;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}

.ac-btn:hover {
	background: var(--ac-green-dark);
	color: #fff !important;
	transform: translateY(-1px);
}

.ac-btn-outline {
	background: #fff;
	color: var(--ac-green-dark) !important;
	border: 1.5px solid var(--ac-green);
}

.ac-btn-outline:hover {
	background: var(--ac-green);
	color: #fff !important;
}

.ac-btn-secondary {
	background: #f0f3f0;
	color: #333 !important;
}

.ac-btn-secondary:hover {
	background: #e4eae3;
	color: #111 !important;
}

.ac-sessions {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ac-session {
	border: 1px solid var(--ac-border);
	border-radius: 12px;
	padding: 14px;
	background: var(--ac-bg);
}

.ac-session-date {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ac-red);
}

.ac-session-date span {
	font-weight: 600;
	color: var(--ac-muted);
}

.ac-session-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ac-session-note {
	margin: 0;
	font-size: 0.78rem;
	color: var(--ac-muted);
}

.ac-empty {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ac-muted);
}

.ac-modal .modal-content {
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.ac-modal .modal-header {
	border-bottom: 1px solid var(--ac-border);
	padding: 20px 24px 14px;
}

.ac-modal .modal-header .close {
	margin-top: -4px;
}

.ac-modal .title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
}

.ac-modal .modal-body {
	padding: 24px;
}

@media (max-width: 991px) {
	.ac-title-bar {
		flex-direction: column;
		align-items: flex-start;
		padding: 22px 20px 12px;
	}

	.ac-title-bar h1 {
		text-align: left;
		font-size: 1.55rem;
	}

	.ac-hero {
		height: 220px;
		margin-bottom: 28px;
	}

	.ac-wrap {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 0 16px;
	}

	.ac-sidebar {
		position: static;
		order: -1;
	}
}
