/* Site restyle: full-width layout, transparent sticky header, marketing homepage.
   Palette and typography echo a professional teal + serif-heading look.
   No third-party logos, photos, or copy are included. */

:root {
  --tw-primary: #03a07a;
  --tw-primary-dark: #028262;
  --tw-ink: #1b1f29;
  --tw-muted: #434856;
  --tw-soft: #f5f9f8;
  --tw-line: #d7e5e1;
  --tw-hero-1: #06221e;
  --tw-hero-2: #0b3d34;
  --tw-hero-3: #0f594b;
  --tw-white: #ffffff;
  --tw-wrap: 1200px;
  --tw-header-h: 88px;
  --tw-font: "Noto Sans SC", "Source Sans 3", "Source Sans Pro", "PingFang SC", "Microsoft YaHei", sans-serif;
  --tw-serif: "Noto Serif SC", "Rufina", "Songti SC", "SimSun", serif;
}

/* ---------- Base typography ---------- */
body.tw-site,
body.tw-site button,
body.tw-site input,
body.tw-site select,
body.tw-site textarea {
  font-family: var(--tw-font);
  color: var(--tw-ink);
  background: var(--tw-white);
}

body.tw-site h1,
body.tw-site h2,
body.tw-site h3,
body.tw-site h4,
body.tw-site .site-title,
body.tw-site .site-title a {
  font-family: var(--tw-serif);
  font-weight: 700;
  color: var(--tw-ink);
  letter-spacing: 0.01em;
}

body.tw-site a {
  color: var(--tw-primary-dark);
}
body.tw-site a:hover {
  color: var(--tw-primary);
}

/* Full width, unboxed: undo default boxed “separate container” look */
body.tw-site.ast-separate-container #content,
body.tw-site.ast-two-container #content,
body.tw-site #content {
  background: transparent;
}
body.tw-site.ast-separate-container .ast-container,
body.tw-site.ast-separate-container #primary,
body.tw-site.ast-separate-container .site-content > .ast-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
body.tw-site.ast-separate-container #primary,
body.tw-site #primary {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}
body.tw-site #content > .ast-container {
  width: 100%;
  max-width: none;
  padding: 0;
}
body.tw-site #content.site-content {
  width: 100%;
}

.tw-wrap {
  width: min(var(--tw-wrap), calc(100% - 40px));
  margin: 0 auto;
}

/* Sticky header offset for inner pages and scrolled home */
body.tw-site {
  padding-top: var(--tw-header-h);
}
body.tw-site.admin-bar {
  padding-top: calc(var(--tw-header-h) + 32px);
}
@media screen and (max-width: 782px) {
  body.tw-site.admin-bar {
    padding-top: calc(var(--tw-header-h) + 46px);
  }
}

/* Front page: let the hero sit under the transparent header */
body.tw-site.home.tw-transparent-header {
  padding-top: 0;
}
body.tw-site.home.tw-transparent-header.admin-bar #masthead {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.tw-site.home.tw-transparent-header.admin-bar #masthead {
    top: 46px;
  }
}

/* ---------- Header ---------- */
body.tw-site #masthead,
body.tw-site #masthead .main-header-bar,
body.tw-site #masthead .ast-main-header-wrap,
body.tw-site #masthead .ast-primary-header-bar,
body.tw-site #masthead .site-header-primary-section,
body.tw-site #masthead .ast-mobile-header-wrap,
body.tw-site #masthead .ast-desktop-header-content,
body.tw-site #masthead .ast-mobile-header-content {
  background: transparent;
  box-shadow: none;
  border: 0;
}

body.tw-site #masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(27, 31, 41, 0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

body.tw-site #masthead .ast-primary-header-bar,
body.tw-site #masthead .ast-mobile-header-wrap .ast-primary-header-bar,
body.tw-site #masthead .main-header-bar {
  min-height: var(--tw-header-h);
  line-height: 1;
}

body.tw-site .site-title,
body.tw-site .site-title a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tw-ink);
  text-decoration: none !important;
  letter-spacing: 0.04em;
}
body.tw-site .site-description {
  display: none;
}

body.tw-site #masthead .main-header-menu,
body.tw-site #masthead .main-header-menu > .menu-item > a,
body.tw-site #masthead .ast-builder-menu .menu-item > a,
body.tw-site #masthead .ast-header-menu-toggle,
body.tw-site #masthead .ast-button-wrap .menu-toggle,
body.tw-site #masthead .menu-toggle,
body.tw-site #masthead .ast-mobile-menu-buttons {
  color: var(--tw-ink);
  fill: var(--tw-ink);
}

body.tw-site #masthead .main-header-menu > .menu-item > a,
body.tw-site #masthead .ast-builder-menu-1 .menu-item > a,
body.tw-site #masthead .ast-builder-menu .main-header-menu > .menu-item > a {
  font-family: var(--tw-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 0 16px;
  text-decoration: none !important;
  color: var(--tw-ink);
}

body.tw-site #masthead .main-header-menu > .menu-item > a:hover,
body.tw-site #masthead .main-header-menu > .menu-item.current-menu-item > a,
body.tw-site #masthead .main-header-menu > .menu-item.current_page_item > a {
  color: var(--tw-primary);
}

/* CTA in nav */
body.tw-site #masthead .tw-nav-cta > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 10px 18px !important;
  background: var(--tw-primary);
  color: var(--tw-white) !important;
  border-radius: 2px;
  font-weight: 600;
  line-height: 1.2;
}
body.tw-site #masthead .tw-nav-cta > a:hover {
  background: var(--tw-primary-dark);
  color: var(--tw-white) !important;
}

/* Transparent header over the homepage hero */
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) .site-title,
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) .site-title a,
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead .main-header-menu > .menu-item > a,
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead .ast-builder-menu .menu-item > a,
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead .menu-toggle,
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead .ast-mobile-menu-buttons,
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead .ast-button-wrap .menu-toggle,
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead button.menu-toggle {
  color: var(--tw-white) !important;
  fill: var(--tw-white);
}
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead .menu-toggle .ast-mobile-svg,
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead .menu-toggle svg,
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead .ast-mobile-svg {
  fill: var(--tw-white);
  color: var(--tw-white);
}
body.tw-site.home.tw-transparent-header:not(.tw-header-solid) #masthead .tw-nav-cta > a {
  background: var(--tw-primary);
  color: var(--tw-white) !important;
  box-shadow: 0 8px 24px rgba(3, 160, 122, 0.28);
}

body.tw-site.home.tw-transparent-header.tw-header-solid #masthead,
body.tw-site #masthead.tw-is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(27, 31, 41, 0.08);
}

/* Open mobile drawer should use solid header colors */
body.tw-site #masthead .ast-mobile-header-wrap .ast-mobile-header-content,
body.tw-site #masthead .ast-desktop-header-content,
body.tw-site #masthead .ast-builder-menu-mobile {
  background: var(--tw-white);
}
body.tw-site #masthead .ast-mobile-header-content .menu-item > a,
body.tw-site #masthead .ast-builder-menu-mobile .menu-item > a {
  color: var(--tw-ink) !important;
}
body.tw-site #masthead .ast-mobile-header-content .tw-nav-cta > a {
  margin: 12px 20px 20px;
  display: inline-flex !important;
}

/* ---------- Buttons ---------- */
.tw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-family: var(--tw-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  line-height: 1.2;
}
.tw-btn-primary {
  background: var(--tw-primary);
  color: var(--tw-white) !important;
  border-color: var(--tw-primary);
}
.tw-btn-primary:hover {
  background: var(--tw-primary-dark);
  border-color: var(--tw-primary-dark);
  color: var(--tw-white) !important;
}
.tw-btn-ghost {
  background: transparent;
  color: var(--tw-white) !important;
  border-color: rgba(255, 255, 255, 0.7);
}
.tw-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--tw-white);
  color: var(--tw-white) !important;
}
.tw-btn-on-dark {
  box-shadow: 0 10px 30px rgba(3, 160, 122, 0.35);
}

.tw-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-family: var(--tw-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tw-primary);
}
.tw-eyebrow-dark {
  color: var(--tw-primary-dark);
}

.tw-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.tw-section-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.35;
}
.tw-section-head p {
  margin: 0;
  color: var(--tw-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- Homepage ---------- */
body.tw-site.home #content,
body.tw-site.home #primary,
body.tw-site.home #primary.ast-page-builder,
body.tw-site.home .site-content {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  background: transparent;
  box-shadow: none;
}
.tw-home {
  width: 100%;
}

.tw-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--tw-white);
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(3, 160, 122, 0.35), transparent 55%),
    linear-gradient(120deg, var(--tw-hero-1) 0%, var(--tw-hero-2) 48%, var(--tw-hero-3) 100%);
  overflow: hidden;
  padding: calc(var(--tw-header-h) + 48px) 0 80px;
}
.tw-hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 70%);
}
.tw-hero-visual::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 18%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 40px rgba(3, 160, 122, 0.08), 0 0 0 90px rgba(255, 255, 255, 0.03);
}
.tw-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  width: min(var(--tw-wrap), calc(100% - 40px));
}
.tw-hero h1 {
  margin: 0 0 1.2rem;
  color: var(--tw-white);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.2;
  font-weight: 700;
}
.tw-hero-lead {
  margin: 0 0 2rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.85;
}
.tw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tw-promises {
  background: var(--tw-white);
  padding: 72px 0 40px;
}
.tw-promises-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.tw-promise {
  padding: 8px 4px 24px;
}
.tw-promise-index {
  display: block;
  margin-bottom: 12px;
  color: var(--tw-primary);
  font-family: var(--tw-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.tw-promise h2 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
}
.tw-promise p {
  margin: 0;
  color: var(--tw-muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.tw-groups {
  background: var(--tw-soft);
  padding: 88px 0;
}
.tw-groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.tw-group-card,
.tw-feature-card {
  display: flex;
  flex-direction: column;
  background: var(--tw-white);
  border: 1px solid var(--tw-line);
  border-radius: 4px;
  padding: 1.6rem 1.5rem 1.35rem;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-height: 100%;
}
.tw-group-card:hover,
.tw-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--tw-primary);
  box-shadow: 0 14px 30px rgba(2, 130, 98, 0.1);
  color: inherit !important;
}
.tw-group-card h3,
.tw-feature-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  color: var(--tw-ink);
}
.tw-group-card p,
.tw-feature-card p {
  flex: 1 1 auto;
  margin: 0 0 1rem;
  color: var(--tw-muted);
  line-height: 1.75;
  font-size: 0.98rem;
}
.tw-card-more {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tw-primary-dark);
}

.tw-featured {
  background: var(--tw-white);
  padding: 88px 0;
}
.tw-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tw-steps {
  background: var(--tw-soft);
  padding: 88px 0;
}
.tw-steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: twstep;
}
.tw-steps-grid li {
  position: relative;
  padding: 8px 8px 8px 0;
  counter-increment: twstep;
}
.tw-steps-grid li::before {
  content: counter(twstep, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--tw-primary);
  font-family: var(--tw-serif);
  font-size: 1.4rem;
  font-weight: 700;
}
.tw-steps-grid h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}
.tw-steps-grid p {
  margin: 0;
  color: var(--tw-muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.tw-cta-band {
  background:
    radial-gradient(800px 300px at 10% 0%, rgba(3, 160, 122, 0.28), transparent 60%),
    linear-gradient(120deg, var(--tw-hero-1), var(--tw-hero-2));
  color: var(--tw-white);
  padding: 72px 0;
}
.tw-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tw-cta-inner h2 {
  margin: 0 0 0.6rem;
  color: var(--tw-white);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}
.tw-cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}
.tw-cta-inner .tw-eyebrow {
  color: #8ee4c8;
}

/* ---------- Footer ---------- */
body.tw-site .site-footer,
body.tw-site .ast-footer-wrap,
body.tw-site .site-below-footer-wrap,
body.tw-site .ast-small-footer {
  background: #071c19;
  color: rgba(255, 255, 255, 0.78);
  border: 0;
}
.tw-footer {
  background: #071c19;
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 24px;
}
.tw-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 36px;
}
.tw-footer-title,
.tw-footer h2 {
  margin: 0 0 1rem;
  color: var(--tw-white);
  font-size: 1.05rem;
  font-family: var(--tw-serif);
}
.tw-footer p,
.tw-footer li {
  font-size: 0.92rem;
  line-height: 1.8;
}
.tw-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tw-footer a {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
}
.tw-footer a:hover {
  color: #8ee4c8 !important;
}

body.tw-site .site-footer .ast-builder-grid-row,
body.tw-site .site-below-footer-wrap .ast-builder-grid-row,
body.tw-site .ast-small-footer .ast-container {
  width: min(var(--tw-wrap), calc(100% - 40px));
  margin: 0 auto;
}
body.tw-site .site-footer-focus-item,
body.tw-site .ast-footer-copyright,
body.tw-site .ast-small-footer-wrap,
body.tw-site .site-below-footer-wrap {
  color: rgba(255, 255, 255, 0.55);
  background: #071c19;
}
body.tw-site .ast-footer-copyright,
body.tw-site .tw-copyright,
body.tw-site .site-below-footer-wrap a {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px;
}
body.tw-site .site-below-footer-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  padding-bottom: 22px;
}

/* ---------- Inner pages (资质许可 catalog + details) ---------- */
body.tw-site:not(.home) #primary {
  width: min(var(--tw-wrap), calc(100% - 40px));
  margin: 32px auto 80px;
  padding: 0;
}
body.tw-site.page .entry-header,
body.tw-site.page .ast-single-post .entry-header {
  margin: 0 0 1.5rem;
  padding: 0;
}
body.tw-site.page .entry-title,
body.tw-site .ast-archive-description h1,
body.tw-site.page h1.entry-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 0.4rem;
  color: var(--tw-ink);
}
body.tw-site .entry-content {
  font-size: 1rem;
  line-height: 1.8;
}

/* Harmonize catalog cards with the new palette, without changing published HTML */
body.tw-site .zx-catalog,
body.tw-site .zx-detail {
  max-width: none;
  color: var(--tw-ink);
}
body.tw-site .zx-group {
  border-bottom-color: var(--tw-line);
  color: var(--tw-ink);
  font-family: var(--tw-serif);
  scroll-margin-top: calc(var(--tw-header-h) + 16px);
}
body.tw-site .zx-card {
  border-color: var(--tw-line);
  border-radius: 4px;
}
body.tw-site .zx-card:hover {
  border-color: var(--tw-primary);
  box-shadow: 0 12px 28px rgba(2, 130, 98, 0.1);
}
body.tw-site .zx-card h3 {
  color: var(--tw-ink);
  font-family: var(--tw-serif);
}
body.tw-site .zx-card-price,
body.tw-site .zx-card-more,
body.tw-site .zx-price {
  color: var(--tw-primary-dark);
}
body.tw-site .zx-card-price-ask {
  color: var(--tw-muted);
}
body.tw-site .zx-detail h2 {
  color: var(--tw-ink);
  font-family: var(--tw-serif);
}
body.tw-site .zx-foot {
  border-top-color: var(--tw-line);
}

/* Keep article typography consistent if a blog post is opened */
body.tw-site.single .entry-content,
body.tw-site.page .entry-content p {
  color: var(--tw-ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tw-promises-grid,
  .tw-featured-grid,
  .tw-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tw-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  :root { --tw-header-h: 72px; }
  .tw-hero {
    min-height: 82vh;
    padding-bottom: 56px;
  }
  .tw-promises,
  .tw-groups,
  .tw-featured,
  .tw-steps,
  .tw-cta-band,
  .tw-footer {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .tw-promises-grid,
  .tw-groups-grid,
  .tw-featured-grid,
  .tw-steps-grid,
  .tw-footer-grid,
  .tw-cta-inner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .tw-cta-inner {
    text-align: left;
  }
  body.tw-site #masthead .tw-nav-cta > a {
    margin-left: 0;
  }
}

/* ---------- Inner pages: centered reading column ----------
   The marketing homepage must stay full-bleed.
   Child theme earlier removed .ast-container max-width/padding so the
   homepage can be edge-to-edge. Astra then applies a more specific rule
   `.yes-js.js_active .ast-plain-container.ast-single-post #primary { margin: 4em 0; }`
   on both posts and ordinary pages (Astra also adds ast-single-post on pages).
   That zeroes left/right margins, so a ~1200px #primary sticks to the left
   of the viewport and looks off-center. Override that only off the homepage.
*/
body.tw-site:not(.home) #content.site-content {
  background: var(--tw-soft);
}
body.tw-site:not(.home) #content > .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 24px 20px 48px;
  box-sizing: border-box;
}

body.tw-site:not(.home) #primary,
body.tw-site:not(.home).ast-plain-container.ast-no-sidebar #primary,
html.yes-js.js_active body.tw-site:not(.home).ast-plain-container.ast-single-post #primary,
html.yes-js.js_active body.tw-site:not(.home).ast-plain-container.ast-single-post #primary.ast-single-post-layout {
  float: none;
  width: 100%;
  max-width: 840px;
  margin: 28px auto 72px !important;
  padding: 40px 48px 56px;
  box-sizing: border-box;
  background: var(--tw-white);
  border: 1px solid var(--tw-line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(27, 31, 41, 0.04);
}

/* Blog / archive / search / WooCommerce need a wider column */
body.tw-site.blog #primary,
body.tw-site.archive #primary,
body.tw-site.search #primary,
body.tw-site.woocommerce #primary,
body.tw-site.woocommerce-page #primary,
html.yes-js.js_active body.tw-site.blog #primary,
html.yes-js.js_active body.tw-site.archive #primary,
html.yes-js.js_active body.tw-site.search #primary,
html.yes-js.js_active body.tw-site.woocommerce #primary,
html.yes-js.js_active body.tw-site.woocommerce-page #primary {
  max-width: 1100px;
}

body.tw-site:not(.home) .ast-article-single,
body.tw-site:not(.home) .ast-article-post {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

body.tw-site:not(.home) .entry-header,
body.tw-site.page .entry-header,
body.tw-site.page .ast-single-post .entry-header,
body.tw-site.single .entry-header {
  margin: 0 0 1.5rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--tw-line);
}

body.tw-site:not(.home) .entry-title,
body.tw-site.page .entry-title,
body.tw-site.page h1.entry-title,
body.tw-site.single h1.entry-title {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  line-height: 1.35;
  margin: 0 0 0.6rem;
  color: var(--tw-ink);
  overflow-wrap: break-word;
  word-break: break-word;
}

body.tw-site:not(.home) .entry-meta,
body.tw-site:not(.home) .entry-meta a {
  color: var(--tw-muted);
  font-size: 0.92rem;
}

body.tw-site:not(.home) .entry-content,
body.tw-site:not(.home) .entry-content p,
body.tw-site:not(.home) .entry-content li {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--tw-ink);
}

/* Trademark and similar posts use bare <div> instead of <p> */
body.tw-site:not(.home) .entry-content > div {
  margin: 0 0 0.85rem;
  line-height: 1.9;
  overflow-wrap: break-word;
  word-break: break-word;
}
body.tw-site:not(.home) .entry-content > div:empty {
  display: none;
}

body.tw-site:not(.home) .entry-content ul,
body.tw-site:not(.home) .entry-content ol {
  margin: 0 0 1.2rem;
  padding-left: 1.4em;
}
body.tw-site:not(.home) .entry-content li {
  margin: 0 0 0.55rem;
}

body.tw-site:not(.home) .entry-content img,
body.tw-site:not(.home) .entry-content figure,
body.tw-site:not(.home) .entry-content table,
body.tw-site:not(.home) .entry-content video,
body.tw-site:not(.home) .entry-content iframe {
  max-width: 100%;
  height: auto;
}
body.tw-site:not(.home) .ast-article-single figure,
body.tw-site:not(.home) .ast-article-single img:not(figure img) {
  box-shadow: none;
  border-radius: 6px;
}

body.tw-site.blog .ast-article-post,
body.tw-site.archive .ast-article-post,
body.tw-site.search .ast-article-post {
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--tw-line);
}

/* A little breathing room on very short pages such as 服务项目 */
body.tw-site.page .entry-content {
  min-height: 6rem;
}

@media (max-width: 921px) {
  html.yes-js.js_active body.tw-site:not(.home).ast-plain-container.ast-single-post #primary,
  body.tw-site:not(.home) #primary {
    margin: 16px auto 48px !important;
    padding: 24px 20px 36px;
  }
  body.tw-site:not(.home) #content > .ast-container {
    padding: 12px 14px 32px;
  }
}
