/* Identical final layout for the editor, confirmation URL and published HTML. */
#site .topbar{background:#fff!important;background-image:none!important;color:#183a4c!important}
#site .topbar .header-dojo{color:#183a4c!important}
#site .topbar .menu-button span{background:#183a4c!important}
#site #newsSection .section-grid,#site #news .section-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px}
#site #newsSection .section-meta,#site #news .section-meta{margin-bottom:0;text-align:left}
#site .news-content{display:grid;grid-template-columns:minmax(200px,320px) minmax(0,1fr);gap:32px;align-items:start}
#site .news-content:not(:has(img)){grid-template-columns:1fr}
#site .news-content img{display:block;width:100%;height:auto;max-width:320px;max-height:none;object-fit:contain;justify-self:start;border-radius:18px}
#site .news-text{min-width:0}#site .news-text h3{margin:8px 0 18px}#site .news-text a{display:inline-block;margin-top:16px}#site .news-card{padding-bottom:28px;margin-bottom:28px}
#site .contact-grid{display:grid;grid-template-columns:1fr;gap:24px}
#site .contact-grid>div:first-child,#site .contact-grid>div:last-child{text-align:left}
#site .contact-copy{white-space:pre-wrap}#site .contact-detail{margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}
#site .powered-credit{display:flex;align-items:center;gap:12px}
#site .live-dots{display:flex;gap:8px;margin-top:20px;justify-content:flex-start}
#site .live-dots button{appearance:none;border:0;padding:0;width:24px;height:2px;background:var(--site-line);cursor:pointer;position:relative;border-radius:0}
#site .live-dots button::after{content:"";position:absolute;inset:-10px -2px}#site .live-dots button.active{width:42px;background:var(--site-accent)}
#site .live-slide .gallery-slide{width:100%}
#site .hero-copy .tagline{font-size:clamp(15px,2vw,22px);font-weight:800;max-width:700px}
@media(max-width:1000px){#site #newsSection .section-grid,#site #news .section-grid{grid-template-columns:180px minmax(0,1fr);gap:24px}#site .news-content{grid-template-columns:minmax(140px,42%) minmax(0,1fr);gap:24px}}
@media(max-width:700px){#site #newsSection .section-grid,#site #news .section-grid{grid-template-columns:1fr}#site .news-content{grid-template-columns:1fr}#site .news-content img{max-width:360px}}

/* Reserve the tallest slide, so automatic changes never move following content. */
#site .live-carousel{display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;isolation:isolate}
#site .live-carousel>.live-slide{grid-area:1/1;min-width:0;align-self:start}
#site .live-carousel>.live-slide[hidden]{display:block!important;visibility:hidden;pointer-events:none}
#site .live-carousel>.live-dots{grid-area:2/1}
#site .gallery-carousel{overflow:hidden!important;isolation:isolate;border:0!important}
#site .gallery-track{gap:0!important;align-items:stretch}
#site .gallery-track>.gallery-slide{flex:0 0 100%;width:100%;min-width:0;overflow:hidden;box-sizing:border-box;border:0!important;padding:0!important}
#site .gallery-media{overflow:hidden!important;box-shadow:none!important;border:0!important}
#site .gallery-media img{display:block!important}
#site .topbar .header-dojo .dojo-name-image{width:auto!important;max-width:min(420px,60vw);height:auto!important;max-height:76px;object-fit:contain;display:block}
@media(max-width:700px){#site .topbar .header-dojo .dojo-name-image{max-height:58px;max-width:60vw}}

.hero-progress button{display:block;flex:0 0 42px;width:42px;height:44px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;position:relative}
.hero-progress button::after{content:"";position:absolute;left:0;right:0;top:21px;height:2px;border-radius:9px;background:rgba(255,255,255,.4)}
.hero-progress button.active::after{background:#fff}.hero-progress button:focus-visible{outline:2px solid white;outline-offset:3px}
.schedule-branch+.schedule-branch{margin-top:32px}.schedule-branch h3{margin:0 0 14px;font-size:20px;overflow-wrap:anywhere}
.powered-credit>a,.clubace-credit>a{display:inline-flex;align-items:center}

#site #social .social-link{color:var(--site-text)!important;border:1px solid var(--site-line)!important;padding:12px 16px!important;border-radius:12px}#site #social .social-links{margin:0;gap:12px}#site .custom-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}#site .custom-link{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--site-line);border-radius:16px;color:var(--site-text);text-decoration:none;overflow-wrap:anywhere}#site .custom-link img{width:100%;height:auto;max-height:300px;object-fit:contain}#site .custom-link:hover{outline:2px solid var(--site-accent)}@media(max-width:600px){#site .custom-links{grid-template-columns:1fr}}

#site .section-meta,#site .section-content,#site .reveal,#site .section-reveal{opacity:1;filter:none!important;transform:none;transition:none}#site .section-meta h2{filter:none!important;text-shadow:none}

/* Compact category spacing on phones, shared by preview and completed files. */
@media(max-width:700px){#site .site-section{padding:24px 6%!important;min-height:0!important}#site .section-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}#site .section-meta{padding-top:0;margin-bottom:0}#site .site-section h2{font-size:25px;line-height:1.3}#site .body-copy{line-height:1.75}#site .contact{padding:28px 6%!important;min-height:0!important}#site .contact-grid{gap:16px!important}#site .footer{padding:24px 6%!important}#site .heading-divider{margin-bottom:10px}#site .section-meta .eyebrow{margin-bottom:5px}}

/* Preserve the teacher's intentional line breaks in all website views. */
#site .section-meta h2,#site .hero h1,#site .header-dojo,#site .tagline,#site .instructor-name,#site .teacher-name,#site .instructor-bio,#site .news-card h3,#site .news-body,#site .news-text,#site .contact-copy,#site .fee-value,#site .fee-original,#site .fee-current,#site .fee-badge,#site .fee-label,#site .schedule-card,#site .place-card,#site .custom-link,#site .intro-text{white-space:pre-line;overflow-wrap:anywhere}
#site .section-meta h2{word-break:normal;overflow-wrap:anywhere}
.fee-campaign{margin:12px 0;padding:10px;border:1px solid #cddfe4;border-radius:10px}.fee-campaign summary{cursor:pointer;color:#087f87;font-weight:700}.fee-campaign label{display:block;margin-top:12px}.form-panel textarea,.editor textarea{min-height:64px;resize:vertical}

#site h1,#site h2,#site h3,#site .body-copy,#site .schedule-time-line,#site .place-name,#site .place-address,#site .access-chip,#site .footer-bottom strong{white-space:pre-line;overflow-wrap:anywhere}
