/* ==========================================================
   cini-shorts.css
   Styles for shorts.php (Shorts / Reels listing page)
   Requires: cini-common.css loaded first
   ========================================================== */

/* ========================================
   Reels Icon Overlay
======================================== */
.webstoriesIconreels {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  z-index: 1;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  background-image: url(https://stat.dinamalar.com/new/2024/images/reelsvideo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 18px 16px;
}

/* ========================================
   Shorts Card Grid — Image Wrapper
======================================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 30.8%;
}

.mvp-widget-feat1-top-text {
  padding: 50px 10px 10px;
  width: auto;
}

.mvp-widget-feat1-top-text p {
  font-size: inherit !important;
  line-height: 1.3;
  margin-bottom: 0 !important;
  color: #fff !important;
  font-family: 'Anek Tamil', sans-serif;
}

/* ========================================
   Shorts Card — Image Container
======================================== */
.mvp-widget-feat1-top-img {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.mvp-widget-feat1-top-img a img {
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  color: #f7f7f7;
  transform: scale(1);
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.5s ease;
}

.mvp-widget-feat1-top-img:hover img {
  transform: scale(1.1);
}

.mvp-widget-feat1-top-text p:hover {
  opacity: 0.8;
}

/* ========================================
   Page Layout Spacing
======================================== */
.mvp-main-blog-wrap > .mvp-main-box {
  box-sizing: border-box;
  padding-left: 10px;
  /* padding-right: 16px; */
}

@media screen and (max-width: 767px) {
  /* .mvp-main-blog-wrap > .mvp-main-box {
    padding-left: 0 !important;
    padding-right: 14px !important;
  } */

  .mvp-main-blog-cont {
    margin-top: 10px !important;
  }
  .mvp-main-blog-out {
    padding-left: 0 !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    width: 100% !important;
    margin: 0 !important;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: calc(50% - 8px) !important;
    margin: 0 0 16px 0 !important;
  }
}

/* ========================================
   Shorts More Button
======================================== */
.mvp-inf-more-wrap {
  text-align: center;
}

.mvp-inf-more-wrap .mvp-inf-more-but {
  width: auto !important;
  min-width: 0;
  padding: 10px 16px !important;
  border-radius: 8px;
  background-color: #aa092f !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-transform: none;
}

.mvp-inf-more-wrap .mvp-inf-more-but:hover {
  background-color: #920729 !important;
}
