/*
Theme Name: ZAXU CHILD
Theme URI: https://www.zaxu.com
Author: ZAXU
Author URI: https://www.zaxu.com
Description: A basic child theme for the ZAXU theme.
Template: zaxu
Version: 1.2.1
Requires at least: 4.7
Requires PHP: 5.6
*/

/* === V10 - About page redesign === */
/* 
 * ABOUT PAGE V10 - Complete redesign fix
 * Fixes: "乱" - fragmented rhythm, invisible labels, text-wall proof grid
 */

/* About page no longer hardcodes body/site background.
   Let ZAXU theme background settings (image/opacity/ratio) show through. */
body.page-id-976 .site-content {
  color: #eae6df;
}
body.page-id-976 #siteHeader, body.page-id-976 .site-header,
body.page-id-976 #siteHeader a, body.page-id-976 #siteHeader button,
body.page-id-976 .site-header a, body.page-id-976 .site-header button {
  color: rgba(234,230,223,.92) !important;
}
body.page-id-976 #siteHeader svg, body.page-id-976 .site-header svg {
  fill: rgba(234,230,223,.92) !important;
  color: rgba(234,230,223,.92) !important;
}
body.page-id-976 .entry-content > *:not(.alignwide):not(.alignfull) { max-width: none !important; }
body.page-id-976, body.page-id-976 .site-root-container,
body.page-id-976 .site-main-container { overflow-x: hidden; }

/* Say page: hide the long brand text in the header, keep the menu/action icons. */
body.page-id-1220 .header-logo .text-logo {
  display: none !important;
}
body.page-id-1220 .header-logo {
  width: auto !important;
}

/* ===== CINEMA ABOUT ===== */
.entry-content .cinema-about {
  --fg: #eae6df;
  --muted: rgba(234,230,223,.58);
  --line: rgba(234,230,223,.10);
  --accent: #d43632;
  --gold: #eac784;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, 'Noto Sans Mono CJK SC', monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --serif: 'Iowan Old Style', 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', Georgia, serif;
  width: calc(100% - 7rem) !important;
  max-width: 112rem !important;
  margin: 0 auto !important;
  padding: 3rem 0 8rem;
  color: var(--fg);
}
.entry-content .cinema-about * { box-sizing: border-box; }

/* ===== BASE TEXT ===== */
.entry-content .cinema-about p,
.entry-content .cinema-about li {
  font-family: var(--sans);
  font-size: 1.65rem;
  line-height: 1.72;
  color: rgba(234,230,223,.82);
}
.entry-content .cinema-about strong { font-weight: 600; color: var(--fg); }

/* ===== LABELS (BIGGER - was 1rem, now 1.3rem) ===== */
.entry-content .cinema-about .cinema-kicker,
.entry-content .cinema-about .cinema-label {
  display: block;
  font-family: var(--mono) !important;
  font-size: 1.3rem !important;
  line-height: 1.4 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin: 0 0 1.4rem !important;
  opacity: .88;
}

/* ===== HERO ===== */
.entry-content .cinema-hero {
  width: 100% !important;
  min-height: calc(100vh - 14rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--line);
}
.entry-content .cinema-hero h1 {
  max-width: 8em;
  margin: 0 0 2.4rem;
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 13rem);
  font-weight: 450;
  line-height: .97;
  letter-spacing: -.065em;
  color: var(--fg);
}
.entry-content .cinema-hero .cinema-deck {
  max-width: 68rem;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1.6;
  color: var(--muted);
}

/* ===== FACTS ===== */
.entry-content .cinema-facts {
  width: 100% !important;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.entry-content .cinema-facts p {
  margin: 0;
  padding: 1.8rem 1.6rem 2rem;
  border-right: 1px solid var(--line);
}
.entry-content .cinema-facts p:last-child { border-right: 0; }
.entry-content .cinema-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 3.6vw, 4.6rem);
  font-weight: 450;
  line-height: 1.05;
  color: var(--fg);
  letter-spacing: -.03em;
}
.entry-content .cinema-facts span {
  display: block;
  margin-top: .5rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ===== SECTIONS (common) ===== */
.entry-content .cinema-section,
.entry-content .cinema-service,
.entry-content .city-proof {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}
.entry-content .cinema-section h2,
.entry-content .city-proof h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.5vw, 7.2rem);
  font-weight: 450;
  line-height: 1.04;
  letter-spacing: -.055em;
  color: var(--fg);
}

/* ===== VISUAL BREAK BANNER (new - between Team and Local Trust) ===== */
.entry-content .cinema-break {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 5rem 0 5rem 10%;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(166,23,23,.12), transparent 50rem),
    linear-gradient(90deg, rgba(166,23,23,.05), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.entry-content .cinema-break p {
  margin: 0 !important;
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 3vw, 3.6rem) !important;
  line-height: 1.3 !important;
  color: var(--muted);
  font-style: italic;
  letter-spacing: -.02em;
  max-width: 40rem;
}

/* ===== PROOF GRID (completely restructured - was inline text, now block items) ===== */
.entry-content .proof-grid {
  width: 100% !important;
  max-width: none !important;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.entry-content .proof-item {
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--line);
  background: rgba(234,230,223,.02);
  transition: background .3s ease;
}
.entry-content .proof-item:hover {
  background: rgba(234,230,223,.05);
}
.entry-content .proof-tag {
  display: inline-block !important;
  font-family: var(--mono) !important;
  font-size: 1.15rem !important;
  line-height: 1.4 !important;
  letter-spacing: .06em !important;
  color: var(--accent) !important;
  margin: 0 0 .6rem !important;
  padding-bottom: .4rem;
  border-bottom: 1px solid rgba(212,54,50,.3);
}
.entry-content .proof-item p:not(.proof-tag) {
  margin: 0 !important;
  font-size: 1.4rem !important;
  line-height: 1.6 !important;
  color: var(--muted);
}

/* ===== PULLQUOTE (bigger, more dramatic) ===== */
.entry-content .cinema-pull {
  width: 100% !important;
  max-width: none !important;
  margin: 4rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left;
}
.entry-content .cinema-pull p {
  margin: 0 !important;
  max-width: 100%;
  font-family: var(--serif) !important;
  font-size: clamp(2.4rem, 4vw, 5.2rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -.04em;
  color: var(--gold) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}

/* ===== SERVICE LIST ===== */
.entry-content .cinema-service ul { padding-left: 0; list-style: none; }
.entry-content .cinema-service li {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(234,230,223,.06);
  padding: 1rem 0;
  font-size: 1.55rem;
  line-height: 1.5;
}
.entry-content .cinema-service li strong {
  color: var(--fg);
}
.entry-content .cinema-service a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.entry-content .cinema-service .cinema-label {
  margin-bottom: 2rem !important;
}

/* ===== CONTACT FORM (dark integrated) ===== */
.entry-content .wpcf7 {
  margin-top: 1.6rem;
}
.entry-content .wpcf7 input,
.entry-content .wpcf7 textarea {
  background: rgba(234,230,223,.04) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  color: var(--fg) !important;
  font-family: var(--sans) !important;
  font-size: 1.4rem !important;
  padding: 1rem 1.2rem !important;
  width: 100% !important;
}
.entry-content .wpcf7 input:focus,
.entry-content .wpcf7 textarea:focus {
  background: rgba(234,230,223,.07) !important;
  border-color: rgba(212,54,50,.5) !important;
  outline: none !important;
}
.entry-content .wpcf7 input[type='submit'] {
  background: var(--fg) !important;
  color: #030303 !important;
  border-color: var(--fg) !important;
  padding: .8rem 2.4rem !important;
  font-weight: 600;
  letter-spacing: .04em;
  width: auto !important;
  cursor: pointer;
  transition: opacity .2s;
}
.entry-content .wpcf7 input[type='submit']:hover {
  opacity: .85;
}

/* ===== TECH FOOTER ===== */
.entry-content .cinema-tech {
  border-bottom: 0;
  padding: 4rem 0 0;
}
.entry-content .cinema-tech p:not(.cinema-label) {
  max-width: 72rem;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== MOTION ===== */
.about-animate {
  opacity: 1;
  transform: translateY(14px);
  transition: transform .45s cubic-bezier(.2,0,0,1);
}
.about-animate.visible { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .about-animate { transition: none; transform: none; } }

/* ===== MOBILE < 820px ===== */
@media only screen and (max-width: 820px) {
  .entry-content .cinema-about { width: calc(100% - 3.6rem) !important; padding-top: 2rem; }
  
  /* Hero - centered */
  .entry-content .cinema-hero { min-height: auto; padding: 5rem 0 4rem; text-align: center; }
  .entry-content .cinema-hero h1 { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; }
  .entry-content .cinema-hero .cinema-deck { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; }
  
  /* Facts - 2 cols centered */
  .entry-content .cinema-facts { grid-template-columns: repeat(2,1fr); }
  .entry-content .cinema-facts p { text-align: center; border-right: 0 !important; }
  .entry-content .cinema-facts p:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .entry-content .cinema-facts strong { font-size: 3.2rem; }
  
  /* Sections - centered labels + H2 */
  .entry-content .cinema-section, .entry-content .cinema-service,
  .entry-content .city-proof { padding: 4rem 0; }
  .entry-content .cinema-section h2, .entry-content .city-proof h2 {
    font-size: 3.4rem;
    text-align: center;
  }
  .entry-content .cinema-about .cinema-label { text-align: center; }
  
  /* Break banner */
  .entry-content .cinema-break { padding: 3rem 0 3rem 2rem; }
  .entry-content .cinema-break p { font-size: 1.8rem !important; }
  
  /* Proof grid - 2 cols on tablet */
  .entry-content .proof-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .entry-content .proof-item { padding: 1.4rem 1.2rem; }
  
  /* Pullquote centered */
  .entry-content .cinema-pull p { font-size: 2.2rem !important; padding: 2rem 0; text-align: center; }
  
  /* Service centered */
  .entry-content .cinema-service ul { padding-left: 0; list-style: none; text-align: center; }
  .entry-content .cinema-service li { font-size: 1.45rem; padding: .8rem 0; }
  
  /* Body text */
  .entry-content .cinema-about p, .entry-content .cinema-about li {
    font-size: 1.55rem;
  }
  .entry-content .cinema-tech p:not(.cinema-label) { font-size: 1.55rem; }
}

/* ===== MOBILE < 480px ===== */
@media only screen and (max-width: 480px) {
  .entry-content .cinema-about { width: calc(100% - 2.4rem) !important; }
  .entry-content .cinema-hero { padding: 4rem 0 3rem; }
  .entry-content .cinema-hero h1 { font-size: clamp(3.8rem, 16vw, 5.8rem); }
  .entry-content .cinema-hero .cinema-deck { font-size: 1.5rem; }
  
  .entry-content .cinema-facts { grid-template-columns: 1fr; }
  .entry-content .cinema-facts p {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .entry-content .cinema-facts p:last-child { border-bottom: 0; }
  
  .entry-content .cinema-section h2, .entry-content .city-proof h2 { font-size: 3rem; }
  
  /* Proof grid - single col on phone */
  .entry-content .proof-grid { grid-template-columns: 1fr; }
  
  .entry-content .cinema-about p, .entry-content .cinema-about li {
    font-size: 1.45rem;
  }
  .entry-content .cinema-pull p { font-size: 2rem !important; }
  .entry-content .cinema-tech p:not(.cinema-label) { font-size: 1.45rem; }
}

/* ===== FIX: Section columns layout ===== */
.entry-content .cinema-section .wp-block-column:first-child {
  padding-right: 2rem;
}
.entry-content .cinema-section .wp-block-column:first-child h2 {
  word-break: break-word;
  hyphens: none;
}

/* ===== FIX: Proof grid spacing ===== */
.entry-content .proof-grid {
  gap: 1.2rem;
}
.entry-content .proof-item {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  background: rgba(234,230,223,.02);
  transition: background .25s ease, border-color .25s ease;
}
.entry-content .proof-item:hover {
  background: rgba(234,230,223,.05);
  border-color: rgba(234,230,223,.2);
}
.entry-content .proof-tag {
  display: inline-block !important;
  font-family: var(--mono) !important;
  font-size: 1.15rem !important;
  line-height: 1.4 !important;
  letter-spacing: .06em !important;
  color: var(--accent) !important;
  margin: 0 0 .6rem !important;
  padding-bottom: .4rem;
  border-bottom: 1px solid rgba(212,54,50,.3);
}
.entry-content .proof-item p:not(.proof-tag) {
  margin: 0 !important;
  font-size: 1.4rem !important;
  line-height: 1.65 !important;
  color: var(--muted);
}

/* ===== FIX: Service section - make WHAT YOU GET more impactful ===== */
.entry-content .cinema-service .wp-block-column:first-child ul {
  counter-reset: service-item;
}
.entry-content .cinema-service li {
  counter-increment: service-item;
  position: relative;
  padding: 1.2rem 0 1.2rem 3.2rem !important;
  border-bottom: 1px solid rgba(234,230,223,.06);
  font-size: 1.5rem;
  line-height: 1.5;
}
.entry-content .cinema-service li::before {
  content: counter(service-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--accent);
  opacity: .6;
}
.entry-content .cinema-service li:last-child {
  border-bottom: 0;
}

/* ===== FIX: Contact form styling ===== */
.entry-content .cinema-service .wp-block-column:last-child {
  padding-left: 1rem;
}
.entry-content .wpcf7 {
  margin-top: 1.6rem;
}
.entry-content .wpcf7 p {
  margin-bottom: .8rem !important;
}
.entry-content .wpcf7 input,
.entry-content .wpcf7 textarea {
  background: rgba(234,230,223,.04) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  color: var(--fg) !important;
  font-family: var(--sans) !important;
  font-size: 1.35rem !important;
  padding: .9rem 1.1rem !important;
  width: 100% !important;
  transition: background .2s, border-color .2s;
}
.entry-content .wpcf7 input:focus,
.entry-content .wpcf7 textarea:focus {
  background: rgba(234,230,223,.07) !important;
  border-color: rgba(212,54,50,.4) !important;
  outline: none !important;
}
.entry-content .wpcf7 input[type='submit'] {
  background: var(--fg) !important;
  color: #030303 !important;
  border-color: var(--fg) !important;
  padding: .8rem 2.8rem !important;
  font-weight: 600;
  letter-spacing: .06em;
  width: auto !important;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: .4rem;
}
.entry-content .wpcf7 input[type='submit']:hover {
  opacity: .8;
}
.entry-content .wpcf7 input::placeholder,
.entry-content .wpcf7 textarea::placeholder {
  color: rgba(234,230,223,.3) !important;
}

/* ===== FIX: Tech footer ===== */
.entry-content .cinema-tech p:not(.cinema-label) {
  max-width: 72rem;
  font-size: 1.5rem;
  line-height: 1.7;
  color: rgba(234,230,223,.5);
  border-left: 2px solid var(--accent);
  padding-left: 1.6rem;
}

/* ===== FIX: Mobile improvements ===== */
@media only screen and (max-width: 820px) {
  /* Section columns stack on mobile - label+H2 centered, text below */
  .entry-content .cinema-section .wp-block-column:first-child {
    padding-right: 0;
    text-align: center;
  }
  .entry-content .cinema-section .wp-block-column:first-child h2 {
    text-align: center;
  }
  
  /* Service columns stack */
  .entry-content .cinema-service .wp-block-column:last-child {
    padding-left: 0;
    margin-top: 2rem;
  }
  
  /* Proof grid 2 cols */
  .entry-content .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
  }
  .entry-content .proof-item {
    padding: 1.2rem 1rem;
  }
  
  /* Service counters */
  .entry-content .cinema-service li {
    padding-left: 2.8rem !important;
  }
  
  /* Contact form */
  .entry-content .wpcf7 input,
  .entry-content .wpcf7 textarea {
    font-size: 1.6rem !important; /* larger touch targets */
  }
  
  /* Tech footer */
  .entry-content .cinema-tech p:not(.cinema-label) {
    padding-left: 1.2rem;
    font-size: 1.45rem;
  }
}

@media only screen and (max-width: 480px) {
  .entry-content .proof-grid {
    grid-template-columns: 1fr;
  }
  .entry-content .cinema-service li {
    font-size: 1.4rem;
  }
}
/* ===== V10.1 - Stronger proof-item borders & visual fixes ===== */

/* Stronger proof-item borders */
.entry-content .proof-item {
  border: 1px solid rgba(234,230,223,.16) !important;
  background: rgba(234,230,223,.025) !important;
}
.entry-content .proof-item:hover {
  background: rgba(234,230,223,.06) !important;
  border-color: rgba(234,230,223,.28) !important;
}

/* Proof-tag more visible */
.entry-content .proof-tag {
  border-bottom: 1px solid rgba(212,54,50,.35) !important;
  padding-bottom: .5rem !important;
  margin-bottom: .8rem !important;
}

/* Better section column spacing */
.entry-content .cinema-section {
  gap: 0 !important;
}
.entry-content .cinema-section .wp-block-column:first-child {
  flex-basis: 32% !important;
  padding-right: 3rem;
}
.entry-content .cinema-section .wp-block-column:last-child {
  flex-basis: 68% !important;
}

/* Pullquote bigger */
.entry-content .cinema-pull p {
  padding: 3.6rem 0 !important;
  border-top-width: 2px !important;
  border-bottom-width: 2px !important;
  border-color: rgba(234,230,223,.15) !important;
}

/* WHAT YOU GET list more visual */
.entry-content .cinema-service li {
  padding: 1.4rem 0 1.4rem 3.6rem !important;
  font-size: 1.55rem;
  line-height: 1.55;
}

/* Contact section better spacing */
.entry-content .wpcf7 {
  margin-top: 2rem;
}
.entry-content .wpcf7 p {
  margin-bottom: .6rem !important;
}

/* ===== MOBILE FIXES ===== */
@media only screen and (max-width: 820px) {
  .entry-content .cinema-section .wp-block-column:first-child {
    flex-basis: 100% !important;
    padding-right: 0;
  }
  .entry-content .cinema-section .wp-block-column:last-child {
    flex-basis: 100% !important;
  }
  .entry-content .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .entry-content .cinema-service .wp-block-column {
    flex-basis: 100% !important;
  }
}
/* ===== V10.2 - Fix "歪了" alignment issues ===== */

/* 1) PROOF ITEMS: force fill grid cells */
.entry-content .wp-block-group.proof-item {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}
.entry-content .proof-item p:not(.proof-tag) {
  word-break: break-word;
}

/* 2) PROOF GRID: tighter gap for uniformity */
.entry-content .proof-grid {
  gap: 1.8rem !important;
}

/* 3) HERO: align H1 and deck left edges */
.entry-content .cinema-hero h1 {
  margin-left: 0 !important;
}
.entry-content .cinema-hero .cinema-deck {
  margin-left: 0 !important;
}

/* 4) SECTION COLUMNS: ensure left alignment matches container edge */
.entry-content .cinema-section .wp-block-column:first-child,
.entry-content .cinema-section .wp-block-column:last-child {
  padding-left: 0;
}

/* 5) CINEMA-BREAK: remove percentage padding to align left edge */
.entry-content .cinema-break {
  padding: 4rem 0 4rem 3.6rem !important;
}

/* 6) SERVICE: align column text to same baseline */
.entry-content .cinema-service .wp-block-column:first-child {
  padding-right: 2rem;
}

/* ===== MOBILE ===== */
@media only screen and (max-width: 820px) {
  .entry-content .cinema-section .wp-block-column:first-child h2 {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media only screen and (max-width: 480px) {
  .entry-content .proof-grid {
    gap: 1rem !important;
  }
}
/* ===== V10.3 - Fix H2 "歪了" alignment ===== */

/* city-proof: remove WP constrained layout centering on children */
.entry-content .city-proof > h2,
.entry-content .city-proof > p,
.entry-content .city-proof > figure {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* cinema-break: keep full width */
.entry-content .cinema-break > p {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* cinema-tech: remove constrained centering */
.entry-content .cinema-tech > p {
  max-width: none !important;
  margin-left: 0 !important;
}
.entry-content .cinema-tech p:not(.cinema-label) {
  max-width: 72rem;
}

/* Hero children: ensure no extra margins from WP constraining */
.entry-content .cinema-hero > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* ===== V10.4 - Align body sections to the opening Hero content column ===== */
@media only screen and (min-width: 821px) {
  .entry-content .cinema-about {
    --about-measure: 84rem;
  }

  /* The hero itself is the visual master column */
  .entry-content .cinema-hero,
  .entry-content .cinema-section,
  .entry-content .cinema-break,
  .entry-content .city-proof,
  .entry-content .cinema-service,
  .entry-content .cinema-tech {
    width: var(--about-measure) !important;
    max-width: var(--about-measure) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Facts belong to the hero column, not the full page */
  .entry-content .cinema-facts {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Prevent WordPress constrained layout from re-centering children inside the column */
  .entry-content .cinema-hero > *,
  .entry-content .city-proof > *,
  .entry-content .cinema-break > *,
  .entry-content .cinema-tech > * {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Keep the two-column sections inside the same hero measure */
  .entry-content .cinema-section .wp-block-column:first-child {
    flex-basis: 32% !important;
    padding-right: 2.8rem !important;
  }
  .entry-content .cinema-section .wp-block-column:last-child {
    flex-basis: 68% !important;
  }

  /* Proof cards: same column, clean three-grid */
  .entry-content .proof-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.4rem !important;
  }
  .entry-content .wp-block-group.proof-item {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Break banner no longer has random left padding */
  .entry-content .cinema-break {
    padding: 4rem 0 !important;
  }
  .entry-content .cinema-break p {
    padding-left: 0 !important;
  }

  /* Service/contact columns align inside the same measure */
  .entry-content .cinema-service .wp-block-column:first-child {
    padding-right: 2.4rem !important;
  }
  .entry-content .cinema-service .wp-block-column:last-child {
    padding-left: 0 !important;
  }
}
/* ===== V10.5 - Compact proof cards: reduce uneven empty space ===== */
@media only screen and (min-width: 821px) {
  .entry-content .proof-grid {
    align-items: stretch !important;
  }

  .entry-content .wp-block-group.proof-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 1.35rem 1.45rem 1.45rem !important;
  }

  .entry-content .proof-tag {
    width: fit-content !important;
    margin: 0 0 .75rem !important;
    padding: 0 0 .35rem !important;
  }

  .entry-content .proof-item p:not(.proof-tag) {
    margin: 0 !important;
    line-height: 1.55 !important;
    min-height: 0 !important;
  }
}

@media only screen and (max-width: 820px) {
  .entry-content .wp-block-group.proof-item {
    min-height: 0 !important;
    height: auto !important;
    padding: 1.15rem 1.1rem 1.25rem !important;
  }
  .entry-content .proof-tag {
    margin-bottom: .65rem !important;
  }
  .entry-content .proof-item p:not(.proof-tag) {
    line-height: 1.55 !important;
  }
}
/* ===== V10.6 - Proof cards natural height: no forced empty space ===== */
.entry-content .proof-grid {
  align-items: start !important;
}

.entry-content .wp-block-group.proof-item {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.entry-content .proof-item p:not(.proof-tag) {
  margin: 0 !important;
}
/* ===== V11 - Restrained editorial redesign: quieter, less flashy ===== */

@media only screen and (min-width: 821px) {
  .entry-content .cinema-about {
    --about-measure: 82rem;
    --line: rgba(234,230,223,.105);
    --muted: rgba(234,230,223,.56);
    --accent: rgba(212,54,50,.82);
    padding-top: 2rem !important;
  }

  /* Overall rhythm: smaller and calmer */
  .entry-content .cinema-hero {
    min-height: 78vh !important;
    padding: 4rem 0 4.5rem !important;
  }

  .entry-content .cinema-about .cinema-kicker,
  .entry-content .cinema-about .cinema-label {
    font-size: 1.05rem !important;
    letter-spacing: .18em !important;
    color: rgba(212,54,50,.72) !important;
    margin-bottom: 1.6rem !important;
  }

  .entry-content .cinema-hero h1 {
    font-size: clamp(5.2rem, 6.4vw, 8.4rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.055em !important;
    max-width: 7.6em !important;
    margin-bottom: 2.2rem !important;
  }

  .entry-content .cinema-hero .cinema-deck {
    max-width: 62rem !important;
    font-size: 1.72rem !important;
    line-height: 1.72 !important;
    color: rgba(234,230,223,.58) !important;
  }

  /* Facts: reduce the "dashboard" feeling */
  .entry-content .cinema-facts {
    margin-top: 5rem !important;
    border-color: rgba(234,230,223,.09) !important;
  }
  .entry-content .cinema-facts p {
    padding: 1.45rem 1.3rem 1.55rem !important;
    border-color: rgba(234,230,223,.085) !important;
  }
  .entry-content .cinema-facts strong {
    font-size: 3rem !important;
    font-weight: 420 !important;
  }
  .entry-content .cinema-facts span {
    font-size: 1rem !important;
    color: rgba(234,230,223,.43) !important;
  }

  /* Sections: less poster, more editorial */
  .entry-content .cinema-section,
  .entry-content .city-proof,
  .entry-content .cinema-service {
    padding: 5.2rem 0 !important;
    border-color: rgba(234,230,223,.085) !important;
  }

  .entry-content .cinema-section h2,
  .entry-content .city-proof h2 {
    font-size: clamp(3.2rem, 4.4vw, 5.8rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -.048em !important;
  }

  .entry-content .cinema-section .wp-block-column:first-child {
    flex-basis: 34% !important;
    padding-right: 3.2rem !important;
  }
  .entry-content .cinema-section .wp-block-column:last-child {
    flex-basis: 66% !important;
  }

  .entry-content .cinema-about p,
  .entry-content .cinema-about li {
    font-size: 1.48rem !important;
    line-height: 1.78 !important;
    color: rgba(234,230,223,.68) !important;
  }

  /* Break quote: no glowing banner, just a quiet note */
  .entry-content .cinema-break {
    padding: 3.2rem 0 !important;
    background: transparent !important;
    border-color: rgba(234,230,223,.075) !important;
  }
  .entry-content .cinema-break p {
    font-size: 2.1rem !important;
    line-height: 1.45 !important;
    color: rgba(234,230,223,.45) !important;
    font-style: normal !important;
    letter-spacing: -.02em !important;
  }

  /* Proof area: remove noisy cards, turn into quiet evidence list */
  .entry-content .proof-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 4rem !important;
    margin-top: 2.8rem !important;
  }
  .entry-content .wp-block-group.proof-item {
    border: 0 !important;
    border-top: 1px solid rgba(234,230,223,.10) !important;
    background: transparent !important;
    padding: 1.35rem 0 1.45rem !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .entry-content .proof-tag {
    font-size: 1.02rem !important;
    color: rgba(212,54,50,.74) !important;
    border-bottom: 0 !important;
    padding: 0 !important;
    margin: 0 0 .42rem !important;
    letter-spacing: .12em !important;
  }
  .entry-content .proof-item p:not(.proof-tag) {
    font-size: 1.38rem !important;
    line-height: 1.68 !important;
    color: rgba(234,230,223,.56) !important;
  }

  /* Pull quote: no loud gold billboard */
  .entry-content .cinema-pull {
    margin-top: 3.2rem !important;
  }
  .entry-content .cinema-pull p {
    font-size: clamp(2.2rem, 2.7vw, 3.5rem) !important;
    line-height: 1.38 !important;
    color: rgba(234,230,223,.74) !important;
    border-top: 1px solid rgba(234,230,223,.12) !important;
    border-bottom: 1px solid rgba(234,230,223,.12) !important;
    padding: 2.4rem 0 !important;
  }

  /* Services/contact: quieter */
  .entry-content .cinema-service li {
    font-size: 1.36rem !important;
    line-height: 1.65 !important;
    padding: 1rem 0 1rem 3rem !important;
    border-color: rgba(234,230,223,.06) !important;
  }
  .entry-content .cinema-service li::before {
    color: rgba(212,54,50,.52) !important;
  }

  .entry-content .wpcf7 input,
  .entry-content .wpcf7 textarea {
    background: rgba(234,230,223,.025) !important;
    border-color: rgba(234,230,223,.10) !important;
  }

  .entry-content .cinema-tech p:not(.cinema-label) {
    border-left-color: rgba(212,54,50,.5) !important;
    color: rgba(234,230,223,.46) !important;
  }
}

@media only screen and (max-width: 820px) {
  .entry-content .cinema-hero h1 {
    font-size: clamp(3.6rem, 13vw, 5.2rem) !important;
  }
  .entry-content .cinema-section h2,
  .entry-content .city-proof h2 {
    font-size: 2.8rem !important;
  }
  .entry-content .proof-grid {
    gap: .4rem !important;
  }
  .entry-content .wp-block-group.proof-item {
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid rgba(234,230,223,.10) !important;
  }
  .entry-content .cinema-pull p {
    color: rgba(234,230,223,.72) !important;
  }
}
/* ===== CUSTOM CURSOR - stable overlay version ===== */
html.jack-custom-cursor-enabled,
html.jack-custom-cursor-enabled body {
  cursor: none !important;
}

html.jack-custom-cursor-enabled a,
html.jack-custom-cursor-enabled button,
html.jack-custom-cursor-enabled input,
html.jack-custom-cursor-enabled textarea,
html.jack-custom-cursor-enabled select,
html.jack-custom-cursor-enabled [role="button"],
html.jack-custom-cursor-enabled summary,
html.jack-custom-cursor-enabled .wp-block-button__link,
html.jack-custom-cursor-enabled .swiper-button-next,
html.jack-custom-cursor-enabled .swiper-button-prev,
html.jack-custom-cursor-enabled .carousel-link,
html.jack-custom-cursor-enabled .ajax-link,
html.jack-custom-cursor-enabled .slide-media-box,
html.jack-custom-cursor-enabled .slide-media-video,
html.jack-custom-cursor-enabled .site-header-container,
html.jack-custom-cursor-enabled .main-menu li,
html.jack-custom-cursor-enabled .main-menu a {
  cursor: none !important;
}

.jack-custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  z-index: 9999999;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  background: url("/wp-content/themes/zaxu-child/jimeng-cursor.png") center center / contain no-repeat;
  transition: opacity .12s ease;
  will-change: transform;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .jack-custom-cursor {
    background-image: url("/wp-content/themes/zaxu-child/jimeng-cursor-2x.png");
  }
}

html.jack-custom-cursor-enabled .jack-custom-cursor {
  opacity: 1;
}

/* Text-editing controls keep a text cursor */
html.jack-custom-cursor-enabled input[type="text"],
html.jack-custom-cursor-enabled input[type="email"],
html.jack-custom-cursor-enabled input[type="search"],
html.jack-custom-cursor-enabled input[type="url"],
html.jack-custom-cursor-enabled input[type="tel"],
html.jack-custom-cursor-enabled input[type="password"],
html.jack-custom-cursor-enabled textarea,
html.jack-custom-cursor-enabled [contenteditable="true"] {
  cursor: text !important;
}
/* ===== CUSTOM SCROLLBAR ===== */

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(212,54,50,0.45) rgba(234,230,223,0.05);
}

/* WebKit (Chrome, Safari, Edge) */
html::-webkit-scrollbar {
  width: 5px;
}
html::-webkit-scrollbar-track {
  background: rgba(234,230,223,0.04);
}
html::-webkit-scrollbar-thumb {
  background: rgba(212,54,50,0.4);
  border-radius: 3px;
}
html::-webkit-scrollbar-thumb:hover {
  background: rgba(212,54,50,0.65);
}

/* ===== SCROLL PROGRESS BAR ===== */
/* ===== CUSTOM SCROLLBAR ===== */
html { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) rgba(255,255,255,0.04); }
html::-webkit-scrollbar { width: 4px; }
html::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
html::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }
html::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }
/* ===== NAV TAB HOVER - slight lift effect ===== */
.site-header .nav-menu > li > a,
.site-header .site-header-nav > li > a,
#siteHeader .nav-menu > li > a,
#siteHeader .site-header-nav > li > a {
  transition: transform 0.25s cubic-bezier(.2,0,0,1), color 0.25s ease !important;
  will-change: transform;
}
.site-header .nav-menu > li > a:hover,
.site-header .site-header-nav > li > a:hover,
#siteHeader .nav-menu > li > a:hover,
#siteHeader .site-header-nav > li > a:hover {
  transform: translateY(-1.5px);
}
/* ===== HOVER LIFT - All cards & nav tabs ===== */

/* Navigation - more visible lift */
.site-header nav a,
.site-header .nav-menu a,
header.site-header a[href]:not(.site-logo *) {
  transition: transform 0.2s cubic-bezier(.2,0,0,1) !important;
}
.site-header nav a:hover,
.site-header .nav-menu a:hover {
  transform: translateY(-1.5px);
}

/* Blog list articles - entire row lifts */
.list-article {
  transition: transform 0.25s cubic-bezier(.2,0,0,1) !important;
  will-change: transform;
}
.list-article:hover {
  transform: translateY(-2px);
}

/* Carousel cards - lift */
.carousel-article {
  transition: transform 0.25s cubic-bezier(.2,0,0,1) !important;
  will-change: transform;
}
.carousel-article:hover {
  transform: translateY(-2px);
}

/* General card-like elements with ajax-link */
.list-link.ajax-link,
a.ajax-link[href] {
  transition: transform 0.25s cubic-bezier(.2,0,0,1) !important;
  will-change: transform;
}
.list-link.ajax-link:hover,
a.ajax-link[href]:hover {
  transform: translateY(-2px);
}
/* ===== FIX: proof-item padding alignment with section labels ===== */
@media only screen and (max-width: 820px) {
  .entry-content .wp-block-group.proof-item {
    padding: 1.15rem 0 1.25rem !important;
  }
  .entry-content .proof-tag {
    margin: 0 0 .5rem !important;
  }
}
@media only screen and (min-width: 821px) {
  .entry-content .wp-block-group.proof-item {
    padding: 1.35rem 0 1.45rem !important;
  }
}
/* ===== FIX: Gutenberg child margins causing grid/facts misalignment ===== */
.entry-content .proof-grid > .proof-item,
.entry-content .cinema-facts > p {
  margin: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  max-width: none !important;
  width: 100% !important;
  justify-self: stretch !important;
}

.entry-content .proof-grid > .proof-item:first-child,
.entry-content .proof-grid > .proof-item:nth-child(2),
.entry-content .proof-grid > .proof-item:nth-child(3),
.entry-content .proof-grid > .proof-item:nth-child(4),
.entry-content .proof-grid > .proof-item:nth-child(5),
.entry-content .proof-grid > .proof-item:nth-child(6) {
  margin-top: 0 !important;
}
/* ===== FIX: PJAX first-load article block alignment ===== */
.single-post .entry-content .wp-block-pullquote,
.single-post .entry-content .wp-block-separator,
.single-post .entry-content hr.wp-block-separator {
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-post .entry-content .wp-block-pullquote {
  width: min(680px, calc(100% - 40px)) !important;
  max-width: 680px !important;
}


/* ===== WeChat / mobile browser restraint =====
   Desktop keeps cursor sparkles, gear progress and smooth effects.
   Mobile/WeChat uses native scrolling so the in-app browser chrome behaves cleaner. */
@media (hover: none), (pointer: coarse), (max-width: 768px) {
  html, body {
    /* Do NOT force a black background here.
       ZAXU has its own per-page/mobile color system; forcing black makes
       normal dark-gray article text unreadable in WeChat. */
    min-height: 100%;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    color-scheme: light;
  }

  body {
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }

  #cursor-star-canvas,
  #gear-progress-indicator,
  #jack-scroll-progress {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .jack-mobile-browser #cursor-star-canvas,
  .jack-mobile-browser #gear-progress-indicator,
  .jack-mobile-browser #jack-scroll-progress {
    display: none !important;
  }
}

body.page-id-976 .wpcf7 input,
body.page-id-976 .wpcf7 textarea {
  background: rgba(0, 0, 0, .16) !important;
  backdrop-filter: none !important;
}
