/* YOCON brand red (#D32D25) — overrides legacy EnginZyme yellow accents */
:root {
  --brand-primary: #D32D25;
}

.bg-yellow,
.before\:bg-yellow::before {
  --tw-bg-opacity: 1;
  background-color: rgb(211 45 37 / var(--tw-bg-opacity, 1));
}

.text-yellow {
  --tw-text-opacity: 1;
  color: rgb(211 45 37 / var(--tw-text-opacity, 1));
}

.hover\:text-yellow:hover {
  --tw-text-opacity: 1;
  color: rgb(211 45 37 / var(--tw-text-opacity, 1));
}

.hover\:before\:bg-yellow:hover::before {
  --tw-bg-opacity: 1;
  background-color: rgb(211 45 37 / var(--tw-bg-opacity, 1));
}

.group:hover .group-hover\:before\:bg-yellow::before {
  --tw-bg-opacity: 1;
  background-color: rgb(211 45 37 / var(--tw-bg-opacity, 1));
}

img.yocon-brand-splash {
  object-fit: cover;
  object-position: center;
  background-color: #000;
}

/* Triptych 下方卡片 — 与上方 bg-shark 卡片一致 */
.triptych__stg.bg-yellow {
  background-color: rgb(40 40 44) !important;
}

.triptych__stg.bg-yellow h3,
.triptych__stg.bg-yellow p,
.triptych__stg.bg-yellow .text-shark,
.triptych__stg.bg-yellow [class*="text-shark"] {
  color: rgb(240 240 240) !important;
  opacity: 1 !important;
}

.triptych__stg.bg-yellow figure,
.triptych__stg.bg-yellow figure.bg-rio-grande {
  background-color: rgb(19 19 20) !important;
  color: rgb(240 240 240) !important;
}

.titleEl.yocon-triptych-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.yocon-triptych-copy__brand {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.yocon-triptych-copy__logo {
  color: #d32d25;
  letter-spacing: 0.14em;
}

.yocon-triptych-copy__name {
  color: #fff;
  margin-left: 0.35em;
  letter-spacing: 0.06em;
}

.yocon-triptych-copy__reg {
  font-size: 0.45em;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.1em;
}

.yocon-triptych-copy__tagline {
  margin: 0 0 20px;
  font-size: clamp(18px, 2.8vw, 36px);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.35;
}

.titleEl.yocon-triptych-copy h2 {
  margin: 0 !important;
  line-height: 1;
}

.titleEl.yocon-triptych-copy h2 .value,
.titleEl.yocon-triptych-copy h2 span {
  line-height: 1;
}

.titleEl.yocon-triptych-copy > p.font-mdio {
  margin: 16px 0 0;
  max-width: 24em;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.08em;
  text-transform: none;
  opacity: 0.92;
  line-height: 1.4;
}

.triptych__stg figure {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
}

.triptych__stg figure picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.triptych__stg figure img {
  display: block;
  width: 72% !important;
  height: 72% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.triptych__stg > div > p {
  font-size: clamp(11px, 0.95vw, 15px) !important;
  line-height: 1.55 !important;
  max-width: 26em;
  text-wrap: pretty;
}

.triptych__stg h3 {
  margin-bottom: 4px;
}

.yocon-footer-brand-host {
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.yocon-footer-brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px 56px;
  width: 100%;
  max-width: none;
  text-align: left;
}

.yocon-footer-brand__col--brand {
  flex-shrink: 0;
  width: min(220px, 34%);
}

.yocon-footer-brand__col--info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.yocon-footer-brand__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.yocon-footer-brand__icon {
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}

.yocon-footer-brand__titles {
  min-width: 0;
}

.yocon-footer-brand__name {
  margin: 0;
  color: rgb(240 240 240);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.yocon-footer-brand__subtitle {
  margin: 6px 0 0;
  color: rgb(255 255 255 / 0.55);
  font-size: 12px;
  line-height: 1.45;
}

.yocon-footer-brand__qr {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.yocon-footer-brand__qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.yocon-footer-brand__qr-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  padding: 8px;
  background: #fff;
  border-radius: 4px;
}

.yocon-footer-brand__qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yocon-footer-brand__qr-label {
  color: rgb(255 255 255 / 0.85);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.yocon-footer-brand__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
}

.yocon-footer-brand__contact-row {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 8px 0;
  font-size: 13px;
  line-height: 1.55;
}

.yocon-footer-brand__contact-row dt {
  color: rgb(255 255 255 / 0.5);
  font-weight: 400;
  white-space: nowrap;
}

.yocon-footer-brand__contact-row dd {
  margin: 0;
  color: rgb(255 255 255 / 0.92);
}

@media (max-width: 1023px) {
  .yocon-footer-brand {
    flex-direction: column;
    gap: 28px;
  }

  .yocon-footer-brand__col--brand {
    width: 100%;
  }

  .yocon-footer-brand__header {
    flex-direction: row;
    align-items: center;
  }

  .yocon-footer-brand__contact-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

footer.bg-shark .footer__container::before {
  display: none !important;
}

@media (min-width: 1024px) {
  footer.bg-shark .footer__container > .flex.lg\\:flex-row {
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  footer.bg-shark .yocon-footer-brand-host {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    box-sizing: border-box;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    padding-right: 28px;
  }

  footer.bg-shark .yocon-footer-nav-host {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    box-sizing: border-box;
    min-width: 0;
    margin-top: 48px;
    padding-bottom: 48px;
    padding-left: 8px;
  }
}

.yocon-footer-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 12px;
  width: 100%;
}

.yocon-footer-nav__col {
  min-width: 0;
}

.yocon-footer-nav__title {
  display: block;
  margin: 0 0 12px;
  color: rgb(240 240 240);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.yocon-footer-nav__title:hover {
  color: #d32d25;
}

.yocon-footer-nav__sub {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yocon-footer-nav__sub-link {
  display: block;
  color: rgb(255 255 255 / 0.55);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
  word-break: break-word;
}

.yocon-footer-nav__sub-link:hover {
  color: rgb(255 255 255 / 0.88);
}

@media (max-width: 1200px) {
  .yocon-footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  footer.bg-shark .yocon-footer-brand-host,
  footer.bg-shark .yocon-footer-nav-host {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0;
    padding-left: 0;
  }

  footer.bg-shark .yocon-footer-nav-host {
    margin-top: 0;
    margin-bottom: 48px;
  }

  .yocon-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
}

.yocon-footer-wechat {
  cursor: default;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yocon-footer-wechat__icon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
