/* Larry Wood theme: layout and components */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.lw-main > .wp-block-post-content > * { margin-block-start: 0; }
.lw-main > .wp-block-post-content { padding: 0; }

/* Header */
.lw-header { position: relative; z-index: 20; box-shadow: 0 2px 14px rgba(18, 38, 88, .08); }
.lw-header .wp-block-site-logo img { height: auto; }
.lw-nav { font-family: var(--wp--preset--font-family--poppins); font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.lw-nav a { color: var(--wp--preset--color--navy); text-decoration: none; }
.lw-nav a:hover, .lw-nav .current-menu-item > a, .lw-nav [aria-current="page"] { color: var(--wp--preset--color--blue-bright); }
.lw-nav-wrap { gap: 22px; }
.lw-btn-sm .wp-block-button__link { padding: 14px 30px; font-size: 13px; font-weight: 600; line-height: 1.05; text-align: center; }
@media (max-width: 781px) {
	.lw-header-cta { display: none; }
	.lw-header .wp-block-site-logo img { width: 170px !important; }
}

/* Sections */
.lw-section { padding-top: 100px !important; padding-bottom: 100px !important; }
.lw-section-sm { padding-top: 60px !important; padding-bottom: 60px !important; }
@media (max-width: 781px) {
	.lw-section { padding-top: 60px !important; padding-bottom: 60px !important; }
}

/* Hero */
.lw-hero { position: relative; overflow: hidden; }
.lw-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(242,243,243,.96) 0%, rgba(242,243,243,.85) 45%, rgba(242,243,243,.35) 100%) !important; opacity: 1 !important; }
.lw-hero h1 { margin-bottom: 26px; }
.lw-highlight { color: var(--wp--preset--color--blue-bright); position: relative; white-space: nowrap; }
.lw-highlight::after {
	content: ""; position: absolute; left: -2%; right: 4%; bottom: -.12em; height: .28em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M4 24 C 80 6, 200 2, 296 10' fill='none' stroke='%233B7FE6' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.lw-blob { position: relative; }
.lw-blob::before {
	content: ""; position: absolute; inset: 6% 0 0 2%; background: #fff; z-index: 0;
	border-radius: 58% 42% 38% 62% / 52% 46% 54% 48%;
}
.lw-blob img { position: relative; z-index: 1; }
.lw-hero-lead { font-weight: 500; font-size: 17px; line-height: 1.45; }

/* Quote */
.lw-quote { font-style: italic; font-weight: 700; max-width: 680px; margin-inline: auto !important; }

/* Cards */
.lw-card {
	background: #fff; border-radius: 6px; box-shadow: 0 10px 40px rgba(18, 38, 88, .10);
	padding: 32px !important; height: 100%;
}
.lw-card--blue { background: linear-gradient(160deg, #0066CC 0%, #3B7FE6 100%); color: #fff; }
.lw-card--blue h1, .lw-card--blue h2, .lw-card--blue h3, .lw-card--blue h4, .lw-card--blue p { color: #fff; }
.lw-card--blue .wp-block-button__link { background: var(--wp--preset--color--navy); }
.lw-card--blue .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--navy); }
.lw-card p { font-size: 15px; }
.lw-card-muted p { color: var(--wp--preset--color--grey); }
.lw-cards > .wp-block-column { display: flex; }
.lw-cards > .wp-block-column > .lw-card { flex: 1; display: flex; flex-direction: column; }
.lw-cards .lw-card .wp-block-buttons { margin-top: auto; }
.lw-icon-circle {
	width: 70px; height: 70px; border-radius: 50%; background: #fff; color: var(--wp--preset--color--blue);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.lw-icon-circle svg { width: 32px; height: 32px; fill: currentColor; }
.lw-icon-circle--blue { background: var(--wp--preset--color--blue); color: #fff; }

/* Info boxes (contact, events) */
.lw-info { display: flex; gap: 18px; align-items: flex-start; }
.lw-info .lw-icon-circle { margin: 0; flex: 0 0 56px; width: 56px; height: 56px; }
.lw-info .lw-icon-circle svg { width: 24px; height: 24px; }
.lw-info h4 { margin: 0 0 4px; }
.lw-info p { margin: 0; }

/* Events */
.lw-event { border-top: 1px solid rgba(18, 38, 88, .12); padding-top: 40px !important; }
.lw-date {
	display: inline-block; background: var(--wp--preset--color--blue); color: #fff; font-weight: 600;
	letter-spacing: 2px; text-transform: uppercase; padding: 8px 16px; border-radius: 4px; font-size: 14px;
}
.lw-eyebrow { font-family: var(--wp--preset--font-family--poppins); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; color: var(--wp--preset--color--blue); font-size: 15px; }
.lw-prose p { margin: 0 0 1em; }

/* Accordion (core/details) */
.lw-accordion details { border: 1px solid rgba(18, 38, 88, .15); border-radius: 6px; margin: 0 0 14px; background: #fff; }
.lw-accordion summary {
	cursor: pointer; padding: 18px 22px; font-family: var(--wp--preset--font-family--raleway); font-weight: 700;
	font-size: 20px; color: var(--wp--preset--color--navy); list-style: none; position: relative; padding-right: 50px;
}
.lw-accordion summary::-webkit-details-marker { display: none; }
.lw-accordion summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--wp--preset--color--blue); }
.lw-accordion details[open] summary::after { content: "\2212"; }
.lw-accordion details > *:not(summary) { padding: 0 22px; }
.lw-accordion details > *:last-child { padding-bottom: 18px; }

/* YouTube facade */
.lw-yt { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; cursor: pointer; border-radius: 6px; overflow: hidden; }
.lw-yt::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7c-.8-2.9-3-5.2-5.9-6C55.4.3 34 .3 34 .3S12.6.3 7.4 1.7c-2.9.8-5.1 3.1-5.9 6C.1 13 .1 24 .1 24s0 11 1.4 16.3c.8 2.9 3 5.2 5.9 6C12.6 47.7 34 47.7 34 47.7s21.4 0 26.6-1.4c2.9-.8 5.1-3.1 5.9-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z' fill='%23f00'/%3E%3Cpath d='M45 24 27 14v20z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
}
.lw-yt.is-playing::after { display: none; }
.lw-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Testimonial */
.lw-testimonial { display: flex; gap: 20px; align-items: center; }
.lw-testimonial img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.lw-testimonial blockquote { margin: 0; font-style: italic; }

/* Images */
.lw-rounded img { border-radius: 8px; }
.lw-shadow img { box-shadow: 0 14px 40px rgba(18, 38, 88, .18); }

/* Forms (WPForms) */
.wpforms-container .wpforms-form input[type=text],
.wpforms-container .wpforms-form input[type=email],
.wpforms-container .wpforms-form input[type=tel],
.wpforms-container .wpforms-form input[type=number],
.wpforms-container .wpforms-form textarea {
	border: 1px solid rgba(18, 38, 88, .2) !important; border-radius: 4px !important; font-family: var(--wp--preset--font-family--poppins) !important;
	max-width: 100% !important;
}
.wpforms-container .wpforms-form button[type=submit] {
	background: var(--wp--preset--color--blue) !important; color: #fff !important; border: 0 !important; border-radius: 5px !important;
	font-family: var(--wp--preset--font-family--poppins) !important; letter-spacing: 2px !important; text-transform: uppercase !important;
	padding: 16px 36px !important; height: auto !important; font-size: 14px !important;
}
.wpforms-container .wpforms-form button[type=submit]:hover { background: var(--wp--preset--color--navy) !important; }
.wpforms-container .wpforms-field-label { color: var(--wp--preset--color--navy) !important; font-weight: 500 !important; }

/* Pre-footer band */
.lw-prefooter-title { font-family: var(--wp--preset--font-family--raleway); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: 0; line-height: 1.3; }
.lw-prefooter-yt { font-size: 22px; letter-spacing: -0.5px; margin-bottom: 14px; }
.lw-prefooter-book img { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
@media (max-width: 781px) {
	.lw-prefooter-cols { text-align: center; }
	.lw-prefooter-cols .wp-block-image, .lw-prefooter-cols .wp-block-image img { margin-inline: auto; }
	.lw-prefooter-yt { text-align: center !important; }
	.lw-prefooter-cols .wp-block-buttons { justify-content: center !important; }
}

/* Footer */
.lw-footer { font-size: 15px; }
.lw-footer h4 { font-size: 20px; margin-bottom: 18px; color: #fff; font-weight: 600; }
.lw-footer p { color: #fff; }
.lw-footer-list { list-style: none; padding: 0; margin: 0; }
.lw-footer-list li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.lw-footer-list li:last-child { border-bottom: 0; }
.lw-footer a { color: #fff; text-decoration: none; }
.lw-footer a:hover { color: var(--wp--preset--color--blue-bright); }
.lw-footer-rule { border-color: rgba(255, 255, 255, .2) !important; margin-top: 50px !important; opacity: 1; }

/* ---- Page components ---- */
.lw-section-top0 { padding-top: 0 !important; }
.lw-muted, .lw-muted p { color: var(--wp--preset--color--grey); }
.lw-lead { font-family: var(--wp--preset--font-family--raleway); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; color: var(--wp--preset--color--navy); }
.lw-small { font-size: 13px; color: var(--wp--preset--color--grey); font-weight: 400; letter-spacing: 0; text-transform: none; }
.lw-upper { text-transform: uppercase; }

/* Home hero */
.lw-hero .wp-block-cover__inner-container { padding-top: 60px; }
.lw-hero-cols { margin-bottom: 0 !important; }
.lw-hero-cols .lw-blob { margin: 0; }
.lw-hero .wp-block-cover__background { background: rgba(242, 243, 243, .78) !important; opacity: 1 !important; }
.lw-hero { padding-bottom: 0 !important; }
.lw-card-img { margin: 0 auto 6px !important; }
.lw-card-img img { max-height: 340px; width: auto !important; margin: 0 auto; display: block; }
.lw-card h3 { font-size: 22px; }
@media (min-width: 782px) {
	.lw-cards { align-items: stretch !important; }
	.lw-cards > .wp-block-column:nth-child(2) .lw-card { box-shadow: 0 16px 50px rgba(0,102,204,.35); }
}

/* About */
.lw-about-card { padding: 50px !important; }
.lw-about-title { font-size: clamp(28px, 2.6vw, 36px) !important; letter-spacing: -0.5px !important; line-height: 1.25 !important; }
.lw-quote-mark { margin-bottom: 10px !important; }
.lw-story p { font-size: 16px; line-height: 1.6; }
.lw-info-box { border: 1px dashed rgba(18, 38, 88, .25); border-radius: 6px; padding: 24px; margin-bottom: 18px; }
.lw-info-box h4 { font-family: var(--wp--preset--font-family--poppins); text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 600; }

/* Books */
.lw-book-card { padding: 60px 56px !important; }
.lw-subquote { font-style: italic; font-weight: 700 !important; font-size: 20px !important; letter-spacing: -0.5px; }
.lw-byline { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--wp--preset--color--navy); line-height: 1.3; }
.lw-review-quote { font-size: 20px; color: var(--wp--preset--color--grey); font-weight: 500; margin-top: 24px !important; }
.lw-testimonial--center { justify-content: center; }
.lw-testimonial strong { color: var(--wp--preset--color--grey); font-weight: 500; font-size: 17px; }
.lw-testimonial span { color: var(--wp--preset--color--grey); font-size: 14px; }

/* Events */
.lw-eyebrow-title { font-size: 21px !important; text-transform: uppercase; letter-spacing: 0 !important; margin-bottom: 28px !important; }
.lw-facts { list-style: none; padding: 0; margin: 0; }
.lw-facts li { padding: 10px 0; border-top: 1px solid rgba(18, 38, 88, .12); color: #333; }
.lw-facts li strong { color: #222; }
.lw-prose p { font-size: 17px; line-height: 1.55; }
.lw-event { border-top: 1px solid rgba(18, 38, 88, .15); padding-top: 28px !important; padding-bottom: 12px !important; margin-top: 28px !important; }
.lw-event-head { display: flex; gap: 0; align-items: flex-start; margin-bottom: 14px; }
.lw-event-date { flex: 0 0 150px; text-align: center; border-right: 1px solid rgba(18, 38, 88, .15); padding-right: 16px; margin-right: 16px; }
.lw-event-month { display: block; font-family: var(--wp--preset--font-family--raleway); font-weight: 700; font-size: 48px; line-height: 1; color: var(--wp--preset--color--blue); text-transform: uppercase; }
.lw-event-days { display: block; font-weight: 600; letter-spacing: 2px; font-size: 13px; margin-top: 8px; color: var(--wp--preset--color--navy); }
.lw-event-info h3 { font-size: 22px; margin: 0 0 4px; }
.lw-event-place { margin: 0 0 8px; color: var(--wp--preset--color--grey); }
.lw-event-place em { font-weight: 400; }
@media (max-width: 600px) {
	.lw-event-head { flex-direction: column; }
	.lw-event-date { border-right: 0; text-align: left; padding: 0; margin: 0 0 10px; flex-basis: auto; }
}
.lw-sidebar > * + * { margin-top: 30px !important; }
@media (min-width: 782px) { .lw-sidebar { position: sticky; top: 30px; align-self: flex-start; } }
.lw-light-title { color: #fff !important; font-weight: 400 !important; font-size: 30px !important; line-height: 1.25 !important; }
.lw-short-rule { width: 50px; border: 0; border-top: 1px solid rgba(255, 255, 255, .5); margin: 10px 0 20px; }
.lw-form-card { padding: 32px !important; }
.lw-form-card .wpforms-container { margin: 0 !important; }
.lw-form-card .wpforms-field-label { color: #fff !important; }
.lw-form-card .wpforms-form input, .lw-form-card .wpforms-form textarea { background: #F2F3F3 !important; border: 0 !important; }
.lw-form-card .wpforms-form button[type=submit] { background: var(--wp--preset--color--navy) !important; width: 100%; }
.lw-form-card .wpforms-form button[type=submit]:hover { background: #fff !important; color: var(--wp--preset--color--navy) !important; }
.lw-form-card .wpforms-confirmation-container-full { background: #fff !important; color: var(--wp--preset--color--navy) !important; border: 0 !important; }
.lw-cta-card { border-radius: 6px; overflow: hidden; align-items: flex-end !important; }
.lw-cta-card .wp-block-cover__background { background: linear-gradient(180deg, rgba(0,102,204,.15) 0%, rgba(18,38,88,.55) 100%) !important; opacity: 1 !important; }

/* Bootcamp */
.lw-boot-hero { color: #fff; }
.lw-boot-hero .wp-block-cover__background { background: rgba(18, 38, 88, .55) !important; opacity: 1 !important; }
.lw-boot-hero h1 { color: #fff; font-size: clamp(36px, 3.4vw, 46px); letter-spacing: 0; }
.lw-boot-hero p { color: #fff; }
.lw-pill .wp-block-button__link { border-radius: 40px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 16px; background: #3B7FE6; padding: 16px 44px; }
.lw-pill--navy .wp-block-button__link { background: var(--wp--preset--color--navy); text-transform: uppercase; font-weight: 600; font-size: 18px; border: 1px solid #3B7FE6; }
.lw-pill .wp-block-button__link:hover { background: var(--wp--preset--color--navy); }
.lw-pill--navy .wp-block-button__link:hover { background: #3B7FE6; }
.lw-accordion details { border: 0; border-radius: 0; box-shadow: 0 4px 16px rgba(0,0,0,.12); border-bottom: 3px solid var(--wp--preset--color--navy); }
.lw-accordion details:first-child { border-top: 3px solid #D4CC28; }
.lw-accordion summary { font-family: Helvetica, Arial, sans-serif; text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); padding: 30px 50px 30px 0; margin-left: 0; }
.lw-accordion summary::after { color: var(--wp--preset--color--navy); font-size: 40px; right: 0; font-weight: 700; }
.lw-accordion details > *:not(summary) { padding: 0 0 0 4px; color: #444; }
.lw-accordion details[open] > *:last-child { padding-bottom: 24px; }
.lw-accordion blockquote { border-left: 3px solid var(--wp--preset--color--blue); margin: 10px 0; padding-left: 14px; font-style: italic; }
.lw-hosts-title { font-family: var(--wp--preset--font-family--poppins) !important; letter-spacing: 3px !important; font-size: clamp(26px, 2.6vw, 36px) !important; font-weight: 600 !important; color: #2E4772 !important; margin-bottom: 60px !important; }
.lw-host h3 { font-family: var(--wp--preset--font-family--poppins); font-size: 22px; margin-top: 18px; }
.lw-closer { font-family: var(--wp--preset--font-family--poppins) !important; font-weight: 600 !important; letter-spacing: -0.5px !important; }
.lw-page-title { font-size: clamp(32px, 3vw, 44px) !important; letter-spacing: -0.5px !important; }

/* Full-bleed page sections */
.lw-main .wp-block-post-content > .wp-block-group,
.lw-main .wp-block-post-content > .wp-block-cover { margin-block: 0; padding-left: var(--wp--style--root--padding-left, 24px); padding-right: var(--wp--style--root--padding-right, 24px); }
.lw-main .wp-block-post-content > .wp-block-group > .wp-block-columns.alignwide,
.lw-main .wp-block-post-content > .wp-block-group > .alignwide { max-width: 1240px; margin-left: auto !important; margin-right: auto !important; }

/* Polish */
.lw-main [style*="bg_pattern"] { background-color: #EDEEEE; background-blend-mode: lighten; }
.lw-story .wp-block-image img { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; }
.lw-quote { margin-bottom: 50px !important; }
