.hh-guides {
  --hh-ink: var(--color-base-content);
  --hh-wine: var(--purple);
  --hh-mid: var(--muted);
  --hh-rule: var(--line);
  --hh-radius: var(--radius-box);
  width: min(100% - clamp(2rem, 7vw, 6rem), 75rem);
  margin-inline: auto;
  padding-block: clamp(1.5rem, 4vw, 3.25rem) clamp(3rem, 7vw, 6rem);
  color: var(--hh-ink);
}

.hh-guides :where(h1, h2, h3, p, ol, ul, figure) { margin: 0; }
.hh-guides :where(a:focus-visible, summary:focus-visible) { outline: 2px solid var(--hh-wine); outline-offset: 4px; }
.hh-guides a:not(.btn) { color: var(--hh-wine); }

.hh-cover {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  background: #f3eaf1;
  border-radius: var(--hh-radius);
  overflow: hidden;
}

.hh-cover-copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4.5rem);
}

.hh-cover h1,
.hh-article-heading h1 {
  color: var(--hh-wine);
  font-weight: 750;
  letter-spacing: -0.055em;
}

.hh-cover h1 { font-size: clamp(3.3rem, 6.6vw, 6rem); line-height: 0.94; }
.hh-cover h1 span { display: block; }
.hh-cover p {
  color: var(--hh-mid);
  margin-block-start: 1.45rem;
  max-width: 28ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}
.hh-cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
  object-position: 53% center;
}

.hh-jumps {
  padding-block: 1.35rem 1.65rem;
  border-bottom: 1px solid var(--hh-rule);
  margin-block-end: clamp(1.5rem, 4vw, 3rem);
}
.hh-jumps ul, .hh-breadcrumbs ol, .hh-related ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0;
  list-style: none;
}

.hh-jumps a, .hh-all-guides {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border: 1px solid #d8c9da;
  border-radius: var(--radius-field);
  background: #fff;
  color: var(--purple);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}
.hh-jumps a:hover, .hh-all-guides:hover { border-color: var(--purple); background: #f3eaf1; }

.hh-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.hh-section {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius);
  background: #fff;
  scroll-margin-block-start: 0.5rem;
}
.hh-section:target { border-color: #a889ad; }
.hh-section-property { grid-column: 1 / -1; }
.hh-section > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.12 / 1;
  object-fit: cover;
}
.hh-section-property > img {
  aspect-ratio: 3.6 / 1;
  object-position: 50% 54%;
}
.hh-section-hua-hin > img { object-position: 50% 45%; }
.hh-section-families > img { object-position: 50% 65%; }
.hh-section-body { padding: clamp(1.2rem, 3vw, 2rem); }
.hh-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.hh-section h2 {
  color: var(--hh-wine);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}
.hh-section-hub-link {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.hh-section-summary { color: var(--hh-mid); margin-block: 0.55rem 0.9rem; max-width: 62ch; line-height: 1.55; }
.hh-entries { list-style: none; padding: 0; }
.hh-section-property .hh-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
}
.hh-entries li { border-block-start: 1px solid var(--hh-rule); padding-block: 0.65rem 0.85rem; }
.hh-entry-topic {
  display: block;
  color: var(--hh-mid);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hh-entries a {
  display: inline-block;
  padding-block: 0.32rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-decoration-color: #b498bb;
  text-underline-offset: 0.22em;
}
.hh-entries a:hover { text-decoration-color: currentColor; }
.hh-entries p { color: var(--hh-mid); line-height: 1.55; font-size: 0.95rem; }

.hh-reader { max-width: 59rem; }
.hh-breadcrumbs { color: var(--hh-mid); margin-block-end: clamp(1.25rem, 4vw, 2.5rem); }
.hh-breadcrumbs ol { gap: 0.2rem 0.6rem; }
.hh-breadcrumbs li { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; }
.hh-breadcrumbs li + li::before { content: "/"; color: #79657c; }
.hh-breadcrumbs a { padding-block: 0.45rem; text-underline-offset: 0.2em; }
.hh-current { font-weight: 650; }
.hh-article-heading { max-width: none; }
.hh-topic-eyebrow {
  color: var(--hh-mid);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-block-end: 0.45rem;
}
.hh-article-heading h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.06; overflow-wrap: anywhere; }
.hh-byline { margin-block: 0.9rem 1.55rem; color: var(--hh-mid); font-size: 0.9rem; line-height: 1.55; }
.hh-answer {
  color: var(--hh-ink);
  padding: clamp(1rem, 3vw, 1.5rem);
  border-inline-start: 3px solid #80608a;
  border-radius: 0 var(--hh-radius) var(--hh-radius) 0;
  background: #f5edf4;
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
  line-height: 1.58;
}
.hh-article-picture { margin-block: 1.5rem 2rem; }
.hh-article-picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.3 / 1;
  object-fit: cover;
  border-radius: var(--hh-radius);
}
.hh-article-picture figcaption { color: var(--hh-mid); margin-block-start: 0.55rem; font-size: 0.82rem; }

.hh-toc {
  margin-block: 0 2rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius);
  background: #faf7fa;
}
.hh-toc h2 {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hh-mid);
  margin-block-end: 0.65rem;
}
.hh-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.5rem;
  padding-inline-start: 1.25rem;
  font-size: 0.96rem;
  line-height: 1.45;
}
.hh-toc a {
  text-decoration: none;
  font-weight: 600;
}
.hh-toc a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.hh-reader .guide-body {
  max-inline-size: none;
  overflow-wrap: break-word;
}
.hh-reader .guide-body h2 {
  scroll-margin-block-start: 5rem;
  color: var(--hh-wine);
  font-size: clamp(1.38rem, 2.4vw, 1.65rem);
  line-height: 1.24;
  margin-block: 2.2rem 0.75rem;
}
.hh-reader .guide-body h3 {
  color: var(--hh-ink);
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.35;
  margin-block: 1.5rem 0.45rem;
}
.hh-reader .guide-body hr {
  border: 0;
  border-block-start: 1px solid var(--hh-rule);
  margin-block: 2rem;
}
.hh-reader .guide-body table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.4rem;
  font-size: 0.94rem;
  line-height: 1.5;
}
.hh-reader .guide-body th,
.hh-reader .guide-body td {
  text-align: start;
  vertical-align: top;
  padding: 0.65rem 0.85rem;
  border-block-end: 1px solid var(--hh-rule);
}
.hh-reader .guide-body thead th {
  background: #f5edf4;
  color: var(--hh-wine);
  font-weight: 750;
}
.hh-reader .guide-body tbody tr:nth-child(even) td {
  background: #fcfafc;
}

.hh-related h2 {
  color: var(--hh-wine);
  font-size: clamp(1.45rem, 2.75vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.hh-related a:not(.btn) { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.hh-related { border-block-start: 1px solid var(--hh-rule); margin-block-start: 2.5rem; padding-block-start: 1.5rem; }
.hh-related ul { margin-block: 0.55rem 1.25rem; }
.hh-related li a { display: inline-block; padding-block: 0.35rem; }
.hh-related-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

/* Audience lifestyle pages (/retirees/, /families/, /professionals/) */
.lifestyle-page {
  width: min(100% - clamp(2rem, 7vw, 6rem), 59rem);
}
.lifestyle-page-intro {
  max-width: none;
}
.lifestyle-hero {
  margin-block: 0 2.25rem;
}
.lifestyle-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.3 / 1;
  object-fit: cover;
  border-radius: var(--radius-box);
}
.lifestyle-hero-retirees img { object-position: 50% 35%; }
.lifestyle-hero-families img { object-position: 50% 65%; }
.lifestyle-hero figcaption {
  color: var(--muted);
  margin-block-start: 0.5rem;
  font-size: 0.82rem;
}
.lifestyle-reader {
  max-inline-size: none;
}
.lifestyle-reader h2 {
  color: var(--purple);
  font-size: clamp(1.38rem, 2.4vw, 1.65rem);
  line-height: 1.24;
  margin-block: 2.1rem 0.75rem;
}
.lifestyle-reader h3 {
  color: var(--color-base-content);
  font-size: 1.12rem;
  font-weight: 750;
  margin-block: 1.4rem 0.45rem;
}
.lifestyle-reader table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.4rem;
  font-size: 0.94rem;
  line-height: 1.5;
}
.lifestyle-reader th,
.lifestyle-reader td {
  text-align: start;
  vertical-align: top;
  padding: 0.65rem 0.85rem;
  border-block-end: 1px solid var(--line);
}
.lifestyle-reader thead th {
  background: #f5edf4;
  color: var(--purple);
  font-weight: 750;
}
.lifestyle-reader tbody tr:nth-child(even) td {
  background: #fcfafc;
}

.lifestyle-guides {
  margin-block-start: 2.75rem;
  padding-block-start: 2rem;
  border-block-start: 1px solid var(--line);
}
.lifestyle-guides-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-block-end: 1.15rem;
}
.lifestyle-guides-head h2 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
}
.lifestyle-guides-head a {
  color: var(--purple);
  font-weight: 700;
  text-underline-offset: 0.22em;
}
.lifestyle-guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.lifestyle-guides-grid li {
  border: 1px solid var(--line);
  border-radius: var(--radius-box);
  background: #fff;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.lifestyle-guides-grid a {
  display: inline-block;
  color: var(--purple);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-decoration-color: #b498bb;
  text-underline-offset: 0.22em;
}
.lifestyle-guides-grid a:hover {
  text-decoration-color: currentColor;
}
.lifestyle-guides-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.lifestyle-guides-more {
  margin-block-end: 1.75rem;
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-box);
  background: #faf7fa;
}
.lifestyle-guides-more h3 {
  margin: 0 0 0.9rem;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.lifestyle-essential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lifestyle-essential-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: border-color 150ms ease;
}
.lifestyle-essential-grid li:hover {
  border-color: #a889ad;
}
.lifestyle-essential-grid a {
  color: var(--purple);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}
.lifestyle-essential-grid a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.lifestyle-essential-grid a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .hh-cover, .hh-sections, .hh-section-property .hh-entries, .hh-toc ol, .lifestyle-guides-grid, .lifestyle-essential-grid { grid-template-columns: minmax(0, 1fr); }
  .hh-reader .guide-body table, .lifestyle-reader table { display: block; overflow-x: auto; }
  .hh-cover h1 span { display: inline; }
  .hh-cover img { min-height: 0; height: auto; aspect-ratio: 1.8 / 1; }
  .hh-cover-copy { padding: 1.4rem; }
  .hh-cover h1 { font-size: clamp(2.6rem, 9.2vw, 4rem); }
  .hh-cover p { margin-block-start: 0.85rem; }
  .hh-section > img, .hh-section-property > img { aspect-ratio: 1.9 / 1; }
  .hh-article-picture img, .lifestyle-hero img { aspect-ratio: 1.67 / 1; }
}
@media (max-width: 420px) {
  .hh-jumps ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-jumps a { width: 100%; justify-content: center; padding-inline: 0.45rem; }
}
