.hg-resources-page {
  --resource-ink: #1f303f;
  --resource-deep: #142535;
  --resource-gold: #c29a60;
  --resource-gold-deep: #9f7437;
  --resource-warm: #f6f4f0;
  --resource-line: rgba(31, 48, 63, 0.16);
  overflow: clip;
  background: #fff;
  color: var(--resource-ink);
}

.hg-resource-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.hg-resource-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--resource-gold);
  transform: scaleX(0);
  transform-origin: left;
}

.hg-resources-hero {
  position: relative;
  display: grid;
  min-height: 660px;
  padding: 126px max(24px, calc((100vw - 1280px) / 2)) 82px;
  overflow: hidden;
  background: var(--resource-warm);
}

.hg-resources-hero::before {
  position: absolute;
  top: 50px;
  right: -120px;
  width: 820px;
  height: 520px;
  content: "";
  background: url("/assets/website/hairline-motion/hairline-arc-gold.svg") center / contain no-repeat;
  opacity: 0.34;
  pointer-events: none;
}

.hg-resources-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(circle, rgba(194, 154, 96, 0.45) 1px, transparent 1.5px);
  background-position: calc(100% - 80px) 90px;
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent 55%, #000 100%);
  opacity: 0.4;
  pointer-events: none;
}

.hg-resources-hero__inner {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100%, 1040px);
}

.hg-resources-hero h1 {
  max-width: 940px;
  margin: 14px 0 26px;
  color: var(--resource-deep);
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hg-resources-hero__inner > p {
  max-width: 760px;
  margin: 0;
  color: #596977;
  font-size: 20px;
  line-height: 1.65;
}

.hg-resources-hero__actions,
.hg-resource-closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hg-resources-topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 62px;
  border-top: 1px solid rgba(31, 48, 63, 0.14);
  padding-top: 20px;
  color: #697783;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hg-resources-topic-strip span {
  position: relative;
}

.hg-resources-topic-strip span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -16px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--resource-gold);
  content: "";
}

.hg-resource-goals {
  position: relative;
  z-index: 5;
  border-block: 1px solid var(--resource-line);
  background: rgba(255, 255, 255, 0.96);
}

.hg-resource-goals__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  padding-block: 34px;
}

.hg-resource-goals h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.hg-resource-goals__controls,
.hg-resource-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hg-resource-goals button,
.hg-resource-filters button,
.hg-resource-empty button {
  min-height: 44px;
  border: 1px solid var(--resource-line);
  border-radius: 8px;
  padding: 9px 14px;
  background: #fff;
  color: var(--resource-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.hg-resource-goals button:hover,
.hg-resource-goals button:focus-visible,
.hg-resource-filters button:hover,
.hg-resource-filters button:focus-visible,
.hg-resource-empty button:hover,
.hg-resource-empty button:focus-visible {
  border-color: var(--resource-gold);
  outline: 3px solid rgba(194, 154, 96, 0.17);
  outline-offset: 2px;
}

.hg-resource-goals button.is-active,
.hg-resource-filters button.is-active {
  border-color: var(--resource-deep);
  background: var(--resource-deep);
  color: #fff;
}

.hg-resource-library {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  padding-block: 112px 124px;
}

.hg-resource-library__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.hg-resource-library__header .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -42px;
}

.hg-resource-library__header h2 {
  max-width: 760px;
  margin: 0;
  font-size: 52px;
  line-height: 1.02;
}

.hg-resource-library__header p {
  margin: 0;
  color: #667580;
  line-height: 1.7;
}

.hg-resource-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  border-block: 1px solid var(--resource-line);
  padding-block: 18px;
}

.hg-resource-count {
  flex: 0 0 auto;
  margin: 0;
  color: #687783;
  font-size: 13px;
}

.hg-resource-count strong {
  color: var(--resource-deep);
  font-size: 18px;
}

.hg-resource-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.hg-resource-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--resource-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(31, 48, 63, 0.08);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease, opacity 180ms ease;
}

.hg-resource-card:hover {
  border-color: rgba(194, 154, 96, 0.62);
  box-shadow: 0 24px 54px rgba(31, 48, 63, 0.14);
  transform: translateY(-4px);
}

.hg-resource-card:focus-within {
  border-color: var(--resource-gold);
  box-shadow: 0 0 0 4px rgba(194, 154, 96, 0.17);
}

.hg-resource-card.is-filtering-out {
  opacity: 0;
  transform: scale(0.985);
}

.hg-resource-card__visual,
.hg-resource-card__visual picture,
.hg-resource-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.hg-resource-card__visual {
  overflow: hidden;
  background: #e9e6e1;
}

.hg-resource-card__visual img {
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.hg-resource-card:hover .hg-resource-card__visual img {
  transform: scale(1.018);
}

.hg-resource-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
}

.hg-resource-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  color: #74818b;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.hg-resource-card__meta span:first-child {
  color: var(--resource-gold-deep);
}

.hg-resource-card__title {
  margin: 0 0 7px !important;
  color: #6a7781 !important;
  font-size: 13px !important;
  font-weight: 800;
}

.hg-resource-card h3 {
  margin: 0 0 14px;
  color: var(--resource-deep);
  font-size: 30px;
  line-height: 1.08;
}

.hg-resource-card__content > p:not(.hg-resource-card__title) {
  margin: 0;
  color: #64727d;
  font-size: 15px;
  line-height: 1.65;
}

.hg-resource-card__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hg-resource-card__topics li {
  border: 1px solid rgba(31, 48, 63, 0.13);
  border-radius: 6px;
  padding: 6px 9px;
  color: #5f6d77;
  font-size: 11px;
  font-weight: 750;
}

.hg-resource-card__action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  min-height: 44px;
  margin-top: auto;
  border: 0;
  border-bottom: 1px solid rgba(159, 116, 55, 0.45);
  border-radius: 0;
  padding: 22px 0 5px;
  background: transparent;
  color: var(--resource-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.hg-resource-card__action:hover,
.hg-resource-card__action:focus-visible {
  color: var(--resource-gold-deep);
  outline: none;
}

.hg-resource-card--cinematic,
.hg-resource-card--timeline,
.hg-resource-card--reports {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
}

.hg-resource-card--cinematic .hg-resource-card__visual,
.hg-resource-card--timeline .hg-resource-card__visual,
.hg-resource-card--reports .hg-resource-card__visual {
  min-height: 430px;
}

.hg-resource-card--tall,
.hg-resource-card--portrait {
  grid-column: span 5;
  grid-template-rows: 420px auto;
}

.hg-resource-card--verification,
.hg-resource-card--certification {
  grid-column: span 7;
  grid-template-rows: 360px auto;
}

.hg-resource-card--verification .hg-resource-card__content,
.hg-resource-card--certification .hg-resource-card__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.46fr);
  column-gap: 24px;
}

.hg-resource-card--verification .hg-resource-card__meta,
.hg-resource-card--verification .hg-resource-card__title,
.hg-resource-card--verification h3,
.hg-resource-card--certification .hg-resource-card__meta,
.hg-resource-card--certification .hg-resource-card__title,
.hg-resource-card--certification h3 {
  grid-column: 1 / -1;
}

.hg-resource-card--verification .hg-resource-card__action,
.hg-resource-card--certification .hg-resource-card__action {
  align-self: end;
}

.hg-resource-card--operations {
  grid-column: 1 / -1;
  grid-template-rows: minmax(480px, auto) auto;
  background: var(--resource-warm);
}

.hg-resource-card--operations .hg-resource-card__content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.58fr);
  gap: 0 50px;
  padding: 34px 38px;
}

.hg-resource-card--operations .hg-resource-card__meta,
.hg-resource-card--operations .hg-resource-card__title,
.hg-resource-card--operations h3 {
  grid-column: 1;
}

.hg-resource-card--operations .hg-resource-card__content > p:not(.hg-resource-card__title),
.hg-resource-card--operations .hg-resource-card__topics,
.hg-resource-card--operations .hg-resource-card__action {
  grid-column: 2;
}

.hg-resource-card--operations .hg-resource-card__content > p:not(.hg-resource-card__title) {
  grid-row: 1 / span 3;
  padding-top: 2px;
}

.hg-resource-card--reports {
  background: var(--resource-deep);
  color: #fff;
}

.hg-resource-card--reports .hg-resource-card__visual {
  order: 2;
}

.hg-resource-card--reports .hg-resource-card__content {
  order: 1;
  padding: 38px;
}

.hg-resource-card--reports h3,
.hg-resource-card--reports .hg-resource-card__action {
  color: #fff;
}

.hg-resource-card--reports .hg-resource-card__content > p,
.hg-resource-card--reports .hg-resource-card__title,
.hg-resource-card--reports .hg-resource-card__meta {
  color: rgba(255, 255, 255, 0.72) !important;
}

.hg-resource-card--reports .hg-resource-card__meta span:first-child {
  color: #e0bc82;
}

.hg-resource-card--reports .hg-resource-card__topics li {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
}

.hg-resource-empty {
  margin-top: 26px;
  border: 1px dashed var(--resource-line);
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
}

.hg-resource-empty h3 {
  margin: 0 0 8px;
}

.hg-resource-empty p {
  margin: 0 0 20px;
  color: #697783;
}

.hg-resource-principle {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 76px;
  align-items: center;
  padding: 104px max(24px, calc((100vw - 1280px) / 2));
  background: var(--resource-warm);
}

.hg-resource-principle h2 {
  max-width: 640px;
  margin: 8px 0 22px;
  font-size: 48px;
  line-height: 1.04;
}

.hg-resource-principle__intro p {
  margin: 0;
  color: #61717c;
  line-height: 1.7;
}

.hg-resource-principle__points {
  border-left: 1px solid rgba(194, 154, 96, 0.45);
  padding-left: 38px;
}

.hg-resource-principle__points article {
  display: grid;
  grid-template-columns: minmax(160px, 0.48fr) minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--resource-line);
  padding-block: 22px;
}

.hg-resource-principle__points strong {
  color: var(--resource-deep);
}

.hg-resource-principle__points span {
  color: #687781;
}

.hg-resource-medical-notice {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 34px;
  width: min(100% - 48px, 1080px);
  margin: 82px auto;
  border-block: 1px solid var(--resource-line);
  padding-block: 24px;
}

.hg-resource-medical-notice strong {
  color: var(--resource-gold-deep);
  font-size: 13px;
  text-transform: uppercase;
}

.hg-resource-medical-notice p {
  margin: 0;
  color: #63727d;
  line-height: 1.7;
}

.hg-resource-closing {
  padding: 94px max(24px, calc((100vw - 1280px) / 2));
  background: var(--resource-deep);
  color: #fff;
}

.hg-resource-closing__inner {
  max-width: 900px;
}

.hg-resource-closing h2 {
  max-width: 820px;
  margin: 12px 0 22px;
  color: #fff;
  font-size: 52px;
  line-height: 1.02;
}

.hg-resource-closing p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.65;
}

.hg-resource-closing .button.secondary {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.hg-resource-closing__link {
  min-height: 44px;
  padding: 12px 4px;
  color: #e0bc82;
  font-weight: 850;
}

.hg-resources-page.is-enhanced .hg-resource-reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 600ms ease, transform 600ms ease;
}

.hg-resources-page.is-enhanced .hg-resource-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hg-resource-card.hg-resource-reveal {
  transition-delay: calc(var(--resource-order, 0) * 45ms);
}

.hg-resource-dialog {
  position: fixed;
  z-index: 5000;
  inset: 0;
}

.hg-resource-dialog[hidden] {
  display: none;
}

.hg-resource-dialog__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(10, 21, 31, 0.72);
  cursor: default;
  backdrop-filter: blur(5px);
}

.hg-resource-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(680px, 92vw);
  height: 100%;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  box-shadow: -28px 0 70px rgba(10, 21, 31, 0.28);
  outline: none;
  transform: translateX(24px);
  animation: hg-resource-drawer-in 240ms ease forwards;
}

.hg-resource-drawer > header,
.hg-resource-drawer > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  border-bottom: 1px solid var(--resource-line);
  padding: 10px 22px;
}

.hg-resource-drawer > footer {
  border-top: 1px solid var(--resource-line);
  border-bottom: 0;
}

.hg-resource-drawer__category,
.hg-resource-drawer__label {
  color: var(--resource-gold-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hg-resource-drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--resource-line);
  border-radius: 50%;
  padding: 0;
  background: #fff;
  color: var(--resource-deep);
  font-size: 26px;
  cursor: pointer;
}

.hg-resource-drawer__close:focus-visible,
.hg-resource-drawer > footer button:focus-visible {
  outline: 3px solid rgba(194, 154, 96, 0.28);
  outline-offset: 2px;
}

.hg-resource-drawer__scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hg-resource-drawer__scroll > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hg-resource-drawer__body {
  padding: 34px 34px 48px;
}

.hg-resource-drawer__body h2 {
  margin: 9px 0 18px;
  font-size: 42px;
  line-height: 1.04;
}

.hg-resource-drawer__body > p:not(.hg-resource-drawer__label) {
  color: #61707b;
  line-height: 1.72;
}

.hg-resource-drawer__audience {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  margin-block: 28px;
  border-block: 1px solid var(--resource-line);
  padding-block: 17px;
}

.hg-resource-drawer__audience strong {
  color: var(--resource-gold-deep);
}

.hg-resource-drawer__topics h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.hg-resource-drawer__topics ul {
  display: grid;
  gap: 9px;
  margin: 0 0 28px;
  padding-left: 20px;
  color: #5f6e79;
}

.hg-resource-drawer > footer button {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--resource-deep);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.hg-resource-drawer > footer span {
  color: #74818b;
  font-size: 12px;
}

body.hg-resource-dialog-open {
  overflow: hidden;
}

@keyframes hg-resource-drawer-in {
  to { transform: translateX(0); }
}

@media (min-width: 1025px) {
  .hg-resource-goals {
    position: sticky;
    top: 77px;
  }
}

@media (max-width: 1024px) {
  .hg-resources-hero {
    min-height: 600px;
    padding: 108px 32px 70px;
  }

  .hg-resources-hero h1 {
    font-size: 58px;
  }

  .hg-resource-goals__inner,
  .hg-resource-library,
  .hg-resource-medical-notice {
    width: min(100% - 40px, 900px);
  }

  .hg-resource-goals__inner,
  .hg-resource-library__header,
  .hg-resource-principle {
    grid-template-columns: 1fr;
  }

  .hg-resource-library__header .eyebrow {
    grid-column: auto;
    margin-bottom: -42px;
  }

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

  .hg-resource-card,
  .hg-resource-card--cinematic,
  .hg-resource-card--timeline,
  .hg-resource-card--reports,
  .hg-resource-card--operations,
  .hg-resource-card--tall,
  .hg-resource-card--portrait,
  .hg-resource-card--verification,
  .hg-resource-card--certification {
    grid-column: span 1;
    grid-template-columns: 1fr;
    grid-template-rows: 310px auto;
  }

  .hg-resource-card--cinematic,
  .hg-resource-card--operations,
  .hg-resource-card--reports {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
    grid-template-rows: auto;
  }

  .hg-resource-card--cinematic .hg-resource-card__visual,
  .hg-resource-card--timeline .hg-resource-card__visual,
  .hg-resource-card--reports .hg-resource-card__visual {
    min-height: 340px;
  }

  .hg-resource-card--verification .hg-resource-card__content,
  .hg-resource-card--certification .hg-resource-card__content,
  .hg-resource-card--operations .hg-resource-card__content {
    display: flex;
  }

  .hg-resource-card--reports .hg-resource-card__visual {
    order: 1;
  }

  .hg-resource-card--reports .hg-resource-card__content {
    order: 2;
  }

  .hg-resource-principle {
    gap: 38px;
    padding: 84px 32px;
  }

  .hg-resource-principle__points {
    border-top: 1px solid rgba(194, 154, 96, 0.45);
    border-left: 0;
    padding-top: 12px;
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  .hg-resources-hero {
    min-height: 560px;
    padding: 92px 20px 52px;
  }

  .hg-resources-hero::before {
    top: 210px;
    right: -210px;
    width: 570px;
  }

  .hg-resources-hero::after {
    display: none;
  }

  .hg-resources-hero h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .hg-resources-hero__inner > p {
    font-size: 17px;
  }

  .hg-resources-hero__actions,
  .hg-resource-closing__actions {
    display: grid;
  }

  .hg-resources-hero__actions .button,
  .hg-resource-closing__actions .button,
  .hg-resource-closing__link {
    width: 100%;
    text-align: center;
  }

  .hg-resources-topic-strip,
  .hg-resource-goals__controls,
  .hg-resource-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .hg-resources-topic-strip span,
  .hg-resource-goals button,
  .hg-resource-filters button {
    flex: 0 0 auto;
  }

  .hg-resource-goals__inner,
  .hg-resource-library,
  .hg-resource-medical-notice {
    width: min(100% - 28px, 640px);
  }

  .hg-resource-goals__inner {
    gap: 22px;
    padding-block: 26px;
  }

  .hg-resource-library {
    padding-block: 76px 86px;
  }

  .hg-resource-library__header {
    display: block;
    margin-bottom: 34px;
  }

  .hg-resource-library__header .eyebrow {
    margin-bottom: 8px;
  }

  .hg-resource-library__header h2,
  .hg-resource-principle h2,
  .hg-resource-closing h2 {
    font-size: 38px;
  }

  .hg-resource-library__header p {
    margin-top: 20px;
  }

  .hg-resource-toolbar {
    display: block;
  }

  .hg-resource-count {
    margin-top: 12px;
  }

  .hg-resource-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hg-resource-card,
  .hg-resource-card--cinematic,
  .hg-resource-card--timeline,
  .hg-resource-card--reports,
  .hg-resource-card--operations,
  .hg-resource-card--tall,
  .hg-resource-card--portrait,
  .hg-resource-card--verification,
  .hg-resource-card--certification {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 240px auto;
  }

  .hg-resource-card--cinematic .hg-resource-card__visual,
  .hg-resource-card--timeline .hg-resource-card__visual,
  .hg-resource-card--reports .hg-resource-card__visual {
    min-height: 0;
  }

  .hg-resource-card__content,
  .hg-resource-card--reports .hg-resource-card__content,
  .hg-resource-card--operations .hg-resource-card__content {
    padding: 22px 20px;
  }

  .hg-resource-card h3 {
    font-size: 27px;
  }

  .hg-resource-card__meta {
    align-items: flex-start;
  }

  .hg-resource-principle {
    gap: 30px;
    padding: 72px 20px;
  }

  .hg-resource-principle__points article,
  .hg-resource-medical-notice {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hg-resource-medical-notice {
    margin-block: 58px;
  }

  .hg-resource-closing {
    padding: 72px 20px;
  }

  .hg-resource-drawer {
    top: 14px;
    width: 100%;
    height: calc(100% - 14px);
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
    border-radius: 8px 8px 0 0;
    transform: translateY(24px);
    animation-name: hg-resource-sheet-in;
  }

  .hg-resource-drawer__body {
    padding: 26px 20px 38px;
  }

  .hg-resource-drawer__body h2 {
    font-size: 34px;
  }

  .hg-resource-drawer > header,
  .hg-resource-drawer > footer {
    padding-inline: 16px;
  }
}

@keyframes hg-resource-sheet-in {
  to { transform: translateY(0); }
}

@media (max-width: 390px) {
  .hg-resources-hero h1 {
    font-size: 38px;
  }

  .hg-resource-library__header h2,
  .hg-resource-principle h2,
  .hg-resource-closing h2 {
    font-size: 34px;
  }

  .hg-resource-card__topics {
    display: none;
  }
}

@media (hover: none) {
  .hg-resource-card:hover {
    box-shadow: 0 16px 42px rgba(31, 48, 63, 0.08);
    transform: none;
  }

  .hg-resource-card:hover .hg-resource-card__visual img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hg-resource-reveal,
  .hg-resource-card,
  .hg-resource-card__visual img,
  .hg-resource-drawer,
  .hg-resource-dialog {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  html {
    scroll-behavior: auto;
  }
}
