/* ALVERAGRO charoite preview. V5 owns the layout and background geometry. */
:root {
  --alver-v5-background-color: #e7dced;
  --alver-v5-background-image: none;
  --alver-v5-header-background: #ede4f1;
  --alver-v5-footer-background: #eee7f2;
  --alver-v5-panel-background: #fcf8fe;
  --alver-v5-card-media-background: #eee4f3;
  --alver-v5-card-text-background: #fffaff;
  --alver-v5-hover-accent: #804d98;
}

/* ALVERAGRO My Experience. Site palette and engraved botanical ornaments. */
.alver-v5-experience {
  --alver-v5-experience-decoration-filter: none;
  --alver-v5-experience-medallion-number-color: #5c4070;
  --alver-v5-opal-surface: linear-gradient(rgba(250, 244, 252, .93), rgba(247, 239, 250, .95)), var(--alver-v5-page-background-image);
  --alver-v5-opal-card-surface: linear-gradient(rgba(251, 246, 252, .97), rgba(240, 229, 244, .94)), var(--alver-v5-page-background-image);
}
.alver-v5-exp-sheet,
.alver-v5-reading-page main > .alver-v5-panel:has(> .wp-block-post-content > :is(.alver-v5-characters, .bzkorm-embed)) {
  background-color: #f7f2f5;
  background-image: radial-gradient(ellipse at 50% 27%, rgba(255, 250, 255, .42), rgba(255, 250, 255, .15) 62%, transparent),
    var(--alver-v5-experience-sheet-image);
  background-position: center;
  background-size: cover, 100% 100%;
  background-repeat: no-repeat;
}
.alver-v5-exp-quotes blockquote:nth-child(n) {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 14px clamp(12px, 2cqw, 22px) !important;
  text-align: center;
  font-weight: 400;
  line-height: 1.27;
  overflow-wrap: anywhere;
}
.alver-v5-exp-quotes blockquote:first-child {
  grid-column: 1 / -1;
  min-height: 160px;
  font-size: clamp(23px, 2.7cqw, 34px);
  font-weight: 800;
}
.alver-v5-exp-quotes blockquote:nth-child(2) {
  order: 0;
  grid-column: auto;
  font-size: clamp(17px, 1.75cqw, 21px);
}
.alver-v5-exp-quotes blockquote:nth-child(3) {
  font-size: clamp(18px, 1.9cqw, 23px);
}
@container alver-page (max-width: 600px) {
  .alver-v5-exp-quotes blockquote:first-child { min-height: 100px; }
}
.alver-v5-exp-hero h1 { white-space: normal; }
.alver-v5-exp-startline, .alver-v5-exp-tagline { color: #59416c; }
.alver-v5-exp-time {
  background: linear-gradient(145deg, #79578c, #4d365f);
  border-color: #4d365f;
  box-shadow: 0 5px 10px rgba(55, 34, 70, .21);
}
.alver-v5-exp-card-draft, .alver-v5-exp-card-draft:hover {
  cursor: default;
  transform: none;
}
.alver-v5-exp-card-draft .alver-v5-exp-card-illustration { object-fit: cover; }
.alver-v5-exp-card-draft .alver-v5-exp-card-copy { align-content: start; }
.alver-v5-exp-card-draft .alver-v5-exp-card-summary { -webkit-line-clamp: 3; }
.alver-v5-exp-reserve { box-shadow: none; }
.alver-v5-exp-reserve .alver-v5-exp-grid-seal {
  width: min(68%, 220px);
  aspect-ratio: 3 / 2;
  background-image: var(--alver-v5-experience-edge-image);
  background-size: 200% 200%;
  background-position: 0 100%;
  opacity: .35;
}
.alver-v5-exp-reserve:nth-child(2n) .alver-v5-exp-grid-seal { background-position: 100% 0; }
.alver-v5-exp-lower-tools,
.alver-v5-exp-edge:is(.alver-v5-exp-edge-ll, .alver-v5-exp-edge-lr, .alver-v5-exp-edge-ma, .alver-v5-exp-edge-mb) {
  display: none;
}
@media (1050px < width < 1340px) {
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-tl, .alver-v5-exp-edge-bl) { left: max(-35px, calc((100% - 100vw) / 2 + 10px)); }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-tr, .alver-v5-exp-edge-br) { right: max(-35px, calc((100% - 100vw) / 2 + 10px)); }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-ml, .alver-v5-exp-edge-mr, .alver-v5-exp-edge-lc, .alver-v5-exp-edge-rc) {
    width: clamp(68px, calc(100vw - 1200px), 132px);
  }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-ml, .alver-v5-exp-edge-lc) { left: max(-60px, calc((100% - 100vw) / 2 + 10px)); }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-mr, .alver-v5-exp-edge-rc) { right: max(-60px, calc((100% - 100vw) / 2 + 10px)); }
}
@media (max-width: 1050px) {
  .alver-v5-exp-edge-tl, .alver-v5-exp-edge-bl { left: 0; }
  .alver-v5-exp-edge-tr, .alver-v5-exp-edge-br { right: 0; }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-ml, .alver-v5-exp-edge-mr, .alver-v5-exp-edge-lc, .alver-v5-exp-edge-rc) {
    width: 76px;
    opacity: .8;
  }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-ml, .alver-v5-exp-edge-lc) { left: -19px; }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-mr, .alver-v5-exp-edge-rc) { right: -19px; }
}
@container alver-page (max-width: 600px) {
  .alver-v5-exp-reserve .alver-v5-exp-grid-seal { width: 122px; }
  .alver-v5-exp-edge-tr { opacity: .42; }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-ml, .alver-v5-exp-edge-mr, .alver-v5-exp-edge-lc, .alver-v5-exp-edge-rc) {
    width: 54px;
    opacity: .68;
  }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-ml, .alver-v5-exp-edge-lc) { left: -29px; }
  .alver-v5-exp-edge:is(.alver-v5-exp-edge-mr, .alver-v5-exp-edge-rc) { right: -29px; }
}

/* Lower My Experience ornament in the ALVERAGRO profile. */
.alver-v5-experience .alver-v5-exp-lower-decoration {
  --alver-v5-agro-lower-seal-size: clamp(76px, 9vw, 106px);
  height: calc(var(--alver-v5-card-height) * .7 + 52px);
}
.alver-v5-experience .alver-v5-exp-lower-seal {
  width: var(--alver-v5-agro-lower-seal-size);
  bottom: 3px;
}
.alver-v5-experience .alver-v5-exp-lower-decoration::after {
  left: 11%;
  width: 78%;
  height: 36px;
  bottom: calc(3px + var(--alver-v5-agro-lower-seal-size) * .5 - 18px);
  background-size: 100% auto;
}
.alver-v5-experience .alver-v5-exp-lower-tools.has-four-vignettes {
  width: min(100%, 780px);
  bottom: 86px;
  grid-template-columns: 68fr 212fr 145fr 142fr 72fr;
}
@media (max-width: 600px) {
  .alver-v5-experience .alver-v5-exp-lower-decoration {
    --alver-v5-agro-lower-seal-size: 64px;
    height: calc(var(--alver-v5-card-height) * .7 + 20px);
  }
  .alver-v5-experience .alver-v5-exp-lower-tools.has-four-vignettes {
    width: min(100%, 342px);
    bottom: 80px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .alver-v5-experience .alver-v5-exp-lower-tools.has-four-vignettes img:nth-child(1) { width: min(34%,45px); }
  .alver-v5-experience .alver-v5-exp-lower-tools.has-four-vignettes img:nth-child(2) { width: min(100%,136px); }
  .alver-v5-experience .alver-v5-exp-lower-tools.has-four-vignettes img:nth-child(3) { width: min(68%,92px); }
  .alver-v5-experience .alver-v5-exp-lower-tools.has-four-vignettes img:nth-child(4) { width: min(35%,47px); }
}

.alver-v5-experience .alver-v5-exp-grid-vignette {
  background: none;
  border-color: transparent;
  box-shadow: none;
}
.alver-v5-experience .alver-v5-exp-grid-vignette img {
  display: block;
  width: min(83%, 270px);
  height: auto;
  max-height: 78%;
  object-fit: contain;
}
.alver-v5-experience .alver-v5-exp-lower-decoration:has(.has-three-vignettes) {
  height: 355px;
  margin-top: 36px !important;
}
.alver-v5-experience .alver-v5-exp-lower-tools.has-three-vignettes {
  bottom: calc(var(--alver-v5-agro-lower-seal-size) + 15px);
  width: 100%;
  grid-template-columns: minmax(0, 102px) minmax(0, 330px) minmax(0, 107px);
  justify-content: center;
  align-content: end;
  column-gap: clamp(18px, 5vw, 75px);
}
.alver-v5-experience .alver-v5-exp-lower-tools.has-three-vignettes img {
  width: 100%;
  min-width: 0;
}
@media (max-width: 600px) {
  .alver-v5-experience .alver-v5-exp-grid:has(.alver-v5-exp-grid-vignette) .alver-v5-exp-reserve {
    display: none;
  }
  .alver-v5-experience .alver-v5-exp-grid-vignette {
    scroll-snap-align: start;
  }
  .alver-v5-experience .alver-v5-exp-lower-decoration:has(.has-three-vignettes) {
    height: 220px;
    margin-top: 30px !important;
  }
  .alver-v5-experience .alver-v5-exp-lower-tools.has-three-vignettes {
    width: min(100%, 390px);
    grid-template-columns: 100fr 325fr 105fr;
    column-gap: clamp(7px, 2vw, 14px);
  }
}

.alver-v5-exp-dialog-body .alver-v5-exp-authored-paragraph img {
  max-width: 100%;
  height: auto;
}

.alver-v5-exp-card[aria-controls="alver-v5-exp-dialog-5"] .alver-v5-exp-card-copy strong {
  font-size: clamp(17px, 1.32vw, 20px);
  -webkit-line-clamp: 3;
}

@media (max-width: 600px) {
  .alver-v5-exp-card[aria-controls="alver-v5-exp-dialog-5"] .alver-v5-exp-card-copy {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 8px;
    padding-inline: 14px;
  }

  .alver-v5-exp-card[aria-controls="alver-v5-exp-dialog-5"] .alver-v5-exp-card-medallion {
    width: 32px;
  }

  .alver-v5-exp-card[aria-controls="alver-v5-exp-dialog-5"] .alver-v5-exp-card-copy strong {
    font-size: 16px;
  }
}

.alver-v5-characters .alver-v5-char-card {
  background: #eef1e7;
}

.alver-v5-card[href$="/section/korma-i-pitanie/"] .alver-v5-card__title,
.alver-v5-card[href$="/section/sostavlenie-kormov-i-sred/"] .alver-v5-card__title,
.alver-v5-card[href$="/section/vyrashchivanie-radi-vkusa/"] .alver-v5-card__title,
.alver-v5-card[href$="/section/glubokaya-pererabotka-vyrashchennogo/"] .alver-v5-card__title {
  display: block;
  -webkit-line-clamp: unset;
  max-height: none;
  overflow: visible;
  overflow-wrap: anywhere;
}
