.hb-homecats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0;
}

.hb-homecats__row {
  display: flex;
  width: 100%;
  max-width: 1080px;
  height: 220px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.hb-homecats__row:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.hb-homecats__row:nth-child(even) {
  flex-direction: row-reverse;
}

.hb-homecats__text {
  text-decoration: none;
  color: inherit;
}

.hb-homecats__text:hover {
  color: inherit;
}

.hb-homecats .hb-homecats__text {
  flex: 0 0 30%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: #BDAE7E;
}

.hb-homecats .hb-homecats__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase !important;
}

.page-index .hb-homecats .hb-homecats__title,
.page-index .hb-homecats .hb-homecats__title * {
  text-transform: uppercase !important;
}

.hb-homecats .hb-homecats__desc {
  font-size: 14px;
  line-height: 1.5;
  color: #005E67;
}

.hb-homecats .hb-homecats__info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #000;
  text-transform: none !important;
}

.page-index .hb-homecats .hb-homecats__info,
.page-index .hb-homecats .hb-homecats__info * { 
  text-transform: none !important;
  font-variant: normal !important;
}

.hb-homecats__media {
  flex: 0 0 70%;
  height: 100%;
  text-decoration: none;
}

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

@media (max-width: 900px) {
  .hb-homecats__row {
    flex-direction: column;
    height: auto;
  }

  .hb-homecats__row:nth-child(even) {
    flex-direction: column;
  }

  .hb-homecats__text,
  .hb-homecats__media {
    flex: 0 0 auto;
  }

  .hb-homecats__media {
    height: 220px;
  }
}
