/* Full-width safety layer for legacy WordPress articles that are not yet
   represented by a dedicated static page in the premium theme. */
:root { --yk-ink:#0b1b2c; --yk-gold:#caa24c; --yk-paper:#f5f7fa; }
body.youjia-kinetic-premium { margin:0; background:var(--yk-paper); color:#1d2938; }
.legacy-site-header { min-height:78px; padding:0 4vw; display:flex; align-items:center; gap:34px; background:#081827; color:#fff; border-bottom:1px solid rgba(202,162,76,.35); position:relative; z-index:30; box-sizing:border-box; }
.legacy-site-header a { color:#fff; text-decoration:none; }
.legacy-brand { display:flex; align-items:center; gap:12px; font:700 14px/1.2 Arial,sans-serif; letter-spacing:.14em; white-space:nowrap; }
.legacy-mark { width:36px; height:36px; border:1px solid var(--yk-gold); display:grid; place-items:center; color:var(--yk-gold); letter-spacing:0; }
.legacy-site-header nav { display:flex; gap:26px; margin-left:auto; }
.legacy-site-header nav a { font:600 12px/1 Arial,sans-serif; letter-spacing:.12em; opacity:.82; }
.legacy-site-header nav a:hover { opacity:1; color:#e3c275; }
.legacy-header-cta { border:1px solid var(--yk-gold); padding:13px 18px; font:700 11px/1 Arial,sans-serif; letter-spacing:.1em; }
.legacy-article-shell { width:min(100% - 48px, 1240px); max-width:none; margin:0 auto; padding:64px 0 96px; box-sizing:border-box; }
.legacy-wp-title { max-width:1100px; margin:0 auto 34px; color:#152235; font:700 clamp(34px,4.2vw,62px)/1.08 Georgia,serif; letter-spacing:-.025em; }
.legacy-article-shell article { width:100%; min-width:0; }
.legacy-article-shell article > main,
.legacy-article-shell article .container,
.legacy-article-shell article .content-container,
.legacy-article-shell article .article-container,
.legacy-article-shell article .page-container,
.legacy-article-shell article .wrapper { width:100% !important; max-width:1160px !important; margin-left:auto !important; margin-right:auto !important; box-sizing:border-box !important; }
.legacy-article-shell article p,
.legacy-article-shell article li { color:#26364a; }
.legacy-article-shell article img { max-width:100%; height:auto; }
.legacy-article-shell .video-frame { min-height:clamp(320px,48vw,620px) !important; height:auto !important; background:linear-gradient(90deg,rgba(5,20,34,.55),rgba(5,20,34,.08)),url('static/assets/real-panel-mechanism.webp') center/cover no-repeat !important; border-radius:18px !important; overflow:hidden !important; box-shadow:0 22px 54px rgba(10,25,40,.16); }
.legacy-article-shell .video-frame iframe { display:none !important; }
.legacy-article-shell .video-frame::after { content:'REAL KINETIC PANEL MECHANISM'; display:flex; align-items:flex-end; min-height:inherit; padding:36px; box-sizing:border-box; color:#fff; font:700 13px/1.3 Arial,sans-serif; letter-spacing:.14em; }
.legacy-project-cta { width:min(100% - 48px, 1240px); margin:0 auto 80px; padding:48px 54px; display:flex; align-items:center; justify-content:space-between; gap:36px; background:#091b2c; color:#fff; box-sizing:border-box; }
.legacy-project-cta span { color:var(--yk-gold); font:700 11px/1 Arial,sans-serif; letter-spacing:.16em; }
.legacy-project-cta h2 { margin:12px 0 10px; color:#fff; font:600 clamp(28px,3vw,44px)/1.1 Georgia,serif; }
.legacy-project-cta p { margin:0; max-width:720px; color:#cbd5df; font:400 16px/1.7 Arial,sans-serif; }
.legacy-project-cta > a { flex:0 0 auto; padding:16px 20px; border:1px solid var(--yk-gold); color:#fff; text-decoration:none; font:700 11px/1 Arial,sans-serif; letter-spacing:.1em; }
.legacy-related-links { margin:56px 0 0; padding:28px 30px; display:flex; align-items:center; flex-wrap:wrap; gap:14px 24px; background:#f3f0e8; border-left:4px solid var(--yk-gold); }
.legacy-related-links strong { width:100%; color:#9a7427; font:700 11px/1 Arial,sans-serif; letter-spacing:.14em; }
.legacy-related-links a { color:#0b2033; font:600 15px/1.4 Arial,sans-serif; text-decoration:none; border-bottom:1px solid rgba(11,32,51,.28); }
@media (max-width:820px) {
  .legacy-site-header { padding:18px 22px; min-height:70px; }
  .legacy-site-header nav { display:none; }
  .legacy-header-cta { margin-left:auto; }
  .legacy-article-shell { width:min(100% - 28px, 1240px); padding-top:42px; }
  .legacy-project-cta { width:min(100% - 28px, 1240px); padding:34px 26px; display:block; }
  .legacy-project-cta > a { display:inline-block; margin-top:24px; }
  .legacy-related-links { padding:24px 22px; display:block; }
  .legacy-related-links a { display:block; width:max-content; max-width:100%; margin-top:14px; }
}

/* Improve contrast for the interactive kinetic walls article hero. */
body.postid-4717 .iw-hero {
  padding:clamp(38px,6vw,76px) clamp(22px,5vw,66px) !important;
  background:linear-gradient(135deg,#0a1c2d 0%,#102f49 62%,#183c55 100%) !important;
  border:1px solid rgba(202,162,76,.32);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(8,24,39,.18);
}
body.postid-4717 .iw-hero h2,
body.postid-4717 .iw-hero p { color:#fff !important; }
body.postid-4717 .iw-hero .iw-kicker { color:#e3c275 !important; }
@media (max-width:820px) {
  body.postid-4717 .iw-hero { padding:38px 20px !important; border-radius:14px; }
}

/* Fallback selector for templates that omit the WordPress post body class. */
.post-4717 .iw-hero {
  padding:clamp(38px,6vw,76px) clamp(22px,5vw,66px) !important;
  background:#0a1c2d !important;
  background-image:linear-gradient(135deg,#0a1c2d 0%,#102f49 62%,#183c55 100%) !important;
  border:1px solid rgba(202,162,76,.32) !important;
  border-radius:18px !important;
  overflow:hidden !important;
  box-shadow:0 24px 60px rgba(8,24,39,.18) !important;
}
.post-4717 .iw-hero h2,
.post-4717 .iw-hero p { color:#fff !important; }
.post-4717 .iw-hero .iw-kicker { color:#e3c275 !important; }
@media (max-width:820px) {
  .post-4717 .iw-hero { padding:38px 20px !important; border-radius:14px !important; }
}
