/* Start custom CSS for html, class: .elementor-element-a9e6bba */.zhdict-page {
  --zhdict-surface: #ffffff;
  --zhdict-soft: #f2f5f7;
  --zhdict-ink: #17242d;
  --zhdict-muted: #5d6a73;
  --zhdict-line: #d8e1e6;
  --zhdict-red: #b42318;
  --zhdict-red-dark: #8d1c15;
  --zhdict-gold: #b88913;
  --zhdict-blue: #0d627b;
  --zhdict-blue-dark: #08495c;
  --zhdict-green: #19704a;
  --zhdict-radius: 22px;
  --zhdict-shadow: 0 16px 44px rgba(23, 36, 45, 0.08);

  color: var(--zhdict-ink);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.76;
}

.zhdict-page,
.zhdict-page * {
  box-sizing: border-box;
}

.zhdict-page h1,
.zhdict-page h2,
.zhdict-page h3,
.zhdict-page p,
.zhdict-page ul {
  margin-top: 0;
}

.zhdict-page button,
.zhdict-page input {
  font: inherit;
}

.zhdict-page a {
  color: var(--zhdict-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.zhdict-container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.zhdict-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 64px;
  background:
    radial-gradient(circle at 92% 5%, rgba(180, 35, 24, 0.17), transparent 31%),
    radial-gradient(circle at 4% 98%, rgba(184, 137, 19, 0.17), transparent 34%),
    linear-gradient(145deg, #fffdf9 0%, #edf3f5 100%);
  border-bottom: 1px solid var(--zhdict-line);
}

.zhdict-hero::after {
  position: absolute;
  right: -80px;
  bottom: -125px;
  width: 330px;
  height: 330px;
  border: 48px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.zhdict-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 44px;
  align-items: center;
}

.zhdict-eyebrow,
.zhdict-kicker {
  margin-bottom: 9px;
  color: var(--zhdict-red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.zhdict-hero h1 {
  max-width: 930px;
  margin-bottom: 23px;
  font-size: clamp(38px, 5.25vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.zhdict-lead {
  max-width: 890px;
  margin-bottom: 29px;
  color: var(--zhdict-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.zhdict-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.zhdict-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.zhdict-btn:hover {
  transform: translateY(-2px);
}

.zhdict-btn:focus-visible,
.zhdict-page a:focus-visible,
.zhdict-page button:focus-visible,
.zhdict-page input:focus-visible,
.zhdict-page summary:focus-visible {
  outline: 3px solid rgba(13, 98, 123, 0.28);
  outline-offset: 3px;
}

.zhdict-btn--primary {
  background: var(--zhdict-red);
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(180, 35, 24, 0.22);
}

.zhdict-btn--primary:hover {
  background: var(--zhdict-red-dark);
}

.zhdict-btn--secondary {
  border-color: var(--zhdict-ink);
  background: rgba(255, 255, 255, 0.83);
  color: var(--zhdict-ink) !important;
}

.zhdict-btn--secondary:hover {
  background: var(--zhdict-ink);
  color: #ffffff !important;
}

.zhdict-btn--max {
  background: #111827;
  color: #ffffff !important;
}

.zhdict-btn--telegram {
  background: #1676a6;
  color: #ffffff !important;
}

.zhdict-hero__card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(216, 225, 230, 0.94);
  border-radius: var(--zhdict-radius);
  box-shadow: var(--zhdict-shadow);
  backdrop-filter: blur(8px);
}

.zhdict-hero__card div {
  min-width: 0;
  padding: 18px;
  background: #f8fafb;
  border: 1px solid var(--zhdict-line);
  border-bottom: 6px solid var(--zhdict-red);
  border-radius: 14px;
}

.zhdict-hero__card div:nth-child(2) {
  border-bottom-color: var(--zhdict-gold);
}

.zhdict-hero__card div:nth-child(3) {
  border-bottom-color: var(--zhdict-blue);
}

.zhdict-hero__card div:nth-child(4) {
  border-bottom-color: var(--zhdict-green);
}

.zhdict-hero__card strong,
.zhdict-hero__card span {
  display: block;
}

.zhdict-hero__card strong {
  margin-bottom: 4px;
  color: var(--zhdict-blue-dark);
  font-size: 25px;
}

.zhdict-hero__card span {
  color: var(--zhdict-muted);
  font-size: 13px;
}

.zhdict-alert {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--zhdict-line);
  border-radius: 18px;
}

.zhdict-alert h2,
.zhdict-alert h3 {
  margin-bottom: 7px;
  font-size: 21px;
  line-height: 1.45;
}

.zhdict-alert p {
  margin-bottom: 0;
  color: var(--zhdict-muted);
}

.zhdict-alert__icon {
  display: flex;
  width: 50px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  align-self: start;
  padding: 7px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.zhdict-alert--language,
.zhdict-alert--info {
  background: #f4f8fa;
}

.zhdict-alert--language .zhdict-alert__icon,
.zhdict-alert--info .zhdict-alert__icon {
  background: var(--zhdict-blue);
}

.zhdict-alert--danger {
  background: #fff3f1;
  border-color: #edc8c3;
}

.zhdict-alert--danger .zhdict-alert__icon {
  background: var(--zhdict-red);
}

.zhdict-alert--inside {
  margin-top: 20px;
}

.zhdict-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding: 12px;
  background: var(--zhdict-surface);
  border: 1px solid var(--zhdict-line);
  border-radius: 16px;
}

.zhdict-nav a {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--zhdict-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.zhdict-nav a:hover {
  background: var(--zhdict-soft);
  color: var(--zhdict-blue);
}

.zhdict-section {
  padding-top: 78px;
  scroll-margin-top: 28px;
}

.zhdict-heading {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  max-width: 980px;
  margin-bottom: 31px;
}

.zhdict-heading__number {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  background: var(--zhdict-ink);
  border-radius: 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.zhdict-heading h2 {
  margin-bottom: 9px;
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.zhdict-heading p:last-child {
  margin-bottom: 0;
  color: var(--zhdict-muted);
  font-size: 18px;
}

.zhdict-direct-answer {
  padding: 29px 31px;
  background: linear-gradient(135deg, var(--zhdict-ink), #29434f);
  border-radius: 20px;
  color: #ffffff;
  box-shadow: var(--zhdict-shadow);
}

.zhdict-direct-answer p {
  max-width: 1080px;
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.85;
}

.zhdict-use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.zhdict-use-grid article {
  min-width: 0;
  padding: 21px;
  background: var(--zhdict-surface);
  border: 1px solid var(--zhdict-line);
  border-radius: 16px;
}

.zhdict-use-grid > article > span {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  background: var(--zhdict-red);
  border-radius: 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.zhdict-use-grid h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.zhdict-use-grid p {
  margin-bottom: 0;
  color: var(--zhdict-muted);
  font-size: 14px;
}

.zhdict-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 17px;
  padding: 17px;
  background: var(--zhdict-surface);
  border: 1px solid var(--zhdict-line);
  border-radius: 17px;
}

.zhdict-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.zhdict-search input {
  width: 100%;
  min-height: 49px;
  padding: 11px 14px;
  background: #f8fafb;
  border: 1px solid #bdcbd2;
  border-radius: 11px;
  color: var(--zhdict-ink);
}

.zhdict-search button,
.zhdict-toolbar__buttons button {
  min-height: 49px;
  padding: 10px 15px;
  background: var(--zhdict-soft);
  border: 1px solid var(--zhdict-line);
  border-radius: 11px;
  color: var(--zhdict-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.zhdict-search button:hover,
.zhdict-toolbar__buttons button:hover {
  background: var(--zhdict-ink);
  border-color: var(--zhdict-ink);
  color: #ffffff;
}

.zhdict-favourites-only {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--zhdict-muted);
  font-size: 13px;
  font-weight: 800;
}

.zhdict-favourites-only input {
  width: 18px;
  height: 18px;
}

.zhdict-toolbar__buttons {
  display: flex;
  gap: 8px;
}

.zhdict-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.zhdict-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: var(--zhdict-surface);
  border: 1px solid var(--zhdict-line);
  border-radius: 999px;
  color: var(--zhdict-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.zhdict-filter span {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding-inline: 6px;
  background: var(--zhdict-soft);
  border-radius: 999px;
  color: var(--zhdict-muted);
  font-size: 11px;
}

.zhdict-filter:hover,
.zhdict-filter.is-active {
  background: var(--zhdict-ink);
  border-color: var(--zhdict-ink);
  color: #ffffff;
}

.zhdict-filter.is-active span {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.zhdict-results {
  margin-bottom: 17px;
  color: var(--zhdict-muted);
  font-size: 14px;
}

.zhdict-results strong {
  color: var(--zhdict-red);
  font-size: 18px;
}

.zhdict-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.zhdict-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  min-width: 0;
  padding: 21px;
  background: var(--zhdict-surface);
  border: 1px solid var(--zhdict-line);
  border-radius: 17px;
  box-shadow: 0 7px 23px rgba(23, 36, 45, 0.035);
}

.zhdict-card[hidden] {
  display: none !important;
}

.zhdict-card.is-favourite {
  border-color: #d7b34b;
  box-shadow: 0 8px 24px rgba(174, 132, 15, 0.11);
}

.zhdict-card__top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.zhdict-card__number {
  color: var(--zhdict-red);
  font-size: 12px;
  font-weight: 900;
}

.zhdict-card__category {
  overflow: hidden;
  max-width: 65%;
  padding: 4px 8px;
  background: var(--zhdict-soft);
  border-radius: 999px;
  color: var(--zhdict-muted);
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zhdict-favourite {
  width: 36px;
  height: 36px;
  margin-left: auto;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--zhdict-line);
  border-radius: 10px;
  color: #9d7b05;
  cursor: pointer;
  font-size: 20px;
}

.zhdict-card__russian,
.zhdict-card__chinese {
  min-width: 0;
}

.zhdict-card__russian > span,
.zhdict-card__chinese > span,
.zhdict-card__english > span {
  display: block;
  margin-bottom: 5px;
  color: var(--zhdict-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.zhdict-card__russian h3 {
  margin-bottom: 5px;
  color: var(--zhdict-ink);
  font-size: 20px;
  line-height: 1.34;
}

.zhdict-card__russian p {
  margin-bottom: 0;
  color: var(--zhdict-red);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.zhdict-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zhdict-muted);
  font-size: 20px;
  font-weight: 900;
}

.zhdict-card__chinese strong {
  display: block;
  color: var(--zhdict-blue-dark);
  font-size: 20px;
  line-height: 1.45;
}

.zhdict-card__chinese p {
  margin: 5px 0 0;
  color: var(--zhdict-gold);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.zhdict-card__english {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--zhdict-line);
}

.zhdict-card__english p {
  margin-bottom: 0;
  color: var(--zhdict-muted);
  font-size: 13px;
}

.zhdict-card__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.zhdict-action {
  min-height: 35px;
  padding: 7px 10px;
  background: var(--zhdict-surface);
  border: 1px solid #bccbd2;
  border-radius: 9px;
  color: var(--zhdict-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.zhdict-action:hover {
  background: var(--zhdict-ink);
  border-color: var(--zhdict-ink);
  color: #ffffff;
}

.zhdict-empty,
.zhdict-noscript {
  margin-top: 18px;
  padding: 25px;
  background: #f7f9fa;
  border: 1px solid var(--zhdict-line);
  border-radius: 15px;
  color: var(--zhdict-muted);
  text-align: center;
}

.zhdict-empty strong {
  display: block;
  margin-bottom: 5px;
  color: var(--zhdict-ink);
  font-size: 20px;
}

.zhdict-empty p {
  margin-bottom: 0;
}

.zhdict-critical {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.zhdict-critical article {
  min-width: 0;
  padding: 22px;
  background: var(--zhdict-surface);
  border: 1px solid var(--zhdict-line);
  border-top: 6px solid var(--zhdict-blue);
  border-radius: 16px;
}

.zhdict-critical article:nth-child(2) {
  border-top-color: var(--zhdict-green);
}

.zhdict-critical article:nth-child(3) {
  border-top-color: var(--zhdict-gold);
}

.zhdict-critical article:nth-child(4) {
  border-top-color: var(--zhdict-red);
}

.zhdict-critical__abbr {
  display: inline-flex;
  min-width: 50px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  padding: 6px 10px;
  background: var(--zhdict-ink);
  border-radius: 9px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.zhdict-critical p {
  margin-bottom: 5px;
  color: var(--zhdict-red);
  font-size: 13px;
  font-weight: 850;
}

.zhdict-critical h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.45;
}

.zhdict-critical span {
  display: block;
  color: var(--zhdict-muted);
  font-size: 14px;
}

.zhdict-warning {
  margin-top: 20px;
  padding: 24px;
  background: #fff3f1;
  border: 1px solid #eac7c2;
  border-left: 6px solid var(--zhdict-red);
  border-radius: 15px;
}

.zhdict-warning h3 {
  margin-bottom: 7px;
  font-size: 21px;
}

.zhdict-warning p {
  margin-bottom: 0;
  color: var(--zhdict-muted);
}

.zhdict-pronunciation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.zhdict-pronunciation article {
  min-width: 0;
  padding: 22px;
  background: var(--zhdict-surface);
  border: 1px solid var(--zhdict-line);
  border-radius: 16px;
}

.zhdict-pronunciation strong {
  display: inline-flex;
  min-width: 48px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  padding: 6px 10px;
  background: var(--zhdict-blue);
  border-radius: 9px;
  color: #ffffff;
  font-size: 14px;
}

.zhdict-pronunciation h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.zhdict-pronunciation p {
  margin-bottom: 0;
  color: var(--zhdict-muted);
  font-size: 14px;
}

.zhdict-pronunciation p span {
  color: var(--zhdict-red);
  font-weight: 800;
}

.zhdict-note {
  margin-top: 18px;
  padding: 20px 23px;
  background: #f5f8fa;
  border-left: 5px solid var(--zhdict-blue);
  border-radius: 12px;
  color: var(--zhdict-muted);
}

.zhdict-note strong {
  color: var(--zhdict-ink);
}

.zhdict-standards {
  display: grid;
  gap: 13px;
}

.zhdict-standards article {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 19px;
  align-items: start;
  padding: 21px;
  background: var(--zhdict-surface);
  border: 1px solid var(--zhdict-line);
  border-radius: 15px;
}

.zhdict-standard__code {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--zhdict-soft);
  border-radius: 11px;
  color: var(--zhdict-blue-dark);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.zhdict-standards h3 {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.4;
}

.zhdict-standards p {
  margin-bottom: 0;
  color: var(--zhdict-muted);
  font-size: 15px;
}

.zhdict-faq {
  display: grid;
  gap: 11px;
}

.zhdict-faq details {
  overflow: hidden;
  background: var(--zhdict-surface);
  border: 1px solid var(--zhdict-line);
  border-radius: 15px;
}

.zhdict-faq summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.zhdict-faq summary::-webkit-details-marker {
  display: none;
}

.zhdict-faq summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--zhdict-blue);
  content: "+";
  font-size: 24px;
  font-weight: 700;
}

.zhdict-faq details[open] summary::after {
  content: "−";
}

.zhdict-faq details > div {
  padding: 0 20px 18px;
  color: var(--zhdict-muted);
}

.zhdict-faq details p {
  margin-bottom: 0;
}

.zhdict-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  gap: 28px;
  margin-top: 78px;
  padding: 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 137, 19, 0.24), transparent 34%),
    linear-gradient(135deg, #17242d, #294550);
  border-radius: 24px;
  color: #ffffff;
  box-shadow: var(--zhdict-shadow);
}

.zhdict-cta .zhdict-kicker {
  color: #f0cd70;
}

.zhdict-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 41px);
  line-height: 1.4;
}

.zhdict-cta p {
  max-width: 780px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.79);
}

.zhdict-cta__facts {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 23px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
}

.zhdict-cta__facts div {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.zhdict-cta__facts div:last-child {
  border-bottom: 0;
}

.zhdict-cta__facts strong,
.zhdict-cta__facts span {
  display: block;
}

.zhdict-cta__facts strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.zhdict-cta__facts span {
  color: rgba(255, 255, 255, 0.73);
  font-size: 14px;
}

.zhdict-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  padding: 28px 0 58px;
}

.zhdict-footer-links a {
  font-size: 14px;
  font-weight: 850;
}

.zhdict-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  max-width: min(340px, calc(100% - 44px));
  padding: 13px 17px;
  transform: translateY(20px);
  background: var(--zhdict-ink);
  border-radius: 11px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.zhdict-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.zhdict-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

@media (max-width: 1080px) {
  .zhdict-use-grid,
  .zhdict-critical,
  .zhdict-pronunciation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zhdict-toolbar {
    grid-template-columns: 1fr auto;
  }

  .zhdict-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .zhdict-hero__grid,
  .zhdict-cta {
    grid-template-columns: 1fr;
  }

  .zhdict-hero__card {
    max-width: 720px;
  }

  .zhdict-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .zhdict-page {
    font-size: 16px;
  }

  .zhdict-container {
    width: min(100% - 22px, 1200px);
  }

  .zhdict-hero {
    padding: 46px 0 42px;
  }

  .zhdict-hero h1 {
    font-size: clamp(34px, 10.2vw, 46px);
  }

  .zhdict-lead {
    font-size: 18px;
  }

  .zhdict-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .zhdict-btn {
    width: 100%;
  }

  .zhdict-alert {
    grid-template-columns: 1fr;
    padding: 21px;
  }

  .zhdict-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .zhdict-nav a {
    width: 100%;
  }

  .zhdict-section {
    padding-top: 58px;
  }

  .zhdict-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .zhdict-heading__number {
    width: 47px;
    height: 47px;
  }

  .zhdict-heading h2 {
    font-size: 30px;
  }

  .zhdict-heading p:last-child {
    font-size: 16px;
  }

  .zhdict-direct-answer {
    padding: 23px;
  }

  .zhdict-direct-answer p {
    font-size: 17px;
  }

  .zhdict-use-grid,
  .zhdict-critical,
  .zhdict-pronunciation {
    grid-template-columns: 1fr;
  }

  .zhdict-toolbar {
    grid-template-columns: 1fr;
  }

  .zhdict-search {
    grid-template-columns: 1fr;
  }

  .zhdict-search button,
  .zhdict-toolbar__buttons button {
    width: 100%;
  }

  .zhdict-toolbar__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .zhdict-card {
    grid-template-columns: 1fr;
  }

  .zhdict-card__top,
  .zhdict-card__english,
  .zhdict-card__actions {
    grid-column: 1;
  }

  .zhdict-card__arrow {
    min-height: 30px;
    transform: rotate(90deg);
  }

  .zhdict-standards article {
    grid-template-columns: 1fr;
  }

  .zhdict-standard__code {
    width: fit-content;
    min-width: 120px;
  }

  .zhdict-cta {
    margin-top: 58px;
    padding: 25px;
  }
}

@media (max-width: 430px) {
  .zhdict-hero h1 {
    font-size: 31px;
  }

  .zhdict-hero__card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .zhdict-card {
    padding: 18px;
  }

  .zhdict-card__top {
    flex-wrap: wrap;
  }

  .zhdict-card__category {
    max-width: calc(100% - 80px);
  }

  .zhdict-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .zhdict-action {
    width: 100%;
  }
}

@media print {
  .zhdict-hero,
  .zhdict-alert,
  .zhdict-nav,
  .zhdict-toolbar,
  .zhdict-filters,
  .zhdict-card__actions,
  .zhdict-favourite,
  .zhdict-cta,
  .zhdict-footer-links,
  .zhdict-toast {
    display: none !important;
  }

  .zhdict-container {
    width: 100%;
  }

  .zhdict-section {
    padding-top: 20px;
  }

  .zhdict-grid {
    display: block;
  }

  .zhdict-card,
  .zhdict-card[hidden] {
    display: grid !important;
    margin-bottom: 10px;
    break-inside: avoid;
    box-shadow: none;
  }
}/* End custom CSS */