montekidz-collections {
  display: block;
  color: #234c3b;
  font-family: var(--font-body, 'Work Sans', sans-serif);
}

montekidz-collections *,
montekidz-collections *::before,
montekidz-collections *::after {
  box-sizing: border-box;
}

.v2-collections-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(315px, auto));
  gap: 18px;
}

.v2-collections-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(35 76 59 / 6%);
  border-radius: 22px;
  background: var(--v2-collections-background);
  color: #234c3b;
  font: inherit;
  text-align: start;
  cursor: pointer;
  isolation: isolate;
}

.v2-collections-tile-featured {
  grid-row: span 2;
}

.v2-collections-tile:focus-visible,
.v2-collections-close:focus-visible,
.v2-collections-cta:focus-visible {
  outline: 3px solid #234c3b;
  outline-offset: 5px;
}

.v2-collections-art {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  flex: 0 0 auto;
  min-height: 0;
  width: 100%;
  height: 215px;
  padding: 15px 20px 0;
}

.v2-collections-art::before {
  position: absolute;
  z-index: -1;
  inset-block-end: 10px;
  inset-inline-start: 14%;
  width: 72%;
  height: 14%;
  border-radius: 50%;
  background: rgb(70 47 28 / 8%);
  filter: blur(15px);
  content: '';
}

.v2-collections-art img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 260ms cubic-bezier(.2, .6, .3, 1);
}

.v2-collections-tile-featured .v2-collections-art {
  flex: 1;
  min-height: 410px;
  padding: 28px 22px 0;
}

.v2-collections-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 24px 25px;
}

.v2-collections-prefix {
  display: block;
  margin-block-end: 2px;
  color: var(--v2-collections-accent);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.v2-collections-name {
  color: var(--v2-collections-accent);
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.v2-collections-description {
  display: block;
  max-width: 28ch;
  margin-block-start: 9px;
  padding-inline-end: 9px;
  color: #38483c;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.v2-collections-tile-featured .v2-collections-copy {
  padding: 24px 30px 32px;
}

.v2-collections-tile-featured .v2-collections-prefix {
  font-size: 17px;
}

.v2-collections-tile-featured .v2-collections-name {
  font-size: clamp(36px, 3.8vw, 51px);
}

.v2-collections-tile-featured .v2-collections-description {
  max-width: 24ch;
  font-size: 17px;
  line-height: 1.5;
}

.v2-collections-open {
  position: absolute;
  inset-block-start: 15px;
  inset-inline-end: 15px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgb(35 76 59 / 16%);
  border-radius: 50%;
  background: rgb(255 253 246 / 65%);
  color: #234c3b;
  font-size: 21px;
  transition: background-color 180ms ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .v2-collections-tile:hover .v2-collections-art img {
    transform: translateY(-5px) rotate(-1deg);
  }
}

@media (hover: hover) {
  .v2-collections-tile:hover .v2-collections-open {
    background: #fffdf6;
  }
}

.v2-collections-dialog {
  position: fixed;
  width: min(940px, calc(100% - 40px));
  max-width: 940px;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 24px;
  background: #fffdf6;
  color: #234c3b;
  box-shadow: 0 24px 100px rgb(16 35 25 / 20%);
}

.v2-collections-dialog::backdrop {
  background: rgb(20 38 29 / 56%);
  backdrop-filter: blur(5px);
}

html:has(.v2-collections-dialog[open]) {
  overflow: hidden;
}

.v2-collections-close {
  position: absolute;
  z-index: 2;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(35 76 59 / 15%);
  border-radius: 50%;
  background: #fffdf6;
  color: #234c3b;
  cursor: pointer;
}

.v2-collections-dialog-content {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  min-height: 600px;
}

.v2-collections-dialog-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  min-height: 0;
  min-width: 0;
  padding: 40px 20px;
  background: var(--v2-collections-background);
}

.v2-collections-dialog-art img {
  display: block;
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
}

.v2-collections-dialog-copy {
  min-width: 0;
  padding: 47px 38px 38px;
}

.v2-collections-dialog-prefix {
  margin: 0 0 3px;
  font-size: 16px;
  line-height: 1.4;
}

.v2-collections-dialog-title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(33px, 4vw, 45px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.v2-collections-introduction {
  margin: 17px 0 23px;
  font-size: 16px;
  line-height: 1.6;
}

.v2-collections-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 15px;
  row-gap: 19px;
  padding: 20px 0;
  border-block: 1px solid #dce1d7;
}

.v2-collections-facts p {
  margin: 0;
}

.v2-collections-facts strong,
.v2-collections-facts span {
  display: block;
}

.v2-collections-facts strong {
  margin-block-end: 3px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.v2-collections-facts span {
  color: #536253;
  font-size: 13px;
  line-height: 1.5;
}

.v2-collections-play-title {
  margin: 23px 0 12px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.v2-collections-activities {
  display: grid;
  gap: 11px;
  margin: 0 0 25px;
  padding-inline-start: 19px;
  color: #40513f;
  font-size: 15px;
  line-height: 1.5;
}

.v2-collections-activities li {
  padding-inline-start: 3px;
}

.v2-collections-activities li::marker {
  color: #7b936a;
}

.v2-collections-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
  padding: 12px 21px;
  border-radius: 12px;
  background: #234c3b;
  color: #fffdf6;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.v2-collections-cta span {
  font-size: 22px;
  font-weight: 400;
}

@media (max-width: 950px) {
  .v2-collections-grid {
    grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .v2-collections-art {
    height: 190px;
    padding: 17px 11px 0;
  }

  .v2-collections-copy {
    padding: 15px 17px 22px;
  }

  .v2-collections-tile-featured .v2-collections-copy {
    padding: 22px 23px 28px;
  }

  .v2-collections-name {
    font-size: 23px;
  }

  .v2-collections-description {
    font-size: 14px;
  }

  .v2-collections-open {
    width: 30px;
    height: 30px;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    font-size: 19px;
  }

  .v2-collections-dialog-copy {
    padding: 45px 27px 30px;
  }
}

@media (max-width: 700px) {
  .v2-collections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 12px;
  }

  .v2-collections-tile {
    border-radius: 18px;
  }

  .v2-collections-tile-featured {
    display: grid;
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    min-height: 270px;
  }

  .v2-collections-tile-featured .v2-collections-art {
    min-height: 0;
    height: 270px;
    padding-block: 21px;
    padding-inline: 14px 0;
  }

  .v2-collections-tile-featured .v2-collections-copy {
    padding-block: 25px;
    padding-inline: 12px 20px;
  }

  .v2-collections-tile-featured .v2-collections-prefix {
    font-size: 15px;
  }

  .v2-collections-tile-featured .v2-collections-name {
    font-size: clamp(31px, 6vw, 41px);
  }

  .v2-collections-tile-featured .v2-collections-description {
    font-size: 15px;
  }

  .v2-collections-art {
    height: 205px;
    padding: 18px 13px 0;
  }

  .v2-collections-copy {
    padding: 14px 17px 21px;
  }

  .v2-collections-name {
    font-size: 25px;
  }

  .v2-collections-description {
    font-size: 15px;
    line-height: 1.45;
  }

  .v2-collections-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
  }

  .v2-collections-dialog-content {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .v2-collections-dialog-art {
    height: 285px;
    padding: 20px;
  }

  .v2-collections-dialog-art img {
    height: 100%;
    max-height: 245px;
  }

  .v2-collections-dialog-copy {
    padding: 27px 25px 30px;
  }

  .v2-collections-dialog-title {
    font-size: 38px;
  }
}

@media (max-width: 400px) {
  .v2-collections-art {
    height: 180px;
    padding-inline: 8px;
  }

  .v2-collections-copy {
    padding-inline: 13px;
  }

  .v2-collections-prefix {
    font-size: 13px;
  }

  .v2-collections-name {
    font-size: 23px;
  }

  .v2-collections-description {
    font-size: 14px;
  }

  .v2-collections-tile-featured {
    grid-template-columns: 48% 52%;
  }

  .v2-collections-tile-featured .v2-collections-art {
    height: 260px;
    padding-inline-start: 8px;
  }

  .v2-collections-tile-featured .v2-collections-copy {
    padding-inline: 7px 14px;
  }
}

html[dir='rtl'] .v2-collections-name,
html[dir='rtl'] .v2-collections-dialog-title,
html[dir='rtl'] .v2-collections-play-title {
  letter-spacing: normal;
  line-height: 1.4;
}

html[dir='rtl'] .v2-collections-description,
html[dir='rtl'] .v2-collections-introduction,
html[dir='rtl'] .v2-collections-activities,
html[dir='rtl'] .v2-collections-facts span {
  line-height: 1.7;
}

html[dir='rtl'] .v2-collections-open,
html[dir='rtl'] .v2-collections-cta span {
  transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
  .v2-collections-art img,
  .v2-collections-open {
    transition: none;
  }
}
