@font-face {
  font-family: 'Gilroy Editorial';
  src: url('../fonts/Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  ascent-override: 86%;
  descent-override: 14%;
  line-gap-override: 0%;
}

.home-guides {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 96px 141px;
  color: #0e0e0e;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.home-guides *,
.home-guides *::before,
.home-guides *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.home-guides .home-guides__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  margin-bottom: 48px;
}

.home-guides h2 {
  min-width: 0;
  margin: 0;
  font: 500 45.5px/43px 'Gilroy Editorial', Gilroy, sans-serif;
}

.home-guides .guides-all,
.home-guides .guide-card__read {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 8px 24px;
  border: 1px solid rgb(14 14 14 / 20%);
  border-radius: 1000px;
  background: #fff;
  color: #0e0e0e;
  font: 400 17.5px/18px Helvetica, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.home-guides .guides-all { width: 170px; }
.home-guides .guide-card__read { width: 168px; }
.home-guides .guides-all picture { display: flex; flex: none; }
.home-guides .guides-all img { display: block; max-width: none; }
.home-guides .guides-all:hover,
.home-guides .guide-card__read:hover { background: #f8f8f8; }

.home-guides .guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.home-guides .guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.home-guides .guide-card__image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 612 / 356;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #f8f8f8;
}

.home-guides .guide-card__image img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-guides .guide-card__reading-time {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 4px 8px;
  border-radius: 40px;
  backdrop-filter: blur(7.75px);
  -webkit-backdrop-filter: blur(7.75px);
  background: rgb(255 255 255 / 8%);
  color: #fff;
  font: 500 16px/20px 'Gilroy Editorial', Gilroy, sans-serif;
}

.home-guides .guide-card:first-child .guide-card__reading-time { left: 20px; }
.home-guides .guide-card__info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
.home-guides .guide-card__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
.home-guides .guide-card h3 { margin: 0; font: 500 27.5px/28px 'Gilroy Editorial', Gilroy, sans-serif; overflow-wrap: anywhere; }
.home-guides .guide-card__excerpt { width: 100%; max-width: 529px; margin: 0; color: #8c8c8c; font: 400 14.4px/19px Helvetica, sans-serif; }
.home-guides .guide-card:nth-child(2) .guide-card__excerpt { max-width: 471px; }
.home-guides a:focus-visible { outline: 2px solid #0e0e0e; outline-offset: 4px; }

@media (min-width: 801px) and (max-width: 1279px) {
  .home-guides { padding-inline: 48px; }
  .home-guides h2 { font-size: 40px; }
}

@media (max-width: 800px) {
  .home-guides { padding: 48px 24px; }
  .home-guides .home-guides__heading { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .home-guides h2 { font-size: 30.5px; line-height: 32px; }
  .home-guides .guides-all,
  .home-guides .guide-card__read { width: 126px; height: 44px; padding: 8px 16px; font-size: 13.5px; line-height: 14px; }
  .home-guides .guides-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-guides .guide-card__image { aspect-ratio: 354 / 264; border-radius: 16px; }
  .home-guides .guide-card__reading-time,
  .home-guides .guide-card:first-child .guide-card__reading-time { top: 16px; right: 16px; left: auto; height: 22px; padding: 2px 8px; font-size: 14px; line-height: 17.5px; }
  .home-guides .guide-card h3 { font-size: 23.5px; line-height: 24px; }
  .home-guides .guide-card__excerpt,
  .home-guides .guide-card:nth-child(2) .guide-card__excerpt { max-width: none; }
}
