:root {
  --lh-primary: #a63d5d;
  --lh-primary-dark: #7f2943;
  --lh-cream: #fbf7f2;
  --lh-surface: #f3ece4;
  --lh-border: #e8ded2;
  --lh-text: #2f2a27;
  --lh-muted: #665e59;
  --lh-sage: #a9b8a5;
}

.lh-section,
.lh-section * {
  box-sizing: border-box;
}

.lh-section {
  margin-block: clamp(18px, 3vw, 34px);
}

.lh-hero {
  background: var(--lh-cream);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--lh-border);
  border-radius: 24px;
  overflow: hidden;
}

.lh-hero-grid,
.lh-space-grid {
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 0;
}

.lh-eyebrow {
  margin: 0 0 12px;
  color: var(--lh-primary);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.lh-hero-kicker {
  margin: 0 0 18px;
  color: var(--lh-text);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.3;
}

.lh-hero-title {
  margin: 0 0 20px;
  color: var(--lh-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.08;
}

.lh-hero-copy {
  max-width: 490px;
  margin: 0 0 26px;
  color: var(--lh-muted);
  font-size: 16px;
  line-height: 1.75;
}

.lh-hero-actions {
  gap: 12px;
}

.lh-btn-primary .wp-block-button__link,
.lh-btn-secondary .wp-block-button__link {
  border-radius: 999px;
  padding: 12px 21px;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.lh-btn-primary .wp-block-button__link {
  background: var(--lh-primary);
  color: #fff;
  border: 1px solid var(--lh-primary);
}

.lh-btn-primary .wp-block-button__link:hover {
  background: var(--lh-primary-dark);
  border-color: var(--lh-primary-dark);
}

.lh-btn-secondary .wp-block-button__link {
  color: var(--lh-primary);
  border-color: var(--lh-primary);
  background: transparent;
}

.lh-btn-secondary .wp-block-button__link:hover {
  color: #fff;
  background: var(--lh-primary);
}

.lh-hero-image,
.lh-space-image {
  margin: 0;
}

.lh-hero-image img,
.lh-space-image img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.lh-hero-image img {
  min-height: 430px;
  aspect-ratio: 16 / 10;
}

.lh-space-image img {
  min-height: 330px;
  aspect-ratio: 16 / 8;
}

.lh-category-grid.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 0;
}

.lh-category-card {
  height: 100%;
  padding: 22px 14px 18px;
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(77, 49, 40, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.lh-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(77, 49, 40, .1);
}

.lh-category-card h4 {
  margin: 8px 0 4px;
  color: var(--lh-text);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.lh-category-card p {
  margin: 0;
  font-size: 13px;
}

.lh-category-card a {
  color: var(--lh-primary);
  text-decoration: none;
}

.lh-category-icon {
  margin: 0;
  font-size: 54px;
  line-height: 1;
}

.lh-products,
.lh-space,
.lh-story,
.lh-contact {
  padding: clamp(24px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 22px;
}

.lh-section-heading {
  margin-bottom: 22px;
}

.lh-section-heading h2,
.lh-space h2,
.lh-story h2 {
  margin: 0;
  color: var(--lh-text);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

.lh-section-heading a,
.lh-contact a {
  color: var(--lh-primary);
}

.lh-products ul.products {
  margin-bottom: 0;
}

.lh-products ul.products li.product {
  padding: 14px;
  background: var(--lh-cream);
  border: 1px solid var(--lh-border);
  border-radius: 16px;
}

.lh-products ul.products li.product img {
  border-radius: 12px;
}

.lh-story {
  background: linear-gradient(135deg, #fff 0%, var(--lh-cream) 100%);
}

.lh-values-grid.wp-block-columns {
  gap: 14px;
  margin-bottom: 14px;
}

.lh-value-card {
  height: 100%;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 16px;
}

.lh-value-card h4 {
  margin: 0 0 8px;
  color: var(--lh-primary);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 17px;
}

.lh-value-card p {
  margin: 0;
  color: var(--lh-muted);
  font-size: 14px;
  line-height: 1.65;
}

.lh-contact {
  background: var(--lh-surface);
}

@media (max-width: 1024px) {
  .lh-category-grid.wp-block-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lh-products ul.products.columns-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 781px) {
  .lh-section {
    margin-block: 16px;
  }

  .lh-hero,
  .lh-products,
  .lh-space,
  .lh-story,
  .lh-contact {
    padding: 22px;
    border-radius: 18px;
  }

  .lh-hero-grid,
  .lh-space-grid {
    gap: 24px;
  }

  .lh-hero-title {
    font-size: clamp(38px, 12vw, 48px);
  }

  .lh-hero-kicker {
    font-size: 25px;
  }

  .lh-hero-image img {
    min-height: 270px;
    border-radius: 16px;
  }

  .lh-space-image img {
    min-height: 250px;
    border-radius: 16px;
  }

  .lh-category-grid.wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lh-category-card {
    padding: 18px 10px;
  }

  .lh-category-icon {
    font-size: 44px;
  }

  .lh-hero-actions .wp-block-button,
  .lh-hero-actions .wp-block-button__link {
    width: 100%;
  }

  .lh-hero-actions .wp-block-button__link {
    text-align: center;
  }

  .lh-contact .wp-block-buttons {
    justify-content: flex-start !important;
  }
}

/* v1.1.0 — ảnh thật Lạc Hồng */
.lh-photo img,
.lh-hero-image img {
  filter: saturate(.94) contrast(1.03) brightness(.99) sepia(.025);
}

.lh-photo-collage.wp-block-columns {
  gap: 14px;
  margin-bottom: 0;
}

.lh-photo-collage .wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lh-collage-small {
  margin: 0;
  flex: 1;
}

.lh-collage-small img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 158px;
  object-fit: cover;
  border-radius: 18px;
}

.lh-story-grid {
  gap: clamp(26px, 4vw, 48px);
}

.lh-story-image {
  margin: 0;
}

.lh-story-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 781px) {
  .lh-photo-collage.wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lh-photo-collage > .wp-block-column:first-child {
    grid-column: 1 / -1;
  }

  .lh-collage-small img {
    min-height: 150px;
  }
}

/* v1.1.1 — tối ưu bố cục ảnh trên mobile */
@media (max-width: 781px) {
  /* Bắt buộc các khối ảnh/chữ xếp một cột rõ ràng. */
  .lh-hero-grid.wp-block-columns,
  .lh-space-grid.wp-block-columns,
  .lh-story-grid.wp-block-columns {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .lh-hero-grid > .wp-block-column,
  .lh-space-grid > .wp-block-column,
  .lh-story-grid > .wp-block-column {
    width: 100%;
    flex-basis: auto !important;
  }

  /* Hero: giữ toàn bộ ảnh, không crop mạnh khiến mất người/chủ thể. */
  .lh-hero-image {
    width: 100%;
    margin: 2px 0 0;
  }

  .lh-hero-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
  }

  /* Gallery không gian: ảnh lớn trước, hai ảnh phụ thành từng hàng lớn. */
  .lh-photo-collage.wp-block-columns {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .lh-photo-collage > .wp-block-column {
    width: 100%;
    flex-basis: auto !important;
    gap: 12px;
  }

  .lh-space-image,
  .lh-collage-small,
  .lh-story-image {
    width: 100%;
    margin: 0;
  }

  .lh-space-image img,
  .lh-collage-small img,
  .lh-story-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 16px;
  }

  /* Giữ nhịp ảnh gọn, tránh khối ảnh chạm sát chữ. */
  .lh-space .wp-block-buttons,
  .lh-story .wp-block-buttons {
    margin-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .lh-hero,
  .lh-products,
  .lh-space,
  .lh-story,
  .lh-contact {
    padding: 18px;
  }

  .lh-hero-title {
    font-size: clamp(36px, 11vw, 44px);
  }

  .lh-hero-kicker {
    font-size: 23px;
  }
}
