/*
Theme Name: Kindermusik With Friends
Description: A small theme for the pages WordPress still serves once our site is her front end: Event Espresso's checkout and thank-you pages. Our checkout header and footer around Event Espresso's own content. Replaces Divi (staging plan, step 5; Brent, 2026-11-08).
Version: 1.0
Text Domain: kindermusik
*/

/* Source: host/wordpress/themes/km-site/ in the km-variant repo.
   Brand colours and the font come from our site's own stylesheet, /v2/assets/css/brand.css. */

* { box-sizing: border-box; }
body.km-theme { margin: 0; background: #FAF7FD; color: #3c3346; font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.55; }
body.km-theme:not(.km-site-page) a { color: #7D4199; }

.co-top { background: #fff; border-bottom: 1px solid #E7E1EF; }
.co-top__in { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-top img { height: 40px; width: auto; display: block; }
.co-steps { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .85rem; font-weight: 700; }
.co-steps li { color: #A497B3; }
.co-steps li.on { color: #7D4199; }
.co-steps li + li::before { content: "\203A"; margin-right: 8px; color: #C9BBD6; }
.co-secure { font-size: .85rem; color: #696969; display: flex; align-items: center; gap: 6px; white-space: nowrap; }

.km-main { max-width: 1120px; margin: 0 auto; padding: 26px 20px 60px; }
.km-main .km-page-title { font-size: 1.7rem; margin: 0 0 16px; }

.km-foot { border-top: 1px solid #E7E1EF; background: #fff; }
.km-foot__in { max-width: 1120px; margin: 0 auto; padding: 18px 20px; font-size: .88rem; color: #696969; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.km-foot a { color: #696969; }

@media (max-width: 820px) {
  .co-steps { display: none; }
  .km-main { padding: 14px 14px 40px; }
}

/* ---- Pages that are not the checkout (KM-149). Built on brand.css; only what WordPress and Event Espresso need. ---- */
body.km-site-page { background: #fff; }
.km-wp { max-width: 1120px; margin: 0 auto; padding: 28px 20px 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 900px) { .km-wp:has(.km-wp__aside) { grid-template-columns: minmax(0, 1fr) 260px; } }
.km-wp__title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; color: #7D4199; text-align: center; margin: 0 0 14px; }
.km-wp__thumb { text-align: center; margin: 0 0 18px; }
.km-wp__thumb img { display: block; margin: 0 auto; width: 250px; max-width: 70%; height: auto; }
.km-wp__content { color: #000; text-align: center; }
.km-wp__content p { margin: 0 0 14px; }
.km-wp__content img { max-width: 100%; height: auto; border-radius: 12px; }
.km-wp__content iframe { max-width: 100%; }
.km-wp__content p strong { color: #7D4199; }
.km-wp__content a { color: #7D4199; text-decoration: underline; }
.km-wp__content table { width: 100%; border-collapse: collapse; text-align: left; margin: 0 0 14px; }
.km-wp__content th, .km-wp__content td { padding: 10px 12px; border: 1px solid #E7E1EF; vertical-align: middle; }
.km-wp__content select, .km-wp__content input[type=text] { padding: 8px; border: 1px solid #bbb; border-radius: 6px; background: #fff; }
.km-wp__aside .km-widget { background: #FAF7FD; border: 1px solid #E7E1EF; border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; font-size: .95rem; }
.km-wp__aside ul { list-style: none; margin: 0; padding: 0; }
.km-wp__aside li { margin: 0 0 6px; }
.km-widget__title { font-size: 1.05rem; margin: 0 0 8px; color: #7D4199; }
.km-wp__notfound { grid-column: 1 / -1; }

/* From her child theme (kindermuzik/style.css), the class-page rules only: */
div.espresso-venue-dv { display: none !important; }
div.event-datetimes { display: none !important; }
.display-tckt-slctr-tkt-details.display-the-hidden.lt-grey-text.smaller-text { display: none !important; }
p.smaller-text.lt-grey-text { display: none !important; }
.smaller-text.no-bold { display: none; }
.ticket-selector-submit-btn { background-color: #7d4199 !important; color: #fff !important; padding: 10px 16px !important; text-transform: uppercase !important; border-radius: 5px; border: 2px solid #7D4199; font-weight: bold !important; font-size: 16px !important; cursor: pointer; }
a.cart-results-go-back-button.cart-results-button.button,
a.cart-results-register-button.cart-results-button.button,
a.event-cart-go-back-button.event-cart-button.button,
a.event-cart-register-button.event-cart-button.button,
#event-cart-qty-frm .event-cart-wrap-dv { white-space: normal !important; }
#cart-results-modal-wrap-dv { max-width: 92% !important; }
tr#event-cart-total-row.total_tr.odd td.event-header { display: none !important; }

/* Plain versions of Divi call-to-action blocks, and list pages such as /events/ (KM-149). */
.km-cta { margin: 0 0 26px; text-align: center; }
.km-cta__title { font-size: 1.4rem; color: #7D4199; margin: 0 0 10px; }
.km-wp__list { text-align: center; }
.km-wp__lead { margin: 0 0 18px; text-align: center; }
.km-wp__links { list-style: none; margin: 0 auto 22px; padding: 0; max-width: 720px; text-align: left; }
.km-wp__links li { border-bottom: 1px solid #E7E1EF; }
.km-wp__links a { display: block; padding: 10px 4px; color: #7D4199; text-decoration: none; font-weight: 600; }
.km-wp__links a:hover { text-decoration: underline; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.navigation.pagination .page-numbers { padding: 8px 12px; border: 1px solid #E7E1EF; border-radius: 8px; text-decoration: none; color: #7D4199; }
.navigation.pagination .current { background: #7D4199; color: #fff; }
.screen-reader-text { position: absolute; left: -9999px; }
