/* Reference-led Zibll recreation layer for the Halo templates. */
:root {
  --accent: #3488ec;
  --accent-color: #3488ec;
  --ink: #4e5358;
  --muted: #91989e;
  --line: #eceff1;
  --paper: #fff;
  --canvas: #f5f6f7;
  --soft: #f1f3f4;
  --deep: #24282d;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(33, 45, 56, .065);
  --content: 1200px;
  --halo-search-widget-base-font-size: 14px;
  --halo-search-widget-base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --halo-search-widget-base-rounded: 8px;
  --halo-search-widget-base-bg-color: #fff;
  --halo-search-widget-primary-color: #3488ec;
  --halo-search-widget-muted-color: #91989e;
  --halo-search-widget-content-color: #4e5358;
  --halo-search-widget-modal-bg-color: #fff;
  --halo-search-widget-modal-layer-color: rgba(20, 29, 37, .55);
  --halo-search-widget-hit-bg-color: #f5f6f7;
  --halo-search-widget-divider-color: #eceff1;
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
html { background: var(--canvas); }
body { background: var(--canvas); color: #4e5358; font-size: 14px; line-height: 1.65; }
a { color: inherit; }
.site-main { min-height: 65vh; }
.visually-hidden { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Fixed 68px navigation; it becomes transparent over the full-bleed home hero. */
.site-header { position: sticky; top: 0; z-index: 40; height: 68px; border: 0; background: rgba(255,255,255,.97); box-shadow: 0 1px 8px rgba(25,35,45,.035); backdrop-filter: blur(12px); }
.header-inner { width: calc(100% - 42px); max-width: 1223px; height: 68px; padding: 0 25px 0 0; margin: auto; gap: 32px; }
.brand { gap: 0; margin-left: -5px; }
.brand-logo { width: 177px; height: 36px; max-width: 177px; object-fit: contain; object-position: left center; }
.brand-logo-reference { box-sizing: border-box; padding: 0; object-fit: contain; }
.brand-mark { width: 120px; height: 36px; border-radius: 0; background: transparent; color: #28854b; box-shadow: none; font-size: 0; position: relative; }
.brand-mark::before { content: "ZIBLL"; color: #e7465d; font-size: 24px; font-weight: 850; letter-spacing: -.04em; }
.brand-copy { display: none; }
.primary-nav { flex: 1; display: flex; justify-content: center; transform: translateX(47px); }
.primary-nav > ul { gap: clamp(20px, 3vw, 37px); }
.primary-nav-reference > ul { gap: 0; }
.primary-nav > a { margin: 0 20px; }
.primary-nav a { color: #4e5358; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-item { padding: 22px 0; }
.primary-nav-reference .nav-item { height: 68px; display: flex; align-items: center; justify-content: center; padding: 0; flex: 0 0 96px; }
.primary-nav-reference .nav-reference-purchase { flex-basis: 104px; }
.primary-nav-reference .nav-item > a { width: 100%; height: 50px; display: flex; align-items: center; justify-content: flex-start; padding: 0 0 0 10px; }
.primary-nav-reference .nav-item { position: relative; }
.primary-nav-reference .nav-caret { margin-left: 3px; font-size: 12px; opacity: .78; }
.reference-menu-badge { position: absolute; top: 7px; right: 24px; padding: 1px 4px; border-radius: 6px 6px 6px 0; background: #ee625b; color: #fff; font-size: 9px; line-height: 1.35; }
.nav-submenu { top: 58px; min-width: 180px; border: 0; border-radius: 8px; padding: 7px; box-shadow: 0 7px 25px rgba(0,0,0,.12); }
.nav-submenu a { padding: 9px 11px; }
.primary-nav-reference .nav-item-mega { position: relative; }
.primary-nav-reference .nav-submenu.nav-mega-menu { left: 50%; width: min(820px, calc(100vw - 48px)); display: none; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; padding: 20px 22px; border: 1px solid rgba(31,44,54,.08); border-radius: 12px; transform: translateX(-50%); }
.primary-nav-reference .nav-item:hover > .nav-submenu.nav-mega-menu, .primary-nav-reference .nav-item:focus-within > .nav-submenu.nav-mega-menu { display: grid; }
.nav-menu-column { display: flex; flex-direction: column; min-width: 0; }
.nav-menu-column > strong { margin: 1px 10px 8px; padding-bottom: 9px; border-bottom: 1px solid #edf0f2; color: #30373c; font-size: 12px; font-weight: 750; }
.nav-menu-column > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; padding: 7px 10px; border-radius: 7px; color: #686f74; font-size: 11px; font-weight: 500; }
.nav-menu-column > a span { color: #a6adb2; font-size: 16px; line-height: 1; }
.nav-menu-column > a:hover { background: #f4f7f9; color: var(--accent-color); }
.primary-nav-reference .nav-submenu.nav-feature-menu { left: 50%; width: min(510px, calc(100vw - 48px)); display: none; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; padding: 13px; border-radius: 11px; transform: translateX(-50%); }
.primary-nav-reference .nav-item:hover > .nav-submenu.nav-feature-menu, .primary-nav-reference .nav-item:focus-within > .nav-submenu.nav-feature-menu { display: grid; }
.nav-feature-menu li > a { display: flex; align-items: center; gap: 11px; min-height: 66px; padding: 10px; border-radius: 8px; }
.nav-feature-menu li > a:hover { background: #f5f7f8; }
.nav-feature-icon { width: 36px; height: 36px; display: grid; flex: 0 0 36px; place-items: center; border-radius: 50%; background: #f1f6f7; color: #61aaa1; font-size: 17px; }
.nav-feature-menu li:nth-child(2) .nav-feature-icon { background: #fff3e7; color: #e3a052; }
.nav-feature-menu li:nth-child(3) .nav-feature-icon { background: #fff0f2; color: #e08490; }
.nav-feature-menu li:nth-child(4) .nav-feature-icon { background: #eef7f8; color: #62aeb4; }
.nav-feature-menu li > a strong, .nav-feature-menu li > a small { display: block; }
.nav-feature-menu li > a strong { color: #3d4449; font-size: 11px; font-weight: 700; }
.nav-feature-menu li > a small { margin-top: 4px; color: #969da2; font-size: 9px; }
.header-actions { gap: 0; }
.header-actions .icon-button { border: 0; background: transparent; width: 40px; min-width: 40px; height: 34px; padding: 0; border-radius: 50%; font-size: 18px; color: #656b70; box-shadow: none; }
.header-actions .icon-button svg, .account-member svg, .site-float-tools svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.header-actions .theme-trigger { width: 29px; min-width: 29px; height: 29px; }
.language-switcher { position: relative; width: 29px; height: 29px; flex: 0 0 29px; margin-left: 10px; }
.header-actions .language-trigger { width: 29px; min-width: 29px; height: 29px; }
.language-glyph { color: currentColor; font-family: Georgia,serif; font-size: 12px; font-weight: 700; line-height: 1; }
.language-menu { position: absolute; z-index: 52; top: 34px; right: 27px; width: 128px; padding: 5px; border: 1px solid rgba(0,0,0,.04); border-radius: 7px; background: #fff; box-shadow: 0 7px 24px rgba(0,0,0,.14); }
.language-menu button { width: 100%; min-height: 32px; display: flex; align-items: center; padding: 0 9px; border: 0; border-radius: 4px; background: transparent; color: #646d73; text-align: left; font-size: 12px; cursor: pointer; }
.language-flag { width: 16px; height: 11px; flex: 0 0 16px; display: block; margin-right: 10px; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.language-menu button:hover, .language-menu button[aria-checked="true"] { background: #f2f5f6; color: #56a98c; }
.language-menu[hidden] { display: none!important; }
.account-member svg { width: 15px; height: 15px; stroke: #fff4bf; stroke-width: 1.8; }
.theme-trigger .icon-sun, .site-float-tools [data-theme-toggle] .icon-sun { display: none; }
body.dark .theme-trigger .icon-moon, body.dark .site-float-tools [data-theme-toggle] .icon-moon { display: none; }
body.dark .theme-trigger .icon-sun, body.dark .site-float-tools [data-theme-toggle] .icon-sun { display: block; }
.header-actions .account-link { padding: 8px 13px; color: #727a80; font-size: 12px; font-weight: 600; }
.header-actions .account-primary { color: white; background: linear-gradient(110deg,#ed8e45,#e95c5c); border-radius: 20px; }
.header-actions .account-member { width: 89px; min-width: 89px; height: 24px; display: inline-flex; justify-content: center; align-items: center; gap: 4px; margin-left: 25px; padding: 0 8px; border: 0; border-radius: 14px; background: linear-gradient(110deg,#ed9a4c,#ec7160); color: #fff; font-family: inherit; font-size: 9px; cursor: pointer; }
.header-actions .account-icon { width: 40px; min-width: 40px; height: 34px; margin-left: 30px; padding: 0; color: #656b70; }
.header-actions .search-trigger { width: 40px; min-width: 40px; height: 34px; margin-left: 10px; }
.header-actions .mobile-menu-trigger { margin-left: 0; }
.mobile-menu-trigger { display: none; }
body:has(.home-hero) .site-header { position: absolute; inset: 0 0 auto; background: transparent; box-shadow: none; color: #fff; }
body:has(.home-hero) .primary-nav a,
body:has(.home-hero) .header-actions .icon-button,
body:has(.home-hero) .header-actions .account-link { color: rgba(255,255,255,.94); }
body:has(.home-hero) .nav-submenu, body:has(.home-hero) .language-menu { background: rgba(255,255,255,.98); }

/* Homepage hero, search and overlapping shortcut cards. */
.home-hero { height: 560px; width: 100%; position: relative; isolation: isolate; margin: 0 0 50px; overflow: visible; background: #0a151c; color: white; }
.home-hero-poster, .home-hero-video, .home-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-poster { z-index: 0; object-fit: cover; object-position: 50% 52%; }
.home-hero-video { z-index: 1; object-fit: cover; object-position: 50% 52%; opacity: 0; transition: opacity .35s ease; }
.home-hero.is-video-playing .home-hero-video { opacity: 1; }
.home-hero-shade { z-index: 2; background: linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.14) 42%,rgba(5,18,24,.08)),linear-gradient(0deg,rgba(7,22,28,.11),transparent 45%); }
.home-promo-dialog { position: fixed; inset: 0; width: 400px; height: 338px; max-width: calc(100vw - 26px); max-height: calc(100vh - 24px); box-sizing: border-box; margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; color: #343b40; }
.home-promo-dialog[open] { display: block; }
.home-promo-dialog::backdrop { background: rgba(24,29,34,.62); }
.home-promo-card { width: 100%; height: 100%; overflow: hidden; border-radius: 9px; background: #fff; box-shadow: 0 16px 48px rgba(0,0,0,.26); }
.home-promo-header { position: relative; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; background: linear-gradient(115deg,#f0647d 0%,#f67384 58%,#f5657b 100%); color: #fff; }
.home-promo-header::before { position: absolute; inset: 0; content: ""; background: radial-gradient(ellipse at 17% -42%,rgba(255,255,255,.2) 0 42%,transparent 43%),radial-gradient(ellipse at 92% 112%,rgba(255,255,255,.1) 0 35%,transparent 36%); pointer-events: none; }
.home-promo-header svg { width: 30px; height: 30px; fill: #fff; }
.home-promo-header h2 { margin: 0; color: #fff; font-size: 16px; font-weight: 650; line-height: 1.4; }
.home-promo-close { position: absolute; z-index: 1; top: 9px; right: 11px; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.85); font-size: 23px; font-weight: 300; line-height: 1; cursor: pointer; }
.home-promo-close:focus { outline: none; }
.home-promo-close:focus-visible { outline: 2px solid rgba(255,255,255,.9); outline-offset: 2px; border-radius: 50%; }
.home-promo-body { height: calc(100% - 120px); display: flex; flex-direction: column; box-sizing: border-box; padding: 14px 16px 15px; }
.home-promo-body p { margin: 0 0 9px; color: #4c5358; font-size: 14px; line-height: 1.4; }
.home-promo-body .home-promo-highlight { margin-bottom: 9px; color: #db7b40; font-weight: 700; }
.home-promo-body .home-promo-linkline a { color: #4d9de1; }
.home-promo-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; }
.home-promo-actions a { min-width: 84px; height: 31px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 11px; border-radius: 4px; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.home-promo-actions .home-promo-updates { background: #a66ad9; }
.home-promo-actions .home-promo-docs { background: #72bd89; }
.home-promo-actions .home-promo-buy { background: #f18839; }
.home-promo-actions a:hover { filter: brightness(.96); transform: translateY(-1px); }
.home-hero-content { position: absolute; z-index: 3; top: 51%; left: 50%; width: min(790px, calc(100% - 40px)); transform: translate(-50%,-50%); text-align: center; }
.home-hero-content h1 { margin: 0 0 8px; color: #fff; font-size: 28px; line-height: 1.35; font-weight: 750; letter-spacing: -.025em; }
.home-hero-content p { margin: 0 0 38px; color: rgba(255,255,255,.93); font-size: 16px; }
.hero-search { width: 100%; height: 52px; display: flex; align-items: center; padding: 0 19px 0 31px; border-radius: 32px; background: rgba(255,255,255,.96); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.hero-search input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: #555d63; font-size: 15px; }
.hero-search input::placeholder { color: #a8adb1; }
.hero-search button { flex: 0 0 30px; height: 35px; border: 0; background: transparent; color: #707980; font-size: 27px; line-height: 1; cursor: pointer; }
.hero-search button svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-search-trigger { border: 0; text-align: left; justify-content: space-between; color: #a8adb1; cursor: pointer; }
.hero-search-trigger span:last-child { color: #707980; font-size: 25px; }
.search-results-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 13px; border-radius: 5px; background: #fff; box-shadow: var(--shadow); color: #858d93; font-size: 11px; }
.search-results-summary b { color: #4e5358; font-weight: 650; }
.search-results-summary > a { margin-left: auto; color: #3488ec; }
.home-wrap.search-mode { padding-top: 20px; }
.search-page-intro { box-sizing: border-box; height: 207px; margin: 0 0 0; padding: 15px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.search-page-form { box-sizing: border-box; width: min(576px,100%); height: 60px; display: flex; align-items: center; margin: 0 auto; border-bottom: 1px solid #e8eaec; }
.search-page-type { flex: 0 0 auto; padding: 0 8px 0 0; border: 0; background: transparent; color: #50575d; font-size: 13px; cursor: default; transform: translateY(5px); }.search-page-type span { margin-left: 3px; color: #a2a8ad; }
.search-page-field { min-width: 0; height: 42px; display: flex; flex: 1; flex-direction: column; justify-content: center; }.search-page-field>span { color: #9aa1a6; font-size: 10px; line-height: 13px; }.search-page-field input { width: 100%; min-width: 0; height: 22px; flex: none; padding: 0 0; border: 0; outline: 0; background: transparent; color: #4e5358; font-size: 13px; line-height: 20px; }
.search-page-submit { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; color: #888f94; cursor: pointer; }.search-page-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.search-page-hotwords { width: min(576px,100%); margin: 10px auto 0; }.search-page-hotwords p { margin: 0 0 9px; color: #9aa1a6; font-size: 11px; }
.search-page-hotwords>div { display: flex; flex-wrap: wrap; gap: 5px 11px; }.search-page-hotwords a { box-sizing: border-box; min-width: 40px; height: 28px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border-radius: 3px; background: #f3f4f5; color: #7f878d; font-size: 11px; white-space: nowrap; }.search-page-hotwords a:hover { background: #e8f2fd; color: #3288ed; }
.home-wrap.search-mode .search-results-summary { min-height: 18px; margin: 17px 0 10px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; color: #8b9297; font-size: 13px; }
.home-wrap.search-mode .search-results-summary > a { margin-left: auto; font-size: 11px; }
.search-filter-panel { margin: 0 0 10px; padding: 5px 25px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); color: #737b81; }
.search-type-row { height: 52px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #eceeef; }.search-type-row a { height: 52px; display: inline-flex; align-items: center; padding: 0 2px; color: #6f777d; font-size: 13px; }.search-type-row a.is-active { position: relative; color: #19a98f; font-weight: 650; }.search-type-row a.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #1bb296; content: ""; }.search-type-row a[aria-disabled="true"] { color: #aeb4b8; }
.search-facet-row { min-height: 39px; display: flex; align-items: center; gap: 12px; border-bottom: 1px dashed #eceeef; }.search-facet-row[hidden] { display: none!important; }.search-facet-row>strong { flex: 0 0 38px; color: #92999e; font-size: 11px; font-weight: 500; }.search-facet-row>div { min-width: 0; display: flex; flex: 1; align-items: center; gap: 8px 15px; overflow: hidden; }.search-facet-row a { color: #747c82; font-size: 11px; white-space: nowrap; }.search-facet-row a:hover,.search-facet-row a.is-active { color: #1eae91; }.search-facet-row a[data-count]::after { margin-left: 3px; color: #a4aaae; font-size: 9px; content: attr(data-count); }
.search-sort-row { min-height: 38px; border-bottom: 0; }.search-sort-row>div { gap: 16px; }.search-sort-row a.is-active { color: #1eae91; font-weight: 650; }
.home-wrap.search-mode .search-page-status { margin: 10px 0; color: #8b9297; font-size: 12px; }.home-wrap.search-mode .search-page-status[hidden] { display: none!important; }
.home-wrap.search-mode .is-search-pending { display: none!important; }
.search-pagination { min-height: 35px; display: flex; align-items: center; justify-content: center; gap: 5px; margin: 17px 0 8px; }.search-pagination[hidden] { display: none!important; }.search-pagination a,.search-pagination span { min-width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border-radius: 4px; color: #858d93; font-size: 11px; }.search-pagination a:hover,.search-pagination a.is-active { background: #3488ec; color: #fff; }
.search-empty[hidden] { display: none!important; }
.post-card[hidden] { display: none!important; }
.search-result-card { box-sizing: border-box; min-height: 173px; grid-template-columns: 190px minmax(0,1fr); gap: 20px; padding: 20px; }
.search-result-card .post-card-media { height: 133px; min-height: 133px; }
.search-result-card .post-card-body { min-width: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.search-result-card .post-card-body h2 { margin: 0 0 10px; font-size: 16px; line-height: 25px; }
.search-result-card .card-excerpt { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 20px; }
.search-card-taxonomy { display: flex; align-items: center; gap: 5px; margin-top: 11px; overflow: hidden; white-space: nowrap; }
.search-card-taxonomy a { max-width: 135px; display: inline-block; padding: 3px 5px; overflow: hidden; border-radius: 3px; background: #edf5fc; color: #568bbd; font-size: 9px; line-height: 1.3; text-overflow: ellipsis; }
.search-card-taxonomy .is-topic { background: #eef7f0; color: #58a16b; }.search-card-taxonomy .is-tag { background: #f5f2ea; color: #ac9360; }
.search-keyword-highlight { background: transparent; color: #1ab397; font-weight: inherit; }
.search-card-meta { min-height: 20px; display: flex; align-items: center; gap: 9px; padding-top: 0; white-space: nowrap; }
.search-card-meta .author-chip { display: inline-flex; align-items: center; gap: 5px; }.search-card-meta .author-chip img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.hero-keywords { min-height: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.hero-keywords a { display: inline-flex; align-items: center; padding: 3px 9px; border: 1px solid rgba(255,255,255,.24); border-radius: 4px; background: rgba(255,255,255,.88); color: #72787e; font-size: 12px; line-height: 1.55; transition: .18s; }
.hero-keywords a:hover { background: #3488ec; border-color: #3488ec; color: #fff; transform: translateY(-1px); }
@media (min-width: 1200px) {
  .header-inner { position: relative; }
  .primary-nav-reference { position: absolute; top: 0; left: calc(50% + 50px); width: 392px; height: 68px; flex: none; transform: translateX(-50%); }
  .header-actions { margin-left: auto; }
  .header-actions .theme-trigger { transform: translateY(-1.7px); }
  .header-actions .language-trigger { transform: translateY(-1px); }
  .home-hero-content { top: calc(51% + 2.3px); left: calc(50% - 6px); width: min(800px,calc(100% - 40px)); }
  .home-hero-content h1 { margin-bottom: 10px; font-size: 27.2px; line-height: 38.8571px; font-weight: 700; letter-spacing: normal; }
  .home-hero-content p { margin-bottom: 30.6px; font-size: 17px; line-height: 24.2857px; }
  .home-hero-poster, .home-hero-video { top: -2px; }
  .hero-search { position: relative; left: 0; box-sizing: border-box; width: min(800px,calc(100vw - 30px)); height: 71.28px; padding: 10px; overflow: visible; border-radius: 40px; background: transparent; box-shadow: none; transform: translateY(0); }
  .hero-search::before { position: absolute; z-index: 0; inset: 10px; border-radius: 100px; background: rgba(255,255,255,.8); box-shadow: 0 3px 18px rgba(15,20,24,.06); content: ""; pointer-events: none; }
  .hero-search input { position: absolute; z-index: 1; left: 40.4px; right: 40.4px; top: 50%; width: auto; height: 24.3px; box-sizing: border-box; padding: 0; transform: translateY(-50%); font-size: 17px; line-height: 24.3px; }
  .hero-search button { position: absolute; z-index: 1; top: 50%; right: 29.5px; display: grid; width: 30px; height: 24.3px; box-sizing: border-box; place-items: center; padding: 0; transform: translateY(-50%); }
  .hero-keywords { position: relative; left: 0; width: min(800px,calc(100vw - 30px)); min-height: 54.8px; box-sizing: border-box; align-content: flex-start; padding: 10px 6px 0 0; margin-top: -.143px; transform: translateY(.2px); }
  .hero-keywords a { width: 40.9px; height: 28.8px; flex: 0 0 40.9px; justify-content: center; box-sizing: border-box; padding: 0; font-size: 13px; line-height: 1; }
  .home-hero .home-shortcuts { bottom: -38px; }
  .post-pay-sidebar-card + .user-card { margin-top: 8px; }
}
.home-shortcuts { position: absolute; z-index: 2; left: 50%; bottom: -43px; width: calc(100% - 30px); max-width: 1280px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.shortcut-card { min-width: 0; min-height: 80px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; background: rgba(255,255,255,.97); color: #555d63; box-shadow: 0 4px 18px rgba(20,37,49,.1); transition: transform .2s, box-shadow .2s; }
.shortcut-card:hover { transform: translateY(-3px); box-shadow: 0 9px 24px rgba(20,37,49,.16); }
.shortcut-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; font-size: 20px; font-weight: 700; }
.shortcut-icon svg { width: 23px; height: 23px; display: block; fill: currentColor; }
.shortcut-pink { color: #e56584; background: #ffedf1; }.shortcut-orange { color: #f29849; background: #fff2e5; }.shortcut-red { color: #ea6174; background: #ffe9ed; }.shortcut-cyan { color: #4fb9c3; background: #e5f8fa; }
.shortcut-card > span:last-child { min-width: 0; }
.shortcut-card strong, .shortcut-card small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shortcut-card strong { color: #5a6066; font-size: 14px; font-weight: 700; }
.shortcut-card strong em { margin-left: 4px; padding: 2px 5px; border-radius: 10px; background: #f09b4c; color: white; font-size: 9px; font-style: normal; }
.shortcut-card small { margin-top: 4px; color: #92999f; font-size: 11px; }

/* Reference-width container and homepage carousel/feed proportions. */
.home-wrap, .listing-shell, .directory-shell, .author-shell, .content-shell { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 42px; padding-right: 42px; }
.home-wrap { padding-top: 0; }
.home-feature-row { display: block; height: auto; aspect-ratio: 2.705 / 1; margin: 0 0 20px; }
.home-feature-main { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 8px; background: #dce4e9; }
.home-feature-slides { position: absolute; inset: 0; }.home-feature-slide { position: absolute; inset: 0; display: block; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease,visibility .45s ease; }.home-feature-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }.home-feature-slide>img, .home-feature-slide>.cover-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }.home-feature-slide:hover>img { transform: scale(1.035); }
.home-feature-slide.is-reference-slide > .home-slide-layer { position: absolute; top: 0; height: 100%; object-fit: fill; pointer-events: none; }.home-feature-slide.is-reference-slide > .home-slide-layer-right { z-index: 1; right: 0; width: 100%; }.home-feature-slide.is-reference-slide > .home-slide-layer-left { z-index: 2; left: 0; width: 86.91%; }.home-feature-slide.is-reference-slide:hover > .home-slide-layer { transform: scale(1.035); }
.home-feature-main::after { display: none; }.home-feature-slide::after { content: ""; position: absolute; inset: 45% 0 0; pointer-events: none; background: linear-gradient(0deg,rgba(0,0,0,.68),transparent); }
.home-feature-slide.is-reference-slide::after, .home-feature-slide.is-reference-slide .home-feature-overlay { display: none; }
.home-feature-overlay { position: absolute; z-index: 2; left: 23px; right: 25px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; color: white; }
.home-feature-overlay b { align-self: flex-start; padding: 3px 7px; border-radius: 3px; background: #378be7; color: #fff; font-size: 10px; font-weight: 600; }
.home-feature-overlay strong { font-size: 20px; line-height: 1.35; text-shadow: 0 1px 4px rgba(0,0,0,.25); }
.home-feature-count { position: absolute; z-index: 3; right: 14px; top: 14px; padding: 5px 9px; border-radius: 12px; background: rgba(0,0,0,.3); color: #fff; font-size: 11px; }
.home-carousel-arrow { position: absolute; z-index: 4; top: 50%; width: 34px; height: 42px; transform: translateY(-50%); border: 0; border-radius: 5px; background: rgba(12,22,28,.34); color: white; font-size: 25px; opacity: 0; cursor: pointer; transition: opacity .2s,background .2s; }.home-feature-main:hover .home-carousel-arrow, .home-carousel-arrow:focus-visible { opacity: 1; }.home-carousel-arrow:hover { background: #3488ec; }.home-carousel-prev { left: 10px; }.home-carousel-next { right: 10px; }
.home-slide-dots { position: absolute; z-index: 4; right: 15px; bottom: 15px; display: flex; gap: 5px; }.home-slide-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .2s,background .2s; }.home-slide-dots button.is-active { width: 17px; background: #fff; }
.home-spotlight { min-height: 392px; padding: 11px 14px 18px; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.home-spotlight-tabs { height: 32px; display: flex; align-items: flex-start; gap: 13px; overflow-x: auto; border-bottom: 1px solid #edf0f1; white-space: nowrap; }
.home-spotlight-tabs button { position: relative; padding: 0 0 9px; border: 0; background: transparent; color: #80888d; font-size: 11px; cursor: pointer; }
.home-spotlight-tabs button:hover, .home-spotlight-tabs button.is-active { color: #41ad98; }
.home-spotlight-tabs button.is-active::after { position: absolute; content: ""; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #41ad98; }
.home-spotlight-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 15px; padding-top: 12px; }
.home-spotlight-card { min-width: 0; min-height: 74px; display: grid; grid-template-columns: 96px minmax(0,1fr); align-items: center; gap: 9px; color: #555d63; }
.home-spotlight-card[hidden] { display: none !important; }
.home-spotlight-card:hover strong { color: #40ad98; }
.home-spotlight-thumb { width: 96px; height: 68px; display: block; overflow: hidden; border-radius: 5px; background: #edf1f3; }
.home-spotlight-thumb img, .home-spotlight-thumb .cover-placeholder { width: 100%; height: 100%; object-fit: cover; }
.home-spotlight-thumb .cover-placeholder { font-size: 19px; }
.home-spotlight-copy { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.home-spotlight-copy strong { display: -webkit-box; overflow: hidden; color: #545c62; font-size: 11px; font-weight: 650; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.home-spotlight-meta { min-width: 0; display: flex; align-items: center; gap: 6px; color: #989fa4; font-size: 9px; }
.home-spotlight-meta img { width: 15px; height: 15px; border-radius: 50%; object-fit: cover; }
.home-spotlight-meta .home-demo-author { width: 15px; height: 15px; flex: 0 0 15px; border-radius: 50%; object-fit: cover; }
.home-demo-source { width: 14px; height: 14px; display: grid; place-items: center; flex: 0 0 14px; border-radius: 50%; background: #48b79c; color: #fff; font-size: 9px; font-weight: 800; line-height: 1; }
.home-demo-price { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; padding: 2px 4px; border-radius: 3px; background: #fff1e8; color: #ed9a57; font-size: 8px; line-height: 1.2; white-space: nowrap; }
.home-spotlight-meta time { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-spotlight-views { margin-left: auto; white-space: nowrap; }
.home-spotlight-empty, .home-spotlight-no-results { min-height: 300px; display: grid; place-items: center; color: #a0a6ab; font-size: 11px; }
.home-spotlight-no-results[hidden] { display: none!important; }
.home-columns, .listing-columns, .post-layout { grid-template-columns: minmax(0,2.2fr) minmax(250px,1fr); gap: 17px; }
.home-wrap { width: calc(100% - 30px); max-width: 1280px; padding: 8px 0 0; }
.home-columns { width: 100%; grid-template-columns: minmax(0,2.92fr) minmax(250px,1fr); gap: 15px; }
.post-content-shell { width: calc(100% - 30px); max-width: 1280px; padding-left: 0; padding-right: 0; }
.post-layout { grid-template-columns: minmax(250px,1fr) minmax(0,2.92fr); gap: 15px; }
.post-layout > .sidebar { order: 1; }
.post-layout > .post-main-column { order: 2; }
.home-feed, .listing-main, .post-main-column { min-width: 0; }
.home-tabs { display: flex; gap: 21px; align-items: center; margin: 0 0 12px; padding: 0 0 10px; overflow-x: auto; border-bottom: 1px solid #e8ebed; white-space: nowrap; }
.home-tabs a { color: #747c82; font-size: 13px; }.home-tabs a:hover, .home-tabs a.is-active { color: #3488ec; }
.feed-heading { display: flex; margin: 0 0 12px; align-items: center; }
.home-sort-row { min-height: 35px; display: flex; align-items: center; gap: 11px; margin: 0 0 10px; padding: 0 4px; overflow-x: auto; white-space: nowrap; }.home-sort-row strong { color: #90989d; font-size: 10px; font-weight: 500; }.home-sort-row button { padding: 3px 6px; border: 0; border-radius: 3px; background: transparent; color: #7c858a; font-size: 10px; cursor: pointer; }.home-sort-row button:hover, .home-sort-row button.is-active { background: #3488ec; color: #fff; }
.section-heading h2, .feed-heading h2 { margin: 0; color: #555c62; font-size: 17px; letter-spacing: 0; line-height: 1.45; }
.feed-heading .text-link, .section-heading .text-link { font-size: 11px; font-weight: 500; }
.post-list { display: flex; flex-direction: column; gap: 10px; }
.post-card { min-height: 155px; display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 17px; padding: 10px; border: 0; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.post-card-media { min-height: 135px; height: auto; border-radius: 5px; background: #edf0f2; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder { display: grid; place-items: center; background: linear-gradient(135deg,#e5edf3,#f5f6f7); color: #9ba8b1; font-size: 16px; }
.post-card-body { padding: 7px 8px 4px 0; }
.card-tags { margin: 0 0 5px; gap: 7px; }.card-tags a { color: #8d969d; font-size: 10px; }
.post-card-body h2 { margin: 0 0 5px; color: #50575d; font-size: 16px; line-height: 1.5; font-weight: 650; }
.post-card-body h2 a:hover { color: #3488ec; }
.card-excerpt { margin: 0; color: #858d93; font-size: 12px; line-height: 1.65; }
.card-meta { margin-top: auto; padding-top: 8px; color: #9da4aa; font-size: 10px; }
.card-category { border-radius: 3px; background: rgba(49,134,231,.9); font-size: 9px; }
.sidebar { gap: 12px; }
.sidebar-card { padding: 16px; border: 0; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.profile-card { padding: 0 16px 16px; overflow: hidden; }
.profile-cover { margin: 0 -16px; height: 110px; background: url("/themes/theme-zixu/assets/reference/83c4a6061e238d9e.webp") center/cover,linear-gradient(120deg,#b7d6e1,#e5edf0); }
.profile-avatar { width: 56px; height: 56px; position: relative; margin: -29px 0 8px; border: 3px solid white; border-radius: 50%; background: white; }
.profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-content { padding: 0; }.profile-content .eyebrow { display: none; }
.profile-content h2 { margin: 0 0 5px; font-size: 15px; }.profile-content p { margin: 0; color: #899198; font-size: 11px; }
.profile-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; color: #3488ec; font-size: 11px; }
.sidebar-title { margin-bottom: 10px; }.sidebar-title h2 { font-size: 14px; }.sidebar-title>a { color: #9aa1a6; font-size: 10px; }
.mini-post-list { gap: 8px; }.mini-post-list li { gap: 8px; }.mini-post-number { width: 20px; height: 20px; border-radius: 4px; background: #f1f3f4; color: #92999f; font-size: 9px; }
.mini-post-list li:nth-child(-n+3) .mini-post-number { background: #fff0e9; color: #ed8852; }.mini-post-list a { color: #646c72; font-size: 11px; }
.category-pills a, .tag-cloud a { background: #f5f6f7; color: #778087; border-radius: 4px; font-size: 10px; }
.home-topic-block { margin-top: 20px; }.home-topic-block .section-heading { margin-bottom: 12px; }.home-topic-block .section-heading h2 small { margin-left: 7px; color: #9aa1a6; font-size: 9px; font-weight: 400; }
.topic-row { min-height: 72px; display: flex; align-items: center; gap: 11px; padding: 9px 0; border-top: 1px solid #edf0f2; }
.topic-cover { width: 78px; height: 52px; flex: 0 0 78px; display: grid; place-items: center; overflow: hidden; border-radius: 5px; background: #edf2f4; color: #93a0a7; }.topic-cover img { width: 100%; height: 100%; object-fit: cover; }
.topic-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }.topic-copy strong { color: #596168; font-size: 12px; }.topic-copy small { overflow: hidden; color: #99a1a7; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.topic-count { color: #9da5aa; font-size: 10px; white-space: nowrap; }

/* Category, tag, author and archive routes share the demo's white card layout. */
.listing-shell, .directory-shell, .author-shell, .content-shell { padding-top: 20px; padding-bottom: 56px; }
.listing-hero, .tag-hero { min-height: 252px; margin: 0 0 14px; padding: 17px 21px 20px; position: relative; overflow: hidden; border: 0; border-radius: 7px; background-color: #526779; background-position: center; background-size: cover; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.listing-hero::before, .tag-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(15,26,37,.7),rgba(15,26,37,.05)),linear-gradient(0deg,rgba(11,19,27,.54),transparent 72%); }
.listing-hero > *, .tag-hero > * { z-index: 1; }.breadcrumbs { margin: 0 0 14px; color: #a0a7ac; font-size: 10px; }.listing-hero .breadcrumbs, .tag-hero .breadcrumbs { color: rgba(255,255,255,.8); }
.listing-hero .eyebrow, .tag-hero .eyebrow { display: none; }.listing-hero h1, .tag-hero h1 { margin: 0 0 4px; color: #fff; font-size: 27px; letter-spacing: 0; line-height: 1.3; }.listing-hero p { margin: 0; color: rgba(255,255,255,.86); font-size: 12px; }
.listing-count { color: rgba(255,255,255,.83); font-size: 11px; }.listing-count b { color: white; font-size: 16px; }.listing-columns { align-items: start; }.listing-main { min-width: 0; }
.listing-main > .section-heading { min-height: 40px; margin: 0 0 6px; padding: 0 4px; }.listing-main > .section-heading .eyebrow { display: none; }.listing-main > .section-heading h2 { font-size: 15px; }
.timeline { padding: 20px; border-radius: 7px; background: white; box-shadow: var(--shadow); }.timeline-year { border-color: #eef0f2; }.timeline-year>h2 { color: #838d94; }.timeline-month li a { color: #5e666c; }
.archive-heading { padding: 20px 0 24px; }.archive-heading h1 { margin: 0 0 5px; font-size: 27px; }.archive-heading p { margin: 0; color: #8b9398; font-size: 12px; }
.author-hero { min-height: 270px; margin: 0 0 17px; padding: 25px; align-items: end; gap: 16px; border-radius: 7px; background: linear-gradient(0deg,rgba(12,20,29,.7),rgba(12,20,29,.08)),url("/themes/theme-zixu/assets/reference/83c4a6061e238d9e.webp") center/cover; color: white; }
.author-avatar { width: 86px; height: 86px; flex: 0 0 86px; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; background: #fff; color: #3488ec; }.author-avatar img { border-radius: 50%; }.author-copy .eyebrow { display: none; }.author-copy h1 { margin: 0; color: white; font-size: 23px; }.author-copy p, .author-stats { color: rgba(255,255,255,.82); font-size: 11px; }

/* Article, gallery and video layouts. */
.content-shell { padding-top: 20px; }.content-mode-note { display: none; }.post-layout { align-items: start; }.post-main-column { gap: 0; }.post-paper { padding: 20px 22px; border: 0; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.post-top-ad { display: block; width: 100%; aspect-ratio: 909 / 85; margin: 0; overflow: hidden; border-radius: 4px; background: #eef1f3; line-height: 0; }.post-top-ad img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-breadcrumbs { min-height: 20px; margin: 20px 0 12px; padding: 0 8px; line-height: 20px; }
.post-main-column > .post-paper { padding: 15px 30px; }
.post-heading { padding: 0 0 15px; }.post-heading h1 { margin: 0; color: #41484e; font-size: 22px; line-height: 1.4; letter-spacing: 0; }.post-kicker { color: #3488ec; font-size: 10px; }.post-excerpt { margin-top: 14px; color: #858e94; font-size: 12px; }
.post-byline { justify-content: flex-start; flex-wrap: wrap; margin-top: 15px; }.byline-author { gap: 8px; }.byline-author>img, .avatar-placeholder { width: 34px; height: 34px; }.byline-author strong { color: #596168; font-size: 11px; }.byline-author small, .byline-stats { color: #9aa1a6; font-size: 9px; }.byline-stats { margin-left: auto; }
.post-cover { max-height: 286px; margin: 0 0 17px; border-radius: 5px; }.post-cover img { width: 100%; height: 286px; max-height: 286px; object-fit: cover; }
.post-prose { color: #555d63; font-size: 14px; line-height: 1.9; }.post-prose h2 { border: 0; padding: 0; font-size: 22px; }.post-prose h3 { font-size: 18px; }.post-prose blockquote { background: #f5f7f8; }.post-prose img { border-radius: 5px; }
.post-tags { margin-top: 18px; }.post-tags a { background: #f4f6f7; color: #818a90; }.post-actions { margin-top: 15px; }.action-button, .action-count { border-radius: 20px; font-size: 10px; }.action-button.is-upvoted { background: #fff1f2; color: #e45e70; border-color: #f6cdd3; }
.post-neighbors>a { background: #f5f6f7; }.comments-panel { margin-top: 16px; }.post-video-mode .post-prose iframe, .post-video-mode .post-prose video { border-radius: 6px; }
.site-footer { margin-top: 35px; background: #282d32; color: #f3f4f5; }.footer-inner { max-width: 1200px; padding: 32px 42px 17px; }.footer-brand p { color: #aab0b5; }.footer-links a { color: #c4c9cd; }.footer-bottom { border-color: rgba(255,255,255,.12); color: #9da5aa; }

/* Gallery lightbox states: navigation, thumbnail rail, zoom, slide show and full screen. */
.image-viewer { padding: 40px 65px 100px; background: rgba(35,39,43,.96); color: white; }
.image-viewer::backdrop { background: rgba(35,39,43,.96); }.image-viewer[open] { display: block; }
.image-viewer figure { position: absolute; inset: 50px 80px 96px; display: flex; align-items: center; justify-content: center; max-width: none; max-height: none; }
.image-viewer figure img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .22s ease; cursor: zoom-in; }.image-viewer figure img.is-zoomed { max-width: none; max-height: none; transform: scale(1.7); cursor: zoom-out; }
.image-viewer figcaption { display: none; }.viewer-close, .viewer-prev, .viewer-next { position: absolute; z-index: 5; border: 0; background: rgba(0,0,0,.34); color: white; }
.viewer-close { top: 15px; right: 18px; width: 36px; height: 36px; border-radius: 50%; font-size: 21px; }.viewer-prev, .viewer-next { top: 50%; width: 43px; height: 43px; font-size: 30px; transform: translateY(-50%); }.viewer-prev { left: 15px; }.viewer-next { right: 15px; }
.viewer-download { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }.viewer-topbar { position: absolute; z-index: 6; top: 15px; right: 66px; display: flex; align-items: center; gap: 5px; }
.viewer-topbar button { width: 35px; height: 35px; border: 0; border-radius: 50%; background: rgba(0,0,0,.34); color: #fff; font-size: 17px; cursor: pointer; }.viewer-topbar button:hover, .viewer-topbar button.is-active { background: #3488ec; }.viewer-counter { margin-right: 8px; padding: 5px 10px; border-radius: 16px; background: rgba(0,0,0,.38); color: #fff; font-size: 11px; }
.viewer-thumbnails { position: absolute; z-index: 7; inset: auto 0 0; min-height: 78px; display: none; align-items: center; gap: 7px; padding: 9px 20px; overflow-x: auto; background: rgba(18,21,24,.86); }.viewer-thumbnails.is-visible { display: flex; }.viewer-thumbnails button { width: 68px; height: 54px; flex: 0 0 68px; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; background: #111; cursor: pointer; opacity: .65; }.viewer-thumbnails button.is-active { border-color: #31b8b3; opacity: 1; }.viewer-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.site-float-tools { position: fixed; z-index: 32; top: 50%; right: 20px; display: flex; width: 40px; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; transform: translateY(calc(-50% + 5px)); }
.site-float-tools > a, .site-float-tools > button, .site-float-tools .float-contact > button, .site-float-tools .float-page-qr > button { box-sizing: border-box; width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; color: #828c92; font-size: 19px; box-shadow: 0 2px 8px rgba(0,0,0,.1); cursor: pointer; transition: transform .18s ease, filter .18s ease; backdrop-filter: blur(8px); }
.site-float-tools svg { width: 19px; height: 19px; }
.site-float-tools .float-tool-purchase { background: rgba(255,63,108,.69); color: #fff; }
.site-float-tools .float-tool-purchase svg { fill: currentColor; stroke: none; }
.site-float-tools .float-tool-member { background: rgba(62,62,67,.9); color: #f2c97d; }
.site-float-tools .float-tool-wechat, .site-float-tools .float-tool-qr, .site-float-tools .float-tool-top, .site-float-tools > button[data-theme-toggle] { background: rgba(200,200,200,.4); color: #999; }
.site-float-tools > a:hover, .site-float-tools > button:hover, .site-float-tools .float-contact > button:hover, .site-float-tools .float-page-qr > button:hover { transform: translateY(-2px); filter: brightness(.96); }
.site-float-tools .float-contact, .site-float-tools .float-page-qr { position: relative; width: 40px; height: 40px; flex: 0 0 40px; }
.float-contact-popover, .float-page-qr-popover { position: absolute; z-index: 5; top: 50%; right: 50px; box-sizing: border-box; display: none; padding: 0; transform: translateY(-50%); border-radius: 8px; background: #fff; color: #7e878d; text-align: center; box-shadow: 0 0 10px 8px rgba(116,116,116,.08); }
.float-contact-popover { top: calc(50% + 6px); width: 120px; height: 120px; }
.float-contact-popover img { display: block; width: 120px; height: 120px; border-radius: 4px; object-fit: contain; }
.float-contact-popover p { margin: 0; font-size: 10px; line-height: 1.5; }
.float-page-qr-popover { top: calc(50% + 1.5px); width: 150px; height: 163px; padding: 16px 5px 12px; }
.float-page-qr-popover p { width: 138px; margin: 6px auto 0; color: #8c9499; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.current-page-qr { box-sizing: border-box; width: 110px; height: 110px; margin: 0 auto; padding: 5px; }
.current-page-qr svg { display: block; width: 100%; height: 100%; }
.float-contact:hover .float-contact-popover, .float-contact:focus-within .float-contact-popover, .float-contact.is-open .float-contact-popover,
.float-page-qr:hover .float-page-qr-popover, .float-page-qr:focus-within .float-page-qr-popover, .float-page-qr.is-open .float-page-qr-popover { display: block; }
.site-float-tools .float-tool-top { margin-top: 10px; opacity: 0; visibility: hidden; }
.site-float-tools .float-tool-top.is-visible { opacity: 1; visibility: visible; }
.contact-close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f2f4f5; color: #737b81; font-size: 19px; cursor: pointer; }
.float-login-dialog { position: fixed; top: 100px; left: 50vw; right: auto; bottom: auto; width: min(800px,calc(100vw - 30px)); height: 495.3px; max-height: calc(100vh - 28px); margin: 0; padding: 0; overflow: visible; transform: translateX(-50%); box-sizing: border-box; border: 0; background: transparent; color: #515960; text-align: left; }
.float-login-dialog[data-auth-mode="password"] { height: 543.3px; }.float-login-dialog[data-auth-mode="signup"] { height: 519.6px; }
.float-login-dialog::backdrop { background: rgba(22,27,31,.58); }.float-login-dialog[open] { display: block; }
.float-login-promotion { position: absolute; inset: 0 auto 0 0; width: 65%; height: 100%; overflow: hidden; border-radius: 5px; background: #f3f4f4; }
.float-login-promotion img { display: block; width: 100%; height: 100%; object-fit: cover; }
.float-login-panel { position: absolute; top: 20px; right: 0; bottom: 20px; width: 45%; box-sizing: border-box; padding: 30px 25px 18px; overflow-y: auto; border-radius: 8px; background: #fff; color: #555d63; box-shadow: 0 4px 22px rgba(0,0,0,.12); text-align: center; }
.float-login-dialog .contact-close { position: absolute; z-index: 2; top: 15px; right: 15px; width: 21px; height: 22px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #777; font-size: 21px; line-height: 1; cursor: pointer; }
.auth-modal-screen { display: flex; min-height: 100%; flex-direction: column; align-items: stretch; }.auth-modal-screen[hidden] { display: none!important; }
.float-login-logo { display: block; width: 180px; height: 55px; max-width: 80%; margin: 0 auto 30px; object-fit: contain; }
.auth-modal-screen h2 { height: 48px; box-sizing: border-box; margin: 0 0 3.5px 5px; color: #4e5358; font-size: 28px; font-weight: 400; line-height: 40px; text-align: left; }
.float-login-register { margin: 0 0 38.7px 5px; color: #777; font-size: 12.6px; line-height: 17.14px; text-align: left; }.float-login-register button, .auth-modal-options button { padding: 0; border: 0; background: transparent; color: #e99b60; font: inherit; cursor: pointer; }.auth-modal-screen[data-auth-screen="signup"] .float-login-register button { color: #16b597; }
.auth-modal-input { position: relative; display: block; width: 100%; height: 24.2px; margin: 0 0 24px; }
.auth-modal-input input { display: block; width: 100%; height: 24.2px; box-sizing: border-box; padding: 0 28px 4.2px 4.2px; border: 0; border-bottom: 1px solid #e6eaed; border-radius: 0; outline: 0; background: transparent; color: #4e5358; font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; transition: border-color .16s ease; }
.auth-modal-input input::placeholder { color: #999; opacity: 1; }.auth-modal-input input:focus { border-bottom-color: #16b597; }
.auth-modal-password input { padding-right: 28px; }.auth-modal-password > button, .auth-modal-invite > button { position: absolute; top: 0; right: 3px; width: 20px; height: 20px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 0; background: transparent; color: #888; cursor: pointer; }.auth-modal-password > button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }.auth-modal-password > button:hover, .auth-modal-invite > button:hover { color: #555; }
.auth-modal-options { height: 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 29px; color: #777; font-size: 12.6px; line-height: 18px; }.auth-modal-options label { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; }.auth-modal-options input { width: 13px; height: 13px; margin: 0; accent-color: #16b597; }.auth-modal-options a, .auth-modal-options button { color: #777; text-decoration: none; }.auth-modal-options i { margin: 0 5px; color: #999; font-style: normal; }
.auth-modal-screen[data-auth-screen="quick"] .auth-modal-input { margin-bottom: 10.5px; }
.auth-modal-screen[data-auth-screen="quick"] .auth-modal-options { margin-bottom: 30px; }
.auth-modal-screen[data-auth-screen="password"] .auth-modal-password { margin-bottom: 12px; }
.auth-modal-screen[data-auth-screen="password"] .auth-modal-options { margin-bottom: 29px; }
.auth-modal-screen[data-auth-screen="signup"] .auth-modal-input { margin-bottom: 24px; }
.auth-modal-screen[data-auth-screen="signup"] .auth-modal-input:last-of-type { margin-bottom: 25px; }
.float-login-submit { width: 280px; max-width: calc(100% - 30px); min-height: 34.16px; display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0 auto; border-radius: 999px; background: linear-gradient(100deg,#58c3e9,#3288ed); color: #fff; font-size: 14px; line-height: 20px; font-weight: 400; text-decoration: none; transition: filter .15s ease, transform .15s ease; }.float-login-submit svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }.float-login-submit:hover { color: #fff; filter: brightness(.96); transform: translateY(-1px); }
.auth-modal-screen[data-auth-screen="signup"] .float-login-submit { background: linear-gradient(100deg,#83e775,#4cba43); }
.float-login-divider { display: flex; align-items: center; gap: 10px; margin: 21px 0 12px; color: #999; font-size: 12.6px; line-height: 18px; white-space: nowrap; }.float-login-divider::before, .float-login-divider::after { height: 1px; flex: 1; background: #e5e5e5; content: ""; }
.auth-modal-screen[data-auth-screen="quick"] .float-login-divider, .auth-modal-screen[data-auth-screen="password"] .float-login-divider { margin-top: auto; padding-top: 21px; }
.float-login-social { display: flex; justify-content: center; gap: 10px; }.float-login-social a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #1296db; color: #fff; font-size: 14px; text-decoration: none; }.float-login-social a:nth-child(2) { background: #24b76a; }.float-login-social a:nth-child(3) { background: #4e6ef2; }.float-login-social a:nth-child(4) { background: #1296db; }.float-login-social a:nth-child(5) { background: #505050; }
.auth-modal-invite { position: relative; }.auth-modal-invite input { padding-right: 40px; }.auth-modal-invite > button { top: 6px; right: 7px; width: 25px; height: 25px; border: 1px solid #d6dcdf; border-radius: 50%; font-size: 12px; }
.auth-modal-bottom-link { margin: 15px 0 0; color: #a0a8ad; font-size: 10px; }.auth-modal-bottom-link button { color: #e99b60; }.auth-modal-hint { margin: 0 0 18px; color: #929ba1; font-size: 11px; line-height: 1.6; }
@media (max-width: 800px) {
  .home-promo-dialog { width: min(400px,calc(100vw - 24px)); height: auto; min-height: 338px; }
  .home-promo-card { min-height: 338px; height: auto; }
  .home-promo-body { min-height: 218px; height: auto; }
  .float-login-dialog { top: 50vh; left: 50vw; width: min(360px,calc(100vw - 24px)); height: auto; max-height: calc(100vh - 24px); overflow: visible; transform: translate(-50%,-50%); }
  .float-login-dialog[data-auth-mode="password"], .float-login-dialog[data-auth-mode="signup"] { height: auto; }
  .float-login-promotion { display: none; }
  .float-login-panel { position: relative; inset: auto; width: 100%; min-height: 0; max-height: calc(100vh - 24px); padding: 28px 25px 23px; overflow-y: auto; border-radius: 8px; }
  .auth-modal-screen { min-height: 0; }
}

@media (min-width: 801px) and (max-width: 1199px) {
  .home-hero { height: 560px; margin-bottom: 50px; }
  .home-hero-content { top: 50%; left: calc(50% - 6px); width: min(800px,calc(100% - 40px)); }
  .home-hero-content h1 { margin-bottom: 10px; font-size: 27.2px; line-height: 1.43; }
  .home-hero-content p { margin-bottom: 41px; font-size: 17px; line-height: 24.2857px; }
  .hero-search { position: relative; width: min(780px,100%); height: 51px; margin: 0 auto; padding: 0 31px 0 30px; }
  .hero-search input { height: 24px; font-size: 17px; line-height: 24px; }
  .hero-search button { position: absolute; top: 50%; right: 26px; width: 17px; height: 24px; flex: none; padding: 0; transform: translateY(-50%); }
  .hero-search button svg { width: 17px; height: 17px; }
  .hero-keywords { min-height: 29px; margin-top: 20px; gap: 6px; transform: translateX(-2px); }
  .hero-keywords a { width: 41px; height: 29px; flex: 0 0 41px; justify-content: center; padding: 0 3px; font-size: 13px; line-height: 1; }
  .home-shortcuts { width: calc(100% - 54px); bottom: -38px; }
  .home-wrap { width: calc(100% - 84px); max-width: 1180px; }
  .home-columns { grid-template-columns: minmax(0,1fr) 311px; gap: 25px; }
  .post-content-shell { width: calc(100% - 84px); max-width: 1180px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 800px) {
  .site-header:has(.mobile-menu.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-inner { width: calc(100% - 36px); max-width: none; height: 62px; padding: 0; gap: 12px; }.site-header { height: 62px; }.brand { margin-left: 0; }.brand-logo { width: auto; height: 33px; max-width: 124px; }.primary-nav { display: none; }.mobile-menu-trigger { display: grid; }.header-actions { margin-left: auto; gap: 6px; }.language-switcher { display: none; }.header-actions .icon-button { width: 34px; min-width: 34px; height: 34px; }.header-actions .theme-trigger { width: 34px; min-width: 34px; height: 34px; }.header-actions .account-member { width: 35px; min-width: 35px; height: 34px; margin: 0; padding: 6px 9px; }.header-actions .account-member span { display: none; }.header-actions .account-icon { width: 34px; min-width: 34px; height: 34px; margin: 0; }
  body:has(.home-hero) .site-header { height: 62px; }.home-hero { height: 470px; margin-bottom: 76px; }.home-hero-content { top: 47%; width: calc(100% - 34px); }.home-hero-content h1 { font-size: 23px; }.home-hero-content p { margin-bottom: 26px; font-size: 13px; }.hero-search { height: 48px; padding-left: 20px; }.hero-keywords { margin-top: 13px; gap: 5px; }.hero-keywords a { font-size: 10px; }
  .home-shortcuts { width: calc(100% - 30px); bottom: -58px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.shortcut-card { min-height: 55px; padding: 7px 9px; gap: 8px; }.shortcut-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 16px; }.shortcut-card strong { font-size: 11px; }.shortcut-card small { font-size: 9px; margin-top: 1px; }
  .home-spotlight { min-height: 0; padding: 9px; }.home-spotlight-tabs { gap: 12px; }.home-spotlight-grid { grid-template-columns: 1fr; gap: 8px; }.home-spotlight-card { grid-template-columns: 76px minmax(0,1fr); min-height: 60px; gap: 8px; }.home-spotlight-thumb { width: 76px; height: 54px; }.home-spotlight-copy { gap: 4px; }.home-spotlight-copy strong { font-size: 10px; }.home-spotlight-empty, .home-spotlight-no-results { min-height: 100px; }
  .home-wrap, .listing-shell, .directory-shell, .author-shell, .content-shell { width: 100%; padding-left: 15px; padding-right: 15px; }.post-content-shell { width: 100%; padding-left: 15px; padding-right: 15px; }.home-wrap { padding-top: 0; }.home-feature-row { height: min(58vw,250px); aspect-ratio: auto; min-height: 205px; margin-bottom: 13px; }.home-feature-overlay { left: 12px; right: 12px; bottom: 12px; }.home-feature-overlay strong { font-size: 14px; }
  .home-columns, .listing-columns, .post-layout { grid-template-columns: 1fr; gap: 18px; }.home-columns { width: 100%; }.sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }.profile-card { grid-column: 1/-1; }.post-card { grid-template-columns: 190px minmax(0,1fr); }.post-layout>.sidebar { display: grid; order: 2; }.post-layout>.post-main-column { order: 1; }
  .listing-shell, .directory-shell, .author-shell, .content-shell { padding-top: 15px; padding-bottom: 40px; }.listing-hero, .tag-hero { min-height: 210px; }.author-hero { min-height: 215px; }.footer-inner { padding: 28px 15px 16px; }.site-float-tools { right: 8px; top: auto; bottom: 70px; gap: 4px; padding-top: 0; transform: none; }.site-float-tools > a, .site-float-tools > button, .site-float-tools .float-contact, .site-float-tools .float-page-qr, .site-float-tools .float-contact > button, .site-float-tools .float-page-qr > button { width: 35px; height: 35px; flex-basis: 35px; }
}
@media (max-width: 560px) {
  .home-hero { height: 430px; }.home-hero-content h1 { font-size: 20px; }.home-hero-content p { font-size: 12px; }.home-feature-row { height: 205px; }.home-feature-overlay strong { font-size: 16px; }
  .home-tabs { gap: 17px; }.post-card { min-height: 120px; grid-template-columns: 116px minmax(0,1fr); gap: 10px; padding: 7px; }.post-card-media { min-height: 105px; }.post-card-body { padding: 2px 2px 0 0; }.post-card-body h2 { font-size: 12px; line-height: 1.45; }.card-excerpt { display: none; }.card-meta { padding-top: 5px; font-size: 8px; }.sidebar { grid-template-columns: 1fr; }.profile-card { grid-column: auto; }.listing-hero, .tag-hero { min-height: 185px; }.listing-hero h1, .tag-hero h1 { font-size: 23px; }.author-hero { min-height: 170px; padding: 16px; }.author-avatar { width: 65px; height: 65px; flex-basis: 65px; }.author-copy h1 { font-size: 19px; }
  .post-paper, .post-main-column > .post-paper { padding: 15px; }.post-heading h1 { font-size: 21px; }.post-byline { align-items: flex-start; }.byline-stats { margin-left: 0; }.post-cover img { height: 195px; max-height: 195px; }.post-prose { font-size: 13px; }.viewer-topbar { top: 9px; right: 46px; gap: 2px; }.viewer-topbar button { width: 31px; height: 31px; font-size: 14px; }.viewer-counter { font-size: 9px; padding: 4px 7px; }.image-viewer figure { inset: 54px 38px 96px; }.viewer-prev { left: 4px; }.viewer-next { right: 4px; }.viewer-thumbnails { min-height: 70px; padding: 7px; }.viewer-thumbnails button { width: 58px; height: 48px; flex-basis: 58px; }
}
@media (prefers-reduced-motion: reduce) { .home-feature-image img, .shortcut-card, .site-float-tools a, .site-float-tools button { transition: none; } }

/* Search-result overrides stay after the shared home-feed card rules so the
   reference search geometry wins over the general archive-card defaults. */
.home-wrap.search-mode .search-results-summary { margin: 20px 0 6px; }
.home-wrap.search-mode .search-filter-panel { margin-bottom: 15px; padding: 5px 25px; }
.home-reference-feed > .search-result-card { box-sizing: border-box; width: 100%; min-height: 173px; grid-template-columns: 190px minmax(0,1fr); gap: 20px; padding: 20px; }
.home-reference-feed > .search-result-card .post-card-media { width: auto; height: 133px; min-height: 133px; }
.home-reference-feed > .search-result-card .post-card-body { min-width: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.home-reference-feed > .search-result-card .post-card-body h2 { margin: 0 0 10px; font-size: 16px; line-height: 25px; }
.home-reference-feed > .search-result-card .card-excerpt { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 20px; }
.home-reference-feed > .search-result-card .search-card-taxonomy { display: flex; align-items: center; gap: 5px; margin-top: 11px; overflow: hidden; white-space: nowrap; }
.home-reference-feed > .search-result-card .search-card-taxonomy a { max-width: 135px; display: inline-block; padding: 3px 5px; overflow: hidden; border-radius: 3px; background: #edf5fc; color: #568bbd; font-size: 9px; line-height: 1.3; text-overflow: ellipsis; }
.home-reference-feed > .search-result-card .search-card-taxonomy .is-topic { background: #eef7f0; color: #58a16b; }.home-reference-feed > .search-result-card .search-card-taxonomy .is-tag { background: #f5f2ea; color: #ac9360; }
.home-reference-feed > .search-result-card .search-keyword-highlight { background: transparent; color: #1ab397; font-weight: inherit; }
.home-reference-feed > .search-result-card .search-card-meta { min-height: 20px; display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 0; color: #9da4aa; font-size: 10px; white-space: nowrap; }
.home-reference-feed > .search-result-card .search-card-meta .author-chip { display: inline-flex; align-items: center; gap: 5px; }.home-reference-feed > .search-result-card .search-card-meta .author-chip img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

@media (max-width: 560px) {
  .home-wrap.search-mode .search-filter-panel { margin-bottom: 10px; padding: 0 12px; }
  .home-reference-feed > .search-result-card { min-height: 120px; grid-template-columns: 116px minmax(0,1fr); gap: 10px; padding: 7px; }
  .home-reference-feed > .search-result-card .post-card-media { height: 105px; min-height: 105px; }
  .home-reference-feed > .search-result-card .post-card-body { padding: 2px 2px 0 0; }
  .home-reference-feed > .search-result-card .post-card-body h2 { margin-bottom: 3px; font-size: 12px; line-height: 1.45; }
  .home-reference-feed > .search-result-card .card-excerpt, .home-reference-feed > .search-result-card .search-card-taxonomy { display: none; }
  .home-reference-feed > .search-result-card .search-card-meta { min-height: 0; flex-wrap: wrap; gap: 4px; padding-top: 5px; font-size: 8px; }
  .home-reference-feed > .search-result-card .search-card-meta .author-chip img { width: 16px; height: 16px; }
}

@media (max-width: 800px) {
  .home-wrap.search-mode > .home-columns { width: 100%; grid-template-columns: minmax(0,1fr); gap: 14px; }
  .home-wrap.search-mode .home-feed, .home-wrap.search-mode .sidebar { width: 100%; min-width: 0; }
  .home-wrap.search-mode .search-page-intro, .home-wrap.search-mode .search-filter-panel, .home-wrap.search-mode .search-results-summary { box-sizing: border-box; width: 100%; }
  .home-wrap.search-mode .search-page-form, .home-wrap.search-mode .search-page-hotwords { width: 100%; }
}

@media (max-width: 800px) {
  .home-wrap.search-mode { padding-top: 15px; }
  .home-wrap.search-mode .home-columns { gap: 14px; }
  .search-page-intro { height: auto; min-height: 207px; padding: 10px 12px 13px; }
  .search-page-form { height: 52px; }
  .search-page-hotwords { margin-top: 9px; }
  .search-page-hotwords p { margin-bottom: 7px; }
  .search-page-hotwords>div { gap: 5px; }
  .search-page-hotwords a { min-width: 36px; height: 26px; padding: 0 7px; }
  .search-filter-panel { padding: 0 12px; }
  .search-type-row { height: 46px; gap: 18px; }
  .search-type-row a { height: 46px; }
  .search-facet-row { min-height: 38px; gap: 7px; }
  .search-facet-row>strong { flex-basis: 34px; }
  .search-facet-row>div { overflow-x: auto; scrollbar-width: none; }
  .search-facet-row>div::-webkit-scrollbar { display: none; }
  .home-wrap.search-mode .search-results-summary { margin: 13px 0 9px; }
  .home-wrap.search-mode .search-page-status { margin: 9px 0; }
  .home-wrap.search-mode .search-pagination { margin: 14px 0 5px; }
}

@media (max-width: 560px) {
  .search-result-card { min-height: 120px; grid-template-columns: 116px minmax(0,1fr); gap: 10px; padding: 7px; }
  .search-result-card .post-card-media { height: 105px; min-height: 105px; }
  .search-result-card .post-card-body { padding: 2px 2px 0 0; }
  .search-result-card .post-card-body h2 { margin-bottom: 3px; font-size: 12px; line-height: 1.45; }
  .search-result-card .card-excerpt, .search-result-card .search-card-taxonomy { display: none; }
  .search-result-card .search-card-meta { min-height: 0; flex-wrap: wrap; gap: 4px; padding-top: 5px; font-size: 8px; }
  .search-result-card .search-card-meta .author-chip img { width: 16px; height: 16px; }
}

.user-card { min-height: 224px; padding: 0 0 14px; overflow: hidden; text-align: center; }
.user-cover { height: 92px; background: url("/themes/theme-zixu/assets/reference/83c4a6061e238d9e.webp") center/cover,linear-gradient(135deg,#b8d4e0,#e8eef0); }
.user-content { padding: 0 15px; }.user-avatar { width: 62px; height: 62px; margin: -31px auto 4px; position: relative; }.avatar-img.avatar-lg { width: 62px; height: 62px; display: block; padding: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 4px rgba(0,0,0,.12); }.avatar-img img, .sidebar-avatar-placeholder { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; object-fit: cover; background: #eef2f4; color: #8d9ba2; font-size: 27px; }
.user-greeting { display: block; margin: 4px 0 9px; color: #5b6369; font-size: 13px; }.user-auth-actions { display: flex; justify-content: center; gap: 8px; }.user-auth-actions a, .user-auth-actions button, .user-content-auth > .user-login { min-width: 104px; padding: 6px 18px; border: 0; border-radius: 4px; color: white; font-family: inherit; font-size: 11px; cursor: pointer; }.user-login { background: #3289ed; }.user-register { background: #f19a52; }.user-content-auth > .user-login { display: inline-block; margin: 4px 0; }
.social-separator { margin: 11px 0 7px; color: #9aa1a6; font-size: 10px; }.social-loginbar { display: flex; justify-content: center; gap: 11px; }.social-loginbar a { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f1f3f4; color: #fff; font-size: 9px; font-weight: 700; }.social-loginbar a:nth-child(1) { background: #35a9e8; }.social-loginbar a:nth-child(2) { background: #43bd6d; }.social-loginbar a:nth-child(3) { background: #527ee7; }.social-loginbar a:nth-child(4) { background: #1888d5; }.social-loginbar a:nth-child(5) { background: #282d31; }.social-loginbar svg { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }.social-loginbar a:hover { filter: brightness(.92); color: white; }
.sidebar-icon-card { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 96px; gap: 10px 4px; padding: 14px 8px; margin-top: 8px; margin-bottom: -12px; }.sidebar-icon-card a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.sidebar-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 50%; background: #edf6fa; color: #56a1c2; font-size: 15px; }.sidebar-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }.sidebar-icon-categories { background: #edf1fb; color: #778fe0; }.sidebar-icon-tags { background: #f1effa; color: #8874d5; }.sidebar-icon-archives { background: #fff1e9; color: #e69159; }.sidebar-icon-size { background: #eef5fb; color: #5697d1; }.sidebar-icon-style { background: #fff0ee; color: #df786d; }.sidebar-icon-all { background: #eff8f1; color: #5bac75; }.sidebar-icon-custom { background: #f5f0fb; color: #9470c6; }.sidebar-icon-card strong { color: #5d656b; font-size: 12px; font-weight: 500; }.sidebar-icon-card small { color: #a0a6ab; font-size: 8px; }
.mini-post-number { width: 37px; padding: 0 4px; border-radius: 3px; font-size: 8px; }
.sidebar-subtitle { display: block; margin: 12px 0 6px; color: #8a9298; font-size: 10px; font-weight: 500; }.sidebar-search { height: 37px; display: flex; padding: 3px; border: 1px solid #e7ebed; border-radius: 4px; background: #fafbfb; }.sidebar-search input { min-width: 0; flex: 1; padding: 0 8px; border: 0; outline: 0; background: transparent; color: #555d63; font-size: 11px; }.sidebar-search button { width: 32px; border: 0; border-radius: 4px; background: #f0f2f3; color: #7d868c; font-size: 20px; cursor: pointer; }
.sidebar-search-trigger { width: 100%; align-items: center; justify-content: space-between; padding: 4px 9px; color: #969da2; font-size: 11px; cursor: pointer; }.sidebar-search-trigger b { width: 28px; height: 27px; display: grid; place-items: center; border-radius: 4px; background: #f0f2f3; color: #7d868c; font-size: 19px; font-weight: 400; }

/* Author page recreation: cover, overlapping profile card, tabs and two-column feed. */
.author-shell { width: calc(100% - 30px); max-width: 1280px; padding: 20px 0 56px; }
.author-profile-card { margin: 0 0 20px; }
.author-cover { position: relative; height: 347px; overflow: hidden; border-radius: 8px 8px 0 0; background: #18212b; }
.author-cover-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.author-cover-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg,rgba(10,14,22,.4),transparent 46%); }
.author-cover-stats { position: absolute; top: 10px; right: 14px; box-sizing: border-box; width: 193px; height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 12px; border-radius: 3px; background: rgba(0,0,0,.25); color: rgba(255,255,255,.8); font: 14px/20px "Helvetica Neue", Helvetica, Arial, sans-serif; }
.author-cover-stats span { display: inline-flex; align-items: center; gap: 3px; line-height: 16.5px; white-space: nowrap; }.author-cover-stats small { display: none; }.author-cover-stats b { font-size: 14px; font-weight: 400; }.author-stat-icon { width: 14px; height: 14px; flex: 0 0 14px; fill: currentColor; stroke: none; }.author-cover-stats span:last-child .author-stat-icon { width: 12.6px; height: 12.6px; flex-basis: 12.6px; transform: translateY(.8px); }
.author-cover-tools { position: absolute; z-index: 40; right: 15px; bottom: 12px; }.author-cover-tools>button { width: 28px; height: 24px; border: 0; border-radius: 4px; background: rgba(0,0,0,.18); color: white; font-size: 19px; line-height: 1; cursor: pointer; }
.author-cover-menu { position: absolute; z-index: 6; right: 0; bottom: 29px; width: 150px; padding: 5px; border-radius: 6px; background: white; box-shadow: 0 7px 24px rgba(0,0,0,.18); }.author-cover-menu a { display: block; padding: 7px 9px; border-radius: 4px; color: #626b71; font-size: 11px; }.author-cover-menu a:hover { background: #f4f6f7; color: #3488ec; }
.author-profile-info { position: relative; min-height: 118px; display: flex; align-items: center; gap: 0; padding: 12px 42px 12px 202px; border-radius: 0 0 8px 8px; background: white; box-shadow: var(--shadow); }
.author-avatar { position: absolute; left: 42px; top: -62px; width: 140px; height: 140px; display: grid; place-items: center; overflow: hidden; border: 5px solid white; border-radius: 8px; background: #f2f4f5; color: #3488ec; font-size: 38px; box-shadow: 0 2px 9px rgba(24,33,43,.12); }.author-avatar img { width: 100%; height: 100%; border-radius: 3px; object-fit: cover; }
.author-copy { min-width: 0; flex: 1; }.author-copy .eyebrow { display: none; }.author-copy h1 { display: flex; align-items: center; gap: 5px; margin: 0; color: #4e5358; font-size: 17px; font-weight: 700; line-height: 28.6px; }.author-level-mark { display: inline-flex; width: 48px; height: 18px; align-items: center; justify-content: center; border-radius: 9px; background: linear-gradient(100deg,#f2b44b,#e8764f); color: white; font-size: 9px; font-weight: 700; line-height: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }.author-level-mark::before { content: "♛"; margin-right: 2px; font-size: 8px; }.author-copy p { margin: 6px 0 0; color: #858d93; font-size: 14px; line-height: 20px; }
.author-badges { height: 27.8px; display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; margin-top: 0; white-space: nowrap; }.author-badge { position: relative; top: 2.7px; box-sizing: border-box; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 22.8px; padding: 2px 6px; border-radius: 4px; background: rgba(136,136,136,.1); color: #888; font-size: 12px; line-height: 16.8px; }.author-awards { width: 132px; justify-content: flex-start; gap: 3px; }.author-award-medals { display: inline-flex; align-items: center; flex: 0 0 58px; height: 19px; }.author-award-medals img { display: block; width: 14px; height: 14px; margin: 0 2.5px; }.author-badge-chevron { margin-left: 1px; color: #8e969b; font-size: 14px; line-height: 1; }.author-member { width: 136px; justify-content: flex-start; gap: 3px; }.author-member-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: #4388e8; stroke: white; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }.author-member-icon path + path { fill: none; stroke-width: 1.6; }.author-location { width: 38px; }.author-identity { width: 50px; background: rgba(255,84,115,.1); color: #ff5473; }
.author-actions { display: flex; flex: 0 0 auto; gap: 10px; margin-left: 10px; }.author-actions a { box-sizing: border-box; min-width: 73px; height: 29px; display: inline-flex; justify-content: center; align-items: center; gap: 4px; padding: 4px 12px; border: 0; border-radius: 4px; color: white; text-align: center; font-size: 14px; line-height: 20px; }.author-follow-action { background: #ed6b82; }.author-message-action { background: #4b9ce9; }.author-actions a:hover { filter: brightness(.96); }
.author-main-panel { overflow: hidden; border-radius: 8px; background: white; box-shadow: var(--shadow); }
.author-tabs { height: 52px; display: flex; align-items: flex-start; gap: 22px; margin: 0 5px 13px; padding: 15px 10px 0; border-bottom: 1px solid #edf0f1; background: transparent; }.author-tabs a { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 37px; color: #788188; font-size: 13px; }.author-tabs a.is-active { color: #41ad98; font-weight: 600; }.author-tabs a.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px; background: #41ad98; content: ""; }.author-tabs b { font-size: 12px; font-weight: 500; }
.author-content { min-height: 300px; margin: 0 15px; padding: 0 0 15px; background: transparent; }.author-content[hidden] { display: none!important; }
.author-list-toolbar { height: 36px; display: flex; align-items: flex-start; justify-content: space-between; margin: 0 0 12px; border-bottom: 1px solid #edf0f1; }.author-published-count { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 4px; background: #eef7f5; color: #47a994; font-size: 11px; }.author-sort-menu { position: relative; }.author-sort-menu>button { min-width: 66px; padding: 5px 9px; border: 0; border-radius: 4px; background: #f3f5f6; color: #737c82; font-size: 11px; cursor: pointer; }.author-sort-options { position: absolute; z-index: 8; top: 34px; right: 0; width: 110px; padding: 4px; border-radius: 5px; background: white; box-shadow: 0 5px 22px rgba(31,43,52,.16); }.author-sort-options button { width: 100%; padding: 7px 8px; border: 0; border-radius: 3px; background: transparent; color: #707980; text-align: left; font-size: 10px; cursor: pointer; }.author-sort-options button:hover, .author-sort-options button.is-active { background: #f1f7f5; color: #41ad98; }.author-sort-options[hidden] { display: none!important; }
.author-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 0 8px; }.author-post-grid > .post-card { min-height: 173px; grid-template-columns: 190px minmax(0,1fr); gap: 14px; padding: 10px; }.author-post-grid .post-card-media { min-height: 132px; }.author-post-grid .post-card-body h2 { font-size: 14px; }.author-post-grid .card-excerpt { font-size: 11px; }
@media (min-width: 801px) {
  .author-post-grid > .post-card { height: 173px; min-height: 173px; grid-template-rows: minmax(0,1fr); overflow: hidden; }
  .author-post-grid .post-card-media { height: 133px; min-height: 133px; align-self: center; }
  .author-post-grid .post-card-body { height: 133px; min-height: 0; align-self: center; overflow: hidden; padding: 0; }
  .author-post-grid .post-card-body h2 { margin: 0 0 5px; overflow: hidden; font-size: 18px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .author-post-grid .card-excerpt { margin: 0 0 6px; font-size: 14px; line-height: 20px; -webkit-line-clamp: 1; }
}
.author-empty-state { min-height: 235px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px; color: #9aa2a7; text-align: center; }.author-empty-state h2 { margin: 0 0 6px; color: #6b747a; font-size: 14px; font-weight: 600; }.author-empty-state p { margin: 0; font-size: 11px; }.author-subtabs { display: flex; gap: 16px; min-height: 34px; border-bottom: 1px solid #edf0f1; }.author-subtabs button { padding: 0 5px 9px; border: 0; background: transparent; color: #81898f; font-size: 12px; }.author-subtabs button.is-active { border-bottom: 2px solid #41ad98; color: #41ad98; }
.author-subtabs .author-sort-menu { align-self: flex-start; margin-left: auto; }.author-subtabs .author-sort-menu>button { min-width: 66px; padding: 5px 9px; border: 0; border-radius: 4px; background: #f3f5f6; color: #737c82; font-size: 11px; cursor: pointer; }
.author-user-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 2px 5px 0; }
.author-user-card { box-sizing: border-box; min-width: 0; height: 64px; display: flex; align-items: center; gap: 13px; padding: 10px 10px 10px 15px; border-radius: 8px; background: rgba(0,0,0,.03); }
.author-user-avatar-link,.author-user-avatar-link img { display: block; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; }.author-user-avatar-link img { object-fit: cover; }
.author-user-copy { min-width: 0; flex: 1; }.author-user-heading { height: 20px; display: flex; align-items: center; gap: 4px; }.author-user-name { max-width: 45%; overflow: hidden; color: #4e5358; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.author-user-level { display: inline-flex; height: 12px; align-items: center; padding: 0 4px; border-radius: 6px; background: #f2b44b; color: white; font-size: 8px; line-height: 1; }.author-user-follow { margin-left: auto; color: #41ad98; font-size: 11px; white-space: nowrap; }.author-user-copy p { overflow: hidden; margin: 0; color: #9aa2a7; font-size: 11px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.author-follow-load-more { display: block; min-width: 120px; height: 32px; margin: 14px auto 5px; padding: 0 14px; border: 0; border-radius: 4px; background: #f3f5f6; color: #737c82; font-size: 12px; cursor: pointer; }.author-follow-load-more:hover { background: #eaf5f2; color: #41ad98; }.author-follow-load-more[hidden] { display: none; }
.author-shell .pagination { margin-top: 18px; }
body.dark .author-profile-info, body.dark .author-main-panel { background: #252d33; color: #d7dce0; }.dark .author-copy h1, .dark .author-empty-state h2 { color: #e0e5e8; }.dark .author-sort-options { background: #252d33; }.dark .author-user-card { background: rgba(255,255,255,.04); }.dark .author-user-name { color: #d7dce0; }
@media (max-width: 800px) {
  .author-shell { width: 100%; padding: 15px 15px 40px; }.author-cover { height: 230px; }.author-profile-info { min-height: 170px; align-items: flex-start; padding: 52px 15px 14px; }.author-avatar { left: 15px; top: -42px; width: 92px; height: 92px; border-width: 4px; font-size: 27px; }.author-copy { margin-left: 102px; }.author-actions { position: absolute; right: 14px; bottom: 14px; }.author-tabs { height: 52px; gap: 18px; margin: 0 4px 10px; padding: 15px 8px 0; }.author-content { margin: 0 10px; padding-bottom: 10px; }.author-post-grid { grid-template-columns: 1fr; gap: 9px; padding: 0; }.author-post-grid > .post-card { grid-template-columns: 190px minmax(0,1fr); }.author-empty-state { min-height: 160px; }.author-user-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding-right: 0; padding-left: 0; }.author-user-card { gap: 8px; padding-right: 7px; padding-left: 8px; }
}
@media (max-width: 560px) {
  .author-cover { height: 170px; }.author-profile-info { min-height: 173px; padding: 43px 12px 51px; }.author-avatar { left: 12px; top: -35px; width: 76px; height: 76px; }.author-copy { margin-left: 82px; }.author-copy h1 { font-size: 18px; }.author-badges { height: auto; flex-wrap: wrap; gap: 3px; }.author-badge { top: 0; font-size: 8px; }.author-awards,.author-member,.author-location,.author-identity { width: auto; }.author-award-medals { flex-basis: 38px; }.author-award-medals img { width: 11px; height: 11px; margin: 0 1px; }.author-actions { right: 12px; bottom: 11px; left: 12px; margin-left: 0; }.author-actions a { flex: 1; min-width: 0; padding: 6px; }.author-tabs { gap: 15px; overflow-x: auto; white-space: nowrap; }.author-post-grid > .post-card { grid-template-columns: 116px minmax(0,1fr); gap: 10px; }.author-post-grid .post-card-media { min-height: 105px; }.author-post-grid .post-card-body h2 { font-size: 12px; }.author-user-grid { grid-template-columns: 1fr; }.author-subtabs .author-sort-menu>button { min-width: 56px; padding-right: 5px; padding-left: 5px; }
}
.zib-filter-panel { margin: 0 0 15px; padding: 10px 14px; border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.filter-row { min-height: 36px; display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #edf0f1; }.filter-row:last-child { border-bottom: 0; }.filter-row>strong { width: 38px; flex: 0 0 38px; padding-top: 2px; color: #8b9398; font-size: 10px; font-weight: 500; }.filter-row>div { display: flex; flex: 1; flex-wrap: wrap; gap: 5px 7px; }
.filter-row a, .filter-row button { padding: 2px 7px; border: 0; border-radius: 3px; background: transparent; color: #788188; font-size: 10px; line-height: 1.6; white-space: nowrap; cursor: pointer; }.filter-row a:hover, .filter-row a.is-active, .filter-row button:hover, .filter-row button.is-active { background: #3488ec; color: #fff; }

/* Optional commerce and member plugins inherit the same rounded card controls. */
shop-buy-box, shop-cart, shop-checkout, shop-order { color: #4e5358; font-family: inherit; }
shop-buy-box button, shop-cart button, shop-checkout button, shop-order button { min-height: 38px; border: 0; border-radius: 4px; background: #3488ec; color: #fff; font-size: 12px; }
shop-product-card, shop-product-grid, shop-product-gallery, shop-product-detail, shop-review-list, user-center, user-message-center { display: block; font-family: inherit; color: #4e5358; }
user-center [class*="card"], user-message-center [class*="card"], shop-product-detail [class*="card"] { border-radius: 7px; background: #fff; box-shadow: var(--shadow); }

/* Halo's native authentication flows remain in charge of submissions and MFA. */
body.auth-theme { min-height: 100vh; display: grid; place-items: center; background: #f4f6f7; color: #4e5358; }
.auth-page-shell { width: min(800px,calc(100% - 30px)); margin: 24px auto; }
.auth-brand { display: flex; align-items: center; justify-content: center; width: fit-content; height: 55px; margin: 0 auto 16px; color: #555d63; font-size: 14px; font-weight: 650; }.auth-brand img { display:block; width:180px; height:55px; max-width:80vw; object-fit:contain; }.auth-brand-title { display:none; }.auth-brand .auth-brand-fallback { display: none; }.auth-brand .auth-brand-fallback[hidden] { display: none; }
.auth-card { position:relative; width:100%; height:495px; min-height:0; display:block; overflow:visible; border-radius:0; background:transparent; box-shadow:none; }.auth-signup-page .auth-card { height:520px; }.auth-reset-page .auth-card { height:560px; }
.auth-promo { position:absolute; inset:0 auto 0 0; width:65%; height:100%; overflow:hidden; padding:0; border-radius:5px; background:transparent; color:#fff; }.auth-promo::before { display:none; }.auth-promo-image { display:block; width:100%; height:100%; object-fit:cover; }
.auth-form-panel { position:absolute; top:20px; right:0; bottom:20px; width:45%; min-width:0; display:flex; flex-direction:column; justify-content:center; box-sizing:border-box; padding:23px 21px; overflow-y:auto; border-radius:8px; background:#fff; box-shadow:0 4px 22px rgba(0,0,0,.12); }.auth-form-panel .gateway-wrapper { width:100%; }.auth-form-panel .halo-logo { display:none; }.auth-form-panel .form-title { margin:0 0 12px; color:#525a60; text-align:center; font-size:16px; font-weight:500; }.auth-form-panel form { width:100%; max-width:none; margin:0 auto; }.auth-form-panel input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { width:100%; min-height:40px; padding:8px 10px; border:1px solid #e6eaed; border-radius:4px; background:#fafbfb; color:#4e5358; font-size:11px; }.auth-form-panel button[type="submit"], .auth-form-panel form button:not([type="button"]) { min-height:40px; border:0; border-radius:4px; background:#4db98f; color:white; font-size:12px; font-weight:550; }.auth-form-panel a { color:#3488ec; font-size:11px; }.auth-form-panel label { color:#727b81; font-size:10px; }.auth-copyright { margin:12px 0 0; color:#98a0a5; text-align:center; font-size:10px; }
.auth-form-panel .halo-form-wrapper { width: 100%; max-width: none; margin: 0 auto; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.auth-form-panel .returntosite-content, .auth-form-panel .language-switcher { display:none!important; }
.auth-form-panel .halo-form { width: 100%; margin: 0 auto; }
.auth-form-panel .form-item { min-width: 0; margin: 0 0 9px; }
.auth-form-panel .form-label-group { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.auth-form-panel .form-label-group label { margin: 0; }
.auth-form-panel .form-item > label { display: block; margin: 0 0 4px; }
.auth-form-panel .form-input { position: relative; min-width: 0; overflow: hidden; padding: 0; border: 1px solid #e6eaed; border-radius: 5px; background: #fafbfb; }
.auth-form-panel .form-input:focus-within { border-color: #5c9be9; box-shadow: 0 0 0 3px rgba(53,137,233,.12); }
.auth-form-panel .form-input input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { display: block; width: 100%; min-height: 40px; padding: 9px 12px; border: 0; border-radius: inherit; background: transparent; color: #4e5358; font-size: 12px; box-shadow: none; }
.auth-form-panel .form-input-stack input { padding-right: 42px; }
.auth-form-panel .form-input-stack-icon { position: absolute; top: 50%; right: 5px; width: 32px; height: 32px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 4px; color: #8b949a; cursor: pointer; }
.auth-form-panel .form-input-stack-icon:hover { background: #f0f3f5; color: #4e5358; }
.auth-form-panel .form-input-stack-icon:focus-visible { outline: 2px solid #3488ec; outline-offset: 1px; }
.auth-form-panel .form-item-compact { display: flex; align-items: center; gap: 7px; min-height: 26px; margin: 0 0 13px; }
.auth-form-panel .form-item-compact input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: #3589e9; }
.auth-form-panel .form-item-compact label { margin: 0; cursor: pointer; }
.auth-form-panel .form-item-extra-link { color: #3488ec; text-decoration: none; }
.auth-form-panel .form-item-extra-link:hover, .auth-account-switch a:hover { color: #176fcf; text-decoration: underline; }
.auth-form-panel input:focus-visible { outline: 0; }
.auth-form-panel input[type="checkbox"]:focus-visible { outline: 2px solid #3488ec; outline-offset: 2px; }
.auth-form-panel .form-input:has(input[aria-invalid="true"]), .auth-form-panel .form-input.is-invalid { border-color: #d85d68; background: #fff8f8; box-shadow: 0 0 0 3px rgba(216,93,104,.11); }
.auth-form-panel [role="alert"], .auth-form-panel .field-error, .auth-form-panel .form-error { color: #c44c59; font-size: 10px; line-height: 1.5; }
.auth-form-panel button[type="submit"]:disabled, .auth-form-panel button[type="submit"][aria-disabled="true"] { opacity: .58; cursor: not-allowed; }
.auth-account-switch { width: 100%; max-width: none; margin: 11px auto 0; padding-top: 10px; border-top: 1px solid #edf0f2; text-align: center; }
.auth-account-switch a { color: #7a8389; font-size: 10px; text-decoration: none; }
.auth-account-switch strong { margin-left: 3px; color: #3488ec; font-weight: 650; }
.auth-form-panel .returntosite-content { margin-top: 12px; text-align: center; }
.auth-form-panel .language-switcher { margin-top: 13px; }
.auth-form-panel .form-item-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 13px; }
@media (max-width: 650px) { .auth-page-shell { width: calc(100% - 24px); margin: 15px auto; }.auth-card { display: block; min-height: 0; }.auth-promo { min-height: 130px; padding: 20px 23px; }.auth-promo-mark { display: none; }.auth-promo strong { font-size: 18px; }.auth-promo p { margin: 4px 0 0; }.auth-form-panel { min-height: 360px; padding: 28px 20px; }.auth-form-panel .form-item-group { grid-template-columns: 1fr; gap: 0; } }
@media (max-width:800px) {
  body.auth-theme { place-items:start center; padding-top:18px; }
  .auth-page-shell { width:min(360px,calc(100% - 24px)); margin:0 auto 20px; }
  .auth-brand { height:50px; margin-bottom:12px; }.auth-brand img { width:165px; height:50px; }
  .auth-card, .auth-signup-page .auth-card, .auth-reset-page .auth-card { height:auto; min-height:0; }
  .auth-promo { display:none; }
  .auth-form-panel { position:relative; inset:auto; width:100%; min-height:0; max-height:none; padding:25px 22px; overflow:visible; border-radius:8px; }
  .auth-form-panel .form-item-group { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 10px; }
}
@media (max-width:420px) { .auth-form-panel { padding:22px 18px; }.auth-form-panel .form-item-group { grid-template-columns:1fr; gap:0; } }

body.dark { --ink: #e0e4e7; --muted: #a3adb4; --line: #353d43; --paper: #242b31; --canvas: #181e23; --soft: #2d353b; --deep: #101519; background: #181e23; color: #d7dce0; }
body.dark:not(:has(.home-hero)) .site-header { background: rgba(31,37,42,.96); }
body.dark .primary-nav a, body.dark .header-actions .account-link:not(.account-primary) { color: #d3d9dd; }
body.dark .brand-copy strong, body.dark .section-heading h2, body.dark .post-card-body h2, body.dark .profile-content h2, body.dark .sidebar-title h2, body.dark .topic-copy strong, body.dark .user-greeting { color: #e0e5e8; }
body.dark .shortcut-card, body.dark .post-card, body.dark .sidebar-card, body.dark .post-paper, body.dark .zib-filter-panel, body.dark .timeline, body.dark .author-tabs { background: #252d33; color: #d7dce0; }
body.dark .shortcut-card strong, body.dark .mini-post-list a, body.dark .listing-hero h1, body.dark .tag-hero h1 { color: #f3f5f6; }
body.dark .post-card-body h2 a, body.dark .post-prose, body.dark .post-heading h1 { color: #dce1e4; }
body.dark .home-tabs, body.dark .author-tabs, body.dark .post-actions, body.dark .post-tags { border-color: #343c42; }
body.dark .topic-row, body.dark .filter-row { border-color: #364047; }
body.dark .filter-row a, body.dark .filter-row button, body.dark .home-sort-row button { color: #c2c9ce; }
body.dark .hero-search, body.dark .sidebar-search { background: #f4f5f6; }
body.dark .hero-search input, body.dark .sidebar-search input { color: #4e5358; }
body.dark .profile-avatar, body.dark .avatar-img.avatar-lg { border-color: #252d33; background: #252d33; }
body.dark .post-neighbors>a, body.dark .post-prose blockquote, body.dark .category-pills a, body.dark .tag-cloud a { background: #2e373d; }
body.dark.auth-theme { background: radial-gradient(ellipse at 12% 15%,#263941,transparent 43%),#171d22; }
body.dark .auth-card { background: #252d33; }
body.dark .auth-brand { color: #e0e4e7; }

/* Category archive matches the demo's wide cover, seven compact filters and three-card grid. */
.listing-shell { width: calc(100% - 30px); max-width: 1280px; padding: 20px 0 56px; }
.listing-columns { grid-template-columns: minmax(0,2.92fr) minmax(250px,1fr); gap: 15px; }
.listing-hero.category-hero { height: auto; min-height: 0; aspect-ratio: 2.9577 / 1; margin-bottom: 20px; background-image: url("../tag-default-cover.jpg"); }
.listing-hero.category-hero::before { background: none; }
.listing-hero.category-hero .category-hero-title { left: 0; bottom: 0; padding: 15px; }
.listing-hero.category-hero .category-hero-title h1 { gap: 8px; margin: 0; font-size: 16px; line-height: 30.9px; }
.category-hero-title svg { width: 19px; height: 19px; fill: currentColor; }
.listing-hero.category-hero .category-hero-title small { margin-left: 0; }
.category-hero-title p { margin: 0; color: rgba(255,255,255,.86); font-size: 14.4px; font-weight: 400; line-height: 20.57px; }
.zib-filter-panel.category-filter-panel { margin: 0 0 8px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.category-filter-panel .filter-row { min-height: 30px; align-items: center; gap: 11px; padding: 3px 0; }
.category-filter-panel .filter-row > strong { width: 35px; flex-basis: 35px; padding-top: 0; color: #888f94; font-size: 11px; }
.category-filter-panel .filter-row > div { align-items: center; gap: 0 5px; }
.category-filter-panel .filter-row a, .category-filter-panel .filter-row button { padding: 0 2px; border-radius: 0; background: transparent; color: #8e969b; font-size: 11px; line-height: 1.7; }
.category-filter-panel .filter-row a::after, .category-filter-panel .filter-row button::after { content: "·"; margin-left: 7px; color: #b5bcc0; }
.category-filter-panel .filter-row a:last-child::after, .category-filter-panel .filter-row button:last-child::after { content: ""; margin: 0; }
.category-filter-panel .filter-row a.is-active, .category-filter-panel .filter-row button.is-active { background: transparent; color: #48aa95; font-weight: 650; }
.category-filter-panel .filter-row a:hover, .category-filter-panel .filter-row button:hover { color: #48aa95; }
.listing-main > .section-heading { display: none; }
.category-post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.category-post-grid > .post-card { height: 318px; min-height: 0; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; border-radius: 5px; box-shadow: 0 1px 8px rgba(42,52,59,.09); }
.category-post-grid .post-card-media { height: 205px; min-height: 205px; flex: 0 0 205px; border-radius: 0; }
.category-post-grid .post-card-media > img { display: block; }
.category-post-grid .cover-placeholder { background: linear-gradient(135deg,#e5edf3,#f5f6f7); }
.category-post-grid .post-card-body { min-height: 0; flex: 1; display: flex; flex-direction: column; padding: 9px 11px 8px; }
.category-post-grid .card-tags { min-height: 13px; margin: 0 0 3px; gap: 6px; }
.category-post-grid .card-tags a { color: #9aa1a5; font-size: 9px; }
.category-post-grid .post-card-body h2 { margin: 0 0 4px; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.category-post-grid .card-excerpt { display: -webkit-box; overflow: hidden; color: #92999d; font-size: 10px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.category-post-grid .card-meta { min-height: 21px; margin-top: auto; padding-top: 5px; gap: 7px; font-size: 9px; white-space: nowrap; }
.category-post-grid .author-chip { gap: 4px; }.category-post-grid .author-chip img { width: 16px; height: 16px; }
.category-post-grid .meta-stat { font-size: 9px; }
.category-post-grid > .post-card[hidden], .archive-filter-empty[hidden], .listing-main > .pagination[hidden] { display: none !important; }
.archive-filter-empty { min-height: 180px; margin-top: 10px; }
@media (max-width: 1050px) {
  .listing-columns { grid-template-columns: minmax(0,2.4fr) minmax(250px,1fr); }
  .category-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .listing-shell { width: 100%; padding: 15px 15px 40px; }
  .listing-columns { grid-template-columns: 1fr; gap: 18px; }
  .listing-hero.category-hero { aspect-ratio: 2.3 / 1; margin-bottom: 12px; }
  .zib-filter-panel.category-filter-panel { margin-bottom: 12px; padding: 0; }
  .category-filter-panel .filter-row { min-height: 32px; }
  .category-post-grid { gap: 10px; }
  .category-post-grid > .post-card { height: 300px; }
  .category-post-grid .post-card-media { height: 180px; min-height: 180px; flex-basis: 180px; }
}
@media (max-width: 560px) {
  html { overflow-x: clip; }
  .category-listing-shell { width: 100%; padding: 10px 10px 40px; }
  .listing-hero.category-hero { aspect-ratio: 2.103 / 1; margin-bottom: 20px; }
  .listing-hero.category-hero .category-hero-title { width: 257px; max-width: calc(100% - 30px); box-sizing: border-box; }
  .listing-hero.category-hero .category-hero-title h1 { margin: 0 0 5px; font-size: 14px; line-height: 22.85px; }
  .category-hero-title p { font-size: 12px; line-height: 18px; }
  .zib-filter-panel.category-filter-panel { margin-bottom: 5px; }
  .category-filter-panel .filter-row { height: 30px; min-height: 30px; padding: 0; }
  .category-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .category-post-grid > .post-card { height: auto; min-height: 0; display: flex; flex-direction: column; gap: 0; padding: 0; }
  .category-post-grid .post-card-media { height: auto; min-height: 0; flex-basis: auto; aspect-ratio: 1.428 / 1; border-radius: 0; }
  .category-post-grid .post-card-body { min-height: 113px; padding: 8px 9px 9px; }
  .category-post-grid .post-card-body h2 { order: 1; font-size: 12px; }
  .category-post-grid .card-tags { order: 2; margin: 0 0 5px; }
  .category-post-grid .card-meta { order: 3; gap: 5px; padding-top: 5px; font-size: 9px; }
  .category-post-grid .author-chip span { display: none; }
  .category-post-grid .author-chip img { width: 20px; height: 20px; }
  .category-post-grid .meta-stat + .meta-stat, .category-post-grid .card-category { display: none; }
  .category-post-grid .card-excerpt { display: none; }
  .category-filter-panel .filter-row { gap: 6px; }
  .category-filter-panel .filter-row > strong { width: 32px; flex-basis: 32px; }
  .category-filter-panel .filter-row a, .category-filter-panel .filter-row button { padding: 0 2px; font-size: 10px; }
}

/* Tag archives use a full-width cover, four inline filter rows and two editorial columns. */
.tag-shell { width: calc(100% - 30px); max-width: 1280px; margin: 0 auto; padding: 20px 0 56px; }
.tag-hero { position: relative; height: auto; min-height: 0; aspect-ratio: 3.177 / 1; margin: 0 0 20px; padding: 17px 21px 20px; overflow: hidden; border: 0; border-radius: 7px; background-color: #4d5967; background-image: url("../tag-default-cover.jpg"); background-position: center; background-size: cover; color: #fff; }
.tag-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(16,25,34,.5),rgba(12,21,32,.08)); }
.tag-hero-title { position: absolute; z-index: 1; left: 20px; bottom: 18px; }
.tag-hero-title h1 { display: flex; align-items: center; gap: 9px; margin: 0; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.45; }
.tag-hero-title svg { width: 19px; height: 19px; fill: currentColor; }
.tag-hero-title small { margin-left: 6px; color: rgba(255,255,255,.95); font-size: 12px; font-weight: 600; }
.tag-hero-title small b { font-weight: inherit; }
.tag-search-trigger { position: absolute; z-index: 2; top: 6px; right: 8px; width: 38px; height: 38px; border: 0; background: transparent; color: #fff; font-size: 27px; line-height: 1; cursor: pointer; }
.tag-filter-panel { margin: 0 0 8px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tag-filter-panel .filter-row { min-height: 30px; align-items: center; gap: 10px; padding: 3px 0; border: 0; }
.tag-filter-panel .filter-row > strong { width: 37px; flex-basis: 37px; padding: 0; color: #81898e; font-size: 11px; }
.tag-filter-panel .filter-row > div { align-items: center; gap: 0 5px; }
.tag-filter-panel .filter-row a, .tag-filter-panel .filter-row button { padding: 0 2px; border-radius: 0; background: transparent; color: #8e969b; font-size: 11px; line-height: 1.7; }
.tag-filter-panel .filter-row a::after, .tag-filter-panel .filter-row button::after { content: "·"; margin-left: 7px; color: #b5bcc0; }
.tag-filter-panel .filter-row a:last-child::after, .tag-filter-panel .filter-row button:last-child::after { content: ""; margin: 0; }
.tag-filter-panel .filter-row a.is-active, .tag-filter-panel .filter-row button.is-active { background: transparent; color: #48aa95; font-weight: 650; }
.tag-filter-panel .filter-row a:hover, .tag-filter-panel .filter-row button:hover { color: #48aa95; }
.tag-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.tag-post-grid > .post-card { min-height: 173px; grid-template-columns: 205px minmax(0,1fr); align-items: center; gap: 19px; padding: 15px 18px; border-radius: 7px; box-shadow: 0 1px 8px rgba(42,52,59,.08); }
.tag-post-grid .post-card-media { height: 140px; min-height: 140px; border-radius: 5px; }
.tag-post-grid .post-card-body { min-height: 140px; display: flex; flex-direction: column; padding: 2px 0; }
.tag-post-grid .card-tags { gap: 4px; margin-bottom: 5px; }
.tag-post-grid .card-tags a { color: #42a990; font-size: 10px; }
.tag-post-grid .post-card-body h2 { margin-bottom: 6px; font-size: 14px; line-height: 1.5; }
.tag-post-grid .card-excerpt { display: -webkit-box; overflow: hidden; color: #8b9398; font-size: 11px; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tag-post-grid .card-meta { gap: 7px; padding-top: 8px; font-size: 9px; }
.tag-post-grid .card-category { display: none; }
.tag-post-grid > .post-card[hidden], .tag-shell .archive-filter-empty[hidden], .tag-shell .pagination[hidden] { display: none !important; }
.tag-shell .pagination { margin-top: 17px; }
.tag-search-dialog { width: min(390px,calc(100% - 30px)); padding: 22px; border: 0; border-radius: 8px; background: #fff; color: #535c62; box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.tag-search-dialog::backdrop { background: rgba(22,29,35,.56); }
.tag-search-dialog form { display: flex; flex-direction: column; gap: 9px; }
.tag-search-dialog h2 { margin: 0 0 3px; font-size: 15px; }
.tag-search-dialog label { color: #858e94; font-size: 11px; }
.tag-search-dialog input { height: 39px; padding: 0 11px; border: 1px solid #e7eaed; border-radius: 4px; color: #4e565c; font: inherit; font-size: 12px; outline: none; }
.tag-search-dialog input:focus { border-color: #58b49e; box-shadow: 0 0 0 3px rgba(72,170,149,.12); }
.tag-search-dialog form > div { display: flex; justify-content: flex-end; gap: 7px; margin-top: 5px; }
.tag-search-dialog button { min-width: 64px; height: 31px; padding: 0 11px; border: 0; border-radius: 4px; background: #f2f4f5; color: #70797f; font-size: 11px; cursor: pointer; }
.tag-search-dialog .tag-search-apply { background: #48aa95; color: #fff; }
.tag-search-dialog.category-search-dialog { position: fixed; inset: 64px 0 auto; width: 100%; max-width: none; height: 365px; min-height: 365px; max-height: calc(100vh - 64px); box-sizing: border-box; margin: 0; padding: 20px 0 17px; overflow: visible; border: 0; border-radius: 0; background: rgba(255,255,255,.98); color: #626c72; box-shadow: 0 14px 28px rgba(24,35,44,.12); }
.tag-search-dialog.category-search-dialog form { display: block; width: min(580px,calc(100vw - 30px)); margin: 0 auto; }
.tag-search-dialog.category-search-dialog form > .category-search-bar { display: flex; align-items: center; height: 43px; margin: 0; border-bottom: 1px solid #e9edef; }
.category-search-bar select { flex: 0 0 62px; height: 27px; padding: 0 16px 0 2px; border: 0; border-right: 1px solid #e6e9eb; appearance: none; background: transparent; color: #556067; font: inherit; font-size: 11px; outline: none; }
.tag-search-dialog.category-search-dialog .category-search-bar input { flex: 1; min-width: 0; height: 40px; padding: 0 11px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tag-search-dialog.category-search-dialog .category-search-bar input:focus { border: 0; box-shadow: none; }
.tag-search-dialog.category-search-dialog .category-search-submit { flex: 0 0 38px; display: grid; place-items: center; min-width: 38px; width: 38px; height: 34px; padding: 0; background: transparent; color: #788188; }
.category-search-submit svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.tag-search-dialog.category-search-dialog .category-search-close { position: absolute; top: 16px; right: max(16px,calc((100vw - 620px)/2)); display: grid; place-items: center; min-width: 30px; width: 30px; height: 30px; padding: 0; background: transparent; color: #929a9f; font-size: 22px; font-weight: 300; }
.tag-search-dialog.category-search-dialog form > .category-search-hot { display: flex; flex-direction: column; gap: 7px; margin: 26px 0 0; padding: 0; }
.category-search-hot > strong,.category-search-trending > strong { display: block; color: #737c81; font-size: 11px; font-weight: 600; }
.category-search-hot > span { display: flex; flex-wrap: wrap; column-gap: 5px; row-gap: 11px; }
.tag-search-dialog.category-search-dialog .category-search-hot button { flex: 0 0 auto; min-width: 0; height: 26px; padding: 0 11px; border-radius: 3px; background: #f1f3f4; color: #697379; font-size: 11px; }
.tag-search-dialog.category-search-dialog .category-search-hot button:hover { background: #e8f4f1; color: #48aa95; }
.category-search-trending { margin-top: 28px; }
.category-search-posts { display: flex; gap: 7px; margin-top: 12px; overflow: hidden; }
.category-search-posts > a { flex: 0 0 91px; min-width: 0; color: #50595f; }
.category-search-post-image { display: block; width: 91px; height: 78px; overflow: hidden; border-radius: 3px; background: linear-gradient(135deg,#dfe9ec,#a7c0c5 55%,#415a6d); }
.category-search-post-image img { width: 100%; height: 100%; object-fit: cover; }
.category-search-post-title { display: -webkit-box; overflow: hidden; min-height: 25px; margin-top: 4px; font-size: 9px; font-weight: 650; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.category-search-posts small { display: block; margin-top: 2px; color: #929a9f; font-size: 8px; }
.category-search-posts > a:hover .category-search-post-title { color: #48aa95; }
body.dark .tag-filter-panel { background: transparent; box-shadow: none; }
body.dark .tag-search-dialog { background: #252d33; color: #dbe0e3; }
@media (max-width: 1050px) { .tag-post-grid > .post-card { grid-template-columns: 165px minmax(0,1fr); gap: 13px; padding: 12px; } }
@media (max-width: 800px) {
  .tag-shell { width: 100%; padding: 15px 15px 40px; }
  .tag-hero { aspect-ratio: 2.3 / 1; margin-bottom: 12px; }
  .tag-post-grid { grid-template-columns: 1fr; gap: 10px; }
  .tag-post-grid > .post-card { grid-template-columns: 190px minmax(0,1fr); min-height: 150px; }
  .tag-post-grid .post-card-media, .tag-post-grid .post-card-body { min-height: 120px; height: 120px; }
  .tag-search-dialog.category-search-dialog { inset: 58px 0 auto; height: auto; min-height: calc(100vh - 58px); max-height: calc(100vh - 58px); padding: 12px 0 18px; overflow-y: auto; }
  .tag-search-dialog.category-search-dialog .category-search-close { top: 8px; right: 12px; }
  .tag-search-dialog.category-search-dialog form { width: calc(100vw - 28px); }
  .category-search-posts { overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 560px) {
  .tag-hero { aspect-ratio: 1.9 / 1; }
  .tag-hero-title { left: 14px; bottom: 13px; }.tag-hero-title h1 { gap: 6px; font-size: 15px; }
  .tag-filter-panel .filter-row { gap: 5px; }.tag-filter-panel .filter-row > strong { width: 33px; flex-basis: 33px; }
  .tag-filter-panel .filter-row a, .tag-filter-panel .filter-row button { font-size: 10px; }
  .tag-post-grid > .post-card { min-height: 128px; grid-template-columns: 116px minmax(0,1fr); gap: 10px; padding: 7px; }
  .tag-post-grid .post-card-media, .tag-post-grid .post-card-body { height: 114px; min-height: 114px; }
  .tag-post-grid .post-card-body h2 { font-size: 12px; }.tag-post-grid .card-excerpt { display: none; }
}

/* Article routes keep the reading column on the left and the site sidebar on the right. */
.post-layout { grid-template-columns: minmax(0,2.92fr) minmax(250px,1fr); }
.post-layout > .post-main-column { order: 1; }
.post-layout > .sidebar { order: 2; }
.post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper { padding-bottom: 1px; }
.post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper > .post-heading { margin-top: -30px; padding-bottom: 28px; }
.post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper > .post-pay-demo { margin: 20px 0 20px; padding: 3px 12px; }
.post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper > .post-content-wrap[data-post-kind="article"] { min-height: 1395px; margin-bottom: 20px; }
@media (max-width: 800px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-layout > .post-main-column { order: 1; }
  .post-layout > .sidebar { order: 2; }
}
.post-byline { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "author actions" "author stats"; align-items: center; column-gap: 12px; row-gap: 5px; }
.byline-author { grid-area: author; min-width: 0; }
.byline-author > img { flex: 0 0 34px; border-radius: 50%; object-fit: cover; }
.byline-name { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.byline-name-row { display: flex; align-items: center; gap: 4px; }
.byline-badges { display: inline-flex; align-items: center; gap: 3px; margin-left: 1px; }
.byline-author .avatar-placeholder { position: relative; border: 1px solid #e7eee9; background: #fff; color: transparent; font-size: 0; }
.byline-author .avatar-placeholder::before { content: "Z"; color: #45b276; font-size: 23px; font-weight: 800; line-height: 1; }
.byline-badge { display: inline-grid; place-items: center; height: 13px; min-width: 13px; padding: 0 3px; border-radius: 7px; font-size: 8px; font-weight: 700; line-height: 1; }
.byline-verified { background: #3f91d9; color: #fff; }.byline-rank { border: 1px solid #efb0c9; background: #fff5f8; color: #dc78a2; }
.post-author-actions { grid-area: actions; display: flex; gap: 6px; justify-self: end; }
.post-author-actions a { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border-radius: 4px; font-size: 10px; }
.post-follow-action { background: #fff1f4; color: #dc7393; }.post-message-action { background: #edf7fc; color: #559db9; }
.byline-stats { grid-area: stats; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px 10px; margin: 0; font-size: 9px; }
.post-layout .post-actions-wrap { position: relative; height: 138px; margin: 15px 0 0; top: 0; }
.post-actions-prompt { height: 48px; display: grid; place-items: center; padding: 15px; border-bottom: 1px solid #edf0f2; color: #949ca1; font-size: 10px; line-height: 18px; text-align: center; }
.post-layout .post-actions { height: 90px; display: block; margin: 0; padding: 0 0 15px; box-sizing: border-box; text-align: center; }
.post-actions .action-buttons { height: 75px; display: flex; align-items: stretch; justify-content: center; gap: 0; flex-wrap: nowrap; }
.post-actions .action-button { width: 80px; min-height: 75px; height: 75px; flex: 0 0 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #929ba0; font-size: 10px; font-weight: 400; line-height: 1.25; }
.post-actions .action-button > span { font-size: 18px; line-height: 1; }
.post-actions .action-button b { color: inherit; font-size: 9px; font-weight: 500; }
.post-actions .action-button:hover { border-color: transparent; background: #f6f8f9; color: #3488ec; }
.action-favorite { text-decoration: none; }.action-button.is-upvoted { background: #fff1f2; color: #e45e70; }
body.dark .post-actions-prompt { border-color: #343c42; }
body.dark .post-actions .action-button:hover { background: #303940; }
.post-end-quote { height: 57px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; margin-top: 19px; padding: 6px 14px; border: 1px solid #eef0f1; border-radius: 5px; background: #fff; color: #5b6368; text-align: center; }
.post-end-quote p { margin: 0; font-size: 11px; line-height: 16px; }
.post-end-quote small { color: #858e94; font-size: 9px; line-height: 13px; }
body.dark .post-end-quote { border-color: #343c42; background: #252d33; color: #dbe0e3; }
.post-author-card { min-height: 145px; display: grid; grid-template-columns: minmax(0,1fr) 440px; align-items: center; gap: 0; margin-top: 17px; padding: 9px 18px; }
.post-layout .post-author-card { grid-template-columns: 421px 440px; margin-top: 19px; padding: 10px 30px; }
.post-author-profile { min-width: 0; display: flex; align-items: center; gap: 13px; }
.post-author-avatar { width: 58px; height: 58px; flex: 0 0 58px; overflow: hidden; display: grid; place-items: center; border: 2px solid #f1f3f4; border-radius: 50%; background: white; color: #3488ec; font-size: 20px; font-weight: 700; }
.post-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-author-avatar-placeholder { color: #45b276; font-size: 30px; font-weight: 800; }
.post-author-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 5px; }
.post-author-copy > a { color: #535b60; font-size: 13px; font-weight: 650; }.post-author-copy small { color: #9aa1a5; font-size: 10px; }
.post-author-stats { display: flex; align-items: center; gap: 8px; color: #969da1; font-size: 9px; }
.post-author-stats b { color: #656e73; font-weight: 700; }.post-author-stats i { width: 1px; height: 10px; background: #e5e9eb; }
.post-author-follow { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 12px; border-radius: 4px; background: #edf7f4; color: #47a78f; font-size: 10px; white-space: nowrap; }
.post-author-more { position: relative; min-width: 0; width: 440px; height: 105px; left: 4px; transform: none; }
.post-author-more-heading { position: absolute; z-index: 1; top: -18px; right: 0; left: 0; height: 15px; display: flex; align-items: flex-start; justify-content: space-between; margin: 0; color: #81898e; font-size: 9px; }
.post-author-more-heading > strong { font-weight: 600; }
.post-author-more-heading > div { display: flex; gap: 4px; margin-top: -4px; }
.post-author-more-heading button { width: 18px; height: 18px; display: grid; place-items: center; padding: 0; border: 1px solid #e8ecee; border-radius: 50%; background: #fff; color: #657078; font-size: 14px; line-height: 1; cursor: pointer; }
.post-author-more-heading button:disabled { opacity: .38; cursor: default; }
.post-author-more-track { display: flex; height: 105px; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.post-author-more-track::-webkit-scrollbar { display: none; }
.post-author-more-track:focus-visible { outline: 2px solid #3488ec; outline-offset: 2px; }
.post-author-more-card { min-width: 0; flex: 0 0 132px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; color: #5c6469; scroll-snap-align: start; }
.post-author-more-card img { width: 100%; height: 76px; flex: 0 0 76px; object-fit: cover; border-radius: 4px; background: #f0f3f5; }
.post-author-more-card strong { overflow: hidden; color: #636b70; font-size: 8px; font-weight: 500; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.post-related-panel { margin-top: 139px; padding: 17px 18px; }
.post-related-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.post-related-heading h2 { margin: 0; color: #565e63; font-size: 15px; }.post-related-controls>a { color: #999fa4; font-size: 10px; }
.post-related-controls { display: flex; align-items: center; gap: 6px; }
.post-related-controls button { display: grid; width: 23px; height: 23px; padding: 0; place-items: center; border: 1px solid #e8ecee; border-radius: 50%; background: #fff; color: #657078; font-size: 17px; line-height: 1; cursor: pointer; }
.post-related-controls button:disabled { opacity: .38; cursor: default; }
.post-related-controls button:focus-visible, .post-related-grid:focus-visible { outline: 2px solid #3488ec; outline-offset: 2px; }
.post-related-grid { width: calc(100% + 30px); height: 154px; margin-left: -15px; display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.post-related-grid::-webkit-scrollbar { display: none; }
.post-related-card { min-width: 0; display: flex; flex-direction: column; gap: 6px; color: #565e63; }
.post-related-card { flex: 0 0 220px; scroll-snap-align: start; }
.post-related-thumb { height: 100px; display: block; overflow: hidden; border-radius: 4px; background: #f0f3f5; }
.post-related-thumb img, .post-related-thumb .cover-placeholder { width: 100%; height: 100%; object-fit: cover; }
.post-related-card > strong { display: -webkit-box; overflow: hidden; color: #575f64; font-size: 10px; font-weight: 600; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.post-related-card > small { display: flex; justify-content: space-between; gap: 6px; color: #9da4a8; font-size: 8px; }
@media (max-width: 800px) {
  .post-byline { grid-template-columns: minmax(0,1fr); grid-template-areas: "author" "actions" "stats"; justify-items: start; row-gap: 8px; }
  .post-author-actions, .byline-stats { justify-self: start; justify-content: flex-start; }
  .post-author-card, .post-layout .post-author-card { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 15px; padding: 13px; }
  .post-end-quote { height: auto; min-height: 57px; margin-top: 14px; }
  .post-author-profile { min-height: 62px; }
  .post-author-more { width: 100%; height: auto; left: 0; transform: none; }
  .post-author-more-heading { position: static; height: 16px; margin-bottom: 5px; }
  .post-related-panel { margin-top: 16px; padding: 13px; }
  .post-related-grid { width: 100%; height: auto; margin-left: 0; }
  .post-related-card { flex-basis: 220px; }
  .post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper { padding-bottom: 15px; }
  .post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper > .post-heading { margin-top: 0; padding-bottom: 15px; }
  .post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper > .post-pay-demo { margin: 10px 0 22px; padding: 12px; }
  .post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper > .post-content-wrap[data-post-kind="article"] { min-height: 0; margin-bottom: 0; }
  .post-layout .post-actions-wrap { height: auto; margin: 15px 0 0; top: 0; }
  .post-actions-prompt { height: 44px; padding: 12px; }
  .post-layout .post-actions { height: 75px; padding-bottom: 9px; }
  .post-actions .action-buttons { height: 66px; }
  .post-actions .action-button { width: 80px; height: 66px; min-height: 66px; flex-basis: 80px; }
}
@media (max-width: 560px) {
  .byline-badges { gap: 2px; }.post-author-actions a { padding: 0 8px; }
  .post-author-card { gap: 10px; }.post-author-avatar { width: 48px; height: 48px; flex-basis: 48px; }
  .post-author-follow { min-height: 27px; padding: 0 8px; font-size: 9px; }
  .post-author-more-track { height: 96px; gap: 8px; }.post-author-more-card { flex-basis: 120px; }.post-author-more-card img { height: 68px; flex-basis: 68px; }
  .post-related-grid { gap: 10px; }.post-related-card { flex-basis: calc((100% - 10px) / 2); }.post-related-thumb { height: 78px; }
}

/* Topic archives follow the demo's edge-to-edge hero, four filter rows and four-card grid. */
.topic-shell { width: calc(100% - 30px); max-width: 1280px; margin: 0 auto; padding: 20px 0 56px; }
.topic-hero { position: relative; height: auto; min-height: 0; aspect-ratio: 3.17 / 1; margin: 0 0 17px; padding: 0; overflow: hidden; border: 0; border-radius: 7px; background-color: #414853; background-image: url("../tag-default-cover.jpg"); background-position: center; background-size: cover; color: #fff; }
.topic-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(12,19,28,.42),rgba(12,19,28,.08)); }
.topic-hero-title { position: absolute; z-index: 1; inset: 0; display: grid; align-content: center; justify-items: center; padding: 20px; text-align: center; }
.topic-hero-title h1 { display: flex; align-items: center; gap: 7px; margin: 0; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.5; }
.topic-hero-title svg { width: 17px; height: 17px; fill: currentColor; }
.topic-hero-title small { margin-left: 5px; color: rgba(255,255,255,.96); font-size: 12px; font-weight: 600; }
.topic-hero-title small b { margin-left: 6px; }
.topic-hero-title p { max-width: 620px; margin: 8px 0 0; color: rgba(255,255,255,.8); font-size: 11px; }
.topic-search-trigger { position: absolute; z-index: 2; top: 6px; right: 8px; }
.topic-filter-panel { margin: 0 0 8px; padding: 0 10px; border-radius: 0; background: transparent; box-shadow: none; }
.topic-filter-panel .filter-row { min-height: 30px; align-items: center; gap: 10px; padding: 3px 0; border: 0; }
.topic-filter-panel .filter-row > strong { width: 37px; flex-basis: 37px; padding: 0; color: #81898e; font-size: 11px; }
.topic-filter-panel .filter-row > div { align-items: center; gap: 0 5px; }
.topic-filter-panel .filter-row a, .topic-filter-panel .filter-row button { padding: 0 2px; border-radius: 0; background: transparent; color: #8e969b; font-size: 11px; line-height: 1.7; }
.topic-filter-panel .filter-row a::after, .topic-filter-panel .filter-row button::after { content: "·"; margin-left: 7px; color: #b5bcc0; }
.topic-filter-panel .filter-row a:last-child::after, .topic-filter-panel .filter-row button:last-child::after { content: ""; margin: 0; }
.topic-filter-panel .filter-row a.is-active, .topic-filter-panel .filter-row button.is-active { background: transparent; color: #48aa95; font-weight: 650; text-decoration: underline; text-decoration-color: #48aa95; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.topic-filter-panel .filter-row a:hover, .topic-filter-panel .filter-row button:hover { color: #48aa95; }
.topic-post-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.topic-post-grid > .post-card { border-radius: 6px; }
.topic-shell > .pagination { margin-top: 17px; }
.topic-shell .pagination[hidden] { display: none !important; }
body.dark .topic-filter-panel { background: transparent; box-shadow: none; }
@media (max-width: 1050px) { .topic-post-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 800px) {
  .topic-shell { width: 100%; padding: 20px 15px 40px; }
  .topic-hero { aspect-ratio: 2.3 / 1; margin-bottom: 12px; }
  .topic-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .topic-filter-panel .filter-row { min-height: 32px; }
}
@media (max-width: 560px) {
  .topic-hero { aspect-ratio: 1.9 / 1; }
  .topic-hero-title h1 { gap: 5px; font-size: 15px; }
  .topic-filter-panel .filter-row { gap: 5px; }.topic-filter-panel .filter-row > strong { width: 33px; flex-basis: 33px; }
  .topic-filter-panel .filter-row a, .topic-filter-panel .filter-row button { font-size: 10px; }
  .topic-post-grid { grid-template-columns: 1fr; }
}

/* Article cover and optional pay card, aligned with the public Zibll demo. */
.post-cover-hero { position: relative; height: min(40vw,368px); min-height: 275px; max-height: none; margin: 20px 0; overflow: hidden; border-radius: 6px; background: #172b40; }
.post-cover-hero > img { width: 100%; height: 100%; max-height: none; object-fit: cover; margin: 0; }
.post-cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(7,16,25,.08) 22%,rgba(7,16,25,.2) 52%,rgba(7,16,25,.76)); pointer-events: none; }
.post-cover-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 28px; color: #fff; }
.post-cover-copy h1 { max-width: 92%; margin: 0 0 12px; color: #fff; font-size: clamp(19px,2vw,23px); font-weight: 700; line-height: 1.45; letter-spacing: 0; text-shadow: 0 1px 4px rgba(0,0,0,.24); }
.post-cover-copy .breadcrumbs { display: flex; align-items: center; gap: 7px; margin: 0; color: rgba(255,255,255,.88); font-size: 10px; }
.post-cover-copy .breadcrumbs a:hover { color: #fff; }
.post-cover-stats { position: absolute; top: 13px; right: 14px; display: flex; gap: 10px; padding: 5px 9px; border-radius: 20px; background: rgba(12,20,30,.45); color: #fff; font-size: 10px; }
.post-cover-stats b { font-weight: 600; }
@media (min-width: 1200px) {
  .post-cover-copy { padding: 24px 15px 10px; }
  .post-cover-copy h1 { max-width: 100%; margin-bottom: 10px; padding-bottom: 8px; font-size: 18px; line-height: 1.4; }
  .post-cover-copy .breadcrumbs { box-sizing: border-box; width: calc(100% + 6px); margin: 0 0 0 -6px; padding: 0 8px; font-size: 13px; line-height: 18.57px; }
}
.post-pay-demo { display: grid; grid-template-columns: minmax(250px,.95fr) minmax(0,1.2fr); gap: 18px; margin: 10px 0 22px; padding: 12px; border: 1px solid #e9edf0; border-radius: 7px; background: #fff; color: #636c72; }
.post-paid-content-gate { margin: 4px 0 18px; padding: 11px 13px; border: 1px solid #e8edf1; border-radius: 6px; background: #f6f8f9; color: #707a81; font-size: 12px; }
.post-paid-content-gate > a { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.post-paid-content-gate > a:hover { color: #de655c; }
.post-paid-gate-icon { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border-radius: 50%; background: #e96b61; color: #fff; font-size: 13px; font-weight: 750; }
.post-paid-gate-action { margin-left: auto; color: #929ba1; font-size: 10px; white-space: nowrap; }
.pay-demo-preview { position: relative; min-height: 220px; overflow: hidden; border-radius: 5px; background: linear-gradient(145deg,#ebd5c6,#efe4db 55%,#9c796a); }
.pay-demo-preview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pay-demo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #fff; background: linear-gradient(145deg,rgba(27,43,58,.83),rgba(99,64,54,.5)); }
.pay-demo-placeholder span { font-size: 42px; font-weight: 750; line-height: 1; }
.pay-demo-placeholder strong { font-size: 17px; }.pay-demo-placeholder small { font-size: 10px; opacity: .8; }
.pay-demo-type,.pay-demo-sold { position: absolute; top: 8px; padding: 4px 8px; border-radius: 4px; color: #fff; font-size: 9px; font-weight: 700; }
.pay-demo-type { left: 8px; background: #e95c70; }.pay-demo-sold { right: 8px; background: #55a5ed; }
.pay-demo-details { min-width: 0; padding: 7px 6px 4px 0; }
.pay-demo-details h2 { margin: 0 0 7px; color: #4d565c; font-size: 14px; font-weight: 650; line-height: 1.5; }
.pay-demo-details > p:first-of-type { margin: 0 0 11px; color: #9aa1a6; font-size: 10px; line-height: 1.6; }
.pay-demo-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; color: #e45b6b; }
.pay-demo-price > span:first-child { font-size: 10px; font-weight: 700; }.pay-demo-price > strong { font-size: 35px; line-height: 1; letter-spacing: -.04em; }
.pay-demo-promo { padding: 2px 5px; border-radius: 10px; background: #ef6571; color: #fff; font-size: 8px; font-weight: 700; }
.pay-demo-price > small { margin-left: 2px; color: #b8bdc1; font-size: 8px; }.pay-demo-price del b { font-weight: 500; }
.pay-demo-members { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.pay-demo-members > span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 5px; background: #f4f5f6; color: #727a80; font-size: 9px; }
.pay-demo-members b { color: #59636a; font-weight: 650; }.pay-demo-members i { font-style: normal; }
.pay-demo-benefits { display: flex; flex-wrap: wrap; gap: 5px 9px; margin: 13px 0 12px; color: #91999f; font-size: 9px; }
.pay-demo-buy { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 5px; background: linear-gradient(100deg,#ed7464,#e54e43); color: #fff; font-size: 11px; font-weight: 700; }
.pay-demo-buy:hover { color: #fff; filter: brightness(.97); }
.pay-demo-details > .pay-demo-login-note { margin: 6px 0 9px; padding: 5px 7px; background: #f7f7f7; color: #92999e; font-size: 8px; text-align: center; }
.pay-demo-details > .pay-demo-meta { margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid #edf0f2; color: #858d93; font-size: 9px; line-height: 1.7; }
.pay-demo-details > .pay-demo-disclaimer { margin: 7px 0 0; color: #adb3b7; font-size: 8px; line-height: 1.5; }
.post-pay-sidebar-card { position: relative; overflow: hidden; padding: 0 !important; border: 0; border-radius: 7px; background: #fff; }
.post-pay-sidebar-card::before { position: absolute; z-index: 0; top: 0; right: 0; left: 0; height: 148.1px; background: linear-gradient(135deg,#fd7a64 10%,#fb2d2d 100%); content: ""; pointer-events: none; }
.post-pay-sidebar-head { position: absolute; z-index: 2; inset: 0 0 auto; height: 0; padding: 0; background: transparent; color: #fff; pointer-events: none; }
.post-pay-sidebar-head > span { position: absolute; top: -2.1px; left: 0; width: 87.1px; height: 24.2px; display: flex; align-items: center; box-sizing: border-box; padding: 0 8px; border-radius: 0 0 4px 0; background: linear-gradient(100deg,#e85e68,#f47b65); font-size: 10px; font-weight: 700; white-space: nowrap; }
.post-pay-sidebar-head > span::before { width: 10px; margin-right: 2px; content: "▣"; font-size: 9px; }
.post-pay-sidebar-head > b { position: absolute; top: 7.2px; right: 0; width: 61.8px; height: 20.4px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 0; border-radius: 10px 0 0 10px; background: #59a5ed; color: #fff; font-size: 8px; line-height: 1; }
.post-pay-sidebar-head i { font-style: normal; }
.post-pay-sidebar-price { position: relative; z-index: 1; height: 82px; box-sizing: border-box; background: transparent; color: #fff; }
.post-pay-sidebar-price-row { position: absolute; top: 21px; right: 15px; left: 15px; height: 52px; }
.post-pay-sidebar-price-row > strong { position: absolute; top: 0; left: 47.2px; width: 105.4px; height: 50px; color: #fff; font-size: 0; font-weight: 700; }
.post-pay-sidebar-price-row > strong > small { position: absolute; top: 29.5px; left: 0; font-size: 12.3px; font-weight: 400; line-height: 14px; }
.post-pay-sidebar-price-row > strong > span { position: absolute; top: 0; left: 20.7px; font-size: 48px; line-height: 50px; letter-spacing: -.045em; }
.post-pay-sidebar-deal { position: absolute; top: 13.3px; left: 162.6px; width: 71.3px; height: 29.7px; display: flex; flex-direction: column; align-items: flex-start; }
.post-pay-sidebar-deal > span { width: 71.3px; height: 15.7px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.22); color: #fff; font-size: 8px; line-height: 15.7px; white-space: nowrap; }
.post-pay-sidebar-deal > del { width: 41.8px; height: 14px; color: rgba(255,255,255,.86); font-size: 8px; line-height: 14px; text-decoration-color: rgba(255,255,255,.75); white-space: nowrap; }
.post-pay-sidebar-deal > del b { font-weight: 400; }
.post-pay-sidebar-levels { position: relative; z-index: 1; height: 66.1px; display: grid; grid-template-columns: 50.2% 49.8%; padding: 0; box-sizing: border-box; background: transparent; color: #fff; }
.post-pay-level { display: grid; grid-template-rows: 18.6px 34.6px; align-content: start; justify-items: center; box-sizing: border-box; padding: 9px 0 3.9px; font-size: 8px; }
.post-pay-level-title { display: flex; align-items: center; justify-content: center; gap: 3px; color: rgba(255,255,255,.92); font-size: 12px; line-height: 16.8px; white-space: nowrap; }
.post-pay-level-title svg { width: 16.8px; height: 16.8px; fill: none; stroke: #f4c85b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post-pay-level:last-child .post-pay-level-title svg { stroke: #c9e5ff; }
.post-pay-level > b { width: 82.7%; height: 34.6px; display: flex; align-items: center; justify-self: start; box-sizing: border-box; margin-left: 9.6%; color: #fff; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; }
.post-pay-level:last-child > b { width: 81.9%; margin-left: 10.3%; }
.post-pay-level > b i { font-style: normal; }
.post-pay-sidebar-perks { min-height: 58.6px; display: flex; flex-wrap: wrap; align-content: flex-start; column-gap: 10px; row-gap: 0; box-sizing: border-box; padding: 15px 15px 10px; color: #848d93; font-size: 12px; line-height: 16.8px; }
.post-pay-sidebar-perks > span { flex: 0 0 63.4px; line-height: 16.8px; white-space: nowrap; }
.post-pay-sidebar-perks > span:nth-child(2) { flex-basis: 75.4px; }
  .post-pay-sidebar-buy { height: 34.2px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; margin: 0 15px; padding: 0 8px; border-radius: 5px; background: linear-gradient(100deg,#ee7565,#e65144); color: #fff; font-size: 10px; font-weight: 700; }.post-pay-sidebar-buy:hover { color: #fff; filter: brightness(.97); }
.post-pay-sidebar-card > p { height: 45.6px; box-sizing: border-box; margin: 6px 15px 15px; padding: 6px 10px; border-radius: 4px; background: #f7f7f7; color: #90989d; font-size: 12px; line-height: 16.8px; text-align: left; }
body.dark .post-pay-demo, body[data-color-scheme="dark"] .post-pay-demo { border-color: #343c42; background: #252d33; color: #d7dce0; }
body.dark .post-paid-content-gate, body[data-color-scheme="dark"] .post-paid-content-gate { border-color: #343c42; background: #252d33; color: #c1c9ce; }
body.dark .pay-demo-details h2, body[data-color-scheme="dark"] .pay-demo-details h2 { color: #e3e7e9; }
body.dark .pay-demo-members > span, body[data-color-scheme="dark"] .pay-demo-members > span { background: #343c42; color: #c3cacf; }
@media (max-width: 800px) { .post-cover-hero { height: min(54vw,310px); min-height: 220px; margin: 0 0 18px; }.post-pay-demo { grid-template-columns: minmax(0,1fr); }.pay-demo-preview { min-height: 210px; } }
@media (max-width: 560px) { .post-cover-hero { height: 225px; min-height: 0; }.post-cover-copy { padding: 17px; }.post-cover-copy h1 { max-width: 96%; margin-bottom: 8px; font-size: 17px; }.post-cover-copy .breadcrumbs { font-size: 8px; }.post-cover-stats { top: 8px; right: 8px; font-size: 8px; }.post-pay-demo { gap: 10px; padding: 9px; }.pay-demo-preview { min-height: 190px; }.pay-demo-details { padding: 2px 1px; }.pay-demo-price > strong { font-size: 31px; } }

/* Keep the medium desktop article grid after the general two-column rule above. */
@media (min-width: 801px) and (max-width: 1199px) {
  .post-layout { grid-template-columns: minmax(0,1fr) 311px; gap: 15px; }
  .post-cover-hero { height: auto; min-height: 0; margin: 20px 0 18px; aspect-ratio: 2.37 / 1; }
  .post-cover-copy { padding: 24px 15px 11px; }
  .post-cover-copy h1 { max-width: 100%; padding-bottom: 8px; font-size: 18px; line-height: 1.4; }
  .post-cover-hero ~ .post-paper .post-excerpt { display: none; }
  .post-pay-demo { grid-template-columns: minmax(0,.705fr) minmax(0,1fr); gap: 10px 20px; margin-top: 3px; padding: 15px; border: 0; }
  .pay-demo-preview, .pay-demo-details { height: 193.3px; min-height: 0; box-sizing: border-box; }
  .pay-demo-preview { margin: 0; }
  .pay-demo-preview > img { height: calc(100% - 24px); bottom: auto; }
  .pay-demo-details { display: flex; flex-direction: column; padding: 0; }
  .pay-demo-details h2 { margin: 0 0 6px; font-size: 14px; line-height: 20px; }
  .pay-demo-details > p:first-of-type { margin: 0; }
  .pay-demo-price { min-height: 42px; }
  .pay-demo-members { margin-top: 5px; }
  .pay-demo-meta { display: none; }
  .pay-demo-buy { width: 140px; min-height: 34px; flex: 0 0 34px; align-self: flex-end; margin: auto 0 34px; }
  .pay-demo-benefits { grid-column: 1 / -1; min-height: 17px; align-content: center; margin: 0; }
  .pay-demo-type { top: -2px; left: 0; }
  .pay-demo-sold { top: 7px; right: 7px; }
  .post-pay-sidebar-levels { padding: 0; }
  .post-pay-sidebar-perks { padding: 15px 15px 10px; }
  .post-pay-sidebar-buy { margin: 0 15px; }
  .post-pay-sidebar-card > p { margin: 6px 15px 15px; padding: 6px 10px; font-size: 12px; line-height: 16.8px; }
  .post-pay-sidebar-card + .user-card { margin-top: 8px; }
  .user-card { min-height: 0; padding-bottom: 15px; }
  .user-cover { height: 155.5px; }
  .user-content { padding: 0 15px; }
  .user-avatar { width: 100%; height: 80px; margin: -40px auto 10px; }
  .avatar-img.avatar-lg { width: 80px; height: 80px; margin: 0 auto; padding: 0; }
  .avatar-img.avatar-lg img { width: 80px; height: 80px; }
  .user-greeting { display: grid; height: 54px; place-items: center; margin: 0 0 10px; font-size: 12px; }
  .user-auth-actions { height: 34.2px; gap: 14px; }
  .user-auth-actions a, .user-auth-actions button { min-height: 34.2px; padding: 8px 18px; }
  .social-separator { display: flex; height: 38px; align-items: center; justify-content: center; margin: 20px 0; }
  .social-loginbar { height: 38px; }
  .social-loginbar a { width: 38px; height: 38px; }
}

/* Article body blocks mirror the public Gutenberg layouts used by the reference theme. */
.post-content-wrap[data-post-kind="article"] .post-prose { max-width: none; color: #4e5358; font-size: 16px; line-height: 32px; }
.post-content-wrap[data-post-kind="article"] .post-prose p { margin: 0 0 20px; line-height: 32px; }
.post-content-wrap[data-post-kind="article"] .post-prose > :last-child { margin-bottom: 20px; }
.post-content-wrap[data-post-kind="article"] .post-prose h1.wp-block-zibllblock-biaoti.title-theme { position: relative; margin: 20px 0 10px; padding: 2.2px 0 2.2px 24.2px; border: 0; color: #16b597; font-size: 22px; font-weight: 700; line-height: 24.2px; letter-spacing: 0; }
.post-content-wrap[data-post-kind="article"] .post-prose h1.wp-block-zibllblock-biaoti.title-theme::before { position: absolute; top: 5px; left: 0; width: 16px; height: 16px; border: 2px solid #16b597; border-radius: 4px; content: ""; }
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-list { margin: 10px 0 20px 15px; padding: 0 0 0 15px; line-height: 32px; }
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-list li { padding-left: 0; }
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-list li::marker { color: #555d63; }
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-zibllblock-buttons { display: flex; min-height: 49.8px; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 20px; padding-left: 25px; }
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-zibllblock-buttons a { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 6px 15px; border-radius: 4px; background: #298ff0; color: #fff; font-size: 14px; line-height: 22px; text-decoration: none; }
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-zibllblock-buttons a:first-child { background: #ff6f06; }
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-zibllblock-postsbox { width: 86.77%; height: 87.2px; margin: 0 auto 20px; }
.post-content-wrap[data-post-kind="article"] .post-prose .article-postsbox { display: grid; height: 87.2px; grid-template-columns: 96px minmax(0,1fr); align-items: center; gap: 13px; padding: 8px 10px; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 1px 7px rgba(0,0,0,.09); color: #4e5358; font-size: 14px; line-height: 22.4px; text-decoration: none; }
.post-content-wrap[data-post-kind="article"] .post-prose .article-postsbox > img { width: 96px; height: 67.2px; margin: 0; border-radius: 4px; object-fit: cover; }
.post-content-wrap[data-post-kind="article"] .post-prose .article-postsbox-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.post-content-wrap[data-post-kind="article"] .post-prose .article-postsbox-copy strong { display: -webkit-box; overflow: hidden; color: #4e5358; font-size: 13px; font-weight: 500; line-height: 19px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-content-wrap[data-post-kind="article"] .post-prose .article-postsbox-copy small { display: flex; align-items: center; gap: 9px; color: #999; font-size: 10px; line-height: 16px; }
.post-content-wrap[data-post-kind="article"] .post-prose .article-postsbox-price { color: #e65d63; font-size: 9px; }
.post-content-wrap[data-post-kind="article"] .post-prose .article-banner { display: block; width: 100%; height: 37.8px; margin: 0 0 20px; overflow: hidden; }
.post-content-wrap[data-post-kind="article"] .post-prose .article-banner img { display: block; width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; }
.post-paid-content-gate { box-sizing: border-box; height: 74px; margin: 0 0 20px; padding: 10px; border: 0; border-radius: 8px; background: #fff; color: #4e5358; font-size: 16px; }
.post-paid-content-gate > a { height: 52px; gap: 8px; padding: 10px; border-radius: 8px; background: #f7f8f8; color: #16b597; font-size: 16px; line-height: 32px; }
.post-paid-gate-icon { width: 18px; height: 18px; flex-basis: 18px; background: none; color: #16b597; font-size: 16px; }
.post-paid-gate-action { display: none; }
.post-copyright { display: flex; height: 36px; align-items: center; gap: 4px; overflow: hidden; color: #b1b1b1; font-size: 12.6px; line-height: 18px; white-space: nowrap; }
.post-copyright strong { font-weight: 500; }
.post-end-separator { display: grid; height: 48px; place-items: center; margin: 0 0 20px; padding: 15px; color: #b1b1b1; font-size: 12.6px; line-height: 18px; text-align: center; }
.post-tags { height: 65px; min-height: 65px; box-sizing: border-box; align-content: center; gap: 0; margin: 0 0 20px; padding: 0; border: 0; border-radius: 0; }
.post-tags-demo .post-tag-break { display: block; flex: 0 0 100%; width: 100%; height: 0; margin: 0; padding: 0; }
.post-tags > span { display: none; }
.post-tags a { margin: 3px; padding: 3.6px 12px; border-radius: 50px; background: rgba(41,151,247,.1); color: #2997f7; font-size: 12px; line-height: 17.3px; }
@media (max-width: 560px) {
  .post-content-wrap[data-post-kind="article"] .post-prose { font-size: 14px; line-height: 28px; }
  .post-content-wrap[data-post-kind="article"] .post-prose p { line-height: 28px; }
  .post-content-wrap[data-post-kind="article"] .post-prose .wp-block-zibllblock-postsbox { width: 100%; }
  .post-content-wrap[data-post-kind="article"] .post-prose .article-postsbox { grid-template-columns: 82px minmax(0,1fr); gap: 10px; }
  .post-content-wrap[data-post-kind="article"] .post-prose .article-postsbox > img { width: 82px; height: 58px; }
  .post-copyright { font-size: 10px; }
  .sidebar-icon-card { grid-auto-rows: 82px; margin-top: 0; margin-bottom: 0; }
  .sidebar-icon { width: 36px; height: 36px; }
}
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-zibllblock-list li { list-style: disc; }
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-list { line-height: 31.55px; }

/* Sidebar demonstration widgets measured from the reference article view. */
.sidebar-icon-card>a:nth-child(1) .sidebar-icon { background: #fff0f3; color: #ed6c91; }
.sidebar-icon-card>a:nth-child(2) .sidebar-icon { background: #fff3e8; color: #ed9853; }
.sidebar-icon-card>a:nth-child(3) .sidebar-icon { background: #edf5ff; color: #4b9df0; }
.sidebar-icon-card>a:nth-child(4) .sidebar-icon { background: #edf6ea; color: #7c9d5b; }
.sidebar-icon-card>a:nth-child(n+5) .sidebar-icon { width: 46px; height: 46px; margin-bottom: 4px; background: transparent; font-size: 30px; }
.sidebar-hot-card,.sidebar-recommend-card,.sidebar-reference-tag-card,.sidebar-author-ranking-card { box-sizing: border-box; width: 100%; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.sidebar-hot-card { height: 519px; margin-top: 0; padding: 15px; }
.sidebar-hot-feature { position: relative; display: block; height: 168.6px; overflow: hidden; border-radius: 7px; background: #29313a; color: #fff; }
.sidebar-hot-feature::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,transparent 30%,rgba(0,0,0,.68)); }
.sidebar-hot-feature>img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sidebar-hot-rank,.sidebar-hot-read { position: absolute; z-index: 1; display: inline-block; padding: 4px 7px; border-radius: 4px; color: #fff; font-size: 10px; font-weight: 750; line-height: 1; }
.sidebar-hot-rank { top: 12px; left: -15px; padding-left: 17px; background: #ef426b; transform: skew(-8deg); }
.sidebar-hot-read { bottom: 53px; left: 15px; background: #24b99b; }
.sidebar-hot-feature>strong { position: absolute; z-index: 1; right: 11px; bottom: 10px; left: 11px; display: -webkit-box; overflow: hidden; color: #fff; font-size: 13px; font-weight: 650; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sidebar-hot-list { display: grid; gap: 15px; margin-top: 15px; }
.sidebar-hot-row { display: grid; height: 65.1px; grid-template-columns: 93px minmax(0,1fr); gap: 10px; min-width: 0; color: #555e64; text-decoration: none; }
.sidebar-hot-thumb { position: relative; display: block; width: 93px; height: 65.1px; }
.sidebar-hot-thumb img { display: block; width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }
.sidebar-hot-thumb i { position: absolute; top: 7px; left: -15px; padding: 3px 6px 3px 15px; border-radius: 3px; background: #ed7049; color: #fff; font-size: 9px; font-style: normal; font-weight: 750; line-height: 1; }
.sidebar-hot-row:nth-child(3) .sidebar-hot-thumb i { background: #f18a47; }.sidebar-hot-row:nth-child(n+4) .sidebar-hot-thumb i { background: #7f8a91; }
.sidebar-hot-copy { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.sidebar-hot-copy strong { display: -webkit-box; overflow: hidden; color: #535c62; font-size: 13px; font-weight: 500; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sidebar-hot-copy small { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: #a5aaae; font-size: 9px; line-height: 1.3; white-space: nowrap; }
.sidebar-hot-row:hover .sidebar-hot-copy strong { color: #3488ec; }
.sidebar-recommend-card { height: 296.4px; margin-top: 8px; padding: 14px 14px 12px; }
.sidebar-recommend-tabs { display: flex; height: 30px; align-items: stretch; justify-content: space-between; gap: 4px; border-bottom: 1px solid #edf0f2; }
.sidebar-recommend-tabs button { position: relative; padding: 0 1px 8px; border: 0; background: transparent; color: #6d767c; font-size: 12px; white-space: nowrap; cursor: pointer; }
.sidebar-recommend-tabs button.is-active { color: #16b597; }
.sidebar-recommend-tabs button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #16b597; content: ""; }
.sidebar-recommend-list { display: grid; gap: 4px; margin: 9px 0 0; padding: 0; list-style: none; }
.sidebar-recommend-list li { display: grid; min-height: 39px; grid-template-columns: 19px minmax(0,1fr); align-items: start; gap: 5px; }
.sidebar-recommend-list li>i { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 4px; background: #ffedf0; color: #ed6577; font-size: 10px; font-style: normal; font-weight: 700; }
.sidebar-recommend-list li:nth-child(2)>i { background: #fff0e4; color: #e88d4b; }.sidebar-recommend-list li:nth-child(3)>i { background: #e9f5ff; color: #4696ed; }.sidebar-recommend-list li:nth-child(4)>i { background: #eef8ef; color: #55a86c; }
.sidebar-recommend-list a { display: -webkit-box; overflow: hidden; color: #596168; font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sidebar-recommend-list a:hover { color: #3488ec; }
.sidebar-banner-card { display: block; height: 150.5px; margin-top: 8px; overflow: hidden; border-radius: 6px; background: #eff2f4; }
.sidebar-banner-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sidebar-reference-tag-card { height: 152.2px; margin-top: 8px; }
.sidebar-reference-tag-heading { height: 36.4px; padding: 11px 15px 8px; color: #5b646a; font-size: 13px; font-weight: 650; }
.sidebar-reference-tags { display: flex; align-content: flex-start; flex-wrap: wrap; gap: 5px 6px; height: 115.8px; padding: 8px 15px; overflow: hidden; }
.sidebar-reference-tags a { display: inline-flex; height: 24px; align-items: center; padding: 0 8px; border-radius: 4px; background: #f4f5f6; color: #8d969c; font-size: 10px; line-height: 1; text-decoration: none; white-space: nowrap; }
.sidebar-reference-tags a:hover { background: #eef5fa; color: #3488ec; }
.sidebar-author-ranking-card { height: 363.3px; margin-top: 8px; }
.sidebar-author-cover { height: 155.5px; overflow: hidden; background: #e8eef2; }
.sidebar-author-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sidebar-author-content { position: relative; padding: 0 15px 12px; text-align: center; }
.sidebar-author-avatar { display: block; width: 80px; height: 80px; margin: -40px auto 9px; padding: 0; border-radius: 50%; background: #fff; }
.sidebar-author-avatar img { display: block; width: 80px; height: 80px; border: 3px solid #fff; border-radius: 50%; object-fit: cover; }
.sidebar-author-name { display: flex; height: 22px; align-items: center; justify-content: center; gap: 4px; color: #515a60; font-size: 13px; }
.sidebar-author-name strong { font-weight: 700; }.sidebar-author-verified { display: grid; width: 13px; height: 13px; place-items: center; border-radius: 50%; background: #26b9a0; color: #fff; font-size: 9px; }
.sidebar-author-name>a { margin-left: 9px; color: #3488ec; font-size: 10px; text-decoration: none; }
.sidebar-author-stats { display: flex; height: 28px; align-items: center; justify-content: center; gap: 5px; margin: 7px 0; }
.sidebar-author-stats a,.sidebar-author-stats span { padding: 4px 7px; border-radius: 13px; background: #f2f5f6; color: #79838a; font-size: 9px; line-height: 1; text-decoration: none; }
.sidebar-author-stats a:first-child { background: #eaf4ff; color: #3488ec; }.sidebar-author-stats a:nth-child(2) { background: #ebf8ef; color: #2eab61; }.sidebar-author-stats a:nth-child(3) { background: #fff5e8; color: #db9c3c; }.sidebar-author-stats span { background: #fff0f0; color: #e66565; }
.sidebar-author-content>p { margin: 4px 0 9px; color: #868f95; font-size: 10px; line-height: 1.5; }
.sidebar-author-post { display: block; overflow: hidden; padding: 7px 9px; border-radius: 4px; background: #f4f5f6; color: #677078; font-size: 10px; line-height: 1.4; text-align: left; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-author-post:hover { color: #3488ec; }
.sidebar-recommend-list li[data-hidden="true"] { display: none; }
@media (max-width: 560px) {
  .sidebar-hot-card { height: auto; padding: 12px; }
  .sidebar-hot-feature { height: min(60vw,190px); }
  .sidebar-hot-row { grid-template-columns: 82px minmax(0,1fr); }
  .sidebar-hot-thumb { width: 82px; }
  .sidebar-recommend-card { height: auto; min-height: 296px; }
  .sidebar-reference-tag-card { height: auto; min-height: 152px; }
  .sidebar-reference-tags { height: auto; min-height: 115px; }
  .sidebar-author-ranking-card { height: auto; min-height: 340px; }
}
.post-paid-content-gate { display: flex; align-items: center; justify-content: center; border: 1px dashed #16b597; background: transparent; text-align: center; }
.post-paid-content-gate>a { display: inline-flex; width: auto; align-items: center; justify-content: center; padding: 0; background: transparent; }
.post-paid-gate-icon { width: 15px; height: 15px; flex-basis: 15px; border-radius: 50%; background: #16b597; color: #fff; font-size: 10px; }
.post-content-wrap[data-post-kind="article"] .post-prose h1.wp-block-zibllblock-biaoti.title-theme::before { top: 2px; left: 3px; width: 5px; height: 24px; border: 0; border-radius: 2px; background: #16b597; }
.post-content-wrap[data-post-kind="article"] .post-prose .wp-block-zibllblock-buttons a:first-child { border: 1px solid #ff6f06; background: #fff; color: #ff6f06; }
.post-content-wrap[data-post-kind="article"] .post-prose .article-postsbox { background: #f1f2f2; box-shadow: none; }
.post-tags a:nth-of-type(1) { background: rgba(41,151,247,.1); color: #2997f7; }
.post-tags a:nth-of-type(2) { background: rgba(255,111,6,.1); color: #ff6f06; }
.post-tags a:nth-of-type(3) { background: rgba(18,185,40,.1); color: #18a52a; }
.post-tags a:nth-of-type(n+4) { background: rgba(136,136,136,.1); color: #888; }
.sidebar-hot-rank { left: -15px; }

/* Home page alignment against the reference at the 1105px desktop viewport. */
.home-shortcuts { left: 50%; width: calc(100% - 30px); grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; transform: translateX(-50%); }
.home-wrap { width: calc(100% - 30px); max-width: 1280px; padding: 8px 0 0; }
.home-columns { grid-template-columns: minmax(0,1fr) 311px; gap: 15px; }
.home-topic-module { height: 311px; box-sizing: border-box; margin-top: 21px; }
.home-topic-title { display: flex; height: 24px; align-items: center; gap: 8px; margin: 0 0 12px; color: #666e73; }
.home-topic-title::before { width: 4px; height: 19px; flex: 0 0 4px; border-radius: 2px; background: #18b79a; content: ""; }
.home-topic-title strong { font-size: 14px; font-weight: 650; }
.home-topic-title>span { color: #999fa4; font-size: 10px; }
.home-topic-title>a { margin-left: auto; color: #9aa1a6; font-size: 10px; text-decoration: none; }
.home-topic-grid { display: grid; height: 263px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.home-topic-card { min-width: 0; padding: 12px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.home-topic-feature { position: relative; display: grid; height: 96px; grid-template-columns: 46% minmax(0,1fr); grid-template-rows: auto auto 1fr; column-gap: 10px; color: #596168; text-decoration: none; }
.home-topic-feature>img { width: 100%; height: 96px; grid-row: 1/4; border-radius: 5px; object-fit: cover; }
.home-topic-feature>strong { align-self: end; font-size: 13px; line-height: 1.35; }
.home-topic-feature>small { align-self: start; margin-top: 4px; color: #90989e; font-size: 10px; line-height: 1.4; }
.home-topic-feature>em { align-self: end; color: #3488ec; font-size: 9px; font-style: normal; }
.home-topic-heat { position: absolute; z-index: 1; top: 5px; left: 0; padding: 3px 6px; border-radius: 0 9px 9px 0; background: #ed4c6c; color: #fff; font-size: 9px; font-weight: 700; }
.home-topic-links { display: grid; margin-top: 8px; }
.home-topic-links>a { display: flex; height: 34px; align-items: center; justify-content: space-between; gap: 6px; overflow: hidden; border-top: 1px solid #f0f1f2; color: #687177; font-size: 10px; text-decoration: none; white-space: nowrap; }
.home-topic-links>a::before { width: 5px; height: 5px; flex: 0 0 5px; border: 1px solid #16b597; border-radius: 50%; content: ""; }
.home-topic-links>a small { flex: 0 0 auto; color: #a0a6aa; font-size: 9px; }
.home-tabs { height: 24px; margin: 6px 0 10px; padding: 0; gap: 18px; border: 0; }
.home-tabs a { color: #535e64; font-size: 13px; font-weight: 600; }
.home-tabs a.is-active { color: #18b79a; }
.home-sort-row { margin-bottom: 10px; }
.home-reference-feed { gap: 15px; }
.home-reference-feed>.post-card { height: 173px; min-height: 173px; box-sizing: border-box; grid-template-columns: 184px minmax(0,1fr); gap: 20px; padding: 10px 16px; }
.home-reference-feed>.post-card .post-card-media { height: 136px; min-height: 136px; border-radius: 5px; }
.home-reference-feed>.post-card .post-card-body { min-width: 0; padding: 3px 0 1px; }
.home-reference-feed>.post-card .post-card-body h2 { margin: 0 0 5px; font-size: 15px; line-height: 1.45; }
.home-reference-feed>.post-card .card-excerpt { max-height: 39px; font-size: 11px; line-height: 1.5; }
.home-reference-feed>.post-card .card-meta { padding-top: 5px; font-size: 9px; }
.home-demo-post { min-width: 0; height: 173px; box-sizing: border-box; display: grid; grid-template-columns: 184px minmax(0,1fr); gap: 20px; padding: 10px 16px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.home-demo-cover { position: relative; display: grid; width: 184px; height: 136px; place-items: center; overflow: hidden; border-radius: 6px; background: #f0f1f2; color: #d0d3d5; }
.home-demo-cover>img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-demo-cover>i { position: absolute; right: 7px; top: 7px; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.85); color: #737d83; font-size: 9px; font-style: normal; }
.home-demo-placeholder>span { font-size: 45px; }
.home-demo-body { min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.home-demo-title { display: -webkit-box; overflow: hidden; color: #4f585e; font-size: 15px; font-weight: 650; line-height: 1.45; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-demo-title>span { color: #17b498; }
.home-demo-body>p { display: -webkit-box; margin: 5px 0 6px; overflow: hidden; color: #878f95; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-demo-tags { display: flex; min-width: 0; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; }
.home-demo-tags>span { flex: 0 0 auto; padding: 2px 5px; border-radius: 3px; background: #eaf4ff; color: #338ce5; font-size: 9px; line-height: 1.3; }
.home-demo-tags>span:nth-child(2) { background: #fff2e7; color: #ef8e48; }.home-demo-tags>span:nth-child(3) { background: #ecf7ee; color: #52a76b; }.home-demo-tags>span:nth-child(n+4) { background: #f1f2f3; color: #818a90; }
.home-demo-tags>small { margin-left: auto; color: #a0a6aa; font-size: 9px; }
.home-demo-authorline { display: flex; align-items: center; gap: 5px; margin-top: auto; color: #8d969b; font-size: 10px; }
.home-demo-authorline>img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.home-demo-authorline>small { margin-left: auto; color: #a0a6aa; font-size: 9px; }
.home-demo-gallery { height: 246px; grid-template-columns: 1fr; grid-template-rows: 21px 110px 27px 20px; gap: 8px; padding: 11px 18px 9px; }
.home-demo-gallery-title { overflow: hidden; color: #4f585e; font-size: 15px; font-weight: 650; line-height: 21px; text-decoration: none; white-space: nowrap; }
.home-demo-gallery-title>span { color: #17b498; }
.home-demo-gallery-grid { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.home-demo-gallery-grid>img { width: 100%; height: 110px; border-radius: 5px; background: #f0f1f2; object-fit: cover; }
.home-demo-gallery-grid>b { position: absolute; top: 6px; right: 6px; padding: 2px 5px; border-radius: 9px; background: rgba(75,82,86,.62); color: #fff; font-size: 9px; }
.home-demo-gallery .home-demo-tags { align-self: center; }
.home-demo-gallery .home-demo-authorline { margin-top: 0; }
.home-demo-pagination { display: flex; height: 50px; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; }
.home-demo-pagination button { min-width: 30px; height: 30px; padding: 0 8px; border: 0; border-radius: 4px; background: #f0f1f2; color: #818a90; font-size: 12px; cursor: pointer; }
.home-demo-pagination button.is-active { background: #18b79a; color: #fff; }
.home-demo-pagination .home-demo-next,.home-demo-pagination .home-demo-jump { padding: 0 10px; }
.home-secondary-topics { height: 221px; box-sizing: border-box; margin-top: 17px; }
.home-secondary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.home-secondary-grid>a { height: 161px; box-sizing: border-box; display: grid; grid-template-columns: 42% minmax(0,1fr) 15px; align-items: center; gap: 10px; padding: 10px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); color: #5d666c; text-decoration: none; }
.home-secondary-grid img { width: 100%; height: 140px; border-radius: 5px; object-fit: cover; }
.home-secondary-grid span { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.home-secondary-grid b { font-size: 13px; }.home-secondary-grid small { color: #929ba1; font-size: 10px; line-height: 1.5; }.home-secondary-grid em { color: #89939a; font-size: 16px; font-style: normal; }
.sidebar { gap: 12px; }
.sidebar-home-search-card,.sidebar-video-card { box-sizing: border-box; width: 100%; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.sidebar-home-search-card { height: 311px; margin-top: 9px; padding: 14px 15px; }
.sidebar-home-search-card h2,.sidebar-video-card h2 { height: 22px; margin: 0 0 15px; color: #606970; font-size: 14px; font-weight: 650; line-height: 22px; }
.sidebar-home-search-card h2::before,.sidebar-video-card h2::before { display: inline-block; width: 4px; height: 16px; margin: 0 8px 0 0; border-radius: 2px; background: #18b79a; vertical-align: -3px; content: ""; }
.sidebar-home-search-card form { display: flex; height: 38px; align-items: center; border-bottom: 1px solid #edf0f2; }
.sidebar-home-search-card input { width: 100%; height: 36px; border: 0; outline: none; color: #606970; font-size: 11px; }
.sidebar-home-search-card input::placeholder { color: #a1a8ad; }
.sidebar-home-search-card form button { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border: 0; background: transparent; color: #7d878e; cursor: pointer; }
.sidebar-home-search-card form svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.sidebar-home-search-card>p { margin: 14px 0 9px; color: #777f85; font-size: 11px; }
.sidebar-search-terms { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-search-terms a { padding: 5px 7px; border-radius: 4px; background: #f3f4f5; color: #858e94; font-size: 10px; line-height: 1; text-decoration: none; }
.sidebar-search-terms a:hover { background: #eaf5f2; color: #18a98f; }
.sidebar-video-card { height: 590px; margin-top: 8px; padding: 14px 15px; }
.sidebar-video-card h2 { margin-bottom: 15px; }
.sidebar-video-frame { width: 100%; height: 524px; overflow: hidden; border-radius: 6px; background: #151515; }
.sidebar-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
body:has(.home-hero) .site-footer { margin-top: 20px; }
.home-showcase { box-sizing: border-box; height: 2138px; margin: 0; overflow: hidden; background: #f4f5f6; color: #555e64; }
.home-showcase-inner { width: min(1020px,calc(100% - 85px)); margin-right: auto; margin-left: auto; }
.home-wide-latest { height: 317px; box-sizing: border-box; padding-top: 14px; }
.home-showcase-heading { display: flex; height: 30px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.home-showcase-heading h2 { margin: 0; color: #4e5a60; font-size: 15px; font-weight: 700; }
.home-showcase-heading h2::before { display: inline-block; width: 4px; height: 17px; margin-right: 8px; border-radius: 2px; background: #18b79a; vertical-align: -3px; content: ""; }
.home-showcase-heading h2 small { margin-left: 8px; color: #9aa1a6; font-size: 10px; font-weight: 400; }
.home-showcase-heading>a { color: #949ca1; font-size: 10px; text-decoration: none; }
.home-wide-post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.home-wide-post-grid>a { height: 252px; box-sizing: border-box; padding: 10px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); color: #59636a; text-decoration: none; }
.home-wide-post-thumb { display: block; height: 158px; overflow: hidden; border-radius: 5px; background: #eef0f1; }
.home-wide-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-wide-post-grid strong { display: block; margin-top: 8px; overflow: hidden; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.home-wide-post-grid small { display: block; margin-top: 7px; overflow: hidden; color: #9aa2a7; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.home-showcase-tags { height: 76px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; margin-top: 15px; }
.home-showcase-tags>a { display: grid; min-width: 135px; height: 47px; place-items: center; border-radius: 6px; background: #fff; box-shadow: var(--shadow); color: #626d73; font-size: 11px; text-decoration: none; }
.home-showcase-shop { height: 231px; box-sizing: border-box; margin-top: 5px; padding: 10px 13px; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.home-shop-feature-grid { height: 174px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.home-shop-feature-grid>a { position: relative; display: flex; flex-direction: column; justify-content: end; padding: 12px; overflow: hidden; border-radius: 6px; background: #e7edf2; color: #fff; text-decoration: none; }
.home-shop-feature-grid>a::after { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.66),transparent 83%); content: ""; }
.home-shop-feature-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-shop-feature-grid strong,.home-shop-feature-grid small { position: relative; z-index: 1; }
.home-shop-feature-grid strong { font-size: 13px; }.home-shop-feature-grid small { margin-top: 4px; color: rgba(255,255,255,.82); font-size: 9px; }
.home-showcase-products { height: 110px; box-sizing: border-box; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-top: 5px; padding: 5px 8px; border-radius: 6px; background: #fff; }
.home-showcase-products>a { min-width: 0; display: grid; grid-template-columns: 60px minmax(0,1fr); grid-template-rows: 1fr auto; align-items: center; column-gap: 7px; overflow: hidden; color: #6e777d; text-decoration: none; }
.home-showcase-products img { width: 60px; height: 70px; grid-row: 1/3; object-fit: contain; }
.home-showcase-products span { display: -webkit-box; overflow: hidden; font-size: 9px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-showcase-products b { color: #e76b6d; font-size: 10px; white-space: nowrap; }.home-showcase-products del { color: #9aa1a6; font-size: 8px; font-weight: 400; }
.home-showcase-popular { height: 823px; box-sizing: border-box; margin-top: 20px; padding: 12px 0; overflow: hidden; }
.home-showcase-tabs { display: flex; height: 38px; align-items: flex-start; gap: 18px; border-bottom: 1px solid #e7eaec; }
.home-showcase-tabs button { position: relative; padding: 0 4px 10px; border: 0; background: transparent; color: #69747a; font-size: 12px; cursor: pointer; }
.home-showcase-tabs button.is-active { color: #18b79a; font-weight: 650; }.home-showcase-tabs button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #18b79a; content: ""; }
.home-popular-grid { height: 370px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; padding-top: 10px; }
.home-popular-grid article { min-width: 0; height: 350px; box-sizing: border-box; display: flex; flex-direction: column; padding: 10px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.home-popular-grid article img { width: 100%; height: 214px; flex: 0 0 214px; border-radius: 5px; background: #f2f3f4; object-fit: cover; }
.home-popular-grid article small { margin-top: 9px; color: #16aa8f; font-size: 9px; }
.home-popular-grid article strong { display: -webkit-box; margin-top: 5px; overflow: hidden; color: #566167; font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-popular-grid article span { margin-top: 4px; overflow: hidden; color: #929ba0; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.home-popular-grid article b { margin-top: auto; color: #e76a6e; font-size: 11px; }.home-popular-grid article del { color: #9aa1a6; font-size: 9px; font-weight: 400; }
.home-popular-grid-secondary { padding-top: 0; }
.home-showcase-features { height: 293px; box-sizing: border-box; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 1px; padding: 16px 0; }
.home-showcase-features>a { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 20px; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg,#e7f2ff,#d6ecff 58%,#f7f9fb); color: #344e66; text-decoration: none; }
.home-showcase-features>a:nth-child(2) { background: linear-gradient(135deg,#e9f8f5,#d6f3ee 58%,#f7fbfa); }.home-showcase-features>a:nth-child(3) { background: linear-gradient(135deg,#fff3e9,#ffe2cf 58%,#fffbf8); }
.home-showcase-features>a>span { color: #528ab7; font-size: 10px; }.home-showcase-features>a>strong { margin-top: 12px; font-size: 17px; }.home-showcase-features>a>small { max-width: 230px; margin-top: 9px; color: #788893; font-size: 10px; line-height: 1.65; }.home-showcase-features>a>em { margin-top: 15px; color: #3787d3; font-size: 10px; font-style: normal; }
.home-showcase-brand { height: 161px; box-sizing: border-box; margin-top: 10px; overflow: hidden; background: #fff; }
.home-showcase-brand>.home-showcase-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: #fff; }
.home-showcase-brand>.home-showcase-inner::before { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(19,35,54,.8),rgba(19,35,54,.12)); content: ""; }
.home-showcase-brand video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.home-showcase-brand span,.home-showcase-brand strong { position: relative; z-index: 1; margin-left: 24px; }.home-showcase-brand span { font-size: 10px; letter-spacing: .12em; }.home-showcase-brand strong { margin-top: 8px; font-size: 21px; }
.home-showcase-notice { height: 36px; box-sizing: border-box; margin-top: 20px; background: #fae8ec; color: #ef6177; }
.home-showcase-notice>.home-showcase-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; overflow: hidden; font-size: 10px; white-space: nowrap; }
body:has(.home-hero) .site-footer { height: 216px; box-sizing: border-box; margin-top: 5px; background: #252b2f; }
.footer-inner { position: relative; width: calc(100% - 98px); max-width: 1200px; height: 215px; box-sizing: border-box; display: grid; grid-template-columns: minmax(220px,300px) minmax(0,1fr) 195px; grid-template-rows: 120px 35px; gap: 0 30px; margin: 0 auto; padding: 30px 0; }
.footer-brand { min-width: 0; }
.footer-logo-link { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; overflow: hidden; border-radius: 3px; background: #2b3236; }
.footer-logo-link img { width: 22px; height: 22px; object-fit: contain; }
.footer-brand>p { max-width: 295px; margin: 10px 0 0; color: #c3c8cb; font-size: 10px; line-height: 1.55; }
.footer-center { min-width: 0; }
.footer-links { display: flex; align-items: center; gap: 16px; padding: 1px 0 10px; }
.footer-links a { color: #d4d8da; font-size: 10px; text-decoration: none; }
.footer-registration { margin: 0 0 4px; color: #d0d4d6; font-size: 9px; line-height: 1.35; }
.footer-reminder { margin: 5px 0 5px; color: #ef8c20; font-size: 9px; }
.footer-social { display: flex; gap: 22px; align-items: center; color: #ecf0f2; }
.footer-social a { color: inherit; font-size: 13px; text-decoration: none; }
.footer-contact-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.footer-contact-cards>a { display: flex; flex-direction: column; align-items: center; gap: 5px; color: #c4c9cc; text-decoration: none; }
.footer-qr-placeholder { width: 86px; height: 70px; display: block; background: #2c3236; }
.footer-contact-cards small { font-size: 9px; }
.footer-bottom { grid-column: 1/-1; display: flex; align-items: end; justify-content: space-between; padding: 8px 0 0; border-top: 1px solid rgba(255,255,255,.13); color: #8d969b; font-size: 8px; }
.footer-bottom>span:last-child { display: none; }
@media (max-width: 800px) {
  .home-showcase { height: auto; overflow: visible; }
  .home-showcase-inner { width: calc(100% - 30px); }
  .home-wide-latest,.home-showcase-tags,.home-showcase-shop,.home-showcase-products,.home-showcase-popular,.home-showcase-features,.home-showcase-brand,.home-showcase-notice { height: auto; min-height: 0; margin-top: 14px; padding-top: 12px; padding-bottom: 12px; }
  .home-wide-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.home-wide-post-grid>a { height: 220px; }.home-wide-post-grid>a:last-child { display: none; }
  .home-showcase-tags { flex-wrap: wrap; justify-content: center; }.home-showcase-tags>a { min-width: 28%; height: 38px; }
  .home-shop-feature-grid { height: 150px; }.home-showcase-products { grid-template-columns: repeat(3,minmax(0,1fr)); }.home-showcase-products>a:nth-child(n+4) { display: none; }
  .home-showcase-popular { padding-top: 10px; }.home-popular-grid { height: auto; grid-template-columns: repeat(2,minmax(0,1fr)); }.home-popular-grid article { height: 260px; }.home-popular-grid article img { height: 150px; flex-basis: 150px; }
  .home-showcase-features { grid-template-columns: 1fr; }.home-showcase-features>a { min-height: 155px; }
  .home-showcase-brand>.home-showcase-inner { min-height: 130px; }.home-showcase-notice>.home-showcase-inner { align-items: flex-start; flex-direction: column; justify-content: center; font-size: 8px; }
  body:has(.home-hero) .site-footer { height: auto; }
  .footer-inner { width: calc(100% - 30px); height: auto; min-height: 200px; grid-template-columns: 1fr; grid-template-rows: auto; gap: 14px; padding: 24px 0 16px; }
  .footer-contact-cards { display: none; }.footer-bottom { grid-column: 1; }
}

@media (min-width: 801px) and (max-width: 1199px) {
  .home-wrap { width: calc(100% - 85px); }
  .home-shortcuts { width: calc(100% - 85px); }
}
@media (max-width: 800px) {
  .home-shortcuts { left: 50%; width: calc(100% - 30px); grid-template-columns: repeat(2,minmax(0,1fr)); transform: translateX(-50%); }
  .home-topic-module { height: auto; margin-top: 16px; }
  .home-topic-grid { height: auto; grid-template-columns: 1fr; }
  .home-topic-card { min-height: 250px; }
  .home-tabs { height: 30px; margin-top: 8px; overflow-x: auto; }
  .home-demo-post { grid-template-columns: 30% minmax(0,1fr); gap: 12px; padding: 8px; }
  .home-demo-cover { width: 100%; height: 100%; min-height: 120px; }
  .home-demo-gallery { grid-template-columns: 1fr; grid-template-rows: 21px 90px 27px 20px; }
  .home-demo-gallery-grid>img { height: 90px; }
  .home-secondary-topics { height: auto; margin-top: 10px; }
  .home-secondary-grid { grid-template-columns: 1fr; }
  .home-secondary-grid>a { height: 130px; }.home-secondary-grid img { height: 110px; }
  .sidebar-home-search-card,.sidebar-video-card { margin-top: 0; }
  .sidebar-video-card { height: auto; }.sidebar-video-frame { height: auto; aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .home-topic-feature { grid-template-columns: 42% minmax(0,1fr); }
  .home-topic-card { padding: 10px; }
  .home-topic-links>a { height: 32px; font-size: 9px; }
  .home-reference-feed>.post-card { height: 142px; min-height: 142px; grid-template-columns: 112px minmax(0,1fr); gap: 10px; padding: 7px; }
  .home-reference-feed>.post-card .post-card-media { height: 126px; min-height: 126px; }
  .home-reference-feed>.post-card .post-card-body h2,.home-demo-title,.home-demo-gallery-title { font-size: 12px; }
  .home-demo-post { height: 142px; grid-template-columns: 112px minmax(0,1fr); gap: 10px; padding: 7px; }
  .home-demo-cover { width: 112px; min-height: 126px; }
  .home-demo-tags { gap: 3px; }.home-demo-tags>span { font-size: 7px; }.home-demo-body>p { display: none; }
  .home-demo-gallery { height: 220px; grid-template-columns: 1fr; grid-template-rows: 20px 85px 25px 20px; }
  .home-demo-gallery-grid>img { height: 85px; }
  .home-demo-pagination { gap: 3px; }.home-demo-pagination button { min-width: 24px; height: 27px; padding: 0 5px; font-size: 10px; }
  .sidebar-video-frame { aspect-ratio: 3/4; }
}
.sidebar { padding-bottom: 20px; }
.home-popular-grid article[hidden] { display: none!important; }
.home-demo-jump-input { display: flex; align-items: center; gap: 4px; }
.home-demo-jump-input[hidden] { display: none!important; }
.home-demo-jump-input input { width: 42px; height: 28px; box-sizing: border-box; border: 1px solid #e4e7e9; border-radius: 4px; background: #fff; color: #687279; font-size: 11px; text-align: center; }
.home-demo-jump-input button { min-width: 40px; height: 28px; border-radius: 4px; background: #18b79a; color: #fff; font-size: 10px; }
@media (min-width: 801px) and (max-width: 1199px) {
  .home-wrap { width: calc(100% - 86px); }
  .home-columns { gap: 14px; }
}
.home-showcase-brand>.home-showcase-inner::before { z-index: 1; pointer-events: none; }
.home-showcase-brand video { z-index: 0; }
.home-showcase-brand span,.home-showcase-brand strong { z-index: 2; }
@media (max-width: 800px) {
  .sidebar { padding-bottom: 0; }
  .home-demo-jump-input input { width: 38px; }
}

/* Pixel alignment from the 1105px reference viewport. */
@media (min-width: 801px) and (max-width: 1150px) { .home-shortcuts { width: calc(100% - 84px); } .home-wrap { width: calc(100% - 84px); } .home-columns { gap: 15px; } .home-showcase-inner { width: calc(100% - 84px); } }
@media (max-width: 800px) { .home-showcase { margin-top: 0; } }

@media (max-width: 360px) {
  .home-promo-dialog { max-width: calc(100vw - 20px); }
  .home-promo-body { padding-right: 12px; padding-left: 12px; }
  .home-promo-actions { gap: 5px; }
  .home-promo-actions a { flex: 1 1 0; min-width: 0; padding: 0 6px; font-size: 11px; }
}
@media (max-height: 430px) {
  .home-promo-dialog { height: calc(100vh - 20px); min-height: 0; overflow-y: auto; }
  .home-promo-card { min-height: 0; }
  .home-promo-body { min-height: 0; height: auto; }
}

/* Featured video article player, custom DPlayer-style controls and episode queue. */
.post-video-mode > .post-main-column { gap: 20px; }
.single-video { width: 100%; min-width: 0; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(29,43,51,.08); }
.dplayer-video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0d11; }
.featured-video-player { position: relative; z-index: 0; display: block; width: 100%; height: 100%; object-fit: contain; border: 0; background: #090b0e; cursor: pointer; }
.dplayer-controller { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 41px; box-sizing: border-box; padding: 0 10px 0 6px; background: linear-gradient(0deg,rgba(0,0,0,.79),rgba(0,0,0,.36) 72%,transparent); color: #fff; font-family: Arial,sans-serif; }
.dplayer-bar-wrap { position: absolute; top: -5px; right: 20px; left: 20px; height: 13px; cursor: pointer; }
.dplayer-bar-wrap input { position: absolute; top: 4px; left: 0; width: 100%; height: 5px; box-sizing: border-box; margin: 0; appearance: none; border: 0; outline: 0; background: linear-gradient(to right,#18a8e0 0 var(--video-progress,0%),rgba(255,255,255,.45) var(--video-progress,0%) 100%); cursor: pointer; }
.dplayer-bar-wrap input::-webkit-slider-thumb { width: 9px; height: 9px; appearance: none; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 2px rgba(0,0,0,.45); }
.dplayer-bar-wrap input::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 2px rgba(0,0,0,.45); }
.dplayer-controls-row,.dplayer-controls-left,.dplayer-controls-right { display: flex; align-items: center; }
.dplayer-controls-row { height: 38px; margin-top: 3px; justify-content: space-between; gap: 8px; }
.dplayer-controls-left,.dplayer-controls-right { height: 100%; gap: 4px; }
.dplayer-controls-right { gap: 0; }
.dplayer-controller button { position: relative; display: grid; flex: 0 0 auto; place-items: center; min-width: 23px; height: 27px; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.dplayer-controller button:hover,.dplayer-controller button:focus-visible { color: #25b8ed; outline: none; }
.dplayer-play-toggle { width: 40px !important; font-size: 14px !important; }
.dplayer-volume { position: relative; width: 57px; height: 100%; display: flex; align-items: center; gap: 0; }
.dplayer-volume button { width: 43px; min-width: 43px; font-size: 13px; }
.dplayer-volume input { position: absolute; z-index: 1; left: 43px; width: 0; height: 3px; opacity: 0; margin: 0; appearance: none; border-radius: 3px; outline: 0; background: rgba(255,255,255,.68); cursor: pointer; }
.dplayer-volume:hover input,.dplayer-volume:focus-within input { width: 49px; opacity: 1; }
.dplayer-volume input::-webkit-slider-thumb { width: 7px; height: 7px; appearance: none; border: 0; border-radius: 50%; background: #fff; }
.dplayer-volume input::-moz-range-thumb { width: 7px; height: 7px; border: 0; border-radius: 50%; background: #fff; }
.dplayer-time { width: 69.4px; min-width: 69.4px; height: 15.5px; display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.92); font-size: 12px; line-height: 15.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dplayer-time-divider { color: rgba(255,255,255,.58); }
.dplayer-setting-menu { position: relative; height: 100%; }
.dplayer-rate-toggle { width: 44px !important; min-width: 44px !important; font-size: 10px !important; white-space: nowrap; }
.dplayer-loop-toggle { width: 22px !important; min-width: 22px !important; font-size: 18px !important; line-height: 1; }
.dplayer-loop-toggle.is-active { color: #1eafe5; }
.dplayer-rate-options { position: absolute; z-index: 4; right: -10px; bottom: 34px; width: 74px; padding: 5px 0; border-radius: 3px; background: rgba(28,32,36,.96); box-shadow: 0 2px 12px rgba(0,0,0,.3); }
.dplayer-rate-options[hidden] { display: none; }
.dplayer-rate-options button { width: 100%; height: 25px; font-size: 10px; }
.dplayer-rate-options button.is-active { color: #1eafe5; }
.dplayer-fullscreen { width: 22px !important; min-width: 22px !important; font-size: 20px !important; line-height: 1; }
.featured-video-status[hidden] { display: none !important; }
.featured-video-status:not([hidden]) { position: absolute; z-index: 1; top: 50%; left: 50%; display: flex; max-width: calc(100% - 32px); transform: translate(-50%,-50%); align-items: center; justify-content: center; box-sizing: border-box; padding: 9px 12px; border-radius: 3px; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; line-height: 1.5; text-align: center; }
.featured-video-placeholder { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; background: radial-gradient(ellipse at 50% 25%,#303842,#0b0e12 72%); color: #fff; }
.featured-video-placeholder > img,.featured-video-placeholder-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured-video-placeholder > img { object-fit: cover; opacity: .75; }
.featured-video-placeholder-shade { background: linear-gradient(0deg,rgba(0,0,0,.45),transparent 60%); }
.featured-video-placeholder > :not(img):not(.featured-video-placeholder-shade) { position: relative; z-index: 1; }
.featured-video-play { width: 46px; height: 46px; display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.76); border-radius: 50%; color: #fff; font-size: 15px; }
.featured-video-placeholder strong { font-size: 13px; font-weight: 600; }
.featured-video-placeholder small { color: rgba(255,255,255,.72); font-size: 10px; }
.single-video-footer { box-sizing: border-box; min-height: 328px; padding: 15px 15px 15px; background: #fff; }
.featured-video-meta { height: 32.57px; display: flex; align-items: center; justify-content: space-between; color: #a0a7ab; font-size: 9px; line-height: 20px; }
.featured-video-breadcrumb,.featured-video-meta-stats { display: flex; min-width: 0; align-items: center; gap: 7px; }
.featured-video-breadcrumb { overflow: hidden; white-space: nowrap; }
.featured-video-breadcrumb a { color: #8b9499; text-decoration: none; }
.featured-video-breadcrumb a:hover { color: #40a6de; }
.featured-video-breadcrumb > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.featured-video-meta-stats { flex: 0 0 auto; gap: 11px; padding-left: 8px; }
.featured-video-meta-stats b { color: #8b9499; font-weight: 500; }
.featured-video-title { min-height: 50.4px; margin: 0; overflow: hidden; color: #4d565c; font-size: 18px; font-weight: 700; line-height: 25.2px; }
.featured-video-title > span:last-child { overflow: visible; white-space: normal; }
.featured-video-count { display: inline-flex; align-items: center; vertical-align: 2px; margin-right: 6px; padding: 0 5px; border-radius: 2px; background: #52a4df; color: #fff; font-size: 9px; font-weight: 500; line-height: 16px; }
.featured-video-episodes { box-sizing: border-box; display: grid; margin-top: 10px; grid-auto-rows: 34px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 4px; max-height: 205px; overflow: auto; padding: 0 1px 7px 2px; scrollbar-color: #c6cdd0 transparent; scrollbar-width: thin; }
.featured-video-episode { min-width: 0; height: 34px; display: flex; align-items: center; gap: 6px; overflow: hidden; padding: 0 7px; border: 1px solid #edf0f1; border-radius: 4px; background: #fafbfb; color: #707a80; font-size: 10px; text-align: left; white-space: nowrap; cursor: pointer; }
.featured-video-episode-number { flex: 0 0 16px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 3px; background: #eef1f2; color: #8b9499; font-size: 9px; line-height: 16px; }
.featured-video-episode-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.featured-video-episode:hover:not(:disabled) { border-color: #bfdfee; background: #f1f9fc; color: #458bb4; }
.featured-video-episode.is-active { border-color: #70b5e0; background: #edf8fd; color: #2991c4; }
.featured-video-episode.is-active .featured-video-episode-number { background: #55a8dc; color: #fff; }
.featured-video-episode:disabled { color: #c4c9cc; cursor: not-allowed; }
.featured-video-episode:disabled .featured-video-episode-number { background: #f1f2f3; color: #c3c7c9; }
.post-video-mode .post-cover-hero { display: none; }
@media (max-width: 800px) {
  .video-shell.post-content-shell { padding-top: 20px; }
  .post-video-mode .post-main-column { gap: 20px; }
  .single-video { height: auto; min-height: 0; margin: 0; border-radius: 5px; }
  .dplayer-video-wrap { height: auto; aspect-ratio: 16 / 9; }
  .featured-video-player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .single-video-footer { height: auto; min-height: 227px; padding: 15px; }
  .featured-video-episodes { max-height: none; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .post-video-mode > .post-main-column > .post-paper { margin-top: 0; padding: 15px 15px 15px; }
  .post-video-mode .post-main-column > .post-paper > .post-heading { margin: 0; padding: 0 0 20px; border: 0; }
  .post-video-mode .post-heading > .post-kicker,
  .post-video-mode .post-heading > h1,
  .post-video-mode .post-heading > .post-excerpt,
  .post-video-mode .post-heading .byline-stats { display: none; }
  .post-video-mode .post-byline { height: 38px; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "author actions"; align-items: center; column-gap: 8px; row-gap: 0; margin: 0; }
  .post-video-mode .byline-author { height: 38px; min-height: 38px; align-items: center; gap: 10px; }
  .post-video-mode .byline-author > img,
  .post-video-mode .byline-author .avatar-placeholder { width: 38px; height: 38px; flex: 0 0 38px; }
  .post-video-mode .post-author-actions { justify-self: end; gap: 6px; }
  .post-video-mode .post-author-actions a { min-width: 55px; height: 26px; min-height: 26px; box-sizing: border-box; justify-content: center; padding: 0 8px; }
  .post-video-mode .post-content-wrap[data-post-kind="video"] { margin-top: 20px; }
}
@media (max-width: 380px) {
  .dplayer-controls-left,.dplayer-controls-right { gap: 6px; }
  .dplayer-volume input { width: 39px; }
  .dplayer-time { gap: 3px; font-size: 9px; }
  .dplayer-controller { padding-right: 7px; padding-left: 7px; }
  .single-video-footer { padding-right: 11px; padding-left: 11px; }
  .featured-video-title { font-size: 18px; }
  .featured-video-episode { padding: 0 7px; font-size: 9px; }
}

/* Match the reference site's compact mobile header and post column geometry. */
@media (max-width: 560px) {
  .site-header { height: 52px; }
  .header-inner { width: 100%; max-width: none; height: 52px; box-sizing: border-box; padding: 0 14px; display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; gap: 0; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; margin: 0; }
  .brand-logo { width: 117px; height: 36px; max-width: 117px; }
  .header-actions { display: contents; }
  .header-actions .mobile-menu-trigger { grid-column: 1; grid-row: 1; width: 34px; min-width: 34px; height: 34px; justify-self: start; align-self: center; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #848b90; font-size: 20px; line-height: 1; }
  .header-actions .search-trigger { display: grid !important; grid-column: 3; grid-row: 1; width: 34px; min-width: 34px; height: 34px; justify-self: end; align-self: center; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #848b90; }
  .header-actions .theme-trigger, .header-actions .account-member, .header-actions .account-icon, .header-actions .language-switcher { display: none !important; }
  .post-content-shell { width: 100%; max-width: none; box-sizing: border-box; padding: 20px 10px 40px; }
  .post-layout { display: block; width: 100%; margin: 0; gap: 0; }
  .post-layout > .post-main-column { width: 100%; min-width: 0; }
  .post-top-ad { margin: 0 0 20px; }
  .post-cover-hero { height: auto; min-height: 0; aspect-ratio: 355 / 174; margin: 0 0 20px; }
  .post-layout:has(.post-pay-demo) .post-main-column > .post-paper { padding: 0 15px 15px; }
  .post-layout:has(.post-pay-demo) .post-main-column > .post-paper > .post-heading { margin: 0; padding: 15px 0 19px; border-bottom: 1px solid #e8ecee; }
  .post-layout:has(.post-pay-demo) .post-byline { height: 38px; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "author actions"; align-items: center; column-gap: 8px; row-gap: 0; margin: 0; }
  .post-layout:has(.post-pay-demo) .byline-author { min-height: 38px; gap: 10px; }
  .post-layout:has(.post-pay-demo) .byline-author > img { width: 38px; height: 38px; flex: 0 0 38px; }
  .post-layout:has(.post-pay-demo) .post-author-actions { justify-self: end; gap: 6px; }
  .post-layout:has(.post-pay-demo) .post-author-actions a { min-width: 55px; height: 26px; box-sizing: border-box; justify-content: center; padding: 0 8px; }
  .post-layout:has(.post-pay-demo) .byline-stats { display: none; }
  .post-layout:has(.post-pay-demo) .post-pay-demo { position: relative; display: block; box-sizing: border-box; min-height: 287px; margin: 20px 0 31px; padding: 10px; overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .post-layout:has(.post-pay-demo) .pay-demo-preview { display: none; }
  .post-layout:has(.post-pay-demo) .pay-demo-type { top: -2px; left: 0; width: 87px; height: 24px; box-sizing: border-box; display: flex; align-items: center; padding: 0 8px; border-radius: 0 0 4px 0; background: linear-gradient(100deg,#e85e68,#f47b65); font-size: 10px; }
  .post-layout:has(.post-pay-demo) .pay-demo-type::before { margin-right: 3px; content: "▣"; font-size: 9px; }
  .post-layout:has(.post-pay-demo) .pay-demo-sold { top: 7px; right: 0; width: 62px; height: 20px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 10px 0 0 10px; background: #59a5ed; font-size: 8px; }
  .post-layout:has(.post-pay-demo) .pay-demo-details { display: flex; flex-direction: column; box-sizing: border-box; width: 100%; min-height: 0; padding: 18px 0 0; }
  .post-layout:has(.post-pay-demo) .pay-demo-details h2 { height: 20px; margin: 0 0 6px; color: #4d565c; font-size: 14px; line-height: 20px; }
  .post-layout:has(.post-pay-demo) .pay-demo-details > p:first-of-type { height: 18px; margin: 0; color: #9aa1a6; font-size: 10px; line-height: 18px; }
  .post-layout:has(.post-pay-demo) .pay-demo-price { position: relative; display: block; height: 54px; min-height: 54px; margin: 0; }
  .post-layout:has(.post-pay-demo) .pay-demo-price > span:first-child { position: absolute; top: 32px; left: 59px; color: #e45b6b; font-size: 12px; line-height: 14px; }
  .post-layout:has(.post-pay-demo) .pay-demo-price > strong { position: absolute; top: 2px; left: 59px; width: 105px; margin: 0; font-size: 48px; line-height: 50px; }
  .post-layout:has(.post-pay-demo) .pay-demo-price > .pay-demo-promo { position: absolute; top: 15px; left: 175px; width: 71px; height: 16px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: 0 4px; border-radius: 9px; font-size: 8px; }
  .post-layout:has(.post-pay-demo) .pay-demo-price > small { position: absolute; top: 31px; left: 175px; margin: 0; font-size: 8px; line-height: 14px; }
  .post-layout:has(.post-pay-demo) .pay-demo-members { height: 29px; display: grid; grid-template-columns: 162px minmax(0,1fr); gap: 0; margin: 0; }
  .post-layout:has(.post-pay-demo) .pay-demo-members > span { height: 29px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; border-radius: 4px; background: #f4f5f6; color: #727a80; font-size: 12px; white-space: nowrap; }
  .post-layout:has(.post-pay-demo) .pay-demo-members > span b { font-size: 12px; }
  .post-layout:has(.post-pay-demo) .pay-demo-buy { height: 34px; min-height: 34px; margin-top: 10px; border-radius: 5px; font-size: 11px; }
  .post-layout:has(.post-pay-demo) .pay-demo-login-note { height: 29px; box-sizing: border-box; margin: 6px 0 0; padding: 6px 10px; border-radius: 4px; background: #f7f7f7; color: #90989d; font-size: 12px; line-height: 17px; text-align: left; }
  .post-layout:has(.post-pay-demo) .pay-demo-benefits { min-height: 34px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 0 10px; margin: 10px 0 0; color: #848d93; font-size: 12px; line-height: 17px; }
  .post-layout:has(.post-pay-demo) .post-paid-content-gate { width: calc(100% - 22px); height: 50px; min-height: 50px; box-sizing: border-box; margin: 0 11px 18px; padding: 0; border: 1px dotted #bdded4; border-radius: 8px; background: transparent; color: #68aa95; font-size: 12px; line-height: 17px; }
  .post-layout:has(.post-pay-demo) .post-paid-content-gate > a { height: 100%; justify-content: center; gap: 8px; }
  .post-layout:has(.post-pay-demo) .post-paid-gate-icon { width: 15px; height: 15px; flex-basis: 15px; background: #68aa95; font-size: 10px; }
  .post-layout:has(.post-pay-demo) .post-paid-gate-action { display: none; }
  .post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper > .post-heading { padding-bottom: 19px; }
  .post-layout:not(.post-gallery-mode):not(.post-video-mode):not(.post-doc-mode) .post-main-column > .post-paper > .post-pay-demo { margin: 20px 0 31px; padding: 10px 10px 9px; }
}

/* Final, high-specificity search card rules follow the shared home-feed rules. */
.home-reference-feed > .search-result-card { box-sizing: border-box; width: 100%; height: 173px; min-height: 173px; grid-template-columns: 190px minmax(0,1fr); gap: 20px; padding: 20px; }
.home-reference-feed > .search-result-card .post-card-media { width: auto; height: 133px; min-height: 133px; }
.home-reference-feed > .search-result-card .post-card-body { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 0; overflow: hidden; }
.home-reference-feed > .search-result-card .post-card-body h2 { margin: 0; font-size: 16px; line-height: 25px; }
.home-reference-feed > .search-result-card .card-excerpt { display: block; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 20px; }
.home-reference-feed > .search-result-card .search-card-taxonomy { display: flex; align-items: center; gap: 5px; margin: 0; overflow: hidden; white-space: nowrap; }
.home-reference-feed > .search-result-card .search-card-taxonomy a { max-width: 135px; display: inline-block; padding: 3px 5px; overflow: hidden; border-radius: 3px; background: #edf5fc; color: #568bbd; font-size: 9px; line-height: 1.3; text-overflow: ellipsis; }
.home-reference-feed > .search-result-card .search-card-taxonomy .is-topic { background: #eef7f0; color: #58a16b; }.home-reference-feed > .search-result-card .search-card-taxonomy .is-tag { background: #f5f2ea; color: #ac9360; }
.home-reference-feed > .search-result-card .search-keyword-highlight { background: transparent; color: #1ab397; font-weight: inherit; }
.home-reference-feed > .search-result-card .search-card-meta { min-height: 20px; display: flex; align-items: center; gap: 9px; margin: 0; padding: 0; color: #9da4aa; font-size: 10px; white-space: nowrap; }
.home-reference-feed > .search-result-card .search-card-meta .author-chip { display: inline-flex; align-items: center; gap: 5px; }.home-reference-feed > .search-result-card .search-card-meta .author-chip img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

@media (max-width: 560px) {
  .home-reference-feed > .search-result-card { height: 120px; min-height: 120px; grid-template-columns: 116px minmax(0,1fr); gap: 10px; padding: 7px; }
  .home-reference-feed > .search-result-card .post-card-media { height: 105px; min-height: 105px; }
  .home-reference-feed > .search-result-card .post-card-body { justify-content: flex-start; padding: 2px 2px 0 0; }
  .home-reference-feed > .search-result-card .post-card-body h2 { margin-bottom: 3px; font-size: 12px; line-height: 1.45; }
  .home-reference-feed > .search-result-card .card-excerpt, .home-reference-feed > .search-result-card .search-card-taxonomy { display: none; }
  .home-reference-feed > .search-result-card .search-card-meta { min-height: 0; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 5px; font-size: 8px; }
  .home-reference-feed > .search-result-card .search-card-meta .author-chip img { width: 16px; height: 16px; }
}

/* Keep reference facets visible even when the current Halo page has no matches. */
.category-filter-panel .filter-row[hidden], .tag-filter-panel .filter-row[hidden],
.category-filter-panel [data-archive-facet][hidden], .tag-filter-panel [data-archive-facet][hidden] { display: none !important; }

/* Match the reference mobile header and keep off-canvas UI from widening the page. */
@media (max-width: 800px) {
  html, body { overflow-x: clip; }
  .site-header { height: 68px; }
  .header-inner { width: 100%; max-width: none; height: 68px; box-sizing: border-box; padding: 0 14px; display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; gap: 0; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; margin: 0; }
  .brand-logo { width: 117px; height: 36px; max-width: 117px; }
  .brand-copy { display: none; }
  .primary-nav, .nav-fallback { display: none !important; }
  .header-actions { display: contents; }
  .header-actions > :not(.mobile-menu-trigger):not(.search-trigger) { display: none !important; }
  .header-actions .mobile-menu-trigger { grid-column: 1; grid-row: 1; width: 34px; min-width: 34px; height: 34px; justify-self: start; align-self: center; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #848b90; font-size: 20px; line-height: 1; }
  .header-actions .search-trigger { display: grid !important; grid-column: 3; grid-row: 1; width: 34px; min-width: 34px; height: 34px; justify-self: end; align-self: center; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #848b90; }
  .video-shell.post-content-shell { width: 100%; max-width: none; box-sizing: border-box; padding: 20px 10px 40px; }
  .video-shell .post-layout { display: block; width: 100%; margin: 0; }
  .video-shell .post-main-column { width: 100%; min-width: 0; }
  .video-shell .post-top-ad { width: 100%; margin: 0; }
  .video-shell .single-video { width: 100%; }
}
@media (max-width: 560px) {
  .site-header { height: 52px; }
  .header-inner { height: 52px; }
  .video-shell.post-content-shell { padding-top: 20px; }
  .video-shell .featured-video-episodes { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Match the reference homepage's compact mobile first screen at 763px and below. */
@media (max-width: 800px) {
  body:has(.home-hero) .site-header { height: 68px; }
  body:has(.home-hero) .home-hero { height: 300px; margin-bottom: 125px; }
  body:has(.home-hero) .home-hero-content { top: 78.86px; left: 50%; width: calc(100% - 40px); transform: translateX(-50%); }
  body:has(.home-hero) .home-hero-content h1 { margin-bottom: 10px; font-size: 16px; line-height: 27.43px; font-weight: 700; letter-spacing: 0; }
  body:has(.home-hero) .home-hero-content p { margin-bottom: 12px; font-size: 14px; line-height: 17.14px; }
  body:has(.home-hero) .hero-search { width: 100%; height: 58px; padding: 0 12px; border-radius: 5px; background: rgba(255,255,255,.96); box-shadow: 0 2px 9px rgba(0,0,0,.08); }
  body:has(.home-hero) .hero-search input { font-size: 14px; }
  body:has(.home-hero) .hero-search button { flex-basis: 24px; }
  body:has(.home-hero) .hero-keywords { min-height: 29px; margin-top: 10px; padding: 0; gap: 5px; }
  body:has(.home-hero) .hero-keywords a { width: auto; height: 29px; flex: 0 0 41px; padding: 0 3px; font-size: 12px; }
  body:has(.home-hero) .home-shortcuts { bottom: -113px; width: calc(100% - 20px); height: 150px; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,70px); gap: 10px; }
  body:has(.home-hero) .shortcut-card { box-sizing: border-box; height: 70px; min-height: 70px; padding: 8px 10px; gap: 10px; }
  body:has(.home-hero) .shortcut-icon { width: 38px; height: 38px; flex-basis: 38px; }
  body:has(.home-hero) .home-wrap { width: calc(100% - 20px); padding: 8px 0 0; }
  body:has(.home-hero) .home-feature-row { height: auto; min-height: 0; aspect-ratio: 2.70263 / 1; margin-bottom: 13px; }
  body:has(.home-hero) .home-columns { width: 100%; grid-template-columns: minmax(0,1fr); gap: 18px; }
  body:has(.home-hero) .home-feed { width: 100%; min-width: 0; }
}
@media (max-width: 560px) {
  body:has(.home-hero) .site-header, body:has(.home-hero) .header-inner { height: 52px; }
}
@media (max-width: 800px) {
  .mobile-menu { overflow: clip; }
}
