/* House of Karate — November 2026 page-matching update.
   Applies only to pages supplied in this package. Homepage and PeeWee are unchanged. */
.replica-body { margin:0; background:#fff; font-family:Arial,Helvetica,sans-serif; color:#171717; }
.replica-body .site { width:100%; max-width:none; }
.replica-body .site-header { width:calc(100% - 28px); max-width:770px; margin:0 auto; min-height:106px; padding:10px 0; display:flex; justify-content:space-between; align-items:center; gap:33px; }
.replica-body .site-header .logo { flex:0 0 337px; max-width:337px; }
.replica-body .site-header .logo img { width:100%; max-width:337px; }
.replica-body .site-header nav { flex:1; min-width:0; }
.replica-body .site-header nav > ul { gap:14px; justify-content:space-between; }
.replica-body .site-header nav a,.replica-body .site-header nav button { font:14px Arial,Helvetica,sans-serif; padding:10px 0; }
.replica-body .site-header .drop { font-size:10px; padding-left:3px; }
.replica-hero { width:100%; height:293px; color:#fff; position:relative; overflow:hidden; background-image:linear-gradient(rgba(0,0,0,.38),rgba(0,0,0,.38)), var(--hero-image); background-color:#2e2e2e; background-size:cover; background-position:var(--hero-position,center); }
.replica-hero h1 { margin:0; position:absolute; top:30px; width:100%; text-align:center; font-size:62px; font-weight:800; color:#fff; letter-spacing:.15px; line-height:1.2; }
.replica-hero .hero-quotation { position:absolute; width:100%; padding:0 15px; text-align:center; bottom:37px; margin:0; font-size:20px; font-weight:400; line-height:1.4; }
.replica-program-body { width:calc(100% - 32px); max-width:870px; margin:auto; padding-top:24px; display:grid; grid-template-columns:minmax(0,520px) 275px; gap:35px; align-items:start; }
.replica-program-body .program-copy { font-size:15px; line-height:1.4; }
.replica-program-body .program-copy p { font:inherit; line-height:1.4; margin:0 0 16px; }
.replica-program-body .program-schedule { margin:0 0 16px; }
.replica-program-body .program-schedule strong { font-weight:700; }
.replica-program-body .program-side-image { display:block; width:100%; height:auto; max-height:550px; object-fit:contain; object-position:top center; }
.replica-footer { background:#252525; color:#fff; min-height:85px; margin-top:56px; }
.replica-footer .footer-content { max-width:870px; padding:33px 10px; margin:0 auto; display:flex; justify-content:space-between; font-size:12px; align-items:center; }
.replica-footer .fb-mark { font:bold 18px Arial,sans-serif; }
.replica-about .about-hero { height:360px; }
.replica-about .about-copy { max-width:900px; width:calc(100% - 36px); margin:0 auto; padding:30px 0 15px; font:15px/1.58 Arial,sans-serif; }
.replica-about .about-copy p { margin:0 0 16px; line-height:1.55; }
.replica-about .about-quote { font-size:20px; font-style:italic; text-align:center; margin:0 auto 26px!important; max-width:820px; }
.replica-about .teachers-heading { font-size:30px; font-weight:400; margin:42px 0 24px; text-align:center; }
.replica-about .teachers { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.replica-about .teacher { display:flex; align-items:center; gap:18px; }
.replica-about .teacher img { width:150px; height:205px; object-fit:contain; }
.replica-about .teacher h3 { font-size:20px; font-weight:400; margin:0 0 9px; }
.replica-about .teacher .rank { font-size:17px; }
.replica-history .history-wrap { max-width:1000px; width:calc(100% - 32px); margin:auto; padding:33px 0 15px; }
.replica-history h1,.replica-gallery h1 { font-size:42px; font-weight:500; text-align:center; margin:0 0 29px; }
.replica-history .history-entry { display:flex; gap:27px; align-items:flex-start; margin:0 0 31px; }
.replica-history .history-entry img { width:155px; height:200px; object-fit:contain; flex:0 0 155px; }
.replica-history .history-entry p { font:15px/1.55 Arial,sans-serif; margin:0 0 16px; }
.replica-contact .contact-hero-new { height:360px; }
.replica-contact .contact-callout { text-align:center; padding:35px 16px; max-width:900px; margin:auto; }
.replica-contact .contact-callout h2 { font-size:26px; font-weight:400; margin:0 0 15px; }
.replica-contact .contact-callout p { font-size:18px; margin:0 0 12px; }
.replica-contact .contact-callout .archival-note { font-size:13px; color:#666; }
.replica-contact .replica-contact-section { background:#252525; color:white; padding:42px max(16px,calc((100% - 880px)/2)); display:grid; grid-template-columns:1fr 1fr; gap:65px; }
.replica-contact .contact-map iframe { width:100%; border:0; height:360px; }
.replica-contact .contact-details { text-align:center; font-size:14px; }
.replica-contact .contact-details p { line-height:1.45; margin:0 0 22px; }
.replica-contact .contact-form { display:flex; flex-direction:column; align-items:stretch; gap:8px; }
.replica-contact .contact-form input,.replica-contact .contact-form textarea { width:100%; border:1px solid #bbb; font:14px Arial,sans-serif; padding:8px; background:white; color:#111; }
.replica-contact .contact-form button { align-self:flex-end; border:1px solid white; border-radius:20px; padding:8px 24px; background:transparent; color:white; }
.replica-contact .form-message { color:#ddd; font-size:12px!important; text-align:left; margin:4px 0; }
.replica-contact .replica-footer { margin-top:0; }
.visually-hidden { position:absolute; width:1px; height:1px; clip:rect(0,0,0,0); overflow:hidden; white-space:nowrap; }
.replica-gallery { width:calc(100% - 30px); max-width:980px; margin:auto; padding:40px 0 0; }
.replica-gallery .gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
.replica-gallery .gallery-image { display:block; aspect-ratio:4/3; background:#eee; overflow:hidden; }
.replica-gallery .gallery-image img { width:100%; height:100%; object-fit:cover; }
@media (min-width:761px) and (max-width:900px) { .replica-program-body { grid-template-columns:minmax(0,1fr) 275px;gap:25px; } }
@media (max-width:760px) {
  .replica-body .site-header { flex-wrap:wrap; min-height:0; padding:13px 0; gap:8px; }
  .replica-body .site-header .logo { flex:1 1 245px; max-width:337px; }
  .replica-body .site-header .menu-toggle { display:block; }
  .replica-body .site-header nav { display:none;flex-basis:100%; }
  .replica-body .site-header nav.show { display:block; }
  .replica-body .site-header nav>ul { display:block; }
  .replica-body .site-header nav .nav-item { white-space:normal; }
  .replica-body .site-header nav .submenu { position:static; }
  .replica-hero { height:260px; }
  .replica-hero h1 { top:25px; font-size:clamp(34px,8vw,50px); }
  .replica-hero .hero-quotation { font-size:clamp(14px,3.5vw,19px);bottom:30px; }
  .replica-program-body { grid-template-columns:1fr;gap:16px;padding-top:27px; }
  .replica-program-body .program-copy { font-size:14px; line-height:1.5; }
  .replica-program-body .program-copy p { line-height:1.5; }
  .replica-program-body .program-side-image { max-width:370px;margin:0 auto; }
  .replica-about .teachers { grid-template-columns:1fr; }
  .replica-history .history-entry { display:block; }
  .replica-history .history-entry img { float:left;margin:0 18px 8px 0; }
  .replica-contact .replica-contact-section { grid-template-columns:1fr; padding:30px 16px; gap:25px; }
  .replica-gallery .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .replica-footer .footer-content { text-align:center;padding:30px 16px; }
}