/* Use the doctors' shell and inset-photo treatment for the portrait that follows it. */
.home-redesign #otzyvy { padding-top: clamp(16px, 2.1vw, 32px); }
#otzyvy .film-heading { scroll-margin-top: clamp(230px, 39vh, 350px); }
#otzyvy .lh-reviews {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(20px, 2.1vw, 32px);
}
#otzyvy .featured-review {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1fr);
  gap: clamp(15px, 2vw, 30px);
  align-items: stretch;
  padding: clamp(12px, 1.2vw, 18px);
  color: var(--pp-ink);
  text-decoration: none;
  background: var(--pp-paper);
  border: 1px solid var(--pp-line);
  border-radius: 20px;
}
#otzyvy .feature-image, #otzyvy .lh-film {
  display: block;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border-radius: 14px;
  background: var(--pp-lilac);
}
#otzyvy .feature-image img, #otzyvy .lh-film img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
#otzyvy .feature-image > .film-time { position: absolute; right: 10px; bottom: 10px; }
#otzyvy .feature-image img { transform: scale(1.26); transform-origin: 50% 48%; }
#otzyvy .film-time {
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(20, 17, 23, .84);
  color: #fff;
  font: 500 13px/1.2 Inter, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
#otzyvy .feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 8px 12px 0; }
#otzyvy .feature-name { font-size: 18px; font-weight: 500; line-height: 1.25; }
#otzyvy .feature-subject, #otzyvy .library-heading > span, #otzyvy [data-film-position] {
  color: var(--pp-muted);
  font: 400 14px/1.4 Inter, Arial, sans-serif;
}
#otzyvy .feature-subject { margin-top: 3px; }
#otzyvy .feature-copy blockquote {
  margin: auto 0;
  padding-block: 20px;
  color: var(--pp-ink);
  font-weight: 500;
  font-size: clamp(23px, 2.1vw, 32px);
  line-height: 1.14;
  letter-spacing: -.035em;
}
#otzyvy .feature-watch {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  padding: 10px 17px; border-radius: 24px;
  background: var(--pp-lilac); color: var(--pp-ink);
  font: 500 15px/1.25 Inter, Arial, sans-serif;
}
#otzyvy .film-play::after {
  content: ""; display: block; width: 0; height: 0;
  margin-left: 2px; border: solid transparent; border-width: 6px 0 6px 10px;
  border-left-color: currentColor;
}
#otzyvy .featured-review:is(:hover, :focus-visible) { border-color: var(--pp-brand); }
#otzyvy .featured-review:is(:hover, :focus-visible) .feature-watch { box-shadow: inset 0 0 0 1px var(--pp-brand); }
#otzyvy .review-library { min-width: 0; align-self: center; }
#otzyvy .library-heading, #otzyvy .lh-film-controls, #otzyvy .short-film-foot,
#otzyvy .review-player-head, #otzyvy .review-player-links {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
#otzyvy .library-heading { flex-wrap: wrap; gap: 2px 12px; margin-bottom: 12px; }
#otzyvy .library-heading h3 { font-size: clamp(19px, 1.5vw, 23px); }
#otzyvy .lh-films {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3);
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
#otzyvy .lh-films::-webkit-scrollbar { display: none; }
#otzyvy .lh-film { aspect-ratio: .72; scroll-snap-align: start; text-decoration: none; }
#otzyvy .lh-film img { object-position: 50% 42%; }
#otzyvy .lh-film:focus-visible { outline-offset: -4px; z-index: 1; }
#otzyvy .short-film-foot { position: absolute; bottom: 9px; inset-inline: 9px; gap: 3px; }
#otzyvy .short-film-foot .film-play {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; color: var(--pp-ink); background: #fff;
}
#otzyvy .lh-film:is(:hover, :focus-visible) .film-play { background: var(--pp-lilac); }
#otzyvy .lh-film-controls { margin-top: 6px; }
#otzyvy .lh-film-controls button, #otzyvy [data-review-close] {
  min-height: 44px; padding: 5px 1px; border: 0; background: none; color: var(--pp-ink);
  font: 500 15px/1.35 Inter, Arial, sans-serif;
  text-decoration: underline; text-decoration-color: var(--pp-brand); text-underline-offset: .22em;
}
#otzyvy .lh-film-controls button:disabled { color: var(--pp-muted); text-decoration: none; cursor: default; opacity: .7; }
.home-redesign:has(#review-player[open]) { overflow: hidden; }
#otzyvy dialog {
  position: fixed; inset: 0; width: min(420px, calc(100% - 24px));
  max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 14px;
  border: 1px solid var(--pp-line); border-radius: 18px; background: var(--pp-paper); color: var(--pp-ink);
}
#otzyvy dialog::backdrop { background: rgba(21, 18, 26, .72); }
#otzyvy .review-player-head { margin: 0 3px 10px; }
#otzyvy .review-player-head h3 { max-width: 16em; font-size: 19px; }
#otzyvy .review-screen { width: 100%; height: min(62dvh, 580px); overflow: hidden; border-radius: 10px; background: #151318; }
#otzyvy .review-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
#otzyvy .review-player-links { padding-inline: 3px; }
#otzyvy .review-player-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
@media (max-width: 1050px) {
  #otzyvy .lh-reviews { grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr); }
  #otzyvy .lh-films { grid-auto-columns: calc((100% - 12px) / 2); }
}
@media (max-width: 800px) {
  #otzyvy .lh-reviews { grid-template-columns: 1fr; }
  #otzyvy .featured-review { min-height: 260px; }
  #otzyvy .lh-films { grid-auto-columns: calc((100% - 36px) / 4); }
  #otzyvy .lh-film { aspect-ratio: .85; }
}
@media (max-width: 560px) {
  #otzyvy .film-heading { margin-bottom: 12px; }
  #otzyvy .featured-review { grid-template-columns: 1fr; min-height: auto; gap: 0; padding: 10px; }
  #otzyvy .feature-image { aspect-ratio: 2.05; border-radius: 12px; }
  #otzyvy .feature-image img { object-position: 50% 43%; }
  #otzyvy .feature-copy { padding: 14px 5px 5px; }
  #otzyvy .feature-copy blockquote { max-width: 21ch; padding-block: 11px 14px; font-size: 24px; }
  #otzyvy .feature-name { font-size: 17px; }
  #otzyvy .feature-watch { padding-inline: 15px; }
  #otzyvy .lh-films { grid-auto-columns: calc((100% - 22px) / 2.3); gap: 10px; }
  #otzyvy .lh-film { aspect-ratio: .75; border-radius: 12px; }
}
