/**
 * Zheng Gems approved reference contract — v2.6.1 desktop-height correction.
 *
 * This stylesheet is deliberately last in the cascade. It translates the
 * approved 1024 × 1536 artwork into responsive geometry while leaving every
 * WordPress block, link, image and menu item editable in the Site Editor.
 */

:root {
  --zg-reference-paper: #f7f5f0;
  --zg-reference-header: #f2efe9;
  --zg-reference-intro: #f8f5f0;
  --zg-reference-mission: #f3efe9;
  --zg-reference-gemstones: #f7f4ef;
  --zg-reference-ink: #121310;
  --zg-reference-olive: #303a13;
  --zg-reference-footer: #24351f;
  --zg-reference-gold: #a49656;
  --zg-reference-line: #d8d5cd;
  --zg-reference-side: 38px;
}

/* Full-width shell and the exact desktop header relationship. */
.wp-site-blocks,
.wp-site-blocks > :where(header, main, footer),
.zhengems-main,
.zhengems-main > .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

.zhengems-site-header {
  height: var(--zg-header-height-desktop) !important;
  min-height: var(--zg-header-height-desktop) !important;
  padding: 0 !important;
  background: var(--zg-reference-header) !important;
  border-bottom: 1px solid var(--zg-reference-line);
  box-sizing: border-box;
}

.zhengems-header-inner {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  height: calc(var(--zg-header-height-desktop) - 1px) !important;
  min-height: calc(var(--zg-header-height-desktop) - 1px) !important;
  margin: 0 auto !important;
  padding: 0 var(--zg-reference-side) !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  box-sizing: border-box;
}

.zhengems-brand-lockup {
  flex: 0 0 205px;
  gap: 0 !important;
  transform: translateY(10px);
}

.zhengems-brand-lockup .wp-block-site-logo:empty {
  display: none;
}

.zhengems-brand-lockup:has(.custom-logo-link) > .wp-block-group {
  display: none;
}

.zhengems-brand-lockup .custom-logo-link,
.zhengems-brand-lockup .custom-logo {
  display: block;
  width: auto;
  max-width: 205px;
  height: auto;
  max-height: 55px;
}

.zhengems-brand-title {
  margin: 0 !important;
  font-family: var(--zg-font-brand) !important;
  font-size: var(--zg-brand-size-desktop) !important;
  font-weight: 500 !important;
  letter-spacing: var(--zg-brand-tracking-desktop) !important;
  line-height: .82 !important;
  text-transform: uppercase !important;
  transform: translateY(-.5px) scaleX(.955) scaleY(.96);
  transform-origin: left center;
}

.zhengems-brand-title a {
  color: var(--zg-reference-ink) !important;
  text-decoration: none !important;
}

.zhengems-brand-tagline {
  margin: 4px 0 0 !important;
  color: #777873 !important;
  font-family: var(--zg-font-ui) !important;
  font-size: var(--zg-tagline-size-desktop) !important;
  font-weight: 400 !important;
  letter-spacing: var(--zg-tagline-tracking-desktop) !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  transform: translate(-1px, -1px) scaleX(.944);
  transform-origin: left center;
}

.zhengems-primary-navigation {
  flex: 0 0 auto;
  margin-left: auto !important;
  transform: translateY(2px);
}

.zhengems-primary-navigation > .wp-block-navigation__responsive-container .wp-block-navigation-item__label {
  display: inline-block;
  transform: scaleX(1.08) scaleY(1.1);
  transform-origin: left center;
}

.zhengems-primary-navigation > .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item:nth-child(1) > .wp-block-navigation-item__content .wp-block-navigation-item__label {
  transform: translateX(1px) scaleX(1.08) scaleY(1.1);
}

.zhengems-primary-navigation > .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item:nth-child(2) > .wp-block-navigation-item__content .wp-block-navigation-item__label {
  transform: scaleX(1.106) scaleY(1.1);
}

.zhengems-primary-navigation > .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item:nth-child(3) > .wp-block-navigation-item__content .wp-block-navigation-item__label {
  transform: scaleX(1.105) scaleY(1.1);
}

.zhengems-primary-navigation > .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item:nth-child(4) > .wp-block-navigation-item__content .wp-block-navigation-item__label {
  transform: translateX(-2px) scaleX(1.062) scaleY(1.1);
}

.zhengems-primary-navigation .wp-block-navigation__container {
  align-items: center !important;
  gap: 54px !important;
}

.zhengems-primary-navigation .wp-block-navigation-item {
  min-height: 44px;
  align-items: center;
}

.zhengems-primary-navigation .wp-block-navigation-item__content {
  display: inline-flex;
  min-height: 44px;
  padding: 0 !important;
  align-items: center;
  color: var(--zg-reference-ink) !important;
  font-family: var(--zg-font-ui) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.zhengems-primary-navigation .wp-block-navigation-item__content:hover,
.zhengems-primary-navigation .wp-block-navigation-item__content:focus-visible,
.zhengems-primary-navigation .current-menu-item > .wp-block-navigation-item__content {
  color: var(--zg-reference-gold) !important;
}

.zhengems-primary-navigation .wp-block-navigation__submenu-icon {
  display: inline-grid !important;
  width: 22px !important;
  height: 44px !important;
  margin: 0 0 0 5px !important;
  padding: 0 !important;
  place-items: center;
  color: currentColor;
  transform: translateX(8px);
}

.zhengems-primary-navigation .wp-block-navigation__submenu-icon svg {
  width: 9px !important;
  height: 9px !important;
  stroke-width: 1.4;
  transform: translateY(-2px);
}

.zhengems-primary-navigation .wp-block-navigation__submenu-container {
  top: calc(100% - 1px) !important;
  left: -17px !important;
  min-width: 174px !important;
  padding: 12px 16px !important;
  gap: 0 !important;
  background: #fff !important;
  border: 1px solid var(--zg-reference-line) !important;
  box-shadow: 0 12px 28px rgba(18, 19, 16, .08) !important;
}

.zhengems-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item {
  min-height: 31px;
}

.zhengems-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  width: 100%;
  min-height: 31px;
  font-size: 11px !important;
  white-space: nowrap;
}

.zhengems-header-cta {
  flex: 0 0 145px;
  margin: 0 0 0 48px !important;
}

.zhengems-header-cta .wp-block-button,
.zhengems-header-cta .wp-block-button__link {
  width: 100%;
}

.zhengems-header-cta .wp-block-button__link {
  display: flex !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 0 23px 0 24px !important;
  align-items: center;
  justify-content: space-between !important;
  color: #fff !important;
  background: var(--zg-reference-olive) !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 1.1px !important;
  text-decoration: none !important;
  transform: translateY(3px);
}

.zhengems-header-cta .wp-block-button__link::after {
  content: "→";
  font-size: 18px;
  font-weight: 400;
  line-height: 10px;
  transform: translate(2px, -1px);
}

/* Homepage: 87 / 94 / 145 / 367 / 417 / 231 at the supplied 1024px canvas. */
.zhengems-page-home .zhengems-home-intro {
  display: grid;
  min-height: 94px !important;
  height: 94px;
  padding: 0 24px !important;
  place-items: center;
  background: var(--zg-reference-intro) !important;
  border-bottom: 1px solid var(--zg-reference-line);
  box-sizing: border-box;
}

.zhengems-page-home .zhengems-home-intro > .zhengems-centered-heading {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.zhengems-page-home .zhengems-home-title {
  margin: 0 0 6px !important;
  font-family: var(--zg-font-ui) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 1.35px !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  transform: translate(-2px, 1px) scaleX(1.008);
}

.zhengems-page-home .zhengems-home-intro .zhengems-lead {
  width: max-content;
  max-width: 100%;
  margin: 0 auto !important;
  font-family: var(--zg-font-ui) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 1.1px !important;
  line-height: 1.25 !important;
  transform: translate(-1.5px, 3px) scaleX(1.0075);
}

.zhengems-page-home .zhengems-provenance {
  padding: 0 !important;
  background: var(--zg-reference-mission) !important;
}

.zhengems-page-home .zhengems-provenance > .zhengems-section-heading {
  display: grid;
  width: 100% !important;
  max-width: none !important;
  min-height: 145px !important;
  height: 145px;
  margin: 0 !important;
  padding: 18px 24px 15px !important;
  place-content: center;
  box-sizing: border-box;
}

.zhengems-page-home .zhengems-provenance .zhengems-section-heading h2 {
  margin: 0 !important;
  font-family: var(--zg-font-editorial) !important;
  font-size: 41px !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  transform: translate(-2px, 8px) scaleX(.89) scaleY(.84);
  transform-origin: center;
}

.zhengems-page-home .zhengems-provenance .zhengems-section-heading h2::after {
  display: block !important;
  width: 63px !important;
  height: 2px;
  margin: 16px auto 0 !important;
  background: var(--zg-reference-gold);
  content: "";
}

.zhengems-page-home .zhengems-provenance .zhengems-section-heading .zhengems-lead {
  max-width: 390px !important;
  margin: 12px auto 0 !important;
  font-size: 14px !important;
  line-height: 22.5px !important;
  transform: translate(-4px, -.5px) scaleX(.977);
}

.zhengems-page-home .zhengems-source-grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.zhengems-page-home .zhengems-source-grid > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
}

.zhengems-page-home .zhengems-source-grid .zhengems-source-card {
  min-height: 367px !important;
  height: 367px !important;
}

.zhengems-page-home .zhengems-source-grid > .wp-block-column .zhengems-source-card {
  min-height: 367px !important;
  height: 367px !important;
  padding: 0 !important;
}

.zhengems-page-home .zhengems-source-card > .wp-block-cover__image-background,
.zhengems-page-home .zhengems-source-grid > .wp-block-column:first-child .zhengems-source-card > .wp-block-cover__image-background,
.zhengems-page-home .zhengems-source-card--east > .wp-block-cover__image-background {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
}

.zhengems-page-home .zhengems-source-card .wp-block-cover__inner-container {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0 38px 41px !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  box-sizing: border-box;
}

.zhengems-page-home .zhengems-source-card h3 {
  margin: 0 0 13px !important;
  font-family: var(--zg-font-editorial) !important;
  font-size: var(--zg-source-title-size-desktop) !important;
  font-weight: 500 !important;
  letter-spacing: 1.5px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  transform: translate(1px, -4px) scaleX(.886) scaleY(.92);
  transform-origin: left center;
}

.zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card h3 {
  transform: translate(-1px, -4px) scaleX(.886) scaleY(.92);
}

.zhengems-page-home .zhengems-source-card-rule {
  width: 72px !important;
  height: 1px !important;
  margin: 0 0 15px !important;
  border: 0 !important;
  transform: translateY(-5px);
}

.zhengems-page-home .zhengems-source-grid > .wp-block-column:first-child .zhengems-source-card-rule {
  width: 65px !important;
  transform: translate(1px, -5px);
}

.zhengems-page-home .zhengems-source-card p:not(.zhengems-cover-link) {
  max-width: 270px;
  margin: 0 !important;
  font-size: var(--zg-source-body-size-desktop) !important;
  line-height: 1.58 !important;
  transform: translateY(-4px);
}

.zhengems-page-home .zhengems-source-grid > .wp-block-column:first-child .zhengems-source-card p:not(.zhengems-cover-link) {
  max-width: 217px;
}

.zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card .wp-block-cover__inner-container {
  padding-left: 34px !important;
}

.zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card p:not(.zhengems-cover-link) {
  max-width: 195px;
}

.zhengems-page-home .zhengems-source-card .zhengems-cover-link {
  width: min(100%, 194px);
  margin: 26px 0 0 !important;
}

.zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card .zhengems-cover-link {
  width: min(100%, 209px);
}

.zhengems-page-home .zhengems-source-card .zhengems-cover-link a {
  display: flex !important;
  width: 100%;
  min-height: 42px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .88);
  box-sizing: border-box;
}

.zhengems-page-home .zhengems-source-card .zhengems-cover-link a::after {
  margin-left: auto;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  content: "→";
}

.zhengems-page-home .zhengems-gemstone-section {
  min-height: 417px !important;
  height: 417px;
  padding: 29px 38px 34px 36px !important;
  background: var(--zg-reference-gemstones) !important;
  box-sizing: border-box;
  overflow: hidden;
}

.zhengems-page-home .zhengems-gemstone-section .zhengems-section-heading {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto 17px !important;
  text-align: center !important;
}

.zhengems-page-home .zhengems-gemstone-section .zhengems-section-heading h2 {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto !important;
  font-family: var(--zg-font-editorial) !important;
  font-size: 38px !important;
  font-weight: 500 !important;
  letter-spacing: 1.5px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  transform: translate(-2px, 2px) scaleX(.857) scaleY(.82);
  transform-origin: center;
}

.zhengems-page-home .zhengems-gemstone-section .zhengems-section-heading h2::after {
  display: none !important;
}

.zhengems-page-home .zhengems-gemstone-section .zhengems-section-heading .zhengems-lead {
  width: max-content;
  max-width: 100%;
  margin: 8px auto 0 !important;
  font-size: 14px !important;
  color: var(--zg-reference-ink) !important;
  line-height: 1.4 !important;
  transform: translate(-2px, -2px) scaleX(.974);
}

.zhengems-page-home .zhengems-gemstone-section .zhengems-category-grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: 152fr 154fr 152fr 152fr 152fr 158fr !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.zhengems-page-home .zhengems-category-card {
  min-width: 0;
  min-height: 272px;
  height: auto;
  background: var(--zg-reference-paper);
  border: 1px solid #dedbd3 !important;
  box-sizing: border-box;
  overflow: hidden;
}

.zhengems-page-home .zhengems-category-card > a {
  display: flex !important;
  height: 100%;
  min-height: 0 !important;
  flex-direction: column !important;
}

.zhengems-page-home .zhengems-category-card__image {
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 135px;
  aspect-ratio: 152 / 135 !important;
  background: transparent !important;
  overflow: hidden;
}

.zhengems-page-home .zhengems-category-card__body {
  display: flex;
  min-height: 0 !important;
  height: 137px;
  padding: 14px 18px 20px !important;
  flex: 0 0 137px !important;
  flex-direction: column;
  box-sizing: border-box;
}

.zhengems-page-home .zhengems-category-card__name {
  display: block !important;
  min-height: 0 !important;
  margin: 0 0 7px !important;
  padding: 0 !important;
  font-family: var(--zg-font-ui) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: .5px !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}

.zhengems-page-home .zhengems-category-card__name > span[aria-hidden="true"] {
  display: none !important;
}

.zhengems-page-home .zhengems-category-card__description {
  display: block !important;
  min-height: 39px !important;
  margin: 0 0 10px !important;
  color: #30312e !important;
  font-size: 10.5px !important;
  line-height: 1.55 !important;
}

.zhengems-page-home .zhengems-category-card__link {
  display: flex !important;
  min-height: 0 !important;
  margin: auto 0 0 !important;
  align-items: center !important;
  justify-content: space-between;
  color: var(--zg-reference-ink) !important;
  font-family: var(--zg-font-ui) !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.zhengems-page-home .zhengems-category-card__link::after {
  content: "→";
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.zhengems-page-home .zhengems-category-card__fallback-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.zhengems-page-home .zhengems-inquiry-banner-wrap {
  padding: 0 !important;
}

.zhengems-page-home .zhengems-inquiry-feature {
  position: relative;
  isolation: isolate;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 231px !important;
  height: 231px !important;
  grid-template-columns: 1fr !important;
  margin: 0 !important;
  overflow: hidden;
  background: #f2ebe3 !important;
}

.zhengems-page-home .zhengems-inquiry-feature::before {
  position: absolute;
  z-index: 2;
  top: 46px;
  left: 48px;
  width: 60px;
  height: 60px;
  background: rgba(247, 245, 240, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23303a13' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'%3E%3Cpath d='M7 18 14 9h20l7 9-17 22L7 18Z'/%3E%3Cpath d='m7 18 17 22 17-22M14 9l10 31L34 9M7 18h34M14 9l10 9 10-9'/%3E%3C/svg%3E") center / 30px 30px no-repeat;
  border: 1px solid var(--zg-reference-olive);
  border-radius: 50%;
  content: "";
}

.zhengems-page-home .zhengems-inquiry-feature::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(242, 235, 227, .98) 0%, rgba(242, 236, 229, .95) 28%, rgba(240, 231, 221, .88) 39%, rgba(235, 222, 209, .78) 50%, rgba(235, 222, 209, .25) 64%, rgba(235, 222, 209, 0) 80%);
  content: "";
  pointer-events: none;
}

.zhengems-page-home .zhengems-inquiry-feature > .wp-block-column {
  width: 100% !important;
  height: 100%;
  min-width: 0;
  margin: 0 !important;
  grid-area: 1 / 1;
}

.zhengems-page-home .zhengems-inquiry-feature > .wp-block-column:first-child {
  z-index: 3;
}

.zhengems-page-home .zhengems-inquiry-feature > .wp-block-column:last-child {
  z-index: 0;
  display: block !important;
}

.zhengems-page-home .zhengems-inquiry-feature__copy {
  display: flex;
  width: 620px !important;
  max-width: none !important;
  height: 100%;
  padding: 26px 0 34px clamp(120px, 13.4765625vw, 184px) !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: transparent !important;
  box-sizing: border-box;
}

.zhengems-page-home .zhengems-inquiry-feature__copy h2 {
  width: 480px;
  max-width: 480px !important;
  margin: 0 0 10px !important;
  font-family: var(--zg-font-editorial) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  letter-spacing: 1.2px !important;
  line-height: 34px !important;
  text-transform: uppercase !important;
  transform: translate(-1px, -2px) scaleX(1.007);
  transform-origin: left center;
  text-indent: -1px;
}

.zhengems-page-home .zhengems-inquiry-feature__copy h2::first-line {
  letter-spacing: 1.6px;
}

.zhengems-page-home .zhengems-inquiry-feature__copy > p:not(.zhengems-eyebrow, .zhengems-text-link) {
  width: 340px;
  max-width: 340px !important;
  margin: 0 0 18px !important;
  font-size: 14px !important;
  line-height: 21.5px !important;
  transform: translate(-2px, -4px);
}

.zhengems-page-home .zhengems-inquiry-feature__copy .wp-block-button__link {
  display: flex;
  min-width: 200px;
  min-height: 41px;
  padding: 0 21px;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 !important;
}

.zhengems-page-home .zhengems-inquiry-feature__copy .wp-block-button__link::after {
  margin-left: auto;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  content: "→";
}

.zhengems-page-home .zhengems-inquiry-feature__copy .wp-block-buttons {
  margin: 0 !important;
  transform: translate(-2px, -3px);
}

.zhengems-page-home .zhengems-inquiry-feature__image,
.zhengems-page-home .zhengems-inquiry-feature__image img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 231px !important;
  max-height: none !important;
  margin: 0 !important;
}

.zhengems-page-home .zhengems-inquiry-feature__image img {
  object-fit: cover !important;
  object-position: center 43% !important;
  transform: none !important;
}

/* Two-panel deep-green footer: brand/social on the left, contact on the right. */
.zhengems-site-footer {
  position: relative;
  min-height: clamp(252px, calc(183px + 5.46875vw), 288px);
  padding:
    clamp(32px, calc(21px + .8854167vw), 38px)
    clamp(38px, calc(20px + 1.4583333vw), 48px)
    clamp(12px, calc(10px + .15625vw), 13px) !important;
  color: #fff !important;
  background: var(--zg-reference-footer) !important;
  border-top: 0 !important;
  box-sizing: border-box;
}

.zhengems-site-footer .alignwide {
  width: 100% !important;
  max-width: none !important;
}

.zhengems-footer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr) !important;
  gap: 0 !important;
  margin: 0 0 clamp(22px, calc(10px + .9375vw), 28px) !important;
  align-items: stretch !important;
}

.zhengems-footer-grid > .wp-block-column {
  min-width: 0;
  padding: 0 !important;
  box-sizing: border-box;
}

.zhengems-footer-grid > .wp-block-column:first-child {
  padding: 0 clamp(48px, calc(18px + 2.34375vw), 63px) 0 10px !important;
}

.zhengems-footer-grid > .wp-block-column + .wp-block-column {
  padding: 0 10px 0 clamp(48px, calc(12px + 2.8125vw), 66px) !important;
  border-left: 1px solid rgba(255, 255, 255, .2) !important;
}

.zhengems-site-footer .zhengems-footer-title {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-family: var(--zg-font-editorial) !important;
  font-size: clamp(30px, calc(19px + .8854167vw), 36px) !important;
  font-weight: 500 !important;
  letter-spacing: 2.4px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.zhengems-site-footer .zhengems-footer-title a,
.zhengems-site-footer .zhengems-footer-note,
.zhengems-site-footer .zhengems-footer-heading,
.zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content,
.zhengems-site-footer .zhengems-footer-address,
.zhengems-site-footer .zhengems-footer-bottom,
.zhengems-site-footer .zhengems-footer-bottom p {
  color: #fff !important;
}

.zhengems-site-footer .zhengems-footer-note {
  max-width: clamp(340px, calc(248px + 7.3958333vw), 390px);
  margin: 0 !important;
  color: rgba(255, 255, 255, .8) !important;
  font-size: clamp(13px, calc(9.333px + .295vw), 15px) !important;
  line-height: 1.55 !important;
}

.zhengems-footer-heading {
  margin: 4px 0 18px !important;
  font-family: var(--zg-font-ui) !important;
  font-size: clamp(13px, calc(9.333px + .295vw), 15px) !important;
  font-weight: 600 !important;
  letter-spacing: .17em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.zhengems-footer-contact__details {
  display: grid !important;
  max-width: 820px;
  grid-template-columns: minmax(210px, .8fr) minmax(300px, 1.2fr);
  gap: clamp(36px, calc(-.667px + 2.951vw), 56px);
  margin: 0 !important;
  align-items: start;
}

.zhengems-footer-addresses {
  margin: 0 !important;
}

.zhengems-footer-contact__details > *,
.zhengems-footer-addresses > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.zhengems-footer-navigation,
.zhengems-footer-navigation .wp-block-navigation__container {
  gap: 0 !important;
}

.zhengems-footer-navigation .wp-block-navigation-item,
.zhengems-footer-navigation .wp-block-navigation-item__content {
  min-height: clamp(30px, calc(22.667px + .59vw), 34px) !important;
}

.zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content,
.zhengems-site-footer .zhengems-footer-address {
  padding: 0 !important;
  color: rgba(255, 255, 255, .82) !important;
  font-size: clamp(14px, calc(10.333px + .295vw), 16px) !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}

.zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content:hover,
.zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content:focus-visible {
  color: #fff !important;
}

.zhengems-site-footer .zhengems-footer-address {
  position: relative;
  min-height: clamp(30px, calc(22.667px + .59vw), 34px) !important;
  margin: 0 !important;
  padding-left: clamp(27px, calc(19.667px + .59vw), 31px) !important;
}

.zhengems-site-footer .zhengems-footer-address::before {
  position: absolute;
  top: clamp(3px, calc(-.667px + .295vw), 5px);
  left: 1px;
  width: clamp(16px, calc(12.333px + .295vw), 18px);
  height: clamp(16px, calc(12.333px + .295vw), 18px);
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.zhengems-site-footer .zhengems-footer-navigation--contact .wp-block-navigation-item__content {
  position: relative;
  padding-left: clamp(27px, calc(19.667px + .59vw), 31px) !important;
}

.zhengems-site-footer .zhengems-footer-navigation--contact .wp-block-navigation-item__content::before {
  position: absolute;
  top: clamp(3px, calc(-.667px + .295vw), 5px);
  left: 1px;
  width: clamp(16px, calc(12.333px + .295vw), 18px);
  height: clamp(16px, calc(12.333px + .295vw), 18px);
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.zhengems-site-footer .zhengems-footer-navigation--contact a[href^="tel:"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M7 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-3l-5-2-1.5 2a14 14 0 0 1-7.5-7.5L9 8 7 3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M7 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-3l-5-2-1.5 2a14 14 0 0 1-7.5-7.5L9 8 7 3Z'/%3E%3C/svg%3E");
}

.zhengems-footer-socials {
  gap: clamp(10px, calc(6.333px + .295vw), 12px) !important;
  margin: clamp(20px, calc(12.667px + .59vw), 24px) 0 0 !important;
}

.zhengems-footer-socials .wp-social-link {
  width: clamp(42px, calc(34.667px + .59vw), 46px) !important;
  height: clamp(42px, calc(34.667px + .59vw), 46px) !important;
  color: #fff !important;
  border-radius: clamp(10px, calc(8.167px + .1475vw), 11px) !important;
  box-shadow: 0 6px 18px rgba(7, 16, 7, .18);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.zhengems-footer-socials .wp-social-link-mail {
  background: #c8a45b !important;
}

.zhengems-footer-socials .wp-social-link-whatsapp {
  background: #25d366 !important;
}

.zhengems-footer-socials .wp-social-link-instagram {
  background: linear-gradient(135deg, #515bd4 0%, #8134af 30%, #dd2a7b 58%, #f58529 82%, #feda77 100%) !important;
}

.zhengems-footer-socials .wp-social-link-facebook {
  background: #0866ff !important;
}

.zhengems-footer-socials .wp-block-social-link-anchor {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
}

.zhengems-footer-socials .wp-social-link:hover,
.zhengems-footer-socials .wp-social-link:focus-within {
  color: #fff !important;
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(7, 16, 7, .26);
}

.zhengems-footer-socials .wp-social-link:focus-within {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.zhengems-footer-socials svg {
  width: clamp(22px, calc(18.333px + .295vw), 24px) !important;
  height: clamp(22px, calc(18.333px + .295vw), 24px) !important;
}

.zhengems-footer-bottom {
  min-height: 34px !important;
  margin: 0 !important;
  padding: 15px 4px 0 !important;
  align-items: flex-start !important;
  border-top: 1px solid rgba(255, 255, 255, .2) !important;
  color: rgba(255, 255, 255, .64) !important;
}

.zhengems-site-footer .zhengems-footer-bottom p,
.zhengems-site-footer .zhengems-footer-navigation--legal,
.zhengems-site-footer .zhengems-footer-navigation--legal .wp-block-navigation-item__content {
  min-height: 0 !important;
  color: rgba(255, 255, 255, .74) !important;
  font-size: clamp(12px, calc(10.167px + .1475vw), 13px) !important;
  line-height: 1.4 !important;
}

.zhengems-footer-navigation--legal {
  padding-right: 88px !important;
}

/* Keep the approved desktop split at tablet landscape widths without forcing
 * the Contact details into two tracks that cannot fit inside its 54% panel. */
@media (min-width: 901px) and (max-width: 1200px) {
  .zhengems-footer-contact__details {
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* The WhatsApp shortcut belongs to the viewport, never to the footer grid. */
.zhengems-whatsapp-float {
  position: fixed !important;
  z-index: 90 !important;
  top: auto !important;
  right: calc(24px + env(safe-area-inset-right, 0px)) !important;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  left: auto !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.zhengems-whatsapp-float .wp-social-link {
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  color: #fff !important;
  background: var(--zg-reference-olive) !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 5px 18px rgba(18, 19, 16, .24) !important;
}

.zhengems-whatsapp-float .wp-block-social-link-anchor {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 9px !important;
  place-items: center;
  box-sizing: border-box;
}

.zhengems-whatsapp-float svg {
  width: 24px !important;
  height: 24px !important;
}

@media (min-width: 901px) {
  .zhengems-page-home .zhengems-source-grid .zhengems-source-card,
  .zhengems-page-home .zhengems-source-grid > .wp-block-column .zhengems-source-card {
    min-height: 367px !important;
    height: auto !important;
    max-height: 688.125px;
    aspect-ratio: 512 / 367 !important;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .zhengems-primary-navigation .wp-block-navigation__container {
    gap: 54px !important;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .zhengems-page-home .zhengems-gemstone-section .zhengems-category-grid {
    grid-template-columns: 152fr 154fr 152fr 152fr 152fr 158fr !important;
  }

  .zhengems-page-home .zhengems-category-card {
    min-height: 272px;
    height: 272px;
  }

  .zhengems-page-home .zhengems-category-card__image {
    min-height: 135px;
    height: 135px !important;
    aspect-ratio: auto !important;
  }
}

@media (min-width: 1025px) {
  .zhengems-page-home .zhengems-gemstone-section {
    min-height: 417px !important;
    height: auto !important;
    overflow: visible !important;
  }

  .zhengems-page-home .zhengems-category-card {
    min-height: 272px;
    height: auto;
  }

  .zhengems-page-home .zhengems-category-card__image {
    min-height: 0;
    height: auto !important;
    aspect-ratio: 152 / 135 !important;
    background: transparent !important;
  }

  .zhengems-page-home .zhengems-category-card:nth-child(2) .zhengems-category-card__image {
    aspect-ratio: 154 / 135 !important;
  }

  .zhengems-page-home .zhengems-category-card:nth-child(6) .zhengems-category-card__image {
    aspect-ratio: 158 / 135 !important;
  }

  .zhengems-page-home .zhengems-category-card__fallback-image {
    object-fit: cover !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature {
    --zg-inquiry-copy-left: clamp(138px, 13.4765625vw, 184px);
    min-height: 231px !important;
    height: auto !important;
    max-height: 433.125px;
    aspect-ratio: 1024 / 231 !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature__copy {
    padding: 0 0 0 var(--zg-inquiry-copy-left) !important;
    justify-content: center;
  }

  .zhengems-page-home .zhengems-inquiry-feature::before {
    top: calc(50% - 69.5px);
    left: calc(var(--zg-inquiry-copy-left) - 90px);
  }
}

@media (min-width: 1101px) {
  nav.zhengems-primary-navigation {
    position: static;
    inset: auto;
    margin-left: auto !important;
    transform: translateY(2px);
  }

}

@media (max-width: 900px) {
  :root {
    --zg-reference-side: 22px;
  }

  .zhengems-site-header,
  .zhengems-header-inner {
    min-height: 76px !important;
    height: 76px !important;
  }

  .zhengems-brand-title,
  .zhengems-page-home .zhengems-provenance .zhengems-section-heading h2,
  .zhengems-page-home .zhengems-source-card h3,
  .zhengems-page-home .zhengems-gemstone-section .zhengems-section-heading h2,
  .zhengems-page-home .zhengems-inquiry-feature__copy h2 {
    transform: none;
  }

  .zhengems-brand-tagline,
  .zhengems-page-home .zhengems-home-title,
  .zhengems-page-home .zhengems-home-intro .zhengems-lead,
  .zhengems-page-home .zhengems-provenance .zhengems-section-heading .zhengems-lead,
  .zhengems-page-home .zhengems-gemstone-section .zhengems-section-heading .zhengems-lead,
  .zhengems-page-home .zhengems-inquiry-feature__copy > p:not(.zhengems-eyebrow, .zhengems-text-link),
  .zhengems-page-home .zhengems-inquiry-feature__copy .wp-block-buttons {
    transform: none;
  }

  .zhengems-primary-navigation {
    transform: none;
  }

  .zhengems-primary-navigation > .wp-block-navigation__responsive-container .wp-block-navigation-item__label,
  .zhengems-primary-navigation > .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content .wp-block-navigation-item__label {
    transform: none !important;
  }

  .zhengems-primary-navigation .wp-block-navigation__submenu-icon {
    transform: none;
  }

  .zhengems-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px auto;
    gap: 12px !important;
    padding-inline: var(--zg-reference-side) !important;
  }

  .zhengems-brand-lockup {
    min-width: 0;
    flex-basis: auto;
    transform: none;
  }

  .zhengems-brand-title {
    font-size: 24px !important;
    letter-spacing: 2.4px !important;
  }

  .zhengems-brand-tagline {
    margin-top: 6px !important;
    font-size: 6px !important;
    letter-spacing: 1.6px !important;
  }

  .zhengems-primary-navigation {
    grid-column: 2;
    margin: 0 !important;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container-open {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    place-items: center;
    color: var(--zg-reference-ink);
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container-open svg {
    width: 25px;
    height: 25px;
  }

  .zhengems-header-cta {
    grid-column: 3;
    min-width: 88px;
    margin: 0 !important;
  }

  .zhengems-header-cta .wp-block-button__link {
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: .2px !important;
    transform: none;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    z-index: 999 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    padding: calc(28px + env(safe-area-inset-top, 0px)) 24px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: auto !important;
    color: #fff !important;
    background: var(--zg-reference-footer) !important;
    box-sizing: border-box;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container-close {
    top: calc(18px + env(safe-area-inset-top, 0px)) !important;
    right: 18px !important;
    width: 44px;
    height: 44px;
    color: #fff !important;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container-content {
    padding-top: 64px !important;
    align-items: flex-start !important;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-dialog,
  .zhengems-primary-navigation .wp-block-navigation__responsive-container-content,
  .zhengems-primary-navigation .wp-block-navigation__container {
    width: 100%;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    display: block;
    width: 100%;
    min-height: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    width: auto;
    min-height: 58px;
    color: #fff !important;
    font-family: var(--zg-font-editorial) !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    letter-spacing: .04em !important;
    line-height: 1.1 !important;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon {
    display: none !important;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    position: static !important;
    display: grid !important;
    min-width: 0 !important;
    padding: 0 0 13px 18px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
    border: 0;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    min-height: 36px;
    color: rgba(255, 255, 255, .72) !important;
    font-family: var(--zg-font-ui) !important;
    font-size: 13px !important;
    letter-spacing: .04em !important;
  }

  .zhengems-page-home .zhengems-source-grid {
    grid-template-columns: 1fr !important;
    gap: 1px !important;
  }

  .zhengems-page-home .zhengems-source-grid .zhengems-source-card {
    min-height: 350px !important;
    height: 350px !important;
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column .zhengems-source-card {
    min-height: 350px !important;
    height: 350px !important;
  }

  .zhengems-page-home .zhengems-source-card .wp-block-cover__inner-container {
    padding: 0 28px 34px !important;
  }

  .zhengems-page-home .zhengems-gemstone-section {
    min-height: 0 !important;
    height: auto !important;
    padding: 31px 20px 34px !important;
    overflow: visible;
  }

  .zhengems-page-home .zhengems-gemstone-section .zhengems-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .zhengems-page-home .zhengems-category-card {
    height: auto;
  }

  .zhengems-page-home .zhengems-category-card__image {
    height: auto !important;
    min-height: 0;
    aspect-ratio: 152 / 135 !important;
  }

  .zhengems-page-home .zhengems-category-card__body {
    height: 100px;
    min-height: 100px !important;
    padding: 10px 11px !important;
    flex-basis: 100px !important;
  }

  .zhengems-page-home .zhengems-category-card__name {
    margin-bottom: 7px !important;
    font-size: 12px !important;
    white-space: normal;
  }

  .zhengems-page-home .zhengems-category-card__description {
    display: none !important;
  }

  .zhengems-page-home .zhengems-category-card__link {
    font-size: 8px !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature,
  .zhengems-page-home .zhengems-inquiry-feature__image,
  .zhengems-page-home .zhengems-inquiry-feature__image img {
    min-height: 350px !important;
    height: 350px !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature::before {
    top: 35px;
    left: 24px;
    width: 48px;
    height: 48px;
    background-size: 26px 26px;
  }

  .zhengems-page-home .zhengems-inquiry-feature::after {
    background: linear-gradient(90deg, rgba(246, 241, 231, 1) 0%, rgba(246, 241, 231, .99) 57%, rgba(246, 241, 231, .9) 72%, rgba(246, 241, 231, .34) 100%);
  }

  .zhengems-page-home .zhengems-inquiry-feature__copy {
    width: 100% !important;
    max-width: 100% !important;
    padding: 105px 24px 35px !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature__copy h2 {
    width: min(100%, 360px);
    max-width: 360px !important;
    font-size: 30px !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature__copy > p:not(.zhengems-eyebrow, .zhengems-text-link) {
    width: min(100%, 285px);
    max-width: 285px !important;
    font-size: 13px !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature__image img {
    object-position: 80% center !important;
  }

  .zhengems-site-footer {
    min-height: 468px;
    padding: 28px 20px calc(80px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .zhengems-footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    margin-bottom: 28px !important;
  }

  .zhengems-footer-grid > .wp-block-column {
    padding: 0 !important;
    border-left: 0 !important;
  }

  .zhengems-footer-grid > .wp-block-column:first-child {
    grid-column: auto;
    padding: 0 0 28px !important;
  }

  .zhengems-footer-grid > .wp-block-column.zhengems-footer-contact {
    display: block !important;
    grid-column: auto !important;
    padding: 24px 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .2) !important;
    border-left: 0 !important;
  }

  .zhengems-site-footer .zhengems-footer-title {
    margin-bottom: 10px !important;
    font-size: 29px !important;
  }

  .zhengems-site-footer .zhengems-footer-note {
    max-width: 330px;
    font-size: 14px !important;
  }

  .zhengems-footer-heading {
    margin: 0 0 16px !important;
    font-size: 14px !important;
  }

  .zhengems-footer-contact .zhengems-footer-heading {
    text-align: left !important;
  }

  .zhengems-footer-contact__details {
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .zhengems-footer-navigation .wp-block-navigation-item,
  .zhengems-footer-navigation .wp-block-navigation-item__content,
  .zhengems-site-footer .zhengems-footer-address {
    min-height: 28px !important;
  }

  .zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content,
  .zhengems-site-footer .zhengems-footer-address {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .zhengems-site-footer .zhengems-footer-address,
  .zhengems-site-footer .zhengems-footer-navigation--contact .wp-block-navigation-item__content {
    padding-left: 27px !important;
  }

  .zhengems-site-footer .zhengems-footer-address::before,
  .zhengems-site-footer .zhengems-footer-navigation--contact .wp-block-navigation-item__content::before {
    top: 3px;
    width: 17px;
    height: 17px;
  }

  .zhengems-footer-socials {
    gap: 11px !important;
    margin-top: 22px !important;
  }

  .zhengems-footer-socials .wp-social-link {
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
  }

  .zhengems-footer-socials svg {
    width: 22px !important;
    height: 22px !important;
  }

  .zhengems-footer-bottom {
    padding-top: 16px !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .zhengems-footer-bottom p,
  .zhengems-footer-navigation--legal,
  .zhengems-footer-navigation--legal .wp-block-navigation-item__content {
    font-size: 12px !important;
  }

  .zhengems-footer-navigation--legal {
    padding-right: 0 !important;
  }

  .zhengems-whatsapp-float {
    right: calc(16px + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    width: 48px !important;
    height: 48px !important;
  }

  .zhengems-whatsapp-float .wp-social-link {
    width: 48px !important;
    height: 48px !important;
  }
}

@media (max-width: 620px) {
  :root {
    --zg-reference-side: 16px;
  }

  .zhengems-site-header,
  .zhengems-header-inner {
    min-height: var(--zg-header-height-mobile) !important;
    height: var(--zg-header-height-mobile) !important;
  }

  .zhengems-header-inner {
    grid-template-columns: minmax(0, 1fr) 42px auto;
    gap: 8px !important;
  }

  .zhengems-brand-title {
    font-size: var(--zg-brand-size-mobile) !important;
    letter-spacing: var(--zg-brand-tracking-mobile) !important;
  }

  .zhengems-brand-tagline {
    margin-top: 5px !important;
    font-size: var(--zg-tagline-size-mobile) !important;
    letter-spacing: var(--zg-tagline-tracking-mobile) !important;
  }

  .zhengems-header-cta {
    min-width: 80px;
  }

  .zhengems-header-cta .wp-block-button__link {
    padding-inline: 10px !important;
  }

  .zhengems-page-home .zhengems-home-intro {
    min-height: 98px !important;
    height: 98px;
    padding-inline: 18px !important;
  }

  .zhengems-page-home .zhengems-home-title {
    font-size: 10.5px !important;
    letter-spacing: 1.45px !important;
  }

  .zhengems-page-home .zhengems-home-intro .zhengems-lead {
    font-size: 15px !important;
  }

  .zhengems-page-home .zhengems-provenance > .zhengems-section-heading {
    min-height: 144px !important;
    height: 144px;
    padding-inline: 18px !important;
  }

  .zhengems-page-home .zhengems-provenance .zhengems-section-heading h2 {
    font-size: clamp(29px, 8.1vw, 32px) !important;
    letter-spacing: 1.2px !important;
  }

  .zhengems-page-home .zhengems-provenance .zhengems-section-heading .zhengems-lead {
    max-width: 325px !important;
    font-size: 12.5px !important;
  }

  .zhengems-page-home .zhengems-source-grid .zhengems-source-card {
    min-height: var(--zg-source-card-height-mobile) !important;
    height: var(--zg-source-card-height-mobile) !important;
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column .zhengems-source-card {
    min-height: var(--zg-source-card-height-mobile) !important;
    height: var(--zg-source-card-height-mobile) !important;
  }

  .zhengems-page-home .zhengems-source-card .wp-block-cover__inner-container {
    padding: 0 20px 27px !important;
  }

  .zhengems-page-home .zhengems-source-card h3 {
    font-size: var(--zg-source-title-size-mobile) !important;
  }

  .zhengems-page-home .zhengems-source-card p:not(.zhengems-cover-link) {
    max-width: min(var(--zg-source-text-max-width-mobile), calc(100vw - 40px));
    font-size: var(--zg-source-body-size-mobile) !important;
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card .wp-block-cover__inner-container {
    padding-left: 20px !important;
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column:first-child .zhengems-source-card p:not(.zhengems-cover-link),
  .zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card p:not(.zhengems-cover-link) {
    max-width: min(var(--zg-source-text-max-width-mobile), calc(100vw - 40px));
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card .zhengems-cover-link {
    width: min(100%, 209px);
  }

  .zhengems-page-home .zhengems-source-card .zhengems-cover-link {
    margin-top: 19px !important;
  }

  .zhengems-page-home .zhengems-gemstone-section {
    padding-inline: 16px !important;
  }

  .zhengems-page-home .zhengems-gemstone-section .zhengems-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .zhengems-page-home .zhengems-category-card__body {
    height: 96px;
    min-height: 96px !important;
    flex-basis: 96px !important;
  }

  .zhengems-site-footer .zhengems-footer-title {
    font-size: 29px !important;
  }
}

@media (max-width: 350px) {
  .zhengems-header-inner {
    grid-template-columns: minmax(0, 1fr) 40px 75px;
    gap: 5px !important;
    padding-inline: 12px !important;
  }

  .zhengems-primary-navigation {
    width: 40px;
  }

  .zhengems-primary-navigation .wp-block-navigation__responsive-container-open {
    box-sizing: border-box;
    width: 40px;
    min-width: 40px;
  }

  .zhengems-header-cta,
  .zhengems-header-cta .wp-block-button,
  .zhengems-header-cta .wp-block-button__link {
    width: 75px !important;
    min-width: 75px !important;
  }

  .zhengems-header-cta .wp-block-button__link {
    padding-inline: 8px !important;
  }

  .zhengems-brand-title {
    font-size: 19px !important;
    letter-spacing: 1.5px !important;
  }

  .zhengems-brand-tagline {
    font-size: 5px !important;
    letter-spacing: 1px !important;
  }

  .zhengems-site-footer {
    min-height: 486px;
    padding: 26px 18px calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .zhengems-footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .zhengems-site-footer .zhengems-footer-title {
    font-size: 27px !important;
  }

  .zhengems-site-footer .zhengems-footer-note,
  .zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content,
  .zhengems-site-footer .zhengems-footer-address {
    font-size: 13.5px !important;
  }

  .zhengems-footer-contact__details {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .zhengems-footer-socials .wp-social-link {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
  }

  .zhengems-footer-socials svg {
    width: 21px !important;
    height: 21px !important;
  }

  .zhengems-footer-bottom p,
  .zhengems-footer-navigation--legal,
  .zhengems-footer-navigation--legal .wp-block-navigation-item__content {
    font-size: 12px !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature::after {
    background: linear-gradient(90deg, rgba(246, 241, 231, 1) 0%, rgba(246, 241, 231, 1) 68%, rgba(246, 241, 231, .86) 88%, rgba(246, 241, 231, .4) 100%);
  }

  .zhengems-page-home .zhengems-inquiry-feature__image img {
    object-position: 100% center !important;
  }
}

/*
 * Ultrawide continuation of the approved desktop composition.
 *
 * The 1920px caps previously stopped the vertical rhythm while the grid kept
 * growing horizontally.  Past that point the cards now preserve their visual
 * proportions and the type/spacing grows gently to a bounded 2560px scale.
 * The site remains full bleed; only the internal hierarchy is rebalanced.
 */
@media (min-width: 1921px) {
  :root {
    --zg-header-height-desktop: clamp(87px, calc(18px + 3.59375vw), 110px);
    --zg-brand-size-desktop: clamp(34px, calc(4px + 1.5625vw), 44px);
    --zg-tagline-size-desktop: clamp(8px, calc(2px + .3125vw), 10px);
    --zg-source-title-size-desktop: clamp(32px, calc(-4px + 1.875vw), 44px);
    --zg-source-body-size-desktop: clamp(14px, calc(2px + .625vw), 18px);
    --zg-ultrawide-side: clamp(38px, calc(-40px + 4.0625vw), 64px);
  }

  .zhengems-header-inner {
    padding-inline: var(--zg-ultrawide-side) !important;
  }

  .zhengems-brand-lockup {
    flex-basis: clamp(205px, calc(10px + 10.15625vw), 270px);
  }

  .zhengems-primary-navigation .wp-block-navigation__container {
    gap: clamp(54px, calc(12px + 2.1875vw), 68px) !important;
  }

  .zhengems-primary-navigation .wp-block-navigation-item__content {
    font-size: clamp(12px, calc(3px + .46875vw), 15px) !important;
  }

  .zhengems-header-cta {
    flex-basis: clamp(145px, calc(40px + 5.46875vw), 180px);
    margin-left: clamp(48px, calc(12px + 1.875vw), 60px) !important;
  }

  .zhengems-header-cta .wp-block-button__link {
    min-height: clamp(42px, calc(12px + 1.5625vw), 52px) !important;
    padding-inline: clamp(24px, calc(6px + .9375vw), 30px) !important;
    font-size: clamp(11px, calc(5px + .3125vw), 13px) !important;
  }

  .zhengems-page-home .zhengems-home-intro {
    min-height: clamp(94px, calc(16px + 4.0625vw), 120px) !important;
    height: clamp(94px, calc(16px + 4.0625vw), 120px);
  }

  .zhengems-page-home .zhengems-home-title {
    font-size: clamp(14px, calc(5px + .46875vw), 17px) !important;
  }

  .zhengems-page-home .zhengems-home-intro .zhengems-lead {
    font-size: clamp(18px, calc(6px + .625vw), 22px) !important;
  }

  .zhengems-page-home .zhengems-provenance > .zhengems-section-heading {
    min-height: clamp(145px, calc(25px + 6.25vw), 185px) !important;
    height: clamp(145px, calc(25px + 6.25vw), 185px);
    padding: clamp(18px, calc(0px + .9375vw), 24px) 24px clamp(15px, calc(-6px + 1.09375vw), 22px) !important;
  }

  .zhengems-page-home .zhengems-provenance .zhengems-section-heading h2 {
    font-size: clamp(41px, calc(8px + 1.71875vw), 52px) !important;
  }

  .zhengems-page-home .zhengems-provenance .zhengems-section-heading h2::after {
    width: clamp(63px, calc(12px + 2.65625vw), 80px) !important;
    margin-top: clamp(16px, calc(4px + .625vw), 20px) !important;
  }

  .zhengems-page-home .zhengems-provenance .zhengems-section-heading .zhengems-lead {
    max-width: 520px !important;
    font-size: clamp(14px, calc(2px + .625vw), 18px) !important;
    line-height: 1.6 !important;
  }

  .zhengems-page-home .zhengems-source-grid .zhengems-source-card,
  .zhengems-page-home .zhengems-source-grid > .wp-block-column .zhengems-source-card {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 512 / 367 !important;
  }

  .zhengems-page-home .zhengems-source-card .wp-block-cover__inner-container {
    padding: 0 var(--zg-ultrawide-side) clamp(41px, calc(-52px + 4.84375vw), 72px) !important;
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card .wp-block-cover__inner-container {
    padding-left: clamp(34px, calc(-44px + 4.0625vw), 60px) !important;
  }

  .zhengems-page-home .zhengems-source-card h3 {
    margin-bottom: clamp(13px, calc(-2px + .78125vw), 18px) !important;
  }

  .zhengems-page-home .zhengems-source-card-rule {
    width: clamp(72px, calc(0px + 3.75vw), 96px) !important;
    margin-bottom: clamp(15px, calc(0px + .78125vw), 20px) !important;
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column:first-child .zhengems-source-card-rule {
    width: clamp(65px, calc(-10px + 3.90625vw), 90px) !important;
  }

  .zhengems-page-home .zhengems-source-card p:not(.zhengems-cover-link) {
    max-width: clamp(270px, calc(60px + 10.9375vw), 340px);
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column:first-child .zhengems-source-card p:not(.zhengems-cover-link) {
    max-width: clamp(217px, calc(-62px + 14.53125vw), 310px);
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card p:not(.zhengems-cover-link) {
    max-width: clamp(195px, calc(-60px + 13.28125vw), 280px);
  }

  .zhengems-page-home .zhengems-source-card .zhengems-cover-link {
    width: min(100%, clamp(194px, calc(26px + 8.75vw), 250px));
    margin-top: clamp(26px, calc(2px + 1.25vw), 34px) !important;
  }

  .zhengems-page-home .zhengems-source-grid > .wp-block-column:last-child .zhengems-source-card .zhengems-cover-link {
    width: min(100%, clamp(209px, calc(26px + 9.53125vw), 270px));
  }

  .zhengems-page-home .zhengems-source-card .zhengems-cover-link a {
    min-height: clamp(42px, calc(12px + 1.5625vw), 52px);
    padding-inline: clamp(18px, calc(0px + .9375vw), 24px);
    font-size: clamp(11px, calc(2px + .46875vw), 14px) !important;
  }

  .zhengems-page-home .zhengems-source-card .zhengems-cover-link a::after {
    font-size: clamp(17px, calc(2px + .78125vw), 22px);
  }

  .zhengems-page-home .zhengems-gemstone-section {
    padding:
      clamp(29px, calc(-10px + 2.03125vw), 42px)
      clamp(38px, calc(-16px + 2.8125vw), 56px)
      clamp(34px, calc(-8px + 2.1875vw), 48px)
      clamp(36px, calc(-18px + 2.8125vw), 54px) !important;
  }

  .zhengems-page-home .zhengems-gemstone-section .zhengems-section-heading {
    margin-bottom: clamp(17px, calc(-4px + 1.09375vw), 24px) !important;
  }

  .zhengems-page-home .zhengems-gemstone-section .zhengems-section-heading h2 {
    font-size: clamp(38px, calc(2px + 1.875vw), 50px) !important;
  }

  .zhengems-page-home .zhengems-gemstone-section .zhengems-section-heading .zhengems-lead {
    font-size: clamp(14px, calc(2px + .625vw), 18px) !important;
  }

  .zhengems-page-home .zhengems-gemstone-section .zhengems-category-grid {
    gap: clamp(6px, calc(0px + .3125vw), 8px) !important;
  }

  .zhengems-page-home .zhengems-category-card__body {
    height: clamp(137px, calc(-52px + 9.84375vw), 200px);
    padding:
      clamp(14px, calc(-10px + 1.25vw), 22px)
      clamp(18px, calc(-12px + 1.5625vw), 28px)
      clamp(20px, calc(-10px + 1.5625vw), 30px) !important;
    flex-basis: clamp(137px, calc(-52px + 9.84375vw), 200px) !important;
  }

  .zhengems-page-home .zhengems-category-card__name {
    margin-bottom: clamp(7px, calc(-2px + .46875vw), 10px) !important;
    font-size: clamp(15px, calc(-12px + 1.40625vw), 24px) !important;
    line-height: 1.18 !important;
  }

  .zhengems-page-home .zhengems-category-card__description {
    max-width: 260px;
    min-height: clamp(39px, calc(-18px + 2.96875vw), 58px) !important;
    font-size: clamp(10.5px, calc(-6px + .859375vw), 16px) !important;
    line-height: 1.5 !important;
  }

  .zhengems-page-home .zhengems-category-card__link {
    width: 100%;
    font-size: clamp(9px, calc(-6px + .78125vw), 14px) !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature {
    --zg-inquiry-copy-left: clamp(184px, calc(16px + 8.75vw), 240px);
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1024 / 231 !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature__copy {
    width: clamp(620px, calc(80px + 28.125vw), 800px) !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature::before {
    top: calc(50% - clamp(69.5px, calc(8px + 3.203125vw), 90px));
    left: calc(var(--zg-inquiry-copy-left) - clamp(90px, calc(12px + 4.0625vw), 116px));
    width: clamp(60px, calc(12px + 2.5vw), 76px);
    height: clamp(60px, calc(12px + 2.5vw), 76px);
    background-size: clamp(30px, calc(6px + 1.25vw), 38px) clamp(30px, calc(6px + 1.25vw), 38px);
  }

  .zhengems-page-home .zhengems-inquiry-feature__copy h2 {
    width: clamp(480px, calc(0px + 25vw), 640px);
    max-width: clamp(480px, calc(0px + 25vw), 640px) !important;
    margin-bottom: clamp(10px, calc(-2px + .625vw), 14px) !important;
    font-size: clamp(24px, calc(-6px + 1.5625vw), 34px) !important;
    line-height: clamp(34px, calc(4px + 1.5625vw), 44px) !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature__copy > p:not(.zhengems-eyebrow, .zhengems-text-link) {
    width: clamp(340px, calc(40px + 15.625vw), 440px);
    max-width: clamp(340px, calc(40px + 15.625vw), 440px) !important;
    margin-bottom: clamp(18px, calc(0px + .9375vw), 24px) !important;
    font-size: clamp(14px, calc(2px + .625vw), 18px) !important;
    line-height: clamp(21.5px, calc(2px + 1.015625vw), 28px) !important;
  }

  .zhengems-page-home .zhengems-inquiry-feature__copy .wp-block-button__link {
    min-width: clamp(200px, calc(20px + 9.375vw), 260px);
    min-height: clamp(41px, calc(8px + 1.71875vw), 52px);
    padding-inline: clamp(21px, calc(0px + 1.09375vw), 28px);
    font-size: clamp(11px, calc(2px + .46875vw), 14px) !important;
  }

  .zhengems-site-footer {
    min-height: clamp(288px, calc(204px + 4.375vw), 316px);
    padding:
      clamp(38px, calc(20px + .9375vw), 44px)
      clamp(48px, calc(0px + 2.5vw), 64px)
      clamp(13px, calc(4px + .46875vw), 16px) !important;
  }

  .zhengems-footer-grid > .wp-block-column:first-child {
    padding: 0 clamp(63px, calc(6px + 3vw), 82px) 0 clamp(10px, calc(4px + .3125vw), 12px) !important;
  }

  .zhengems-footer-grid > .wp-block-column.zhengems-footer-contact {
    padding: 0 clamp(10px, calc(4px + .3125vw), 12px) 0 clamp(66px, calc(0px + 3.4375vw), 88px) !important;
  }

  .zhengems-site-footer .zhengems-footer-title {
    font-size: clamp(36px, calc(18px + .9375vw), 42px) !important;
  }

  .zhengems-site-footer .zhengems-footer-note {
    max-width: clamp(390px, calc(270px + 6.25vw), 430px);
    font-size: clamp(15px, calc(12px + .15625vw), 16px) !important;
  }

  .zhengems-footer-heading {
    margin-bottom: clamp(18px, calc(6px + .625vw), 22px) !important;
    font-size: clamp(15px, calc(12px + .15625vw), 16px) !important;
  }

  .zhengems-footer-contact__details {
    max-width: 860px;
    gap: clamp(56px, calc(8px + 2.5vw), 72px);
  }

  .zhengems-footer-navigation .wp-block-navigation-item,
  .zhengems-footer-navigation .wp-block-navigation-item__content {
    min-height: clamp(34px, calc(22px + .625vw), 38px) !important;
  }

  .zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content,
  .zhengems-site-footer .zhengems-footer-address {
    font-size: clamp(16px, calc(13px + .15625vw), 17px) !important;
  }

  .zhengems-site-footer .zhengems-footer-address,
  .zhengems-site-footer .zhengems-footer-navigation--contact .wp-block-navigation-item__content {
    padding-left: clamp(31px, calc(22px + .46875vw), 34px) !important;
  }

  .zhengems-site-footer .zhengems-footer-address::before,
  .zhengems-site-footer .zhengems-footer-navigation--contact .wp-block-navigation-item__content::before {
    width: clamp(18px, calc(12px + .3125vw), 20px);
    height: clamp(18px, calc(12px + .3125vw), 20px);
  }

  .zhengems-footer-socials {
    gap: clamp(12px, calc(6px + .3125vw), 14px) !important;
    margin-top: clamp(24px, calc(12px + .625vw), 28px) !important;
  }

  .zhengems-footer-socials .wp-social-link {
    width: clamp(46px, calc(40px + .3125vw), 48px) !important;
    height: clamp(46px, calc(40px + .3125vw), 48px) !important;
    border-radius: clamp(11px, calc(8px + .15625vw), 12px) !important;
  }

  .zhengems-footer-socials svg {
    width: clamp(24px, calc(21px + .15625vw), 25px) !important;
    height: clamp(24px, calc(21px + .15625vw), 25px) !important;
  }

  .zhengems-footer-bottom p,
  .zhengems-footer-navigation--legal,
  .zhengems-footer-navigation--legal .wp-block-navigation-item__content {
    font-size: clamp(13px, calc(10px + .15625vw), 14px) !important;
  }

  .zhengems-whatsapp-float {
    right: calc(clamp(24px, calc(0px + 1.25vw), 32px) + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(clamp(24px, calc(0px + 1.25vw), 32px) + env(safe-area-inset-bottom, 0px)) !important;
    width: clamp(52px, calc(22px + 1.5625vw), 62px) !important;
    height: clamp(52px, calc(22px + 1.5625vw), 62px) !important;
  }

  .zhengems-whatsapp-float .wp-social-link {
    width: 100% !important;
    height: 100% !important;
  }
}

/* 2026-09-16: larger two-panel footer type and vertical rhythm. */
.zhengems-site-footer {
  min-height: clamp(288px, calc(214px + 5vw), 324px);
  padding:
    clamp(40px, calc(25px + 1vw), 48px)
    clamp(40px, calc(20px + 1.4vw), 54px)
    clamp(16px, calc(10px + .4vw), 19px) !important;
}

.zhengems-site-footer .zhengems-footer-title {
  margin-bottom: 14px !important;
  font-size: clamp(34px, calc(22px + .8vw), 42px) !important;
}

.zhengems-site-footer .zhengems-footer-note {
  max-width: 430px;
  font-size: clamp(15px, calc(12px + .22vw), 17px) !important;
  line-height: 1.62 !important;
}

.zhengems-footer-heading {
  margin-bottom: 20px !important;
  font-size: clamp(15px, calc(12px + .22vw), 17px) !important;
}

.zhengems-footer-navigation .wp-block-navigation-item,
.zhengems-footer-navigation .wp-block-navigation-item__content,
.zhengems-site-footer .zhengems-footer-address {
  min-height: clamp(34px, calc(26px + .55vw), 39px) !important;
}

.zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content,
.zhengems-site-footer .zhengems-footer-address {
  font-size: clamp(16px, calc(13px + .22vw), 18px) !important;
}

.zhengems-footer-socials {
  margin-top: 26px !important;
}

.zhengems-footer-socials .wp-social-link {
  width: clamp(46px, calc(39px + .48vw), 52px) !important;
  height: clamp(46px, calc(39px + .48vw), 52px) !important;
}

.zhengems-footer-socials svg {
  width: clamp(24px, calc(21px + .2vw), 26px) !important;
  height: clamp(24px, calc(21px + .2vw), 26px) !important;
}

.zhengems-site-footer .zhengems-footer-bottom p,
.zhengems-site-footer .zhengems-footer-navigation--legal,
.zhengems-site-footer .zhengems-footer-navigation--legal .wp-block-navigation-item__content {
  font-size: clamp(13px, calc(11px + .15vw), 14px) !important;
}

/* Once the two information panels stack at tablet widths, retain the larger
 * footer rhythm and reserve a clear viewport-safe zone for the fixed WhatsApp
 * shortcut. The shortcut must never cover the legal row or contact details. */
@media (min-width: 701px) and (max-width: 900px) {
  .zhengems-site-footer {
    min-height: 620px;
    padding: 40px 32px calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .zhengems-site-footer .zhengems-footer-title {
    font-size: 36px !important;
  }

  .zhengems-site-footer .zhengems-footer-note,
  .zhengems-footer-heading {
    font-size: 16px !important;
  }

  .zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content,
  .zhengems-site-footer .zhengems-footer-address {
    font-size: 17px !important;
  }

  .zhengems-footer-socials .wp-social-link {
    width: 48px !important;
    height: 48px !important;
  }

  .zhengems-footer-socials svg {
    width: 25px !important;
    height: 25px !important;
  }

  .zhengems-site-footer .zhengems-footer-bottom p,
  .zhengems-site-footer .zhengems-footer-navigation--legal,
  .zhengems-site-footer .zhengems-footer-navigation--legal .wp-block-navigation-item__content {
    font-size: 14px !important;
  }
}

@media (max-width: 700px) {
  .zhengems-site-footer {
    min-height: 540px;
    padding: 36px 24px calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .zhengems-footer-grid > .wp-block-column:first-child {
    padding-bottom: 32px !important;
  }

  .zhengems-footer-grid > .wp-block-column.zhengems-footer-contact {
    padding-top: 28px !important;
  }

  .zhengems-site-footer .zhengems-footer-title {
    font-size: 32px !important;
  }

  .zhengems-site-footer .zhengems-footer-note,
  .zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content,
  .zhengems-site-footer .zhengems-footer-address {
    font-size: 15px !important;
  }

  .zhengems-footer-heading {
    font-size: 15px !important;
  }

  .zhengems-footer-navigation .wp-block-navigation-item,
  .zhengems-footer-navigation .wp-block-navigation-item__content,
  .zhengems-site-footer .zhengems-footer-address {
    min-height: 32px !important;
  }

  .zhengems-footer-socials .wp-social-link {
    width: 48px !important;
    height: 48px !important;
  }

  .zhengems-site-footer .zhengems-footer-bottom p,
  .zhengems-site-footer .zhengems-footer-navigation--legal,
  .zhengems-site-footer .zhengems-footer-navigation--legal .wp-block-navigation-item__content {
    font-size: 13px !important;
  }
}

@media (max-width: 360px) {
  .zhengems-site-footer {
    min-height: 548px;
    padding-inline: 18px !important;
  }

  .zhengems-site-footer .zhengems-footer-title {
    font-size: 30px !important;
  }

  .zhengems-site-footer .zhengems-footer-note,
  .zhengems-site-footer .zhengems-footer-navigation .wp-block-navigation-item__content,
  .zhengems-site-footer .zhengems-footer-address,
  .zhengems-footer-heading {
    font-size: 14px !important;
  }

  .zhengems-footer-socials .wp-social-link {
    width: 44px !important;
    height: 44px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zhengems-primary-navigation *,
  .zhengems-footer-socials *,
  .zhengems-whatsapp-float * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
