/* ============================================================
   cini-index.css  —  Cinema Dinamalar Home Page
   ============================================================ */


/* ------------------------------------------------------------
   1. Slider / Carousel Base
   ------------------------------------------------------------ */
.slider {
  margin: 10px auto;
}

.slick-track {
  overflow: hidden;
}

.slick-slide {
  margin: 0 10px;
  transition: all ease-in-out 0.3s;
}

.slick-slide img {
  width: 100%;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}

.slick-prev,
.slick-next {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
}

@media (max-width: 768px) {

  .slick-prev,
  .slick-next {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}


/* ------------------------------------------------------------
   2. Top-slides & Regular Slider
   ------------------------------------------------------------ */
.topslides img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.regular .slick-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.regular .slick-slide {
  /* min-height: 355px; */
  overflow: hidden;
}

.regular {
  visibility: hidden;
}

.regular.slick-initialized {
  visibility: visible;
}


/* ------------------------------------------------------------
   3. Web Stories Carousel
   ------------------------------------------------------------ */
.webstoriesCarouselitemIn {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.webstoriesCarouselitemImg a {
  width: 100%;
  position: relative;
  /* padding-bottom: 177.77777778%; */
  display: block;
  background-color: #f7f7f7;
}

.webstoriesCarouselitemImg 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;
}

.webstoriesCarouselitemImg:hover img {
  transform: scale(1.1);
}

.webstoriesCarouselitemImg:hover .webstoriesCarouselitemdispn {
  opacity: 0.8;
}

/* ------------------------------------------------------------
   Chinnathirai Gallery Slider
   ------------------------------------------------------------ */
.chinnathirai-slider {
  visibility: hidden;
}

.chinnathirai-slider.slick-initialized {
  visibility: visible;
}

.chinnathirai-slider .chinnathirai-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.chinnathirai-slider .chinnathirai-img-wrap {
  overflow: hidden;
  border-radius: 10px;
}

.chinnathirai-slider .chinnathirai-img-wrap img {
  width: 100%;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.chinnathirai-slider .chinnathirai-item:hover .chinnathirai-img-wrap img {
  transform: scale(1.1);
}

.chinnathirai-slider .mvp-widget-feat1-top-text {
  transition: opacity 0.3s ease;
}

.chinnathirai-slider .chinnathirai-item:hover .mvp-widget-feat1-top-text {
  opacity: 0.9;
}

.webstoriesCarouselitemdispn {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  line-height: 1.3;
  padding: 110px 10px 5px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .9) 87%, rgba(0, 0, 0, .9) 100%);
  font-family: 'Anek Tamil', sans-serif;
  display: block;
  white-space: normal;
  overflow: visible;
}

.regular.slider {
  overflow: visible !important;
}

.regular.slider .slick-list {
  padding-right: 8px;
}

.webstoriesPhotoitembdr {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  line-height: 1.3;
  padding: 110px 10px 25px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .9) 87%, rgba(0, 0, 0, .9) 100%);
}

.dash {
  background: url(border-dash.png) repeat-x;
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 10px;
  z-index: 3;
  opacity: 0.3;
}

/* Icon overlays */
.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;
  background-size: 18px 16px;
}

.webstoriesphotoIcon {
  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/webstoriesicons.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 16px;
}




/* ------------------------------------------------------------
   4. Hover Effects
   ------------------------------------------------------------ */
.mvp-feat1-feat-wrap:hover h2 {
  opacity: 0.6;
}

.hover-animate-icon:hover .arrow-move {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.arrow-move {
  display: inline-block;
  transform: skewX(15deg);
  transition: transform 0.3s ease;
}

.mvp-widget-home-title:hover .arrow-move {
  transform: skewX(15deg) translateX(5px);
}


/* ------------------------------------------------------------
   5. Theme Accent — Gradient Title Bars
   ------------------------------------------------------------ */
ul.mvp-feat1-list-buts li.active span.mvp-feat1-list-but,
span.mvp-widget-home-title,
span.mvp-post-cat,
span.mvp-feat1-pop-head {
  background: linear-gradient(130deg, #ff7a18, #af002d 41.07%, #319197 76.05%);
}

span.mvp-feat1-list-but {
  font-size: 0.9rem;
}


/* ------------------------------------------------------------
   6. Star Rating
   ------------------------------------------------------------ */
.star-rating-box {
  margin: 5px auto 20px;
}

.star-rating input {
  margin: 0;
}

.star-rating {
  white-space: nowrap;
  margin: 0 auto;
  text-align: center;
}

.star-rating [type="radio"] {
  appearance: none;
}

.star-rating i {
  font-size: 1em;
  transition: 0.3s;
  font-weight: normal;
  cursor: pointer;
}

.star-rating label:is(:hover, :has(~ :hover)) i {
  color: orange;
}

.star-rating label:has(~ :checked) i {
  color: orange;
  font-weight: 900;
}


/* ------------------------------------------------------------
   7. Comment Count / Utility
   ------------------------------------------------------------ */
.margleft10 {
  color: #aa092f;
  display: flex;
  margin-right: 5px;
}

.margleft10 i {
  margin-right: 5px;
}

.cmntsvalid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ------------------------------------------------------------
   8. Video Section
   ------------------------------------------------------------ */
.mvp-vid-wide-out h4.mvp-widget-home-title:before {
  background: #383838;
}

.youtube-layout-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px;
  background: #fff;
  color: #222;
  border-radius: 16px;
  margin-bottom: 20px;
  font-family: 'Roboto', 'Arial', sans-serif;
  box-sizing: border-box;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.youtube-main-col {
  flex: 1 1 calc(100% - 324px);
  max-width: calc(100% - 324px);
  min-width: 0;
}

.youtube-player-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}

.youtube-player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-info-wrapper {
  margin-top: 15px;
}

.youtube-video-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
  line-height: 1.3;
}

.youtube-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.youtube-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aaa;
  font-size: 14px;
}

.youtube-author-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.youtube-divider {
  font-size: 10px;
}

.youtube-actions {
  display: flex;
  gap: 10px;
}

.yt-action-btn {
  background: rgba(255, 255, 255, .1);
  padding: 8px 16px;
  border-radius: 20px;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
  font-weight: 600;
}

.yt-action-btn:hover {
  background: rgba(255, 255, 255, .2);
}

/* Comments toggle */
.video-comments-wrap {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
}

.video-comment-toggle-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.video-comment-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #aa092f;
  background: #f4f6f8;
  border-radius: 999px;
  padding: 12px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 100%;
}

.video-comment-toggle:hover {
  background: #fff2f5;
  border-color: #aa092f;
}

.video-comment-toggle[aria-expanded="true"] {
  background: #aa092f;
  color: #fff;
  border-color: #aa092f;
}

.video-comment-toggle[aria-expanded="true"] svg {
  color: #fff;
}

.video-comment-panel {
  width: 100%;
  margin-bottom: 0;
}

/* Sidebar suggestions */
.youtube-sidebar-col {
  flex: 0 0 300px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.yt-sidebar-header {
  margin-bottom: 5px;
}

.youtube-suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-suggest-item {
  display: flex;
  gap: 10px;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.2s ease;
  padding: 4px;
}

.yt-suggest-item:hover {
  background: rgba(0, 0, 0, .05);
}

.yt-suggest-img-wrap {
  flex: 0 0 160px;
  position: relative;
}

.yt-suggest-img-wrap img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.yt-suggest-duration {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, .8);
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.yt-suggest-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.yt-suggest-text h3 {
  font-size: 14px;
  font-weight: 600;
  color: #222 !important;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-suggest-meta {
  font-size: 12px;
  color: #aaa;
  line-height: 1.3;
}

/* Video ad placeholders */
#video-top-ad,
#video-bottom-ad {
  width: 100%;
}


/* ------------------------------------------------------------
   9. Dark Mode — Video Section
   ------------------------------------------------------------ */
.zox-dark .youtube-layout-container {
  background: #1a1a1a;
  color: #ddd;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .38);
}

.zox-dark .youtube-video-title,
.zox-dark .yt-sidebar-header .mvp-widget-home-title,
.zox-dark .yt-suggest-text h3 {
  color: #f1f1f1 !important;
}

.zox-dark .youtube-action-row {
  border-bottom-color: rgba(255, 255, 255, .12);
}

.zox-dark .youtube-stats,
.zox-dark .yt-suggest-meta {
  color: #b8b8b8 !important;
}

.zox-dark .youtube-actions .hero-share-bar {
  background: #232323 !important;
  border-color: #383838 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28) !important;
}

.zox-dark .youtube-actions .hero-share-bar .share-label {
  color: #b8b8b8 !important;
}

.zox-dark .video-comment-toggle {
  background: #232323;
  border-color: #383838;
  color: #aa092f;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}

.zox-dark .video-comment-toggle:hover {
  background: #2a1d21;
  border-color: #aa092f;
}

.zox-dark .video-comment-toggle[aria-expanded="true"] {
  background: #aa092f;
  color: #fff;
  border-color: #aa092f;
}

.zox-dark .yt-suggest-item {
  background: #202020;
  border: 1px solid rgba(255, 255, 255, .08);
}

.zox-dark .yt-suggest-item:hover {
  background: #262626;
}

.zox-dark .yt-suggest-duration {
  background: rgba(0, 0, 0, .82);
}


/* ------------------------------------------------------------
   10. Responsive — Video Section
   ------------------------------------------------------------ */
@media screen and (max-width: 900px) {
  .youtube-layout-container {
    padding: 18px;
    gap: 20px;
  }

  .youtube-main-col {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .youtube-sidebar-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .youtube-layout-container {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
  }

  .youtube-player-wrapper {
    background: #fff;
    box-shadow: none;
  }

  .video-comments-wrap {
    margin-left: 20px;
    width: 80%;
    max-width: 100%;
  }

  .youtube-video-title {
    font-size: 19px;
    line-height: 1.4;
  }

  .youtube-action-row {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .youtube-stats {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
  }

  .youtube-actions {
    width: 100%;
  }

  .youtube-actions .hero-share-bar {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 16px !important;
    padding: 10px 12px !important;
  }

  .yt-suggest-item {
    gap: 12px;
    padding: 10px;
    border: 1px solid #ececec;
    background: #fff;
  }

  .yt-suggest-img-wrap {
    flex: 0 0 132px;
  }

  .video-comment-toggle {
    width: 100%;
    border-radius: 14px;
    padding: 12px 16px;
  }
}

@media screen and (max-width: 480px) {
  .youtube-layout-container {
    padding: 12px;
    gap: 16px;
  }

  .youtube-video-title {
    font-size: 17px;
  }

  .youtube-player-wrapper {
    border-radius: 10px;
  }

  .youtube-author-img {
    width: 32px;
    height: 32px;
  }

  .yt-suggest-item {
    flex-direction: column;
    gap: 10px;
  }

  .yt-suggest-img-wrap {
    flex-basis: auto;
    width: 100%;
  }

  .yt-suggest-text h3 {
    font-size: 13px;
  }

  .video-comment-toggle {
    font-size: 15px;
  }

  .youtube-stats {
    font-size: 12px;
  }
}

.mvp-feat5-mid-sub-text {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100%;
  padding: 10px 12px;
}

.mvp-feat5-mid-sub-text h2,
.mvp-feat5-mid-sub-text h2 a {
  font-size: 0.96rem;
  line-height: 1.35;
}


/* ========================================
   Breadcrumb Styling
======================================== */
.breadcrumbbdr {
  background: transparent;
  padding: 10px 15px !important;
  border-radius: 0;
  margin: 15px 0 20px 0 !important;
  box-shadow: none;
  border: 0;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumbbdr a {
  color: #aa092f !important;
  display: flex;
  align-items: center;
}

.breadcrumbbdr svg {
  margin-bottom: -3px;
  margin-right: 5px;
}

.zox-dark .breadcrumbbdr {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
}

.zox-dark .breadcrumbbdr span {
  color: #fff !important;
}

/* ============================================================
   Birthday Slider Theme Sync
   ============================================================ */
.birthday-stars-section .post-slider {
  background: #ffffff;
  transition: background-color 0.25s ease;
}



.zox-dark .birthday-stars-section .post-slider {
  background: #121212 !important;
}

.zox-dark .birthday-stars-section .mini-card time,
.zox-dark .birthday-stars-section .mini-card-title,
.zox-dark .birthday-stars-section .mini-card-title a {
  color: #f3f3f3 !important;
}

/* ============================================================
   CINI VATHANDHI — fix text clipping
   ============================================================ */

.vathandhi-section .mvp-widget-feat1-wrap {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.vathandhi-section .mvp-widget-feat1-cont {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
  position: static !important;
  align-items: flex-start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.vathandhi-section .mvp-widget-feat1-bot-story {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 0 !important;
  margin-left: 0 !important;
  overflow: visible !important;
  height: auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}

.vathandhi-section .mvp-widget-feat1-bot-story.left.relative {
  overflow: visible !important;
  box-shadow: none !important;
}

.vathandhi-section .mvp-widget-feat1-bot-img {
  width: 100% !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important;
}

.vathandhi-section .mvp-widget-feat1-bot-img img {
  width: 100% !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
}

.vathandhi-section .mvp-widget-feat1-bot-text {
  overflow: visible !important;
  height: auto !important;
  padding: 8px 6px 6px 6px !important;
  margin-top: 6px !important;
  box-sizing: border-box !important;
  display: block !important;
  flex: 1 !important;
}

.vathandhi-section .mvp-widget-feat1-bot-text h2 {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.vathandhi-section .mvp-widget-feat1-bot-text h2 a {
  white-space: normal !important;
  overflow: visible !important;
  display: block !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
}

/* மேலும் button below cards */
.vathandhi-section .mvp-widget-feat1-wrap>div[align="right"] {
  width: 100% !important;
  text-align: right !important;
  margin-top: 14px !important;
  display: block !important;
  position: static !important;
}

/* Responsive — 2 cards on tablet */
@media (max-width: 768px) {
  .vathandhi-section .mvp-widget-feat1-cont {
    flex-wrap: wrap !important;
  }

  .vathandhi-section .mvp-widget-feat1-bot-story {
    flex: 0 0 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    min-width: unset !important;
  }
}

/* Responsive — 1 card on mobile */
@media (max-width: 480px) {
  .vathandhi-section .mvp-widget-feat1-bot-story {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .vathandhi-section .mvp-widget-feat1-bot-img img {
    height: 200px !important;
  }
}