/*
Theme Name: Luciel
Theme URI: https://luciel.fr/
Author: Luciel
Description: Thème sur mesure pour Luciel (thérapie énergétique), converti depuis le site statique d'origine. Page d'accueil en sections réglables dans l'outil de personnalisation, pages de prestation avec image à la une et bloc de prise de rendez-vous ou formulaire de contact.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luciel
*/

/*
 * The design itself lives in assets/css/bootstrap-site.css (Bootstrap + base)
 * and assets/css/sections.css (section styles from the original site).
 * This file only holds what WordPress needs on top of that.
 */

/* Branding ---------------------------------------------------------------- */

.luciel-site-title {
	display: block;
	margin: 0;
	color: #fcfcfc;
	font-family: var(--font-quicksand);
	font-size: 28.8px;
	font-weight: 700;
	line-height: 1.2em;
	overflow-wrap: break-word;
}

.luciel-logo {
	display: block;
	width: auto;
	max-height: 56px;
}

.luciel-skip-link:focus {
	position: fixed;
	z-index: 1000;
	top: 8px;
	left: 8px;
	padding: 8px 16px;
	border-radius: 4px;
	background: #fff;
	color: #000;
}

/* Mobile menu ------------------------------------------------------------- */

.luciel-menu-toggle {
	padding: 0;
	border: 0;
	color: inherit;
}

@media (max-width: 991.98px) {
	/* Drop the menu full width under the header bar on phones and tablets. */
	.fkjlu74 .f13sg7dk .position-relative {
		position: static !important;
	}

	#luciel-mobile-menu {
		right: 0;
		left: 0;
		width: auto;
	}
}

@media (min-width: 992px) {
	.luciel-menu-toggle,
	#luciel-mobile-menu {
		display: none !important;
	}
}

@media (max-width: 991.98px) {
	/* The desktop list stays in the DOM off-screen; keep it out of tab order. */
	.f6i3sow {
		visibility: hidden;
	}
}

/* Images ------------------------------------------------------------------ */

/* Fills the round / rounded frames used by the cards, portrait and articles. */
.luciel-cover {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transform: none;
}

/* Portrait photos: keep the face inside the circle. */
.f125tpkt .luciel-cover {
	object-position: 50% 30%;
}

/* Pages: image and text on two thirds of the width on desktop. */
@media (min-width: 992px) {
	#article .f1qftqcq {
		width: 66.666%;
		margin-inline: auto !important;
	}
}

/* Page titles are h1 for SEO but keep the size the original h2 had. */
.fbajzos h1.luciel-page-title {
	font-size: 35.2px;
}

@media only screen and (max-width: 576px) {
	.fbajzos h1.luciel-page-title {
		font-size: 29.92px;
	}
}

/* Page content written in the block editor -------------------------------- */

.luciel-content > :last-child {
	margin-bottom: 0;
}

.luciel-content p:empty {
	min-height: 1em;
}

.luciel-content h2,
.luciel-content h3,
.luciel-content h4,
.luciel-content h5 {
	margin-top: 1.5em;
	margin-bottom: 0.75em;
}

.luciel-content > :first-child {
	margin-top: 0;
}

.luciel-content ul,
.luciel-content ol {
	padding-left: 1.4em;
	list-style-position: outside;
}

.fasj6pk.luciel-content ul,
.fasj6pk.luciel-content ol {
	padding-left: 0;
	list-style-position: inside;
}

.luciel-content a {
	text-decoration: underline;
}

.luciel-content a:hover {
	text-decoration: none;
}

.luciel-content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.luciel-content figure {
	margin-block: 1.5em;
}

.luciel-content iframe {
	max-width: 100%;
}

.luciel-content blockquote {
	margin: 1.5em 0;
	padding-left: 1em;
	border-left: 3px solid currentColor;
	font-style: italic;
}

.luciel-content .aligncenter {
	margin-right: auto;
	margin-left: auto;
}

.luciel-content .alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.luciel-content .alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.luciel-content::after {
	display: table;
	clear: both;
	content: "";
}

/* Core "Buttons" block, styled like the theme buttons. */
.luciel-content .wp-block-button__link {
	padding: 9px 20px;
	border-radius: 28px;
	background-color: #2dd4bf;
	color: #000;
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	text-decoration: none;
}

.luciel-content .wp-block-button__link:hover,
.luciel-content .wp-block-button__link:focus-visible {
	background-color: #00af9d;
	color: #000;
}

/* Forms ------------------------------------------------------------------- */

.luciel-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.luciel-notice {
	margin-bottom: 16px;
	text-align: left;
}

/* WPForms in the contact sections: theme colours, full-width fields. */
.luciel-contact .wpforms-container {
	--wpforms-field-size-input-height: 56px;
	--wpforms-field-border-radius: 4px;
	--wpforms-field-background-color: #ffffff;
	--wpforms-field-text-color: #000000;
	--wpforms-field-border-color: #d6d4cf;
	--wpforms-label-size-font-size: 16px;
	--wpforms-label-color: #000000;
	--wpforms-label-sublabel-color: #555555;
	--wpforms-button-background-color: #2dd4bf;
	--wpforms-button-text-color: #000000;
	--wpforms-button-border-radius: 28px;
	--wpforms-button-size-font-size: 16px;
	--wpforms-button-size-height: 40px;
	--wpforms-button-size-padding-h: 20px;
	width: 100%;
	margin: 0;
	font-family: inherit;
}

.luciel-scheme-green .wpforms-container,
.luciel-scheme-navy .wpforms-container {
	--wpforms-label-color: #ffffff;
	--wpforms-label-sublabel-color: rgba(255, 255, 255, 0.75);
	--wpforms-label-error-color: #ffb4a9;
	--wpforms-field-border-color: #00e6cf;
}

.luciel-contact .wpforms-container .wpforms-field {
	padding: 0 0 16px;
}

.luciel-contact .wpforms-container input.wpforms-field-medium,
.luciel-contact .wpforms-container input.wpforms-field-large,
.luciel-contact .wpforms-container textarea {
	width: 100%;
	max-width: 100% !important;
}

.luciel-contact .wpforms-container input:not([type="checkbox"]):not([type="radio"]) {
	height: 56px;
}

.luciel-contact .wpforms-container input,
.luciel-contact .wpforms-container textarea,
.luciel-contact .wpforms-container button {
	font-family: inherit;
}

.luciel-contact .wpforms-container .wpforms-submit-container {
	padding-top: 8px;
}

.luciel-contact .wpforms-container button[type="submit"] {
	border: none;
	font-weight: 500;
}

.luciel-contact .wpforms-container button[type="submit"]:hover {
	background-color: #00af9d;
}

.luciel-contact .wpforms-confirmation-container-full {
	border-radius: 8px;
	color: #000000;
}

/* WPForms in the newsletter section: email field and button on one line. */
#newsletter .wpforms-container {
	--wpforms-field-size-input-height: 56px;
	--wpforms-field-border-radius: 4px;
	--wpforms-field-background-color: #ffffff;
	--wpforms-field-text-color: #000000;
	--wpforms-field-border-color: #d6d4cf;
	--wpforms-label-color: #000000;
	--wpforms-button-background-color: #2dd4bf;
	--wpforms-button-text-color: #000000;
	--wpforms-button-border-radius: 28px;
	--wpforms-button-size-font-size: 16px;
	--wpforms-button-size-height: 56px;
	--wpforms-button-size-padding-h: 24px;
	width: 100%;
	max-width: 520px;
	margin: 8px auto 0;
	font-family: inherit;
}

#newsletter .wpforms-form {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

#newsletter .wpforms-field-container {
	flex: 1;
	min-width: 0;
}

#newsletter .wpforms-field {
	padding: 0;
}

/* The placeholder says what to type; the label stays for screen readers. */
#newsletter .wpforms-field-email .wpforms-field-label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

#newsletter .wpforms-container input[type="email"] {
	width: 100%;
	max-width: 100% !important;
	height: 56px;
	font-family: inherit;
}

#newsletter .wpforms-submit-container {
	margin: 0;
	padding: 0 !important;
}

#newsletter .wpforms-container button[type="submit"] {
	height: 56px;
	border: none;
	font-family: inherit;
	font-weight: 500;
	white-space: nowrap;
}

#newsletter .wpforms-container button[type="submit"]:hover {
	background-color: #00af9d;
}

#newsletter .wpforms-confirmation-container-full {
	border-radius: 8px;
	color: #000000;
}

@media (max-width: 575.98px) {
	#newsletter .wpforms-form {
		flex-direction: column;
		align-items: stretch;
	}
}

/* Hints shown to administrators only. */
.luciel-admin-hint {
	padding: 12px 16px;
	border: 1px dashed currentColor;
	border-radius: 8px;
	font-size: 14px;
	opacity: 0.85;
}

.luciel-admin-hint a {
	color: inherit;
	text-decoration: underline;
}

/* WordPress core classes -------------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
	font-size: 14px;
}

.sticky,
.bypostauthor {
	display: block;
}

.luciel-posts {
	display: flex;
	flex-direction: column;
	gap: 48px;
	text-align: left;
}

.luciel-posts h2 a {
	color: inherit;
	text-decoration: none;
}

.luciel-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 16px;
}
