/* Inner pages as on the Lovable site (Alain, 2026-10-29): banner at the top, then cards. Icons are Lucide outlines. */
:root {
	--bcd-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--bcd-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
	--bcd-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--bcd-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E");
	--bcd-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
	--bcd-i-instagram: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.5'/%3E%3C/svg%3E");
	--bcd-i-filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E");
}

/* Banner: image, pale gradient, centred title. */
.wp-block-cover.bcd-page-hero {
	min-height: 60vh !important;
	margin-top: 0;
	padding: 40px 24px;
}
.bcd-page-hero .wp-block-cover__inner-container { max-width: 1280px; margin: 0 auto; text-align: center; }
.bcd-page-hero h1 {
	margin: 0 0 16px;
	font-family: var(--bcd-serif);
	font-weight: 600;
	font-size: clamp(44px, 5vw, 60px);
	line-height: 1.1;
	color: var(--bcd-ink);
}
.bcd-page-hero p {
	max-width: 672px;
	margin: 0 auto;
	font-size: 20px;
	color: var(--bcd-muted);
}
@media (max-width: 767px) {
	.wp-block-cover.bcd-page-hero { min-height: 50vh !important; }
	.bcd-page-hero h1 { font-size: 38px; }
	.bcd-page-hero p { font-size: 18px; }
}

/* Two columns: practical information, then the form. */
.wp-block-columns.bcd-contact {
	gap: 48px;
	max-width: 1152px;
	margin: 64px auto;
}
.bcd-contact h2 {
	margin: 0 0 32px;
	font-size: 30px;
}
@media (max-width: 1023px) {
	.wp-block-columns.bcd-contact { flex-wrap: wrap !important; margin: 44px auto; }
	.wp-block-columns.bcd-contact > .wp-block-column { flex-basis: 100% !important; }
}

.bcd-card {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--bcd-border);
	border-radius: var(--bcd-radius);
	box-shadow: var(--bcd-shadow-soft);
}

/* Opening hours card. */
.bcd-hours-card { margin-bottom: 32px; }
.bcd-hours-card .bcd-hours-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 20px;
}
.bcd-hours-title::before {
	content: '';
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgb(34 115 195 / .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232273C3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.bcd-hours-card .bcd-hours-season {
	margin: 0 0 24px 52px;
	font-size: 14px;
	color: var(--bcd-muted);
}
.entry-content .bcd-hours {
	margin: 0 -16px;
	padding: 0;
	list-style: none;
}
.bcd-hours li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 12px 16px;
	border-bottom: 1px solid rgb(220 225 231 / .5);
}
.bcd-hours li:last-child { border-bottom: 0; border-radius: 0 0 var(--bcd-radius) var(--bcd-radius); }
.bcd-hours .is-open { background: rgb(34 115 195 / .05); }
.bcd-day { display: flex; flex: none; align-items: center; gap: 12px; white-space: nowrap; }
.bcd-day::before {
	content: '';
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--bcd-i-check) center / contain no-repeat;
	mask: var(--bcd-i-check) center / contain no-repeat;
}
.is-open .bcd-day { font-weight: 700; color: var(--bcd-ink); }
.is-open .bcd-day::before { color: var(--bcd-blue); }
.is-closed .bcd-day { color: var(--bcd-muted); }
.is-closed .bcd-day::before { color: rgb(99 114 130 / .5); -webkit-mask-image: var(--bcd-i-x); mask-image: var(--bcd-i-x); }
.bcd-time { font-size: 14px; text-align: right; }
.is-open .bcd-time { font-weight: 700; color: var(--bcd-blue); }
.is-closed .bcd-time { color: rgb(99 114 130 / .6); }
.bcd-hours-card .bcd-note {
	display: flex;
	gap: 8px;
	margin: 24px 0 0;
	padding: 12px;
	background: rgb(230 115 76 / .3);
	border-radius: var(--bcd-radius);
	font-size: 14px;
	color: var(--bcd-muted);
}
.bcd-note::before { content: '⚠️'; font-size: 18px; line-height: 1.2; }

/* Address, phone, e-mail, Instagram: the icon follows the kind of link. */
.entry-content .bcd-contact-list {
	display: grid;
	gap: 16px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.bcd-contact-list li { margin: 0; }
.bcd-contact-list a {
	display: grid;
	grid-template-columns: 24px 1fr;
	column-gap: 16px;
	align-items: center;
	padding: 16px;
	border-radius: var(--bcd-radius);
	color: var(--bcd-muted);
	text-decoration: none;
	transition: background-color .2s;
}
.bcd-contact-list a:hover { background: rgb(245 243 239 / .6); }
.bcd-contact-list a::before {
	content: '';
	grid-row: 1 / span 2;
	width: 24px;
	height: 24px;
	background: var(--bcd-blue);
	-webkit-mask: var(--bcd-i-mail) center / contain no-repeat;
	mask: var(--bcd-i-mail) center / contain no-repeat;
}
.bcd-contact-list a[href*="google.com/maps"]::before { -webkit-mask-image: var(--bcd-i-pin); mask-image: var(--bcd-i-pin); align-self: start; margin-top: 2px; }
.bcd-contact-list a[href^="tel:"]::before { -webkit-mask-image: var(--bcd-i-phone); mask-image: var(--bcd-i-phone); }
.bcd-contact-list a[href*="instagram"]::before { -webkit-mask-image: var(--bcd-i-instagram); mask-image: var(--bcd-i-instagram); }
.bcd-contact-list strong { font-weight: 400; color: var(--bcd-ink); transition: color .2s; }
.bcd-contact-list a:hover strong { color: var(--bcd-blue); }
.bcd-contact-list span { font-size: 14px; }
.bcd-contact-list a[href*="google.com/maps"] span { font-size: 16px; }
.bcd-contact-list a:focus-visible { outline: 2px solid var(--bcd-blue); outline-offset: 2px; }

/* Map and directions. */
.bcd-map {
	overflow: hidden;
	margin-bottom: 16px;
	border: 1px solid var(--bcd-border);
	border-radius: 12px;
	box-shadow: var(--bcd-shadow-medium);
}
.bcd-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.bcd-map-load {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 300px;
	padding: 24px;
	text-align: center;
	background: var(--bcd-muted-bg);
}
.bcd-map-load p { margin: 0; max-width: 420px; font-size: 15px; }
.bcd-directions .wp-block-button { width: 100%; }
.bcd-directions .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 16px;
}
.bcd-directions .wp-block-button__link::before {
	content: '';
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--bcd-i-pin) center / contain no-repeat;
	mask: var(--bcd-i-pin) center / contain no-repeat;
}

/* Form card: the card holds the title, the form and the reply-time note. */
.bcd-form-card {
	padding: 32px;
	border: 0;
	box-shadow: var(--bcd-shadow-medium);
}
.bcd-form-card h2 { margin-bottom: 24px; }
.entry-content .bcd-form-card .fluentform { padding: 0; background: none; box-shadow: none; }
.bcd-form-card .bcd-form-note {
	margin: 24px 0 0;
	font-size: 14px;
	text-align: center;
	color: var(--bcd-muted);
}
@media (max-width: 639px) {
	.bcd-form-card { padding: 24px 16px; }
}

/* Breadcrumb under the header (Lovable). */
.bcd-breadcrumb {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 24px;
	font-family: var(--bcd-sans);
	font-size: 14px;
	color: var(--bcd-muted);
}
.bcd-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bcd-breadcrumb li { display: flex; align-items: center; margin: 0; }
.bcd-breadcrumb a {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--bcd-muted);
	text-decoration: none;
	transition: color .2s;
}
.bcd-breadcrumb a:hover { color: var(--bcd-blue); }
.bcd-breadcrumb [aria-current] {
	overflow: hidden;
	max-width: 300px;
	font-weight: 700;
	color: var(--bcd-ink);
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (max-width: 767px) {
	.bcd-breadcrumb a span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.bcd-breadcrumb [aria-current] { max-width: 200px; }
}

/* WhatsApp and call buttons (Lovable): one round green button on large screens, two pills on phones. */
.bcd-float a {
	position: fixed;
	font-family: var(--bcd-sans);
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / .15);
	transition: transform .3s, box-shadow .3s, background-color .3s;
}
.bcd-float svg { width: 28px; height: 28px; }
.bcd-float-whatsapp {
	right: 20px;
	bottom: 20px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25D366;
}
.bcd-float-whatsapp:hover { background: #20BA5A; color: #fff; transform: scale(1.1); box-shadow: 0 20px 25px -5px rgb(0 0 0 / .2); }
.bcd-float-whatsapp span,
.bcd-float-call { display: none !important; }
.bcd-float-whatsapp::after {
	content: attr(data-tip);
	position: absolute;
	right: calc(100% + 10px);
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--bcd-ink);
	color: var(--bcd-bg);
	font-size: 14px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility 0s .2s;
}
.bcd-float-whatsapp:is(:hover, :focus-visible)::after { opacity: 1; visibility: visible; transition: opacity .2s; }
.bcd-float a:focus-visible { outline: 2px solid var(--bcd-ink); outline-offset: 3px; }
@media (max-width: 767px) {
	.bcd-float a {
		bottom: 16px;
		width: auto;
		height: auto;
		min-height: 40px;
		padding: 8px 12px;
		border-radius: 999px;
		font-size: 14px;
		font-weight: 700;
	}
	.bcd-float svg { width: 16px; height: 16px; }
	.bcd-float-whatsapp { right: auto; left: 16px; }
	.bcd-float-whatsapp span { display: inline !important; }
	.bcd-float-whatsapp::after { display: none; }
	.bcd-float-call { display: flex !important; right: 16px; background: var(--bcd-blue); }
	.bcd-float-call:hover { color: #fff; transform: scale(1.05); }
	/* Room under the footer so the two pills never hide its last line. */
	.bcd-footer { padding-bottom: 72px; }
}

/* Kadence wraps the blocks of each group in an inner container: the blocks sit directly in the group's grid or flex box. */
.entry-content .wp-block-group[class*="bcd-"] > .wp-block-group__inner-container { display: contents; }

/* « À propos » (Lovable « About »): Catherine beside her portrait, Le Guilvinec beside the harbour, then the values. */
.entry-content .bcd-about-story,
.entry-content .bcd-about-visit {
	gap: 48px;
	align-items: center;
	max-width: 1152px;
	margin: 0 auto;
	padding: 72px 24px;
}
.entry-content .bcd-about-visit { padding-top: 0; }
.bcd-about-story img,
.bcd-about-visit img { width: 100%; border-radius: var(--bcd-radius); box-shadow: 0 20px 40px -12px rgb(29 38 48 / .25); }
.bcd-about-story img { aspect-ratio: 4 / 5; object-fit: cover; }
.bcd-about-story .wp-block-image,
.bcd-about-visit .wp-block-image { margin: 0; }
.bcd-about-story h2 { margin: 0 0 24px; font-size: clamp(32px, 3.2vw, 40px); }
.bcd-about-story h3 { margin: 24px 0 12px; font-size: 22px; }
.bcd-about-story p,
.bcd-about-visit p { color: var(--bcd-muted); line-height: 1.75; text-align: justify; hyphens: auto; }
.bcd-about-visit p { font-size: 18px; }
.entry-content .bcd-about-title { margin: 0 auto 48px; padding: 0 24px; font-size: clamp(30px, 3.2vw, 40px); text-align: center; }
.entry-content .bcd-values-band { margin: 48px 0 0; padding: 80px 24px; background: rgb(245 243 239 / .6); }
.bcd-values {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	max-width: 1152px;
	margin: 0 auto;
}
.bcd-value { padding: 24px; text-align: center; }
.bcd-value-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: rgb(34 115 195 / .1);
	color: var(--bcd-blue);
}
.bcd-value h3 { margin: 0 0 12px; font-size: 22px; }
.bcd-value p { margin: 0; font-size: 14px; color: var(--bcd-muted); }
.entry-content .bcd-cta { display: flex; justify-content: center; margin: 48px 0 64px; }
.bcd-cta .wp-block-button__link { padding: 16px 32px; font-size: 18px; box-shadow: var(--bcd-shadow-medium); }
@media (max-width: 1023px) { .bcd-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 781px) {
	.entry-content .bcd-about-story, .entry-content .bcd-about-visit { gap: 32px; padding: 48px 16px; }
	.entry-content .bcd-about-visit { padding-top: 0; }
	.bcd-value { padding: 16px 8px; }
	.bcd-value-icon { width: 48px; height: 48px; }
	.bcd-value-icon svg { width: 24px; height: 24px; }
	.bcd-value h3 { font-size: 18px; }
	.bcd-value p { font-size: 12px; }
}

/* « Lifestyle » (Lovable « Lifestyle »): banner, then the articles three by row. Template home.php. */
.bcd-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	overflow: hidden;
	padding: 48px 24px;
	text-align: center;
}
.bcd-banner > img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bcd-banner::before {
	content: '';
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(180deg, rgb(251 250 248 / .9) 0%, rgb(251 250 248 / .6) 50%, rgb(251 250 248 / .95) 100%);
}
.bcd-banner > div { position: relative; z-index: 2; max-width: 672px; }
.bcd-banner h1 { margin: 0 0 16px; font-size: clamp(44px, 5vw, 60px); }
.bcd-banner p { margin: 0; font-size: 20px; color: var(--bcd-muted); }
.bcd-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 24px 80px;
}
.bcd-post-card {
	display: block;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--bcd-border);
	border-radius: var(--bcd-radius);
	color: inherit;
	text-decoration: none;
	transition: box-shadow .3s;
}
.bcd-post-card:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1); color: inherit; }
.bcd-post-card figure { aspect-ratio: 16 / 10; margin: 0; overflow: hidden; background: var(--bcd-muted-bg); }
.bcd-post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bcd-post-card:hover img { transform: scale(1.05); }
.bcd-post-card > div { padding: 24px; }
.bcd-post-date { margin: 0 0 8px; font-family: var(--bcd-sans); font-size: 14px; color: var(--bcd-muted); }
.bcd-post-card h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.3; transition: color .2s; }
.bcd-post-card:hover h2 { color: var(--bcd-blue); }
.bcd-post-card .bcd-post-excerpt { display: -webkit-box; overflow: hidden; margin: 0; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: var(--bcd-muted); }
.bcd-posts-empty { padding: 64px 24px; text-align: center; color: var(--bcd-muted); }
.bcd-posts-nav { padding: 0 24px 64px; text-align: center; }
@media (max-width: 1023px) { .bcd-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.bcd-banner { min-height: 50vh; }
	.bcd-banner h1 { font-size: 44px; }
	.bcd-posts { grid-template-columns: 1fr; padding: 32px 16px 64px; }
}

/* An article (Lovable « ArticleDetail »): image, title, date, text, back to Lifestyle. Template single.php. */
.bcd-article { max-width: 768px; margin: 0 auto; padding: 16px 24px 64px; }
.bcd-article-cover { aspect-ratio: 16 / 9; margin: 0 0 32px; overflow: hidden; border-radius: var(--bcd-radius); }
.bcd-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.bcd-article h1 { margin: 0 0 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
.bcd-article-date { margin: 0 0 32px; font-family: var(--bcd-sans); color: var(--bcd-muted); }
.bcd-article .entry-content { font-size: 18px; line-height: 1.75; }
.bcd-article .entry-content p { color: var(--bcd-muted); }
.bcd-article .entry-content :is(h2, h3) { color: var(--bcd-ink); }
.bcd-article .entry-content :is(img, video, iframe) { display: block; width: 100%; height: auto; margin: 32px 0; border-radius: var(--bcd-radius); }
.bcd-article .entry-content iframe { aspect-ratio: 16 / 9; }
.bcd-article .entry-content a { text-decoration: none; }
.bcd-article .entry-content a:hover { text-decoration: underline; }
.bcd-article-back { margin: 48px 0 0; padding-top: 32px; border-top: 1px solid var(--bcd-border); }
.bcd-article-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: 1px solid var(--bcd-border);
	border-radius: var(--bcd-radius);
	background: var(--bcd-bg);
	color: var(--bcd-ink);
	font-family: var(--bcd-sans);
	font-weight: 500;
	text-decoration: none;
}
.bcd-article-back a:hover { background: var(--bcd-muted-bg); color: var(--bcd-ink); }
/* Lifestyle and articles: Kadence's space around the content is replaced by the banner's and the article's own. */
:is(.blog, .single-post) #primary.content-area { margin: 0; }
.bcd-value { margin: 0 !important; }
