/* ==========================================================================
   TieLabs & Taqyeem Compatibility Stylesheet for University of Shendi Theme
   ========================================================================== */

/* 1. Taqyeem Review Boxes */
.taqyeem-box,
.ush-review-box {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-top: 4px solid #C69214;
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
  box-shadow: 0 4px 18px rgba(13, 44, 84, 0.08);
}

.taqyeem-box h3 {
  margin: 0;
  color: #0D2C54;
  font-size: 1.2rem;
  font-weight: 800;
}

.taq-score {
  background: #0D2C54;
  color: #DFAC2D;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1.05rem;
}

/* 2. TieLabs Custom Icon Lists */
.tie-list ul,
.ush-tie-list ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tie-list ul li,
.ush-tie-list ul li {
  position: relative;
  padding-right: 28px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

[dir="ltr"] .tie-list ul li,
[dir="ltr"] .ush-tie-list ul li {
  padding-right: 0;
  padding-left: 28px;
}

.tie-list ul li::before,
.ush-tie-list ul li::before {
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 900;
}

[dir="ltr"] .tie-list ul li::before,
[dir="ltr"] .ush-tie-list ul li::before {
  right: auto;
  left: 0;
}

.tie-list-checklist ul li::before,
.checklist ul li::before {
  content: "✔";
  color: #0F766E;
}

.tie-list-starlist ul li::before,
.starlist ul li::before {
  content: "★";
  color: #C69214;
}

.tie-list-arrowlist ul li::before,
.arrowlist ul li::before {
  content: "◀";
  color: #0D2C54;
  font-size: 0.8rem;
  top: 2px;
}

[dir="ltr"] .tie-list-arrowlist ul li::before,
[dir="ltr"] .arrowlist ul li::before {
  content: "▶";
}

.tie-list-pluslist ul li::before,
.pluslist ul li::before {
  content: "＋";
  color: #059669;
  font-weight: 900;
}

.tie-list-minuslist ul li::before,
.minuslist ul li::before,
.tie-list-conslist ul li::before {
  content: "—";
  color: #DC2626;
  font-weight: 900;
}

/* 3. TieLabs Post Views Badge */
.tie-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748B;
  font-size: 0.85rem;
}

.tie-views i {
  color: #C69214;
}

/* 4. TieLabs Tabs */
.tie-tabs-wrapper .tie-tab-btn.active {
  background: #FFFFFF !important;
  color: #0D2C54 !important;
  font-weight: 800 !important;
  border-top: 3px solid #C69214 !important;
}

/* 5. Jannah Featured Media Formats (Video / Audio Embeds) */
.ush-video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(13, 44, 84, 0.12);
  background: #071C35;
}

.ush-video-responsive iframe,
.ush-video-responsive object,
.ush-video-responsive embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ush-audio-player {
  background: linear-gradient(135deg, #0D2C54 0%, #071C35 100%);
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #C69214;
}

/* 6. Jannah Source & Via Credits Box */
.tie-sources-wrap {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-right: 4px solid #C69214;
  border-radius: 8px;
  padding: 12px 18px;
  margin: 24px 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

[dir="ltr"] .tie-sources-wrap {
  border-right: 1px solid #E2E8F0;
  border-left: 4px solid #C69214;
}

.tie-sources-wrap a {
  color: #9E740C;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tie-sources-wrap a:hover {
  color: #0D2C54;
  text-decoration: underline;
}

/* 7. Jannah Page Builder Sections */
.ush-builder-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 30px 0;
}

.ush-builder-section .ush-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #0D2C54;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.ush-builder-section .ush-section-header h3 {
  margin: 0;
  color: #0D2C54;
  font-size: 1.3rem;
  font-weight: 800;
}
