/*
Theme Name: Château-Landon Custom Theme
Theme URI: https://breakdance.com/zero-theme // todo
Author: Steven DIAI
Author URI: https://www.steven-diai.fr
Description: Entirely disables the WordPress theme system and lets you design every part of your site with Breakdance, while keeping other theme functionality like templates overrides and functions.php.
Version: 1.0.0
Tested up to: 6.8
Requires PHP: 7
License: GNU General Public License v2 or later // todo no idea about this
License URI: LICENSE
Text Domain: breakdance

Requires Breakdance to be installed.
/*--------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
	scroll-padding-top: 10rem;
}

body {
	overflow-x: hidden;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}

.bde-faq__answer-content ol {
	list-style: decimal;
	padding-left: 4rem;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Gutenberg block styles */

.wp-block-image {
	margin: 2rem 0;
}
.wp-block-image img {
	max-width: 100%;
	height: auto;
	display: block;
}
.wp-block-image figcaption {
	text-align: center;
	font-size: 1.4rem;
	color: #666;
	margin-top: 0.5rem;
}

.wp-block-paragraph {
	margin-bottom: 1.6rem;
	font-size: 1.6rem;
	line-height: 1.6;
}

.wp-block-heading {
	margin: 2.4rem 0 1.2rem;
	font-weight: 700;
	line-height: 1.3;
}
.wp-block-heading h2,
.wp-block-heading h3,
.wp-block-heading h4 {
	font-size: inherit;
}

.wp-block-list {
	padding-left: 2rem;
	margin-bottom: 1.6rem;
}
.wp-block-list ul,
.wp-block-list ol {
	margin-bottom: 1.6rem;
}
.wp-block-list li {
	margin-bottom: 0.8rem;
}

.wp-block-table {
	overflow-x: auto;
	margin: 2rem 0;
}
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}
.wp-block-table th,
.wp-block-table td {
	border: 1px solid #ddd;
	padding: 1rem;
	text-align: left;
}
.wp-block-table thead {
	background: #f8f8f8;
}

.wp-block-quote {
	border-left: 4px solid #ccc;
	padding-left: 1.5rem;
	margin: 2rem 0;
	font-style: italic;
	color: #555;
}
.wp-block-quote cite {
	display: block;
	font-style: normal;
	text-align: right;
	font-size: 1.4rem;
	color: #888;
}

.wp-block-code {
	background: #f5f5f5;
	padding: 1rem;
	font-family: monospace;
	overflow-x: auto;
	font-size: 1.4rem;
}

.wp-block-preformatted {
	white-space: pre-wrap;
}

.wp-block-button .wp-block-button__link {
	background: #333;
	color: #fff;
	padding: 1rem 2rem;
	text-decoration: none;
	display: inline-block;
	border-radius: 3px;
}

.wp-block-list {
	list-style-type: disc;
}

/* Classic Editor Table Styles */
table {
	border-collapse: collapse;
	width: 100%;
	margin: 2rem 0;
}
table td, table th {
	border: 1px solid #ddd;
	padding: 1.2rem;
	vertical-align: top;
}
table th {
	background-color: #f8f8f8;
	font-weight: 600;
}
table img {
	max-width: 100%;
	height: auto;
	display: block;
}
table td:empty {
	display: none;
}

.child-pages-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 100%;
}

.child-pages-list li {
	display: block;
	padding: 0;
	margin-bottom: 1.5rem;
}

.child-pages-list li:last-child {
	margin-bottom: 0;
}

.child-pages-list a {
	background: #F6FBFF;
	color: #36C2A1;
	display: flex;
	justify-content: space-between;
	font-size: 2.4rem;
	font-style: normal;
	font-weight: 900;
	line-height: normal;
	padding: 2.8rem 2.4rem;
	text-transform: uppercase;
	text-decoration: none;
}

.child-pages-list a:hover,
.child-pages-list a:focus {
	background: #143E5D;
}

/* Optionnel : petite flèche à droite */
.child-pages-list a::after {
	content: url('/wp-content/themes/chl/assets/icons/arrow-page.svg');
	height: 3rem;
	width: 3rem;
	margin-left: 0.5em;
	transition: color 0.18s;
}