#header-outer .right-aligned-menu-items .menu-item-912 > a,#header-outer .right-aligned-menu-items .menu-item-913 > a{font-size:13px !important;font-weight:600;letter-spacing:.06em;padding-left:6px !important;padding-right:6px !important}#header-outer .right-aligned-menu-items .menu-item-913 > a .menu-title-text::before{content:"|";margin-right:10px;font-weight:400;opacity:.45}
#header-outer .nectar-mobile-only.mobile-header .inner ul{align-items:center}#header-outer .nectar-mobile-only.mobile-header .menu-item-912,#header-outer .nectar-mobile-only.mobile-header .menu-item-913{margin:0 !important}#header-outer .nectar-mobile-only.mobile-header .menu-item-912 > a,#header-outer .nectar-mobile-only.mobile-header .menu-item-913 > a{font-size:13px !important;font-weight:600;letter-spacing:.04em;padding:0 4px !important;line-height:22px}#header-outer .nectar-mobile-only.mobile-header .menu-item-913 > a .menu-title-text::before{content:"|";margin-right:8px;font-weight:400;opacity:.45}@media only screen and (min-width:1000px) and (max-width:1400px){#header-outer #top .span_9>.nectar-mobile-only.mobile-header{position:absolute;right:112px;top:50%;transform:translateY(-50%);height:auto;width:auto;margin:0;z-index:20}}
/* STMHK redesign — paste into Appearance → Customize → Additional CSS
   (or Salient → General Settings → Custom CSS / Custom CSS Code).
   Scope: content area only. Does NOT restyle Salient header / footer / nav.
   Goals: bigger body, mingti headings (Eva feel), spacing, icon grid, FAQ, carousel. */
/* ---------- Body typography ---------- */
.main-content,
.container-wrap .main-content,
#ajax-content-wrap .post-content,
.entry-content,
.wpb_wrapper {
  font-size: 18px;
  line-height: 1.7;
  color: #222;
}
@media (max-width: 690px) {
  .main-content,
  .container-wrap .main-content,
  #ajax-content-wrap .post-content,
  .entry-content,
  .wpb_wrapper {
    font-size: 16px;
  }
}
.entry-content p,
.entry-content li,
.wpb_text_column p,
.wpb_text_column li {
  font-size: inherit;
  line-height: 1.7;
}
/* ---------- Mingti / Eva-style headings ---------- */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.wpb_wrapper h1,
.wpb_wrapper h2,
.wpb_wrapper h3,
.main-content h1,
.main-content h2,
.main-content h3 {
  font-family: "Noto Serif TC", "Noto Serif CJK TC", "Source Han Serif TC", "Songti TC", "Hiragino Mincho ProN", serif !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #111;
}
.entry-content h1,
.wpb_wrapper h1 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-weight: 500; }
.entry-content h2,
.wpb_wrapper h2 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.entry-content h3,
.wpb_wrapper h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 500; }
/* ---------- Vertical rhythm ---------- */
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > figure,
.entry-content > .wp-block-image,
.entry-content > .wp-block-gallery,
.entry-content > .wp-block-buttons,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-group {
  margin-top: 0;
  margin-bottom: 1.5em;
}
.entry-content h2 {
  margin-top: 2em;
  margin-bottom: 1em;
}
.entry-content h3 {
  margin-top: 1.6em;
  margin-bottom: 0.75em;
}
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content li + li {
  margin-top: 0.4em;
}
/* ---------- Product cards (Gutenberg) ---------- */
.stmhk-product-card {
  border: 1px solid #222;
  background: #fff;
  padding: 1.25rem 1.35rem 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;}
.stmhk-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  border-color: #111;
}
.stmhk-product-card a.stmhk-product-card__link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
}
.stmhk-product-card h3 {
  margin: 0 !important;
  font-size: 1.15rem !important;
}
.stmhk-product-card ul {
  margin: 0;
  padding-left: 1.1em;
  flex: 1;
}
.stmhk-product-card .wp-block-image,
.stmhk-product-card figure {
  margin: 0 0 0.5rem;
}
.stmhk-product-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* ---------- Horizontal photo strip / carousel helper ---------- */
/* Gutenberg gallery with class `stmhk-carousel`: one-row horizontal flick.
   Pair with overflow scroll; native scrollbar + swipe on touch. */
.entry-content .wp-block-gallery.stmhk-carousel,
.entry-content .stmhk-carousel.wp-block-gallery,
.stmhk-carousel.wp-block-gallery.has-nested-images {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;
  margin-bottom: 2em;
}
.entry-content .wp-block-gallery.stmhk-carousel > .wp-block-image,
.stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image {
  flex: 0 0 min(72vw, 280px) !important;
  width: min(72vw, 280px) !important;
  max-width: min(72vw, 280px) !important;
  scroll-snap-align: start;
  margin: 0 !important;
}
.stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
@media (min-width: 1000px) {
  .entry-content .wp-block-gallery.stmhk-carousel > .wp-block-image,
  .stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image {
    flex-basis: 240px !important;
    width: 240px !important;
    max-width: 240px !important;
  }
  .stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image img {
    height: 220px;
  }
}
/* ---------- Contact icon grid (九宮格) ---------- */
.stmhk-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 1.5em 0 2em;
}
@media (max-width: 690px) {
  .stmhk-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
.stmhk-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;  gap: 0.55rem;
  padding: 1.4rem 1rem;
  background: #fff;
  border: 1px solid #222;
  color: #111;
  text-decoration: none !important;
  min-height: 140px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.stmhk-icon-card:hover,
.stmhk-icon-card:focus {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  border-color: #000;
  background: #111;
  color: #fff !important;
}
.stmhk-icon-card .stmhk-icon-card__icon {
  font-size: 1.85rem;
  line-height: 1;
  display: block;
}
.stmhk-icon-card .stmhk-icon-card__label {
  font-family: "Noto Serif TC", "Noto Serif CJK TC", "Source Han Serif TC", "Songti TC", serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}
.stmhk-icon-card .stmhk-icon-card__sub {
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.85;
  word-break: break-word;
}
a.stmhk-icon-card.is-static,
.stmhk-icon-card.is-static {
  cursor: default;
}
a.stmhk-icon-card.is-static:hover {
  /* still allow subtle hover for hours card */
}
/* ---------- Native FAQ accordion (details/summary) ---------- */
.entry-content details.stmhk-faq,
.stmhk-faq-list details {
  border: 1px solid #ddd;
  border-left: 3px solid #111;
  background: #fff;
  margin: 0 0 0.75em;
  padding: 0;
}
.entry-content details.stmhk-faq > summary,
.stmhk-faq-list details > summary {
  font-family: "Noto Serif TC", "Noto Serif CJK TC", "Source Han Serif TC", "Songti TC", serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.15rem;
  position: relative;
}
.entry-content details.stmhk-faq > summary::-webkit-details-marker,
.stmhk-faq-list details > summary::-webkit-details-marker {
  display: none;
}
.entry-content details.stmhk-faq > summary::after,
.stmhk-faq-list details > summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  font-size: 1.2rem;
}
.entry-content details.stmhk-faq[open] > summary::after,
.stmhk-faq-list details[open] > summary::after {
  content: "–";
}
.entry-content details.stmhk-faq > *:not(summary),
.stmhk-faq-list details > *:not(summary) {
  padding: 0 1.15rem 1.1rem;
  margin-top: 0;
}
.entry-content .stmhk-faq-intro {
  margin-bottom: 1.25em;
}
/* ---------- Soften WP default gallery crop conflict inside carousel ---------- */
.stmhk-carousel.is-cropped .wp-block-image {
  margin: 0;
}
/* STMHK hub cards — append after typography.css
   Equal thumb crops +「了解更多」pin to card bottom. */
.stmhk-product-grid {
  gap: 1.5rem !important;
  margin-bottom: 1.75em;
}
.stmhk-product-card .wp-block-image img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.stmhk-product-card > p:last-of-type,
.stmhk-product-card .stmhk-hub-more {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.stmhk-product-card .stmhk-hub-more a,
.stmhk-product-card a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
}
.stmhk-product-card:hover .stmhk-hub-more a,
.stmhk-product-card:hover a {
  border-bottom-color: transparent;
}
.stmhk-product-card p {
  margin: 0;
  line-height: 1.55;
  color: #333;
}
/* STMHK image ratio fix  uniform card size + 4:3 crop */
.stmhk-product-grid { justify-content: flex-start !important; }
@media (min-width: 782px) {
	.stmhk-product-grid > .wp-block-column {
		flex: 0 0 calc((100% - 3rem) / 3) !important;
		max-width: calc((100% - 3rem) / 3) !important;
	}
}
.stmhk-product-card figure,
.stmhk-product-card .wp-block-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin: 0 0 1em 0 !important;
	width: 100%;
}
.stmhk-product-card figure img,
.stmhk-product-card .wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center;
	transition: transform .4s ease;
}
.stmhk-product-card:hover figure img { transform: scale(1.04); }
.stmhk-product-card, .stmhk-product-card p { text-align: left !important; }
.stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image img {
	aspect-ratio: 4 / 3; object-fit: cover; height: auto;
}

/* STMHK polish v2 — TennantsUK-like fancy cards, spacing, brand contact icons */

/* ----- More breathing room ----- */
.entry-content p,
.wpb_text_column p {
  margin-top: 0;
  margin-bottom: 1.45em !important;
  line-height: 1.85 !important;
}
.entry-content h2,
.wpb_wrapper h2 {
  margin-top: 2em !important;
  margin-bottom: 1em !important;
  letter-spacing: 0.02em;
}
.entry-content h3,
.wpb_wrapper h3 {
  margin-top: 1.4em !important;
  margin-bottom: 0.7em !important;
}
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.6em !important;
  padding-left: 1.35em;
}
.entry-content li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}
.entry-content .wp-block-columns {
  margin-bottom: 2.25em !important;
}

/* ----- Fancy product cards (TennantsUK hover_desc style) ----- */
.stmhk-product-grid {
  gap: 12px !important;
  margin-bottom: 2.5em !important;
}
@media (min-width: 782px) {
  .stmhk-product-grid > .wp-block-column {
    flex: 0 0 calc((100% - 24px) / 3) !important;
    max-width: calc((100% - 24px) / 3) !important;
  }
}

.stmhk-product-card,
a.stmhk-fancy-card {
  position: relative !important;
  display: block !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #111 !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1;
  text-decoration: none !important;
  color: #fff !important;
  transform: none !important;
}
.stmhk-product-card:hover,
a.stmhk-fancy-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
}

.stmhk-product-card figure,
.stmhk-product-card .wp-block-image,
.stmhk-fancy-card figure,
.stmhk-fancy-card .wp-block-image {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}
.stmhk-product-card figure img,
.stmhk-product-card .wp-block-image img,
.stmhk-fancy-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
  filter: brightness(0.72);
}
.stmhk-product-card:hover figure img,
.stmhk-product-card:hover .wp-block-image img,
.stmhk-fancy-card:hover img {
  transform: scale(1.08);
}

/* base dark bottom gradient for title legibility */
.stmhk-product-card::before,
.stmhk-fancy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}
/* hover accent wash (TennantsUK-like warm gradient) */
.stmhk-product-card::after,
.stmhk-fancy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    225deg,
    rgba(180, 40, 20, 0) 30%,
    rgba(180, 40, 20, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.stmhk-product-card:hover::after,
.stmhk-fancy-card:hover::after {
  opacity: 1;
}

.stmhk-product-card .stmhk-fancy-card__text,
.stmhk-fancy-card .stmhk-fancy-card__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.15rem 1.2rem 1.25rem;
  color: #fff !important;
  text-align: left !important;
}
.stmhk-product-card h3,
.stmhk-fancy-card h3,
.stmhk-product-card .stmhk-fancy-card__text h3 {
  margin: 0 0 0.25em !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 1.2rem !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}
.stmhk-product-card .stmhk-fancy-card__text > p,
.stmhk-fancy-card .stmhk-fancy-card__text > p {
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
}
.stmhk-product-card .stmhk-hub-more,
.stmhk-fancy-card .stmhk-hub-more {
  margin: 0.55em 0 0 !important;
  padding: 0 !important;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  font-size: 0.88rem !important;
  letter-spacing: 0.03em;
}
.stmhk-product-card:hover .stmhk-hub-more,
.stmhk-fancy-card:hover .stmhk-hub-more {
  opacity: 1;
  transform: translateY(0);
}
.stmhk-product-card .stmhk-hub-more a,
.stmhk-fancy-card .stmhk-hub-more,
.stmhk-fancy-card .stmhk-hub-more a {
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
}

/* hide stray empty paragraphs in old card markup */
.stmhk-product-card > p:empty { display: none; }

/* ----- Contact brand logo grid (old-site style, smaller) ----- */
.stmhk-icon-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 20px !important;
  margin: 2em 0 2.5em !important;
  align-items: start;
}
@media (max-width: 690px) {
  .stmhk-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px !important;
  }
}
.stmhk-icon-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  gap: 0.55rem !important;
  padding: 0.35rem 0.25rem !important;
  min-height: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #111 !important;
  text-decoration: none !important;
  transition: transform 0.25s ease;
}
.stmhk-icon-card:hover,
.stmhk-icon-card:focus {
  transform: translateY(-4px) scale(1.03);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #111 !important;
}
.stmhk-icon-card .stmhk-icon-card__label {
  order: -1;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif !important;
  font-style: italic;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.02em;
  color: #111 !important;
}
.stmhk-icon-card .stmhk-icon-card__icon {
  font-size: 0 !important;
  width: 88px;
  height: 88px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.stmhk-icon-card .stmhk-icon-card__icon img {
  width: 88px !important;
  height: 88px !important;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  transition: filter 0.25s ease;
}
.stmhk-icon-card:hover .stmhk-icon-card__icon img {
  filter: none;
}
.stmhk-icon-card .stmhk-icon-card__sub {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  color: #444 !important;
  font-style: normal;
}
@media (min-width: 1000px) {
  .stmhk-icon-card .stmhk-icon-card__icon,
  .stmhk-icon-card .stmhk-icon-card__icon img {
    width: 100px !important;
    height: 100px !important;
  }
}


/* Fallback: existing hub markup without .stmhk-fancy-card__text wrapper */
.stmhk-product-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 0 0 1.1rem 0 !important;
}
.stmhk-product-card > h3.wp-block-heading,
.stmhk-product-card > h3,
.stmhk-product-card > p {
  position: relative;
  z-index: 3;
  color: #fff !important;
  padding-left: 1.2rem !important;
  padding-right: 1.2rem !important;
  margin: 0.2em 0 !important;
  text-align: left !important;
}
.stmhk-product-card > h3 {
  font-size: 1.15rem !important;
  line-height: 1.25 !important;
  margin-bottom: 0.2em !important;
}
.stmhk-product-card > p {
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
  color: rgba(255,255,255,0.92) !important;
}


/* polish-v3-spacing */
/* STMHK polish v3 — looser page rhythm (舊站舒服感，唔好似 A4 密排)
   Append AFTER polish-v2 in Appearance → Customize → Additional CSS */

/* Body line height a bit taller */
.main-content,
.container-wrap .main-content,
#ajax-content-wrap .post-content,
.entry-content,
.wpb_wrapper {
  line-height: 1.9 !important;
}

/* Paragraphs & lists: more air */
.entry-content p,
.wpb_text_column p {
  margin-top: 0 !important;
  margin-bottom: 1.85em !important;
  line-height: 1.9 !important;
}
.entry-content ul,
.entry-content ol,
.wpb_text_column ul,
.wpb_text_column ol {
  margin: 0 0 2em !important;
  padding-left: 1.4em;
}
.entry-content li,
.wpb_text_column li {
  margin-bottom: 0.65em !important;
  line-height: 1.85 !important;
}
.entry-content li + li {
  margin-top: 0.55em !important;
}

/* Headings: clear section breaks */
.entry-content h2,
.wpb_wrapper h2,
.main-content h2 {
  margin-top: 2.75em !important;
  margin-bottom: 1.25em !important;
}
.entry-content h3,
.wpb_wrapper h3,
.main-content h3 {
  margin-top: 2.1em !important;
  margin-bottom: 1em !important;
}
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content > *:first-child {
  margin-top: 0 !important;
}

/* Block sections: columns, groups, galleries, images */
.entry-content > .wp-block-columns,
.entry-content .wp-block-columns {
  margin-top: 0.5em !important;
  margin-bottom: 3em !important;
  gap: 2rem 1.75rem !important;
}
.entry-content > .wp-block-group,
.entry-content .wp-block-group {
  margin-bottom: 2.5em !important;
}
.entry-content > .wp-block-image,
.entry-content > figure.wp-block-image {
  margin-top: 1.5em !important;
  margin-bottom: 2.5em !important;
}
.entry-content > .wp-block-gallery,
.entry-content .wp-block-gallery:not(.stmhk-carousel) {
  margin-bottom: 2.75em !important;
}
.entry-content > .wp-block-buttons {
  margin-top: 1.5em !important;
  margin-bottom: 2.5em !important;
}
.entry-content > .wp-block-separator {
  margin: 2.5em auto !important;
}

/* Product grids / hub cards: more gap between rows */
.stmhk-product-grid {
  gap: 20px !important;
  margin-bottom: 3.25em !important;
  row-gap: 28px !important;
}
@media (min-width: 782px) {
  .stmhk-product-grid > .wp-block-column {
    flex: 0 0 calc((100% - 40px) / 3) !important;
    max-width: calc((100% - 40px) / 3) !important;
  }
}

/* Hub / category card rows */
.entry-content .stmhk-hub-grid,
.entry-content .wp-block-columns.stmhk-hub-cards {
  margin-bottom: 3em !important;
  gap: 1.75rem !important;
}

/* Page content wrap: slightly more vertical padding so it doesn't feel like a print sheet */
.container-wrap .main-content,
#ajax-content-wrap .post-content,
.main-content > .row > .col.span_12 {
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

/* Salient WPBakery text columns often stack tight */
.wpb_text_column {
  margin-bottom: 1.75em !important;
}
.vc_row {
  margin-bottom: 1.5em !important;
}

/* polish-v4-fable */
/* STMHK polish v4 — from Claude-Fable design review 2026-11-01
   Append after polish-v2 / v3 in Additional CSS */

:root {
  --stmhk-ink: #111111;
  --stmhk-muted: #666666;
  --stmhk-line: #e5e5e5;
  --stmhk-wash: #f4f4f2;
  --stmhk-accent: #f2c200; /* plate yellow — sole accent */
}

/* Hide comments / discussion on commercial pages */
.comments-area,
#comments,
.comment-respond,
.nectar-comments,
.woocommerce-Reviews,
.wp-block-comments {
  display: none !important;
}

/* Typography scale */
.entry-content,
.main-content,
.wpb_wrapper {
  color: var(--stmhk-ink);
  font-size: 17px !important;
  line-height: 1.8 !important;
}
.entry-content h1, .wpb_wrapper h1, .main-content h1 {
  font-family: "Noto Serif TC", "Songti TC", serif !important;
  font-size: clamp(32px, 4vw, 52px) !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em;
  color: var(--stmhk-ink) !important;
}
.entry-content h2, .wpb_wrapper h2, .main-content h2 {
  font-family: "Noto Serif TC", "Songti TC", serif !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  line-height: 1.25 !important;
  margin-top: 3em !important;
  margin-bottom: 1.1em !important;
  color: var(--stmhk-ink) !important;
}
.entry-content h3, .wpb_wrapper h3 {
  font-family: "Noto Sans TC", "PingFang TC", sans-serif !important;
  font-size: clamp(20px, 2vw, 24px) !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 2.25em !important;
  margin-bottom: 0.9em !important;
}
.entry-content p, .wpb_text_column p {
  margin-bottom: 24px !important;
  line-height: 1.8 !important;
  max-width: 42em;
}
.entry-content .stmhk-eyebrow,
.stmhk-eyebrow {
  display: block;
  font-family: "Noto Sans TC", sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stmhk-muted) !important;
  margin-bottom: 12px !important;
}

/* Section rhythm */
.container-wrap .main-content,
#ajax-content-wrap .post-content {
  padding-top: 64px;
  padding-bottom: 96px;
}
.entry-content > .wp-block-columns,
.entry-content .wp-block-columns {
  margin-bottom: 64px !important;
  gap: 28px !important;
}
.entry-content > .wp-block-group {
  margin-bottom: 56px !important;
}
.entry-content > .wp-block-image,
.entry-content > figure {
  margin: 40px 0 56px !important;
}

/* Product cards already square — reinforce accent hover */
.stmhk-product-card:hover::after,
a.stmhk-fancy-card:hover::after {
  background: linear-gradient(to top, rgba(180, 140, 0, 0.85), transparent 55%) !important;
}

/* Carousel: show peek of next slide */
.stmhk-carousel.wp-block-gallery.has-nested-images {
  gap: 16px !important;
  padding-bottom: 1rem;
  scroll-padding-left: 8px;
}
.stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image {
  flex: 0 0 min(70vw, 320px) !important;
  width: min(70vw, 320px) !important;
  max-width: min(70vw, 320px) !important;
}
@media (min-width: 1000px) {
  .stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image {
    flex-basis: 280px !important;
    width: 280px !important;
    max-width: 280px !important;
  }
  .stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image img {
    height: 280px !important;
    object-fit: cover;
  }
}

/* Trust strip */
.stmhk-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stmhk-line);
  border: 1px solid var(--stmhk-line);
  margin: 48px 0 72px;
}
.stmhk-trust-strip > div {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 28px 16px;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
@media (max-width: 782px) {
  .stmhk-trust-strip { grid-template-columns: 1fr 1fr; }
  .container-wrap .main-content { padding-top: 40px; padding-bottom: 56px; }
}


/* Hero / cover: keep overlay text WHITE + BOLD (v4 ink must not win) */
.nectar-slider-wrap .swiper-slide .content h1,
.nectar-slider-wrap .swiper-slide .content h2,
.nectar-slider-wrap .swiper-slide .content p,
.nectar-slider-wrap .swiper-slide .content .caption,
.nectar-slider-wrap .swiper-slide .content span,
.nectar-box-roll .overlaid-content h1,
.nectar-box-roll .overlaid-content h2,
.nectar-box-roll .overlaid-content p,
.page-header-bg-image .span_6 h1,
.page-header-bg-image .span_6 h2,
.page-header-bg-image .span_6 p,
.page-header-bg-image .inner-wrap h1,
.page-header-bg-image .inner-wrap h2,
.page-header-bg-image .inner-wrap p,
.fullscreen-header .span_6 h1,
.fullscreen-header .span_6 h2,
.fullscreen-header .span_6 p,
.row.full-width-content .nectar-highlighted-text,
.row.full-width-content .wpb_text_column.light h1,
.row.full-width-content .wpb_text_column.light h2,
.row.full-width-content .wpb_text_column.light p,
.wpb_row.full-width-content .light h1,
.wpb_row.full-width-content .light h2,
.wpb_row.full-width-content .light p,
.nectar-recent-posts-single_featured .post-content h2,
.stmhk-hero h1,
.stmhk-hero h2,
.stmhk-hero p,
.stmhk-hero .stmhk-eyebrow {
  color: #ffffff !important;
}
.nectar-slider-wrap .swiper-slide .content h1,
.nectar-slider-wrap .swiper-slide .content h2,
.page-header-bg-image .span_6 h1,
.page-header-bg-image .inner-wrap h1,
.fullscreen-header .span_6 h1,
.wpb_row.full-width-content .light h1,
.stmhk-hero h1 {
  font-weight: 700 !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}


/* STMHK polish v5 P1 — append after polish-v4-fable.css in Additional CSS
   Timeline / Topics / download cards / link cards / footer Chinese helpers
   Brand: ink #111, accent #F2C200, Noto Serif TC headings, loose spacing
*/

:root {
  --stmhk-ink: #111111;
  --stmhk-muted: #666666;
  --stmhk-line: #e5e5e5;
  --stmhk-wash: #f4f4f2;
  --stmhk-accent: #f2c200;
}

/* ——— Link cards（車牌小知識） ——— */
.stmhk-link-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 56px;
}
.stmhk-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--stmhk-line);
  background: #fff;
  padding: 22px 24px;
  text-decoration: none !important;
  color: var(--stmhk-ink) !important;
  transition: border-color .2s, box-shadow .2s;
}
.stmhk-link-card:hover {
  border-color: var(--stmhk-ink);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.stmhk-link-card .meta strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 6px;
}
.stmhk-link-card .meta span {
  display: block;
  font-size: 13px;
  color: var(--stmhk-muted);
}
.stmhk-link-card .arrow {
  flex: 0 0 auto;
  font-size: 22px;
  color: var(--stmhk-ink);
  opacity: .55;
}
@media (max-width: 640px) {
  .stmhk-link-cards { grid-template-columns: 1fr; }
}

/* ——— Download cards（PDF） ——— */
.stmhk-dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 16px;
}
.stmhk-dl-card {
  border: 1px solid var(--stmhk-line);
  background: #fff;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stmhk-dl-card .ico {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #111;
  color: var(--stmhk-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.stmhk-dl-card h3 {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: var(--stmhk-ink) !important;
}
.stmhk-dl-card .issuer {
  margin: 0;
  font-size: 13px;
  color: var(--stmhk-muted);
}
.stmhk-dl-card a.stmhk-dl-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  background: var(--stmhk-ink);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  text-decoration: none !important;
  border-radius: 2px;
}
.stmhk-dl-card a.stmhk-dl-btn:hover {
  background: #000;
}
.stmhk-dl-note {
  font-size: 12px !important;
  color: var(--stmhk-muted) !important;
  line-height: 1.55 !important;
  margin: 8px 0 48px !important;
  max-width: 52em;
}
@media (max-width: 640px) {
  .stmhk-dl-grid { grid-template-columns: 1fr; }
}

/* ——— Heritage timeline ——— */
.stmhk-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 32px 0 64px;
  border-top: 2px solid var(--stmhk-ink);
}
.stmhk-timeline > div {
  padding: 28px 20px 8px;
  position: relative;
}
.stmhk-timeline > div::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: var(--stmhk-accent);
  border: 2px solid var(--stmhk-ink);
  border-radius: 50%;
}
.stmhk-timeline .year {
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--stmhk-ink);
  margin: 0 0 10px;
}
.stmhk-timeline p {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.55;
  color: #444;
  max-width: none !important;
}
@media (max-width: 782px) {
  .stmhk-timeline { grid-template-columns: 1fr; border-top: none; border-left: 2px solid var(--stmhk-ink); }
  .stmhk-timeline > div { padding: 8px 0 28px 28px; }
  .stmhk-timeline > div::before { top: 14px; left: -7px; }
}

/* ——— Projects strip ——— */
.stmhk-projects-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  margin: 24px 0 64px;
}
.stmhk-projects-strip .card {
  flex: 0 0 calc((100% - 32px) / 3.15);
  min-width: 240px;
  scroll-snap-align: start;
  text-decoration: none !important;
  color: var(--stmhk-ink) !important;
}
.stmhk-projects-strip .card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #222;
}
.stmhk-projects-strip .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stmhk-projects-strip .card figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #444;
}
@media (max-width: 782px) {
  .stmhk-projects-strip .card {
    flex-basis: 78%;
  }
}

/* ——— Topics / News ——— */
.stmhk-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 64px;
}
.stmhk-topics a {
  display: block;
  border-top: 2px solid var(--stmhk-ink);
  padding: 18px 0 8px;
  text-decoration: none !important;
  color: var(--stmhk-ink) !important;
  transition: opacity .2s;
}
.stmhk-topics a:hover { opacity: .72; }
.stmhk-topics .date {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--stmhk-muted);
  margin-bottom: 6px;
}
.stmhk-topics .cat {
  font-size: 12px;
  color: var(--stmhk-muted);
  margin-bottom: 10px;
}
.stmhk-topics strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}
@media (max-width: 782px) {
  .stmhk-topics { grid-template-columns: 1fr; }
}

/* ——— Dark CTA band ——— */
.stmhk-cta-band {
  background: #111;
  color: #fff;
  padding: 56px 4%;
  margin: 72px 0 0;
  text-align: left;
}
.stmhk-cta-band h2 {
  font-family: "Noto Serif TC", "Songti TC", serif !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 500 !important;
  color: #fff !important;
  margin: 0 0 14px !important;
}
.stmhk-cta-band p {
  margin: 0 0 22px !important;
  font-size: 16px;
  line-height: 1.65;
  opacity: .9;
  max-width: 36em !important;
  color: #fff !important;
}
.stmhk-cta-band a.stmhk-wa-cta {
  display: inline-block;
  background: var(--stmhk-accent);
  color: #111 !important;
  font-weight: 700 !important;
  padding: 12px 22px;
  text-decoration: none !important;
  border-radius: 2px;
}

/* ——— Gallery captions（屋苑案例） ——— */
.stmhk-carousel figcaption,
.stmhk-case-gallery figcaption {
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #444 !important;
  margin-top: 8px !important;
  text-align: left;
}

/* ——— Footer Chinese hours helpers ———
   Theme footer often hardcodes Mon–Fri / TEL / FAX.
   Paste footer-hours-zh.html into a Custom HTML widget in the footer,
   OR manually edit Appearance → Widgets / Footer columns to this wording:
   星期一至五 10:00–18:00／星期六、日休息／電話／傳真
*/
.stmhk-footer-hours {
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
}
.stmhk-footer-hours strong {
  color: #fff;
  font-weight: 600;
}

/* Hide accidental mid-page hours blocks if classed */
.stmhk-hide-mid-hours,
.stmhk-mid-hours-duplicate {
  display: none !important;
}

/* Sector cards with background images */
.stmhk-sector-card.has-img {
  position: relative;
  overflow: hidden;
  color: #fff !important;
  border: none !important;
  padding: 0 !important;
  aspect-ratio: 4 / 3;
}
.stmhk-sector-card.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .88;
  transition: transform .35s ease, opacity .35s;
}
.stmhk-sector-card.has-img:hover img {
  transform: scale(1.04);
  opacity: 1;
}
.stmhk-sector-card.has-img .label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 18px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.82), transparent);
  font-size: 17px;
  font-weight: 600;
}
/* STMHK polish v6 — hover glow + card/button gaps
   Append AFTER polish-v4-fable.css and polish-v5-p1.css in Additional CSS.
   Inspired by TennantsUK industrial product cards: whole card lifts / brightens on hover
   (soft yellow-white wash + #F2C200-tinted shadow), not just the label.
   Do NOT touch Salient header / #header-outer / .nectar-slider-wrap.
*/

:root {
  --stmhk-ink: #111111;
  --stmhk-muted: #666666;
  --stmhk-line: #e5e5e5;
  --stmhk-wash: #f4f4f2;
  --stmhk-accent: #f2c200;
  --stmhk-glow: rgba(242, 194, 0, 0.28);
  --stmhk-lift: 0 14px 36px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(242, 194, 0, 0.35);
  --stmhk-ease: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ——— Grid gaps (desktop ~28–36px; mobile ~24px) ——— */
.stmhk-card-grid {
  gap: 32px !important;
}
.stmhk-spec-grid,
.stmhk-dl-grid,
.stmhk-link-cards,
.stmhk-topics {
  gap: 28px !important;
}
.stmhk-projects-strip {
  gap: 28px !important;
}
.stmhk-steps {
  gap: 28px !important;
}
.stmhk-trust-strip {
  gap: 20px !important;
  background: transparent !important;
  border: none !important;
}

@media (max-width: 782px) {
  .stmhk-card-grid,
  .stmhk-spec-grid,
  .stmhk-dl-grid,
  .stmhk-link-cards,
  .stmhk-topics,
  .stmhk-projects-strip,
  .stmhk-steps {
    gap: 24px !important;
  }
  .stmhk-trust-strip {
    gap: 16px !important;
  }
}

/* ——— Shared card hover: whole card lights up ———
   Tennants-like: brighten overlay + soft yellow lift, scale ~1.02 */
.stmhk-prod-card,
.stmhk-sector-card,
.stmhk-link-card,
.stmhk-dl-card,
.stmhk-download-card,
.stmhk-spec-grid > div,
.stmhk-projects-strip .card {
  position: relative;
  transition:
    transform var(--stmhk-ease),
    box-shadow var(--stmhk-ease),
    border-color var(--stmhk-ease),
    background-color var(--stmhk-ease),
    filter var(--stmhk-ease) !important;
  will-change: transform;
}

.stmhk-prod-card::after,
.stmhk-sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(242, 194, 0, 0.10) 45%,
    rgba(255, 255, 255, 0) 75%
  );
  opacity: 0;
  transition: opacity var(--stmhk-ease);
  z-index: 2;
}

.stmhk-prod-card:hover,
.stmhk-sector-card:hover,
.stmhk-link-card:hover,
.stmhk-dl-card:hover,
.stmhk-download-card:hover,
.stmhk-spec-grid > div:hover,
.stmhk-projects-strip .card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--stmhk-lift) !important;
  border-color: rgba(17, 17, 17, 0.55) !important;
  z-index: 3;
}

.stmhk-prod-card:hover::after,
.stmhk-sector-card:hover::after {
  opacity: 1;
}

/* Image cards: brighten media slightly on hover */
.stmhk-prod-card:hover img,
.stmhk-sector-card:hover img,
.stmhk-sector-card.has-img:hover img {
  opacity: 1 !important;
  filter: brightness(1.08) contrast(1.02);
  transform: scale(1.04);
  transition: transform var(--stmhk-ease), opacity var(--stmhk-ease), filter var(--stmhk-ease);
}

/* Spec / download / link cards: soft wash */
.stmhk-link-card:hover,
.stmhk-dl-card:hover,
.stmhk-download-card:hover,
.stmhk-spec-grid > div:hover {
  background: linear-gradient(180deg, #fffef8 0%, #ffffff 60%) !important;
}

/* Keep labels above glow overlay */
.stmhk-prod-card .label,
.stmhk-sector-card .label {
  position: relative;
  z-index: 3;
}

/* ——— CTA / WhatsApp button spacing ———
   Buttons must not stack tight — especially on mobile */
a.stmhk-wa-cta,
.stmhk-wa-cta,
a.stmhk-dl-btn,
.stmhk-cta-band a.stmhk-wa-cta,
.entry-content a[href*="wa.me"],
.wpb_wrapper a[href*="wa.me"].nectar-button,
.wpb_wrapper a[href*="wa.me"].button {
  margin-block: 18px !important;
  margin-inline: 0 !important;
  transition:
    transform var(--stmhk-ease),
    box-shadow var(--stmhk-ease),
    filter var(--stmhk-ease),
    background-color var(--stmhk-ease) !important;
}

a.stmhk-wa-cta:hover,
.stmhk-wa-cta:hover,
.stmhk-cta-band a.stmhk-wa-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px var(--stmhk-glow), 0 2px 0 rgba(0, 0, 0, 0.06);
  filter: brightness(1.06);
}

/* Adjacent CTAs (e.g. two buttons in a paragraph / flex wrap) */
.stmhk-cta-row,
.stmhk-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin: 20px 0 28px;
  align-items: center;
}
.stmhk-cta-row > a,
.stmhk-btn-row > a {
  margin-block: 0 !important;
}

@media (max-width: 782px) {
  a.stmhk-wa-cta,
  .stmhk-wa-cta,
  a.stmhk-dl-btn,
  .entry-content a[href*="wa.me"] {
    display: inline-block;
    margin-block: 16px 20px !important;
    margin-inline: 0 !important;
  }
  /* When multiple WA / nectar buttons stack on mobile, force air */
  .entry-content p > a.stmhk-wa-cta + a.stmhk-wa-cta,
  .wpb_wrapper .nectar-button + .nectar-button,
  .wpb_wrapper a.button + a.button {
    margin-top: 16px !important;
  }
  .stmhk-prod-card:hover,
  .stmhk-sector-card:hover,
  .stmhk-link-card:hover,
  .stmhk-dl-card:hover,
  .stmhk-spec-grid > div:hover {
    transform: translateY(-2px) scale(1.015);
  }
}

/* ——— Trust strip (v6 light + logo watermark cells) ———
   Overrides v4 dark strip when using trust-strip-logos.html */
.stmhk-trust-strip.stmhk-trust-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 48px 0 72px;
  background: transparent;
  border: none;
}
.stmhk-trust-strip.stmhk-trust-logos > .stmhk-trust-cell {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #111111;
  text-align: center;
  padding: 36px 18px;
  min-height: 120px;
  border: 1px solid var(--stmhk-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--stmhk-ease),
    box-shadow var(--stmhk-ease),
    border-color var(--stmhk-ease),
    background-color var(--stmhk-ease);
}
.stmhk-trust-strip.stmhk-trust-logos > .stmhk-trust-cell:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--stmhk-lift);
  border-color: rgba(17, 17, 17, 0.45);
  background: linear-gradient(180deg, #fffef6 0%, #fff 70%);
}
.stmhk-trust-strip.stmhk-trust-logos .stmhk-trust-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15; /* within 0.12–0.18 */
}
.stmhk-trust-strip.stmhk-trust-logos .stmhk-trust-mark img {
  width: min(72%, 140px);
  height: auto;
  max-height: 88px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
}
.stmhk-trust-strip.stmhk-trust-logos .stmhk-trust-text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #111111;
  font-weight: 500;
}
.stmhk-trust-strip.stmhk-trust-logos .stmhk-trust-text strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: #111111;
}
@media (max-width: 782px) {
  .stmhk-trust-strip.stmhk-trust-logos {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stmhk-trust-strip.stmhk-trust-logos > .stmhk-trust-cell {
    padding: 28px 14px;
    min-height: 108px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .stmhk-prod-card,
  .stmhk-sector-card,
  .stmhk-link-card,
  .stmhk-dl-card,
  .stmhk-download-card,
  .stmhk-spec-grid > div,
  .stmhk-projects-strip .card,
  a.stmhk-wa-cta,
  .stmhk-wa-cta,
  .stmhk-trust-strip.stmhk-trust-logos > .stmhk-trust-cell {
    transition: none !important;
  }
  .stmhk-prod-card:hover,
  .stmhk-sector-card:hover,
  .stmhk-link-card:hover,
  .stmhk-dl-card:hover,
  .stmhk-spec-grid > div:hover,
  .stmhk-projects-strip .card:hover,
  a.stmhk-wa-cta:hover,
  .stmhk-trust-strip.stmhk-trust-logos > .stmhk-trust-cell:hover {
    transform: none !important;
  }
}

/* ===== polish-v7: desktop header menu bigger + left-aligned (2026-11-02) ===== */
@media (min-width: 1000px){
  /* menu sits left, right after the logo */
  #header-outer #top .row > .col.span_9,
  #header-outer #top .span_9 { flex:1 1 auto !important; text-align:left !important; justify-content:flex-start !important; }
  #header-outer #top nav { display:flex !important; justify-content:flex-start !important; width:100%; }
  #header-outer #top nav > ul.sf-menu { float:none !important; margin-left:40px !important; margin-right:auto !important; display:flex !important; flex-wrap:nowrap; }
  #header-outer #top nav > ul.buttons { margin-left:auto !important; }
  /* top-level items: +2 sizes, wider gaps */
  #header-outer #top nav > ul.sf-menu > li > a {
    font-size:18px !important; letter-spacing:.04em; font-weight:600 !important;
    padding-left:20px !important; padding-right:20px !important;
  }
  /* dropdowns: larger, roomier */
  #header-outer #top nav > ul > li ul.sub-menu { min-width:260px !important; padding:12px 0 !important; }
  #header-outer #top nav > ul > li ul.sub-menu li a,
  #header-outer .sf-menu li ul li a {
    font-size:17px !important; line-height:1.5 !important; padding:12px 24px !important; letter-spacing:.02em;
  }
}/* ===== polish-v8: floating WhatsApp + enquiry block ===== */
.stmhk-wa-float{position:fixed;right:22px;bottom:22px;z-index:9999;display:flex;align-items:center;gap:10px;background:#25D366;color:#fff!important;border-radius:999px;padding:12px 18px 12px 14px;box-shadow:0 8px 24px rgba(0,0,0,.22);font-weight:600;font-size:16px;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.stmhk-wa-float:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 12px 30px rgba(37,211,102,.45)}
@media (max-width:690px){.stmhk-wa-float span{display:none}.stmhk-wa-float{padding:14px;right:16px;bottom:16px}}
.stmhk-enquiry{margin:56px 0 24px;padding:36px 32px;border:1px solid #e5e5e5;border-left:6px solid #F2C200;border-radius:14px;background:#fafafa}
.stmhk-enquiry h3{margin:0 0 12px}
.stmhk-enquiry p{margin:0 0 20px;font-size:18px}
.stmhk-btn-wa{display:inline-block;background:#25D366;color:#fff!important;border-radius:999px;padding:12px 26px;font-weight:600;text-decoration:none!important}
.stmhk-enquiry + .wp-block-jetpack-contact-form,.stmhk-enquiry ~ .wp-block-jetpack-contact-form{max-width:720px;margin-bottom:56px}
.wp-block-jetpack-contact-form input,.wp-block-jetpack-contact-form textarea{font-size:17px!important;padding:12px 14px!important;border-radius:8px!important}
/* polish-v9 buttons orange; WhatsApp green */:root{--stmhk-btn:#F07A1A;--stmhk-btn-hover:#D9650A;--stmhk-wa:#25D366;--stmhk-wa-hover:#1EB257}
.nectar-button,a.nectar-button,.wp-block-button__link,.wp-element-button,button[type=submit],input[type=submit],.wp-block-jetpack-button button,.stmhk-btn,a.stmhk-btn,.stmhk-cta-band a{background:var(--stmhk-btn)!important;border-color:var(--stmhk-btn)!important;color:#fff!important}
.nectar-button:hover,.wp-block-button__link:hover,.wp-element-button:hover,button[type=submit]:hover,input[type=submit]:hover,.wp-block-jetpack-button button:hover,.stmhk-btn:hover,.stmhk-cta-band a:hover{background:var(--stmhk-btn-hover)!important;border-color:var(--stmhk-btn-hover)!important;color:#fff!important}a[href*="wa.me"].nectar-button,a[href*="wa.me"].wp-block-button__link,a[href*="api.whatsapp.com"].wp-block-button__link,a[href*="wa.me"].stmhk-btn,.stmhk-cta-band a.stmhk-wa-cta,.stmhk-btn-wa,.stmhk-wa-float,.stmhk-cta-band a[href*="wa.me"]{background:var(--stmhk-wa)!important;border-color:var(--stmhk-wa)!important;color:#fff!important}a[href*="wa.me"].nectar-button:hover,a[href*="wa.me"].wp-block-button__link:hover,.stmhk-cta-band a.stmhk-wa-cta:hover,.stmhk-btn-wa:hover,.stmhk-cta-band a[href*="wa.me"]:hover{background:var(--stmhk-wa-hover)!important;border-color:var(--stmhk-wa-hover)!important}.stmhk-enquiry{border-left-color:var(--stmhk-btn)!important}
/* STMHK layout-fix v10 — text left / image right pairs
   Paste into WP Admin → Appearance → Customize → Additional CSS
   (or enqueue after polish-v5 / fable CSS). */

.stmhk-text-image.wp-block-columns {
  align-items: center;
  gap: 48px !important;
  margin: 2.5rem 0;
}

.stmhk-text-image > .wp-block-column {
  margin: 0;
}

.stmhk-text-image .wp-block-image,
.stmhk-text-image .wp-block-image img {
  border-radius: 10px;
  margin: 0;
  width: 100%;
  height: auto;
  display: block;
}

.stmhk-text-image .wp-block-heading {
  margin-top: 0;
}

.stmhk-text-image .wp-block-buttons {
  margin-bottom: 0;
}

/* Mobile: stack text above image (isStackedOnMobile); tighten gap */
@media (max-width: 781px) {
  .stmhk-text-image.wp-block-columns {
    gap: 28px !important;
    margin: 1.75rem 0;
  }

  .stmhk-text-image.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }
}
 /* ===== polish-v11: Fable R3 P0/P1 quick fixes (2026-11-02) ===== */  /* Keep desktop nav visible from 1000px; hide hamburger */ @media (min-width:1000px){   #header-outer .mobile-menu-toggle,   #header-outer .slide-out-widget-area-toggle,   body #header-outer .slide-out-widget-area-toggle{display:none !important;}   #header-outer nav, #header-outer #top nav{display:block !important;} } /* Hide back-to-top (conflicts with WA float) */ #to-top{display:none!important} /* Desktop WA float = icon only circle */ @media(min-width:1000px){   .stmhk-wa-float{width:56px!important;height:56px!important;padding:0!important;border-radius:50%!important;justify-content:center!important;right:24px!important;bottom:24px!important;gap:0!important}   .stmhk-wa-float span{display:none!important} } /* Home hero flush under header */ .home #page-header-bg,.home .nectar-box-roll,.home .wpb_row.hero-row{margin-top:0!important;padding-top:0!important} .home #page-header-bg .span_6 h1,.home #page-header-bg h1{font-style:normal!important;font-weight:600!important;letter-spacing:.02em} /* Align content wraps */ .stm-wrap,.stmhk-wrap{max-width:1200px;margin:0 auto;padding:0 32px;box-sizing:border-box} /* Plate hero: kill stray list numbers; readable steps */ .stmhk-pl-layers ol,.stmhk-pl-layers li,.stmhk-pl ol,.stmhk-pl li{list-style:none!important;padding-left:0!important;margin-left:0!important} .stmhk-pl-toggle .is-active,.stmhk-pl-toggle .active{background:#111!important;color:#fff!important;border-color:#111!important} .stmhk-pl-toggle a,.stmhk-pl-toggle button{border:1px solid #111;color:#111;background:#fff} .stmhk-pl-step.is-active h3,.stmhk-pl .step.is-active h3{color:#111!important} .stmhk-pl-step.is-active p,.stmhk-pl .step.is-active p{color:#333!important} .stmhk-pl-step p,.stmhk-pl .step p{color:#333} /* Dropdown contrast */ @media(min-width:1000px){   #header-outer .sf-menu li ul li a{color:#1a1a1a!important;font-size:16px!important;padding:13px 24px!important}   #header-outer .sf-menu li ul li a:hover{background:#f2f2f2!important} } /* Pill buttons sitewide (P1) */ .nectar-button,.wp-block-button__link,.wp-element-button{border-radius:999px!important;padding:14px 28px!important} /* Eyebrow spacing */ .stmhk-pl-eyebrow,.stmhk-eyebrow{margin-bottom:16px!important} .stmhk-pl-eyebrow + h2,.stmhk-eyebrow + h2{margin-top:0!important} /* Jetpack required label ZH */ .grunion-field-label .grunion-label-required,.contact-form label .required,.wp-block-jetpack-contact-form .grunion-label-required{font-size:0!important} .grunion-field-label .grunion-label-required::after,.contact-form label .required::after{content:"必填";font-size:12px;color:#888;margin-left:6px}  /* product cards interim grayscale until real photos */ .stmhk-home-products img,.stmhk-products img{filter:grayscale(.25) contrast(1.05)}  ol.stmhk-pl-steps,ol.stmhk-pl-steps li{list-style:none!important;padding-left:0!important;margin-left:0!important}ol.stmhk-pl-steps li::marker{content:""!important} .home .container-wrap,.home .container.main-content{padding-top:0!important}

/* R4: home cover hero H1 (.stmhk-hero-script), not only #page-header-bg h1 */
.home h1.stmhk-hero-script,
.home .wp-block-cover h1.stmhk-hero-script {
  font-style: normal !important;
}
/* ===== STMHK r8: OCM hamburger LEFT only + slide from left (2026-11-02) ===== */
/* Hide the legacy right-side mobile hamburger (Salient still outputs both when OCM btn = left) */
#header-outer .slide-out-widget-area-toggle.mobile-icon,
#header-outer .col.span_9 .slide-out-widget-area-toggle.mobile-icon,
#header-outer .nectar-mobile-only + .slide-out-widget-area-toggle.mobile-icon {
  display: none !important;
}
/* Keep the left-aligned OCM next to the logo below the desktop breakpoint */
@media (max-width: 999px) {
  #header-outer ul.left-aligned-ocm,
	#header-outer ul.left-aligned-ocm .slide-out-widget-area-toggle {
    display: block !important;
    visibility: visible !important;
	}
	#header-outer ul.left-aligned-ocm {
    float: left;
    margin: 0 10px 0 0;
    padding: 0;
    list-style: none;
	}
	#header-outer .col.span_3 {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
	}
	#header-outer #logo {
    order: 2;
	}
	#header-outer ul.left-aligned-ocm {
    order: 1;
	}
}
/* When theme still has slide-out-from-right on body, force panel + icon class cues from the left */
body[data-slide-out-widget-area-style="slide-out-from-right"] #slide-out-widget-area.slide-out-from-right,
body[data-slide-out-widget-area-style="slide-out-from-right"] #slide-out-widget-area {
  left: 0 !important;
  right: auto !important;
  transform: translateX(-105%) !important;
}
body[data-slide-out-widget-area-style="slide-out-from-right"].material-ocm-open #slide-out-widget-area.slide-out-from-right,
body[data-slide-out-widget-area-style="slide-out-from-right"].nectar-ocm-open #slide-out-widget-area,
body.material-ocm-open #slide-out-widget-area,
.ocm-effect-wrap.material-ocm-open #slide-out-widget-area {
  transform: translateX(0) !important;
}
/* 中 | EN: keep compact next to right edge on mobile header strip */
#header-outer .nectar-mobile-only .sf-menu > li > a {
  padding-left: 6px !important;
  padding-right: 6px !important;
  font-size: 13px !important;
  font-weight: 600;
}/* ===== r8/fire-card-fix: text-only product cards must NOT be black squares ===== Fancy TennantsUK square+overlay only when the card actually contains an image. Text cards get a light bordered card. */ .stmhk-product-card:not(:has(img)), .stmhk-product-card:not(:has(figure)) { background:#fff !important; color:#111 !important; aspect-ratio:auto !important; padding:22px 22px 20px !important; border:1px solid #e4e2dc !important; border-radius:14px !important; box-shadow:0 10px 26px rgba(0,0,0,.05) !important; overflow:visible !important; } .stmhk-product-card:not(:has(img))::before, .stmhk-product-card:not(:has(img))::after, .stmhk-product-card:not(:has(figure))::before, .stmhk-product-card:not(:has(figure))::after { display:none !important; content:none !important; } .stmhk-product-card:not(:has(img)) h3, .stmhk-product-card:not(:has(figure)) h3 { color:#111 !important; font-size:1.15rem !important; margin:0 0 0.55em !important; } .stmhk-product-card:not(:has(img)) ul, .stmhk-product-card:not(:has(img)) p, .stmhk-product-card:not(:has(figure)) ul, .stmhk-product-card:not(:has(figure)) p { color:#444 !important; position:static !important; padding:0 !important; } .stmhk-product-card:not(:has(img)):hover, .stmhk-product-card:not(:has(figure)):hover { border-color:#F07A1A !important; box-shadow:0 14px 30px rgba(0,0,0,.08) !important; } .stmhk-product-card:has(img), a.stmhk-fancy-card:has(img) { background:#111 !important; aspect-ratio:1 / 1; color:#fff !important; padding:0 !important; border:none !important; } /* ===== r8 type weight: bolder Chinese Ming + English headings ===== */ body, .main-content, #ajax-content-wrap { --stmhk-cn-serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "MingLiU", serif; } h1, h2, h3, h4, .nectar-highlighted-text, .stmhk-product-card h3, .stmhk-sec-title, .stmhk-sec-card .body h3, .stmhk-fancy-card__text h3 { font-family: var(--stmhk-cn-serif) !important; font-weight: 700 !important; } h1, h2,  .hero-heading, .page-title { font-weight: 700 !important; letter-spacing: 0.01em; } p, li, .stmhk-sec-card .body p { font-weight: 500; } /* r8/fire-card-fix title paint */ .stmhk-product-card:not(:has(img)) > h3.wp-block-heading, .stmhk-product-card:not(:has(figure)) > h3.wp-block-heading { color:#111 !important; -webkit-text-fill-color:#111 !important; position:static !important; opacity:1 !important; }/* ===== r8/fire-catalog: poster strip — stop square top/bottom crop =====
   Page: 認識滅火筒 (WP 873)
   Target: Gutenberg gallery under H2「消防器材 Fire Fighting Equipment」
            → figure.wp-block-gallery.has-nested-images.columns-6.is-cropped.stmhk-carousel
   Cause (Additional CSS dump):
     - .stmhk-carousel … img { height:200–280px; object-fit:cover }
     - later desktop rule: width 280px + height:280px !important + cover  → literal 1:1 crop
     - WP .is-cropped also forces cover / equal-height crop
   Scope: page-id-873 + .stmhk-carousel only.
   Does NOT touch .stmhk-type-card / .stmhk-type-media (v4 type cards).
   Does NOT retarget estate/private-roads carousels on other pages.
======================================================================= */

/* Prefer body.page-id-873 (confirm on live DOM). Fallback: .stmhk-carousel--posters if added. */
.page-id-873 .stmhk-carousel.wp-block-gallery.has-nested-images,
.page-id-873 .entry-content .wp-block-gallery.stmhk-carousel,
.stmhk-carousel--posters.wp-block-gallery.has-nested-images {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: 8px;
  padding-bottom: 1rem;
  margin-bottom: 2em;
  align-items: flex-start; /* let each poster keep its own height */
}

/* Slide width: keep horizontal flick; widen a bit so poster text readable */
.page-id-873 .stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image,
.page-id-873 .entry-content .wp-block-gallery.stmhk-carousel > .wp-block-image,
.stmhk-carousel--posters.wp-block-gallery.has-nested-images > figure.wp-block-image {
  flex: 0 0 min(78vw, 360px) !important;
  width: min(78vw, 360px) !important;
  max-width: min(78vw, 360px) !important;
  height: auto !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  scroll-snap-align: start;
  background: #f7f5f0;
  overflow: hidden;
  border: 1px solid #ebe7df;
  border-radius: 4px;
}

@media (min-width: 1000px) {
  .page-id-873 .stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image,
  .page-id-873 .entry-content .wp-block-gallery.stmhk-carousel > .wp-block-image,
  .stmhk-carousel--posters.wp-block-gallery.has-nested-images > figure.wp-block-image {
    flex-basis: 320px !important;
    width: 320px !important;
    max-width: 320px !important;
  }
}

/* Kill square crop: no fixed height, no cover, no WP is-cropped cover */
.page-id-873 .stmhk-carousel.wp-block-gallery.has-nested-images > figure.wp-block-image img,
.page-id-873 .stmhk-carousel.is-cropped .wp-block-image img,
.page-id-873 .stmhk-carousel.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image img,
.page-id-873 .entry-content .wp-block-gallery.stmhk-carousel > .wp-block-image img,
.stmhk-carousel--posters.wp-block-gallery.has-nested-images > figure.wp-block-image img,
.stmhk-carousel--posters.is-cropped .wp-block-image img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center top !important;
  display: block !important;
  background: #f7f5f0;
}

/* Soften WP nested-gallery is-cropped flex stretch */
.page-id-873 .stmhk-carousel.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image),
.stmhk-carousel--posters.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) {
  align-self: flex-start !important;
  height: auto !important;
}