/*
 * Puva Video Reviews (Home), matching the old Puva .pr-video-reviews-item.
 * Uses original WordPress image assets and Flatsome's native .open-video.
 * Container uses the same 1420px token as other Home sections.
 */
.puva-video-reviews-section.section {
  background: #f4f3f3;
  padding: 0 0 100px !important;
}
.puva-video-reviews-section .section-bg { background: transparent !important; }
.puva-video-reviews-section .row.puva-videos-row {
  width: calc(100% - 48px) !important;
  max-width: var(--puva-home-content-width, 1420px) !important;
  margin: 0 auto !important;
}
.puva-video-reviews-section .puva-videos-row > .col { padding: 0 !important; }

.puva-videos {
  width: 100%;
  font-family: "DM Sans", Arial, sans-serif;
  color: #17102f;
}
.puva-videos-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 35px;
}
.puva-videos-heading-main {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.puva-video-reviews-section .puva-videos-heading h2 {
  font: 600 25px/1.35 "DM Sans", Arial, sans-serif;
  color: #17102f;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}
.puva-videos-heading-dots {
  display: inline-block;
  width: 34px;
  height: 18px;
  flex: 0 0 34px;
  background: url("../images/puva-dot.png") center / 34px 18px no-repeat;
}
.puva-video-reviews-section .puva-videos-view {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 5px;
  background: #fff;
  font: 400 14px/1.5 "DM Sans", Arial, sans-serif;
  color: #17102f;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.puva-video-reviews-section .puva-videos-view:hover {
  background: #473bf0;
  color: #fff;
}
.puva-videos-view i { font-size: 17px; line-height: 1; }

.puva-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}
.puva-videos-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 30px;
  align-items: stretch;
  min-width: 0;
  min-height: 254px;
  padding: 25px;
  border-radius: 7px;
  background: #fff;
}
.puva-videos-media {
  min-width: 0;
  align-self: stretch;
  overflow: hidden;
  border-radius: 5px;
  background: #eaeaf0;
}
.puva-video-reviews-section .puva-videos-media-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 204px;
  overflow: hidden;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}
.puva-videos-image,
.puva-videos-no-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 204px;
  object-fit: cover;
  object-position: center center;
  border-radius: 5px;
  transition: transform .3s ease;
}
.puva-videos-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9fa1af;
  font-size: 36px;
}
.puva-videos-card:hover .puva-videos-image { transform: scale(1.035); }
.puva-videos-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(.93);
  border-radius: 50%;
  background: #fff;
  color: #473bf0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
}
.puva-videos-play i { font-size: 30px; line-height: 1; }
.puva-videos-card:hover .puva-videos-play,
.puva-videos-media-link:hover .puva-videos-play,
.puva-videos-media-link:focus-visible .puva-videos-play {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.puva-videos-media-link:hover .puva-videos-play,
.puva-videos-media-link:focus-visible .puva-videos-play {
  background: #473bf0;
  color: #fff;
}
@media (hover: none) {
  .puva-videos-play {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
  }
}

.puva-videos-content {
  display: flex;
  flex-direction: column;
  min-height: 204px;
  min-width: 0;
  padding: 12px 0;
}
.puva-video-reviews-section .puva-videos-category {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0 0 15px;
  padding: 3.5px 12px;
  border-radius: 50px;
  background: #c3bcff;
  color: #17102f;
  font: 400 14px/1.5 "DM Sans", Arial, sans-serif;
  white-space: nowrap;
  text-decoration: none;
}
.puva-video-reviews-section .puva-videos-category--parenting { background: #c3bcff; }
.puva-video-reviews-section .puva-videos-category--gaming { background: #72ccff; }
.puva-video-reviews-section .puva-videos-category--lifestyle { background: #fcda98; }
.puva-video-reviews-section .puva-videos-category--technology { background: #c0efff; }
.puva-video-reviews-section .puva-videos-category--health-wellness { background: #c3bcff; }
.puva-video-reviews-section .puva-videos-category--gadget { background: #72ccff; }
.puva-video-reviews-section .puva-videos-content h3 {
  margin: 0 0 12px;
  color: #17102f;
  font: 500 16px/1.5 "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.puva-video-reviews-section .puva-videos-content h3 a {
  display: inline;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 95% / 0 2px no-repeat;
  transition: background-size .25s ease;
}
.puva-videos-card:hover h3 a { background-size: 100% 2px; }
.puva-videos-date {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #687183;
  font: 400 14px/1.5 "DM Sans", Arial, sans-serif;
}
.puva-videos-date i { font-size: 15px; line-height: 1; }
.puva-videos-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #d4d4d4;
}
.puva-videos-author {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6e7383;
  min-width: 0;
  font: 400 14px/1.5 "DM Sans", Arial, sans-serif;
}
.puva-videos-author img {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
}
.puva-videos-author a { color: #17102f; text-decoration: none; }
.puva-videos-author a:hover { color: #473bf0; }
.puva-video-reviews-section .puva-videos-details {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  font: 400 14px/1.5 "DM Sans", Arial, sans-serif;
  text-decoration: none;
  color: #71778a;
}
.puva-videos-details i { font-size: 15px; line-height: 1; }
.puva-video-reviews-section .puva-videos-details:hover { color: #473bf0; }

@media (max-width: 1399px) {
  .puva-videos-grid { gap: 24px; }
  .puva-videos-card { gap: 20px; padding: 22px; }
  .puva-video-reviews-section .puva-videos-date,
  .puva-videos-author,
  .puva-video-reviews-section .puva-videos-details { font-size: 13px; }
}
@media (max-width: 1099px) {
  .puva-videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .puva-videos-card { gap: 25px; padding: 24px; }
  .puva-video-reviews-section .puva-videos-date,
  .puva-videos-author,
  .puva-video-reviews-section .puva-videos-details { font-size: 14px; }
}
@media (max-width: 699px) {
  .puva-video-reviews-section.section { padding-bottom: 72px !important; }
  .puva-videos-grid { grid-template-columns: 1fr; gap: 20px; }
  .puva-videos-card { grid-template-columns: 39% minmax(0, 1fr); gap: 20px; padding: 20px; min-height: 245px; }
  .puva-videos-media-link,
  .puva-videos-image,
  .puva-videos-no-image { min-height: 205px; }
  .puva-videos-content { min-height: 205px; }
}
@media (max-width: 549px) {
  .puva-video-reviews-section .row.puva-videos-row { width: calc(100% - 24px) !important; }
  .puva-videos-heading { gap: 12px; margin-bottom: 25px; }
  .puva-videos-heading-main { gap: 7px; }
  .puva-video-reviews-section .puva-videos-heading h2 { font-size: 21px; }
  .puva-videos-heading-dots { width: 24px; height: 13px; flex-basis: 24px; background-size: 24px 13px; }
  .puva-video-reviews-section .puva-videos-view { padding: 7px 9px; gap: 4px; font-size: 12px; }
  .puva-videos-card { padding: 16px; gap: 16px; min-height: 230px; }
  .puva-videos-media-link,
  .puva-videos-image,
  .puva-videos-no-image { min-height: 198px; }
  .puva-videos-content { min-height: 198px; padding: 6px 0; }
  .puva-video-reviews-section .puva-videos-category { margin-bottom: 10px; font-size: 12px; padding: 3px 9px; }
  .puva-video-reviews-section .puva-videos-content h3 { font-size: 16px; line-height: 1.38; margin-bottom: 10px; }
  .puva-videos-date,
  .puva-videos-author,
  .puva-video-reviews-section .puva-videos-details { font-size: 12px; }
  .puva-videos-author { gap: 6px; }
  .puva-videos-author img { width: 22px; height: 22px; flex-basis: 22px; }
  .puva-videos-footer { padding-top: 10px; }
}
@media (max-width: 380px) {
  .puva-videos-card { grid-template-columns: 38% 1fr; gap: 12px; padding: 12px; }
  .puva-videos-author, .puva-videos-details { font-size: 11px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .puva-videos-play, .puva-videos-image { transition: none; }
}
