/*
Theme Name: Xinggui Guide
Theme URI: https://example.com/
Author: Xinggui Guide
Description: A fast Chinese tutorial and SEO content theme for WordPress.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: xinggui
*/

:root {
  --ink: #17213d;
  --muted: #69718b;
  --line: #e7e9f2;
  --soft: #f7f8fc;
  --blue: #5c59f2;
  --navy: #172054;
  --white: #fff;
  --shadow: 0 18px 60px rgba(32, 41, 92, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(232,234,243,.8); backdrop-filter: blur(18px); }
.nav-shell { width: min(1200px, calc(100% - 48px)); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; white-space: nowrap; }
.brand img { max-height: 38px; width: auto; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(145deg,#706cf7,#4a46df); box-shadow: 0 8px 20px rgba(82,78,231,.25); }
.main-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 29px; margin: 0; padding: 0; list-style: none; }
.main-nav a { position: relative; display: block; padding: 27px 0 25px; color: #505872; font-size: 14px; font-weight: 600; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--blue); }
.nav-cta { padding: 12px 19px; color: white; background: var(--navy); border-radius: 10px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px rgba(24,32,84,.14); }
.menu-toggle { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px 0; background: var(--ink); }
.hero { position: relative; min-height: 620px; padding: 92px max(24px,calc((100vw - 1160px)/2)); overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; background: linear-gradient(90deg,rgba(247,248,255,.95),rgba(250,250,255,.76)),radial-gradient(circle at 30% 50%,#fff 0,#f7f7ff 55%,#eef0ff 100%); }
.hero-inner { position: relative; z-index: 3; max-width: 650px; }
.eyebrow,.section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { padding: 8px 13px; border: 1px solid #dbdcfb; border-radius: 999px; background: rgba(255,255,255,.7); }
.hero h1 { margin: 24px 0 18px; font-size: clamp(45px,5.2vw,70px); line-height: 1.14; letter-spacing: -.055em; }
.hero h1 em { color: transparent; font-style: normal; background: linear-gradient(90deg,#625ef0,#a04edc); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 590px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; margin-top: 31px; }
.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 11px; font-size: 14px; font-weight: 700; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg,#5e59f0,#7953ec); box-shadow: 0 13px 25px rgba(91,84,232,.25); }
.button-secondary { color: #424962; background: white; border: 1px solid var(--line); }
.hero-visual { position: relative; height: 500px; }
.planet { position: absolute; width: 245px; height: 245px; top: 125px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(145deg,#a49cfb,#7772ef 37%,#403ca9); box-shadow: inset -28px -22px 45px rgba(39,34,124,.35),0 35px 80px rgba(68,62,180,.3); }
.planet::after { content: ""; position: absolute; width: 390px; height: 70px; left: 50%; top: 86px; transform: translateX(-50%) rotate(-13deg); border: 13px solid #d6d3ff; border-left-color: #8d88eb; border-radius: 50%; }
.float-card { position: absolute; z-index: 4; min-width: 210px; padding: 15px; border: 1px solid #e7e8f2; border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 18px 40px rgba(40,43,96,.13); }
.float-card small,.float-card strong { display: block; }
.float-card small { color: #8b90a4; font-size: 10px; margin-bottom: 5px; }
.float-card strong { font-size: 13px; }
.card-top { top: 65px; left: 0; }
.card-bottom { right: 0; bottom: 55px; }
.section-heading { margin-bottom: 45px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(30px,3.5vw,45px); line-height: 1.2; letter-spacing: -.04em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.section-heading.centered { display: block; text-align: center; }
.section-heading.centered p { margin: 14px auto 0; }
.home-guides { padding: 105px 0; background: var(--soft); }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.post-card { position: relative; min-height: 285px; overflow: hidden; border: 1px solid #e4e6ef; border-radius: 17px; background: white; transition: .25s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-thumb { height: 150px; overflow: hidden; background: linear-gradient(145deg,#ebeaff,#dfe6ff); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card small { color: var(--blue); font-size: 10px; font-weight: 800; }
.post-card h2,.post-card h3 { margin: 10px 0; font-size: 19px; line-height: 1.45; }
.post-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.post-link { display: inline-block; margin-top: 17px; color: var(--blue); font-size: 11px; font-weight: 800; }
.steps-section { padding: 105px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.step-card { padding: 27px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--blue); font-weight: 800; }
.step-card h3 { margin: 20px 0 9px; font-size: 17px; }
.step-card p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.faq-section { padding: 100px 0; background: #f8f8fc; }
.accordion { max-width: 820px; margin: auto; display: grid; gap: 10px; }
.faq-item { overflow: hidden; border: 1px solid #e2e4ee; border-radius: 13px; background: white; }
.faq-item button { width: 100%; padding: 20px 23px; display: flex; justify-content: space-between; border: 0; color: var(--ink); background: white; text-align: left; font-size: 14px; font-weight: 700; cursor: pointer; }
.faq-answer { display: none; padding: 0 23px 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }
.archive-hero { padding: 80px 24px 70px; text-align: center; background: linear-gradient(145deg,#f4f3ff,#eef2ff); }
.archive-hero h1 { margin: 12px 0; font-size: clamp(38px,5vw,60px); letter-spacing: -.05em; }
.archive-hero p { max-width: 680px; margin: auto; color: var(--muted); line-height: 1.8; }
.archive-content { padding: 70px 0 100px; }
.pagination { margin-top: 45px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.pagination .current { color: white; background: var(--blue); border-color: var(--blue); }
.article-page { background: #f8f9fd; }
.article-layout { width: min(1120px,calc(100% - 48px)); margin: 25px auto 90px; display: grid; grid-template-columns: minmax(0,760px) 280px; gap: 42px; align-items: start; }
.article-main { padding: 48px 55px 60px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 20px 70px rgba(32,41,92,.06); }
.article-main h1 { margin: 13px 0 18px; font-size: clamp(34px,5vw,52px); line-height: 1.18; letter-spacing: -.04em; }
.article-lead { color: #646c84; font-size: 17px; line-height: 1.9; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0 35px; padding-bottom: 24px; border-bottom: 1px solid #eceef4; color: #8a90a3; font-size: 11px; }
.entry-content h2 { margin: 45px 0 15px; font-size: 27px; line-height: 1.35; }
.entry-content h3 { margin: 30px 0 10px; font-size: 19px; }
.entry-content p,.entry-content li { color: #4f5870; font-size: 15px; line-height: 1.95; }
.entry-content a { color: #554fe2; text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--blue); border-radius: 4px 12px 12px 4px; background: #f2f1ff; }
.entry-content img { border-radius: 12px; }
.featured-image { margin: 0 0 34px; }
.featured-image img { display: block; width: 100%; border-radius: 14px; }
.post-tags { margin-top: 35px; padding-top: 20px; border-top: 1px solid #eceef4; color: var(--muted); font-size: 12px; }
.related { margin-top: 45px; padding-top: 28px; border-top: 1px solid #eceef4; }
.related-links { display: grid; gap: 10px; }
.related-links a { padding: 14px 16px; border-radius: 10px; color: #554fe2; background: #f6f6fc; font-size: 13px; font-weight: 700; }
.comments-area { margin-top: 48px; padding-top: 28px; border-top: 1px solid #eceef4; }
.comment-list { padding-left: 24px; }
.comment-list li { margin-bottom: 22px; }
.comment-form input:not([type="submit"]),.comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.comment-form .submit { padding: 12px 19px; border: 0; border-radius: 8px; color: white; background: var(--blue); cursor: pointer; }
.article-sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.widget { padding: 24px; border: 1px solid #e5e7f0; border-radius: 16px; background: white; }
.widget-title { margin: 0 0 15px; font-size: 16px; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { border-bottom: 1px solid #f0f1f5; }
.widget li:last-child { border: 0; }
.widget a { display: block; padding: 9px 0; color: #5d657c; font-size: 12px; line-height: 1.5; }
.search-form { display: flex; }
.search-field { min-width: 0; width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 8px 0 0 8px; }
.search-submit { border: 0; padding: 0 13px; color: white; background: var(--blue); border-radius: 0 8px 8px 0; }
.cta-section { min-height: 380px; padding: 70px 24px; display: grid; place-items: center; text-align: center; color: white; background: radial-gradient(circle at 50% 20%,#4844b3,#24256d 62%,#1d205d); }
.cta-section h2 { margin: 15px 0; font-size: clamp(35px,4.5vw,53px); }
.cta-section p { color: #c8c9e5; }
.site-footer { padding: 31px 0; border-top: 1px solid #e8e9f1; background: white; }
.footer-inner { width: min(1160px,calc(100% - 48px)); margin: auto; display: flex; align-items: center; gap: 25px; }
.footer-inner p,.copyright { color: #8a8fa1; font-size: 11px; }
.footer-nav { display: flex; gap: 22px; margin-left: auto; font-size: 11px; font-weight: 600; }
.footer-nav ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.not-found { min-height: 60vh; padding: 110px 24px; text-align: center; }
.not-found h1 { font-size: clamp(50px,10vw,100px); margin: 0; color: var(--blue); }
@media (max-width: 980px) {
  .post-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .hero { grid-template-columns: 1fr 370px; }
}
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 760px) {
  .section-shell,.nav-shell,.footer-inner,.article-layout { width: min(100% - 32px,1160px); }
  .nav-shell { min-height: 68px; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .main-nav { position: absolute; top: 68px; left: 16px; right: 16px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { display: grid; gap: 0; }
  .main-nav a { padding: 12px 14px; }
  .hero { display: block; padding: 75px 24px 45px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 390px; transform: scale(.82); }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .post-grid,.steps-grid,.article-layout { grid-template-columns: 1fr; }
  .article-main { padding: 35px 28px 45px; }
  .article-sidebar { position: static; }
  .footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-nav { width: 100%; justify-content: center; margin: 0; }
}
@media (max-width: 500px) {
  .post-grid,.steps-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .article-main { padding: 28px 20px 38px; }
}

/* Fire TGX homepage */
:root {
  --hx-blue: #2f55b5;
  --hx-navy: #172857;
  --hx-copy: #5870a6;
  --hx-line: #dce7fb;
  --hx-soft: #f5f8fd;
}
.site-header {
  position: relative;
  top: auto;
  border-bottom: 0;
  background: #fff;
  backdrop-filter: none;
}
.nav-shell {
  width: min(1130px, calc(100% - 48px));
  min-height: 90px;
  gap: 32px;
}
.brand {
  color: #202020;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.main-nav {
  gap: 26px;
}
.main-nav ul {
  gap: 26px;
}
.main-nav a {
  padding: 34px 0 31px;
  color: #202020;
  font-size: 15px;
  font-weight: 700;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, #2f73d0 0 65%, #efcb3c 65% 82%, #e95555 82%);
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: #1660bc;
}
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after {
  opacity: 1;
}
.nav-chevron {
  display: inline-block;
  margin-left: 5px;
  font-size: 14px;
}
.nav-search {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  color: #171717;
}
.nav-search svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}
.hx-home {
  padding-top: 20px;
  color: var(--hx-navy);
  background: linear-gradient(#f5f6f8 0 20px, #fff 20px);
}
.hx-section {
  padding: 38px 0;
}
.hx-hero-wrap {
  padding-top: 90px;
}
.hx-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.hx-hero {
  padding: 42px 70px 66px;
  border: 1px solid var(--hx-line);
  border-radius: 20px;
  background: #f1f6ff;
  box-shadow: 0 18px 40px rgba(43, 72, 132, .07);
  text-align: center;
}
.hx-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.hx-pills span {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--hx-blue);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(38, 71, 145, .05);
}
.hx-hero h1 {
  margin: 22px auto 12px;
  font-size: clamp(32px, 3.3vw, 43px);
  line-height: 1.35;
  letter-spacing: -.035em;
}
.hx-hero > p {
  max-width: 880px;
  margin: 0 auto;
  color: var(--hx-copy);
  font-size: 17px;
  line-height: 2;
}
.hx-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
}
.hx-button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2e0fb;
  border-radius: 13px;
  color: #214a9f;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hx-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 71, 157, .13);
}
.hx-button-primary {
  border-color: var(--hx-blue);
  color: #fff;
  background: var(--hx-blue);
  box-shadow: 0 12px 24px rgba(47, 85, 181, .22);
}
.hx-order {
  margin-top: 20px;
  color: #657cab;
  font-size: 13px;
}
.hx-panel {
  padding: 26px 22px 28px;
  border: 1px solid var(--hx-line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(35, 65, 124, .05);
}
.hx-problems {
  background: #f5f8fd;
}
.hx-heading {
  margin-bottom: 24px;
}
.hx-heading h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.35;
  letter-spacing: -.025em;
}
.hx-heading p {
  margin: 6px 0 0;
  color: var(--hx-copy);
  font-size: 16px;
  line-height: 1.8;
}
.hx-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}
.hx-all-link {
  margin-bottom: 4px;
  color: var(--hx-blue);
  font-size: 15px;
  font-weight: 800;
}
.hx-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hx-problem-card {
  min-height: 315px;
  padding: 25px 23px;
  border: 1px solid var(--hx-line);
  border-radius: 17px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hx-problem-card:hover,
.hx-guide-card:hover,
.hx-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 70, 139, .09);
}
.hx-badge {
  display: inline-block;
  margin-bottom: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--hx-blue);
  background: #f0f5ff;
  font-size: 12px;
  font-weight: 800;
}
.hx-problem-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}
.hx-problem-card p,
.hx-guide-card p,
.hx-step-card p {
  margin: 0;
  color: var(--hx-copy);
  font-size: 15px;
  line-height: 1.9;
}
.hx-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hx-guide-card {
  position: relative;
  min-height: 232px;
  padding: 25px 22px 22px;
  border: 1px solid #d6e3fa;
  border-radius: 16px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hx-guide-card h3 {
  margin: 0 35px 36px 0;
  font-size: 19px;
}
.hx-guide-arrow {
  position: absolute;
  top: 21px;
  right: 21px;
  color: #2859bf;
  font-size: 22px;
  font-weight: 800;
}
.hx-small-button {
  position: absolute;
  bottom: 22px;
  left: 22px;
  min-height: 41px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--hx-blue);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(47, 85, 181, .16);
}
.hx-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.hx-step-card {
  min-height: 270px;
  padding: 20px;
  border: 1px solid var(--hx-line);
  border-radius: 15px;
  background: #f6f9fe;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hx-step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--hx-blue);
  font-weight: 800;
}
.hx-step-card h3 {
  margin: 13px 0 6px;
  font-size: 17px;
  line-height: 1.5;
}
.hx-step-card strong {
  display: block;
  margin-top: 12px;
  color: var(--hx-blue);
  font-size: 14px;
}
.hx-faq-panel {
  padding-bottom: 26px;
}
.hx-faq-panel .hx-heading {
  margin-bottom: 12px;
}
.hx-accordion {
  max-width: none;
}
.hx-accordion .faq-item {
  border-color: var(--hx-line);
  border-radius: 13px;
  background: #f6f9fe;
}
.hx-accordion .faq-item button {
  padding: 18px 16px;
  color: var(--hx-navy);
  background: #f6f9fe;
  font-size: 16px;
}
.hx-accordion .faq-item i {
  display: inline-block;
  margin-right: 8px;
  font-size: 12px;
  font-style: normal;
  transition: transform .2s ease;
}
.hx-accordion .faq-item.open i {
  transform: rotate(90deg);
}
.hx-accordion .faq-answer {
  padding: 0 38px 18px;
  color: var(--hx-copy);
  background: #f6f9fe;
  line-height: 1.8;
}
.hx-cta-wrap {
  padding-top: 34px;
  padding-bottom: 114px;
}
.hx-cta {
  padding: 34px 24px 58px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(110deg, #294da7, #395bb9);
  box-shadow: 0 18px 35px rgba(38, 73, 166, .18);
  text-align: center;
}
.hx-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
}
.hx-cta p {
  margin: 0;
  color: #e4eaff;
  font-size: 15px;
}
.hx-cta .hx-actions {
  margin-top: 20px;
}
.hx-button-white {
  border-color: #fff;
  color: #234a9e;
  background: #fff;
}
.hx-button-ghost {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .12);
}
.site-footer {
  padding: 0;
  border-top: 20px solid #f5f6f8;
}
.footer-inner {
  min-height: 70px;
  justify-content: center;
}
.copyright {
  color: #333;
  font-size: 14px;
}
@media (max-width: 1020px) {
  .main-nav ul { gap: 17px; }
  .main-nav a { font-size: 13px; }
  .hx-problem-grid,
  .hx-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-problem-card { min-height: 260px; }
}
@media (max-width: 760px) {
  .nav-shell {
    width: min(100% - 32px, 1130px);
    min-height: 68px;
  }
  .brand { font-size: 22px; }
  .nav-search { display: none; }
  .main-nav {
    top: 62px;
    z-index: 30;
  }
  .main-nav ul { gap: 0; }
  .main-nav a {
    padding: 12px 14px;
    font-size: 14px;
  }
  .main-nav a::after { display: none; }
  .hx-home {
    padding-top: 10px;
    background: linear-gradient(#f5f6f8 0 10px, #fff 10px);
  }
  .hx-section { padding: 18px 0; }
  .hx-hero-wrap { padding-top: 32px; }
  .hx-shell { width: min(100% - 28px, 1120px); }
  .hx-hero { padding: 30px 18px 38px; }
  .hx-pills { gap: 8px; }
  .hx-pills span { font-size: 11px; }
  .hx-hero h1 {
    margin-top: 18px;
    font-size: 29px;
  }
  .hx-hero > p {
    font-size: 15px;
    line-height: 1.8;
  }
  .hx-actions { gap: 10px; }
  .hx-button {
    min-height: 47px;
    padding: 0 16px;
    font-size: 14px;
  }
  .hx-order {
    font-size: 12px;
    line-height: 1.7;
  }
  .hx-panel { padding: 22px 16px; }
  .hx-heading-row {
    display: block;
  }
  .hx-all-link {
    display: inline-block;
    margin-top: 10px;
  }
  .hx-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-heading h2 { font-size: 23px; }
  .hx-heading p { font-size: 14px; }
  .hx-cta-wrap { padding-bottom: 65px; }
}
@media (max-width: 560px) {
  .hx-problem-grid,
  .hx-guide-grid,
  .hx-steps-grid { grid-template-columns: 1fr; }
  .hx-problem-card { min-height: auto; }
  .hx-badge { margin-bottom: 22px; }
  .hx-guide-card { min-height: 220px; }
  .hx-step-card { min-height: auto; }
  .hx-cta .hx-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hx-cta .hx-button { width: 100%; }
}
