/* ZoomTV Single Post UI (Auto) - v1.6.0 */

@font-face{
  font-family: "IRANSansX";
  src: url("https://zoomtvir.com/wp-content/uploads/2025/10/IRANSansX-Regular-1.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.ztsu-wrap, .ztsu-wrap *{
  font-family: "IRANSansX", IRANSans, Tahoma, Arial, sans-serif;
}

/* Hide Jannah sidebar + expand main content */
body.ztsu-no-sidebar aside.sidebar,
body.ztsu-no-sidebar .sidebar{
  display: none !important;
}

body.ztsu-no-sidebar .main-content,
body.ztsu-no-sidebar .tie-col-md-8{
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* Hide theme default related */
body.ztsu-no-sidebar #related-posts,
body.ztsu-no-sidebar .related-posts,
body.ztsu-no-sidebar .related-posts-list{
  display: none !important;
}

/* Fill content width */
.ztsu-wrap{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HERO: dark */
.ztsu-hero{
  display: flex;
  gap: 16px;
  align-items: stretch;
  background: #222222;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}

.ztsu-hero__media{
  flex: 0 0 56%;
  min-width: 0;
}

.ztsu-hero__text{
  flex: 1 1 44%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ztsu-subheading{
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #f3f4f6;
  line-height: 1.9;
  font-size: 14px;
  font-weight: 400;
}

.ztsu-content{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 12px 14px;
  color: rgba(255,255,255,.92);
  overflow-wrap: anywhere;
  font-weight: 400;
}

.ztsu-content a{ color: #e5e7eb; text-decoration: underline; }
.ztsu-content p{ color: rgba(255,255,255,.90); font-weight: 400; }
.ztsu-content h1,.ztsu-content h2,.ztsu-content h3,.ztsu-content h4,.ztsu-content h5,.ztsu-content h6{ color: #ffffff; font-weight: 600; }
.ztsu-content ul,.ztsu-content ol{ color: rgba(255,255,255,.90); }
.ztsu-content img{ max-width: 100%; height: auto; border-radius: 12px; }

.ztsu-video{
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.ztsu-video__inner iframe,
.ztsu-video__inner video,
.ztsu-video__inner embed,
.ztsu-video__inner object{
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

.ztsu-video__inner iframe{
  aspect-ratio: 16 / 9;
  height: auto !important;
}

.ztsu-video--empty{
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ztsu-video__empty{
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 14px;
  text-align: center;
}

/* Sections - improved UI */
.ztsu-sections{
  margin-top: 16px;
}

.ztsu-section{
  margin-top: 18px;
}

.ztsu-section--boxed{
  padding: 12px 12px 14px;
}

.ztsu-section__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.ztsu-section__title{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  padding-right: 10px;
  position: relative;
}

.ztsu-section__title:before{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: #111827;
  opacity: .9;
}

.ztsu-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* Cards */
.ztsu-card{
  background: #fff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.ztsu-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

.ztsu-card__link{
  display: block;
  text-decoration: none;
  color: inherit;
}
.post-content.container-wrapper {
    border: none;
}

h1.post-title.entry-title {
    display: none;
}

.ztsu-card__media{
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #f3f4f6;
  overflow: hidden;
}

.ztsu-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ztsu-card__ph{
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17,24,39,.10), rgba(17,24,39,.04));
}

.ztsu-card__title{
  margin: 0;
  padding: 10px 12px 12px;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.8 !important;
  color: #111827;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* HARD clamp: apply to inner span so theme styles on H3 can't break it */
body .ztsu-wrap .ztsu-card__title-text{
  display: block !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  white-space: normal !important;
  max-height: calc(1.8em * 2) !important;
  line-height: 1.8 !important;
}

/* Keep card heights equal even when title is short */
body .ztsu-wrap .ztsu-card__title{
  min-height: calc((1.8em * 2) + 22px) !important; /* padding-top(10)+padding-bottom(12) */
}

/* Breakpoints */
@media (max-width: 1100px){
  .ztsu-hero__media{ flex-basis: 52%; }
  .ztsu-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px){
  .ztsu-hero{ flex-direction: column; }
  .ztsu-hero__media, .ztsu-hero__text{ flex: 1 1 auto; }
}

@media (max-width: 760px){
  .ztsu-hero{ padding: 12px; border-radius: 14px; }
  .ztsu-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ztsu-subheading{ font-size: 13px; }
  .ztsu-section__title{ font-size: 15px; }
}

.ztsu-title{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.9;
  color: #ffffff;
}

