/**
 * Notices Souvenirs & émotions — compléments chaleureux (V1.4).
 */

.cd-notice-pro--emotion {
	margin-bottom: 2.5rem;
}

.cd-emotion-breadcrumb {
	font-size: 0.88rem;
	color: #64748b;
	margin: 0 0 1.25rem !important;
}

.cd-emotion-breadcrumb a {
	color: #1e3a5f;
	font-weight: 600;
	text-decoration: none;
}

.cd-emotion-breadcrumb a:hover {
	color: #e84a7f;
	text-decoration: underline;
}

.cd-notice-hero--emotion {
	background: linear-gradient(135deg, #3b1f2b 0%, #1e3a5f 45%, #312e81 100%);
	position: relative;
	overflow: hidden;
}

.cd-notice-hero--emotion::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 90% 10%, rgba(232, 74, 127, 0.22), transparent 55%);
	pointer-events: none;
}

.cd-notice-hero--emotion > * {
	position: relative;
	z-index: 1;
}

.cd-emotion-notice__tier {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin: 0 0 0.75rem;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
}

.cd-emotion-notice__tier--free {
	background: rgba(255, 255, 255, 0.14);
	color: #fda4c8;
}

.cd-emotion-notice__tier--premium {
	background: rgba(253, 164, 200, 0.2);
	color: #fce8f0;
}

.cd-notice-hero--hub {
	background: linear-gradient(135deg, #1e3a5f 0%, #4a3528 55%, #3b1f2b 100%);
}

.cd-emotion-notices-hub .cd-func-section-title {
	margin-top: 1.5rem;
}

.cd-emotion-notices-hub .wp-block-list a {
	font-weight: 600;
	color: #1e3a5f;
}

.cd-emotion-notices-hub .wp-block-list a:hover {
	color: #e84a7f;
}

@media (max-width: 599px) {
	.cd-notice-cta {
		flex-direction: column;
		align-items: stretch;
	}

	.cd-notice-cta__btn {
		text-align: center;
	}

	.wp-block-buttons.cd-notice-cta {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.wp-block-buttons.cd-notice-cta .wp-block-button,
	.wp-block-buttons.cd-notice-cta .wp-block-button__link {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
}

/* Grilles Gutenberg (group) — même rendu que HTML legacy */
.wp-block-group.cd-notice-mode-grid {
	display: grid;
}

.wp-block-group.cd-notice-mode-card {
	min-width: 0;
}

.wp-block-group.cd-notice-use-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
	.wp-block-group.cd-notice-use-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
