.smallPostBlock--archive .smallPostBlock__card {
  gap: 16px;
}

section.smallPostBlock--archive {
  background: #f1f5f8;
}

.smallPostBlock--archive .smallPostBlock__header > .smallPostBlock__tagline {
  color: #797979;
}

.smallPostBlock__badge {
  align-items: center;
  background: #101828;
  border-radius: 3px;
  color: #fff;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.5;
  opacity: 0.9;
  padding: 3px 12px;
  position: absolute;
  right: 24px;
  text-transform: uppercase;
  top: 24px;
  white-space: nowrap;
  z-index: 2;
}

.smallPostBlock {
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
  padding: 64px;
  width: 100%;
}

.smallPostBlock__container {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

.smallPostBlock__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.smallPostBlock__tagline,
.smallPostBlock__cardTagline {
  color: rgba(74, 85, 101, 0.7);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
}

.smallPostBlock__headerRow {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
}

.smallPostBlock__title {
  color: #101828;
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.35px;
  line-height: 1.2;
  margin: 0;
}

.smallPostBlock__headerActions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
}

.smallPostBlock__headerButton {
  flex: 0 0 auto;
}

.smallPostBlock__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.smallPostBlock__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.smallPostBlock__media {
  aspect-ratio: 628 / 381.892;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.smallPostBlock__image,
.smallPostBlock__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.smallPostBlock__cardBody {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 30px;
  padding: 0 10px 10px;
}

.smallPostBlock__cardContent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.smallPostBlock__cardTitle {
  color: #101828;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
}

.smallPostBlock__cardText {
  color: #4a5565;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.smallPostBlock__cardText p {
  margin: 0;
}

.smallPostBlock__cardText p + p {
  margin-top: 1em;
}

.smallPostBlock__cardActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.smallPostBlock__cardButton {
  flex: 0 0 auto;
}

@media (max-width: 1199px) {
  .smallPostBlock {
    padding: 56px 48px;
  }
}

@media (max-width: 991px) {
  .smallPostBlock {
    padding: 48px 40px;
  }

  .smallPostBlock__title {
    font-size: 40px;
  }

  .smallPostBlock__cardText {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .smallPostBlock {
    padding: 40px 24px;
  }

  .smallPostBlock__headerRow {
    align-items: flex-start;
    flex-direction: column;
  }

  .smallPostBlock__titleWrap {
    max-width: none;
  }

  .smallPostBlock__title {
    font-size: 34px;
  }

  .smallPostBlock__headerActions,
  .smallPostBlock__headerButton,
  .smallPostBlock__headerButton.bildeveButton {
    width: 100%;
  }

  .smallPostBlock__headerButton.bildeveButton {
    justify-content: center;
  }

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

  .smallPostBlock__cardActions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 479px) {
  .smallPostBlock {
    padding: 32px 20px;
  }

  .smallPostBlock__title {
    font-size: 28px;
    letter-spacing: 0.2px;
  }

  .smallPostBlock__cardTitle {
    font-size: 22px;
  }

  .smallPostBlock__cardText {
    font-size: 16px;
  }
}
