/*
Theme Name: ZombiManiya Gutenberg Theme
Theme URI: https://zombimaniya.ru/dayz/
Author: OpenAI
Description: Gutenberg-ready theme for ZombiManiya homepage built with native WordPress blocks.
Version: 3.0.1
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: zombimaniya-gutenberg-theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --zm-bg: #07080b;
  --zm-bg-2: #0d1016;
  --zm-card: #10151f;
  --zm-line: rgba(255,255,255,.08);
  --zm-text: #f5f7fb;
  --zm-muted: #9ba6b8;
  --zm-accent: #f05a28;
  --zm-accent-2: #ff7c4d;
  --zm-shadow: 0 12px 34px rgba(0,0,0,.32);
  --zm-radius: 20px;
  --wp--style--global--content-size: 1240px;
  --wp--style--global--wide-size: 1380px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--zm-body-bg, linear-gradient(180deg,#08090c 0%, #0b0e14 100%));
  color: var(--zm-text);
  font-family: Inter, Arial, sans-serif;
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--zm-line);
  background: var(--zm-header-bg, rgba(7,8,11,.92));
  backdrop-filter: blur(10px);
}
.site-header-inner,
.site-footer-inner {
  max-width: 1240px;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
}
.site-branding {
  flex: 0 0 auto;
  min-width: 0;
}
.site-branding a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
  display: inline-block;
}
.site-tagline {
  color: var(--zm-accent-2);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10px;
  margin-top: 5px;
  line-height: 1.1;
}
.site-header-nav-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.site-nav {
  width: 100%;
}
.site-nav .menu,
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 1.8vw, 28px);
}
.site-nav li {
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #e7ecf5;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: #fff;
}
.site-nav .wp-block-navigation__responsive-container-open,
.site-nav .wp-block-navigation__responsive-container-close {
  color: #fff;
}
.site-header-cta-wrap {
  flex: 0 0 auto;
}
.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zm-accent), var(--zm-accent-2));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(240,90,40,.24);
}
.site-main {
  min-height: 60vh;
  width: 100%;
  overflow-x: clip;
}
.entry-content {
  margin: 0;
}
.site-footer {
  border-top: 1px solid var(--zm-line);
  border-bottom: 0;
}
.site-footer-inner {
  flex-direction: column;
  align-items: flex-start;
}
.site-footer-copy {
  color: var(--zm-muted);
  font-size: 14px;
}

.zm-btn,
.wp-block-button__link.zm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(240,90,40,.24);
}
.zm-btn--primary { background: linear-gradient(135deg, var(--zm-accent), var(--zm-accent-2)); color: #fff; }
.zm-btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.16); box-shadow: none; }

.zm-section {
  padding: 72px 20px;
}
.zm-shell {
  max-width: 1240px;
  margin: 0 auto;
}
.zm-section-title {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.zm-section-subtitle {
  margin: 0 0 34px;
  color: var(--zm-muted);
  max-width: 760px;
  font-size: 18px;
}
.zm-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--zm-line);
  border-radius: var(--zm-radius);
  box-shadow: var(--zm-shadow);
}

.zm-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--zm-line);
}
.zm-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .34;
}
.zm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.7) 46%, rgba(0,0,0,.45) 100%);
}
.zm-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 86px 20px 72px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}
.zm-eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: #f8d8ce;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
}
.zm-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.zm-hero-lead {
  margin: 0 0 20px;
  color: #dce1ea;
  font-size: clamp(18px, 2vw, 22px);
  max-width: 760px;
}
.zm-hero-list { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 8px; }
.zm-hero-list li::before { content: '— '; color: var(--zm-accent-2); }
.zm-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.zm-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.zm-chip {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #e6ebf3;
  font-size: 14px;
}
.zm-hero-side { padding: 28px; }
.zm-hero-side h3 { margin: 0 0 14px; font-size: 28px; text-transform: uppercase; }
.zm-hero-side p { margin: 0 0 16px; color: var(--zm-muted); }
.zm-stat-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.zm-stat-row:last-child { border-bottom: 0; }

.zm-features-grid,
.zm-servers-grid {
  display: grid;
  gap: 20px;
}
.zm-features-grid { grid-template-columns: repeat(4, 1fr); }
.zm-feature-card,
.zm-server-card {
  padding: 24px;
}
.zm-feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240,90,40,.24), rgba(255,124,77,.18));
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 16px;
  font-size: 20px;
}
.zm-feature-card h3,
.zm-server-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  text-transform: uppercase;
}
.zm-feature-card p,
.zm-server-card p,
.zm-rules-text,
.zm-seo-text {
  color: var(--zm-muted);
}

.zm-servers-grid {
  grid-template-columns: repeat(3, 1fr);
}
.zm-server-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
}
.zm-server-media {
  min-height: 220px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.zm-server-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.6));
}
.zm-server-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.zm-server-tag {
  color: #ffd3c6;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}
.zm-server-actions { margin-top: auto; }

.zm-rules,
.zm-seo {
  padding: 70px 20px;
}
.zm-rules-card,
.zm-seo-card {
  padding: 34px;
}
.zm-rules-card {
  text-align: center;
  background: linear-gradient(180deg, rgba(240,90,40,.12), rgba(255,255,255,.02)), var(--zm-bg-2);
}
.zm-rules-card h2,
.zm-seo-card h2 { margin-top: 0; text-transform: uppercase; }

.wp-block-group.alignfull,
.wp-block-zombimaniya-hero.alignfull,
.wp-block-zombimaniya-features.alignfull,
.wp-block-zombimaniya-servers.alignfull,
.wp-block-zombimaniya-rules.alignfull,
.wp-block-zombimaniya-seo.alignfull {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .zm-hero-inner,
  .zm-features-grid,
  .zm-servers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-header-inner {
    flex-wrap: wrap;
    align-items: center;
  }
  .site-header-nav-wrap {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    width: 100%;
  }
  .site-nav .menu,
  .site-nav ul {
    justify-content: flex-start;
    gap: 14px 18px;
  }
}

@media (max-width: 780px) {
  .site-header-inner,
  .site-footer-inner {
    width: min(100%, calc(100% - 24px));
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
  }
  .site-branding a {
    font-size: 18px;
  }
  .site-tagline {
    font-size: 9px;
    letter-spacing: .18em;
  }
  .site-header-nav-wrap,
  .site-header-cta-wrap {
    width: 100%;
  }
  .site-nav .menu,
  .site-nav ul {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 14px;
  }
  .site-nav a {
    font-size: 12px;
  }
  .site-header-cta {
    width: 100%;
    min-height: 44px;
  }
  .zm-hero-inner {
    padding-top: 64px;
  }
  .zm-section,
  .zm-rules,
  .zm-seo { padding: 56px 16px; }
  .container { width: min(100%, calc(100% - 24px)); }
}

@media (max-width: 560px) {
  .site-branding a {
    font-size: 17px;
    letter-spacing: .04em;
  }
  .site-nav .menu,
  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .site-nav li {
    width: 100%;
  }
  .site-nav a {
    display: block;
    width: 100%;
  }
}


/* Mockup pattern styles */
.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}
.section { padding: 72px 0; }
.section-title {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.section-subtitle {
  max-width: 760px;
  color: #b3b3b8;
  margin: 0 0 36px;
  font-size: 18px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; transition: .2s ease; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #c43a22 0%, #ff6a3d 100%); color:#fff; box-shadow:0 10px 24px rgba(196,58,34,.25);}
.btn-secondary { background: transparent; color:#fff; border-color:rgba(255,255,255,.16);}
.status-line { border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); background:linear-gradient(90deg, rgba(196,58,34,.12), rgba(255,255,255,0)); }
.status-line .container { padding:10px 0; color:#f6d8ce; font-size:14px; letter-spacing:.05em; text-transform:uppercase; }
.hero { position:relative; overflow:hidden; padding:88px 0 72px; border-bottom:1px solid rgba(255,255,255,.08); }
.hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,.3) 100%), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; opacity:.32; filter:contrast(1.1) saturate(.8); pointer-events:none; }
.hero-grid { position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:28px; align-items:center; }
.eyebrow { display:inline-block; padding:8px 14px; border:1px solid rgba(255,255,255,.12); border-radius:999px; color:#f6d8ce; text-transform:uppercase; letter-spacing:.12em; font-size:12px; margin-bottom:20px; background:rgba(255,255,255,.03); }
.hero h1 { margin:0 0 18px; font-size:clamp(40px, 6vw, 78px); line-height:.95; letter-spacing:.01em; text-transform:uppercase; max-width:820px; }
.hero p.lead { margin:0 0 20px; max-width:760px; color:#d6d6da; font-size:clamp(18px, 2vw, 22px); }
.hero-list { margin:0 0 26px; padding:0; list-style:none; display:grid; gap:8px; color:#f1f1f1; font-size:18px; }
.hero-list li::before { content:"— "; color:#ff6a3d; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:24px; }
.hero-meta { display:flex; flex-wrap:wrap; gap:12px; }
.chip { padding:10px 14px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius:999px; color:#ddd; font-size:14px; }
.hero-card { background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); border:1px solid rgba(255,255,255,.08); border-radius:28px; padding:28px; box-shadow:0 12px 32px rgba(0,0,0,.35); }
.hero-card h3 { margin:0 0 16px; font-size:24px; text-transform:uppercase; }
.hero-card p { margin:0 0 14px; color:#b3b3b8; }
.hero-card .stat { display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.08); color:#ececef; }
.hero-card .stat:last-of-type { border-bottom:0; }
.grid-4,.grid-3,.grid-2{display:grid;gap:20px;}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
.card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:24px; box-shadow:0 12px 32px rgba(0,0,0,.35); }
.card h3,.card h4 { margin:0 0 10px; text-transform:uppercase; letter-spacing:.03em; }
.card p { margin:0; color:#b3b3b8; }
.icon { width:46px; height:46px; display:inline-flex; align-items:center; justify-content:center; border-radius:14px; background:linear-gradient(135deg, rgba(196,58,34,.25), rgba(255,106,61,.18)); border:1px solid rgba(255,255,255,.08); margin-bottom:16px; font-size:20px; }
.server-card { display:flex; flex-direction:column; overflow:hidden; padding:0; }
.server-media { min-height:220px; background-size:cover; background-position:center; position:relative; }
.server-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.6)); }
.server-body { padding:24px; }
.server-tag { display:inline-block; margin-bottom:12px; color:#ffd3c6; font-size:12px; text-transform:uppercase; letter-spacing:.12em; }
.server-body p { margin-bottom:18px; }
.pain { background:linear-gradient(135deg, rgba(196,58,34,.10), rgba(255,255,255,.01)), #131316; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }
.pain-box { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.pain .panel { padding:32px; border-radius:24px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03); }
.pain .panel h3 { margin-top:0; font-size:26px; text-transform:uppercase; }
.pain .panel ul { margin:18px 0 0; padding-left:18px; color:#b3b3b8; }
.pain .panel li { margin-bottom:10px; }
.launcher { position:relative; overflow:hidden; }
.launcher-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:center; }
.mockup { border-radius:24px; background:linear-gradient(180deg, #1b1b21, #111116); border:1px solid rgba(255,255,255,.08); box-shadow:0 12px 32px rgba(0,0,0,.35); overflow:hidden; }
.mockup-top { display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03); }
.dot { width:10px; height:10px; border-radius:50%; background:#666; }
.dot.red{background:#d05c4b;} .dot.yellow{background:#d6aa51;} .dot.green{background:#62b56c;}
.mockup-content{padding:18px;}
.launcher-ui{display:grid;grid-template-columns:220px 1fr;gap:16px;}
.launcher-sidebar,.launcher-main{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:16px;}
.ui-line{height:12px;margin-bottom:10px;border-radius:999px;background:linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.04));}
.ui-line.accent{background:linear-gradient(90deg, rgba(196,58,34,.85), rgba(255,106,61,.45));} .ui-line.short{width:52%;} .ui-line.mid{width:72%;}
.experience-list{display:grid;gap:14px;margin-top:22px;}
.experience-item{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.03);}
.experience-item strong{display:block;margin-bottom:4px;text-transform:uppercase;}
.experience-item span{color:#b3b3b8;}
.steps .step{position:relative;padding-left:84px;min-height:64px;}
.step-num{position:absolute;left:0;top:0;width:58px;height:58px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#c43a22,#ff6a3d);font-size:24px;font-weight:800;box-shadow:0 10px 22px rgba(196,58,34,.28);}
.news-card small,.rule-box small{display:inline-block;margin-bottom:10px;color:#f1c7ba;text-transform:uppercase;letter-spacing:.12em;}
.rule-box{text-align:center;padding:34px;background:linear-gradient(180deg, rgba(196,58,34,.12), rgba(255,255,255,.02)), #1a1a1f;border:1px solid rgba(255,255,255,.08);border-radius:26px;box-shadow:0 12px 32px rgba(0,0,0,.35);}
.rule-box h2{margin:0 0 12px;text-transform:uppercase;}
.rule-box p{color:#b3b3b8;max-width:760px;margin:0 auto 22px;}
.seo-block{color:#c9c9cf;font-size:16px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:28px;}
.seo-block strong{color:#fff;}
@media (max-width:1100px){.hero-grid,.launcher-grid,.pain-box,.grid-4,.grid-3,.grid-2{grid-template-columns:1fr;}.launcher-ui{grid-template-columns:1fr;}}
@media (max-width:820px){.hero{padding-top:64px;}.hero h1{font-size:clamp(34px,9vw,54px);}.section{padding:58px 0;}}


/* Gutenberg editable pattern compatibility */
.wp-block-button.btn { display:inline-flex; }
.wp-block-buttons.hero-actions { gap:14px; }
.wp-block-button.btn .wp-block-button__link,
.wp-block-button.btn .wp-element-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 24px;
  border-radius:999px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  transition:.2s ease;
  border:1px solid transparent;
  text-decoration:none;
}
.wp-block-button.btn:hover .wp-block-button__link,
.wp-block-button.btn:hover .wp-element-button { transform:translateY(-2px); }
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-element-button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color:#fff;
  box-shadow:0 10px 24px rgba(196,58,34,.25);
}
.wp-block-button.btn-secondary .wp-block-button__link,
.wp-block-button.btn-secondary .wp-element-button {
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.16);
}
.hero .wp-block-cover, .server-media .wp-block-cover { min-height:0; }
.hero-card .wp-block-buttons .wp-block-button { width:100%; }
.hero-card .wp-block-buttons .wp-block-button .wp-block-button__link { width:100%; }
.server-card .wp-block-cover__inner-container { display:none; }


/* Immersive motion, reveal, parallax, light, and depth */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(24px);
  opacity: .65;
}
body::before {
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(240,90,40,.24) 0%, rgba(240,90,40,.08) 38%, rgba(240,90,40,0) 70%);
}
body::after {
  left: -160px;
  bottom: 10vh;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(85,120,255,.12) 0%, rgba(85,120,255,.05) 40%, rgba(85,120,255,0) 74%);
}
.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}
.zm-scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  z-index: 60;
  transform-origin: left center;
  transform: scaleX(var(--zm-scroll-progress, 0));
  background: linear-gradient(90deg, var(--zm-accent), var(--zm-accent-2), rgba(255,255,255,.85));
  box-shadow: 0 0 18px rgba(240,90,40,.45);
  pointer-events: none;
}
.zm-glow-section,
.zm-hero,
.hero,
.section,
.zm-section,
.wp-block-group.section,
.pain,
.launcher,
.rule-box,
.seo-block,
.mockup,
.card,
.zm-card,
.experience-item,
.zm-feature-card,
.zm-server-card,
.hero-card,
.zm-hero-side {
  position: relative;
  isolation: isolate;
}
.zm-glow-section::before,
.hero::after,
.zm-hero::after,
.rule-box::before,
.seo-block::before,
.mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}
.hero::after,
.zm-hero::after {
  inset: 12% auto auto 56%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,124,77,.18), rgba(255,124,77,.04) 42%, rgba(255,124,77,0) 72%);
  filter: blur(10px);
}
.rule-box::before,
.seo-block::before,
.mockup::before {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  opacity: .55;
}
.hero::before {
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.08);
  transition: transform .18s linear;
}
.zm-hero-media {
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.06);
  transition: transform .18s linear;
  will-change: transform;
}
.zm-section,
.section,
.wp-block-group.section,
.card,
.zm-card,
.experience-item,
.rule-box,
.seo-block,
.mockup,
.hero-card,
.zm-hero-side {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(.985);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
  will-change: transform, opacity;
}
.zm-is-visible {
  opacity: 1 !important;
  transform: translate3d(0,0,0) scale(1) !important;
}
.card,
.zm-card,
.mockup,
.hero-card,
.zm-hero-side,
.experience-item,
.rule-box,
.seo-block,
.zm-feature-card,
.zm-server-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.card:hover,
.zm-card:hover,
.mockup:hover,
.hero-card:hover,
.zm-hero-side:hover,
.experience-item:hover,
.rule-box:hover,
.seo-block:hover,
.zm-feature-card:hover,
.zm-server-card:hover {
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 26px 54px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.zm-3d-hover {
  transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header {
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
}
.zm-parallax-band {
  position: absolute;
  inset: auto -10% -10% -10%;
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(255,124,77,.1), rgba(255,124,77,0) 70%);
  filter: blur(12px);
  pointer-events: none;
  transform: translate3d(0, calc(var(--section-shift, 0px) * 1px), 0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zm-section,
  .section,
  .wp-block-group.section,
  .card,
  .zm-card,
  .experience-item,
  .rule-box,
  .seo-block,
  .mockup,
  .hero-card,
  .zm-hero-side,
  .hero::before,
  .zm-hero-media,
  .zm-3d-hover {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .zm-scroll-progress,
  body::before,
  body::after { display: none; }
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(240,90,40,.18);
  background: rgba(7,8,11,.94);
}
.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.site-branding {
  min-width: 280px;
}
.site-branding a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: .9;
}
.site-tagline {
  color: var(--zm-accent-2);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 12px;
  margin-top: 10px;
}
.site-header-nav-wrap {
  display: flex;
  justify-content: center;
}
.site-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}
.site-nav .menu,
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
}
.site-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #f0f2f6;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease, opacity .2s ease;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: #fff;
}
.site-header-cta-wrap {
  display: flex;
  justify-content: flex-end;
}
.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zm-accent), var(--zm-accent-2));
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .06em;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 12px 30px rgba(240,90,40,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.site-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 16px 36px rgba(240,90,40,.34);
}

@media (max-width: 1100px) {
  .site-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .site-branding {
    min-width: 0;
  }
  .site-header-nav-wrap,
  .site-header-cta-wrap {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .site-header-inner {
    padding: 18px 16px;
  }
  .site-nav .menu,
  .site-nav ul {
    gap: 14px 18px;
  }
  .site-nav a {
    font-size: 13px;
  }
  .site-header-cta {
    min-height: 52px;
    padding: 0 28px;
  }
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

.wp-site-blocks,
.entry-content,
.site-main > * {
  min-width: 0;
}

@media (max-width: 1100px) {
  .hero-grid, .launcher-grid, .pain-box, .footer-grid, .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .launcher-ui {
    grid-template-columns: 1fr;
  }
}


/* Header logo exact fix */
.site-branding {
  min-width: 0;
}
.site-branding__link {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.site-branding__title {
  display: inline-block;
  color: #fff;
  font-size: clamp(18px, 2.05vw, 28px) !important;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: .95;
}
.site-branding__subtitle {
  display: block;
  margin-top: 6px;
  color: var(--zm-accent-2);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 9px !important;
  line-height: 1.1;
}
.site-branding a {
  font-size: inherit !important;
}
@media (max-width: 680px) {
  .site-branding__title {
    font-size: 18px !important;
  }
  .site-branding__subtitle {
    font-size: 8px !important;
    letter-spacing: .2em;
  }
}


/* v2.3.2 Cyber Neon buttons */
body.zmg-preset-cyber .btn,
body.zmg-preset-cyber .wp-block-button__link,
body.zmg-preset-cyber .site-header .header-cta,
:root body.zmg-preset-cyber .btn,
:root body.zmg-preset-cyber .wp-block-button__link,
:root body.zmg-preset-cyber .site-header .header-cta {
  position: relative;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px !important;
  border: 1px solid rgba(107, 255, 245, .35) !important;
  background:
    linear-gradient(180deg, rgba(12, 33, 48, .92), rgba(8, 22, 34, .92)) !important;
  color: #dcffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 1px rgba(79, 240, 255, .08),
    0 10px 26px rgba(15, 120, 150, .18),
    0 0 18px rgba(70, 255, 240, .10) !important;
  text-transform: none !important;
  letter-spacing: .02em !important;
  font-weight: 600 !important;
}

body.zmg-preset-cyber .btn::before,
body.zmg-preset-cyber .wp-block-button__link::before,
body.zmg-preset-cyber .site-header .header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(125,255,247,.12), transparent 35%),
    linear-gradient(90deg, rgba(85,245,255,.06), transparent 20%, transparent 80%, rgba(85,245,255,.06));
}

body.zmg-preset-cyber .btn:hover,
body.zmg-preset-cyber .wp-block-button__link:hover,
body.zmg-preset-cyber .site-header .header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(125,255,247,.6) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px rgba(79, 240, 255, .14),
    0 12px 28px rgba(15, 120, 150, .24),
    0 0 24px rgba(70, 255, 240, .18) !important;
}

body.zmg-preset-cyber .btn-primary,
body.zmg-preset-cyber .wp-block-button__link,
body.zmg-preset-cyber .site-header .header-cta {
  background:
    linear-gradient(180deg, rgba(14, 42, 58, .96), rgba(8, 24, 36, .96)) !important;
}

body.zmg-preset-cyber .btn-secondary {
  background:
    linear-gradient(180deg, rgba(8, 21, 32, .76), rgba(7, 16, 26, .76)) !important;
  color: #bffcff !important;
}

body.zmg-preset-cyber .btn .btn-label,
body.zmg-preset-cyber .wp-block-button__link .btn-label {
  position: relative;
  z-index: 1;
}

body.zmg-preset-cyber .hero-actions .btn,
body.zmg-preset-cyber .launcher .btn,
body.zmg-preset-cyber .rule-box .btn {
  min-width: 160px;
}

@media (max-width: 820px) {
  body.zmg-preset-cyber .btn,
  body.zmg-preset-cyber .wp-block-button__link,
  body.zmg-preset-cyber .site-header .header-cta {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px !important;
    font-size: 14px;
  }
}


/* v2.3.3 Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--zm-line, rgba(255,255,255,.08));
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: var(--zm-shadow, 0 12px 32px rgba(0,0,0,.35));
  overflow: hidden;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 34%);
}
.testimonial-stars {
  margin-bottom: 16px;
  color: #ffd34d;
  letter-spacing: .18em;
  font-size: 15px;
  text-shadow: 0 0 12px rgba(255, 211, 77, .18);
}
.testimonial-title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
  text-transform: uppercase;
}
.testimonial-text {
  margin: 0 0 18px;
  color: var(--zm-muted, #b3b3b8);
  line-height: 1.6;
}
.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--zm-line, rgba(255,255,255,.08));
  background: rgba(255,255,255,.03);
  color: var(--zm-text, #f2f2f2);
  font-size: 14px;
}
.testimonial-author strong {
  color: var(--zm-accent-2, #ff6a3d);
}
body.zmg-preset-cyber .testimonial-card {
  background: linear-gradient(180deg, rgba(10, 27, 40, .92), rgba(7, 19, 29, .94));
  border-color: rgba(85,245,255,.16);
  box-shadow:
    0 0 0 1px rgba(79,240,255,.06),
    0 14px 34px rgba(10, 80, 100, .14),
    0 0 18px rgba(70,255,240,.06);
}
body.zmg-preset-cyber .testimonial-title {
  color: #e9fbff;
}
body.zmg-preset-cyber .testimonial-author strong {
  color: #7bfff6;
}
@media (max-width: 1100px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}


/* v2.3.4 Testimonials avatars + average rating */
.testimonials-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom: 24px;
}
.testimonials-rating {
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--zm-line, rgba(255,255,255,.08));
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--zm-shadow, 0 12px 32px rgba(0,0,0,.35));
  white-space: nowrap;
}
.testimonials-rating__stars {
  color:#ffd34d;
  letter-spacing:.14em;
  font-size:15px;
  text-shadow: 0 0 12px rgba(255, 211, 77, .18);
}
.testimonials-rating__score {
  font-size: 16px;
  font-weight: 700;
  color: var(--zm-text, #f2f2f2);
}
.testimonials-rating__label {
  font-size: 13px;
  color: var(--zm-muted, #b3b3b8);
}

.testimonial-author {
  display:flex;
  align-items:center;
  gap:12px;
  padding:0;
  border:none;
  background:none;
}
.testimonial-avatar {
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:700;
  color:#eaffff;
  border:1px solid var(--zm-line, rgba(255,255,255,.08));
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.testimonial-author__meta {
  display:flex;
  flex-direction:column;
  gap:2px;
}
.testimonial-author__label {
  font-size:12px;
  color: var(--zm-muted, #b3b3b8);
}
.testimonial-author__name {
  font-size:14px;
  font-weight:700;
  color: var(--zm-accent-2, #ff6a3d);
}

body.zmg-preset-cyber .testimonials-rating {
  background: linear-gradient(180deg, rgba(10, 27, 40, .92), rgba(7, 19, 29, .94));
  border-color: rgba(85,245,255,.16);
  box-shadow:
    0 0 0 1px rgba(79,240,255,.06),
    0 14px 34px rgba(10, 80, 100, .14),
    0 0 18px rgba(70,255,240,.06);
}
body.zmg-preset-cyber .testimonials-rating__score { color:#e9fbff; }
body.zmg-preset-cyber .testimonial-avatar {
  border-color: rgba(85,245,255,.18);
  background:
    radial-gradient(circle at top, rgba(123,255,246,.18), transparent 55%),
    linear-gradient(180deg, rgba(12, 33, 48, .92), rgba(8, 22, 34, .92));
  box-shadow:
    0 0 0 1px rgba(79,240,255,.08),
    0 0 16px rgba(70,255,240,.08),
    inset 0 1px 0 rgba(255,255,255,.06);
}
body.zmg-preset-cyber .testimonial-author__name { color:#7bfff6; }

@media (max-width: 900px) {
  .testimonials-top {
    flex-direction:column;
    align-items:flex-start;
  }
}


/* v2.3.5 Neon avatars with icons */
.testimonial-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.testimonial-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--avatar-color, #7bfff6), rgba(255,255,255,.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.testimonial-avatar__inner {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(12, 33, 48, .96), rgba(8, 22, 34, .96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 14px color-mix(in srgb, var(--avatar-color, #7bfff6) 18%, transparent);
}
.testimonial-avatar__icon {
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--avatar-color, #7bfff6) 28%, transparent));
}
.testimonial-avatar--cyan { --avatar-color: #7bfff6; }
.testimonial-avatar--violet { --avatar-color: #8aa0ff; }
.testimonial-avatar--amber { --avatar-color: #ffd34d; }

body.zmg-preset-cyber .testimonial-avatar {
  box-shadow:
    0 0 0 1px rgba(79,240,255,.08),
    0 0 18px color-mix(in srgb, var(--avatar-color, #7bfff6) 16%, transparent);
}
body.zmg-preset-cyber .testimonial-avatar__inner {
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--avatar-color, #7bfff6) 14%, transparent), transparent 58%),
    linear-gradient(180deg, rgba(10, 27, 40, .96), rgba(7, 19, 29, .96));
}


/* v2.3.6 strict game-style testimonial icons */
.testimonial-avatar__icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
  font-size: 0;
  line-height: 0;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--avatar-color, #7bfff6) 28%, transparent));
}
.testimonial-avatar__icon::before,
.testimonial-avatar__icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

/* Crosshair */
.testimonial-avatar__icon--crosshair::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.testimonial-avatar__icon--crosshair::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: currentColor;
  transform: translateX(-50%);
  box-shadow:
    -8px 8px 0 -7px currentColor,
    8px 8px 0 -7px currentColor,
    0 0 0 999px transparent;
}
.testimonial-avatar__icon--crosshair {
  color: var(--avatar-color, #7bfff6);
}
.testimonial-avatar__icon--crosshair span {
  display:none;
}
.testimonial-avatar__icon--crosshair i {
  display:none;
}

/* Moon / stealth */
.testimonial-avatar__icon--crescent::before {
  width: 14px;
  height: 14px;
  right: 1px;
  top: 2px;
  border-radius: 50%;
  background: currentColor;
}
.testimonial-avatar__icon--crescent::after {
  width: 12px;
  height: 12px;
  right: -1px;
  top: 1px;
  border-radius: 50%;
  background: rgba(8, 22, 34, .96);
}
body.zmg-preset-cyber .testimonial-avatar__icon--crescent::after {
  background: linear-gradient(180deg, rgba(10, 27, 40, .96), rgba(7, 19, 29, .96));
}
.testimonial-avatar__icon--crescent {
  color: var(--avatar-color, #8aa0ff);
}

/* Bolt */
.testimonial-avatar__icon--bolt::before {
  left: 7px;
  top: 1px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 2px solid transparent;
  border-top: 0 solid transparent;
  border-bottom: 10px solid currentColor;
  transform: skewX(-12deg);
}
.testimonial-avatar__icon--bolt::after {
  left: 5px;
  top: 8px;
  width: 0;
  height: 0;
  border-left: 2px solid transparent;
  border-right: 4px solid transparent;
  border-top: 10px solid currentColor;
  border-bottom: 0 solid transparent;
  transform: skewX(-12deg);
}
.testimonial-avatar__icon--bolt {
  color: var(--avatar-color, #ffd34d);
}


/* v2.3.7 Project links / utility cards */
.utility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.utility-card {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--zm-line, rgba(255,255,255,.08));
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: var(--zm-shadow, 0 12px 32px rgba(0,0,0,.35));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.utility-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 34%);
  pointer-events: none;
}
.utility-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--zm-line, rgba(255,255,255,.08));
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color: var(--zm-accent-2, #ff6a3d);
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.utility-card h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.utility-card p {
  margin: 0 0 18px;
  color: var(--zm-muted, #b3b3b8);
  line-height: 1.6;
  flex: 1 1 auto;
}
.utility-card .btn {
  align-self: flex-start;
  margin-top: auto;
}
body.zmg-preset-cyber .utility-card {
  background: linear-gradient(180deg, rgba(10, 27, 40, .92), rgba(7, 19, 29, .94));
  border-color: rgba(85,245,255,.16);
  box-shadow:
    0 0 0 1px rgba(79,240,255,.06),
    0 14px 34px rgba(10, 80, 100, .14),
    0 0 18px rgba(70,255,240,.06);
}
body.zmg-preset-cyber .utility-icon {
  border-color: rgba(85,245,255,.18);
  background:
    radial-gradient(circle at top, rgba(123,255,246,.14), transparent 58%),
    linear-gradient(180deg, rgba(12, 33, 48, .96), rgba(8, 22, 34, .96));
  color: #7bfff6;
  box-shadow:
    0 0 0 1px rgba(79,240,255,.08),
    0 0 16px rgba(70,255,240,.08),
    inset 0 1px 0 rgba(255,255,255,.06);
}
@media (max-width: 1200px) {
  .utility-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .utility-grid { grid-template-columns: 1fr; }
}





/* v2.3.9 SVG military HUD icons */
.utility-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--zm-line, rgba(255,255,255,.08));
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  color: var(--zm-accent-2, #ff6a3d);
}
.utility-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.zmg-preset-cyber .utility-icon {
  border-color: rgba(85,245,255,.18);
  background:
    radial-gradient(circle at top, rgba(123,255,246,.14), transparent 58%),
    linear-gradient(180deg, rgba(12, 33, 48, .96), rgba(8, 22, 34, .96));
  color: #7bfff6;
  box-shadow:
    0 0 0 1px rgba(79,240,255,.08),
    0 0 16px rgba(70,255,240,.08),
    inset 0 1px 0 rgba(255,255,255,.06);
}


/* v2.4.0 unified SVG icon system */
.zm-svg-icon,
.utility-icon,
.testimonial-avatar__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zm-svg-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--zm-line, rgba(255,255,255,.08));
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color: var(--zm-accent-2, #ff6a3d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  margin-bottom: 16px;
}

.zm-svg-icon svg,
.utility-icon svg,
.testimonial-avatar__inner svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.zmg-preset-cyber .zm-svg-icon,
body.zmg-preset-cyber .utility-icon {
  border-color: rgba(85,245,255,.18);
  background:
    radial-gradient(circle at top, rgba(123,255,246,.14), transparent 58%),
    linear-gradient(180deg, rgba(12, 33, 48, .96), rgba(8, 22, 34, .96));
  color: #7bfff6;
  box-shadow:
    0 0 0 1px rgba(79,240,255,.08),
    0 0 16px rgba(70,255,240,.08),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.icon {
  width: auto;
  height: auto;
  background: none;
  border: 0;
  margin-bottom: 0;
}

/* testimonials avatars in unified SVG style */
.testimonial-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.testimonial-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--avatar-color, #7bfff6), rgba(255,255,255,.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.testimonial-avatar__inner {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(12, 33, 48, .96), rgba(8, 22, 34, .96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 14px color-mix(in srgb, var(--avatar-color, #7bfff6) 18%, transparent);
  color: var(--avatar-color, #7bfff6);
}
.testimonial-avatar__inner svg {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--avatar-color, #7bfff6) 28%, transparent));
}
.testimonial-avatar--cyan { --avatar-color: #7bfff6; }
.testimonial-avatar--violet { --avatar-color: #8aa0ff; }
.testimonial-avatar--amber { --avatar-color: #ffd34d; }

/* utility icon sizing */
.utility-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 16px;
}


/* v2.4.1 unified design system */
:root {
  --zm-radius-sm: 12px;
  --zm-radius-md: 18px;
  --zm-radius-lg: 24px;
  --zm-panel-bg: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  --zm-panel-border: var(--zm-line, rgba(255,255,255,.08));
  --zm-panel-shadow: var(--zm-shadow, 0 12px 32px rgba(0,0,0,.35));
  --zm-chip-bg: rgba(255,255,255,.05);
}

body.zmg-preset-cyber {
  --zm-panel-bg: linear-gradient(180deg, rgba(10, 27, 40, .92), rgba(7, 19, 29, .94));
  --zm-panel-border: rgba(85,245,255,.16);
  --zm-panel-shadow:
    0 0 0 1px rgba(79,240,255,.06),
    0 14px 34px rgba(10, 80, 100, .14),
    0 0 18px rgba(70,255,240,.06);
  --zm-chip-bg: linear-gradient(180deg, rgba(12, 33, 48, .82), rgba(8, 22, 34, .82));
}

.card,
.server-card,
.rule-box,
.seo-block,
.pain .panel,
.mockup,
.experience-item,
.step,
.news-card,
.hero-card,
.testimonial-card,
.utility-card,
.launcher-sidebar,
.launcher-main {
  background: var(--zm-panel-bg) !important;
  border: 1px solid var(--zm-panel-border) !important;
  border-radius: var(--zm-radius-md) !important;
  box-shadow: var(--zm-panel-shadow) !important;
}

.mockup,
.rule-box,
.hero-card {
  border-radius: var(--zm-radius-lg) !important;
}

.btn,
.wp-block-button__link,
.site-header .header-cta {
  position: relative;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--zm-radius-sm) !important;
  border: 1px solid var(--zm-panel-border) !important;
  background: var(--zm-panel-bg) !important;
  color: var(--zm-text, #fff) !important;
  box-shadow: var(--zm-panel-shadow) !important;
  text-transform: none !important;
  letter-spacing: .02em !important;
  font-weight: 600 !important;
}

.btn::before,
.wp-block-button__link::before,
.site-header .header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 36%);
}

.btn-primary,
.wp-block-button__link,
.site-header .header-cta {
  background: linear-gradient(135deg, var(--zm-accent, #f05a28) 0%, var(--zm-accent-2, #ff7c4d) 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--zm-accent, #f05a28) 26%, transparent) !important;
}

body.zmg-preset-cyber .btn-primary,
body.zmg-preset-cyber .wp-block-button__link,
body.zmg-preset-cyber .site-header .header-cta {
  background: linear-gradient(180deg, rgba(14, 42, 58, .96), rgba(8, 24, 36, .96)) !important;
  border-color: rgba(107,255,245,.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 1px rgba(79,240,255,.08),
    0 10px 26px rgba(15,120,150,.18),
    0 0 18px rgba(70,255,240,.10) !important;
}

.btn-secondary {
  background: var(--zm-panel-bg) !important;
  border-color: var(--zm-panel-border) !important;
  color: var(--zm-text, #fff) !important;
}

.btn:hover,
.wp-block-button__link:hover,
.site-header .header-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.chip,
.eyebrow,
.server-tag,
.news-card small,
.rule-box small,
.testimonials-rating,
.testimonial-author,
.testimonial-stars {
  border: 1px solid var(--zm-panel-border) !important;
  background: var(--zm-chip-bg) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.eyebrow,
.server-tag,
.news-card small,
.rule-box small {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--zm-accent-2, #ff6a3d) !important;
  letter-spacing: .08em !important;
}

.testimonials-rating {
  border-radius: var(--zm-radius-sm) !important;
}

.site-nav a,
nav a {
  position: relative;
}
.site-nav a::after,
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  opacity: .45;
  transition: transform .2s ease;
}
.site-nav a:hover::after,
nav a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 820px) {
  .btn,
  .wp-block-button__link,
  .site-header .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }
}


/* v2.4.2 section titles + forms + FAQ unified */
.section-title,
.rule-box h2,
.hero-card h3,
.testimonial-title,
.utility-card h3,
.server-body h3,
.card h3,
.card h4 {
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  color: var(--zm-text, #fff) !important;
}

.section-title {
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--zm-accent, #f05a28), transparent);
  opacity: .9;
}
body.zmg-preset-cyber .section-title::after {
  background: linear-gradient(90deg, var(--zm-accent, #37e7ff), transparent);
  box-shadow: 0 0 14px rgba(70,255,240,.14);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: var(--zm-radius-sm, 12px);
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  color: var(--zm-text, #fff);
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
  outline: none;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--zm-muted, #9ba6b8);
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--zm-accent-2, #ff7c4d);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--zm-accent-2, #ff7c4d) 35%, transparent),
    var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
body.zmg-preset-cyber input:focus,
body.zmg-preset-cyber textarea:focus,
body.zmg-preset-cyber select:focus {
  border-color: rgba(123,255,246,.45);
  box-shadow:
    0 0 0 1px rgba(79,240,255,.16),
    0 0 18px rgba(70,255,240,.08),
    var(--zm-panel-shadow);
}

.faq-list,
.faq-grid {
  display: grid;
  gap: 16px;
}
.faq-item,
details.wp-block-details,
details {
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  border-radius: var(--zm-radius-md, 18px);
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
  overflow: hidden;
}
.faq-item__question,
details summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--zm-text, #fff);
  position: relative;
}
details summary::-webkit-details-marker {
  display: none;
}
.faq-item__question::after,
details summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--zm-accent-2, #ff7c4d);
  font-size: 18px;
}
details[open] summary::after {
  content: "–";
}
.faq-item__answer,
details > *:not(summary) {
  padding: 0 18px 18px;
  color: var(--zm-muted, #9ba6b8);
  line-height: 1.6;
}
body.zmg-preset-cyber .faq-item__question::after,
body.zmg-preset-cyber details summary::after {
  color: #7bfff6;
  text-shadow: 0 0 10px rgba(70,255,240,.14);
}


/* v2.4.3 tables + lists + news cards + steps unified */
table,
.wp-block-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  border-radius: var(--zm-radius-md, 18px);
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
table th,
table td,
.wp-block-table th,
.wp-block-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  text-align: left;
}
table th,
.wp-block-table th {
  color: var(--zm-text, #fff);
  font-weight: 700;
  background: rgba(255,255,255,.03);
}
table td,
.wp-block-table td {
  color: var(--zm-muted, #9ba6b8);
}
table tr:last-child td,
.wp-block-table tr:last-child td {
  border-bottom: 0;
}

ul:not(.hero-list):not(.blocks-gallery-grid):not(.wp-block-social-links),
ol {
  padding-left: 22px;
  color: var(--zm-muted, #9ba6b8);
}
ul:not(.hero-list):not(.blocks-gallery-grid):not(.wp-block-social-links) li,
ol li {
  margin-bottom: 10px;
  line-height: 1.65;
}
ul:not(.hero-list):not(.blocks-gallery-grid):not(.wp-block-social-links) li::marker,
ol li::marker {
  color: var(--zm-accent-2, #ff7c4d);
}
body.zmg-preset-cyber ul:not(.hero-list):not(.blocks-gallery-grid):not(.wp-block-social-links) li::marker,
body.zmg-preset-cyber ol li::marker {
  color: #7bfff6;
}

.news-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 34%);
}
.news-card > * {
  position: relative;
  z-index: 1;
}
.news-card h3 {
  margin: 0 0 12px;
  min-height: 2.5em;
}
.news-card p {
  margin: 0;
}
.news-card small {
  margin-bottom: 14px !important;
}
body.zmg-preset-cyber .news-card {
  box-shadow:
    0 0 0 1px rgba(79,240,255,.06),
    0 14px 34px rgba(10, 80, 100, .14),
    0 0 18px rgba(70,255,240,.06);
}

.steps .step {
  position: relative;
  padding: 24px 24px 24px 92px;
  min-height: 90px;
}
.step-num {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--zm-accent, #f05a28), var(--zm-accent-2, #ff7c4d));
  box-shadow:
    0 10px 22px color-mix(in srgb, var(--zm-accent, #f05a28) 28%, transparent);
}
body.zmg-preset-cyber .step-num {
  background: linear-gradient(180deg, rgba(14, 42, 58, .96), rgba(8, 24, 36, .96));
  border: 1px solid rgba(107,255,245,.35);
  color: #dcffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 1px rgba(79,240,255,.08),
    0 10px 26px rgba(15,120,150,.18),
    0 0 18px rgba(70,255,240,.10);
}

.wp-block-latest-posts,
.wp-block-categories,
.wp-block-archives {
  padding: 18px 20px;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  border-radius: var(--zm-radius-md, 18px);
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
.wp-block-latest-posts li,
.wp-block-categories li,
.wp-block-archives li {
  margin-bottom: 12px;
}
.wp-block-latest-posts li:last-child,
.wp-block-categories li:last-child,
.wp-block-archives li:last-child {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .steps .step {
    padding: 84px 18px 18px;
  }
  .step-num {
    left: 18px;
    top: 18px;
    width: 48px;
    height: 48px;
  }
  table th,
  table td,
  .wp-block-table th,
  .wp-block-table td {
    padding: 12px 12px;
  }
}


/* v2.4.4 ServersZm pattern */
.serverszm-hero {
  position: relative;
  overflow: hidden;
}
.serverszm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.54) 42%, rgba(0,0,0,.30) 100%),
    url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  opacity: .34;
  pointer-events: none;
}
.serverszm-hero .container { position: relative; }
.serverszm-hero .hero-actions { margin-top: 26px; }

.server-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.server-mode-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 0;
}
.server-mode-media {
  min-height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.server-mode-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.68));
}
.server-mode-body {
  padding: 24px;
}
.server-mode-body h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
}
.server-mode-body p {
  margin: 0 0 18px;
  color: var(--zm-muted, #9ba6b8);
}
.server-mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-chip-bg, rgba(255,255,255,.05));
  color: var(--zm-accent-2, #ff7c4d);
  letter-spacing: .08em;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-size: 12px;
}

.server-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.server-feature-card {
  min-height: 100%;
}

.server-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.server-compare-card {
  min-height: 100%;
}

@media (max-width: 1100px) {
  .server-mode-grid,
  .server-feature-grid,
  .server-compare-grid {
    grid-template-columns: 1fr;
  }
}


/* v2.4.8 LauncherZm */
.launcherzm-hero {
  position: relative;
  overflow: hidden;
}
.launcherzm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.54) 42%, rgba(0,0,0,.30) 100%),
    url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  opacity: .30;
  pointer-events: none;
}
.launcherzm-hero .container { position: relative; }

.download-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
}
.download-card {
  min-height:100%;
}
.download-card .btn {
  margin-top:auto;
}
.feature-list-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
}
.feature-list-card {
  min-height:100%;
}
.launcher-highlight-grid {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;
}
.launcher-highlight-card {
  min-height:100%;
}
@media (max-width: 1100px) {
  .download-grid,
  .feature-list-grid,
  .launcher-highlight-grid {
    grid-template-columns: 1fr;
  }
}


/* v2.5.3 DownloadZmZm */
.downloadzm-hero {
  position: relative;
  overflow: hidden;
}
.downloadzm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.54) 42%, rgba(0,0,0,.30) 100%),
    url('assets/images/downloadzm/shot-1.jpg') center/cover no-repeat;
  opacity: .28;
  pointer-events: none;
}
.downloadzm-hero .container { position: relative; }

.download-options-grid,
.reqs-grid,
.download-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.download-option-card,
.req-card,
.download-benefit-card {
  min-height: 100%;
}

.reqs-grid {
  grid-template-columns: repeat(2, 1fr);
}
.req-card ul {
  margin: 0;
  padding-left: 20px;
}
.req-card li {
  margin-bottom: 10px;
}

.download-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.download-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--zm-radius-md, 18px);
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
.download-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform .35s ease;
}
.download-gallery__item:hover img {
  transform: scale(1.03);
}
.download-gallery__item--wide {
  grid-column: span 6;
}
.download-gallery__item--tall {
  grid-column: span 6;
}
.download-gallery__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.44);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  backdrop-filter: blur(4px);
}
.download-gallery__caption strong {
  display: block;
  margin-bottom: 4px;
}
.download-note {
  padding: 22px 24px;
  border-radius: var(--zm-radius-md, 18px);
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}

@media (max-width: 1100px) {
  .download-options-grid,
  .download-benefits-grid,
  .reqs-grid {
    grid-template-columns: 1fr;
  }
  .download-gallery {
    grid-template-columns: 1fr;
  }
  .download-gallery__item--wide,
  .download-gallery__item--tall {
    grid-column: auto;
  }
}


/* v2.5.5 PravilaZm */
.pravilazm-hero {
  position: relative;
  overflow: hidden;
}
.pravilazm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,.30) 100%),
    url('assets/images/downloadzm/shot-3.jpg') center/cover no-repeat;
  opacity: .24;
  pointer-events: none;
}
.pravilazm-hero .container { position: relative; }

.rules-overview-grid,
.rules-sections-grid,
.rules-sanctions-grid {
  display:grid;
  gap:20px;
}
.rules-overview-grid {
  grid-template-columns: repeat(4, 1fr);
}
.rules-sections-grid {
  grid-template-columns: repeat(2, 1fr);
}
.rules-sanctions-grid {
  grid-template-columns: repeat(4, 1fr);
}
.rule-section-card,
.rule-overview-card,
.rule-sanction-card {
  min-height: 100%;
}
.rule-section-card ol,
.rule-section-card ul {
  margin: 0;
  padding-left: 20px;
}
.rule-section-card li {
  margin-bottom: 10px;
}
.rule-sanction-stage {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:12px;
  margin-bottom:14px;
  font-weight:800;
  color:#fff;
  background: linear-gradient(135deg, var(--zm-accent, #f05a28), var(--zm-accent-2, #ff7c4d));
}
body.zmg-preset-cyber .rule-sanction-stage {
  background: linear-gradient(180deg, rgba(14, 42, 58, .96), rgba(8, 24, 36, .96));
  border: 1px solid rgba(107,255,245,.35);
  color: #dcffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 1px rgba(79,240,255,.08),
    0 10px 26px rgba(15,120,150,.18),
    0 0 18px rgba(70,255,240,.10);
}
.rules-note {
  padding: 22px 24px;
  border-radius: var(--zm-radius-md, 18px);
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
@media (max-width: 1100px) {
  .rules-overview-grid,
  .rules-sections-grid,
  .rules-sanctions-grid {
    grid-template-columns: 1fr;
  }
}


/* v2.5.7 NewsZm */
.newszm-hero {
  position: relative;
  overflow: hidden;
}
.newszm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,.30) 100%),
    url('assets/images/downloadzm/shot-4.jpg') center/cover no-repeat;
  opacity: .24;
  pointer-events: none;
}
.newszm-hero .container { position: relative; }

.news-topics-grid,
.news-promo-grid,
.news-feed-grid {
  display: grid;
  gap: 20px;
}
.news-topics-grid {
  grid-template-columns: repeat(4, 1fr);
}
.news-promo-grid,
.news-feed-grid {
  grid-template-columns: repeat(3, 1fr);
}
.news-topic-card,
.news-promo-card,
.news-feed-card {
  min-height: 0;
}
.news-feed-card small {
  margin-bottom: 14px !important;
}
.news-feed-card p {
  margin: 0 0 18px;
}
@media (max-width: 1100px) {
  .news-topics-grid,
  .news-promo-grid,
  .news-feed-grid {
    grid-template-columns: 1fr;
  }
}


/* v2.5.8 News category archive */
.news-archive-hero {
  position: relative;
  overflow: hidden;
}
.news-archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,.30) 100%),
    url('assets/images/downloadzm/shot-2.jpg') center/cover no-repeat;
  opacity: .22;
  pointer-events: none;
}
.news-archive-hero .container { position: relative; }

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.news-archive-card {
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
}
.news-archive-card > .btn {
  align-self: flex-start;
  margin-top: auto;
}
.news-archive-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.news-archive-card__excerpt {
  margin: 0 0 18px;
  color: var(--zm-muted, #9ba6b8);
}
.news-archive-empty {
  padding: 28px;
  border-radius: var(--zm-radius-md, 18px);
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
.news-archive-pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.news-archive-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  color: var(--zm-text, #fff);
}
.news-archive-pagination .current {
  background: linear-gradient(135deg, var(--zm-accent, #f05a28), var(--zm-accent-2, #ff7c4d));
  color: #fff;
  border-color: transparent;
}
body.zmg-preset-cyber .news-archive-pagination .current {
  background: linear-gradient(180deg, rgba(14, 42, 58, .96), rgba(8, 24, 36, .96));
  border-color: rgba(107,255,245,.35);
}
@media (max-width: 1100px) {
  .news-archive-grid {
    grid-template-columns: 1fr;
  }
}


/* v2.5.9 category/page news pagination fix */
.news-archive-grid::after {
  content: none;
  display: none;
}

.news-archive-pagination {
  clear: both;
  position: relative;
  z-index: 2;
  margin-top: 40px !important;
  padding-top: 10px;
}

.news-archive-pagination nav,
.news-archive-pagination .nav-links,
.news-archive-pagination ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-archive-pagination li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-archive-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  color: var(--zm-text, #fff);
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}

.news-archive-pagination .current {
  background: linear-gradient(135deg, var(--zm-accent, #f05a28), var(--zm-accent-2, #ff7c4d));
  color: #fff;
  border-color: transparent;
}

body.zmg-preset-cyber .news-archive-pagination .current {
  background: linear-gradient(180deg, rgba(14, 42, 58, .96), rgba(8, 24, 36, .96));
  border-color: rgba(107,255,245,.35);
}

.news-rubric-page-intro {
  margin-bottom: 24px;
}


/* v2.6.1 news rubric controls + single post */
.news-rubric-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.news-rubric-filters a {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-chip-bg, rgba(255,255,255,.05));
  color: var(--zm-text, #fff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.news-rubric-filters a.is-active {
  background: linear-gradient(135deg, var(--zm-accent, #f05a28), var(--zm-accent-2, #ff7c4d));
  color: #fff;
  border-color: transparent;
}
body.zmg-preset-cyber .news-rubric-filters a.is-active {
  background: linear-gradient(180deg, rgba(14, 42, 58, .96), rgba(8, 24, 36, .96));
  border-color: rgba(107,255,245,.35);
}
.single-news-hero {
  position: relative;
  overflow: hidden;
}
.single-news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,.30) 100%),
    url('assets/images/downloadzm/shot-1.jpg') center/cover no-repeat;
  opacity: .20;
  pointer-events: none;
}
.single-news-hero .container,
.single-news-content .container { position: relative; }
.single-news-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.single-news-meta small {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-chip-bg, rgba(255,255,255,.05));
  color: var(--zm-accent-2, #ff7c4d);
}
.single-news-article {
  padding: 26px;
  border-radius: var(--zm-radius-lg, 24px);
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
.single-news-article p {
  line-height: 1.75;
}
.single-news-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.single-news-nav a {
  display: block;
  padding: 18px 20px;
  border-radius: var(--zm-radius-md, 18px);
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  color: var(--zm-text, #fff);
  text-decoration: none;
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
.single-news-nav span {
  display: block;
  color: var(--zm-muted, #9ba6b8);
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .single-news-nav {
    grid-template-columns: 1fr;
  }
}


/* v2.6.2 news thumbnails in cards */
.news-archive-card__thumb,
.news-card__thumb {
  display: block;
  margin: -26px -26px 18px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  border-bottom: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: rgba(255,255,255,.03);
}
.news-archive-card__thumb img,
.news-card__thumb img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}
.news-archive-card:hover .news-archive-card__thumb img,
.news-card:hover .news-card__thumb img {
  transform: scale(1.03);
}
.news-feed-card.news-card {
  overflow: hidden;
}
.news-feed-card.news-card h3,
.news-feed-card.news-card p,
.news-feed-card.news-card small,
.news-feed-card.news-card .btn {
  position: relative;
  z-index: 1;
}


/* v2.6.3 fallback news thumbnails */
.news-archive-card__thumb--fallback,
.news-card__thumb--fallback {
  position: relative;
  display: block;
  margin: -26px -26px 18px;
  height: 220px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  border-bottom: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background:
    linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.56)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--zm-accent, #f05a28) 22%, transparent), transparent 34%),
    linear-gradient(180deg, var(--zm-bg-2, #0d1016), var(--zm-card, #10151f));
}
.news-archive-card__thumb--fallback::before,
.news-card__thumb--fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 38%);
}
.news-archive-card__thumb-badge,
.news-card__thumb-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: rgba(0,0,0,.34);
  color: var(--zm-text, #fff);
  backdrop-filter: blur(4px);
  z-index: 1;
}
body.zmg-preset-cyber .news-archive-card__thumb--fallback,
body.zmg-preset-cyber .news-card__thumb--fallback {
  background:
    linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.56)),
    radial-gradient(circle at top right, rgba(55,231,255,.16), transparent 34%),
    linear-gradient(180deg, #08131f, #0b1826);
}


/* v2.6.4 fallback news thumbs with SVG icon */
.news-archive-card__thumb--fallback,
.news-card__thumb--fallback {
  position: relative;
}

.news-archive-card__thumb-icon,
.news-card__thumb-icon {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  z-index: 1;
  color: var(--zm-text, #fff);
}

.news-archive-card__thumb-icon svg,
.news-card__thumb-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.zmg-preset-cyber .news-archive-card__thumb-icon,
body.zmg-preset-cyber .news-card__thumb-icon {
  border-color: rgba(85,245,255,.18);
  color: #7bfff6;
  background:
    radial-gradient(circle at top, rgba(123,255,246,.12), transparent 58%),
    rgba(6,18,28,.44);
  box-shadow:
    0 0 0 1px rgba(79,240,255,.08),
    0 0 16px rgba(70,255,240,.08),
    inset 0 1px 0 rgba(255,255,255,.06);
}


/* v2.6.5 news image overlay */
.news-archive-card__thumb,
.news-card__thumb,
.news-archive-card__thumb--fallback,
.news-card__thumb--fallback {
  position: relative;
}

.news-archive-card__thumb::before,
.news-card__thumb::before,
.news-archive-card__thumb--fallback::before,
.news-card__thumb--fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.18) 34%, rgba(0,0,0,.62) 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--zm-accent, #f05a28) 20%, transparent), transparent 55%);
  pointer-events: none;
}

body.zmg-preset-cyber .news-archive-card__thumb::before,
body.zmg-preset-cyber .news-card__thumb::before,
body.zmg-preset-cyber .news-archive-card__thumb--fallback::before,
body.zmg-preset-cyber .news-card__thumb--fallback::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(2,10,16,.22) 34%, rgba(3,12,18,.68) 100%),
    linear-gradient(135deg, rgba(55,231,255,.18), transparent 55%);
}

.news-archive-card__thumb-label,
.news-card__thumb-label {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  text-shadow: 0 0 18px rgba(255,255,255,.06);
  pointer-events: none;
  user-select: none;
}

body.zmg-preset-cyber .news-archive-card__thumb-label,
body.zmg-preset-cyber .news-card__thumb-label {
  color: rgba(123,255,246,.22);
  text-shadow: 0 0 18px rgba(70,255,240,.10);
}

.news-archive-card__thumb img,
.news-card__thumb img,
.news-archive-card__thumb-icon,
.news-card__thumb-icon,
.news-archive-card__thumb-badge,
.news-card__thumb-badge {
  position: relative;
  z-index: 2;
}


/* v2.6.6 center news label */
.news-archive-card__thumb-label,
.news-card__thumb-label {
  right: auto !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center;
  width: max-content;
}


/* v2.6.7 stronger news overlay */
.news-archive-card__thumb::before,
.news-card__thumb::before,
.news-archive-card__thumb--fallback::before,
.news-card__thumb--fallback::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.34) 32%, rgba(0,0,0,.78) 100%) !important,
    linear-gradient(135deg, color-mix(in srgb, var(--zm-accent, #f05a28) 38%, transparent) 0%, transparent 58%) !important;
  opacity: 1 !important;
}

body.zmg-preset-cyber .news-archive-card__thumb::before,
body.zmg-preset-cyber .news-card__thumb::before,
body.zmg-preset-cyber .news-archive-card__thumb--fallback::before,
body.zmg-preset-cyber .news-card__thumb--fallback::before {
  background:
    linear-gradient(180deg, rgba(0,8,14,.24) 0%, rgba(2,10,16,.38) 32%, rgba(3,12,18,.82) 100%) !important,
    linear-gradient(135deg, rgba(55,231,255,.34) 0%, transparent 58%) !important;
}

.news-archive-card__thumb img,
.news-card__thumb img {
  filter: saturate(.9) brightness(.82) contrast(1.05);
}


/* v2.6.8 news title color tuned to site style */
.news-card h3,
.news-archive-card h3,
.news-feed-card h3,
.news-card h3 a,
.news-archive-card h3 a,
.news-feed-card h3 a {
  color: color-mix(in srgb, var(--zm-text, #ffffff) 84%, var(--zm-accent-2, #ff7c4d) 16%) !important;
  text-decoration: none;
}

.news-card h3 a:hover,
.news-archive-card h3 a:hover,
.news-feed-card h3 a:hover {
  color: var(--zm-accent-2, #ff7c4d) !important;
}

body.zmg-preset-cyber .news-card h3,
body.zmg-preset-cyber .news-archive-card h3,
body.zmg-preset-cyber .news-feed-card h3,
body.zmg-preset-cyber .news-card h3 a,
body.zmg-preset-cyber .news-archive-card h3 a,
body.zmg-preset-cyber .news-feed-card h3 a {
  color: color-mix(in srgb, #e9fbff 82%, #7bfff6 18%) !important;
  text-shadow: 0 0 14px rgba(70,255,240,.06);
}

body.zmg-preset-cyber .news-card h3 a:hover,
body.zmg-preset-cyber .news-archive-card h3 a:hover,
body.zmg-preset-cyber .news-feed-card h3 a:hover {
  color: #7bfff6 !important;
  text-shadow: 0 0 18px rgba(70,255,240,.14);
}


/* v2.6.9 unified button style across site */
.btn,
.wp-block-button__link,
.site-header .header-cta,
.news-card .btn,
.news-archive-card .btn,
.news-feed-card .btn,
a.btn,
button,
input[type="submit"],
input[type="button"] {
  position: relative;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: linear-gradient(180deg, rgba(18, 24, 34, .96), rgba(10, 14, 22, .96)) !important;
  color: #f5f7fb !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 24px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.03) !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: .02em !important;
  font-weight: 600 !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, filter .2s ease;
}

.btn::before,
.wp-block-button__link::before,
.site-header .header-cta::before,
.news-card .btn::before,
.news-archive-card .btn::before,
.news-feed-card .btn::before,
a.btn::before,
button::before,
input[type="submit"]::before,
input[type="button"]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.02), transparent 50%);
}

.btn:hover,
.wp-block-button__link:hover,
.site-header .header-cta:hover,
.news-card .btn:hover,
.news-archive-card .btn:hover,
.news-feed-card .btn:hover,
a.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  border-color: rgba(255,255,255,.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 12px 28px rgba(0,0,0,.22),
    0 0 0 1px rgba(255,255,255,.05) !important;
}

.btn-primary,
.wp-block-button__link,
.site-header .header-cta {
  background: linear-gradient(135deg, var(--zm-accent, #f05a28) 0%, var(--zm-accent-2, #ff7c4d) 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow:
    0 12px 26px color-mix(in srgb, var(--zm-accent, #f05a28) 28%, transparent),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.btn-secondary,
.news-card .btn,
.news-archive-card .btn,
.news-feed-card .btn {
  background: linear-gradient(180deg, rgba(22, 28, 40, .96), rgba(11, 16, 24, .96)) !important;
  border-color: rgba(255,255,255,.11) !important;
  color: color-mix(in srgb, var(--zm-text, #ffffff) 84%, var(--zm-accent-2, #ff7c4d) 16%) !important;
}

.btn-secondary:hover,
.news-card .btn:hover,
.news-archive-card .btn:hover,
.news-feed-card .btn:hover {
  color: var(--zm-accent-2, #ff7c4d) !important;
  border-color: color-mix(in srgb, var(--zm-accent-2, #ff7c4d) 45%, rgba(255,255,255,.08)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 12px 28px rgba(0,0,0,.22),
    0 0 18px color-mix(in srgb, var(--zm-accent-2, #ff7c4d) 10%, transparent) !important;
}

body.zmg-preset-cyber .btn,
body.zmg-preset-cyber .wp-block-button__link,
body.zmg-preset-cyber .site-header .header-cta,
body.zmg-preset-cyber .news-card .btn,
body.zmg-preset-cyber .news-archive-card .btn,
body.zmg-preset-cyber .news-feed-card .btn,
body.zmg-preset-cyber a.btn,
body.zmg-preset-cyber button,
body.zmg-preset-cyber input[type="submit"],
body.zmg-preset-cyber input[type="button"] {
  border-color: rgba(107,255,245,.22) !important;
  background: linear-gradient(180deg, rgba(14, 42, 58, .96), rgba(8, 24, 36, .96)) !important;
  color: #dcffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 1px rgba(79,240,255,.08),
    0 10px 26px rgba(15,120,150,.18),
    0 0 18px rgba(70,255,240,.10) !important;
}

body.zmg-preset-cyber .btn-primary,
body.zmg-preset-cyber .wp-block-button__link,
body.zmg-preset-cyber .site-header .header-cta {
  background: linear-gradient(180deg, rgba(18, 56, 74, .98), rgba(8, 28, 40, .98)) !important;
  border-color: rgba(107,255,245,.35) !important;
  color: #f3ffff !important;
}

body.zmg-preset-cyber .btn-secondary,
body.zmg-preset-cyber .news-card .btn,
body.zmg-preset-cyber .news-archive-card .btn,
body.zmg-preset-cyber .news-feed-card .btn {
  background: linear-gradient(180deg, rgba(10, 30, 42, .96), rgba(7, 19, 29, .96)) !important;
  border-color: rgba(107,255,245,.24) !important;
  color: color-mix(in srgb, #e9fbff 82%, #7bfff6 18%) !important;
  text-shadow: 0 0 12px rgba(70,255,240,.06);
}

body.zmg-preset-cyber .btn-secondary:hover,
body.zmg-preset-cyber .news-card .btn:hover,
body.zmg-preset-cyber .news-archive-card .btn:hover,
body.zmg-preset-cyber .news-feed-card .btn:hover {
  color: #7bfff6 !important;
  border-color: rgba(123,255,246,.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 0 1px rgba(79,240,255,.10),
    0 12px 28px rgba(15,120,150,.22),
    0 0 22px rgba(70,255,240,.14) !important;
}


/* v2.7.0 designer footer */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top center, color-mix(in srgb, var(--zm-accent, #f05a28) 12%, transparent), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 22%);
}
body.zmg-preset-cyber .site-footer::before {
  background:
    radial-gradient(circle at top center, rgba(55,231,255,.12), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 22%);
}

.footer-designer {
  position: relative;
  padding: 54px 0 26px;
}
.footer-designer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-brand-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
.footer-brand-card .site-branding__title,
.footer-brand-card .footer-logo {
  display: block;
  margin: 0 0 10px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--zm-text, #fff);
}
.footer-brand-card .site-branding__subtitle {
  display: block;
  margin: 0 0 14px;
  color: var(--zm-accent-2, #ff7c4d);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
}
.footer-brand-card p {
  margin: 0;
  color: var(--zm-muted, #9ba6b8);
  line-height: 1.7;
}
.footer-col {
  min-width: 0;
}
.footer-col__title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--zm-text, #fff);
}
.footer-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--zm-accent, #f05a28), transparent);
}
body.zmg-preset-cyber .footer-col__title::after {
  background: linear-gradient(90deg, #37e7ff, transparent);
  box-shadow: 0 0 14px rgba(70,255,240,.14);
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li {
  margin: 0 0 10px;
}
.footer-links li:last-child {
  margin-bottom: 0;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--zm-text, #ffffff) 84%, var(--zm-accent-2, #ff7c4d) 16%);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.footer-links a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zm-accent, #f05a28), var(--zm-accent-2, #ff7c4d));
  box-shadow: 0 0 10px color-mix(in srgb, var(--zm-accent-2, #ff7c4d) 28%, transparent);
  flex: 0 0 8px;
}
body.zmg-preset-cyber .footer-links a {
  color: color-mix(in srgb, #e9fbff 82%, #7bfff6 18%);
}
body.zmg-preset-cyber .footer-links a::before {
  background: linear-gradient(135deg, #37e7ff, #7bfff6);
  box-shadow: 0 0 12px rgba(70,255,240,.18);
}
.footer-links a:hover {
  color: var(--zm-accent-2, #ff7c4d);
  transform: translateX(2px);
}
body.zmg-preset-cyber .footer-links a:hover {
  color: #7bfff6;
}

.footer-payments {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-payment {
  width: 56px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
  color: var(--zm-text, #fff);
}
.footer-payment svg {
  width: 28px;
  height: 28px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.zmg-preset-cyber .footer-payment {
  color: #7bfff6;
  border-color: rgba(107,255,245,.22);
  background: linear-gradient(180deg, rgba(14, 42, 58, .96), rgba(8, 24, 36, .96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 1px rgba(79,240,255,.08),
    0 10px 26px rgba(15,120,150,.18),
    0 0 18px rgba(70,255,240,.10);
}
.footer-bottom {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
}
.footer-bottom p {
  margin: 0;
  color: var(--zm-muted, #9ba6b8);
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 1200px) {
  .footer-designer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-card {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .footer-designer__top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* v2.7.1 footer IP card */
.footer-ip-card {
  margin-top: 14px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: var(--zm-panel-bg, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)));
  box-shadow: var(--zm-panel-shadow, 0 12px 32px rgba(0,0,0,.35));
}
.footer-ip-card__title {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--zm-accent-2, #ff7c4d);
}
.footer-ip-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-ip-list li {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--zm-panel-border, rgba(255,255,255,.08));
  background: rgba(255,255,255,.03);
  color: var(--zm-text, #fff);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}
.footer-ip-list li:last-child {
  margin-bottom: 0;
}
body.zmg-preset-cyber .footer-ip-card__title {
  color: #7bfff6;
}


/* v2.7.2 footer brand card on right */
.footer-designer__top {
  grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr !important;
}
.footer-brand-card {
  order: 5;
}
@media (max-width: 1200px) {
  .footer-brand-card {
    order: -1;
  }
}
