.tile {
  container-type: inline-size;
  container-name: tile;
  display: block;
  text-decoration: none;
  color: inherit;
}

[data-name="litres"] h2 {
  color: var(--white);
  padding: 0 0 4cqw;
  font-weight: 700;
  font-size: 7.8cqw;
  line-height: 0.88;
  width: 50%;
  position: relative;
  z-index: 2;
}
[data-name="litres"] p {
  color: var(--white);
  padding: 0 0 7cqw;
  font-size: 5.3cqw;
  line-height: 1;
  width: 50%;
  font-family: Inter;
  position: relative;
  z-index: 2;
}
.inner [data-name="litres"] h2 {
  font-size: 5cqw;
  width: 70%;
}
.inner [data-name="litres"] p {
  font-size: 4cqw;
  width: 70%;
}
[data-name="litres"] p + p {
  padding: 2cqw 0 1cqw;
}
[data-name="litres"] a,
[data-name="litres"] span {
  background-color: var(--white);
  color: var(--black);
  position: relative;
  z-index: 2;
}
[data-name="litres"] > div:first-child:before,
[data-name="litres"] > div:first-child:after {
  position: absolute;
  content: '';
  inset: 0;
}
[data-name="litres"] > div:first-child:before {
  bottom: 33.5%;
  background-color: #ff511b;
}
[data-name="litres"] > div:first-child:after {
  top: 66.5%;
  background-color: #5953f7;
}
[data-name="litres"] img {
  object-fit: contain;
  position: relative;
  z-index: 1;
  margin-left: 10%;
}
@container tile (min-width: 60vw) and (min-width: 481px) {
  [data-name="litres"] h2 {
    font-size: 4.8cqw;
  }
  [data-name="litres"] p {
    font-size: 3.2cqw;
  }
  [data-name="litres"] img {
    margin-left: 0%;
  }
}
@container tile (max-width: 480px) {
  [data-name="litres"] h2 {
    font-size: 7.7cqw;
  }
  [data-name="litres"] p {
    font-size: 5.1cqw;
  }
  [data-name="litres"] img {
    margin-left: 10%;
  }
}

[data-name="kaspplus"] h2 {
  font-weight: 700;
  font-size: 5.3cqw;
  line-height: 0.88;
  padding: 4cqw 0 9cqw;
}
[data-name="kaspplus"] p {
  font-size: 3.7cqw;
  line-height: 1;
  width: 60%;
  padding: 0 0 9cqw;
  font-weight: 500;
}
[data-name="kaspplus"] a,
[data-name="kaspplus"] span {
  color: var(--white);
  background-color: var(--black);
}
@container tile (min-width: 60vw) and (min-width: 481px) {
  [data-name="kaspplus"] h2 {
    font-size: 4.8cqw;
    padding: 0 0 3cqw;
  }
  [data-name="kaspplus"] p {
    font-size: 3.2cqw;
    padding: 0 0 5cqw;
    width: 80%;
  }
}
@container tile (max-width: 480px) {
  [data-name="kaspplus"] h2 {
    font-size: 5.1cqw;
    padding: 7cqw 0 0;
  }
  [data-name="kaspplus"] p {
    font-size: 3.6cqw;
    width: 60%;
  }
}

[data-name="mybooks"] h2 {
  font-weight: 700;
  font-size: 8cqw;
  line-height: 0.88;
  padding: 0 0 9cqw;
}
[data-name="mybooks"] p {
  font-size: 5.3cqw;
  line-height: 1;
  width: 50%;
  padding: 0 0 9cqw;
  font-family: Inter;
}
[data-name="mybooks"] a,
[data-name="mybooks"] span {
  background-color: var(--orange);
  color: var(--white);
}
@container tile (min-width: 60vw) and (min-width: 481px) {
  [data-name="mybooks"] h2 {
    width: 50%;
    font-size: 4.8cqw;
    padding: 0 0 4cqw;
  }
  [data-name="mybooks"] p {
    font-size: 3.2cqw;
    padding: 0 0 4cqw;
  }
}
@container tile (max-width: 480px) {
  [data-name="mybooks"] h2 {
    width: 80%;
    font-size: 7.7cqw;
  }
  [data-name="mybooks"] p {
    font-size: 4.1cqw;
  }
}

[data-name="kstandart"] > div:first-child {
  width: 40%;
  left: auto;
  top: auto;
}
[data-name="kstandart2"] > div:first-child {
  width: 28%;
  left: auto;
  top: auto;
  right: 10%;
  bottom: 16%;
}
[data-name="kstandart"] h2,
[data-name="kstandart2"] h2 {
  font-weight: 700;
  font-size: 4.3cqw;
  line-height: 0.88;
  padding: 0 0 2cqw;
}
[data-name="kstandart"] p,
[data-name="kstandart2"] p {
  font-size: 5cqw;
  line-height: 1;
  padding: 0 0 7cqw;
  font-family: Inter;
}
[data-name="kstandart"] p ~ div p,
[data-name="kstandart2"] p ~ div p {
  font-size: 4.4cqw;
  padding: 0;
}
[data-name="kstandart"] p ~ div > img,
[data-name="kstandart2"] p ~ div > img {
  width: 90%;
  padding: 0 0 2cqw;
}
[data-name="kstandart"] a,
[data-name="kstandart"] span,
[data-name="kstandart2"] a,
[data-name="kstandart2"] span {
  background-color: var(--black);
  color: var(--white);
}
@container tile (min-width: 60vw) and (min-width: 481px) {
  [data-name="kstandart"] h2,
  [data-name="kstandart2"] h2 {
    font-size: 4.7cqw;
  }
  [data-name="kstandart"] p,
  [data-name="kstandart2"] p {
    padding: 0 0 4cqw;
  }
  [data-name="kstandart"] p ~ div p,
  [data-name="kstandart2"] p ~ div p {
    font-size: 3.4cqw;
  }
  [data-name="kstandart"] p ~ div > img,
  [data-name="kstandart2"] p ~ div > img {
    width: 44%;
    padding: 0;
  }
  [data-name="kstandart"] > div:first-child {
    width: 28%;
    top: 0;
  }
  [data-name="kstandart2"] > div:first-child {
    width: 20%;
    right: 6%;
    bottom: 16%;
  }
}
@container tile (max-width: 480px) {
  [data-name="kstandart"] p,
  [data-name="kstandart2"] p {
    padding: 0 0 4cqw;
  }
}

[data-name="kplus"] {
  background: linear-gradient(120deg, #29CCB1 0, #3DE8CA 36%, #4DFF88 100%);
}
[data-name="kplus"] > div:first-child {
  width: 40%;
  left: auto;
  top: auto;
  bottom: 6%;
}
[data-name="kplus"] h2 {
  font-weight: 700;
  font-size: 4.9cqw;
  line-height: 0.88;
}
[data-name="kplus"] p {
  font-size: 5.4cqw;
  line-height: 1;
  padding: 0 0 7cqw;
  font-family: Inter;
}
[data-name="kplus"] p ~ div p {
  font-size: 2.4vw;
  padding: 0;
}
[data-name="kplus"] p ~ div > img {
  width: 70%;
  padding: 0 0 3cqw;
}
[data-name="kplus"] span,
[data-name="kplus"] span {
  background-color: var(--black);
  color: var(--white);
}
@container tile (min-width: 60vw) and (min-width: 481px) {
  [data-name="kplus"] h2 {
    font-size: 4.7cqw;
    padding: 0 0 1cqw;
  }
  [data-name="kplus"] p {
    font-size: 5cqw;
    padding: 0 0 4cqw;
  }
  [data-name="kplus"] p ~ div > img {
    width: 40%;
    padding: 0;
  }
  [data-name="kplus"] > div:first-child {
    width: 26%;
    top: 0;
  }
}
@container tile (max-width: 480px) {
  [data-name="kplus"] h2 {
    font-size: 8cqw;
  }
  [data-name="kplus"] p {
    font-size: 7cqw;
  }
}

[data-name="kkids"] {
  background: linear-gradient(120deg, #29CCB1 0, #3DE8CA 36%, #4DFF88 100%);
}
[data-name="kkids"] > div:first-child {
  width: 42%;
  left: auto;
  top: auto;
}
[data-name="kkids"] h2 {
  font-weight: 700;
  font-size: 4.9cqw;
  line-height: 0.88;
}
[data-name="kkids"] p {
  font-size: 5.4cqw;
  line-height: 1;
  padding: 0 0 7cqw;
  font-family: Inter;
}
[data-name="kkids"] p ~ div p {
  font-size: 2.4vw;
  padding: 0;
}
[data-name="kkids"] p ~ div > img {
  width: 129%;
  padding: 0 0 3cqw;
}
[data-name="kkids"] span,
[data-name="kkids"] span {
  background-color: var(--black);
  color: var(--white);
}
@container tile (min-width: 60vw) and (min-width: 481px) {
  [data-name="kkids"] h2 {
    font-size: 4.7cqw;
    padding: 0 0 1cqw;
  }
  [data-name="kkids"] p {
    font-size: 5cqw;
    padding: 0 0 4cqw;
  }
  [data-name="kkids"] p ~ div > img {
    width: 54%;
    padding: 0;
  }
  [data-name="kkids"] > div:first-child {
    width: 26%;
    top: 0;
  }
}
@container tile (max-width: 480px) {
  [data-name="kkids"] h2 {
    font-size: 8cqw;
  }
  [data-name="kkids"] p {
    font-size: 7cqw;
  }
  [data-name="kkids"] p ~ div > img {
    width: 120%;
    padding: 0 0 5cqw;
  }
  [data-name="kkids"] > div:first-child {
    width: 34%;
  }
}