.cc_wxfdt9jm_6nM1QGaLQN .mm-cg {
  position: relative;
  overflow-x: clip;
}

.cc_wxfdt9jm_6nM1QGaLQN .mm-cg__inner {
  padding-top: var(--mm-section-gap);
  padding-bottom: var(--mm-section-gap);
}

.cc_wxfdt9jm_6nM1QGaLQN .mm-cg__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 1.5rem;
}

.cc_wxfdt9jm_6nM1QGaLQN .mm-cg__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cc_wxfdt9jm_6nM1QGaLQN .mm-cg__item > * {
  flex: 1 1 auto;
}

/* Tablets: three cards in a row, shorter pictures, and the heron steps left so
 * the "Tümünü gör" link stays readable. */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .cc_wxfdt9jm_6nM1QGaLQN .mm-cg__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* The heron stands on the "Tümünü gör" link: its feet sit on the link's top edge and it is
 * over the link's right end (centred 1.25rem past the grid's right edge; the section clips what sticks out sideways). The link is
 * right-aligned in the heading row, 2.5rem above the grid, so its top edge is about
 * 3.75rem above the grid. Size scales with the screen like the design's
 * clamp(150px, 14vw, 210px), about 12% smaller: 140px up to 184px. */
.cc_wxfdt9jm_6nM1QGaLQN .mm-cg .mm-decor--heron {
  left: calc(100% + 1.25rem);
  bottom: calc(100% + 3.75rem);
  width: clamp(8.75rem, 12.5vw, 11.5rem);
}

/* The flower hangs under the first card. From tablet up it moves into the page margin to the
 * left of the cards, as far as the screen leaves room (never past its own width), so it
 * does not sit on the next section's heading now that the gap below is the standard 7rem. */
@media (min-width: 768px) {
  .cc_wxfdt9jm_6nM1QGaLQN .mm-cg .mm-decor--flower {
    --mm-cg-flower-w: clamp(4.375rem, 6.5vw, 6.25rem);
    width: var(--mm-cg-flower-w);
    left: calc(-1 * min(var(--mm-cg-flower-w) + 0.5rem, max(0px, (100vw - 100%) / 2)));
  }
}

/* Laptop and tablet widths (768-1439px): the page margin is only the 24px gutter, so the
 * heron and the flower are 20% smaller and the heron steps back in over the "Tümünü gör"
 * link instead of sticking out of the screen. The flower, now shorter, no longer reaches
 * the next section's heading. */
@media (min-width: 768px) and (max-width: 1439.98px) {
  .cc_wxfdt9jm_6nM1QGaLQN .mm-cg .mm-decor--heron {
    width: calc(clamp(8.75rem, 12.5vw, 11.5rem) * 0.8);
    left: calc(100% - 2.75rem);
  }

  .cc_wxfdt9jm_6nM1QGaLQN .mm-cg .mm-decor--flower {
    --mm-cg-flower-w: calc(clamp(4.375rem, 6.5vw, 6.25rem) * 0.8);
  }
}

/* Phones: the heron stands on the "Tümünü gör" link (over its middle) and the flower is
 * styled in the block below (it is shared with tablets). The gap is the phone's standard 5rem.
 * Image ratio: heron 339 : 460 (5.5rem wide is 7.5rem tall and grows with the screen up to 8rem; its head may stand in front of the bottom edge of
 * the picture strip of the section above, by choice; its centre stays 0.65rem in from the
 * grid's right edge). */
@media (max-width: 767.98px) {
  .cc_wxfdt9jm_6nM1QGaLQN .mm-cg .mm-decor--heron {
    --mm-cg-heron-w: clamp(5.5rem, 14.5vw, 8rem);
    width: var(--mm-cg-heron-w);
    left: calc(100% - 0.65rem - var(--mm-cg-heron-w) / 2);
  }
}

/* Phones and tablets (under 1024px): the flower is bigger and comes in from outside the page on
 * the left. It hangs from just under the grid, tilted clockwise around its top so the stem
 * leans out over the screen edge (the section clips it) and only the bloom and the first bit
 * of the stem show. The bloom's centre stays 3rem in from the screen edge, whatever its size. */
@media (max-width: 1023.98px) {
  .cc_wxfdt9jm_6nM1QGaLQN .mm-cg .mm-decor--flower {
    --mm-cg-flower-w: clamp(4.5rem, 10vw, 6.5rem);
    width: var(--mm-cg-flower-w);
    left: calc(1.5rem - var(--mm-cg-flower-w) / 2);
    right: auto;
    top: calc(100% + 0.5rem);
    transform: rotate(30deg);
    transform-origin: 50% 0;
  }
}

/* Laptops and desktops (1024px and up): the flower keeps its place in the page margin but leans to
 * the right (clockwise, around its middle): the bloom moves toward the cards, the stem toward the
 * page edge. */
@media (min-width: 1024px) {
  .cc_wxfdt9jm_6nM1QGaLQN .mm-cg .mm-decor--flower {
    transform: rotate(20deg);
    transform-origin: 50% 50%;
  }
}
