/*
Theme Name: Learn Marimba (Divi child)
Template: Divi
Description: Rattletree School of Marimba's design on top of Divi, a sister of the Learn Mbira design. Colours and fonts live in the :root block at the top.
Version: 1.0.0
Author: Joel Laviolette
*/

/* ===== Design tokens ===== */
:root {
	--lm-ink: #1e1712;        /* text */
	--lm-earth: #4a2e1d;      /* dark wood brown */
	--lm-main: #1d6a73;       /* main colour: deep teal (the old site's teal, darker so text on it is readable) */
	--lm-main-dark: #154f56;
	--lm-wood: #c9822f;       /* marimba-key wood: accents */
	--lm-sand: #f3ebdf;       /* soft section background */
	--lm-paper: #fffaf3;      /* page background */
	--lm-line: #e4d7c4;
	--lm-muted: #6b5a4a;
	--lm-radius: 14px;
	--lm-shadow: 0 10px 30px rgba(30, 23, 18, .10);
	--lm-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--lm-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	/* Same names as the Learn Mbira theme, so shared pieces look right on both sites */
	--lm-clay: var(--lm-main);
	--lm-clay-dark: var(--lm-main-dark);
	--lm-ochre: var(--lm-wood);
}

/* ===== Base ===== */
body, #page-container, #main-content { background: var(--lm-paper); }
body, p, li, input, textarea, select, button { font-family: var(--lm-sans); color: var(--lm-ink); }
body { font-size: 17px; line-height: 1.7; }
h1, h2, h3, h4, .et_pb_module_header, .entry-title, .woocommerce div.product .product_title {
	font-family: var(--lm-serif) !important; color: var(--lm-ink); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
a { color: var(--lm-main); }
a:hover { color: var(--lm-main-dark); }
#main-content .container:before { display: none; } /* no sidebar line */
.lm-eyebrow { font-family: var(--lm-sans); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--lm-main); margin-bottom: .6em !important; }
.lm-lead { font-size: 1.2rem; color: var(--lm-muted); max-width: 40em; }
.lm-center { text-align: center; }
.lm-center .lm-lead { margin-left: auto; margin-right: auto; }
.lm-small { font-size: .9rem; color: var(--lm-muted); }
.et_pb_text_inner a, .entry-content p a { text-decoration: underline; text-underline-offset: 2px; }

/* ===== Buttons ===== */
.lm-btn, a.lm-btn, .et_pb_button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .et_pb_login_form .et_pb_newsletter_button {
	display: inline-block; font-family: var(--lm-sans) !important; font-weight: 700 !important; font-size: 1rem !important;
	padding: .85em 1.6em !important; border-radius: 999px !important; border: 2px solid transparent !important;
	background: var(--lm-main) !important; color: #fff !important; text-decoration: none !important; line-height: 1.2 !important;
	transition: background .15s, transform .15s; cursor: pointer;
}
.lm-btn:hover, .et_pb_button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .et_pb_login_form .et_pb_newsletter_button:hover {
	background: var(--lm-main-dark) !important; color: #fff !important; transform: translateY(-1px);
}
.et_pb_button:after, .woocommerce a.button:after, .woocommerce button.button:after { display: none !important; }
.lm-btn--ghost, a.lm-btn--ghost { background: transparent !important; border-color: currentColor !important; color: var(--lm-ink) !important; }
.lm-btn--ghost:hover { background: rgba(0,0,0,.06) !important; color: var(--lm-ink) !important; }
a.lm-btn.lm-btn--wood, .lm-btn.lm-btn--wood { background: var(--lm-wood) !important; color: var(--lm-ink) !important; }
a.lm-btn.lm-btn--clay, .lm-btn.lm-btn--clay { background: #a8432a !important; color: #fff !important; }
a.lm-btn.lm-btn--clay:hover, .lm-btn.lm-btn--clay:hover { background: #8c3520 !important; color: #fff !important; }
/* Zimbabwean flag colours (green, yellow, red), for the home page's top buttons (Joel 2026-11-25) */
a.lm-btn.lm-btn--zw-green, .lm-btn.lm-btn--zw-green { background: #157a2e !important; color: #fff !important; }
a.lm-btn.lm-btn--zw-green:hover { background: #0f6024 !important; color: #fff !important; }
a.lm-btn.lm-btn--zw-yellow, .lm-btn.lm-btn--zw-yellow { background: #ffd200 !important; color: #1a1a1a !important; }
a.lm-btn.lm-btn--zw-yellow:hover { background: #f0c400 !important; color: #1a1a1a !important; }
a.lm-btn.lm-btn--zw-red, .lm-btn.lm-btn--zw-red { background: #d21f26 !important; color: #fff !important; }
a.lm-btn.lm-btn--zw-red:hover { background: #b0161c !important; color: #fff !important; }
.lm-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.lm-btns > p { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; }
.lm-center .lm-btns, .lm-center .lm-btns > p, .lm-btns.lm-center { justify-content: center; }

/* ===== Header ===== */
#top-header { display: none !important; }
#main-header { background: var(--lm-paper) !important; box-shadow: none !important; border-bottom: 1px solid var(--lm-line); }
#top-menu li a, .et_mobile_menu li a { font-family: var(--lm-sans); font-weight: 600; font-size: 15px; color: var(--lm-ink) !important; }
#top-menu li.current-menu-item > a, #top-menu li.current-menu-ancestor > a, #top-menu li a:hover { color: var(--lm-main) !important; opacity: 1 !important; }
#top-menu li.lm-menu-cta > a { background: var(--lm-main); color: #fff !important; padding: 10px 18px !important; border-radius: 999px; transform: translateY(-10px); }
#top-menu li.lm-menu-cta > a:hover { background: var(--lm-main-dark); }
#logo { max-height: 72% !important; width: auto; }
.et_mobile_menu { border-top-color: var(--lm-main) !important; background: var(--lm-paper) !important; }
.mobile_menu_bar:before { color: var(--lm-ink) !important; }
#et-secondary-nav, #et-info { display: none; }
/* Signed-in account line, top right of the header */
#main-header .container.et_menu_container { position: relative; }
.lm-account { position: absolute; top: 6px; right: 40px; z-index: 5; display: flex; gap: 14px; font-size: 12.5px; line-height: 1.4; color: var(--lm-muted); }
.lm-account a { color: var(--lm-main) !important; font-weight: 600; text-decoration: none; }
.lm-account a:hover { text-decoration: underline; }
@media (min-width: 981px) { #top-menu li.lm-menu-account { display: none; } }
@media (max-width: 980px) { .lm-account { display: none; } }
@media (min-width: 981px) and (max-width: 1280px) {
	#top-menu li { padding-right: 14px; }
	#top-menu li a { font-size: 14px; }
	#logo { max-width: 200px; }
}
@media (min-width: 981px) and (max-width: 1120px) {
	/* The signed-in menu has 10 items: tighter still so it doesn't run into the logo */
	#top-menu li { padding-right: 10px; }
	#top-menu li a { font-size: 13px; }
	#logo { max-width: 160px; }
	.container.et_menu_container { width: 94%; }
}

/* ===== Sections (for pages built with these classes in Divi) ===== */
.et_pb_section.lm-sec { padding: 84px 0 !important; }
.et_pb_section.lm-sec--sand { background: var(--lm-sand) !important; }
.et_pb_section.lm-sec--dark { background: var(--lm-ink) !important; }
.et_pb_section.lm-sec--main { background: var(--lm-main) !important; }
.lm-sec--dark *, .lm-sec--main * { color: #fff; }
.lm-sec--dark .lm-eyebrow, .lm-sec--main .lm-eyebrow { color: var(--lm-wood); }
.lm-sec--dark .lm-lead, .lm-sec--main .lm-lead { color: rgba(255,255,255,.85); }
.et_pb_row.lm-row { width: 90%; max-width: 1140px; padding: 0; }

/* Hero */
.et_pb_section.lm-hero { position: relative; padding: 0 !important; background-color: var(--lm-ink) !important; background-size: cover !important; background-position: center 40% !important; }
.lm-hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,10,.86) 0%, rgba(20,15,10,.55) 50%, rgba(20,15,10,.15) 100%); }
body .et_pb_section.lm-hero .et_pb_row.lm-row { position: relative; z-index: 1; padding: 130px 0 120px !important; }
.lm-hero h1 { color: #fff; max-width: 13em; margin-bottom: .35em; }
.lm-hero .lm-lead { color: rgba(255,255,255,.9); max-width: 32em; }
/* Translucent panel behind the hero text so it reads well over the photo (Joel 2026-11-25) */
.lm-hero .et_pb_text { display: inline-block; max-width: 760px; padding: 40px 44px; border-radius: var(--lm-radius); background: rgba(20, 15, 10, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@media (max-width: 600px) { .lm-hero .et_pb_text { padding: 26px 22px; } }
.lm-hero .lm-eyebrow { color: var(--lm-wood); }
.lm-hero .lm-btn--ghost { color: #fff !important; }
.lm-hero .lm-btn--ghost:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }
.lm-hero .lm-lead a { color: #fff !important; text-decoration: underline; text-decoration-color: var(--lm-wood); text-underline-offset: 3px; }
.lm-hero .lm-lead a:hover { text-decoration-thickness: 2px; }
html { scroll-behavior: smooth; }
#donate { scroll-margin-top: 110px; }
.lm-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 2em 0 0 !important; padding: 0 !important; }
.lm-badges span { display: inline-block; padding: .45em 1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(20,15,10,.35); color: #fff; font-size: .88rem; font-weight: 600; line-height: 1.3; }

/* Support / donations section */
.lm-programs { list-style: none !important; padding: 0 !important; margin: 1.4em 0 0 !important; }
.lm-programs li { position: relative; padding: 0 0 0 1.6em !important; margin: 0 0 1em !important; color: var(--lm-muted); }
.lm-programs li:before { content: ""; position: absolute; left: 0; top: .55em; width: .7em; height: .7em; border-radius: 3px; background: var(--lm-wood); }
.lm-programs strong { display: block; font-family: var(--lm-serif); font-size: 1.15rem; color: var(--lm-ink); }
.lm-support .lm-small { margin-top: .8em; }

/* Cards: three ways in */
.lm-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2em; }
.lm-path { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); overflow: hidden; text-decoration: none !important; color: var(--lm-ink) !important; transition: transform .15s, box-shadow .15s; }
.lm-path:hover { transform: translateY(-3px); box-shadow: var(--lm-shadow); }
.lm-path__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--lm-sand); }
.lm-path__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-path h3, .lm-path__title { display: block; font-family: var(--lm-serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; margin: 20px 26px .4em !important; padding: 0; }
.lm-path p, .lm-path__text { display: block; color: var(--lm-muted); flex: 1; margin: 0 26px; padding-bottom: 1em; }
.lm-path__go { display: block; font-weight: 700; color: var(--lm-main); margin: 0 26px 24px; }

/* Text + photo */
.lm-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lm-split--flip > :first-child { order: 2; }
.lm-split img, .lm-img img { width: 100%; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); display: block; }
.lm-checks { list-style: none !important; padding: 0 !important; margin: 1.2em 0 0; }
.lm-checks li { position: relative; padding-left: 1.8em; margin-bottom: .55em; }
.lm-checks li:before { content: "✓"; position: absolute; left: 0; color: var(--lm-main); font-weight: 700; }
.lm-sec--dark .lm-checks li:before, .lm-sec--main .lm-checks li:before { color: var(--lm-wood); }

/* Quotes */
.lm-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 2em; }
.lm-quote { background: #fff; border-radius: var(--lm-radius); padding: 30px; border: 1px solid var(--lm-line); margin: 0; }
.lm-quote p { font-family: var(--lm-serif); font-size: 1.2rem; line-height: 1.5; color: var(--lm-ink); }
.lm-quote footer { margin-top: 1em; font-size: .92rem; color: var(--lm-muted); }
.lm-quote footer strong { color: var(--lm-ink); display: block; }

/* Joel's world cards */
.lm-world { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 1.6em; }
.lm-world a { display: block; padding: 20px 22px; border-radius: var(--lm-radius); background: #fff; border: 1px solid var(--lm-line); text-decoration: none !important; color: var(--lm-ink) !important; }
.lm-world a:hover { border-color: var(--lm-main); }
.lm-world strong { display: block; font-family: var(--lm-serif); font-size: 1.15rem; }
.lm-world span { color: var(--lm-muted); font-size: .95rem; }

/* ===== About page (2026-11-25) ===== */
body .et_pb_section.lm-hero--short .et_pb_row.lm-row { padding: 110px 0 100px !important; }
.lm-portrait { margin: 0; text-align: center; }
.lm-bio-sub { font-size: 1.35rem; margin: 1.4em 0 .5em !important; }
.lm-portrait img { width: 100%; max-width: 400px; height: auto; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); display: inline-block; }
.lm-portrait figcaption { margin-top: 14px; font-weight: 700; }
.lm-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2em; }
.lm-fact { padding: 24px 22px; border-radius: var(--lm-radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.lm-fact strong { display: block; font-family: var(--lm-serif); font-size: 2.4rem; line-height: 1.1; color: var(--lm-wood) !important; margin-bottom: .25em; }
.lm-fact span { font-size: .98rem; color: rgba(255,255,255,.85) !important; }
.lm-facts__note { margin-top: 1.8em; max-width: 46em; }
.lm-press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2em; }
.lm-press__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); overflow: hidden; text-decoration: none !important; color: var(--lm-ink) !important; transition: transform .15s, box-shadow .15s; }
.lm-press__item:hover { transform: translateY(-3px); box-shadow: var(--lm-shadow); }
.lm-press__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; border-bottom: 1px solid var(--lm-line); padding: 14px; }
.lm-press__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lm-press__name { display: block; font-family: var(--lm-serif); font-weight: 600; font-size: 1.25rem; margin: 18px 22px .3em; }
.lm-press__go { display: block; font-weight: 700; color: var(--lm-main); margin: 0 22px 22px; }
.lm-img--portrait img { max-width: 460px; margin: 0 auto; }

/* ===== Classes page (2026-11-25) ===== */
.lm-infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2em; }
.lm-info { display: flex; flex-direction: column; padding: 26px 26px 24px; background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); }
.lm-info__label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lm-main); }
.lm-info strong { display: block; font-family: var(--lm-serif); font-size: 1.35rem; font-weight: 600; line-height: 1.25; margin: .3em 0 .4em; }
.lm-info p { color: var(--lm-muted); flex: 1; padding-bottom: .8em !important; }
.lm-info a { font-weight: 700; text-decoration: none !important; }
#schedule { scroll-margin-top: 120px; }
.lm-info > p:empty, .lm-price > p:empty, .lm-tca > p:empty, .lm-split > p:empty, .lm-infos > p:empty, .lm-quotes > p:empty { display: none; } /* WordPress adds empty paragraphs between the card parts */
.lm-info p b { color: var(--lm-ink); }
.lm-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 22px; margin-top: 2em; }
.lm-price { padding: 30px 30px 26px; background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); text-align: center; }
.lm-price--main { border: 2px solid var(--lm-main); }
.lm-price__step { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lm-main); }
.lm-price strong { display: block; font-family: var(--lm-serif); font-size: 3rem; font-weight: 600; line-height: 1.1; margin: .2em 0 .1em; }
.lm-price strong small { font-size: 1.1rem; color: var(--lm-muted); font-weight: 500; }
.lm-price__what { display: block; font-weight: 700; margin-bottom: .8em; }
.lm-price p { color: var(--lm-muted); font-size: .98rem; }
.lm-prices__note { margin-top: 1.6em !important; }
.lm-bigquote { max-width: 820px; margin: 0 auto 1.6em !important; padding: 0 !important; border: 0 !important; text-align: center; }
.lm-bigquote p { font-family: var(--lm-serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; color: #fff; }
.lm-bigquote footer { margin-top: 1em; color: var(--lm-wood) !important; font-weight: 700; }

/* ===== Booking page (2026-11-25) ===== */
.lm-chips { list-style: none !important; margin: 1.4em 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.lm-chips li { margin: 0 !important; padding: .5em 1em !important; border-radius: 999px; background: var(--lm-sand); border: 1px solid var(--lm-line); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.lm-video-embed { margin: 0; }
.lm-embed-16x9 { position: relative; aspect-ratio: 16 / 9; border-radius: var(--lm-radius); overflow: hidden; box-shadow: var(--lm-shadow); background: #000; }
.lm-embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lm-video-embed figcaption { margin-top: 12px; font-size: .92rem; color: var(--lm-muted); text-align: center; }
.lm-tca { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; }
.lm-tca img { width: 100%; max-width: 184px; height: auto; background: #fff; border-radius: var(--lm-radius); padding: 10px; display: block; }
.lm-infos--two { grid-template-columns: repeat(2, 1fr); }
.lm-infos--two .lm-info p { flex: none; }
.lm-info p + p { margin-top: .2em; }
.lm-quotes--two { grid-template-columns: repeat(2, 1fr); }

/* ===== Contact page (2026-11-25) ===== */
.lm-contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.lm-contact > p:empty, .lm-contact__info > p:empty { display: none; }
.lm-contact__form { padding: 34px 36px; background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); }
.lm-contact__form h2 { font-size: 1.6rem; margin-bottom: .6em; }
.lm-contact__info { display: grid; gap: 16px; }
.lm-contact__info .lm-info strong a { color: var(--lm-ink) !important; text-decoration: none !important; }
.lm-contact__info .lm-info strong a:hover { color: var(--lm-main) !important; }
.wpcf7 form p { margin: 0 0 1.1em !important; padding: 0 !important; font-weight: 600; font-size: .95rem; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea {
	width: 100%; margin-top: 6px; padding: 12px 14px !important; border: 1px solid var(--lm-line) !important; border-radius: 10px !important;
	background: var(--lm-paper) !important; font: 400 1rem var(--lm-sans) !important; color: var(--lm-ink) !important; box-sizing: border-box;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--lm-main); outline-offset: 1px; border-color: var(--lm-main) !important; background: #fff !important; }
.wpcf7 textarea { min-height: 150px; }
.wpcf7 input[type=submit] { display: inline-block; padding: .85em 2em !important; border: 0 !important; border-radius: 999px !important; background: #157a2e !important; color: #fff !important; font: 700 1rem var(--lm-sans) !important; cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: #0f6024 !important; }
.wpcf7 form p br { display: none; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }

/* ===== Calendar page (2026-11-25): gig lists from the joel-gigs-calendar plugin ===== */
.lm-gigs { margin-top: 1.6em; }
.lm-gigs .joel-gigs-table { width: 100% !important; border: 0 !important; border-collapse: separate; border-spacing: 0 10px; margin: 0; }
.lm-gigs .joel-gigs-table td { border: 0 !important; padding: 14px 16px !important; vertical-align: middle; background: #fff; font-size: .98rem; }
.lm-gigs .joel-gigs-table tr td:first-child { border-radius: var(--lm-radius) 0 0 var(--lm-radius); }
.lm-gigs .joel-gigs-table tr td:last-child { border-radius: 0 var(--lm-radius) var(--lm-radius) 0; }
.lm-gigs--upcoming .joel-gigs-table td { box-shadow: 0 1px 0 var(--lm-line), 0 -1px 0 var(--lm-line); }
.lm-gigs .joel-gig-date { font-family: var(--lm-serif); font-weight: 600; white-space: nowrap; color: var(--lm-main); width: 1%; }
.lm-gigs .joel-gig-time { white-space: nowrap; color: var(--lm-muted); width: 1%; }
.lm-gigs .joel-gig-title { font-weight: 600; }
.lm-gigs .joel-gig-location { color: var(--lm-muted); }
.lm-gigs .joel-gig-details a { font-weight: 700; white-space: nowrap; }
.joel-gigs-none { padding: 22px 24px !important; background: #fff; border: 1px dashed var(--lm-line); border-radius: var(--lm-radius); color: var(--lm-muted); }
.joel-gigs-refresh-button { font-size: .85rem; }
.lm-pastgigs summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); }
.lm-pastgigs summary::-webkit-details-marker { display: none; }
.lm-pastgigs summary .lm-eyebrow { margin: 0 !important; }
.lm-pastgigs__title { font-family: var(--lm-serif); font-size: 1.4rem; font-weight: 600; }
.lm-pastgigs__title:after { content: " +"; color: var(--lm-main); }
.lm-pastgigs[open] .lm-pastgigs__title:after { content: " −"; }
.lm-gigs--past .joel-gigs-table { border-spacing: 0 4px; }
.lm-gigs--past .joel-gigs-table td { padding: 9px 14px !important; font-size: .93rem; }

/* Inner page header */
.et_pb_section.lm-pagehead { background-color: var(--lm-sand) !important; padding: 64px 0 50px !important; }
/* Short photo banner for inner pages (Joel 2026-11-25: photo like the home page, but not as tall) */
.et_pb_section.lm-pagehead--photo { position: relative; background-color: var(--lm-ink) !important; background-size: cover !important; background-position: center 40% !important; padding: 56px 0 !important; }
.lm-pagehead--photo:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,10,.7) 0%, rgba(20,15,10,.35) 60%, rgba(20,15,10,.1) 100%); }
.lm-pagehead--photo .et_pb_row { position: relative; z-index: 1; }
.lm-pagehead--photo .et_pb_text { display: inline-block; max-width: 760px; padding: 30px 36px; border-radius: var(--lm-radius); background: rgba(20, 15, 10, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lm-pagehead--photo h1, .lm-pagehead--photo .lm-lead, .lm-pagehead--photo p { color: #fff !important; }
.lm-pagehead--photo .lm-lead { color: rgba(255,255,255,.9) !important; }
.lm-pagehead--photo .lm-eyebrow { color: var(--lm-wood) !important; }
@media (max-width: 600px) { .lm-pagehead--photo .et_pb_text { padding: 22px 20px; } .et_pb_section.lm-pagehead--photo { padding: 32px 0 !important; } }
.lm-pagehead h1 { margin-bottom: .3em; max-width: 18em; }
.lm-pagehead .lm-lead { max-width: 44em; }
.lm-pagehead .lm-btns { margin-top: 1.4em; }

/* Divi blurbs, toggles, tabs in the new colours */
.et_pb_blurb .et-pb-icon { color: var(--lm-main) !important; }
.et_pb_toggle { border-radius: 10px; border-color: var(--lm-line) !important; }
.et_pb_tabs { border-color: var(--lm-line) !important; border-radius: 10px; overflow: hidden; }
.et_pb_tabs_controls { background: var(--lm-sand) !important; }
.et_pb_tabs_controls li.et_pb_tab_active { background: #fff !important; }
.et_pb_tabs_controls li a { color: var(--lm-ink) !important; font-weight: 600; }

/* ===== Footer ===== */
#main-footer { background: var(--lm-ink) !important; }
#main-footer, #main-footer p, #main-footer a, #footer-bottom, #footer-info, #footer-info a { color: rgba(255,255,255,.78) !important; }
#footer-bottom { background: rgba(0,0,0,.25) !important; }
.lm-footer { padding: 56px 0 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.lm-footer h4 { color: #fff !important; font-size: 1.05rem; margin-bottom: .8em; }
.lm-footer ul { list-style: none; padding: 0; margin: 0; }
.lm-footer li { margin-bottom: .4em; }
.lm-footer a:hover { color: var(--lm-wood) !important; }
.lm-footer__brand { font-family: var(--lm-serif); font-size: 1.5rem; color: #fff !important; line-height: 1.2; margin-bottom: .5em; }

/* ===== Shop ===== */
.woocommerce #main-content .container { padding-top: 48px; padding-bottom: 64px; }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--lm-main) !important; font-weight: 700; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--lm-serif) !important; font-size: 1.15rem !important; }
.woocommerce ul.products li.product a img, .woocommerce div.product div.images img { border-radius: var(--lm-radius); }
.woocommerce .woocommerce-breadcrumb { font-size: .85rem; color: var(--lm-muted); }
.woocommerce span.onsale { background: var(--lm-wood) !important; color: var(--lm-ink) !important; }

/* ===== Student login ===== */
.et_pb_login { background: var(--lm-main) !important; border-radius: var(--lm-radius); }
.et_pb_login input[type=text], .et_pb_login input[type=password] { border-radius: 10px !important; }
.testing-visibility { display: none !important; }
div.product_categories_showing_count_container { display: none !important; }

/* ===== Lessons that still use the old Divi layout (book charts, mbira lessons) ===== */
.single-post .et_pb_text table { border-collapse: collapse; background: #fff; border-color: var(--lm-line) !important; }
.single-post .et_pb_text td, .single-post .et_pb_text th { border-color: var(--lm-line) !important; padding: 6px 8px; }
.single-post .et_post_meta_wrapper .post-meta, .single-post #comment-wrap { display: none; }
.single-post .et_post_meta_wrapper h1 { margin-top: 10px; }
.page-id-581 .entry-title.main_title { display: none; }

/* Mobile */
@media (max-width: 980px) {
	.lm-paths { grid-template-columns: 1fr; }
	.lm-facts { grid-template-columns: 1fr 1fr; }
	.lm-press { grid-template-columns: 1fr; }
	.lm-infos, .lm-infos--two, .lm-quotes--two { grid-template-columns: 1fr; }
	.lm-tca { grid-template-columns: 1fr; gap: 24px; }
	.lm-contact { grid-template-columns: 1fr; }
	.lm-gigs .joel-gigs-table, .lm-gigs .joel-gigs-table tbody, .lm-gigs .joel-gigs-table tr, .lm-gigs .joel-gigs-table td { display: block; width: auto !important; }
	.lm-gigs .joel-gigs-table tr { background: #fff; border: 1px solid var(--lm-line); border-radius: var(--lm-radius); margin-bottom: 10px; padding: 10px 0; }
	.lm-gigs .joel-gigs-table td { padding: 2px 16px !important; box-shadow: none !important; border-radius: 0 !important; background: transparent; }
	.lm-gigs .joel-gigs-table td:empty { display: none; }
	.lm-contact__form { padding: 24px 20px; }
	.lm-prices { grid-template-columns: 1fr; }
	.lm-split { grid-template-columns: 1fr; gap: 32px; }
	.lm-split--flip > :first-child { order: 0; }
	.lm-footer { grid-template-columns: 1fr; gap: 28px; }
	.et_pb_section.lm-sec { padding: 58px 0 !important; }
	body .et_pb_section.lm-hero .et_pb_row.lm-row { padding: 72px 0 64px !important; }
	.lm-hero:before { background: linear-gradient(180deg, rgba(20,15,10,.45) 0%, rgba(20,15,10,.75) 100%); }
}
