/*
Theme Name: LaTonia Hope
Description: Custom block theme rebuilt by hand from latoniahope.wixsite.com/portfolio. Layout sections use the WordPress 7.1 Custom HTML block with editable blocks inside.
Version: 1.0.0
Requires at least: 7.1
Requires PHP: 8.0
Text Domain: latoniahope
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.lh-main { padding: 0 !important; }
.lh-main > .wp-block-post-content > *:first-child { margin-block-start: 0; }
.wp-block-post-content > * + * { margin-block-start: 0; }
[id] { scroll-margin-top: 20px; }
img { max-width: 100%; height: auto; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; }

/* Custom HTML sections are full bleed inside the constrained post content. */
.wp-block-post-content > section,
.wp-block-post-content > div:not(.wp-block-group):not(.wp-block-image):not(.wp-block-buttons) {
	max-width: none !important;
	margin-left: calc(-1 * var(--wp--style--root--padding-left, 16px)) !important;
	margin-right: calc(-1 * var(--wp--style--root--padding-right, 16px)) !important;
}

.lh-section-title {
	font-family: var(--wp--preset--font-family--lato);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--wp--preset--color--purple);
	text-align: center;
	margin: 0 0 18px;
}
.lh-page-title {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--xx-large);
	color: var(--wp--preset--color--purple);
	text-align: center;
	margin: 0;
}
.lh-subtitle {
	font-family: var(--wp--preset--font-family--lato);
	font-size: 19px;
	color: #6b6b6b;
	text-align: center;
	margin: 6px 0 0;
}
.lh-intro {
	max-width: 960px;
	margin: 8px auto 0;
	text-align: center;
	font-size: 20px;
	line-height: 1.5;
	color: #414141;
}
.lh-intro-block { padding: 28px 16px 26px; }
.lh-center .wp-block-buttons, .lh-center { justify-content: center; }
.lh-center-text { text-align: center; }

/* ---------- Header ---------- */
.lh-header { background: #fff; padding: 18px 16px; position: relative; z-index: 20; }
.lh-header__inner { align-items: center; gap: 24px; }
.lh-logo { flex: 0 0 auto; margin: 0 0 0 clamp(0px, 7vw, 92px); }
.lh-logo img { width: 148px; height: auto; }
.lh-nav { flex: 1 1 auto; }
.lh-nav .wp-block-navigation__container { gap: 0 clamp(24px, 5vw, 66px); }
.lh-nav .wp-block-navigation-item__content { color: #000; padding: 6px 0; }
.lh-nav .wp-block-navigation-item__content:hover,
.lh-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--teal); }
.lh-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 32px 28px;
	background: #fff;
}
.lh-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 22px;
	font-size: 24px;
}
.lh-nav .wp-block-navigation__responsive-container-open svg,
.lh-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* ---------- Home hero ---------- */
.lh-hero {
	display: grid;
	grid-template-columns: minmax(0, 637fr) minmax(0, 643fr);
	align-items: stretch;
	background: #fff;
}
.lh-hero__photo .wp-block-image, .lh-hero__photo img { height: 100%; width: 100%; }
.lh-hero__photo img { object-fit: cover; object-position: 40% 30%; min-height: 560px; max-height: 960px; }
.lh-hero__text { padding: 82px 48px 56px 74px; max-width: 610px; }
.lh-hero__text > * { margin: 0; }
.lh-hero__sig img { width: 205px; height: auto; margin: 0 0 -6px -6px; }
.lh-hero__name {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--display);
	color: #414141;
	line-height: 1.05;
	letter-spacing: -0.01em;
}
.lh-hero__role {
	font-size: 19px;
	color: #414141;
	margin: 16px 0 34px !important;
	font-weight: 400;
}
.lh-hero__role::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 1px;
	background: var(--wp--preset--color--teal);
	vertical-align: middle;
	margin-right: 12px;
}
.lh-hero__text p:not(.lh-hero__role) { font-size: 17px; line-height: 1.75; margin-bottom: 1.4em; }
.lh-hero__buttons { gap: 26px; margin-top: 18px !important; justify-content: center; }
.lh-hero__buttons .wp-block-button__link { min-width: 142px; text-align: center; padding: 9px 22px; font-size: 14px; }

/* ---------- Demo ---------- */
.lh-demo { background: var(--wp--preset--color--mist); padding: 40px 16px 40px; text-align: center; }
.lh-demo__video { max-width: 900px; margin: 6px auto 26px; }
.lh-demo .wp-block-buttons { justify-content: center; }
.lh-demo .wp-block-button__link { min-width: 195px; font-size: 15px; letter-spacing: 0; padding: 11px 24px; }

/* ---------- Awards row (home) ---------- */
.lh-awards { padding: 36px 16px 36px; }
.lh-awards__row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 141px;
	gap: 6px;
	justify-content: center;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.lh-awards__row::-webkit-scrollbar { display: none; }
.lh-award { scroll-snap-align: start; }
.lh-award img { width: 141px; height: 403px; object-fit: cover; }

/* ---------- Let's talk band ---------- */
.lh-talk { background: var(--wp--preset--color--smoke); padding: 30px 16px 40px; text-align: center; }
.lh-talk__lead {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 22px;
	color: #000;
	margin: 0 0 14px;
}
.lh-talk__row { display: flex; justify-content: center; align-items: center; gap: 12px 10px; flex-wrap: wrap; }
.lh-talk__big {
	font-family: var(--wp--preset--font-family--playfair);
	font-weight: 900;
	text-transform: uppercase;
	color: var(--wp--preset--color--purple);
	font-size: 62px;
	line-height: 0.95;
	letter-spacing: 0;
	text-align: left;
	margin: 0;
}
.lh-talk__links { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.lh-talk__item { display: flex; align-items: center; gap: 12px; }
.lh-talk__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--wp--preset--color--purple); color: #fff; flex: 0 0 auto;
}
.lh-talk__icon:hover { background: #3d085a; }
.lh-talk__link { margin: 0; font-family: var(--wp--preset--font-family--jost); font-size: 23px; }
.lh-talk__link a { color: var(--wp--preset--color--purple); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Testimonials (scroll snap slider, no JavaScript) ---------- */
.lh-quotes { padding: 40px 16px 32px; }
.lh-quotes--dark { background: var(--wp--preset--color--contrast); color: #fff; }
.lh-quotes--light { background: #fff; color: #414141; }
.lh-quotes__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	max-width: 1020px;
	margin: 0 auto;
	anchor-name: --lh-quotes;
	scroll-marker-group: after;
}
.lh-quotes__track::-webkit-scrollbar { display: none; }
.lh-quote {
	flex: 0 0 100%;
	scroll-snap-align: center;
	padding: 0 80px;
	box-sizing: border-box;
}
.lh-quote > * { margin: 0; }
.lh-quote__label {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-size: 22px;
	margin-bottom: 22px !important;
}
.lh-quote__text { font-size: 19px; line-height: 1.45; font-weight: 300; }
.lh-quote__by { text-align: right; font-size: 19px; margin-top: 8px !important; }
/* Arrows and dots where the browser supports CSS carousels; elsewhere visitors swipe or scroll. */
.lh-quote::scroll-marker {
	content: "";
	width: 7px; height: 7px; border-radius: 50%;
	background: #fff; opacity: .9;
}
.lh-quote::scroll-marker:target-current { background: transparent; outline: 1px solid #fff; outline-offset: 1px; }
.lh-quotes--light .lh-quote::scroll-marker:target-current { outline-color: var(--wp--preset--color--purple); }
.lh-quotes--light .lh-quote::scroll-marker { background: var(--wp--preset--color--purple); }
.lh-quotes__track::scroll-marker-group { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.lh-quotes__track::scroll-button(*) {
	border: 0; background: none; color: inherit; font-size: 44px; line-height: 1; cursor: pointer;
	position: absolute; position-anchor: --lh-quotes; top: anchor(center); translate: 0 -50%;
	font-family: var(--wp--preset--font-family--jost); font-weight: 200;
}
.lh-quotes__track::scroll-button(*):disabled { opacity: .25; cursor: default; }
.lh-quotes__track::scroll-button(left) { content: "‹" / "Previous testimonial"; left: calc(anchor(left) + 4px); }
.lh-quotes__track::scroll-button(right) { content: "›" / "Next testimonial"; right: calc(anchor(right) + 4px); }
.lh-quotes { position: relative; }

/* ---------- About ---------- */
.lh-about-hero { display: grid; padding-top: 34px; }
.lh-about-hero > * { grid-area: 1 / 1; }
.lh-about-hero__text { position: relative; z-index: 1; align-self: start; text-align: center; padding: 0 16px; }
.lh-about-hero__text .lh-subtitle { margin-top: 18px; }
.lh-quote-line { max-width: 800px; margin: 12px auto 0; font-size: 13px; line-height: 1.6; color: #6b6b6b; }
.lh-about-hero__img { margin-top: 140px !important; }
.lh-about-hero__img img { width: 100%; height: 780px; object-fit: cover; object-position: center 20%; }
.lh-about-body { padding: 44px 16px 44px; font-size: 15px; line-height: 1.7; }
.lh-about-body > * { margin-block: 0 0 !important; }
.lh-about-body > p { margin-bottom: 26px !important; }
.lh-about-body > ul { margin-bottom: 30px !important; }
.lh-about-body ul { margin-top: 0; }
.lh-about-body li { margin-bottom: 4px; font-size: 15px; }
.lh-label {
	font-family: var(--wp--preset--font-family--lato);
	font-weight: 700;
	font-size: 17px;
	text-align: center;
	color: var(--wp--preset--color--purple);
	margin: 6px 0 14px !important;
}

/* ---------- Trophy case ---------- */
.lh-trophies { padding: 40px 16px 56px; text-align: center; }
.lh-trophies .lh-section-title { margin-bottom: 0; font-size: 46px; }
.lh-trophies__sub { color: var(--wp--preset--color--purple); font-size: 19px; margin: 0 0 30px; }
.lh-trophies__grid {
	display: grid;
	grid-template-columns: repeat(3, 230px);
	justify-content: center;
	gap: 30px 30px;
}
.lh-trophy { background: var(--wp--preset--color--contrast); color: #fff; display: flex; flex-direction: column; }
.lh-trophy .wp-block-image img { width: 230px; height: 270px; object-fit: cover; }
.lh-trophy__body { padding: 16px 12px 22px; }
.lh-trophy__body > * { margin: 0; }
.lh-trophy__title { font-family: var(--wp--preset--font-family--lato); font-weight: 700; font-size: 20px; color: #fff; }
.lh-trophy__note { font-size: 13px; color: #d5d5d5; margin-top: 4px !important; }
.lh-trophy__org { font-size: 15px; color: #d5d5d5; margin-top: 12px !important; }
.lh-trophy__year { font-size: 21px; color: #d5d5d5; }

/* ---------- Projects ---------- */
.lh-banner img { width: 100%; height: 385px; object-fit: cover; }
.lh-band { background: var(--wp--preset--color--smoke); padding: 22px 16px; text-align: center; }
.lh-band__title { font-family: var(--wp--preset--font-family--jost); font-weight: 300; font-size: 34px; margin: 0; }
.lh-videos { padding: 26px 16px 56px; }
.lh-videos__label { max-width: 1160px; margin: 0 auto 14px; font-size: 13px; color: #414141; }
.lh-videos__grid {
	max-width: 1160px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}
.lh-video { display: flex; flex-direction: column; padding-bottom: 32px; }
.lh-video .wp-block-embed { margin: 0; background: #000; }
.lh-video__title {
	font-family: var(--wp--preset--font-family--lato);
	font-weight: 300;
	font-size: 22px;
	color: #414141;
	margin: 18px 20px 6px;
	line-height: 1.2;
}
.lh-video__desc {
	font-size: 13px;
	line-height: 1.35;
	color: #555;
	margin: 0 20px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Resume ---------- */
.wp-block-image.lh-collage img { width: 100%; height: 500px; object-fit: cover; object-position: center; }
.lh-resume { padding: 40px 16px 56px; font-family: var(--wp--preset--font-family--jost); font-weight: 300; font-size: 15px; line-height: 1.55; color: #222; }
.lh-resume > * { margin-block: 0 !important; }
.lh-resume p { margin-bottom: 14px !important; }
.lh-resume .wp-block-list { margin: 0 0 22px !important; padding-left: 60px; }
.lh-resume__headline { font-family: var(--wp--preset--font-family--jost); font-weight: 400; font-size: 20px; color: #000; text-align: center; margin-bottom: 34px !important; }
.lh-resume__h { font-family: var(--wp--preset--font-family--jost); font-weight: 400; font-size: 20px; color: #000; text-align: center; margin: 30px 0 6px !important; }
.lh-job { margin-bottom: 4px !important; }
.lh-job strong { font-weight: 500; }

/* ---------- Training ---------- */
.lh-training-hero { display: grid; max-width: 1120px; margin: 10px auto 0 !important; }
.lh-training-hero > * { grid-area: 1 / 1; }
.lh-training-hero img { width: 100%; height: 384px; object-fit: cover; object-position: center 30%; }
.lh-training-hero__text { align-self: center; justify-self: end; text-align: center; padding: 0 150px 40px 0; color: #fff; }
.lh-training-hero__text > * { margin: 0; }
.lh-training-hero__name { font-family: var(--wp--preset--font-family--jost); font-weight: 300; font-size: var(--wp--preset--font-size--display); color: #fff; }
.lh-training-hero__role { font-family: var(--wp--preset--font-family--jost); font-size: 22px; color: #f3f3f3; }
.lh-training-body { padding: 10px 16px 0; }
.lh-training-intro { font-family: var(--wp--preset--font-family--jost); font-size: 19px; line-height: 1.62; text-align: center; color: #414141; max-width: 860px; margin: 0 auto !important; }
.lh-plain-title { font-family: var(--wp--preset--font-family--jost); font-weight: 300; font-size: 44px; color: #000; text-align: center; margin: 46px 0 6px !important; }

/* ---------- Book LaTonia ---------- */
.lh-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #f9f9f9; margin-top: 30px !important; }
.lh-book__photo .wp-block-image, .lh-book__photo img { width: 100%; height: 100%; }
.lh-book__photo img { object-fit: cover; object-position: 45% center; min-height: 700px; }
.lh-book__panel { padding: 30px 86px 60px 64px; }
.lh-book__card { background: #fff; padding: 18px 12px 26px; }
.lh-book__title { font-family: var(--wp--preset--font-family--lato); font-weight: 700; font-size: 20px; color: #414141; margin: 0 0 18px !important; padding: 0 10px; }
.lh-book__lead { font-size: 17px; margin: 0 0 14px !important; padding: 0 10px; }
.lh-book .wp-block-jetpack-contact-form { padding: 0 10px; }
.lh-book label, .lh-book .grunion-field-label { color: var(--wp--preset--color--purple) !important; font-size: 13px !important; font-weight: 700 !important; }
.lh-book input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.lh-book select,
.lh-book textarea {
	border: 0 !important;
	border-bottom: 1px solid var(--wp--preset--color--purple) !important;
	border-radius: 0 !important;
	background: #fff;
	font-size: 15px !important;
}
.lh-book select, .lh-book textarea { background: #f5f5f5 !important; border-bottom-width: 2px !important; }
.lh-book .wp-block-button__link, .lh-book button[type=submit] { font-weight: 400 !important; letter-spacing: 0 !important; padding: 8px 18px !important; font-size: 15px !important; }

/* ---------- Footer ---------- */
.lh-footer p { margin: 0; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 781px) {
	.lh-header { padding: 12px 16px; }
	.lh-logo { margin-left: 0; }
	.lh-logo img { width: 120px; }

	.lh-hero { grid-template-columns: 1fr; }
	.lh-hero__photo img { min-height: 0; height: 430px; object-position: 40% 25%; }
	.lh-hero__text { padding: 30px 20px 40px; max-width: none; }
	.lh-hero__sig img { width: 150px; }
	.lh-hero__buttons { justify-content: flex-start; gap: 14px; }

	.lh-demo { padding: 30px 0; }
	.lh-demo .lh-section-title, .lh-demo .wp-block-buttons { padding: 0 16px; }

	.lh-awards__row { justify-content: start; grid-auto-columns: 46%; padding: 0 4px; }
	.lh-award img { width: 100%; height: 330px; }

	.lh-talk__big { font-size: 46px; text-align: center; }
	.lh-talk__row { flex-direction: column; }
	.lh-talk__link { font-size: 19px; }
	.lh-talk__icon { width: 46px; height: 46px; }

	.lh-quote { padding: 0 34px; }
	.lh-quote__text, .lh-quote__by { font-size: 16px; }

	.lh-about-hero__img { margin-top: 220px !important; }
	.lh-about-hero__img img { height: 420px; }

	.lh-trophies__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.lh-trophy .wp-block-image img { width: 100%; height: 200px; }
	.lh-trophy__title { font-size: 17px; }

	.lh-banner img { height: 200px; }
	.lh-videos__grid { grid-template-columns: 1fr; }
	.lh-video__title { margin-left: 4px; margin-right: 4px; }
	.lh-video__desc { margin: 0 4px; }

	.lh-resume .wp-block-list { padding-left: 22px; }
	.wp-block-image.lh-collage img { height: auto; }

	.lh-training-hero img { height: 260px; }
	.lh-training-hero__text { padding: 0 18px 20px 0; }
	.lh-training-intro { font-size: 17px; }
	.lh-plain-title { font-size: 34px; }

	.lh-book { grid-template-columns: 1fr; }
	.lh-book__photo img { min-height: 0; height: 380px; object-position: center 20%; }
	.lh-book__panel { padding: 24px 12px 40px; }
}

/* ---------- Editor only: keep editable blocks easy to see ---------- */
.editor-styles-wrapper .lh-quotes__track { overflow-x: auto; scrollbar-width: thin; }
