/* Landing review cards, arranged vertically over the desktop account photos. */
.ry-panel-reviews, .ry-book-review-photo { display: none; }

@media (min-width: 992px) {
  .ry-login .form_profile {
    grid-column: 7 / 13;
    padding-inline: clamp(24px, 2.3vw, 40px);
  }
  .ry-login .content_profile { padding: 28px; }
  .ry-login .brand_account { z-index: 3; }
  .ry-panel-reviews {
    position: absolute;
    inset: 104px 20px 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: 0;
    overflow: hidden;
    color: var(--color-base-base-dark-100);
    mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent);
  }
  .ry-panel-column { min-width: 0; min-height: 0; overflow: hidden; }
  .ry-panel-track {
    display: flex;
    flex-direction: column;
    animation: ry-panel-scroll var(--review-duration, 70s) linear infinite;
    animation-delay: var(--review-delay, -8s);
  }
  .ry-panel-track-down { animation-direction: reverse; }
  .ry-panel-group {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 14px;
  }
  .ry-panel-reviews[data-playing="false"] .ry-panel-track { animation-play-state: paused; }
  .ry-panel-reviews .card_testimonial {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: 0;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ffffffb3;
    border-radius: 16px;
    background: #fffffff0;
    box-shadow: 0 2px 12px #00000008;
  }
  .ry-panel-reviews .testimonial_top-tile { gap: 14px; }
  .ry-panel-reviews .testimonial_top-tile > p { font-size: 14px; line-height: 1.5; }
  .ry-panel-reviews .ry-review-stars { gap: 2px; }
  .ry-panel-reviews .ry-review-stars svg { width: 15px; height: 15px; }
  .ry-panel-reviews .testimonial_bottom-tile { align-items: center; gap: 10px; }
  .ry-panel-reviews .ry-review-avatar { width: 40px; height: 40px; border-radius: 50%; }
  .ry-panel-reviews .ry-review-author-line { gap: 3px 6px; }
  .ry-panel-reviews .ry-review-author-line .text_body-bold { font-size: 12px; }
  .ry-panel-reviews .ry-review-verified { font-size: 10px; }
  .ry-panel-reviews .ry-review-author-meta { font-size: 10px; gap: 3px 5px; }
  .ry-panel-reviews .ry-review-flag { width: 15px; height: 10px; }
  .ry-motion-root[data-motion-ready="true"] .ry-panel-reviews .card_testimonial.ry-motion-reveal {
    opacity: 1 !important;
    translate: none;
    transition: none;
  }
  .ry-book-review-panel { background-image: none; }
  .ry-book-review-panel > .widget-centered,
  .ry-book-review-panel > .book_feature-halves { display: none; }
  .ry-book-review-photo {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .ry-book-review-panel .ry-panel-reviews { inset: 0 20px; }
  .section_book .right_book { min-width: 0; justify-content: flex-start; }
  .section_book .form-block_book { flex: 1; display: flex; flex-direction: column; }
  .section_book .form_block,
  .section_book .book-form_bottom-tile,
  .section_book .contact-form_inner,
  .section_book .contact-form_inner > .input_wrap:last-child,
  .section_book .text-field.text-area { flex: 1; }
}

@keyframes ry-panel-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (min-width: 992px) and (max-height: 850px) {
  .section_book .book_halves { padding-top: 72px; padding-bottom: 12px; }
  .section_book .right_book { padding: 16px 24px; row-gap: 12px; }
  .section_book .headline_book, .section_book .heading_book { row-gap: 8px; }
  .section_book .headline_book .label-master { padding: 4px 8px; }
  .section_book .headline_book .label-large { font-size: 10px; line-height: 14px; }
  .section_book .heading_book h1 { font-size: 28px; line-height: 32px; }
  .section_book .heading_book p { margin: 0; font-size: 14px; line-height: 20px; }
  .section_book .book-form_bottom-tile { row-gap: 12px; }
  .section_book .contact-form_inner { row-gap: 8px; }
  .section_book .text_input-label { margin-bottom: 0; font-size: 11px; line-height: 14px; }
  .section_book .text-field { min-height: 40px; height: 40px; padding-block: 8px; font-size: 14px; line-height: 22px; }
  .section_book .text-field.text-area { min-height: 56px; height: 56px; }
  .section_book .checkbox .text-size-small { font-size: 12px; line-height: 18px; }
  .section_book .ry-book_alt { margin: 0; font-size: 12px; line-height: 18px; }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .ry-panel-reviews { inset-inline: 12px; gap: 10px; }
  .ry-book-review-panel .ry-panel-reviews { inset-inline: 12px; }
  .ry-panel-group { gap: 10px; padding-bottom: 10px; }
  .ry-panel-reviews .card_testimonial { padding: 14px; }
  .ry-panel-reviews .testimonial_top-tile > p { font-size: 13px; }
}

@media (min-width: 992px) and (max-height: 650px) {
  .section_book .right_book { padding-block: 12px; }
  .section_book .heading_book h1 { font-size: 26px; line-height: 28px; }
  .section_book .headline_book .label-master { padding-block: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .ry-panel-track { animation: none; transform: none; }
  .ry-panel-group[aria-hidden="true"] { display: none; }
  .ry-panel-column { overflow-y: auto; scrollbar-width: thin; }
  .ry-panel-column:focus-visible { outline: 2px solid #c5ef57; outline-offset: -2px; }
}
