﻿.pageHerosplitHeader:first-child {
  padding: 25px 0 1px;
  margin-bottom: 25px;
  background-color: #F5E9FF;
  border-radius: 25px;
}

.mp-tiles-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 16px;
  font-family: inherit;
}

.mp-tiles-head {
  text-align: center;
  margin-bottom: 18px;
}

.mp-tiles-title {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mp-tiles-sub {
  margin: 0;
  opacity: 0.75;
  font-size: 15px;
  text-align: center;
}

.mp-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
      margin: 30px 0;
  align-items: stretch;
}

.mp-card {
  --bg: #fbf7ff;
  --accent: #5b3bb5;
  --shape1: #ffc7d1;
  --shape2: rgba(124, 58, 237, .22);
  --shape3: #f5e9ff;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 19px 16px;
  border-radius: 5px;
  text-decoration: none;
  background: var(--bg);
  color: #111;
  border: 1px solid rgba(0, 0, 0, .08);
 box-shadow: 0 3px 11px rgba(0, 0, 0, .10);
  overflow: hidden;
  height: 340px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.mp-card > * {
  position: relative;
  z-index: 2;
}

.mp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,.14);
}

.mp-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 3px;
}

.mp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .12em;
  color: var(--accent);
}

.mp-title {
     margin: 60px 0 17px;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.15;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.15em * 2);
}

.mp-desc {
  text-align: left;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.4;
  color: rgba(0, 0, 0, .62);
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mp-link {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.mp-card:hover .mp-link span {
  transform: translateX(3px);
  transition: transform .18s ease;
}

.mp-card::after {
  content: "";
  position: absolute;
  width: 275px;
  height: 277px;
  border-radius: 50%;
  background: var(--shape1);
  top: -84px;
  right: -87px;
  z-index: 0;
  opacity: 0.8;
}

.mp-card::before {
  content: "";
  position: absolute;
  width: 164px;
  height: 227px;
  border-radius: 50%;
  background: var(--shape3);
  right: -60px;
  bottom: -70px;
  z-index: 0;
}

.mp-live { --accent:#5b3bb5; --shape3:#f5e9ff; }
.mp-paid { --accent:#5b3bb5; --shape3:#f5e9ff; }
.mp-free { --accent:#5b3bb5; --shape3:#f5e9ff; }

@media (max-width: 980px) {
  .mp-tiles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mp-tiles-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mp-card {
    height: 340px;
  }
}

@media (max-width: 600px) {
  .pageHerosplitHeader:first-child {
    padding: 18px 0 1px;
    margin-bottom: 18px;
    border-radius: 16px;
  }

  .mp-tiles-title {
    font-size: 22px;
  }

  .mp-tiles-sub {
    font-size: 14px;
  }

  .mp-card {
    padding: 28px 16px;
    height: 320px;
  }

  .mp-title {
    font-size: 17px;
    line-height: 1.15;
    min-height: calc(1.15em * 2);
  }

  .mp-desc {
    font-size: 14.5px;
  }

     .mp-card::after {
        width: 257px;
        height: 244px;
        top: -60px;
        right: -60px;
  }

 
    .mp-card::before {
        width: 153px;
        height: 221px;
        right: -49px;
        bottom: -60px;
    }
}


@media (hover: none) {
  .mp-card:hover {
    transform: none;
    box-shadow: 0 8px 18px rgba(0,0,0,.10);
  }
}
