/* ========================
   BĀZES STILS UN WRAPPERI
   ======================== */


/* ========================
   GALVENIE WRAPPERI
   ======================== */
.setpreview-mainwrap {
  max-width: 1840px;
  margin: 32px auto 0 auto;
  padding: 0 18px;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}

.updates-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.setpreview-h1 {
  font-size: 2.0em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

/* ========================
   3 KOLONNU LAYOUTS
   ======================== */
.setpreview-flexrow {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.profile-block {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 38px;
  max-width: 1200px;
  margin: 0 auto 38px auto;
  background: #101010;
  border-radius: 12px;
  box-shadow: 0 0px 0px #101010;
  flex-wrap: wrap;
  padding: 36px 16px 0px 16px;
  width: 100%;
  box-sizing: border-box;
}

/* ========================
   KREISĀ KOLONNA: COVER
   ======================== */
.profile-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  box-sizing: border-box;
}
.profile-col-img {
  min-width: 280px;
  max-width: 350px;
  flex-basis: 28%;
  align-items: center;
  text-align: center;
}
.setpreview-cover {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 38px #0007;
  object-fit: cover;
  margin-bottom: -10px;
  max-width: 350px;
  height: auto;
  display: block;
  aspect-ratio: 2/3; /* piemēram, 600/900 = 2/3 */
}

/* Cover meta & rating */
.setpreview-cover-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.22em;
  gap: 100px;
  margin-top: 0;
  width: 100%;
}
.cover-date {
  color: #e6e6e6;
  font-size: 0.8em;
  padding-bottom: 0px; /* datums uz augšu un leju */
}
.cover-rating,
.setpreview-date,
.setpreview-rating {
  display: flex;
  align-items: center;
  font-size: 0.8em;
  gap: 3px;
  margin-top: 7px;
  color: #cfcfcf;
  letter-spacing: 0.02em;
  font-weight: 500;
	
}
.setpreview-rating .star,
/* Zvaigznītes */
.star-rating {
  margin-bottom: 24px;
  margin-top: 20px;
  display: flex;
  align-items: center;
}
.star-svg {
  width: 0.80em;
  height: 0.80em;
  vertical-align: middle;
  margin-right: 1px;
	
}
.star-svg-font {
  font-size: 1.0em;
  color: #ffb700;
  font-weight: bold;
  vertical-align: middle;
  margin-left: 7px;
}

/* ========================
   VIDĒJĀ KOLONNA: APRAKSTS
   ======================== */
.profile-links a {
  color: #FF8700;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.4;
}
.profile-links a:visited { color: #FF8700; }
.profile-links a:hover,
.profile-links a:focus {
  color: #fff;
  text-decoration: underline;
}
.profile-col-bio {
  padding: 8px 12px;
  color: #fff;
  font-size: 0.9em;
  font-weight: 100;
}
.setpreview-col.middle {
  flex: 1 1 350px;
  min-width: 320px;
  max-width: 740px;
  color: #ededed;
  font-size: 1.11em;
  font-weight: 400;
  line-height: 1.42;
}
.setpreview-desc p {
  margin-bottom: 38px;
  font-size: 1.2em;
  font-weight: 200;
}
.setpreview-desc h1 {
  margin-top: 14px;
  margin-bottom: 3px;
  font-weight: bold;
  color: #fff;
  font-size: 1.5em;
  line-height: 1.68;
}
.setpreview-desc h2,
.setpreview-desc h3,
.setpreview-desc h4,
.setpreview-desc h5,
.setpreview-desc p {
  margin-top: 10px;
  color: #fff;
  line-height: 1.48;
  margin-bottom: 18px;
  font-size: 1.2em;
  font-weight: 200;
}

/* ========================
   LABĀ KOLONNA: MODELIS
   ======================== */
.setpreview-col.right {
  flex: 0 0 190px;
  max-width: 200px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #181818;
  border-radius: 17px;
  box-shadow: 0 5px 32px #0005;
  padding: 20px 10px 16px 10px;
}
.setpreview-modelpic {
  width: 160px;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px #0005;
}
.setpreview-modelname {
  color: #FF8700;
  font-size: 1.17em;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 10px;
  letter-spacing: 0.01em;
}
.setpreview-vital {
  background: #212121;
  border-radius: 11px;
  padding: 10px 15px;
  font-size: 1.07em;
  color: #ddd;
  margin-top: 5px;
}
.setpreview-vital b {
  color: #fff;
  font-weight: 500;
}

/* ===========================
   SNEAK PEEKS & PREVIEW GRID
   =========================== */
.setpreview-sneakh2 {
  font-size: 1.25em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 34px;
  letter-spacing: 0.01em;
}
.setpreview-previewgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 14px;
  margin-bottom: 38px;
  width: 100%;
  max-width: 1840px;
  box-sizing: border-box;
}

/* Preview cell */
.setpreview-previewcell {
  aspect-ratio: 2 / 3;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #141414;
  overflow: hidden;
  display: block;
  box-shadow: 0 6px 36px #0007;
  transition: transform .16s;
  position: relative;
  min-width: 0;
  min-height: 0;
}
.setpreview-previewcell.empty {
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
  border: none !important;
  outline: none !important;
}
.setpreview-previewcell:hover img {
    filter: brightness(1.07);
    transform: scale(1.03);
    transition: all 0.25s;
}

/* Preview image wrap */
.setpreview-preview-imgwrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: block;
}
.setpreview-preview-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  background: #191919;
  display: block;
  aspect-ratio: 2 / 3;
  transition: transform 0.21s cubic-bezier(.7,.3,.2,.9);
}
.setpreview-previewcell:hover .setpreview-preview-imgwrap img {
  transform: scale(1.045);
}

/* Apakšas blur */
.setpreview-blur {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56%;
  background: linear-gradient(to top,rgba(24,24,24,0.97) 0%,rgba(24,24,24,0.62) 48%,rgba(24,24,24,0) 100%);
  pointer-events: none;
  z-index: 2;
  border-radius: 0 0 18px 18px;
}

/* ===========================
   UPDATES/HIDDEN GEMS (GRID)
   =========================== */
.flex-row-4 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}
.update-card {
  background: #101010;
  box-shadow: 0 4px 16px #0008;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  transition: box-shadow .18s;
}
.update-card:hover { box-shadow: 0 8px 26px #000e; }
.update-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: #101010;
  border-radius: 16px;
  transition: transform .21s cubic-bezier(.7,.3,.2,.9);
  display: block;
}
.update-card:hover img { transform: scale(1.06); }
.update-info {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #101010;
  padding: 0 0 4px 0;
  min-height: 100px;
  border-radius: 0 0 16px 16px;
}
.update-title {
  font-size: 1.06em;
  color: #fff;
  text-decoration: none;
  padding: 12px 13px 0 13px;
  min-height: 24px;
  max-height: 24px;
  overflow: hidden;
  word-break: break-word;
  display: block;
  transition: color .15s;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 300px;
}
.update-title:hover { color: #FF8700; }
.update-meta {
  padding: 0 13px 11px 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.update-model {
  font-size: 1.09em;
  color: #FF8700;
  margin-bottom: 0;
  text-decoration: none;
  transition: color .13s;
  margin-top: 2px;
  font-weight: 500;
}
.update-model:hover { color: #fff; }
.update-date {
  color: #bbb;
  font-size: 0.98em;
  margin: 0;
}

/* ===========================
   KOMENTĀRI
   =========================== */
.setpreview-feedbackh2 {
  margin-top: 44px;
  margin-bottom: 16px;
  font-size: 1.18em;
  font-weight: bold;
  color: #fff;
}
.setpreview-comments {
  width: 100%;
  max-width: 1840px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.setpreview-comment {
  background: #232323;
  border-radius: 13px;
  padding: 18px 19px 14px 18px;
  color: #fff;
  box-shadow: 0 4px 22px #0003;
  font-size: 1.09em;
}
.setpreview-comment-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.98em;
  margin-bottom: 7px;
  color: #FF8700;
}
.setpreview-comment-meta b { color: #fff; }
.setpreview-comment-empty {
  background: #232323;
  border-radius: 13px;
  padding: 28px 19px 22px 18px;
  color: #fff;
  font-size: 1.17em;
  text-align: center;
  margin-top: 22px;
  box-shadow: 0 4px 18px #0002;
  opacity: 0.82;
}

/* ===========================
   VIDEO PLAYER UN THUMBNAILS
   =========================== */

/* Video wrapper */
.video-block-outer {
  display: flex;
  justify-content: center;
  margin: 24px 0 4px 0;
  width: 100%;
  box-sizing: border-box;
	margin-bottom: 26px;
}

/* Video iekšējais bloks (ar lazy loaded playeri) */
.video-inner-block,
#video-lazy-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1300px;
  min-height: 760px; /* video height + duration rinda */
  aspect-ratio: 16/9;
  background: #101010;
  border-radius: 18px;
  box-shadow: 0 0px 0px #0007;
  padding: 14px 16px;
  box-sizing: border-box;
}

/* Video pats */
.video-player-custom {
  width: 100%;
  max-width: 1300px;
  max-height: 731px; /* tieši video augstums! */
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: #080808;
  display: block;
}

/* Video ilgums */
.video-duration {
  width: 100%;
  text-align: right;
  margin-top: 8px;
  color: #bbb;
  font-size: 1.1em;
  position: static;
}
.video-duration-under {
  text-align: right;
  margin-top: 6px;
  font-size: 1.13em;
  color: #fff;
  opacity: 0.77;
  letter-spacing: 0.02em;
  padding-right: 8px;
}
.custom-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 120px;
  height: 48px;
  border-radius: 30px;
  border: 2px solid #fff;
  background: #343434; /* caurspīdīgs, bet nedaudz tumšs, lai redz uz bildes */
  cursor: pointer;
  z-index: 2;
  font-size: 1.35em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  outline: none;
 
  transition: background 0.2s, border 0.2s;
}
.custom-play-btn span {
  opacity: 0; /* teksts neredzams, caurspīdīgs */
}
/* Optional: hover efekts */
.custom-play-btn:hover {
 
  border: 2.5px solid #ffd700;
}

/* Thumbnails wrapper */

.thumbs-block-outer {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto 40px auto;
    padding: 0 12px;
}
.video-thumbs-grid-wide {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    
    justify-items: center;
    align-items: center;
    gap: 10px 10px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
	
}
.video-thumb-cell-wide, .video-thumb-cell-wide.empty {
    width: 230px;
    aspect-ratio: 16/9;
    border-radius: 12px;
    background: #202020;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 14px #0006;
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.video-thumb-cell-wide:hover {
    box-shadow: 0 6px 24px #FF8700a0;
}
.video-thumb-img-wide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.video-thumb-cell-wide.empty {
    background: #181818;
    box-shadow: none;
}
/* ===========================
   GALLERY STILS (VIDEO GALERIJAI)
   =========================== */
.video-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 24px 0;
  width: 100%;
  box-sizing: border-box;
}
.gallery-item {
  width: 350px;
  max-width: 100%;
  background: #181a1e;
  border-radius: 16px;
  box-shadow: 0 2px 16px #0006;
  padding: 16px;
  box-sizing: border-box;
}
/* =====================================
   RESPONSIVE: MOBILE & MAZIE EKRĀNI
   ===================================== */
@media (max-width: 800px) {



 /* Pamat-wrap */
  .setpreview-mainwrap {
    max-width: 100% !important; /* vari atstāt, bet labāk width: 100% */
    width: 100% !important;
    padding: 0 2vw !important;
    margin: 14px auto 0 auto !important;
    box-sizing: border-box !important;
  }


  /* 3 kolonnas vertikāli */
  @media (max-width: 800px) {
  .profile-block {
    flex-direction: column;
    gap: 0;
    max-width: 98vw;
    padding: 10px 0 0 0;
    align-items: stretch;
  }
  .profile-col-img {
    width: 100%;
    max-width: 370px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    aspect-ratio: 2/3;
	min-height: 220px;
	  margin-top: 20px;
}

  .setpreview-cover {
    width: 100%;
    max-width: 370px;
    aspect-ratio: 2/3;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: -10px;
}
  .profile-col-stats {
    margin: 0 auto;
    padding: 0 10px;
    max-width: 340px;
  }
  .profile-col-bio {
    padding: 12px 8px;
    max-width: 100%;
  }
}


  
  /* VIDEO BLOKS (ar lazy wrapper) */
  .video-block-outer {
    margin: 20px 0 0 0 !important;
    width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  .video-inner-block,
  #video-lazy-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16/9 !important;
    min-height: unset !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #101010 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
  }
  .video-player-custom {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16/9 !important;
    height: auto !important;
    border-radius: 0 !important;
    background: #080808 !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: cover !important;
    box-sizing: border-box !important;
  }
  .video-inner-block img,
  #video-lazy-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    border-radius: 0 !important;
    display: block !important;
    object-fit: cover !important;
    background: #080808 !important;
    box-sizing: border-box !important;
  }
  .video-duration {
  position: absolute;
  bottom: 10px;    /* attālums no apakšas */
  right: 20px;     /* attālums no labās malas */
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 1em;
  font-family: monospace;
  pointer-events: none;
  z-index: 9;
  letter-spacing: 1px;
}

  /* Thumbnails bloks */
  .video-thumbs-grid-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 8px;
    margin-top: 36px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 2vw; /* ja vajag nedaudz elpu malās */
}
.video-thumb-cell-wide, .video-thumb-cell-wide.empty {
    width: 100%;      /* grid padarīs, lai viņas automātiski aizņem savu šūnu */
    border-radius: 12px;
    aspect-ratio: 16/9;  /* saglabā attiecību, ja vajag! */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-thumb-img-wide {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


  /* Preview grid – 2 kolonnas */
  .setpreview-previewgrid {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px 10px !important;
    max-width: 99vw !important;
    margin: 22px auto 40px auto !important;
    padding: 0 2vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hidden gems / updates grid – 2 kolonnas */
  .flex-row-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 10px !important;
    max-width: 99vw !important;
    margin: 0 auto 24px auto !important;
    box-sizing: border-box !important;
  }
  .update-card {
    min-width: 0 !important;
    width: 100% !important;
    border-radius: 13px !important;
  }

  /* Komentāri 100% */
  .setpreview-comments {
    max-width: 99vw !important;
    padding: 0 2vw !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 800px) {
  html, body {   
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
}
