/*
Theme Name: Hanfu QLD Elementor
Theme URI: https://hanfuqld.com.au/
Author: Queensland Hanfu Association
Description: Elementor-ready WordPress rebuild theme for Hanfu QLD.
Version: 1.0.0
Text Domain: hanfuqld-elementor
*/

:root {
  --hq-ink: #18211c;
  --hq-muted: #5e6861;
  --hq-paper: #fbfcfa;
  --hq-panel: #eef3ed;
  --hq-silk: #f6f1e8;
  --hq-green: #214a3a;
  --hq-green-2: #496b55;
  --hq-gold: #bf8f35;
  --hq-gold-soft: #ead8b0;
  --hq-line: rgba(24, 33, 28, 0.14);
  --hq-shadow: 0 18px 48px rgba(33, 74, 58, 0.12);
  --hq-shadow-hover: 0 26px 70px rgba(33, 74, 58, 0.18);
  --hq-max: 1180px;
  --hq-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#styling-portfolio,
#photography-portfolio {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--hq-ink);
  background: var(--hq-paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Noto Sans TC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.hq-brand strong {
  font-family: "Noto Serif SC", "Noto Serif TC", "Songti SC", "STSong", Georgia, serif;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.hq-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 253, 247, 0.9);
  border-bottom: 1px solid var(--hq-line);
  backdrop-filter: blur(18px) saturate(140%);
}

.hq-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hq-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.hq-brand img.hq-anniversary-logo {
  width: 96px;
  height: 58px;
  border-radius: 6px;
  padding: 4px;
}

.hq-brand strong,
.hq-brand small {
  display: block;
}

.hq-brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.hq-brand small {
  color: var(--hq-muted);
  font-size: 12px;
}

.hq-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hq-menu li {
  position: relative;
}

.hq-menu a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--hq-muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color 260ms var(--hq-ease), background-color 260ms var(--hq-ease), transform 260ms var(--hq-ease);
}

.hq-menu a:hover,
.hq-menu .current-menu-item a {
  color: var(--hq-ink);
  background: #dce7dc;
  transform: translateY(-1px);
}

.hq-menu > li:last-child > a {
  color: #fff;
  background: var(--hq-green);
}

.hq-sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 180px;
  gap: 4px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--hq-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--hq-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 220ms var(--hq-ease), transform 220ms var(--hq-ease), visibility 220ms var(--hq-ease);
}

.hq-menu-has-children:hover .hq-sub-menu,
.hq-menu-has-children:focus-within .hq-sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hq-sub-menu a {
  display: flex;
  min-width: 100%;
  border-radius: 6px;
  white-space: nowrap;
}

.hq-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hq-line);
  border-radius: 999px;
  background: #fff;
}

.hq-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--hq-ink);
}

.hq-site-main {
  min-height: 70vh;
}

.hq-site-footer {
  padding: 44px clamp(18px, 4vw, 48px);
  color: #fff;
  background: #14241c;
}

.hq-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 32px;
  width: min(var(--hq-max), 100%);
  margin: 0 auto;
}

.hq-footer-inner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.hq-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.hq-footer-links a {
  color: #fff;
  text-decoration: none;
}

.hq-section {
  padding: clamp(64px, 8vw, 110px) clamp(18px, 4vw, 48px);
}

.hq-section-inner {
  width: min(var(--hq-max), 100%);
  margin: 0 auto;
}

.hq-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0 clamp(18px, 4vw, 48px) 118px;
  color: #fff;
  background-color: #0f1914;
  background-image: none !important;
}

.hq-home-hero {
  min-height: min(820px, calc(100vh - 76px));
}

.hq-hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1600ms var(--hq-ease), transform 7600ms var(--hq-ease);
  pointer-events: none;
}

.hq-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 22, 16, 0.88), rgba(9, 22, 16, 0.42) 52%, rgba(9, 22, 16, 0.1)),
    radial-gradient(circle at 18% 72%, rgba(191, 143, 53, 0.2), transparent 30%),
    linear-gradient(0deg, rgba(9, 22, 16, 0.74), rgba(9, 22, 16, 0.02) 48%);
  z-index: 1;
}

.hq-hero .elementor-background-overlay {
  display: none;
}

.hq-hero > .elementor-container,
.hq-hero > .e-con-inner,
.hq-home-hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin-inline: auto;
  margin-left: max(calc((100vw - var(--hq-max)) / 2), 0px);
}

.hq-home-hero-content {
  margin-right: auto;
}

.hq-eyebrow {
  margin: 0 0 12px;
  color: var(--hq-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hq-en,
.hq-zh {
  display: block;
}

.hq-zh {
  margin-top: 0.18em;
}

.hq-hero h1,
.hq-page-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hq-section h2,
.hq-guide-heading h2,
.hq-catalogue-header h1,
.hq-garment-info h1 {
  letter-spacing: 0;
}

.hq-section h2 {
  margin-top: 0;
  font-size: 42px;
  line-height: 1.12;
}

.hq-lead {
  max-width: 680px;
  color: var(--hq-muted);
  font-size: 19px;
  line-height: 1.72;
}

.hq-hero .hq-lead {
  color: rgba(255, 255, 255, 0.88);
}

.hq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.elementor-button.hq-button,
.elementor-button.hq-button-secondary {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  width: 164px;
  min-height: 48px;
  margin: 0 8px 10px 0;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(18, 76, 64, 0.14);
  transition: background-color 320ms var(--hq-ease), border-color 320ms var(--hq-ease), color 320ms var(--hq-ease), box-shadow 320ms var(--hq-ease), transform 320ms var(--hq-ease);
}

.elementor-button .hq-en,
.elementor-button .hq-zh {
  display: block;
  line-height: 1.12;
}

.elementor-button .hq-zh {
  font-size: 0.92em;
}

.elementor-button.hq-button {
  color: #fff;
  border: 1px solid var(--hq-green);
  background: var(--hq-green);
}

.elementor-button.hq-button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.elementor-button.hq-button:hover,
.elementor-button.hq-button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(18, 76, 64, 0.2);
}

.elementor-button.hq-button:hover {
  border-color: #124c40;
  background: #124c40;
}

.elementor-button.hq-button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.22);
}

.hq-hero .elementor-button.hq-button,
.hq-hero .elementor-button.hq-button-secondary {
  flex: 0 0 190px;
  width: 190px !important;
  min-width: 190px;
  max-width: 190px;
  min-height: 52px;
  margin: 0;
  padding: 12px 18px;
  color: #fff !important;
  border-color: rgba(191, 143, 53, 0.92) !important;
  background: rgba(191, 143, 53, 0.92) !important;
}

.hq-hero .elementor-button.hq-button:hover,
.hq-hero .elementor-button.hq-button-secondary:hover {
  border-color: #d8aa51 !important;
  background: #d8aa51 !important;
}

.hq-soft-band {
  background: linear-gradient(180deg, rgba(247, 243, 233, 0.78), rgba(255, 255, 255, 0));
}

.hq-video-section {
  background: #fbfcfa;
}

.hq-video-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.hq-video-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
}

.hq-video-frame {
  overflow: hidden;
  border: 1px solid rgba(191, 143, 53, 0.28);
  border-radius: 8px;
  background: #0f1914;
  box-shadow: 0 24px 70px rgba(15, 25, 20, 0.18);
}

.hq-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1914;
  object-fit: cover;
}

body.page-id-105 .hq-video-section ~ .hq-video-section,
body.page-id-105 .elementor-section.hq-video-section,
body.page-id-104 .hq-video-section {
  display: none;
}

.hq-styling-gallery-section {
  background: #fff;
}

.hq-styling-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hq-styling-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(191, 143, 53, 0.22);
  border-radius: 8px;
  background: var(--hq-panel);
  box-shadow: 0 16px 40px rgba(45, 54, 47, 0.08);
}

.hq-styling-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 820ms var(--hq-ease), filter 820ms var(--hq-ease);
}

.hq-styling-gallery figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.hq-photography-gallery img {
  aspect-ratio: 3 / 4;
}

.hq-feature-event-section {
  background: linear-gradient(180deg, #fff8f1, #fbfcfa);
}

.hq-feature-event {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.hq-feature-event-copy {
  position: sticky;
  top: 98px;
}

.hq-feature-event-copy h2 {
  margin-bottom: 18px;
  color: #a5271f;
}

.hq-event-slogan {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 18px;
  border-left: 4px solid #c83a2d;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.hq-event-slogan p {
  margin: 0;
  font-weight: 760;
}

.hq-event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.hq-event-facts div {
  padding: 14px;
  border: 1px solid rgba(200, 58, 45, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hq-event-facts dt {
  color: var(--hq-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hq-event-facts dd {
  margin: 4px 0 0;
  font-weight: 780;
}

.hq-event-poster {
  max-height: min(78vh, 820px);
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(200, 58, 45, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(165, 39, 31, 0.16);
}

.hq-event-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.hq-page-hero {
  padding: clamp(72px, 10vw, 130px) clamp(18px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(238, 243, 237, 0.92), rgba(246, 241, 232, 0.95)),
    var(--hq-panel);
}

.hq-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.hq-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hq-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--hq-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hq-shadow);
  transition: border-color 340ms var(--hq-ease), box-shadow 340ms var(--hq-ease), transform 340ms var(--hq-ease);
}

.hq-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hq-card-link img {
  transition: transform 820ms var(--hq-ease), filter 820ms var(--hq-ease);
}

.hq-card-link:hover img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
}

.hq-card:hover {
  border-color: rgba(191, 143, 53, 0.38);
  box-shadow: var(--hq-shadow-hover);
  transform: translateY(-4px);
}

.hq-card-link:hover h3 {
  color: var(--hq-green);
}

.hq-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hq-card-body {
  padding: 20px;
}

.hq-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hq-card p {
  margin: 0;
  color: var(--hq-muted);
}

.hq-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hq-partner-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--hq-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hq-shadow);
  transition: border-color 340ms var(--hq-ease), box-shadow 340ms var(--hq-ease), transform 340ms var(--hq-ease);
}

.hq-partner-card:hover {
  border-color: rgba(191, 143, 53, 0.38);
  box-shadow: var(--hq-shadow-hover);
  transform: translateY(-4px);
}

.hq-partner-logo {
  display: grid;
  min-height: 180px;
  padding: 24px;
  place-items: center;
  background: #fff;
}

.hq-partner-logo img {
  width: min(190px, 82%);
  max-height: 130px;
  object-fit: contain;
}

.hq-partner-logo-stack {
  display: grid;
  gap: 14px;
  justify-items: center;
  width: 100%;
}

.hq-partner-logo-stack img {
  width: min(210px, 88%);
  max-height: 105px;
}

.hq-partner-body {
  padding: 20px;
}

.hq-partner-body h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.24;
}

.hq-partner-body p {
  margin: 0 0 10px;
  color: var(--hq-muted);
}

.hq-partner-contact {
  padding-top: 12px;
  border-top: 1px solid var(--hq-line);
  font-size: 14px;
}

.hq-partner-actions {
  margin: 18px 0 0;
}

.hq-partner-actions .hq-button-secondary {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.82rem;
}

.hq-nz-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 34px;
  align-items: start;
}

.hq-nz-profile-summary {
  display: grid;
  gap: 16px;
}

.hq-pdf-card {
  display: grid;
  gap: 16px;
}

.hq-pdf-card img,
.hq-pdf-card iframe {
  width: 100%;
  border: 1px solid var(--hq-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--hq-shadow);
}

.hq-pdf-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.hq-pdf-card iframe {
  min-height: min(72vh, 720px);
}

.hq-catalogue-header {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 4vw, 48px);
  background: var(--hq-panel);
}

.hq-catalogue-header h1 {
  max-width: 840px;
  margin: 0 0 16px;
  font-size: 58px;
  line-height: 1.05;
}

.hq-catalogue {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 4vw, 48px);
}

.hq-category-grid,
.hq-garment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hq-category-card,
.hq-garment-card {
  overflow: hidden;
  border: 1px solid var(--hq-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hq-shadow);
  transition: border-color 340ms var(--hq-ease), box-shadow 340ms var(--hq-ease), transform 340ms var(--hq-ease);
}

.hq-category-card:hover,
.hq-garment-card:hover {
  border-color: rgba(191, 143, 53, 0.38);
  box-shadow: var(--hq-shadow-hover);
  transform: translateY(-4px);
}

.hq-category-card img,
.hq-garment-card img {
  transition: transform 820ms var(--hq-ease), filter 820ms var(--hq-ease);
}

.hq-category-card:hover img,
.hq-garment-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.hq-category-card a,
.hq-garment-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hq-category-card img,
.hq-garment-card img,
.hq-catalogue-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hq-catalogue-placeholder {
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--hq-muted);
  background: var(--hq-panel);
  text-align: center;
}

.hq-category-card-body,
.hq-garment-card-body {
  padding: 20px;
}

.hq-category-card h2,
.hq-garment-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.hq-category-card p,
.hq-garment-card p {
  margin: 0;
  color: var(--hq-muted);
}

.hq-empty-category {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 56px);
  border: 1px solid rgba(191, 143, 53, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hq-shadow);
  text-align: center;
}

.hq-empty-category h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.16;
}

.hq-empty-category p {
  margin: 0 auto 24px;
  max-width: 620px;
  color: var(--hq-muted);
}

.hq-garment-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.hq-garment-photo img {
  width: 100%;
  max-height: 820px;
  border-radius: 8px;
  object-fit: cover;
}

.hq-garment-info h1 {
  margin-top: 8px;
  font-size: 52px;
  line-height: 1.05;
}

.hq-garment-meta {
  margin: 28px 0;
  border-top: 1px solid var(--hq-line);
}

.hq-garment-meta div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hq-line);
}

.hq-garment-meta dt {
  font-weight: 800;
}

.hq-garment-meta dd {
  margin: 0;
  color: var(--hq-muted);
}

.hq-back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--hq-green);
  font-weight: 800;
  text-decoration: none;
}

.hq-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hq-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--hq-shadow);
  transition: transform 720ms var(--hq-ease), filter 720ms var(--hq-ease);
}

.hq-gallery img:hover {
  transform: translateY(-3px) scale(1.015);
  filter: saturate(1.04);
}

.hq-contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hq-contact-panel > * {
  min-height: 120px;
  padding: 24px;
  border: 1px solid var(--hq-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--hq-shadow);
}

.hq-rental-contact,
.hq-rental-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hq-rental-contact {
  padding: 16px 18px;
  border: 1px solid var(--hq-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--hq-shadow);
}

.hq-rental-contact strong {
  color: var(--hq-green);
}

.hq-rental-contact a {
  color: var(--hq-green);
  font-weight: 800;
}

.hq-button-secondary {
  border: 1px solid var(--hq-green);
  color: var(--hq-green) !important;
  background: #fff !important;
}

.hq-rental-guide {
  padding: clamp(42px, 7vw, 84px) 0;
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.98), rgba(251, 252, 250, 0.96)),
    var(--hq-silk);
}

.hq-guide-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.hq-guide-heading h2 {
  margin: 0 0 12px;
  font-size: 48px;
  line-height: 1.08;
}

.hq-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hq-rule-grid article,
.hq-process,
.hq-rule-details details {
  border: 1px solid var(--hq-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--hq-shadow);
  transition: border-color 320ms var(--hq-ease), box-shadow 320ms var(--hq-ease), transform 320ms var(--hq-ease);
}

.hq-rule-grid article:hover,
.hq-process:hover,
.hq-rule-details details:hover {
  border-color: rgba(191, 143, 53, 0.36);
  box-shadow: var(--hq-shadow-hover);
  transform: translateY(-3px);
}

.hq-rule-grid article {
  padding: 20px;
}

.hq-rule-grid article > span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: var(--hq-green);
  background: #f1dcc8;
  font-weight: 900;
}

.hq-rule-grid .hq-en,
.hq-rule-grid .hq-zh,
.hq-process .hq-en,
.hq-process .hq-zh,
.hq-rule-details .hq-en,
.hq-rule-details .hq-zh {
  width: auto;
  height: auto;
  margin: 0;
  display: block;
  place-items: initial;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-weight: inherit;
}

.hq-rule-grid h3,
.hq-process h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.hq-rule-grid p {
  margin: 0 0 10px;
  color: var(--hq-muted);
}

.hq-rule-grid p:last-child {
  margin-bottom: 0;
}

.hq-process {
  margin-top: 18px;
  padding: 24px;
}

.hq-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rental-process;
}

.hq-process li {
  position: relative;
  padding-left: 46px;
  color: var(--hq-muted);
  counter-increment: rental-process;
}

.hq-process li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--hq-green);
  content: counter(rental-process);
  font-weight: 900;
}

.hq-process strong,
.hq-process li > span {
  display: block;
}

.hq-process strong {
  margin-bottom: 6px;
  color: var(--hq-ink);
}

.hq-rule-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hq-rule-details details {
  padding: 18px 20px;
}

.hq-rule-details summary {
  cursor: pointer;
  color: var(--hq-green);
  font-weight: 900;
}

.hq-rule-details p {
  margin: 12px 0 0;
  color: var(--hq-muted);
}

.hq-rule-details .hq-en + .hq-zh,
.hq-process .hq-en + .hq-zh,
.hq-rule-grid .hq-en + .hq-zh {
  margin-top: 3px;
}

.hq-rule-details p .hq-en,
.hq-rule-details p .hq-zh {
  line-height: 1.65;
}

.hq-site-footer .hq-en,
.hq-site-footer .hq-zh,
.hq-site-footer a {
  display: block;
  margin-top: 4px;
}

.hq-contact-form {
  display: grid;
  gap: 12px;
}

.hq-contact-form input,
.hq-contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--hq-line);
  border-radius: 8px;
  font: inherit;
}

.hq-contact-form button {
  justify-self: start;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--hq-green);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(18, 76, 64, 0.14);
  transition: background-color 320ms var(--hq-ease), box-shadow 320ms var(--hq-ease), transform 320ms var(--hq-ease);
}

.hq-contact-form button:hover {
  background: #124c40;
  box-shadow: 0 20px 42px rgba(18, 76, 64, 0.2);
  transform: translateY(-2px);
}

.hq-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms var(--hq-ease), transform 760ms var(--hq-ease);
}

.hq-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hq-animate .hq-card,
.hq-animate .hq-category-card,
.hq-animate .hq-garment-card,
.hq-animate .hq-rule-grid article,
.hq-animate .hq-rule-details details {
  transition-delay: 80ms;
}

@media (max-width: 900px) {
  .hq-menu-toggle {
    display: inline-block;
  }

  .hq-menu-wrap {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 14px;
    border: 1px solid var(--hq-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--hq-shadow);
  }

  .hq-menu-wrap.is-open {
    display: block;
  }

  .hq-menu {
    display: grid;
    gap: 4px;
  }

  .hq-menu a {
    display: flex;
  }

  .hq-sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 2px 0 6px 14px;
    padding: 4px 0 0 10px;
    border: 0;
    border-left: 1px solid var(--hq-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hq-sub-menu a {
    padding: 8px 10px;
    white-space: normal;
  }

  .hq-footer-inner,
  .hq-two-col,
  .hq-feature-event,
  .hq-contact-panel,
  .hq-nz-profile {
    grid-template-columns: 1fr;
  }

  .hq-feature-event-copy {
    position: static;
  }

  .hq-footer-links {
    justify-content: flex-start;
  }

  .hq-card-grid,
  .hq-gallery,
  .hq-styling-gallery,
  .hq-category-grid,
  .hq-garment-grid,
  .hq-rule-grid,
  .hq-partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hq-process ol,
  .hq-rule-details {
    grid-template-columns: 1fr;
  }

  .hq-garment-detail {
    grid-template-columns: 1fr;
  }

  .hq-hero h1,
  .hq-page-hero h1,
  .hq-catalogue-header h1 {
    font-size: 50px;
  }

  .hq-section h2,
  .hq-guide-heading h2,
  .hq-garment-info h1 {
    font-size: 38px;
  }
}

@media (max-width: 620px) {
  .hq-brand strong {
    font-size: 14px;
  }

  .hq-brand small {
    font-size: 11px;
  }

  .hq-hero {
    min-height: 620px;
    padding-bottom: 80px;
  }

  .hq-home-hero {
    min-height: 660px;
    padding-top: 92px;
  }

  .hq-hero > .elementor-container,
  .hq-hero > .e-con-inner,
  .hq-home-hero-content {
    margin-left: 0;
  }

  .hq-hero h1,
  .hq-page-hero h1,
  .hq-catalogue-header h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .hq-section h2,
  .hq-guide-heading h2,
  .hq-garment-info h1,
  .hq-video-heading h2 {
    font-size: 31px;
    line-height: 1.16;
  }

  .hq-lead {
    font-size: 17px;
  }

  .hq-hero-slide {
    background-position: 53% center !important;
  }

  .hq-card-grid,
  .hq-gallery,
  .hq-category-grid,
  .hq-garment-grid,
  .hq-rule-grid,
  .hq-partner-grid {
    grid-template-columns: 1fr;
  }

  .hq-styling-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hq-pdf-card iframe {
    min-height: 520px;
  }

  .hq-hero .elementor-button.hq-button,
  .hq-hero .elementor-button.hq-button-secondary {
    flex-basis: 100%;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
  }

  .hq-event-facts {
    grid-template-columns: 1fr;
  }

  .hq-event-poster {
    max-height: 72vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hq-hero-slide,
  .hq-card,
  .hq-category-card,
  .hq-garment-card,
  .hq-gallery img,
  .hq-animate {
    transition: none;
    transform: none;
  }

  .hq-animate {
    opacity: 1;
  }
}