/* HDL Automation inspired category & post pages */
:root {
  --hdl-purple: #7e308e;
  --hdl-purple-dark: #5a368c;
  --hdl-gray-bg: #f6f6f6;
  --hdl-border: #eae8e8;
  --hdl-text: #424242;
  --hdl-text-muted: #696969;
  --hdl-text-light: #5b5b5b;
}

body.purple-mode-inner {
  background: #fff;
}

.hdl-content-wrap {
  background: #fff;
}

.hdl-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.hdl-topbar {
  border-bottom: 1px solid var(--hdl-border);
  padding: 22px 0;
  background: #fff;
  margin-top: 15px;
}

.hdl-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hdl-topbar__section {
  font-size: 16px;
  font-weight: 700;
  color: var(--hdl-purple);
  border-bottom: 3px solid var(--hdl-purple);
  padding-bottom: 18px;
  margin-bottom: -22px;
}

.hdl-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #5e5e5e;
}

.hdl-breadcrumb a {
  color: #5e5e5e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hdl-breadcrumb a:hover {
  color: var(--hdl-purple);
}

.hdl-breadcrumb__sep {
  opacity: 0.5;
}

.hdl-subnav {
  background: var(--hdl-gray-bg);
  border-bottom: 1px solid #ededed;
}

.hdl-subnav__inner {
  padding: 28px 0 18px;
}

.hdl-subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

.hdl-subnav a {
  font-size: 15px;
  color: var(--hdl-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hdl-subnav a:hover,
.hdl-subnav a.is-active {
  color: var(--hdl-purple);
  font-weight: 600;
}

.hdl-main {
  background:
    radial-gradient(ellipse 85% 55% at 15% -5%, rgba(126, 48, 142, 0.1), transparent 52%),
    radial-gradient(ellipse 70% 45% at 100% 100%, rgba(90, 54, 140, 0.07), transparent 48%),
    linear-gradient(180deg, #f3f0f7 0%, var(--hdl-gray-bg) 42%, #eeeef2 100%);
  padding: 48px 0 96px;
}

.hdl-category-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.hdl-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hdl-sidebar__widget {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow:
    0 8px 32px rgba(90, 54, 140, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hdl-sidebar__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hdl-purple-dark);
}

.hdl-sidebar__hint {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hdl-text-muted);
}

.hdl-sidebar-search {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hdl-sidebar-search__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hdl-sidebar-search__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--hdl-text-light);
}

.hdl-sidebar-search input,
.hdl-sidebar-search select {
  width: 100%;
  height: 46px;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--hdl-text);
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hdl-sidebar-search input:focus,
.hdl-sidebar-search select:focus {
  outline: none;
  border-color: var(--hdl-purple);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(126, 48, 142, 0.12);
}

.hdl-sidebar-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hdl-purple), var(--hdl-purple-dark));
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(90, 54, 140, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hdl-sidebar-search__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(90, 54, 140, 0.32);
}

.hdl-sidebar-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hdl-sidebar-cats a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--hdl-text-light);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.hdl-sidebar-cats a:hover {
  background: var(--hdl-gray-bg);
  color: var(--hdl-purple);
}

.hdl-sidebar-cats a.is-active {
  background: rgba(126, 48, 142, 0.1);
  color: var(--hdl-purple);
  font-weight: 600;
}

.hdl-category-content {
  min-width: 0;
}

.hdl-search-hint {
  background: #fff;
  border: 1px dashed var(--hdl-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  color: var(--hdl-text-muted);
  font-size: 14px;
}

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

.hdl-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 8px 32px rgba(31, 38, 135, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.hdl-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.hdl-card:hover {
  transform: translateY(-10px);
  border-color: rgba(126, 48, 142, 0.28);
  box-shadow:
    0 22px 48px rgba(90, 54, 140, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hdl-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.hdl-card__image {
  aspect-ratio: 4 / 3;
  margin: 14px 14px 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hdl-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hdl-card:hover .hdl-card__image img {
  transform: scale(1.06);
}

.hdl-card__title {
  display: block;
  flex: 1;
  min-height: 52px;
  padding: 16px 18px 20px;
  text-align: start;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--hdl-text);
  letter-spacing: -0.01em;
}

.hdl-card__cat {
  display: block;
  padding: 12px 18px 0;
  text-align: start;
  font-size: 12px;
  font-weight: 600;
  color: var(--hdl-purple);
  letter-spacing: 0.02em;
}

.hdl-empty {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 64px 24px;
  text-align: center;
  color: var(--hdl-text-muted);
  box-shadow: 0 8px 32px rgba(90, 54, 140, 0.06);
}

.hdl-pagination {
  margin-top: 48px;
  text-align: center;
}

.hdl-pagination .pagination {
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.hdl-pagination .page-item .page-link {
  min-width: 50px;
  height: 35px;
  line-height: 35px;
  padding: 0 12px;
  border: 0;
  border-radius: 20px;
  background: #efefef;
  color: #666;
  font-size: 16px;
  text-align: center;
}

.hdl-pagination .page-item.active .page-link,
.hdl-pagination .page-item .page-link:hover {
  background: var(--hdl-purple);
  color: #fff;
}

.hdl-detail-page {
  background: var(--hdl-gray-bg);
  padding: 48px 0 96px;
}

.hdl-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  margin-bottom: 20px;
}

.hdl-detail-media {
  border-inline-end: 1px solid #f2f2f2;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hdl-detail-media img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.hdl-detail-intro {
  padding: 48px 40px;
}

.hdl-detail-intro h1 {
  font-size: 30px;
  font-weight: 600;
  color: var(--hdl-text);
  margin: 0 0 16px;
  line-height: 1.4;
}

.hdl-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #888;
}

.hdl-detail-brief {
  font-size: 15px;
  line-height: 2;
  color: var(--hdl-text-muted);
  margin-bottom: 24px;
}

.hdl-detail-body {
  background: #fff;
  padding: 48px 56px;
  color: var(--hdl-text-muted);
  font-size: 15px;
  line-height: 2;
}

.hdl-detail-body h1,
.hdl-detail-body h2,
.hdl-detail-body h3,
.hdl-detail-body h4 {
  color: var(--hdl-text);
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.hdl-detail-body img {
  max-width: 100%;
  height: auto;
}

.hdl-detail-body .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hdl-detail-body .gallery a {
  display: block;
  overflow: hidden;
  border: 1px solid #eee;
}

.hdl-detail-body .gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hdl-detail-body .gallery a:hover img {
  transform: scale(1.05);
}

.hdl-related {
  margin-top: 48px;
}

.hdl-related__title {
  font-size: 24px;
  color: var(--hdl-text);
  margin: 0 0 24px;
  text-align: center;
}

@media (min-width: 1200px) {
  .hdl-grid {
    gap: 28px;
  }
}

@media (max-width: 991.98px) {
  .hdl-content-wrap {
    padding-top: 72px;
  }

  .hdl-category-layout {
    grid-template-columns: 1fr;
  }

  .hdl-sidebar {
    position: static;
  }

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

  .hdl-detail-hero {
    grid-template-columns: 1fr;
  }

  .hdl-detail-media {
    border-inline-end: 0;
    border-bottom: 1px solid #f2f2f2;
    min-height: 280px;
    padding: 24px;
  }

  .hdl-detail-intro,
  .hdl-detail-body {
    padding: 28px 24px;
  }
}

@media (max-width: 575.98px) {
  .hdl-grid {
    grid-template-columns: 1fr;
  }

  .hdl-topbar__section {
    font-size: 15px;
  }
}

/* Gallery lightbox grid */
.hdl-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 24px 0;
}

.hdl-gallery-item {
  display: block;
  border: 1px solid var(--hdl-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hdl-gallery-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.hdl-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hdl-gallery-item__title {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--hdl-text);
}

/* Training courses */
.hdl-training-intro {
  padding: 24px 0 8px;
  color: var(--hdl-text-light);
  line-height: 1.8;
}

.hdl-training-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hdl-border);
  align-items: start;
}

.hdl-training-row__content h2 {
  font-size: 1.35rem;
  color: var(--hdl-purple);
  margin: 12px 0;
}

.hdl-training-row__image img {
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  border: 1px solid var(--hdl-border);
}

.hdl-training-row__brief {
  color: var(--hdl-text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.hdl-training-row__more {
  color: var(--hdl-purple);
  font-weight: 600;
}

.hdl-course-form {
  background: var(--hdl-gray-bg);
  border: 1px solid var(--hdl-border);
  border-radius: 10px;
  padding: 20px;
}

.hdl-course-form__title {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--hdl-purple);
}

.hdl-course-form__course {
  font-size: 0.9rem;
  color: var(--hdl-text-muted);
  margin-bottom: 14px;
}

.hdl-course-form__field {
  margin-bottom: 12px;
}

.hdl-course-form__field label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--hdl-text);
}

.hdl-course-form__field input,
.hdl-course-form__field textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
}

.hdl-course-form__submit {
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: var(--hdl-purple);
  color: #fff;
  padding: 10px 14px;
  font-size: 15px;
  cursor: pointer;
}

.hdl-course-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hdl-course-form__msg {
  margin-top: 10px;
  font-size: 13px;
}

.hdl-course-form__msg--success {
  color: #1b7f4a;
}

.hdl-course-form__msg--error {
  color: #b42318;
}

.hdl-detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  padding: 0 0 32px;
}

.hdl-detail-layout .hdl-detail-body {
  padding-top: 0;
}

.hdl-detail-course-form {
  position: sticky;
  top: 100px;
}

/* Contact page */
.hdl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 28px 0 40px;
}

.hdl-contact-info__title {
  font-size: 1.6rem;
  color: var(--hdl-purple);
  margin-bottom: 12px;
}

.hdl-contact-info__subtitle {
  color: var(--hdl-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.hdl-contact-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  line-height: 1.9;
  color: var(--hdl-text);
}

.hdl-contact-list a {
  color: var(--hdl-purple);
}

.hdl-contact-map iframe {
  width: 100%;
  height: 260px;
  border: 1px solid var(--hdl-border);
  border-radius: 8px;
}

.hdl-contact-form-wrap h2 {
  font-size: 1.2rem;
  color: var(--hdl-purple);
  margin-bottom: 16px;
}

.hdl-contact-extra {
  border-top: 1px solid var(--hdl-border);
  padding: 24px 0 40px;
  color: var(--hdl-text-light);
  line-height: 1.8;
}

.hdl-static-page__hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--hdl-border);
}

.hdl-static-page__body {
  padding: 28px 0 40px;
  color: var(--hdl-text);
  line-height: 1.9;
}

.hdl-static-page__body img {
  max-width: 100%;
  height: auto;
}

/* 404 */
.hdl-notfound-page {
  padding: 48px 0 80px;
}

.hdl-notfound {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px 56px;
}

.hdl-notfound__code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--hdl-purple);
  opacity: 0.18;
  margin: 0 0 8px;
  user-select: none;
}

.hdl-notfound__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--hdl-purple-dark);
  margin: 0 0 16px;
  font-weight: 700;
}

.hdl-notfound__text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--hdl-text-light);
  margin: 0 0 32px;
}

.hdl-notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hdl-notfound__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hdl-notfound__btn--primary {
  background: var(--hdl-purple);
  color: #fff;
  border: 1px solid var(--hdl-purple);
}

.hdl-notfound__btn--primary:hover {
  background: var(--hdl-purple-dark);
  border-color: var(--hdl-purple-dark);
  color: #fff;
}

.hdl-notfound__btn--ghost {
  background: #fff;
  color: var(--hdl-purple);
  border: 1px solid var(--hdl-border);
}

.hdl-notfound__btn--ghost:hover {
  border-color: var(--hdl-purple);
  background: var(--hdl-gray-bg);
}

/* Archive / magazine category (non-products) */
.hdl-main--archive {
  background: linear-gradient(180deg, #fff 0%, #f9f7fc 35%, #f3eef9 100%);
  padding: 40px 0 96px;
}

.hdl-archive-lead {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--hdl-text-light);
}

.hdl-archive-siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hdl-archive-pill {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--hdl-text-light);
  background: #fff;
  border: 1px solid var(--hdl-border);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hdl-archive-pill:hover {
  color: var(--hdl-purple);
  border-color: rgba(126, 48, 142, 0.35);
  box-shadow: 0 6px 18px rgba(90, 54, 140, 0.08);
}

.hdl-archive-pill.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--hdl-purple), var(--hdl-purple-dark));
  border-color: transparent;
}

.hdl-archive-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hdl-archive-card {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(216, 204, 232, 0.65);
  box-shadow: 0 8px 28px rgba(90, 54, 140, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.hdl-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(90, 54, 140, 0.1);
}

.hdl-archive-card__link {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 0;
  color: inherit;
  text-decoration: none;
}

.hdl-archive-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0ebf6;
}

.hdl-archive-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hdl-archive-card:hover .hdl-archive-card__media img {
  transform: scale(1.05);
}

.hdl-archive-card__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.hdl-archive-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--hdl-text);
}

.hdl-archive-card__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--hdl-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hdl-archive-card__more {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hdl-purple);
}

.hdl-archive-card--featured .hdl-archive-card__link {
  grid-template-columns: minmax(240px, 42%) minmax(0, 1fr);
}

.hdl-archive-card--featured .hdl-archive-card__media {
  aspect-ratio: auto;
  min-height: 260px;
}

.hdl-archive-card--featured .hdl-archive-card__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.hdl-archive-empty {
  text-align: center;
  padding: 64px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px dashed var(--hdl-border);
  color: var(--hdl-text-muted);
}

.hdl-pagination--archive {
  margin-top: 48px;
}

@media (max-width: 991.98px) {
  .hdl-training-row {
    grid-template-columns: 1fr;
  }

  .hdl-detail-layout,
  .hdl-contact-grid {
    grid-template-columns: 1fr;
  }

  .hdl-detail-course-form {
    position: static;
  }

  .hdl-archive-card__link,
  .hdl-archive-card--featured .hdl-archive-card__link {
    grid-template-columns: 1fr;
  }

  .hdl-archive-card__media,
  .hdl-archive-card--featured .hdl-archive-card__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .hdl-archive-card__body {
    padding: 22px 20px 24px;
  }
}
