﻿/*Custom CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #2c3338;
    color: #ccc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    box-sizing: border-box;
}

#page {
    max-width: 1100px;
    margin: auto;
    background: #212121;
}

main {
    padding: 0 10px;
}

.videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

a.video {
    list-style: none;
    max-width: 400px;
    width: 300px;
    background: #565D69;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    flex: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.time {
    position: absolute;
    top: 5px;
    left: 10px;
    color: #f2f2f2;
    background: #0000008c;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 5px;
}

.ago {
    right: 10px;
    top: 5px;
    position: absolute;
    opacity: 0.9;
    font-weight: normal;
    text-shadow: 0px 0px 4px #000;
    color: #f2f2f2;
    background: #0000008c;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 5px;
}

h2.vtitle {
    color: #fff;
    padding: 8px;
    position: absolute;
    background: rgba(0, 0, 0, 0.48);
    margin: 0px;
    bottom: 0px !important;
    width: -webkit-fill-available;
    font-weight: 400;
    transition: all .25s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
}

header {}

.logo {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.logo a {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    padding: 0 5px;
}

form.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2d3338;
    border-radius: 5px;
    color: #fff;
}

input.search-field {
    margin: 0px;
    background: transparent;
    border: 0;
    padding: 0;
    line-height: unset;
    outline: 0px;
    padding-left: 20px;
    color: #fff;
    height: 36px;
}

button.search-submit {
    background: transparent;
    border: 0;
    margin: 0;
    line-height: unset;
    color: #ffffff7a;
    border-left: 1px solid #ffffff42;
    padding: 8px 13px 3px;
    font-size: 18px;
    cursor: pointer;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #ffffff;
}

input:-internal-autofill-selected {
    background-color: transparent;
}

.menu {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #171717;
    margin-bottom: 10px;
    overflow-x: scroll;
    scrollbar-width: none;
}

.menu a {
    color: #fff;
    font-size: 17px;
    padding: 10px;
    white-space: nowrap;
}

footer {
    padding: 10px 0;
    text-align: center;
    margin-top: 20px;
    background: #171717;
    color: #cccccc;
}

@media only screen and (max-width: 600px) {
    .menu {
        scrollbar-width: thin;
    }
}


/* Buttons */

.button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #555;
}


/* Form Styles */

input,
textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

video {
    outline: 0;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
    margin-top: 10px;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    flex: 1 0 50%;
    text-align: end;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin-top: 0px;
    margin-bottom: 5px;
    font-weight: 500;
}

h1 {
    font-size: 22px;
}

h2.h {
    font-size: 18px;
    background: #171717;
    padding: 5px;
    margin: 0 -10px 10px -10px;
    text-align: center;
}

p {
    margin-bottom: 10px;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: #8daaff;
}

a:hover,
a:focus,
a:active {
    color: #255cff;
}


/* Single Post */

.taxonomy {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: scroll;
    scrollbar-width: none;
    margin-bottom: 10px;
}

.taxonomy a {
    border: 1px solid #0069ff;
    flex: auto;
    color: #ccc;
    padding: 3px 15px;
    border-radius: 23px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.cat:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4.616 19q-.691 0-1.153-.462T3 17.384V6.616q0-.691.463-1.153T4.615 5h4.981l2 2h7.789q.69 0 1.153.463T21 8.616v8.769q0 .69-.462 1.153T19.385 19z'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    margin-right: 2px;
}

.tag:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 256 256'%3E%3Cpath fill='white' d='M243.31 136L144 36.69A15.86 15.86 0 0 0 132.69 32H40a8 8 0 0 0-8 8v92.69A15.86 15.86 0 0 0 36.69 144L136 243.31a16 16 0 0 0 22.63 0l84.68-84.68a16 16 0 0 0 0-22.63m-96 96L48 132.69V48h84.69L232 147.31ZM96 84a12 12 0 1 1-12-12a12 12 0 0 1 12 12'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    margin-right: 2px;
}

.tag-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.tag-list a {
    min-width: 135px;
    background: #2e3338;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    text-align: center;
    flex: auto;
}

.tag-list a:hover {
    background: #000000;
}

span.num {
    font-size: 14px;
    padding-left: 5px;
    color: #7c7c7c;
}

.breadcrumb {
    padding: 0px 0px 10px 10px;
    white-space: nowrap;
    overflow: hidden;
}

.taxonomy-meta {
    margin-bottom: 10px;
}

a.btnx {
    padding: 8px;
    display: block;
    width: 150px;
    border-radius: 99px;
    margin: auto;
    margin-top: 15px;
    border: 1px solid #0069ff;
    white-space: nowrap;
    text-align: center;
}

span.name {
    font-size: 20px;
}

span.count {
    background: #00000047;
    padding: 5px 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 12px;
}

a.blk {
    aspect-ratio: 16 / 4;
}

span.blur {
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    background: #33333373;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

span.blur:hover {
    backdrop-filter: blur(55px);
}

a.video.blk:hover {
    color: #fff;
}

h1.page-title {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ffffff3d;
}

h1.stitle {
    overflow-x: scroll;
    white-space: nowrap;
    scrollbar-width: none;
}

.nav-previous a {
    color: #fff;
    background: #0049b1;
    padding: 5px 10px;
    display: block;
    text-align: center;
}

.nav-next a {
    color: #fff;
    background: #028b1d;
    padding: 5px 10px;
    display: block;
    text-align: center;
}


button.reportxb {
    font-size: 12px;
    margin: 14px auto;
    display: block;
    padding: 10px 15px;
    border: 1px solid red;
    border-radius: 99px;
    background: #ffffff00;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
button.reportxb:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='red' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    margin-right: 2px;
}

.language:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3m5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72z'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    margin-right: 2px;
}
a.place {
    border-color: #ff5d00;
}
a.language {
    border-color: #27ff00;
}
.place:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='white' d='M256 32C167.67 32 96 96.51 96 176c0 128 160 304 160 304s160-176 160-304c0-79.49-71.67-144-160-144m0 224a64 64 0 1 1 64-64a64.07 64.07 0 0 1-64 64'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    margin-right: 2px;
}

.fcont {
    padding: 10px;
    border-top: 1px solid #ffffff8f;
    margin-top: 20px;
}
.fcont h1 {
    text-align: center;
}


/*Taxonomy Styles*/
.taxonomy-card {
    background: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.taxonomy-card:hover {
    transform: translateY(-2px);
    background: #171717;
}

.taxonomy-link {
    text-decoration: none;
    color: var(--text-white);
    padding: 15px;
    display: block;
}

.taxonomy-info h2 {
    font-size: 16px;
    margin: 0 0 5px 0;
    color: #fff;
}

.taxonomy-count {
    font-size: 14px;
    color: #c7c7c7;
}

.taxo-search {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.taxo-search input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid var(--dark-hover);
    border-radius: 8px;
    background: #2e3338;
    color: var(--text-white);
}

.taxo-search input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Alphabet Filter */

.alphabet-filter {
    padding-bottom: 1rem;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
}

.letter-btn {
    padding: 8px;
    border: none;
    background: #171717;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.letter-btn:hover {
    background: #255cff;
}

.letter-btn.active {
    background: #255cff;
}
.footer-notice {
  background-color: #121212;
  color: #e0e0e0;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  border-top: 1px solid #333;
}

.footer-notice a {
  color: #4fc3f7;
  text-decoration: none;
}

.footer-notice a:hover {
  text-decoration: underline;
}




/* =====================================
   Episodes from this Series – Horizontal
   (Posts scroll on mobile + desktop)
   ===================================== */

.series-episodes {
    margin: 16px 0 0px;
}

/* Horizontal scroll container */
.series-episodes .episodes-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    margin: 0;
}

/* Hide scrollbar (clean look) */
.series-episodes .episodes-grid::-webkit-scrollbar {
    height: 0;
}

/* Episode post card */
.series-episodes .episode-item {
    flex: 0 0 auto;
    width: 260px;           /* desktop card width */
    background: #141414;
    border-radius: 5px;
    overflow: hidden;
}

/* Thumbnail */
.series-episodes .episode-item img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Title */
.series-episodes .episode-title {
    font-size: 16px;
    padding: 6px 8px;
    color: #ccc;
    text-align: left;
}

/* Mobile card size */
@media (max-width: 768px) {
    .series-episodes .episode-item {
        width: 70vw;   /* swipe-friendly */
    }
}
/* =====================================
   Episodes – Horizontal Scrollbar (CSS)
   ===================================== */

.series-episodes .episodes-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px; /* space for scrollbar */
}

/* ===== WebKit browsers (Chrome, Edge, Safari) ===== */
.series-episodes .episodes-grid::-webkit-scrollbar {
    height: 6px;
}

.series-episodes .episodes-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
}

.series-episodes .episodes-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.35);
    border-radius: 10px;
}

.series-episodes .episodes-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.55);
}

/* ===== Firefox ===== */
.series-episodes .episodes-grid {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.45) rgba(255,255,255,0.08);
}


/* Force Episodes order left → right */
.series-episodes .episodes-grid {
    direction: ltr;
}


.sh1{
	text-align:center;
	color: silver;
	font-size: 30px;
}
.sp1{
		text-align:center;

}


/* RetroTube → MaalTV look: bridge + fixes */

/* ---- Kill RetroTube chrome ---- */
.top-bar,
.widget-area,
#sidebar,
.wpst-user-modal,
.rating-bar,
article.loop-video .views,
article.loop-video .video-overlay,
.page-header,
#filters,
#back-to-top,
.site-branding .site-description,
.site-branding .site-title i,
.button-nav,
#head-mobile,
.main-navigation,
#rating-col,
#video-tabs,
#video-share,
#video-author,
#video-date,
#rating,
.title-block #rating {
  display: none !important;
}

/* Hide RetroTube breadcrumbs on archive; show styled ones on single */
.breadcrumbs-area {
  display: none !important;
}

.single .breadcrumbs-area {
  display: flex !important;
  align-items: center !important;
  background: #15171d !important;
  box-shadow: none !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: normal !important;
  box-sizing: border-box !important;
}

.single .breadcrumbs-area .row {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}

.single .breadcrumbs-area .row > [class*="col"],
.single .breadcrumbs-area .row > div {
  display: flex !important;
  align-items: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  height: auto !important;
  min-height: 0 !important;
}

.single #breadcrumbs {
  padding: 0 10px !important;
  margin: 0 !important;
  width: 100% !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ccc;
  font-size: 14px;
  line-height: 1.45 !important;
  box-sizing: border-box !important;
  list-style: none !important;
  text-align: left !important;
}

.single #breadcrumbs a,
.single #breadcrumbs .current {
  display: inline !important;
  vertical-align: baseline !important;
  margin: 0 !important;
}

.single #breadcrumbs a {
  color: #8daaff !important;
  text-decoration: none;
}

.single #breadcrumbs a:hover {
  color: #255cff !important;
}

.single #breadcrumbs .current {
  color: #fff;
}

.single #breadcrumbs .separator {
  color: #ccc;
  margin: 0 4px;
}

.single #breadcrumbs .separator i {
  display: none;
}

aside#sidebar,
.widget-area.with-sidebar-right {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  visibility: hidden !important;
}

#content.site-content.row,
#content.site-content,
.site-content.row {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
}

.content-area.with-sidebar-right,
.site-main.with-sidebar-right,
#primary,
#primary.content-area,
.site-main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: both !important;
}

body.wp-theme-retrotube #content.site-content.row #primary.content-area.with-sidebar-right,
body.wp-theme-retrotube #content.site-content.row #main.site-main.with-sidebar-right {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.wp-theme-retrotube #sidebar.widget-area.with-sidebar-right {
  display: none !important;
  width: 0 !important;
}

#page {
  max-width: 1100px !important;
  margin: 0 auto !important;
  background: #212121;
  width: 100%;
}

/* ---- Header (MaalTV .logo) ---- */
#masthead.site-header {
  background: transparent;
  padding: 0;
}

.site-branding.row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

/* RetroTube sets width:100% on each branding child — breaks side-by-side layout */
.site-branding .happy-header {
  display: none !important;
}

.site-branding .logo {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 10px;
  padding: 10px;
  margin: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}

/* RetroTube mobile/tablet: .logo a { width: 90% } — must not stretch title row */
.site-branding .logo,
.site-branding .logo .site-title,
.site-branding .logo .site-title a,
.site-branding .logo a,
.site-branding .logo img {
  width: auto !important;
  max-width: 100% !important;
}

.site-branding .logo {
  width: 100% !important;
}

.site-branding .logo .site-title {
  margin: 0;
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}

.site-branding .logo .site-title a,
.site-branding .logo a {
  width: auto !important;
  max-width: none !important;
  display: inline-block;
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 500;
  padding: 0 5px;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  white-space: nowrap;
}

.site-branding .site-description {
  display: none !important;
}

.site-branding .header-search,
.site-branding .header-search.small-search {
  flex: 0 0 246px !important;
  width: 246px !important;
  min-width: 180px !important;
  max-width: 280px !important;
  margin: 0 !important;
  float: none !important;
}

.header-search form,
#searchform,
form.search-form {
  display: flex !important;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  background: #2d3338;
  border-radius: 5px;
  color: #fff;
  margin: 0;
  width: 100% !important;
  min-width: 0;
  float: none !important;
}

.header-search input:not(#searchsubmit),
#searchform #s,
input.search-field {
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  padding-left: 12px !important;
  color: #fff !important;
  height: 36px;
  outline: 0;
  box-shadow: none !important;
  min-width: 60px !important;
  width: auto !important;
  flex: 1 1 auto !important;
  float: none !important;
  font-size: 14px;
}

.header-search .button,
#searchsubmit,
button.search-submit {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  color: #ffffff7a !important;
  border-left: 1px solid #ffffff42 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  cursor: pointer;
  flex: 0 0 45px !important;
  float: none !important;
  width: 45px !important;
  min-width: 45px !important;
  max-width: 45px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  background-image: none !important;
  filter: none !important;
}

#searchsubmit svg {
  width: 1em;
  height: 1em;
  display: block;
}

/* ---- MaalTV horizontal menu (injected) ---- */
.xmasti-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: #171717;
  margin-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 6px;
  box-sizing: border-box;
}

.xmasti-menu::-webkit-scrollbar {
  display: none;
}

.xmasti-menu a {
  color: #fff !important;
  font-size: 17px;
  padding: 10px;
  white-space: nowrap;
  text-decoration: none !important;
  flex: 0 0 auto;
}

.xmasti-menu a:hover {
  color: #255cff !important;
}

/* Breadcrumbs (MaalTV single page) */
.breadcrumb,
.breadcrumb.xmasti-bc {
  padding: 0 10px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ccc;
  font-size: 14px;
  line-height: 1.4;
}

.breadcrumb a,
.breadcrumb.xmasti-bc a {
  color: #8daaff !important;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb.xmasti-bc a:hover {
  color: #255cff !important;
}

.breadcrumb span,
.breadcrumb.xmasti-bc span {
  color: #fff;
}

.single .site-main.with-sidebar-right {
  padding-top: 0 !important;
}

.site-main.with-sidebar-right {
  padding: 0 var(--mb-side, 10px) !important;
}

body.single .site-main.with-sidebar-right {
  padding-left: var(--mb-single-side, 0px) !important;
  padding-right: var(--mb-single-side, 0px) !important;
}

/* ---- Video grid ---- */
.videos-list,
.single .under-video-block > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.single .under-video-block > div {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 14px;
}

article.loop-video.thumb-block {
  list-style: none;
  max-width: 400px;
  width: 300px;
  background: #565d69;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
  flex: auto;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

article.loop-video.thumb-block > a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  position: relative;
  background-color: #565d69;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

/* MaalTV-style: image is the card background (no img overlay stack) */
article.loop-video.thumb-block > a.xmasti-video-card .post-thumbnail {
  display: none !important;
}

article.loop-video .post-thumbnail {
  position: absolute;
  inset: 0;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  background: transparent !important;
}

/* Kill every overlay / film on thumbs */
article.loop-video .video-overlay,
.video-preview-item .video-overlay,
.thumb-block .video-overlay,
article.loop-video .post-thumbnail::before,
article.loop-video .post-thumbnail::after,
article.loop-video .post-thumbnail-container::before,
article.loop-video .post-thumbnail-container::after,
article.loop-video > a::before,
article.loop-video > a::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  background: none !important;
  pointer-events: none !important;
}

article.loop-video .post-thumbnail-container,
article.loop-video .post-thumbnail-container img,
article.loop-video .video-main-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 1 !important;
  filter: none !important;
}

article.loop-video span.duration,
article.loop-video span.ago,
article.loop-video span.time {
  position: absolute !important;
  top: 5px !important;
  bottom: auto !important;
  height: auto !important;
  width: auto !important;
  max-height: none !important;
  display: inline-block !important;
  color: #f2f2f2;
  background: #0000008c !important;
  padding: 2px 6px !important;
  font-size: 12px !important;
  border-radius: 5px;
  z-index: 5;
  font-weight: normal;
  line-height: 1.3 !important;
  white-space: nowrap;
  box-sizing: border-box;
}

article.loop-video span.duration,
article.loop-video span.time {
  left: 10px !important;
  right: auto !important;
}

article.loop-video span.ago {
  right: 10px !important;
  left: auto !important;
  opacity: 0.9;
  text-shadow: 0 0 4px #000;
}

article.loop-video span.duration i,
article.loop-video span.views {
  display: none !important;
}

/* Title bar — MaalTV bottom strip only (not full-image film) */
article.loop-video .entry-header,
article.loop-video .entry-header::before,
article.loop-video .entry-header::after,
.thumb-block .entry-header::before,
.thumb-block .entry-header::after {
  background-image: none !important;
}

article.loop-video .entry-header {
  color: #fff !important;
  padding: 8px !important;
  position: absolute !important;
  margin: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: auto !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  z-index: 4;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  background: rgba(0, 0, 0, 0.48) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

article.loop-video .entry-header span {
  color: #fff !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  padding: 0 !important;
  margin: 0 !important;
  text-shadow: none !important;
}

h2.vtitle {
  background: rgba(0, 0, 0, 0.48) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  font-size: 16px !important;
  padding: 8px !important;
  text-shadow: none !important;
}

/* Related videos — title below thumb (Aagmaal / competitor style) */
.single .under-video-block article.loop-video.xmasti-related-card {
  aspect-ratio: auto;
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
  float: none !important;
  width: calc((100% - 28px) / 3) !important;
  max-width: 400px !important;
  min-width: 0;
  flex: 0 0 calc((100% - 28px) / 3) !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.single .under-video-block article.xmasti-related-card > a {
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 4px;
  overflow: hidden;
}

.single .under-video-block article.xmasti-related-card .entry-header {
  position: static !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 8px 2px 0 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  display: block !important;
}

.single .under-video-block article.xmasti-related-card .entry-header span {
  font-weight: 500 !important;
}

/* Single page clean meta (Series / Model / Tags) */
.single #video-tabs,
.single #rating-col,
.single #video-author,
.single #video-date,
.single #video-share {
  display: none !important;
}

/* SEO post text — moved below tags via JS (.xmasti-post-desc) */
.single .tab-content {
  display: none !important;
}

.single #video-about.width70 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* Disable RetroTube "Read more" collapse on short SEO text */
.single .desc.more,
.single .video-description .desc {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

.single a.readmore,
.single .readmore {
  display: none !important;
}

.single .xmasti-post-desc {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 10px 14px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.single .xmasti-post-desc .video-description,
.single .xmasti-post-desc .desc {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #ccc !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

.single .xmasti-post-desc p,
.single .xmasti-post-desc .desc p {
  margin: 0 0 10px !important;
  color: #ccc !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.single .xmasti-post-desc p:last-child {
  margin-bottom: 0 !important;
}

.xmasti-single-extras {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.xmasti-single-meta {
  padding: 0 10px 8px !important;
  margin: 0 !important;
}

.xmasti-single-meta .xmasti-model {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #ccc;
  font-size: 15px;
  line-height: 1.5;
}

.xmasti-single-meta .xmasti-tag-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.xmasti-single-meta .xmasti-series,
.xmasti-single-meta .xmasti-model {
  margin: 0 0 8px;
  color: #ccc;
  font-size: 15px;
  line-height: 1.5;
}

.xmasti-single-meta .xmasti-series strong,
.xmasti-single-meta .xmasti-model strong {
  color: #fff;
  font-weight: 500;
  margin-right: 4px;
}

.xmasti-single-meta a {
  color: #8daaff !important;
  text-decoration: none;
}

.xmasti-single-meta a:hover {
  color: #255cff !important;
}

.xmasti-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  overflow: visible;
  margin: 4px 0 8px;
  padding: 2px 0;
}

.xmasti-tag-row a {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  border: 1px solid #9aa0a6 !important;
  color: #fff !important;
  padding: 4px 12px !important;
  border-radius: 23px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.xmasti-tag-row a:hover {
  border-color: #255cff !important;
  color: #fff !important;
}

.xmasti-tag-row a.xmasti-tax-cat:before,
.xmasti-tag-row a.xmasti-tax-tag:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: 16px 16px;
  flex-shrink: 0;
}

.xmasti-tag-row a.xmasti-tax-cat:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4.616 19q-.691 0-1.153-.462T3 17.384V6.616q0-.691.463-1.153T4.615 5h4.981l2 2h7.789q.69 0 1.153.463T21 8.616v8.769q0 .69-.462 1.153T19.385 19z'/%3E%3C/svg%3E");
}

.xmasti-tag-row a.xmasti-tax-tag:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58c.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41c0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4S7 4.67 7 5.5S6.33 7 5.5 7z'/%3E%3C/svg%3E");
}
.video-js .vjs-poster {
  background-color: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}
.video-js .vjs-poster img {
  object-fit: cover;
  opacity: 1 !important;
  filter: none !important;
}
.vjs-big-play-button {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 0 !important;
}

/* ---- Single video page (MaalTV style) ---- */
.single .title-block {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 8px 0 4px !important;
  margin: 0 !important;
}

.single .entry-title,
.single h1.entry-title {
  font-size: 22px !important;
  font-weight: 500 !important;
  color: #fff !important;
  margin: 0 0 8px !important;
  padding: 0 10px !important;
  white-space: normal !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35 !important;
  text-overflow: ellipsis;
  max-height: calc(1.35em * 2);
}

.single .video-player,
.single .responsive-player,
.single .responsive-player video {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0;
}

.single .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Actors → Model line */
#video-actors {
  display: block !important;
  margin: 0 0 10px;
  color: #ccc;
  font-size: 15px;
}

#video-actors i,
#video-actors::before {
  display: none !important;
  content: none !important;
}

#video-actors {
  font-weight: 400;
}

.single #video-actors {
  /* JS prepends "Model: " cleanly */
}

#video-actors a {
  color: #8daaff !important;
  text-decoration: none;
}

#video-actors a:hover {
  color: #255cff !important;
}

/* Category pills (MaalTV .taxonomy .cat) */
.single .tags {
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.single .tags-list {
  display: flex !important;
  gap: 5px;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

.single .tags-list::-webkit-scrollbar {
  display: none;
}

.single .tags-list a.label {
  border: 1px solid #0069ff !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  flex: 0 0 auto;
  color: #ccc !important;
  padding: 3px 15px !important;
  border-radius: 23px !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  margin: 0 !important;
  text-decoration: none !important;
  filter: none !important;
}

.single .tags-list a.label i {
  display: none !important;
}

.single .tags-list a.label[href*="/category/"] {
  /* keep as cat pills */
}

.single .tags-list a.label[href*="/tag/"] {
  min-width: 0;
  background: #2e3338 !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  padding: 4px 10px !important;
  text-align: center;
}

.single .tags-list a.label[href*="/tag/"]:hover {
  background: #000 !important;
}

.single .under-video-block .widget-title {
  font-size: 18px;
  background: #171717;
  padding: 5px;
  margin: 10px -10px 10px -10px;
  text-align: center;
  color: #fff;
  font-weight: 500;
}

.single .show-more-related {
  text-align: center;
  padding: 0 12px;
  box-sizing: border-box;
}

.single .show-more-related .button.large,
.single .under-video-block .button.large {
  display: inline-block;
  width: auto;
  min-width: 240px;
  max-width: calc(100% - 16px);
  padding: 12px 24px;
  border-radius: 99px !important;
  margin: 15px auto;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 55%, #e53935 100%) !important;
  background-image: linear-gradient(135deg, #b71c1c 0%, #d32f2f 55%, #e53935 100%) !important;
  color: #fff !important;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow:
    0 2px 8px rgba(183, 28, 28, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.single .show-more-related .button.large:hover,
.single .under-video-block .button.large:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  color: #fff !important;
  box-shadow:
    0 4px 10px rgba(183, 28, 28, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.single .show-more-related .button.large:active,
.single .under-video-block .button.large:active {
  transform: translateY(0);
  filter: brightness(0.97);
  box-shadow:
    0 1px 5px rgba(183, 28, 28, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.site-footer {
  padding: 0 !important;
  text-align: center;
  margin-top: 20px;
  background: #171717 !important;
  color: #cccccc !important;
  border-top: 1px solid #333;
}

.site-footer .row,
.site-footer .site-info {
  display: none !important;
}

.xmasti-footer-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 24px;
  box-sizing: border-box;
}

.xmasti-footer-inner {
  text-align: center;
  width: 100%;
}

.xmasti-footer-logo {
  display: inline-block;
  margin: 0 0 16px;
}

.xmasti-footer-logo img {
  max-width: 180px;
  width: 40%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(229, 57, 53, 0.35));
}

.xmasti-footer-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc !important;
  margin: 0 auto 20px;
  max-width: 960px;
  padding: 0 8px;
}

.xmasti-footer-nav {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 780px;
  margin: 0 auto 18px;
}

.xmasti-footer-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  text-align: center;
  padding: 0 8px;
}

.xmasti-footer-sep {
  flex: 0 0 1px;
  width: 1px;
  background: #555;
  margin: 2px 0;
  align-self: stretch;
}

.xmasti-footer-col a {
  color: #4fc3f7 !important;
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1.35;
  display: block;
  white-space: nowrap;
}

.xmasti-footer-col a:hover {
  text-decoration: underline !important;
  color: #8fdfff !important;
}

.xmasti-footer-copy {
  font-size: 14px;
  color: #aaa !important;
  border-top: 1px solid #333;
  padding-top: 14px;
  margin-top: 6px;
}

.xmasti-footer-copy a {
  color: #4fc3f7 !important;
  text-decoration: none !important;
}

.xmasti-footer-copy a:hover {
  text-decoration: underline !important;
}

/* Legal / info pages */
.page .xmasti-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 10px 28px;
  color: #ccc !important;
  font-size: 16px;
  line-height: 1.75;
}

.page .xmasti-page h2 {
  color: #fff !important;
  font-size: 20px;
  font-weight: 500;
  margin: 22px 0 10px;
}

.page .xmasti-page p {
  margin: 0 0 12px;
  color: #ccc !important;
}

.page .xmasti-page ul {
  margin: 0 0 14px 18px;
  color: #ccc !important;
}

.page .xmasti-page a {
  color: #4fc3f7 !important;
}

@media only screen and (min-width: 768px) {
  .xmasti-footer-wrap {
    padding: 36px 20px 28px;
  }

  .xmasti-footer-desc {
    font-size: 17px;
  }

  .xmasti-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 20px;
    max-width: none;
  }

  .xmasti-footer-sep {
    display: none !important;
  }

  .xmasti-footer-col {
    display: contents;
  }

  .xmasti-footer-col a {
    display: inline-block;
    font-size: 14px;
    white-space: nowrap;
  }

  .page .xmasti-page {
    font-size: 17px;
    padding: 16px 12px 36px;
  }
}

@media only screen and (min-width: 768px) {
  .xmasti-menu {
    overflow-x: visible;
    flex-wrap: nowrap;
  }
}

@media only screen and (max-width: 767px) {
  .site-main.with-sidebar-right {
    padding: 0 var(--mb-side-m, 8px) !important;
  }

  body.single .site-main.with-sidebar-right {
    padding-left: var(--mb-single-side-m, 0px) !important;
    padding-right: var(--mb-single-side-m, 0px) !important;
  }

  body.single .xmasti-menu {
    margin-bottom: 0 !important;
  }

  .single .breadcrumbs-area {
    padding: 10px 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: normal !important;
  }

  .single #breadcrumbs {
    font-size: 15px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.45 !important;
    padding: 0 10px !important;
  }

  .single #breadcrumbs .current {
    display: inline !important;
  }

  .single .title-block {
    padding: 10px 0 6px !important;
  }

  .single .entry-title,
  .single h1.entry-title {
    font-size: 19px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
    max-height: calc(1.35em * 2) !important;
    overflow: hidden !important;
    padding: 0 10px !important;
    margin: 0 0 8px !important;
  }

  .single .xmasti-single-meta,
  .single .xmasti-post-desc {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .xmasti-menu {
    gap: 10px;
    overflow-x: auto;
  }

  .videos-list {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .single .under-video-block > div {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .single .under-video-block article.loop-video.xmasti-related-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  article.loop-video.thumb-block {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .site-branding .logo .site-title a {
    font-size: 24px !important;
  }

  .site-branding .header-search,
  .site-branding .header-search.small-search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .xmasti-footer-nav {
    max-width: 100%;
    gap: 0;
  }

  .xmasti-footer-col {
    padding: 0 6px;
  }

  .xmasti-footer-col a {
    white-space: normal;
    font-size: 13px;
    line-height: 1.4;
    hyphens: auto;
  }

  .single .show-more-related .button.large,
  .single .under-video-block .button.large {
    min-width: 260px;
    padding: 13px 26px;
    font-size: 15px;
  }
}


/* Thumb clarity + MaalTV title strip (bottom only) */
article.loop-video .video-overlay,
article.loop-video .post-thumbnail::before,
article.loop-video .post-thumbnail::after {
  display: none !important;
  opacity: 0 !important;
}
article.loop-video.thumb-block > a.xmasti-video-card .post-thumbnail {
  display: none !important;
}
article.loop-video .post-thumbnail-container img,
article.loop-video .video-main-thumb {
  opacity: 1 !important;
  filter: none !important;
}
article.loop-video:not(.xmasti-related-card) .entry-header {
  background: rgba(0, 0, 0, 0.48) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}
article.loop-video span.duration,
article.loop-video span.ago,
article.loop-video span.time {
  top: 5px !important;
  bottom: auto !important;
  height: auto !important;
  width: auto !important;
  display: inline-block !important;
  line-height: 1.3 !important;
  padding: 2px 6px !important;
}
article.loop-video span.duration,
article.loop-video span.time {
  left: 10px !important;
  right: auto !important;
}
article.loop-video span.ago {
  right: 10px !important;
  left: auto !important;
  z-index: 5 !important;
}
.single .under-video-block > div {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 14px !important;
}
.single .under-video-block article.loop-video.xmasti-related-card {
  float: none !important;
  width: calc((100% - 28px) / 3) !important;
  max-width: 400px !important;
  flex: 0 0 calc((100% - 28px) / 3) !important;
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .single .under-video-block > div {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .single .under-video-block article.loop-video.xmasti-related-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
}

.xmasti-taxonomy .taxonomy {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 10px;
}
.xmasti-taxonomy .taxonomy::-webkit-scrollbar { display: none; }
.xmasti-taxonomy .taxonomy a.cat {
  border: 1px solid #0069ff;
  flex: 0 0 auto;
  color: #ccc !important;
  padding: 3px 15px;
  border-radius: 23px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none !important;
  background: transparent !important;
}
.xmasti-taxonomy .taxonomy a.cat:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4.616 19q-.691 0-1.153-.462T3 17.384V6.616q0-.691.463-1.153T4.615 5h4.981l2 2h7.789q.69 0 1.153.463T21 8.616v8.769q0 .69-.462 1.153T19.385 19z'/%3E%3C/svg%3E");
  background-size: 16px 16px;
}
.xmasti-taxonomy .tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.xmasti-taxonomy .tag-list a {
  min-width: 135px;
  background: #2e3338 !important;
  color: #ffffff !important;
  padding: 4px 10px;
  border-radius: 8px;
  text-align: center;
  flex: auto;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 14px;
}
.xmasti-taxonomy .tag-list a:hover {
  background: #000 !important;
}
.xmasti-tax-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  padding: 10px 0 20px;
  align-items: stretch;
}
.xmasti-tax-grid .taxonomy-card {
  background: #333;
  border-radius: 8px;
  padding: 15px;
  color: #fff !important;
  text-decoration: none !important;
  display: block;
  box-sizing: border-box;
  min-height: 78px;
}
.xmasti-tax-grid .taxonomy-card:hover {
  background: #171717;
}
.xmasti-tax-grid .taxonomy-info {
  display: block;
}
.xmasti-tax-grid h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 5px;
  color: #fff;
  font-weight: 600;
  word-break: break-word;
}
.xmasti-tax-grid .taxonomy-count {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  color: #c7c7c7;
  margin: 0;
}
.xmasti-tax-icon {
  flex: 0 0 16px;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  background-color: #fff;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.xmasti-tax-icon-tag {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23000' d='M243.31 136L144 36.69A15.86 15.86 0 0 0 132.69 32H40a8 8 0 0 0-8 8v92.69A15.86 15.86 0 0 0 36.69 144L136 243.31a16 16 0 0 0 22.63 0l84.68-84.68a16 16 0 0 0 0-22.63M147.31 232L48 132.69V48h84.69L232 147.31Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23000' d='M243.31 136L144 36.69A15.86 15.86 0 0 0 132.69 32H40a8 8 0 0 0-8 8v92.69A15.86 15.86 0 0 0 36.69 144L136 243.31a16 16 0 0 0 22.63 0l84.68-84.68a16 16 0 0 0 0-22.63M147.31 232L48 132.69V48h84.69L232 147.31Z'/%3E%3C/svg%3E");
}
.xmasti-tax-icon-actor {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a5 5 0 1 0-5-5a5 5 0 0 0 5 5m0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a5 5 0 1 0-5-5a5 5 0 0 0 5 5m0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5'/%3E%3C/svg%3E");
}
.xmasti-tax-icon-cat {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4.616 19q-.691 0-1.153-.462T3 17.384V6.616q0-.691.463-1.153T4.615 5h4.981l2 2h7.789q.69 0 1.153.463T21 8.616v8.769q0 .69-.462 1.153T19.385 19z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4.616 19q-.691 0-1.153-.462T3 17.384V6.616q0-.691.463-1.153T4.615 5h4.981l2 2h7.789q.69 0 1.153.463T21 8.616v8.769q0 .69-.462 1.153T19.385 19z'/%3E%3C/svg%3E");
}
@media (max-width: 767px) {
  .xmasti-tax-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    padding: 8px 0 16px;
  }
  .xmasti-tax-grid .taxonomy-card {
    padding: 12px;
    min-height: 72px;
  }
  .xmasti-tax-grid h2 {
    font-size: 15px;
  }
}
