@font-face {
  font-family: 'Dana';
  src: url('../fonts/DanaFaNum-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dana';
  src: url('../fonts/DanaFaNum-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dana';
  src: url('../fonts/DanaFaNum-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dana';
  src: url('../fonts/DanaFaNum-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dana';
  src: url('../fonts/DanaFaNum-DemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dana';
  src: url('../fonts/DanaFaNum-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dana';
  src: url('../fonts/DanaFaNum-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'dana';
  src: url('../fonts/DanaFaNum-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'dana';
  src: url('../fonts/DanaFaNum-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'dana';
  src: url('../fonts/DanaFaNum-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'dana';
  src: url('../fonts/DanaFaNum-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'dana';
  src: url('../fonts/DanaFaNum-DemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'dana';
  src: url('../fonts/DanaFaNum-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'dana';
  src: url('../fonts/DanaFaNum-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --hg-font: 'Dana', 'dana', Tahoma, Arial, sans-serif;
  --hg-fw-body: 400;
  --hg-fw-label: 500;
  --hg-fw-button: 700;
  --hg-fw-title: 800;
  --hg-ink: #1a1a1a;
  --hg-grey: #666766;
  --hg-blue: #4661ad;
  --hg-yellow: #feed52;
  --hg-cream: #f2ebe0;
  --hg-navy: #1e293f;
  --hg-border: color-mix(in srgb, #1e293f 14%, transparent);
  --hg-shadow: 0 18px 48px rgba(30, 41, 63, 0.08);
  --hg-radius: 24px;
  --hg-bg: #ffffff;
  --hg-fg: #1a1a1a;
  --hg-footer-bg: #ffffff;
  --hg-footer-fg: #1a1a1a;
  --hg-surface: #ffffff;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-family: var(--hg-font);
}

body {
  margin: 0;
  font-family: var(--hg-font);
  color: var(--hg-fg);
  background: var(--hg-bg);
  line-height: 1.9;
  transition: background 0.25s ease, color 0.25s ease;
}

button, input, select, textarea,
.hg-button, .hg-nav, .hg-article, .hg-site-header, .hg-site-footer {
  font-family: var(--hg-font);
}

a {
  color: var(--hg-blue);
  text-decoration: none;
}

a:hover {
  color: #324b93;
}

img {
  max-width: 100%;
  height: auto;
}

.hg-site-shell {
  min-height: 100vh;
}

.hg-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hg-container.hg-singular-grid {
  width: min(110vh, calc(100% - 32px), 1200px);
  max-width: min(110vh, 1200px);
}

.hg-stack {
  padding: 40px 0 72px;
}

.hg-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(70, 97, 173, 0.1);
}

.hg-header__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.hg-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hg-brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: transparent;
  color: var(--hg-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  overflow: hidden;
  flex-shrink: 0;
}

.hg-brand__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}

html:not([data-theme='dark']) .hg-brand__logo--day,
html[data-theme='light'] .hg-brand__logo--day {
  display: block;
}

html[data-theme='dark'] .hg-brand__logo--night {
  display: block;
}

.hg-brand__title {
  display: block;
  color: var(--hg-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.hg-brand__subtitle {
  margin: 2px 0 0;
  color: var(--hg-grey);
  font-size: 0.9rem;
}

.hg-nav__menu,
.hg-footer-links,
.hg-list,
.hg-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hg-nav__menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px 14px;
  align-items: center;
  font-size: 0.875rem;
}

.hg-nav__menu > li {
  position: relative;
}

.hg-nav__menu > li > a {
  color: var(--hg-ink);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
}

.hg-nav__menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 11.5rem;
  padding: 0.45rem;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--hg-border);
  border-radius: 14px;
  box-shadow: var(--hg-shadow);
  z-index: 40;
}

.hg-nav__menu > li:hover > .sub-menu,
.hg-nav__menu > li:focus-within > .sub-menu {
  display: block;
}

.hg-nav__menu .sub-menu a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hg-ink);
}

.hg-nav__menu .sub-menu a:hover {
  background: color-mix(in srgb, var(--hg-yellow) 35%, #fff);
}

html[data-theme='dark'] .hg-nav__menu .sub-menu {
  background: #1e293f;
  border-color: color-mix(in srgb, #f2ebe0 16%, transparent);
}

html[data-theme='dark'] .hg-nav__menu .sub-menu a:hover {
  background: color-mix(in srgb, var(--hg-yellow) 18%, #1e293f);
}

.hg-header__actions,
.hg-hero__actions,
.hg-footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  border: 1px solid transparent;
  transition: 0.22s ease;
}

.hg-button:hover {
  transform: translateY(-1px);
}

.hg-button--primary {
  background: #feed52;
  color: #1a1a1a;
  box-shadow: 0 8px 18px rgba(255, 237, 82, 0.28);
}

.hg-footer-cta .hg-button--primary {
  background: #feed52;
  color: #1a1a1a;
}

.hg-button--ghost {
  border-color: rgba(70, 97, 173, 0.24);
  background: rgba(255, 255, 255, 0.55);
  color: var(--hg-blue);
}

.hg-button--full {
  width: 100%;
}

.hg-category-sections {
  padding-block: 1rem 2.5rem;
}

.hg-cat-block {
  margin-bottom: 3.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--hg-border);
}

.hg-cat-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.hg-cat-block__desc {
  margin: 0.35rem 0 0;
  color: var(--hg-grey);
  max-width: 40rem;
  font-size: 0.95rem;
  font-weight: 400;
}

.hg-section-head {
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.hg-post-grid {
  gap: 1.25rem;
}

.hg-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hg-border);
}

.hg-rating {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--hg-border);
  background: color-mix(in srgb, var(--hg-yellow) 12%, #fff);
}

.hg-rating--top {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  display: flex;
  justify-content: center;
}

.hg-rating--top .hg-rating__stars {
  margin: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hg-hero__card .hg-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.hg-hero__card .hg-checklist a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--hg-blue) 8%, #fff);
  color: var(--hg-ink);
  font-weight: 600;
  font-size: 0.9rem;
}

.hg-hero__card .hg-checklist a:hover {
  background: color-mix(in srgb, var(--hg-yellow) 35%, #fff);
}

.hg-header .hg-button {
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
}

.hg-section-label {
  margin: 0 0 12px;
  color: var(--hg-blue);
  font-size: 0.94rem;
  font-weight: 700;
}

.hg-section-head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hg-section-head h2,
.hg-featured h2,
.hg-related h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
}

.hg-footer-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.45;
  font-weight: 700;
}

.hg-related__title {
  margin: 0;
  font-size: 1.15rem !important;
  font-weight: 700;
}

.hg-hero {
  padding: 56px 0 28px;
}

.hg-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hg-hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
}

.hg-hero__lead {
  margin: 0 0 18px;
  max-width: 36rem;
}

.hg-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.hg-hero__lead,
.hg-page__excerpt,
.hg-article__excerpt,
.hg-archive-desc,
.hg-author-header__bio {
  margin: 0 0 20px;
  color: var(--hg-grey);
  font-size: 1.05rem;
}

.hg-footer-cta p {
  margin: 0;
  color: var(--hg-grey);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 36rem;
}

.hg-footer-cta .hg-section-label {
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.hg-archive-header {
  margin-bottom: 28px;
}

.hg-archive-title,
.hg-archive-header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem) !important;
  font-weight: 700;
  line-height: 1.35;
}

.hg-archive-desc {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.hg-hero__card,
.hg-pillar-card,
.hg-post-card,
.hg-widget,
.hg-article,
.hg-page,
.hg-empty-state,
.hg-footer-cta {
  background: var(--hg-surface);
  border: 1px solid var(--hg-border);
  border-radius: var(--hg-radius);
  box-shadow: var(--hg-shadow);
}

.hg-hero__card,
.hg-footer-cta,
.hg-pillar-card,
.hg-empty-state,
.hg-widget,
.hg-page,
.hg-article {
  padding: 28px;
}

.hg-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(70, 97, 173, 0.1);
  color: var(--hg-blue);
  font-size: 0.85rem;
  font-weight: 700;
}

.hg-checklist li,
.hg-list li {
  position: relative;
  padding-right: 18px;
  margin-top: 12px;
}

.hg-checklist li::before,
.hg-list li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.9em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--hg-yellow);
  box-shadow: 0 0 0 5px rgba(255, 237, 82, 0.24);
}

.hg-posts,
.hg-featured,
.hg-related {
  padding: 20px 0 42px;
}

.hg-pillar-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  text-align: center;
}

.hg-pillar-card__body {
  text-align: right;
}

.hg-pillar-card__cta {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hg-pillar-card__cta .hg-button--primary {
  min-width: auto;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
}

.hg-pillar-card h3 {
  margin: 12px 0 12px;
  font-size: 1.55rem;
}

.hg-hero__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hg-checklist--interactive {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hg-checklist--interactive li {
  margin: 0;
  padding: 0;
  position: static;
}

.hg-checklist--interactive li::before {
  display: none;
}

.hg-coverage-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--hg-border);
  background: rgba(242, 235, 224, 0.55);
  color: #1a1a1a;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.hg-coverage-item:hover,
.hg-coverage-item.is-active {
  border-color: color-mix(in srgb, #feed52 55%, transparent);
  background: color-mix(in srgb, #feed52 28%, #ffffff);
  box-shadow: 0 8px 20px rgba(30, 41, 63, 0.08);
}

.hg-coverage-item__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #feed52;
  color: #1a1a1a;
  font-weight: 900;
  flex-shrink: 0;
}

.hg-coverage-item__title {
  font-size: 0.92rem;
  line-height: 1.45;
}

.hg-coverage-detail {
  padding: 8px 0 28px;
}

.hg-coverage-panel {
  background: var(--hg-surface);
  border: 1px solid var(--hg-border);
  border-radius: var(--hg-radius);
  box-shadow: var(--hg-shadow);
  padding: 28px;
}

.hg-coverage-panel__item[hidden] {
  display: none !important;
}

.hg-coverage-panel__item h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.hg-coverage-panel__item .hg-button {
  margin-top: 8px;
}

.hg-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hg-post-card {
  overflow: hidden;
}

.hg-post-card__inner {
  display: block;
  padding: 24px;
  height: 100%;
}

.hg-post-card__inner:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 233, 214, 0.9));
}

.hg-post-card__meta,
.hg-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--hg-grey);
  font-size: 0.9rem;
}

.hg-post-card h3 {
  margin: 14px 0 10px;
  color: var(--hg-ink);
  font-size: 1.22rem;
  line-height: 1.45;
}

.hg-post-card p {
  margin: 0 0 14px;
  color: var(--hg-grey);
}

.hg-text-link {
  color: var(--hg-blue);
  font-weight: 800;
}

.hg-breadcrumbs-wrap {
  padding-top: 22px;
}

.rank-math-breadcrumb {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--hg-grey);
  font-size: 0.92rem;
}

.rank-math-breadcrumb .separator {
  margin: 0 8px;
}

.hg-singular-grid {
  display: block;
  max-width: min(110vh, 1200px);
  width: min(100% - 2rem, 110vh, 1200px);
  margin-inline: auto;
  padding-top: 28px;
  padding-bottom: 72px;
}

.hg-blog-singular .hg-sidebar {
  display: none !important;
}

.hg-article-shell {
  width: 100%;
}

.hg-article {
  padding: 32px 28px;
}

.hg-article h1 {
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
}

.hg-article h1,
.hg-page h1,
.hg-author-header h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.22;
}

.hg-article__content,
.hg-page__content {
  font-size: 1.03rem;
}

.hg-article__content h2,
.hg-page__content h2 {
  margin-top: 40px;
  font-size: 1.8rem;
  line-height: 1.35;
}

.hg-article__content h3,
.hg-page__content h3 {
  margin-top: 28px;
  font-size: 1.32rem;
}

.hg-article__content p,
.hg-page__content p,
.hg-article__content li,
.hg-page__content li {
  color: #353535;
}

.hg-article__content ul,
.hg-article__content ol,
.hg-page__content ul,
.hg-page__content ol {
  padding-right: 22px;
}

.hg-article__content blockquote,
.hg-page__content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-right: 4px solid #feed52;
  background: color-mix(in srgb, #4661ad 8%, #ffffff);
  border-radius: 18px;
  color: #1a1a1a;
}
.hg-article__content table,
.hg-page__content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  margin: 1.25rem 0;
}
.hg-article__content th,
.hg-article__content td,
.hg-page__content th,
.hg-page__content td {
  border: 1px solid var(--hg-border);
  padding: 0.65rem 0.75rem;
  text-align: right;
}
.hg-article__content th,
.hg-page__content th {
  background: color-mix(in srgb, #4661ad 10%, transparent);
  font-weight: 700;
}

.hg-widget + .hg-widget {
  margin-top: 18px;
}

.hg-widget__title {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.hg-sidebar-cta p {
  margin: 0 0 14px;
  color: var(--hg-grey);
}

.hg-pagination {
  margin-top: 28px;
}

.hg-pagination .nav-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.hg-pagination .page-numbers {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(70, 97, 173, 0.16);
}

.hg-empty-state {
  text-align: center;
}

.hg-empty-state--large {
  padding: 60px 28px;
}

.hg-site-footer {
  padding: 28px 0 36px;
  background: var(--hg-navy);
  color: #f8f8f8;
}

.hg-site-footer .hg-section-label,
.hg-site-footer a {
  color: var(--hg-yellow);
}

.hg-footer-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(70, 97, 173, 0.14), rgba(255, 237, 82, 0.12));
}

.hg-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.hg-footer-grid h3 {
  margin: 0 0 12px;
  color: #fff;
}

.hg-footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.hg-footer-links li + li {
  margin-top: 10px;
}

.hg-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1024px) {
  .hg-header__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    min-height: 72px;
    padding: 12px 0;
  }

  .hg-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hg-brand__subtitle {
    display: none;
  }

  .hg-nav-toggle {
    display: inline-grid;
    order: 2;
  }

  .hg-header__actions {
    order: 3;
    width: auto;
    margin-inline-start: auto;
  }

  .hg-nav {
    order: 4;
    display: none;
    width: 100%;
    flex-basis: 100%;
    background: var(--hg-surface, #fff);
    border: 1px solid var(--hg-border, rgba(70, 97, 173, 0.14));
    border-radius: 1rem;
    padding: 0.75rem;
    box-shadow: 0 12px 32px color-mix(in srgb, #1a1a1a 8%, transparent);
  }

  .hg-nav.is-open {
    display: block;
  }

  .hg-nav__menu {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
  }

  .hg-nav__menu > li > a {
    display: block;
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    white-space: normal;
  }

  .hg-nav__menu > li > a:hover {
    background: color-mix(in srgb, #4661ad 8%, transparent);
  }

  .hg-nav__menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.35rem 0.75rem;
    background: transparent;
  }

  .hg-nav__menu .sub-menu a {
    display: block;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    opacity: 0.85;
  }

  body.hg-nav-open {
    overflow: hidden;
  }

  .hg-hero__grid,
  .hg-singular-grid,
  .hg-footer-cta,
  .hg-pillar-card,
  .hg-footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hg-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-footer-cta {
    text-align: center;
  }

  .hg-footer-cta__actions {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .hg-container {
    width: min(100% - 20px, 1120px);
  }

  .hg-container.hg-singular-grid {
    width: min(100% - 20px, 1200px);
    max-width: none;
  }

  .hg-header__inner {
    min-height: auto;
    padding: 10px 0;
    gap: 10px;
  }

  .hg-brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.85rem;
  }

  .hg-brand__title {
    font-size: 0.95rem;
  }

  .hg-header__actions .hg-button {
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .hg-theme-toggle,
  .hg-nav-toggle {
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
  }

  .hg-post-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hg-hero {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .hg-article {
    padding: 1.25rem 1rem;
  }

  .hg-article__content,
  .hg-page__content {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hg-article__content img,
  .hg-article__content video,
  .hg-article__content iframe,
  .hg-article__content table {
    max-width: 100%;
  }

  .hg-article__content pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.78rem;
  }

  .hg-article__content table {
    display: block;
    overflow-x: auto;
  }

  .hg-meta-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.75rem;
  }

  .hg-footer-grid {
    gap: 1.5rem;
  }

  .hg-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .hg-stack {
    padding: 28px 0 48px;
  }

  .hg-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Extra-small phones */
@media (max-width: 400px) {
  .hg-header__actions .hg-button {
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
  }

  .hg-brand__title {
    font-size: 0.88rem;
  }
}


/* Rating + comments */
.hg-rating {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid var(--hg-border);
  background: color-mix(in srgb, #feed52 10%, #ffffff);
}
.hg-rating.hg-rating--top {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.hg-rating__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}
.hg-rating__hint,
.hg-rating__status {
  margin: 0;
  color: var(--hg-grey);
  font-size: 0.88rem;
}
.hg-rating__stars {
  display: flex;
  gap: 0.35rem;
  margin: 0.85rem 0 0.65rem;
}
.hg-rating--top .hg-rating__stars {
  margin: 0;
}
.hg-rating__star {
  border: 0;
  background: transparent;
  color: #c9c3b8;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-grid;
  place-items: center;
}
.hg-rating__star > i {
  display: block;
  line-height: 1;
  font-size: 1.2rem;
}
.hg-rating__star:hover,
.hg-rating__star.is-active {
  color: #1a1a1a;
  text-shadow: 0 0 0 #feed52, 0 0 12px rgba(254, 237, 82, 0.85);
  transform: translateY(-1px);
}
.hg-rating__star:disabled {
  cursor: default;
  opacity: 0.85;
}
.hg-rating-summary {
  color: #1a1a1a;
  font-weight: 700;
}

.hg-comments {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hg-border);
}
.hg-comments__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}
.hg-comments__note,
.hg-comments__empty,
.hg-comments__closed p {
  color: var(--hg-grey);
  font-size: 0.9rem;
}
.hg-comment-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.hg-comment__body {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid var(--hg-border);
  background: var(--hg-surface);
}
.hg-comment__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: baseline;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  color: var(--hg-grey);
}
.hg-comment__author {
  color: #1a1a1a;
  font-size: 0.95rem;
}
.hg-comment__content p:last-child {
  margin-bottom: 0;
}
.hg-comment__reply {
  margin-top: 0.5rem;
}
.hg-comment__reply a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hg-blue);
}

.comment-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
}
.comment-form p {
  margin: 0 0 0.85rem;
}
.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--hg-border);
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
  color: #1a1a1a;
}
.comment-form .form-submit {
  margin-top: 0.5rem;
}
.comment-form .hg-button {
  cursor: pointer;
}

/* ===== Site fixes 1.3.0 ===== */
.hg-display-title {
  font-family: var(--hg-font);
  font-weight: 700;
  font-synthesis: none;
}

.hg-hero {
  overflow: visible;
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
}
.hg-hero__grid {
  align-items: stretch;
  gap: 1.5rem;
}
.hg-hero__card {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  transform: none !important;
  overflow: hidden;
}
.hg-hero__title {
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.55;
  font-weight: 700;
}
.hg-hero__title .hg-hero__title-line {
  display: block;
}

.hg-theme-toggle,
.hg-nav-toggle {
  border: 1px solid color-mix(in srgb, #4661ad 28%, transparent);
  background: color-mix(in srgb, #ffffff 88%, transparent);
  color: #1a1a1a;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: inline-grid;
  place-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.hg-theme-toggle > i,
.hg-nav-toggle > i {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
  width: 1em;
  height: 1em;
  text-align: center;
}
.hg-theme-toggle:hover,
.hg-nav-toggle:hover {
  border-color: #feed52;
  box-shadow: 0 0 12px color-mix(in srgb, #feed52 30%, transparent);
}
@media (min-width: 1025px) {
  .hg-nav-toggle {
    display: none !important;
  }
}
.hg-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.hg-coverage-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hg-coverage-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, #feed52 55%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, #feed52 22%, transparent);
}
.hg-coverage-item:hover .hg-coverage-item__icon {
  transform: scale(1.08);
}
.hg-coverage-item__icon {
  transition: transform 0.2s ease;
}
.hg-post-card,
.hg-pillar-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.hg-post-card:hover,
.hg-pillar-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, #feed52 45%, transparent);
  box-shadow: 0 10px 28px color-mix(in srgb, #feed52 14%, transparent);
}
.hg-nav__menu a {
  position: relative;
}
.hg-nav__menu .current-menu-item > a,
.hg-nav__menu a:hover {
  color: #4661ad;
}
.hg-nav__menu .current-menu-item > a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  background: #feed52;
}
.hg-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.hg-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Single article type scale */
.hg-article {
  max-width: min(110vh, 100%);
  width: 100%;
  margin-inline: auto;
}
.hg-article h1,
.hg-article__header h1 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem) !important;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
  max-width: min(36rem, 100%);
  margin-inline: auto;
}
.hg-article__excerpt {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 400;
  color: var(--hg-grey);
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}
.hg-meta-row {
  font-size: 0.875rem;
  color: #666766;
  justify-content: center;
}
.hg-article__content {
  font-size: 0.975rem;
  line-height: 1.85;
  max-width: none;
  width: 100%;
  margin-inline: 0;
  font-weight: 400;
}
.hg-article__content h2 {
  font-size: 1.15rem !important;
  font-weight: 700;
  margin-top: 1.75rem;
}
.hg-article__content h3 {
  font-size: 1.02rem !important;
  font-weight: 700;
}
.hg-article h1,
.hg-article__header h1,
.hg-display-title {
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
  font-weight: 800;
  line-height: 1.35;
}
.hg-article__excerpt {
  font-size: 0.95rem !important;
  line-height: 1.7;
}
.hg-article__content pre,
.hg-article__content code {
  font-size: 0.82rem;
}
.hg-article__content pre {
  direction: ltr;
  text-align: left;
  overflow-x: auto;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--hg-navy) 92%, #000);
  color: #f2ebe0;
}
.hg-hero__title {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem) !important;
}
.hg-hero__lead {
  font-size: 0.95rem !important;
}
.hg-section-head h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem) !important;
}
.hg-post-card h3 {
  font-size: 1rem !important;
}
.hg-post-card p {
  font-size: 0.875rem !important;
}
.hg-brand__subtitle {
  font-size: 0.75rem !important;
}

.hg-read-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 60;
  background: color-mix(in srgb, #666766 15%, transparent);
  pointer-events: none;
}
.hg-read-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: #feed52;
  box-shadow: 0 0 10px color-mix(in srgb, #feed52 50%, transparent);
}

.hg-rating,
.hg-comments,
.comment-respond {
  position: relative;
  margin-top: 2rem;
  clear: both;
}
.hg-rating.hg-rating--top {
  margin-top: 14px;
  clear: none;
}
.hg-comments {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.comment-respond {
  padding: 1.25rem 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid var(--hg-border);
  background: var(--hg-surface);
}

.hg-rating__star:hover,
.hg-rating__star.is-active {
  color: #1a1a1a;
  text-shadow: 0 0 12px color-mix(in srgb, #feed52 85%, transparent);
  transform: scale(1.12);
}

/* Footer — day matches home light footer (cream/surface), not navy */
.hg-site-footer {
  background: var(--hg-footer-bg);
  color: var(--hg-footer-fg);
}
.hg-site-footer .hg-section-label,
.hg-site-footer a {
  color: #4661ad;
}
.hg-site-footer .hg-button--primary {
  background: #feed52;
  color: #1a1a1a;
}
.hg-footer-grid h3 {
  color: var(--hg-footer-fg);
}
.hg-footer-grid p,
.hg-footer-bottom {
  color: #666766;
}
.hg-footer-cta {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, #4661ad 22%, transparent);
  border-radius: var(--hg-radius);
  box-shadow: var(--hg-shadow);
}
.hg-footer-cta h2 {
  color: #1a1a1a;
  font-size: clamp(1rem, 1.4vw, 1.2rem) !important;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
}
.hg-footer-cta p {
  color: #666766;
  font-size: 0.88rem !important;
  line-height: 1.65;
  margin: 0;
}
.hg-footer-bottom {
  border-top-color: color-mix(in srgb, #1e293f 12%, transparent);
}

html[data-theme='dark'] {
  --hg-bg: #1a1a1a;
  --hg-fg: #f2ebe0;
  --hg-cream: #1a1a1a;
  --hg-surface: #1e293f;
  --hg-border: color-mix(in srgb, #f2ebe0 14%, transparent);
  --hg-footer-bg: #1e293f;
  --hg-footer-fg: #f2ebe0;
  --hg-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
html[data-theme='dark'] body {
  background: #1a1a1a;
  color: #f2ebe0;
}
html[data-theme='dark'] .hg-site-header {
  background: color-mix(in srgb, #1e293f 92%, transparent);
  border-bottom-color: color-mix(in srgb, #f2ebe0 10%, transparent);
}
html[data-theme='dark'] .hg-brand__title,
html[data-theme='dark'] .hg-brand__subtitle,
html[data-theme='dark'] .hg-nav a,
html[data-theme='dark'] .hg-hero__title,
html[data-theme='dark'] .hg-hero__lead,
html[data-theme='dark'] .hg-article h1,
html[data-theme='dark'] .hg-section-head h2 {
  color: #f2ebe0;
}
html[data-theme='dark'] .hg-hero__card,
html[data-theme='dark'] .hg-post-card,
html[data-theme='dark'] .hg-pillar-card,
html[data-theme='dark'] .hg-article,
html[data-theme='dark'] .hg-coverage-panel,
html[data-theme='dark'] .hg-comment__body,
html[data-theme='dark'] .comment-respond,
html[data-theme='dark'] .hg-rating {
  background: #1e293f;
  border-color: color-mix(in srgb, #f2ebe0 12%, transparent);
  color: #f2ebe0;
}
html[data-theme='dark'] .hg-post-card h3,
html[data-theme='dark'] .hg-pillar-card h3 {
  color: #ffffff;
}
html[data-theme='dark'] .hg-article__content p,
html[data-theme='dark'] .hg-article__content li {
  color: color-mix(in srgb, #f2ebe0 88%, transparent);
}
html[data-theme='dark'] .hg-theme-toggle,
html[data-theme='dark'] .hg-nav-toggle {
  background: #1e293f;
  color: #feed52;
  border-color: color-mix(in srgb, #feed52 30%, transparent);
}
html[data-theme='dark'] .hg-nav {
  background: #1e293f;
  border-color: color-mix(in srgb, #f2ebe0 14%, transparent);
}
html[data-theme='dark'] .hg-site-footer {
  background: #1e293f;
  color: #f2ebe0;
}
html[data-theme='dark'] .hg-footer-cta {
  background: color-mix(in srgb, #4661ad 18%, #1a1a1a);
}
html[data-theme='dark'] .hg-footer-cta h2,
html[data-theme='dark'] .hg-footer-cta p,
html[data-theme='dark'] .hg-footer-grid h3 {
  color: #f2ebe0;
}
html[data-theme='dark'] .hg-footer-grid p,
html[data-theme='dark'] .hg-footer-bottom {
  color: color-mix(in srgb, #f2ebe0 70%, transparent);
}
html[data-theme='dark'] .hg-site-footer a {
  color: #feed52;
}
html[data-theme='dark'] .hg-site-footer .hg-button--primary {
  background: #feed52;
  color: #1a1a1a;
}
html[data-theme='dark'] .comment-form input,
html[data-theme='dark'] .comment-form textarea {
  background: #1a1a1a;
  color: #f2ebe0;
  border-color: color-mix(in srgb, #f2ebe0 16%, transparent);
}
html[data-theme='dark'] .comment-form label,
html[data-theme='dark'] .hg-comment__author {
  color: #f2ebe0;
}

@media (prefers-reduced-motion: reduce) {
  .hg-coverage-item,
  .hg-post-card,
  .hg-pillar-card,
  .hg-reveal,
  .hg-rating__star {
    transition: none;
  }
  .hg-coverage-item:hover,
  .hg-post-card:hover,
  .hg-pillar-card:hover {
    transform: none;
  }
  .hg-reveal { opacity: 1; transform: none; }
}

