/* RomaTube homepage */
.rt-homepage {
  padding: 0 0 30px;
  background: #f5f7fb;
}

.rt-homepage .container-fluid {
  width: 100%;
  max-width: none;
  padding-left: 28px;
  padding-right: 28px;
}

.rt-home-topnav {
  padding: 18px 0 10px;
}

.rt-topnav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rt-cats-swiper .swiper-slide {
  width: auto;
}

.rt-cats-swiper a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #101828;
  border: 1px solid rgba(16,24,40,.08);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(16,24,40,.05);
}

.rt-cats-swiper a.active,
.rt-cats-swiper a:hover {
  background: linear-gradient(135deg,#4f46e5,#ec4899);
  color: #fff;
  border-color: transparent;
}

.rt-hero-wrap {
  padding: 10px 0 24px;
}

.rt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.75fr) 360px;
  gap: 22px;
}

.rt-block,
.rt-video-card,
.rt-article-card,
.vid_pop_channls,
.rt-creator-card,
.rt-category-block .content {
  background: #fff;
  border: 1px solid rgba(16,24,40,.06);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(16,24,40,.06);
}

.rt-hero-main {
  overflow: hidden;
  border-radius: 28px;
}

.rt-block-hero {
  overflow: hidden;
  border-radius: 28px;
}

.rt-hero-swiper,
.rt-hero-swiper .swiper-wrapper,
.rt-hero-swiper .swiper-slide {
  height: 100%;
}

.rt-hero-slide {
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center center;
  border-radius: 28px;
  overflow: hidden;
}

.rt-hero-overlay {
  display: none !important;
}

.rt-hero-backdrop {
  display: none !important;
}

.rt-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.02) 0%, rgba(15,23,42,0.08) 35%, rgba(15,23,42,0.72) 100%);
  z-index: 1;
}

.rt-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 36px 36px;
}

.rt-hero-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.rt-hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rt-hero-pill-featured {
  background: linear-gradient(135deg,#4f46e5,#ec4899);
  color: #fff;
}

.rt-hero-pill-category {
  background: rgba(255,255,255,.88);
  color: #101828;
  border: 1px solid rgba(255,255,255,.9);
}

.rt-hero-copy {
  max-width: 720px;
}

.rt-hero-copy h2 {
  margin: 0 0 12px;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.03em;
}

.rt-hero-copy h2 a {
  color: #fff;
  text-decoration: none;
}

.rt-hero-copy p {
  margin: 0 0 18px;
  max-width: 620px;
  color: #eef2f7;
  font-size: 16px;
  line-height: 1.68;
}

.rt-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  font-weight: 500;
}

.rt-hero-meta .dot {
  opacity: .45;
}

.rt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rt-homepage .btn.btn-main {
  background: linear-gradient(135deg,#4f46e5,#ec4899);
  border: none;
  color: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
}

.rt-homepage .btn.btn-default {
  background: #fff;
  border: 1px solid rgba(16,24,40,.10);
  color: #101828;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
}

.rt-hero-next,
.rt-hero-prev {
  width: 52px !important;
  height: 52px !important;
  margin-top: -26px !important;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(16,24,40,.08);
  color: #101828 !important;
  box-shadow: 0 10px 24px rgba(16,24,40,.10);
}

.rt-hero-next:after,
.rt-hero-prev:after {
  font-size: 18px !important;
  font-weight: 800;
}

.rt-hero-pagination {
  left: 36px !important;
  right: auto !important;
  bottom: 22px !important;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rt-hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(255,255,255,.55);
  opacity: 1;
}

.rt-hero-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg,#4f46e5,#ec4899);
}

.rt-hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rt-side-card {
  padding: 24px;
  border-radius: 24px;
}

.rt-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rt-side-kicker,
.rt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(79,70,229,.08);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rt-side-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  color: #101828;
}

.rt-side-card p,
.rt-side-mini span {
  color: #667085;
  line-height: 1.75;
}

.rt-side-progress-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.rt-progress-item {
  display: grid;
  gap: 7px;
}

.rt-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rt-progress-meta strong {
  color: #101828;
  font-size: 14px;
  font-weight: 700;
}

.rt-progress-meta span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.rt-progress-bar {
  position: relative;
  height: 9px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.rt-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg,#4f46e5,#ec4899);
}

.rt-side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.rt-side-stack {
  display: grid;
  gap: 14px;
}

.rt-side-mini {
  padding: 18px 20px;
  border-radius: 20px;
}

.rt-side-mini strong {
  display: block;
  color: #101828;
  font-size: 15px;
  margin-bottom: 5px;
}

.rt-home-section {
  padding: 18px 0;
}

.rt-soft-section {
  padding: 26px 0;
}

.rt-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.rt-section-head h2 {
  margin: 6px 0 0;
  color: #101828;
  font-size: 32px;
  font-weight: 800;
}

.rt-section-head p {
  color: #667085;
}

.rt-section-head > a,
.rt-category-title .view_more_link a,
.rt-text-link {
  color: #7c3aed;
  font-weight: 700;
}

.rt-card-row,
.rt-feed-row,
.rt-article-row,
.rt-channel-row,
.rt-creator-list {
  margin-left: -10px;
  margin-right: -10px;
}

.rt-card-row > [class*="col-"],
.rt-feed-row > [class*="col-"],
.rt-article-row > [class*="col-"],
.rt-channel-row > [class*="col-"],
.rt-creator-list > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.rt-video-card,
.rt-article-card {
  overflow: hidden;
  height: 100%;
  margin-bottom: 20px;
  border-radius: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.rt-video-card:hover,
.rt-article-card:hover,
.vid_pop_channls:hover,
.rt-creator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16,24,40,.10);
}

.rt-media,
.video-list-image,
.video-thumb {
  position: relative;
  overflow: hidden;
}

.rt-media img,
.video-list-image img,
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.rt-video-card:hover .rt-media img,
.rt-article-card:hover .rt-media img {
  transform: scale(1.05);
}

.rt-video-card .video-list-image {
  border-radius: 20px 20px 0 0;
}

.rt-video-card .video-list-image img {
  aspect-ratio: 16/10;
}

.rt-short-card-clean .video-list-image {
  border-radius: 20px 20px 0 0;
}

.rt-short-card-clean .video-list-image img {
  aspect-ratio: 9/14;
}

.rt-video-body {
  padding: 14px 14px 16px;
}

.rt-video-card .video-list-title h4,
.rt-short-card-clean .video-list-title h4 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
  color: #101828;
  font-weight: 700;
}

.rt-video-meta-top,
.rt-video-meta-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.rt-channel-name,
.rt-video-meta-bottom,
.rt-article-card .article-desc p,
.rt-article-card .article-views,
.rt-article-card h6 a {
  color: #667085 !important;
}

.rt-channel-name {
  font-weight: 600;
  text-decoration: none;
}

.rt-video-meta-bottom {
  font-size: 13px;
  margin-top: 4px;
}

.play_hover_btn {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: rgba(15,23,42,.08);
}

.rt-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.94);
  color: #111827;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.duration {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: auto !important;
  z-index: 4;
  background: rgba(17,24,39,.78);
  color: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
}

.rt-short-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  background: linear-gradient(135deg,#ef4444,#f59e0b);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.rt-article-card .video-thumb img {
  aspect-ratio: 16/10;
}

.rt-article-card .video-info {
  padding: 16px 16px 18px;
}

.rt-article-card .article-title h4 {
  font-size: 18px;
  line-height: 1.4;
  color: #101828;
}

.rt-article-card .article-title h4 a {
  color: #101828;
}

.rt-article-card .postFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.rt-article-card .article_pub_user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rt-article-card .article_pub_user img,
.rt-creator-top img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.rt-category-block {
  margin-bottom: 22px;
}

.rt-category-block .content {
  padding: 22px;
}

.rt-category-title h4,
.rt-homepage .home-page-categories .title h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #101828;
}

.rt-category-title h4 > div:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg,#4f46e5,#ec4899);
}

.rt-channel-row .channels_list {
  margin-bottom: 20px;
}

.rt-channel-row .vid_pop_channls {
  padding: 18px;
  border-radius: 20px;
}

.rt-channel-row .video-thumb img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

.rt-channel-row h4,
.rt-channel-row h6,
.rt-channel-row h6 svg {
  color: #101828;
}

.rt-channel-row .padding_popular {
  padding-left: 88px !important;
}

.rt-creator-banner {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(320px,.95fr) minmax(0,1.05fr);
  gap: 18px;
  background: linear-gradient(135deg,rgba(79,70,229,.08),rgba(236,72,153,.08)), #ffffff;
}

.rt-creator-copy h2 {
  margin: 10px 0 12px;
  color: #101828;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
}

.rt-creator-copy p,
.rt-creator-card p,
.rt-creator-info p,
.rt-creator-info small,
.rt-creator-top span {
  color: #667085;
}

.rt-creator-card {
  padding: 18px;
  height: 100%;
  border-radius: 20px;
}

.rt-text-link {
  display: inline-flex;
  margin-top: 8px;
}

@media (min-width: 1200px) {
  .rt-feed-row .col-lg-3 {
    width: 20%;
  }
}

@media (max-width: 1199px) {
  .rt-hero-grid,
  .rt-creator-banner {
    grid-template-columns: 1fr;
  }

  .rt-hero-slide,
  .rt-hero-inner {
    min-height: 500px;
  }

  .rt-hero-copy h2 {
    font-size: 40px;
  }
}

@media (max-width: 991px) {
  .rt-feed-row .col-lg-3,
  .rt-feed-row .col-md-4 {
    width: 33.333333%;
  }
}

@media (max-width: 767px) {
  .rt-homepage .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .rt-hero-slide,
  .rt-hero-inner {
    min-height: 420px;
  }

  .rt-hero-inner {
    padding: 22px 22px 26px;
  }

  .rt-hero-copy h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .rt-hero-copy p {
    font-size: 14px;
    line-height: 1.6;
  }

  .rt-section-head h2,
  .rt-creator-copy h2 {
    font-size: 26px;
  }

  .rt-side-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rt-feed-row .col-lg-3,
  .rt-feed-row .col-md-4,
  .rt-feed-row .col-sm-6,
  .rt-short-row .col-lg-2 {
    width: 50%;
  }

  .rt-play-btn {
    width: 46px;
    height: 46px;
  }

  .rt-hero-next,
  .rt-hero-prev {
    width: 42px !important;
    height: 42px !important;
    margin-top: -21px !important;
  }

  .rt-hero-pagination {
    left: 22px !important;
    bottom: 16px !important;
  }
}
/* RomaTube square card system */
.rt-feed-row .col-lg-3,
.rt-card-row .col-lg-3,
.rt-short-row .col-lg-3 {
  width: 25%;
}

.rt-video-card-square,
.rt-short-card-square {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.rt-video-card-square .video-list-image,
.rt-short-card-square .video-list-image {
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  position: relative;
}

.rt-video-card-square .video-list-image img,
.rt-short-card-square .video-list-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}


.rt-video-card-square .duration,
.rt-short-card-square .duration,
.rt-video-card .duration,
.rt-short-card .duration {
  position: absolute !important;
  right: 12px !important;
  bottom: 12px !important;
  top: auto !important;
  left: auto !important;
  z-index: 5 !important;
  background: rgba(17,24,39,.82) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 6px 10px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.rt-short-badge {
  position: absolute !important;
  left: 12px !important;
  bottom: 12px !important;
  top: auto !important;
  z-index: 5 !important;
  line-height: 1 !important;
}

.rt-video-body {
  padding: 14px 14px 14px;
}

.rt-video-body-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rt-video-user {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.rt-video-user-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  display: block;
}

.rt-video-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 999px;
}

.rt-video-title-wrap {
  min-width: 0;
  flex: 1;
}

.rt-video-card-square .video-list-title h4,
.rt-short-card-square .video-list-title h4 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 700;
  color: #101828;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: none;
}

.rt-video-meta-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #667085 !important;
  font-size: 13px;
  margin-top: 0;
}

.rt-video-menu {
  flex: 0 0 auto;
  position: relative;
}

.rt-video-menu-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(16,24,40,.08) !important;
  background: #fff !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.rt-video-menu-btn span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #344054;
  margin: 1.5px 0;
}

.rt-video-menu-btn:hover,
.rt-video-menu-btn:focus {
  background: #f8fafc !important;
  border-color: rgba(16,24,40,.12) !important;
}

.rt-video-dropdown {
  min-width: 210px;
  padding: 8px 0;
  border-radius: 16px;
  border: 1px solid rgba(16,24,40,.08);
  box-shadow: 0 14px 34px rgba(16,24,40,.12);
}

.rt-video-dropdown > li > a {
  padding: 10px 14px;
  color: #101828;
  font-weight: 500;
}

.rt-video-dropdown > li > a i {
  width: 16px;
  margin-right: 10px;
  color: #667085;
}

.rt-video-dropdown > li > a:hover {
  background: #f8fafc;
  color: #101828;
}

@media (max-width: 1199px) {
  .rt-feed-row .col-lg-3,
  .rt-card-row .col-lg-3,
  .rt-short-row .col-lg-3 {
    width: 25%;
  }
}

@media (max-width: 991px) {
  .rt-feed-row .col-lg-3,
  .rt-card-row .col-lg-3,
  .rt-short-row .col-lg-3 {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .rt-feed-row .col-lg-3,
  .rt-feed-row .col-md-3,
  .rt-feed-row .col-sm-6,
  .rt-card-row .col-lg-3,
  .rt-card-row .col-md-3,
  .rt-card-row .col-sm-6,
  .rt-short-row .col-lg-3,
  .rt-short-row .col-md-3,
  .rt-short-row .col-sm-6,
  .rt-feed-row .col-xs-12,
  .rt-card-row .col-xs-12,
  .rt-short-row .col-xs-12 {
    width: 100% !important;
  }

  .rt-video-user-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .rt-video-card-square .video-list-title h4,
  .rt-short-card-square .video-list-title h4 {
    font-size: 15px;
  }
}
/* dots menu: plain vertical dots, no circle */
.rt-video-card-square,
.rt-short-card-square,
.rt-video-card-square .rt-video-body,
.rt-short-card-square .rt-video-body,
.rt-video-card-square .rt-video-body-head,
.rt-short-card-square .rt-video-body-head {
  overflow: visible !important;
}

.rt-video-menu {
  position: relative !important;
  overflow: visible !important;
}

.rt-video-menu-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 18px !important;
  height: 24px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
}

.rt-video-menu-btn:hover,
.rt-video-menu-btn:focus,
.rt-video-menu-btn:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.rt-video-menu-btn::before,
.rt-video-menu-btn::after,
.rt-video-menu-btn:before,
.rt-video-menu-btn:after {
  display: none !important;
  content: none !important;
}

.rt-video-menu-btn span {
  width: 4px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #475467 !important;
  display: block !important;
  margin: 0 !important;
}

/* dropdown must float above card and not get cut off */
.rt-video-dropdown {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  z-index: 9999 !important;
  margin-top: 8px !important;
  min-width: 220px !important;
  max-width: 260px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(16,24,40,.08) !important;
  box-shadow: 0 18px 44px rgba(16,24,40,.16) !important;
  background: #fff !important;
  overflow: hidden !important;
}

/* keep image clipped, but not the card body/menu */
.rt-video-card-square .video-list-image,
.rt-short-card-square .video-list-image {
  overflow: hidden !important;
}

.rt-video-card-square,
.rt-short-card-square {
  overflow: visible !important;
}

/* mobile safety: open inward */
@media (max-width: 767px) {
  .rt-video-dropdown {
    right: 0 !important;
    left: auto !important;
    min-width: 200px !important;
  }
}
.rt-feed-row,
.rt-card-row,
.rt-feed-col,
.video-wrapper,
.rt-video-card,
.rt-video-body,
.rt-video-body-head,
.rt-video-menu {
	position: relative;
}

.rt-feed-row,
.rt-card-row,
.rt-feed-col,
.video-wrapper,
.rt-video-card,
.rt-video-body,
.rt-video-body-head {
	overflow: visible !important;
}

.rt-feed-col.dropdown-open,
.video-wrapper.dropdown-open {
	z-index: 9999;
}

.rt-video-menu {
	z-index: 10000;
}

.rt-video-dropdown {
	top: 100%;
	right: 0;
	left: auto;
	margin-top: 8px;
	z-index: 10001 !important;
	min-width: 220px;
}

.rt-video-menu-btn {
	position: relative;
	z-index: 10002;
}
.video-list-image,
.rt-media {
	position: relative;
	overflow: hidden;
}

.video-list-image > a,
.rt-media > a {
	position: relative;
	display: block;
}

.play_hover_btn {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: rgba(0,0,0,0.08);
	transition: background .2s ease;
}

.play_hover_btn:hover {
	background: rgba(0,0,0,0.14);
}

.play_hover_btn .rt-gif-preview {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	pointer-events: none;
}

.play_hover_btn svg {
	position: relative;
	z-index: 2;
}
/* RomaTube homepage card hover + dropdown */
.rt-feed-row,
.rt-card-row,
.rt-feed-col,
.video-wrapper,
.rt-video-card,
.rt-video-body,
.rt-video-body-head,
.rt-video-menu {
  position: relative;
}

.rt-feed-row,
.rt-card-row,
.rt-feed-col,
.video-wrapper,
.rt-video-body,
.rt-video-body-head {
  overflow: visible !important;
}

.rt-video-card-square,
.rt-short-card-square {
  border-radius: 22px;
  background: #fff;
  overflow: visible !important;
}

.rt-video-card-square .video-list-image,
.rt-short-card-square .video-list-image {
  border-radius: 22px 22px 0 0;
  overflow: hidden !important;
  position: relative;
}

.rt-video-card-square .video-list-image img,
.rt-short-card-square .video-list-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.video-list-image,
.rt-media {
  position: relative;
  overflow: hidden;
}

.video-list-image > a,
.rt-media > a {
  position: relative;
  display: block;
}

.play_hover_btn {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0,0,0,0.08);
  transition: background .2s ease;
}

.play_hover_btn:hover {
  background: rgba(0,0,0,0.14);
}

.play_hover_btn img,
.play_hover_btn .rt-gif-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.play_hover_btn svg {
  position: relative;
  z-index: 2;
}

.rt-feed-col.dropdown-open,
.video-wrapper.dropdown-open {
  z-index: 9999;
}

.rt-video-menu {
  flex: 0 0 auto;
  position: relative !important;
  overflow: visible !important;
  z-index: 10000;
}

.rt-video-menu-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 18px !important;
  height: 24px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  position: relative;
  z-index: 10002;
}

.rt-video-menu-btn:hover,
.rt-video-menu-btn:focus,
.rt-video-menu-btn:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.rt-video-menu-btn::before,
.rt-video-menu-btn::after,
.rt-video-menu-btn:before,
.rt-video-menu-btn:after {
  display: none !important;
  content: none !important;
}

.rt-video-menu-btn span {
  width: 4px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #475467 !important;
  display: block !important;
  margin: 0 !important;
}

.rt-video-dropdown {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  z-index: 10001 !important;
  margin-top: 8px !important;
  min-width: 220px !important;
  max-width: 260px !important;
  padding: 8px 0;
  border-radius: 16px !important;
  border: 1px solid rgba(16,24,40,.08) !important;
  box-shadow: 0 18px 44px rgba(16,24,40,.16) !important;
  background: #fff !important;
  overflow: hidden !important;
}

.rt-video-dropdown > li > a {
  padding: 10px 14px;
  color: #101828;
  font-weight: 500;
}

.rt-video-dropdown > li > a i {
  width: 16px;
  margin-right: 10px;
  color: #667085;
}

.rt-video-dropdown > li > a:hover {
  background: #f8fafc;
  color: #101828;
}

@media (max-width: 767px) {
  .rt-video-dropdown {
    right: 0 !important;
    left: auto !important;
    min-width: 200px !important;
  }
}