.dhg-resource-page {
  background: #fff;
}

.dhg-resource-hero {
  padding-bottom: 96px;
}

.dhg-resource-hero__visual {
  position: relative;
  max-width: 690px;
  margin: 0 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 32px 90px rgba(8, 7, 31, 0.44);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.dhg-resource-hero__visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  box-shadow: inset 0 0 50px rgba(18, 11, 54, 0.2);
  content: "";
  pointer-events: none;
}

.dhg-resource-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
  object-position: 72% center;
}

.dhg-resource-strip {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding-top: 32px;
}

.dhg-resource-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(226, 229, 239, 0.9);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(22, 25, 47, 0.1);
}

.dhg-resource-strip__grid > div {
  min-height: 112px;
  padding: 25px 27px;
}

.dhg-resource-strip__grid > div + div {
  border-left: 1px solid var(--dhg-line);
}

.dhg-resource-strip strong,
.dhg-resource-strip span {
  display: block;
}

.dhg-resource-strip strong {
  margin-bottom: 7px;
  color: var(--dhg-ink);
  font-size: 1rem;
  line-height: 1.3;
}

.dhg-resource-strip span {
  color: #73798c;
  font-size: 0.78rem;
  line-height: 1.45;
}

.dhg-library-intro {
  max-width: 72ch;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.72;
}

.dhg-side-note {
  max-width: 440px;
  margin: 0 0 3px auto;
  padding: 17px 19px;
  border-left: 3px solid var(--dhg-lime);
  border-radius: 0 12px 12px 0;
  background: #f7f9ee;
  color: #666d7e;
  font-size: 0.82rem;
  line-height: 1.58;
}

.dhg-principle-card {
  position: relative;
  height: 100%;
  min-height: 245px;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--dhg-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(23, 28, 54, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dhg-principle-card::after {
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 143, 243, 0.12), transparent 67%);
  content: "";
}

.dhg-principle-card:hover {
  border-color: rgba(22, 143, 243, 0.28);
  box-shadow: 0 20px 46px rgba(23, 28, 54, 0.08);
  transform: translateY(-3px);
}

.dhg-principle-card__number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 12px;
  background: #eef6ff;
  color: #147bd4;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.dhg-principle-card h3 {
  margin-bottom: 12px;
  color: var(--dhg-ink);
  font-size: 1.13rem;
  line-height: 1.35;
}

.dhg-principle-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.dhg-cost-section {
  scroll-margin-top: 90px;
}

.dhg-context-pill {
  display: inline-flex;
  margin: -2px 0 14px;
  padding: 7px 11px;
  border: 1px solid rgba(22, 143, 243, 0.2);
  border-radius: 999px;
  background: #eaf5ff;
  color: #1477c8;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.dhg-cost-controls {
  display: grid;
  grid-template-columns: auto minmax(115px, 1fr);
  gap: 8px 12px;
  align-items: center;
  max-width: 350px;
  margin-left: auto;
  padding: 17px;
  border: 1px solid var(--dhg-line);
  border-radius: 15px;
  background: #fff;
}

.dhg-cost-controls label {
  color: #687086;
  font-size: 0.76rem;
  font-weight: 800;
}

.dhg-cost-controls select {
  height: 40px;
  padding: 0 34px 0 11px;
  border: 1px solid #dce1eb;
  border-radius: 9px;
  outline: none;
  background-color: #fff;
  color: var(--dhg-ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.dhg-cost-controls select:focus {
  border-color: var(--dhg-blue);
  box-shadow: 0 0 0 3px rgba(22, 143, 243, 0.14);
}

.dhg-quote-card {
  height: 100%;
  padding: 24px;
  border: 1px solid #dfe3ec;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(26, 32, 56, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dhg-quote-card.is-best {
  border-color: rgba(184, 220, 49, 0.85);
  box-shadow: 0 18px 42px rgba(75, 99, 18, 0.12);
  transform: translateY(-3px);
}

.dhg-quote-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.dhg-quote-card__head > span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f0f1f7;
  color: #6c7285;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dhg-quote-card__head strong {
  color: var(--dhg-royal);
  font-size: 1.16rem;
  line-height: 1.25;
  text-align: right;
}

.dhg-quote-card > label,
.dhg-quote-card__fields label {
  display: block;
  margin: 0;
}

.dhg-quote-card label > span {
  display: block;
  margin-bottom: 7px;
  color: #697086;
  font-size: 0.72rem;
  font-weight: 800;
}

.dhg-quote-card input {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  border: 1px solid #dce1eb;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--dhg-ink);
  font: inherit;
  font-size: 0.86rem;
}

.dhg-quote-card input:focus {
  border-color: var(--dhg-blue);
  box-shadow: 0 0 0 3px rgba(22, 143, 243, 0.13);
}

.dhg-quote-card__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 11px;
  margin-top: 17px;
}

.dhg-quote-card__formula {
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid #edf0f5;
  color: #818698;
  font-size: 0.7rem;
  line-height: 1.5;
}

.dhg-calculator-note {
  display: flex;
  gap: 13px;
  margin-top: 25px;
  padding: 17px 19px;
  border: 1px solid rgba(22, 143, 243, 0.16);
  border-radius: 13px;
  background: #eef7ff;
  color: #586176;
  font-size: 0.78rem;
  line-height: 1.55;
}

.dhg-calculator-note strong {
  flex: 0 0 auto;
  color: #176eb9;
}

.dhg-registrar-quote-status {
  max-width: 780px;
  margin: 17px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--dhg-lime);
  color: #60687b;
  font-size: 0.82rem;
  line-height: 1.6;
}

.dhg-registrar-quote-filters {
  max-width: 390px;
}

.dhg-registrar-quote-filters__submit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 4px;
  padding: 11px 15px;
  font-size: 0.72rem;
}

.dhg-registrar-quote-context {
  display: grid;
  gap: 4px;
  margin: -3px 0 18px;
  padding: 13px 14px;
  border: 1px solid rgba(53, 37, 111, 0.11);
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f2ff, #f7fbff);
  color: #697086;
  font-size: 0.68rem;
  line-height: 1.45;
}

.dhg-registrar-quote-context strong {
  color: var(--dhg-royal);
  font-size: 0.69rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dhg-registrar-quote-context a {
  color: #1477c8;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dhg-registrar-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.dhg-registrar-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.dhg-registrar-card__identity h3 {
  margin: 0;
}

.dhg-registrar-card__logo,
.dhg-registrar-card__monogram {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 15px;
}

.dhg-registrar-card__logo {
  border: 1px solid var(--dhg-line);
  background: #fff;
  object-fit: contain;
  padding: 7px;
}

.dhg-registrar-card__monogram {
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, var(--dhg-royal), #168ff3);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.dhg-registrar-card__details {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.dhg-registrar-card__detail {
  padding: 12px 13px;
  border-radius: 11px;
  background: #f7f8fb;
}

.dhg-registrar-card__detail dt {
  margin-bottom: 3px;
  color: var(--dhg-royal);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dhg-registrar-card__detail dd {
  margin: 0;
  color: #687086;
  font-size: 0.77rem;
  line-height: 1.55;
}

.dhg-registrar-card .dhg-registrar-card__verified {
  margin: 19px 0 0;
  color: #788095;
  font-size: 0.7rem;
}

.dhg-registrar-card__actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.dhg-registrar-card__link,
.dhg-registrar-card__visit {
  margin: 0;
  padding: 0;
}

.dhg-registrar-card__visit {
  color: #687086;
  font-size: 0.72rem;
}

.dhg-registrar-disclosure {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 16px 19px;
  border: 1px solid rgba(53, 37, 111, 0.11);
  border-radius: 13px;
  background: #f7f5ff;
  color: #687086;
  font-size: 0.76rem;
  line-height: 1.6;
  text-align: center;
}

.dhg-registrar-disclosure strong {
  color: var(--dhg-royal);
}

.dhg-workflow-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 27px;
}

.dhg-workflow-tabs button,
.dhg-filter-chip {
  padding: 10px 16px;
  border: 1px solid #dce1eb;
  border-radius: 999px;
  background: #fff;
  color: #5b6275;
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.25;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dhg-workflow-tabs button:hover,
.dhg-filter-chip:hover {
  border-color: rgba(22, 143, 243, 0.55);
  color: #1479d1;
  transform: translateY(-1px);
}

.dhg-workflow-tabs button.is-active,
.dhg-filter-chip.is-active {
  border-color: var(--dhg-royal);
  background: var(--dhg-royal);
  color: #fff;
}

.dhg-workflow-panels {
  max-width: 1040px;
  margin: 0 auto;
}

.dhg-workflow-panels section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 55px;
  align-items: center;
  min-height: 345px;
  padding: 50px;
  border: 1px solid var(--dhg-line);
  border-radius: 23px;
  background:
    radial-gradient(circle at 90% 12%, rgba(22, 143, 243, 0.11), transparent 28%),
    #fff;
  box-shadow: 0 20px 54px rgba(27, 31, 57, 0.07);
}

.dhg-workflow-panels section[hidden] {
  display: none;
}

.dhg-workflow-panels h3 {
  margin-bottom: 15px;
  color: var(--dhg-ink);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.dhg-workflow-panels p:not(.dhg-eyebrow) {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.dhg-workflow-panels ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dhg-workflow-panels li {
  position: relative;
  padding: 15px 15px 15px 47px;
  border-bottom: 1px solid #e8ebf1;
  color: #444c61;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.dhg-workflow-panels li:last-child {
  border-bottom: 0;
}

.dhg-workflow-panels li::before {
  position: absolute;
  top: 13px;
  left: 7px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #edf7c8;
  color: #5c7610;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.dhg-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  color: #187dcc;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.dhg-text-link:hover {
  color: var(--dhg-royal);
}

.dhg-method-list {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--dhg-line);
  border-radius: 18px;
  background: #fff;
}

.dhg-method-list > div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 20px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--dhg-line);
}

.dhg-method-list > div:last-child {
  border-bottom: 0;
}

.dhg-method-list dt {
  color: var(--dhg-ink);
  font-size: 0.8rem;
  font-weight: 850;
}

.dhg-method-list dd {
  margin: 0;
  color: #666d80;
  font-size: 0.83rem;
  line-height: 1.5;
}

.dhg-mini-faq details {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--dhg-line);
  border-radius: 14px;
  background: #fff;
}

.dhg-mini-faq details[open] {
  border-color: rgba(22, 143, 243, 0.28);
  box-shadow: 0 12px 30px rgba(25, 31, 58, 0.055);
}

.dhg-mini-faq summary {
  position: relative;
  padding: 20px 55px 20px 20px;
  color: var(--dhg-ink);
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}

.dhg-mini-faq summary::-webkit-details-marker {
  display: none;
}

.dhg-mini-faq summary::after {
  position: absolute;
  top: 50%;
  right: 19px;
  color: #1582dd;
  content: "+";
  font-size: 1.3rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.dhg-mini-faq details[open] summary::after {
  content: "−";
}

.dhg-mini-faq details p {
  margin: -2px 20px 20px;
  padding-top: 16px;
  border-top: 1px solid #edf0f5;
  font-size: 0.86rem;
  line-height: 1.68;
}

/* Extension directory */
.dhg-namespace-card {
  display: flex;
  gap: 22px;
  align-items: center;
  height: 100%;
  min-height: 176px;
  padding: 27px;
  border: 1px solid var(--dhg-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(24, 30, 56, 0.045);
}

.dhg-namespace-card > span {
  display: grid;
  min-width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 24px;
  background: #eff6ff;
  color: #187dcd;
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.dhg-namespace-card--country > span {
  background: #f0ebff;
  color: #6a48bd;
}

.dhg-namespace-card--second > span {
  background: #f2f7dc;
  color: #607817;
  font-size: 1.05rem;
}

.dhg-namespace-card h3 {
  margin-bottom: 8px;
  color: var(--dhg-ink);
  font-size: 1.06rem;
}

.dhg-namespace-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.58;
}

.dhg-extension-library {
  scroll-margin-top: 85px;
}

.dhg-directory-search {
  display: block;
  max-width: 470px;
  margin-left: auto;
}

.dhg-directory-search > span:first-child {
  display: block;
  margin-bottom: 8px;
  color: #6b7285;
  font-size: 0.74rem;
  font-weight: 800;
}

.dhg-search-field {
  position: relative;
  display: block;
}

.dhg-search-field > span {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 2px solid #667087;
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
}

.dhg-search-field > span::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #667087;
  content: "";
  transform: rotate(45deg);
}

.dhg-search-field input {
  width: 100%;
  height: 55px;
  padding: 0 16px 0 49px;
  border: 1px solid #dce1eb;
  border-radius: 13px;
  outline: none;
  background: #fff;
  color: var(--dhg-ink);
  font: inherit;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(26, 32, 56, 0.035);
}

.dhg-search-field input:focus {
  border-color: var(--dhg-blue);
  box-shadow: 0 0 0 4px rgba(22, 143, 243, 0.14);
}

.dhg-directory-toolbar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dhg-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dhg-results-status {
  flex: 0 0 auto;
  margin: 10px 0 0;
  color: #6d7487;
  font-size: 0.78rem;
  font-weight: 750;
  text-align: right;
}

.dhg-extension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dhg-extension-card {
  position: relative;
  display: flex;
  min-height: 214px;
  overflow: hidden;
  padding: 0;
  flex-direction: column;
  border: 1px solid #dfe3ec;
  border-radius: 15px;
  background: #fff;
  color: inherit;
  font-family: inherit;
  text-align: left;
  box-shadow: 0 8px 24px rgba(26, 32, 56, 0.025);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dhg-extension-card__profile {
  display: flex;
  min-width: 0;
  padding: 20px 20px 15px;
  flex: 1 1 auto;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.dhg-extension-card__profile:hover {
  color: inherit;
}

.dhg-extension-card__guide {
  display: block;
  margin-top: auto;
  padding-top: 15px;
  color: #1477c8;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.4;
}

.dhg-extension-card__select {
  width: 100%;
  padding: 9px 20px;
  border: 0;
  border-top: 1px solid #edf0f5;
  background: #f8f9fc;
  color: #697086;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.dhg-extension-card__select:hover,
.dhg-extension-card__select[aria-pressed="true"] {
  background: #eef7ff;
  color: #1477c8;
}

.dhg-extension-card:hover {
  border-color: rgba(22, 143, 243, 0.42);
  box-shadow: 0 14px 30px rgba(26, 32, 56, 0.07);
  transform: translateY(-2px);
}

.dhg-extension-card.is-selected {
  border-color: var(--dhg-blue);
  box-shadow: 0 0 0 3px rgba(22, 143, 243, 0.1), 0 14px 30px rgba(26, 32, 56, 0.07);
}

.dhg-extension-card__suffix,
.dhg-extension-card__label,
.dhg-extension-card__type {
  display: block;
}

.dhg-extension-card__suffix {
  margin-bottom: 18px;
  color: var(--dhg-royal);
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.dhg-extension-card__label {
  overflow: hidden;
  margin-bottom: 5px;
  color: var(--dhg-ink);
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dhg-extension-card__type {
  color: #858a9b;
  font-size: 0.67rem;
  line-height: 1.35;
}

.dhg-extension-brief__guide {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 4px 0 20px;
  color: #c8eb49;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.45;
  text-decoration: none;
}

.dhg-extension-brief__guide:hover {
  color: #fff;
}

.dhg-extension-brief {
  position: sticky;
  top: 102px;
  scroll-margin-top: 96px;
  padding: 31px;
  border-radius: 21px;
  background:
    radial-gradient(circle at 92% 8%, rgba(22, 143, 243, 0.24), transparent 28%),
    linear-gradient(145deg, #22194d, #35256f);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 58px rgba(20, 15, 54, 0.2);
}

.dhg-extension-brief__type {
  margin-bottom: 12px;
  color: #c8eb49;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dhg-extension-brief__suffix {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.dhg-extension-brief h3,
.dhg-extension-brief h4 {
  color: #fff;
}

.dhg-extension-brief h3 {
  margin-bottom: 14px;
  font-size: 1.18rem;
}

.dhg-extension-brief > p:not(.dhg-extension-brief__type) {
  min-height: 98px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.65;
}

.dhg-extension-brief hr {
  margin: 25px 0;
  border-color: rgba(255, 255, 255, 0.16);
}

.dhg-extension-brief h4 {
  margin-bottom: 13px;
  font-size: 0.86rem;
}

.dhg-extension-brief ul {
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.dhg-extension-brief li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  line-height: 1.45;
}

.dhg-extension-brief li::before {
  position: absolute;
  left: 0;
  color: #c8eb49;
  content: "•";
}

.dhg-extension-brief .btn {
  width: 100%;
  margin: 0;
}

.dhg-empty-state {
  margin-top: 20px;
  padding: 45px 25px;
  border: 1px dashed #ccd2df;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.dhg-empty-state > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: #eef6ff;
  color: #1687e7;
  font-size: 1.2rem;
  font-weight: 850;
}

.dhg-empty-state h3 {
  margin-bottom: 8px;
  color: var(--dhg-ink);
  font-size: 1.1rem;
}

.dhg-empty-state p {
  max-width: 520px;
  margin: 0 auto 18px;
  font-size: 0.84rem;
  line-height: 1.6;
}

.dhg-choice-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 29px;
}

.dhg-choice-checks > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--dhg-line);
  border-radius: 13px;
  background: #fff;
}

.dhg-choice-checks span {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: #eef6ff;
  color: #147bd4;
  font-size: 0.64rem;
  font-weight: 850;
}

.dhg-choice-checks p {
  margin: 0;
  color: #73798b;
  font-size: 0.72rem;
  line-height: 1.48;
}

.dhg-choice-checks strong {
  display: block;
  margin-bottom: 3px;
  color: var(--dhg-ink);
  font-size: 0.77rem;
}

.dhg-data-standard {
  padding: 36px;
  border: 1px solid #e0e3ec;
  border-radius: 22px;
  background: #f8f9fc;
}

.dhg-data-standard__badge {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #1577c9;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dhg-data-standard h3 {
  margin-bottom: 15px;
  color: var(--dhg-ink);
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.dhg-data-standard > p {
  font-size: 0.86rem;
  line-height: 1.65;
}

.dhg-data-standard dl {
  margin: 25px 0 0;
}

.dhg-data-standard dl > div {
  padding: 13px 0;
  border-top: 1px solid #e0e4ec;
}

.dhg-data-standard dt {
  margin-bottom: 3px;
  color: var(--dhg-ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.dhg-data-standard dd {
  margin: 0;
  color: #747a8d;
  font-size: 0.72rem;
  line-height: 1.45;
}

/* Video library */
.dhg-video-library {
  scroll-margin-top: 96px;
}

.dhg-start-path {
  scroll-margin-top: 85px;
}

.dhg-learning-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lesson;
}

.dhg-learning-path button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 118px;
  padding: 17px;
  border: 1px solid var(--dhg-line);
  border-radius: 15px;
  background: #fff;
  color: inherit;
  font-family: inherit;
  text-align: left;
  box-shadow: 0 8px 24px rgba(24, 30, 56, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.dhg-learning-path button:hover {
  border-color: rgba(22, 143, 243, 0.38);
  box-shadow: 0 14px 30px rgba(24, 30, 56, 0.08);
  transform: translateY(-2px);
}

.dhg-learning-path__step {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  background: #edf6ff;
  color: #1681dc;
  font-size: 0.7rem;
  font-weight: 850;
}

.dhg-learning-path__copy small,
.dhg-learning-path__copy strong {
  display: block;
}

.dhg-learning-path__copy small {
  margin-bottom: 5px;
  color: #858a9a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dhg-learning-path__copy strong {
  color: var(--dhg-ink);
  font-size: 0.84rem;
  line-height: 1.4;
}

.dhg-learning-path__play,
.dhg-video-thumb__play {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dhg-lime);
  box-shadow: 0 7px 18px rgba(105, 134, 24, 0.24);
}

.dhg-learning-path__play {
  width: 32px;
  height: 32px;
}

.dhg-learning-path__play::before,
.dhg-video-thumb__play::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #28300e;
  content: "";
}

.dhg-series-card,
.dhg-video-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--dhg-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 30, 56, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dhg-series-card:hover,
.dhg-video-card:hover {
  border-color: rgba(22, 143, 243, 0.26);
  box-shadow: 0 19px 43px rgba(24, 30, 56, 0.1);
  transform: translateY(-3px);
}

.dhg-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #17143b;
  cursor: pointer;
}

.dhg-video-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 180ms ease, transform 280ms ease;
}

.dhg-video-thumb::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 11, 42, 0.35), transparent 58%);
  content: "";
  pointer-events: none;
}

.dhg-video-thumb:hover img {
  opacity: 1;
  transform: scale(1.025);
}

.dhg-video-thumb__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.dhg-video-thumb:hover .dhg-video-thumb__play {
  transform: translate(-50%, -50%) scale(1.08);
}

.dhg-video-thumb__play::before {
  margin-left: 4px;
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 11px;
}

.dhg-video-thumb__badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(25, 19, 65, 0.85);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.dhg-series-card__body,
.dhg-video-card__body {
  padding: 23px;
}

.dhg-series-card__body > span,
.dhg-video-card__category {
  display: block;
  margin-bottom: 9px;
  color: #177dce;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dhg-series-card h3,
.dhg-video-card h3 {
  margin-bottom: 11px;
  color: var(--dhg-ink);
  font-size: 1.06rem;
  line-height: 1.35;
}

.dhg-series-card p,
.dhg-video-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.62;
}

.dhg-video-card__body {
  display: flex;
  min-height: 270px;
  flex-direction: column;
}

.dhg-series-card__body {
  display: flex;
  min-height: 248px;
  flex-direction: column;
}

.dhg-video-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
}

.dhg-video-card__guide {
  color: #1477c8;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.4;
  text-decoration: none;
}

.dhg-video-card__guide:hover {
  color: var(--dhg-royal);
}

.dhg-series-card__body > .dhg-video-card__guide {
  margin-top: auto;
  padding-top: 18px;
}

.dhg-text-button {
  align-self: flex-start;
  margin-top: auto;
  padding: 18px 0 0;
  border: 0;
  background: transparent;
  color: #187dcc;
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 850;
}

.dhg-video-card__actions .dhg-text-button {
  margin-top: 0;
  padding-top: 0;
}

.dhg-text-button:hover {
  color: var(--dhg-royal);
}

.dhg-video-toolbar .dhg-filter-bar {
  max-width: 990px;
}

.dhg-related-routes {
  overflow: hidden;
  border: 1px solid var(--dhg-line);
  border-radius: 18px;
  background: #fff;
}

.dhg-related-routes a {
  position: relative;
  display: block;
  min-height: 95px;
  padding: 20px 65px 20px 22px;
  border-bottom: 1px solid var(--dhg-line);
  text-decoration: none;
}

.dhg-related-routes a:last-child {
  border-bottom: 0;
}

.dhg-related-routes span,
.dhg-related-routes strong {
  display: block;
}

.dhg-related-routes span {
  margin-bottom: 5px;
  color: #177dce;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dhg-related-routes strong {
  color: var(--dhg-ink);
  font-size: 0.9rem;
  line-height: 1.42;
}

.dhg-related-routes em {
  position: absolute;
  top: 50%;
  right: 25px;
  color: #1687e7;
  font-size: 1.25rem;
  font-style: normal;
  transform: translateY(-50%);
}

.dhg-related-routes a:hover {
  background: #f8fbff;
}

.dhg-video-modal[hidden] {
  display: none;
}

.dhg-video-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
}

.dhg-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 31, 0.88);
  backdrop-filter: blur(7px);
}

.dhg-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  max-height: calc(100vh - 60px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42);
}

.dhg-video-modal__close {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(20, 16, 54, 0.82);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.dhg-video-modal__frame {
  aspect-ratio: 16 / 9;
  background: #0e0b2a;
}

.dhg-video-modal__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.dhg-video-modal__copy {
  padding: 27px 31px 31px;
}

.dhg-video-modal__copy h2 {
  margin-bottom: 10px;
  color: var(--dhg-ink);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.dhg-video-modal__copy > p:last-child {
  max-width: 75ch;
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.65;
}

body.dhg-modal-open {
  overflow: hidden;
}

.dhg-workflow-tabs button:focus-visible,
.dhg-filter-chip:focus-visible,
.dhg-extension-card:focus-visible,
.dhg-extension-card__profile:focus-visible,
.dhg-extension-card__select:focus-visible,
.dhg-extension-brief__guide:focus-visible,
.dhg-learning-path button:focus-visible,
.dhg-video-thumb:focus-visible,
.dhg-text-button:focus-visible,
.dhg-video-card__guide:focus-visible,
.dhg-video-modal__close:focus-visible {
  outline: 3px solid rgba(22, 143, 243, 0.48);
  outline-offset: 3px;
}

@media (max-width: 1199.98px) {
  .dhg-resource-hero__visual img {
    aspect-ratio: 1.34 / 1;
  }

  .dhg-extension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dhg-learning-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .dhg-resource-hero {
    padding-bottom: 88px;
  }

  .dhg-resource-hero__visual {
    max-width: 760px;
    margin: 10px auto 0;
    transform: none;
  }

  .dhg-resource-hero__visual img {
    aspect-ratio: 16 / 8.4;
  }

  .dhg-resource-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dhg-resource-strip__grid > div:nth-child(3) {
    border-left: 0;
  }

  .dhg-resource-strip__grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--dhg-line);
  }

  .dhg-side-note,
  .dhg-cost-controls,
  .dhg-directory-search {
    max-width: none;
    margin-left: 0;
  }

  .dhg-workflow-panels section {
    gap: 36px;
    padding: 38px;
  }

  .dhg-extension-brief {
    position: static;
  }

  .dhg-extension-results > .col-lg-4 {
    order: -1;
  }

  .dhg-extension-brief > p:not(.dhg-extension-brief__type) {
    min-height: auto;
  }

  .dhg-video-card__body {
    min-height: 250px;
  }
}

@media (max-width: 767.98px) {
  .dhg-resource-strip {
    padding-top: 24px;
  }

  .dhg-resource-strip__grid > div {
    min-height: 100px;
    padding: 21px;
  }

  .dhg-calculator-note {
    display: block;
  }

  .dhg-calculator-note strong {
    display: block;
    margin-bottom: 5px;
  }

  .dhg-workflow-tabs {
    justify-content: flex-start;
  }

  .dhg-workflow-panels section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px;
  }

  .dhg-method-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .dhg-namespace-card {
    min-height: 150px;
  }

  .dhg-directory-toolbar {
    display: block;
  }

  .dhg-results-status {
    margin-top: 15px;
    text-align: left;
  }

  .dhg-extension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dhg-choice-checks {
    grid-template-columns: 1fr;
  }

  .dhg-learning-path {
    grid-template-columns: 1fr;
  }

  .dhg-video-card__body {
    min-height: 0;
  }

  .dhg-text-button {
    margin-top: 18px;
  }

  .dhg-video-modal {
    padding: 12px;
  }

  .dhg-video-modal__dialog {
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .dhg-video-modal__copy {
    padding: 23px;
  }
}

@media (max-width: 575.98px) {
  .dhg-resource-hero__visual {
    border-radius: 18px;
  }

  .dhg-resource-hero__visual img {
    aspect-ratio: 1.25 / 1;
  }

  .dhg-resource-strip__grid {
    grid-template-columns: 1fr;
  }

  .dhg-resource-strip__grid > div + div,
  .dhg-resource-strip__grid > div:nth-child(3) {
    border-top: 1px solid var(--dhg-line);
    border-left: 0;
  }

  .dhg-resource-strip__grid > div {
    min-height: 0;
    padding: 18px 20px;
  }

  .dhg-quote-card__fields,
  .dhg-cost-controls {
    grid-template-columns: 1fr;
  }

  .dhg-cost-controls label:not(:first-child) {
    margin-top: 5px;
  }

  .dhg-workflow-tabs button,
  .dhg-filter-chip {
    padding: 9px 13px;
    font-size: 0.72rem;
  }

  .dhg-workflow-panels section {
    padding: 24px 20px;
  }

  .dhg-namespace-card {
    align-items: flex-start;
    padding: 22px;
  }

  .dhg-namespace-card > span {
    min-width: 72px;
    height: 72px;
    border-radius: 19px;
    font-size: 1rem;
  }

  .dhg-extension-grid {
    grid-template-columns: 1fr;
  }

  .dhg-extension-card {
    min-height: 134px;
  }

  .dhg-data-standard,
  .dhg-extension-brief {
    padding: 27px 23px;
  }

  .dhg-learning-path button {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dhg-learning-path__play {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dhg-principle-card,
  .dhg-quote-card,
  .dhg-workflow-tabs button,
  .dhg-filter-chip,
  .dhg-extension-card,
  .dhg-learning-path button,
  .dhg-series-card,
  .dhg-video-card,
  .dhg-video-thumb img,
  .dhg-video-thumb__play {
    transition: none;
  }
}
