.home-blog {
  padding-block: clamp(48px, 7vw, 94px);
  background: #191523;
  color: #fff;
}

.home-blog [hidden] {
  display: none !important;
}

.home-blog :is(a, button):focus-visible {
  outline: 2px solid #d2bbff;
  outline-offset: 4px;
}

.home-blog-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid #3c334a;
}

.home-blog-heading h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 3px;
  background: #b892ff;
}

.home-blog-heading h2 {
  margin: 0 0 10px;
  font: 800 clamp(26px, 3.6vw, 42px)/1.2 Manrope, Arial, sans-serif;
}

.home-blog-heading p {
  max-width: 72ch;
  margin: 0;
  color: #d3cbdf;
  line-height: 1.6;
}

.home-blog-archive,
.home-blog-read {
  color: #efddff;
  font-weight: 800;
}

.home-blog-archive {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  font-size: 15px;
}

.home-blog-archive:hover,
.home-blog-card a:hover .home-blog-read {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.home-blog-filters,
.home-blog-arrows {
  display: flex;
  gap: 6px;
}

.home-blog-toolbar button {
  min-height: 44px;
  border: 1px solid #6e607c;
  border-radius: 4px;
  background: #242032;
  color: #efddff;
  cursor: pointer;
  font: 800 13px/1.25 Manrope, Arial, sans-serif;
}

.home-blog-filters button {
  padding: 9px 14px;
}

.home-blog-arrows button {
  width: 46px;
  font-size: 21px;
}

.home-blog-toolbar button:hover {
  border-color: #d2bbff;
}

.home-blog-filters button[aria-pressed="true"] {
  border-color: #d2bbff;
  background: #d2bbff;
  color: #21182e;
}

.home-blog-grid {
  --blog-columns: 3;
  display: grid;
  grid-template-columns: repeat(var(--blog-columns), minmax(0, 1fr));
  gap: 20px;
}

.home-blog-card {
  display: flex;
  min-width: 0;
}

.home-blog-card > a {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #504460;
  border-radius: 4px;
  background: #242032;
  color: #fff;
}

.home-blog-card > a:is(:hover, :focus-visible) {
  border-color: #d2bbff;
}

.home-blog-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 3px 3px 0 0;
  background: #332942;
}

.home-blog-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-blog-date {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border: 1px solid #746487;
  border-radius: 3px;
  background: #21182e;
  color: #efddff;
  font-size: 12px;
  font-weight: 800;
}

.home-blog-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2vw, 24px);
}

.home-blog-copy h3 {
  margin: 0;
  font: 800 clamp(17px, 2vw, 23px)/1.3 Manrope, Arial, sans-serif;
}

.home-blog-copy p {
  margin: 0 0 6px;
  color: #d3cbdf;
  line-height: 1.6;
}

.home-blog-read {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #443952;
  font-size: 14px;
}

.home-blog-pages {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.home-blog-pages button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #a69ab4;
  cursor: pointer;
}

.home-blog-pages button::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.home-blog-pages button:hover,
.home-blog-pages button[aria-current="page"] {
  color: #d2bbff;
}

.home-blog-pages button[aria-current="page"]::before {
  width: 24px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

@media (max-width: 900px) {
  .home-blog-grid {
    --blog-columns: 2;
  }
}

@media (max-width: 560px) {
  .home-blog-grid {
    --blog-columns: 1;
  }
}

@media (max-width: 380px) {
  .home-blog-toolbar { column-gap: 6px; }
  .home-blog-arrows button { width: 36px; }
  .home-blog-filters button {
    padding-inline: 9px;
    font-size: 12px;
  }
}

.home-blog-card[data-blog-inactive] { visibility: hidden; }
