/*
 * lanagerton.com - small additions on top of the archived Kadence stylesheets
 * (assets/vendor/*) and the restored inline styles (assets/css/archive-chrome.css):
 * behaviour the archived scripts used to provide, missing-image placeholders, share links,
 * contact form and accessibility.
 */

/* Accessibility --------------------------------------------------------- */
.sr-only,
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 100000;
	top: 8px;
	left: 8px;
	padding: 12px 20px;
	background: #fff;
	color: #000;
	font-weight: 700;
}
body:not(.hide-focus-outline) a:focus-visible,
body:not(.hide-focus-outline) button:focus-visible,
body:not(.hide-focus-outline) input:focus-visible,
body:not(.hide-focus-outline) textarea:focus-visible,
body:not(.hide-focus-outline) select:focus-visible,
body:not(.hide-focus-outline) summary:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

/* Core social-links block (footer, author box) - archived look. */
.wp-block-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
	list-style: none;
	margin: 1em 0 0;
	padding: 0;
}
.wp-block-social-links .wp-social-link {
	display: block;
	margin: 0;
	border-radius: 9999px;
	line-height: 0;
}
.wp-block-social-links .wp-block-social-link-anchor {
	display: flex;
	align-items: center;
	padding: .25em;
	color: currentColor;
	fill: currentColor;
}
.wp-block-social-links .wp-block-social-link-anchor svg { width: 1em; height: 1em; }
.wp-block-social-links.has-normal-icon-size { font-size: 24px; }

/* Header ---------------------------------------------------------------- */
.site-title {
	font-family: 'Libre Franklin', sans-serif;
	font-weight: 700;
	font-size: 28px;
	letter-spacing: .12em;
	color: #000;
}
.header-widget1 .widget { margin: 0; }
.header-widget1 .widget > :last-child { margin-bottom: 0; }
.site-main-header-wrap.item-is-fixed .site-main-header-inner-wrap { min-height: 60px; }
.site-main-header-wrap.item-is-fixed .site-branding a.brand img { max-height: 50px; width: auto; }
.lanagerton-sticky-spacer { height: 0; }
#mobile-drawer[hidden] { display: none !important; }

/* Missing archived images: neutral placeholder (no generated images). ---- */
.post-thumbnail--empty .post-thumbnail-inner,
.kadence-post-image-inner-wrap.post-thumbnail--empty {
	background: var(--global-palette8, #fcf7fc);
}
.post-thumbnail.post-thumbnail--empty .post-thumbnail-inner { position: absolute; inset: 0; }
img.lanagerton-missing-image { display: none; }

/* Home: archived "Brands I've Worked With" logo carousel shown as a static row. */
.kb-gallery-type-carousel .kt-blocks-carousel-init {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 37px;
	justify-content: center;
	align-items: center;
}
.kb-gallery-type-carousel .kb-slide-item {
	flex: 0 1 calc((100% - 6 * 37px) / 7);
	min-width: 90px;
}
.kb-gallery-type-carousel .kb-slide-item img { width: 100%; height: auto; }
@media (max-width: 767px) {
	.kb-gallery-type-carousel .kb-slide-item { flex-basis: calc((100% - 3 * 10px) / 4); min-width: 60px; }
}

/* Home: booking widget replacement. */
.lanagerton-booking-cta { text-align: center; margin: 1.5em 0; }
.lanagerton-booking-cta .button {
	display: inline-block;
	padding: .4em 1.6em;
	font-size: 17px;
	border-radius: 8px;
	text-decoration: none;
}

/* Accordions (archived Kadence FAQ). */
.kt-accordion-panel[hidden] { display: none; }

/* Related posts carousel ("Relevant Posts"). */
.lanagerton-related { max-width: var(--global-content-width, 1300px); margin: 0 auto 4rem; padding: 0 var(--global-content-edge-padding, 1.5rem); }
.lanagerton-carousel { position: relative; }
.lanagerton-carousel__track {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.lanagerton-carousel__track::-webkit-scrollbar { display: none; }
.lanagerton-carousel__list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 80px) / 3);
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lanagerton-carousel__slide { scroll-snap-align: start; }
.lanagerton-carousel .entry-title { font-size: 18px; line-height: 1.5; margin: 1em 0 0; }
.lanagerton-carousel .entry-title a { color: inherit; text-decoration: none; }
.lanagerton-carousel .entry-title a:hover { color: var(--global-palette1); }
.lanagerton-carousel .kadence-post-image-inner-wrap { display: block; position: absolute; inset: 0; }
.lanagerton-carousel .kadence-post-image-inner-wrap img { width: 100%; height: 100%; object-fit: cover; }
.lanagerton-carousel__arrow {
	position: absolute;
	top: 30%;
	z-index: 2;
	width: 2.4em;
	height: 2.4em;
	padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .85);
	color: #000;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	display: flex;
	align-items: center;
	justify-content: center;
}
.lanagerton-carousel__arrow:disabled { opacity: .35; }
.lanagerton-carousel__arrow--prev { left: 10px; }
.lanagerton-carousel__arrow--next { right: 10px; }
@media (max-width: 1024px) {
	.lanagerton-carousel__list { grid-auto-columns: calc((100% - 40px) / 2); }
}
@media (max-width: 767px) {
	.lanagerton-carousel__list { grid-auto-columns: 100%; }
}

/* Share links (added; the archive had none). */
.share { margin-top: 2em; }
.share__list { display: flex; gap: .5em; list-style: none; margin: 0; padding: 0; }
.share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	background: #ffbbff;
	color: #212227;
	box-shadow: none;
}
.share__btn:hover { background: var(--global-palette1); color: #fff; }
.share__status { font-size: 14px; margin: .5em 0 0; min-height: 1.4em; }

/* Footer ---------------------------------------------------------------- */
.site-footer-element .footer-heading {
	font-family: 'Libre Franklin', sans-serif;
	font-size: 28px;
	line-height: 1.5;
	color: var(--global-palette2);
	margin: 0;
}
.site-footer-element .wp-block-navigation__container { list-style: none; margin: 0; padding: 0; display: flex; gap: .5em 1.5em; }
.site-footer-element .footer-nav-vertical .wp-block-navigation__container { flex-direction: column; gap: .4em; }
.site-footer-element .wp-block-navigation-item__content { color: #fff; text-decoration: none; }
.site-footer-element .wp-block-navigation-item__content:hover { color: var(--global-palette2); }
.site-footer-element .has-theme-palette8-color .wp-block-navigation-item__content { color: var(--global-palette8); }
.footer-quick-links__list { list-style: none; margin: 0; padding: 0; }
.footer-quick-links__list li { margin: 0 0 .9em; line-height: 1; }
.footer-quick-links__list a { color: #fff; }
.footer-quick-links__list a:hover { color: var(--global-palette2); }
#mc_embed_signup { background: transparent; clear: left; color: #fff; font: 14px Helvetica, Arial, sans-serif; width: 100%; }
#mc_embed_signup label { display: block; font-size: 13px; margin-bottom: 3px; }
#mc_embed_signup .asterisk { color: #e85c41; }
#mc_embed_signup input[type="email"] { width: 100%; max-width: 220px; padding: 6px 8px; border-radius: 3px; border: 1px solid #abb0b2; }
#mc_embed_signup .button {
	clear: both;
	background-color: #ffd0ff;
	color: #000;
	font-size: 15px;
	line-height: 1.2;
	padding: 4px 12px;
	margin: 10px 0;
	border-radius: 4px;
}

/* Work With Me: local contact form (replaces the archived third-party booking form). */
.contact-form-wrap { max-width: 760px; margin: 2rem auto 0; }
.contact-form .form-field { margin: 0 0 1em; }
.contact-form label { display: block; font-weight: 700; margin-bottom: .3em; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea { width: 100%; }
.contact-form .form-field--check label { display: inline; font-weight: 400; }
.contact-form .form-field--hp { position: absolute; left: -9999px; }
.contact-form .button { padding: .5em 1.5em; font-size: 17px; }
.form-note { padding: .8em 1em; border-radius: 6px; }
.form-note--success { background: #e7f7ec; }
.form-note--error { background: #fde8ec; }

/* 404 ------------------------------------------------------------------- */
.error-404 .page-title { font-size: 36px; }
.error-404 .wp-block-search { max-width: 480px; }
