/* User-confirmed key figures, prominent and readable on small screens. */
.craft-figures-block { margin:0 0 24px; background:#073070; color:#ffffff; border-top:4px solid #408fe5; }
.craft-figures-heading { margin:0; padding:22px 24px 0; color:inherit; text-align:center; font-size:clamp(19px,2.1vw,28px); font-weight:700; line-height:1.35; text-wrap:balance; }
.craft-figures {
 display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
 list-style: none; margin: 0; padding: 26px 0;
 background: transparent; color: inherit;
}
.craft-figures li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 12px; }
.craft-figures li + li { border-left: 1px solid #ffffff40; }
.craft-figures strong { font-size: clamp(40px,5.4vw,76px); font-weight: 750; line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.craft-figures li > span { font-size: 16px; font-weight: 600; line-height: 1.4; }
@media(max-width:560px) {
 .craft-figures-block { margin-bottom:20px; }
 .craft-figures-heading { padding:18px 18px 0; font-size:19px; }
 .craft-figures { padding: 20px 0; }
 .craft-figures li { gap: 7px; padding: 0 5px; }
 .craft-figures strong { font-size: clamp(36px,10.5vw,50px); letter-spacing: -1px; }
 .craft-figures li > span { font-size: 12px; }
}

/* Instagram replaces seminar promotion on the home page. */
.home-instagram { padding: 42px 0; background: #f3f6fa; }
.instagram-feature { display: grid; grid-template-columns: 88px minmax(0,1fr) auto; align-items: center; gap: 32px; }
.instagram-feature-mark { width: 88px; height: 88px; display: grid; place-items: center; background: white; border-radius: 20px; }
.instagram-feature-mark .social-brand { width: 56px; height: 56px; }
.instagram-feature-copy h2 { color: #073070; font-size: clamp(26px,3vw,36px); margin: 9px 0 12px; }
.instagram-feature-copy p { margin: 0; line-height: 1.65; max-width: 520px; }
.instagram-feature-action { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.instagram-handle { color: #073070; font-weight: 700; font-size: 19px; }
/* The embedded widget keeps its configured light theme; surrounding content follows the system. */
.instagram-feed { margin-top:32px; padding:clamp(12px,2vw,24px); min-width:0; max-width:100%; background:#fff; color:#073070; color-scheme:light; border:1px solid #d0e3f9; }
.instagram-feed-note { margin:12px 0 0; font-size:13px; line-height:1.5; }
.social-follow-link, .social-follow-link:first-child, .instagram-feature-action .social-follow-link {
 background: #fff; border-color: #98b9df; color: #073070;
}
.social-follow-link:hover, .social-follow-link:first-child:hover, .instagram-feature-action .social-follow-link:hover, .footer-links .social-follow-link:hover {
 background: #eff5fd; border-color: #073070; color: #073070; text-decoration: none;
}
.social-brand { object-fit: contain; filter: none; }
.social-follow-link .social-brand { display: block; width: 30px; height: 30px; flex: none; }
.social-follow-links { flex-wrap: wrap; }
.footer-links .social-follow-links { flex-basis: 100%; }
.home-service-links { grid-template-columns: repeat(2,minmax(0,1fr)); }

/* A compact edge tab; the panel opens beside it without covering the tab. */
body { padding-bottom: 0; }
#office-hours, #office-hours[open] {
 position: fixed; z-index: 35; right: 0; top: 50%; bottom: auto;
 transform: translateY(-50%); width: 44px; min-width: 44px; max-width: 44px;
 padding: 0; border: 0; border-radius: 6px 0 0 6px;
 background: transparent; max-height: none; overflow: visible;
 box-shadow: none; writing-mode: horizontal-tb;
}
#office-hours .hours-summary {
 display: flex; align-items: center; justify-content: flex-end; gap: 0;
 writing-mode: horizontal-tb; width: 44px; height: 200px; box-sizing: border-box;
 padding: 0; border-radius: 0; background: transparent; color: white;
}
#office-hours .hours-summary::before, #office-hours .hours-summary::after { content: none; }
#office-hours .hours-summary .hours-tab-title {
 display: flex; align-items: center; justify-content: center; gap: 10px;
 writing-mode: vertical-rl; flex: 0 0 29px; width: 29px; height: 200px;
 padding: 12px 5px; box-sizing: border-box; border-radius: 6px 0 0 6px;
 background: #fff; color: #073070; border: 1px solid #073070;
 box-shadow: 0 0 0 2px #fff, 0 3px 14px #07307040;
 margin: 0; font-size: 12px; font-weight: 600; line-height: 1.2; opacity: 1; white-space: nowrap;
}
#office-hours .hours-tab-title::before {
 content: ''; display: block; flex: 0 0 7px; width: 7px; height: 7px;
 border-radius: 50%; background: #073070;
}
#office-hours[data-state=open] .hours-tab-title::before { background: #087e51; }
#office-hours[data-state=soon] .hours-tab-title::before { background: #986200; }
#office-hours .hours-tab-title::after {
 content: '+'; position: static; transform: none; font-size: 18px;
 font-weight: 400; line-height: 1; writing-mode: horizontal-tb;
}
#office-hours[open] .hours-tab-title::after { content: '−'; }
#office-hours .hours-summary:focus-visible { outline: none; }
#office-hours .hours-summary:focus-visible .hours-tab-title { outline: 3px solid #408fe5; outline-offset: 2px; }
#office-hours .hours-summary .hours-tab-status {
 position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
 overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
#office-hours .hours-expanded {
 position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%);
 width: min(350px,calc(100vw - 80px)); box-sizing: border-box;
 max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
 padding: 18px 20px; overflow-y: auto; overscroll-behavior: contain;
 background: white; color: #073070; border: 1px solid #d0e3f9;
 border-top: 3px solid #408fe5; border-radius: 5px; box-shadow: 0 8px 32px #07307030;
}
#office-hours .hours-live-info strong { font-size: 15px; }
#office-hours .hours-panel-heading {
 position: sticky; top: -18px; z-index: 1;
 display: flex; align-items: center; justify-content: space-between; gap: 12px;
 margin: -18px -20px 12px; padding: 8px 12px 8px 20px;
 background: white; border-bottom: 1px solid #d0e3f9; font-size: 16px;
}
#office-hours .hours-close {
 display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px;
 width: 44px; height: 44px; padding: 0; border: 1px solid #90a9c8;
 border-radius: 4px; background: white; color: #073070; cursor: pointer;
}
#office-hours .hours-close svg { width: 22px; height: 22px; }
#office-hours .hours-close:hover { background: #d0e3f9; }
#office-hours .hours-close:focus-visible { outline: 3px solid #408fe5; outline-offset: 2px; }
.hours-week > div.hours-today {
 background: #d0e3f9; border-left: 3px solid #408fe5;
 border-radius: 4px; padding-left: 7px; padding-right: 10px; margin-inline: -10px;
}
.hours-week .hours-today dd { color: #073070; }
.hours-week .hours-today-label:not([hidden]) {
 display: block; margin-top: 3px; font-size: 10px; font-weight: 700;
 line-height: 1.2; color: #073070;
}
.hours-week dd .hours-closure-reason { font-size: 11px; white-space: normal; }
.hours-closure-notices { margin-top: 20px; padding-top: 16px; border-top: 1px solid #d0e3f9; }
.hours-closure-notices h3 { font-size: 15px; margin: 0 0 8px; }
.hours-closure-notice { background: #f3f6fa; padding: 12px; margin: 10px 0; }
.hours-closure-notice strong, .hours-closure-notice span { display: block; }
.hours-closure-notice span { margin-top: 5px; overflow-wrap: anywhere; }
.hours-closure-notice.is-current { border-left: 3px solid #408fe5; background: #d0e3f9; }
.hours-closures-config { margin: 32px 0; padding-top: 20px; border-top: 1px solid #d0e3f9; }
.hours-closure-editor { margin: 20px 0; padding: 20px; border: 1px solid #90a9c8; min-width: 0; }
.hours-closure-editor legend { font-weight: 600; padding: 0 8px; }
.hours-closure-editor label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.hours-closure-dates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.hours-closure-editor input { width: 100%; min-width: 0; box-sizing: border-box; padding: 11px 12px; font: inherit; background: white; color: #252525; border: 1px solid #90a9c8; }
.hours-closure-editor button, #hours-add-closure { min-height: 44px; }
@media(max-width:600px) { .hours-closure-dates { grid-template-columns: 1fr; gap: 0; } .hours-closure-editor { padding: 15px; } }
@media(max-width:850px) {
 .instagram-feature { grid-template-columns: 68px minmax(0,1fr); gap: 24px; }
 .instagram-feature-mark { width: 68px; height: 68px; border-radius: 15px; }
 .instagram-feature-mark .social-brand { width: 44px; height: 44px; }
 .instagram-feature-action { grid-column: 2; }
}
@media(max-width:600px) {
 .home-instagram { padding: 32px 0; }
 .instagram-feature { grid-template-columns: 1fr; gap: 20px; padding-right: 40px; }
 .instagram-feature-action { grid-column: 1; }
 .social-follow-link { padding: 9px 14px; }
 .home-service-links { grid-template-columns: 1fr; }
 #office-hours .hours-expanded { padding: 15px; }
 #office-hours .hours-panel-heading { top: -15px; margin: -15px -15px 12px; padding: 6px 8px 6px 15px; }
}

#office-hours .hours-call[hidden]{display:none}
#office-hours[data-opening-soon=true] .hours-tab-title::before{background:#986200}
