
.hh-blog {
  --hh-gold: #B98224;
  --hh-gold-light: #D4A044;
  --hh-champagne: #E8C982;
  --hh-ink: #18201F;
  --hh-dark: #303936;
  --hh-text: #5C625D;
  --hh-muted: #8A8D86;
  --hh-limestone: #F7F4EC;
  --hh-white: #FFFFFF;
  --hh-sandstone: #F0E9DB;

  font-family: "Inter", sans-serif;
  color: var(--hh-text);
  background: var(--hh-white);
  line-height: 1.8;
  font-size: 17px;
}

.hh-blog *,
.hh-blog *::before,
.hh-blog *::after {
  box-sizing: border-box;
}

.hh-blog h1,
.hh-blog h2,
.hh-blog h3 {
  font-family: "DM Sans", sans-serif;
  color: var(--hh-ink);
  line-height: 1.25;
  margin-top: 0;
}

.hh-blog__hero {
  background: var(--hh-ink);
  padding: 78px 24px 76px;
  position: relative;
  overflow: hidden;
}

.hh-blog__hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(232, 201, 130, 0.22);
  border-radius: 50%;
  right: -90px;
  top: -100px;
}

.hh-blog__hero-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hh-blog__eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hh-champagne);
}

.hh-blog__hero h1 {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--hh-white);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hh-blog__body {
  width: min(790px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 80px;
}

.hh-blog__body > p:first-child {
  font-size: 20px;
  line-height: 1.75;
  color: var(--hh-dark);
}

.hh-blog__body p {
  margin: 0 0 22px;
}

.hh-blog__body strong {
  color: var(--hh-dark);
  font-weight: 700;
}

.hh-blog__body em {
  color: var(--hh-dark);
}

.hh-blog__body h2 {
  position: relative;
  margin: 64px 0 24px;
  padding-left: 18px;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hh-blog__body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: calc(100% - 10px);
  background: var(--hh-gold);
  border-radius: 3px;
}

.hh-blog__body h3 {
  margin: 40px 0 18px;
  font-size: 21px;
  font-weight: 700;
  color: var(--hh-dark);
}

.hh-blog__body ul,
.hh-blog__body ol {
  margin: 0 0 24px;
  padding-left: 28px;
}

.hh-blog__body li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.hh-blog__body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--hh-gold);
  background: var(--hh-limestone);
  color: var(--hh-dark);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
}

.hh-blog__body a {
  color: var(--hh-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hh-blog__body a:hover {
  color: var(--hh-gold-light);
}

.hh-blog__author {
  margin-top: 68px;
  padding: 28px 30px;
  background: var(--hh-limestone);
  border: 1px solid var(--hh-sandstone);
  border-radius: 4px;
}

.hh-blog__author p {
  margin-bottom: 8px;
}

.hh-blog__author p:last-child {
  margin-bottom: 0;
}

.hh-blog__author strong {
  color: var(--hh-ink);
}

@media (max-width: 700px) {
  .hh-blog {
    font-size: 16px;
  }

  .hh-blog__hero {
    padding: 58px 20px 56px;
  }

  .hh-blog__hero h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .hh-blog__body {
    width: min(100% - 32px, 790px);
    padding: 48px 0 60px;
  }

  .hh-blog__body > p:first-child {
    font-size: 18px;
  }

  .hh-blog__body h2 {
    margin-top: 50px;
    font-size: 25px;
  }

  .hh-blog__body h3 {
    font-size: 20px;
  }

  .hh-blog__body blockquote {
    padding: 18px 20px;
  }

  .hh-blog__author {
    padding: 22px;
  }
}


/* =====================================================
   HH ADDITIVE TABLE SUPPORT -- no other reference rule changes
   Paste INSIDE the existing design's single <style> element
   ONLY for manuscripts containing actual tables.
   ===================================================== */
.hh-blog .hh-blog__table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 27px 0 34px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid #E0D8C8;
  border-radius: 7px;
  background: #FFFFFF;
}
.hh-blog .hh-blog__table-scroll:focus-visible {
  outline: 3px solid #B98224;
  outline-offset: 4px;
}
.hh-blog .hh-blog__table-scroll table {
  width: 100%;
  min-width: 570px;
  margin: 0;
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: auto;
  font: inherit;
  font-size: 15px;
  line-height: 1.65;
}
.hh-blog .hh-blog__table-scroll caption {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: #303936;
  background: #F7F4EC;
}
.hh-blog .hh-blog__table-scroll :is(th,td) {
  padding: 13px 16px;
  border: 0;
  border-right: 1px solid #E6E1D7;
  border-bottom: 1px solid #E6E1D7;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  color: #303936;
  background: #FFFFFF;
}
.hh-blog .hh-blog__table-scroll :is(th,td):last-child {
  border-right: 0;
}
.hh-blog .hh-blog__table-scroll thead th {
  color: #18201F;
  font-weight: 700;
  background: #F0E9DB;
  border-bottom: 2px solid #D4A044;
}
.hh-blog .hh-blog__table-scroll tbody tr:nth-child(even) :is(th,td) {
  background: #FBF9F4;
}
.hh-blog .hh-blog__table-scroll tbody tr:last-child :is(th,td) {
  border-bottom: 0;
}
.hh-blog .hh-blog__table-scroll tbody th[scope="row"] {
  color: #18201F;
  font-weight: 700;
}
.hh-blog .hh-blog__table-scroll :is(code,kbd,samp) {
  overflow-wrap: normal;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .hh-blog .hh-blog__table-scroll { margin: 23px 0 28px; }
  .hh-blog .hh-blog__table-scroll table { min-width: 540px; font-size: 14px; }
  .hh-blog .hh-blog__table-scroll :is(th,td) { padding: 11px 12px; }
}

/* Safety: long code examples remain horizontally scrollable. */
.hh-blog pre{max-width:100%;overflow-x:auto}

