.bigmp-recommended-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--bigmp-line-strong);
  border-radius: var(--bigmp-radius);
  background: #fff;
  box-shadow: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.bigmp-recommended-card__media {
  display: grid;
  min-height: 158px;
  place-items: center;
  overflow: hidden;
  border-radius: calc(var(--bigmp-radius) - 2px);
  background: linear-gradient(135deg, #f6f7d7 0%, #e5f0eb 48%, #dcecff 100%);
  color: var(--bigmp-blue);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.bigmp-recommended-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.bigmp-recommended-card__media--logo img {
  object-fit: contain;
  padding: 22px;
  background: transparent;
  box-sizing: border-box;
}

.bigmp-recommended-card__body {
  min-width: 0;
}

.bigmp-recommended-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
}

.bigmp-recommended-card h3 {
  margin: 0 0 7px;
  color: var(--bigmp-ink);
  font-size: 19px;
  line-height: 1.22;
  font-weight: 900;
}

.bigmp-recommended-card h3 a {
  color: inherit;
  text-decoration: none;
}

.bigmp-recommended-card p {
  margin: 0 0 9px;
  color: var(--bigmp-muted);
  line-height: 1.45;
}

.bigmp-recommended-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--bigmp-muted);
  font-size: 14px;
  line-height: 1.35;
}

.bigmp-recommended-card strong {
  color: var(--bigmp-ink);
  font-weight: 900;
}

.bigmp-recommended-card__meta span {
  color: var(--bigmp-muted);
}

.bigmp-recommended-card__location {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.bigmp-recommended-card__location::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: #e11d48;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s7-5.33 7-12a7 7 0 0 0-14 0c0 6.67 7 12 7 12Zm0-9a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s7-5.33 7-12a7 7 0 0 0-14 0c0 6.67 7 12 7 12Zm0-9a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bigmp-recommended-card__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--bigmp-blue);
  border-radius: var(--bigmp-radius);
  background: var(--bigmp-blue);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.12);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.bigmp-recommended-card__button:visited,
.bigmp-recommended-card__button:hover,
.bigmp-recommended-card__button:focus-visible,
.bigmp-recommended-card__button:active {
  border-color: var(--bigmp-blue) !important;
  background: var(--bigmp-blue) !important;
  color: #fff !important;
}

body .bigmp-recommended-card .bigmp-recommended-card__button:hover,
body .bigmp-recommended-card .bigmp-recommended-card__button:focus-visible,
body .bigmp-recommended-card .bigmp-recommended-card__button:active {
  border-color: var(--bigmp-blue) !important;
  background: var(--bigmp-blue) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(29, 78, 216, 0.2);
  transform: translateY(-1px);
}

@media (hover: hover) {
  .bigmp-recommended-card:hover,
  .bigmp-recommended-card:focus-within {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.04);
  }

  .bigmp-recommended-card:hover .bigmp-recommended-card__button,
  .bigmp-recommended-card:focus-within .bigmp-recommended-card__button {
    border-color: var(--bigmp-blue) !important;
    background: var(--bigmp-blue) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(29, 78, 216, 0.18);
  }
}

.bigmp-home-latest-list {
  display: grid;
  width: 100%;
  max-width: 1120px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bigmp-home-latest-item {
  display: grid;
  min-height: 88px;
  align-content: center;
  justify-items: start;
  gap: 9px;
  padding: 16px 18px;
  border: 1px solid var(--bigmp-line-strong);
  border-radius: var(--bigmp-radius);
  background: #fff;
  color: var(--bigmp-ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.bigmp-home-latest-item > .bigmp-badge {
  width: fit-content;
  max-width: 100%;
}

.bigmp-home-latest-item:visited,
.bigmp-home-latest-item:hover,
.bigmp-home-latest-item:focus-visible,
.bigmp-home-latest-item:active {
  color: var(--bigmp-ink);
  text-decoration: none;
}

.bigmp-home-latest-item__title {
  color: var(--bigmp-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

@media (hover: hover) {
  .bigmp-home-latest-item:hover,
  .bigmp-home-latest-item:focus-visible {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.04);
  }
}

@media (max-width: 900px) {
  .bigmp-home-latest-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bigmp-home-latest-list {
    grid-template-columns: 1fr;
  }
}
