/*
Theme Name: House of Musicians
Description: Mobile-first hybrid academy theme with native WordPress content and optional HoM Core integration.
Version: 0.12.0
Requires at least: 6.6
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: houseofmusicians-theme
*/
:root {
    --hom-bg: #fafafa;
    --hom-surface: #f0f0f3;
    --hom-text: #141416;
    --hom-accent: #dc2626;
    --hom-on-accent: #fff;
    --hom-dark-bg: #141416;
    --hom-dark-text: #fafafa;
    --hom-border: #e5e5ea;
    --hom-muted: #626268;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--hom-bg); color: var(--hom-text); font: 1rem/1.65 system-ui,sans-serif; overflow-wrap: anywhere; }
.hom-shell { width: min(100% - 2rem, 74rem); margin-inline: auto; }
.hom-footer { padding-block: 1.15rem; }
.hom-header[data-hom-header] { position: relative; z-index: 30; isolation: isolate; background: var(--hom-bg); color: var(--hom-text); border-bottom: 1px solid var(--hom-border); }
.hom-header [hidden] { display: none !important; }
.hom-header .hom-header-layout { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: .45rem 1.15rem; padding-block: .65rem; }
.hom-site-name { font-size: 1.15rem; font-weight: 750; }
.hom-header a { color: inherit; }
.hom-header .custom-logo { display: block; max-width: 9rem; max-height: 3.6rem; width: auto; height: auto; object-fit: contain; }
.hom-header ul { list-style: none; margin: 0; padding: 0; }
.hom-header .hom-nav-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .5rem; }
.hom-header li { position: relative; min-width: 0; }
.hom-header .hom-has-submenu { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; }
.hom-header li > a, .hom-header .hom-nav-group { display: flex; align-items: center; min-height: 44px; padding: .35rem .4rem; line-height: 1.3; }
.hom-header li > a { text-decoration: none; }
.hom-header a[aria-current=page], .hom-header .current-menu-ancestor > a { text-decoration: underline; text-underline-offset: .22em; }
.hom-header a:hover, .hom-header button:hover { text-decoration: underline; text-underline-offset: .22em; }
.hom-header button { min-width: 44px; min-height: 44px; background: var(--hom-surface); color: var(--hom-text); border: 1px solid var(--hom-border); border-radius: .45rem; cursor: pointer; font: inherit; }
.hom-header .hom-submenu-button::after { content: ''; display: inline-block; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); vertical-align: .15em; }
.hom-header .hom-submenu-button[aria-expanded=true]::after { transform: rotate(225deg); vertical-align: -.1em; }
.hom-header .sub-menu { grid-column: 1 / -1; padding-inline-start: .65rem; border-inline-start: 1px solid var(--hom-border); }
.hom-header .hom-booking-link { background: var(--hom-accent); color: var(--hom-on-accent); font-weight: 700; text-decoration: none; border-radius: .45rem; padding: .65rem .85rem; text-align: center; }
.hom-header .hom-booking-link:focus-visible { outline-color: var(--hom-text); }
@media (min-width: 901px) {
    .hom-header .hom-nav-list > .hom-has-submenu > .sub-menu { position: absolute; inset-block-start: 100%; inset-inline-start: 0; min-width: 14rem; width: max-content; max-width: 23rem; max-height: 65vh; overflow: auto; padding: .5rem; background: var(--hom-bg); color: var(--hom-text); border: 1px solid var(--hom-border); border-radius: .45rem; box-shadow: 0 .6rem 1.4rem #0002; }
    .hom-header .hom-nav-list > .hom-has-submenu > .hom-align-end { inset-inline-start: auto; inset-inline-end: 0; }
}
@media (max-width: 900px) {
    .hom-header .hom-header-layout { grid-template-columns: minmax(0, 1fr) auto auto; }
    .hom-header .hom-menu-button { grid-column: 2; grid-row: 1; padding-inline: .6rem; }
    .hom-header .hom-booking-link { grid-column: 3; grid-row: 1; }
    .hom-header nav { grid-column: 1 / -1; grid-row: 2; max-height: 70vh; overflow: auto; padding: .2rem .3rem; }
    .hom-header .hom-nav-list { display: block; }
    .hom-header .hom-nav-list > li { border-bottom: 1px solid var(--hom-border); }
}
.hom-main { min-height: 60vh; padding-block: clamp(1.5rem,5vw,4rem); }
.hom-content { max-width: 75ch; }
.hom-main h1, .hom-main h2 { line-height: 1.16; }
.hom-main h1 { margin-top: 0; font-size: clamp(2rem, 6vw, 3.75rem); }
.hom-main a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.hom-main img { max-width: 100%; height: auto; }
.hom-footer { background: var(--hom-dark-bg); color: var(--hom-dark-text); }
.hom-footer a { color: inherit; }
.hom-skip { position: absolute; top: -6rem; inset-inline-start: .75rem; z-index: 10; background: #fff; color: #111; padding: .6rem 1rem; }
.hom-skip:focus { top: .75rem; }
.hom-header :focus-visible, .hom-main :focus-visible, .hom-footer :focus-visible { outline: .18rem solid currentColor; outline-offset: .22rem; }
.hom-enquiry { background: var(--hom-surface); padding: clamp(1rem, 4vw, 2rem); max-width: 44rem; }
.hom-enquiry input:not([type=checkbox]), .hom-enquiry select { display: block; width: 100%; padding: .55rem; border: 1px solid #626268; color: #141416; background: #fff; font: inherit; }
.hom-enquiry button, .hom-button { background: var(--hom-accent); color: var(--hom-on-accent); border: 0; padding: .65rem 1rem; min-height: 44px; font: inherit; font-weight: 700; cursor: pointer; }
.hom-enquiry button:focus-visible { outline-color: var(--hom-text); }
.is-style-hom-soft { padding: clamp(1rem, 4vw, 2rem); background: var(--hom-surface); color: var(--hom-text); }
.is-style-hom-dark { padding: clamp(1rem, 4vw, 2rem); background: var(--hom-dark-bg); color: var(--hom-dark-text); }
.is-style-hom-accent { padding: clamp(1rem, 4vw, 2rem); background: var(--hom-accent); color: var(--hom-on-accent); }
.hom-site-whatsapp { display: flex; justify-content: center; padding-block: 1.25rem; }
.hom-site-whatsapp .hom-button { display: inline-flex; align-items: center; text-decoration: none; border-radius: .35rem; }
