/**
 * Pleasetrip — Styles blocs blog (éditeur Gutenberg + iframe contenu).
 */

.is-style-blog-intro,
.wp-block-group.is-style-blog-intro {
	padding: 1.15rem 1.25rem;
	background: #e8f4fc;
	border: 1px solid #b8d9f0;
	border-radius: 1.25rem;
	overflow: hidden;
	font-size: 1.02rem;
	line-height: 1.6;
}

.is-style-blog-intro p:last-child,
.wp-block-group.is-style-blog-intro p:last-child {
	margin-bottom: 0;
}

.is-style-blog-notice-info,
.wp-block-group.is-style-blog-notice-info {
	padding: 1rem 1.15rem;
	background: #ecfdf5;
	border: 1px solid rgba(22, 101, 52, 0.12);
	border-left: 4px solid #166534;
	border-radius: 1rem;
	overflow: hidden;
}

.is-style-blog-notice-warning,
.wp-block-group.is-style-blog-notice-warning {
	padding: 1rem 1.15rem;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-left: 4px solid #c2410c;
	border-radius: 1rem;
	overflow: hidden;
}

.wp-block-quote.is-style-blog-pullquote,
blockquote.is-style-blog-pullquote {
	text-align: center;
	font-style: italic;
	border: none;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	padding: 1.25rem 0;
	background: transparent;
}

.wp-block-quote.is-style-blog-pullquote p,
blockquote.is-style-blog-pullquote p {
	margin: 0;
}

.wp-block-table.is-style-blog-table {
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

.wp-block-table.is-style-blog-table table,
table.is-style-blog-table {
	border-collapse: collapse;
	width: 100%;
	margin: 0;
	border: none;
}

.wp-block-table.is-style-blog-table thead th {
	background: #1a1a2e;
	color: #fff;
	font-weight: 700;
	text-align: center;
	padding: 0.75rem 0.85rem;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.wp-block-table.is-style-blog-table thead th:first-child {
	background: #334155;
	text-align: left;
}

.wp-block-table.is-style-blog-table tbody td {
	padding: 0.65rem 0.85rem;
	border-bottom: 1px solid #e5e7eb;
	border-right: 1px solid #e5e7eb;
	text-align: center;
	vertical-align: top;
}

.wp-block-table.is-style-blog-table tbody td:first-child {
	text-align: left;
	font-weight: 700;
	background: #f1f5f9;
}

.wp-block-table.is-style-blog-table tbody tr:nth-child(even) td:not(:first-child) {
	background: #f9fafb;
}

.wp-block-table.is-style-blog-table tbody tr:hover td {
	background: #eef2f6;
	transition: background-color 0.15s ease;
}

.wp-block-table.is-style-blog-table tbody tr:hover td:first-child {
	background: #e2e8f0;
}

.wp-block-list.is-style-blog-checklist,
ul.is-style-blog-checklist {
	list-style: none;
	padding-left: 0;
}

.wp-block-list.is-style-blog-checklist li,
ul.is-style-blog-checklist li {
	position: relative;
	padding-left: 1.65rem;
	margin-bottom: 0.35rem;
}

.wp-block-list.is-style-blog-checklist li::before,
ul.is-style-blog-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #16a34a;
	font-weight: 700;
}

.wp-block-list.is-style-blog-crosslist,
ul.is-style-blog-crosslist {
	list-style: none;
	padding-left: 0;
}

.wp-block-list.is-style-blog-crosslist li,
ul.is-style-blog-crosslist li {
	position: relative;
	padding-left: 1.65rem;
	margin-bottom: 0.35rem;
}

.wp-block-list.is-style-blog-crosslist li::before,
ul.is-style-blog-crosslist li::before {
	content: "✕";
	position: absolute;
	left: 0;
	color: #dc2626;
	font-weight: 700;
}

.wp-block-list.is-style-blog-links,
ul.is-style-blog-links {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.wp-block-list.is-style-blog-links li,
ul.is-style-blog-links li {
	position: relative;
	margin: 0;
	padding: 0.8rem 1rem 0.8rem 2.75rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.65rem;
}

.wp-block-list.is-style-blog-links li::before,
ul.is-style-blog-links li::before {
	content: "→";
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 700;
	color: #1a1a2e;
}

.wp-block-list.is-style-blog-links a,
ul.is-style-blog-links a {
	display: block;
	font-weight: 600;
	text-decoration: none;
}

.editor-styles-wrapper .is-style-blog-intro,
.editor-styles-wrapper .wp-block-group.is-style-blog-intro {
	border-radius: 1.25rem;
}
