/* Podcast & Personal Brand pages — from dawar lhony/Podcast.html & Personal Brand in 5 Min.html */

[dir="rtl"] .ph-title,
[dir="rtl"] .act-title {
  line-height: 1.55;
  letter-spacing: 0;
}

.page-header.media-page-header {
  background: white;
  border-bottom: 1px solid var(--border, #e5e7eb);
  padding: 36px 0 32px;
}

.ph-inner--media {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 80px;
  display: block;
}

.ph-bc {
  font-size: 12.5px;
  color: var(--muted, #6b7280);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.ph-bc a {
  color: var(--muted, #6b7280);
  text-decoration: none;
  transition: color .15s;
}

.ph-bc a:hover {
  color: var(--orange, #fd8a00);
}

.ph-title {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text, #111827);
  margin-bottom: 8px;
  line-height: 1.2;
}

.ph-title em {
  font-style: normal;
}

[data-page="podcast"] .ph-title em {
  color: #6d28d9;
}

[data-page="brand5"] .ph-title em {
  color: var(--orange, #fd8a00);
}

.ph-sub {
  font-size: 15px;
  color: var(--muted, #6b7280);
  line-height: 1.7;
  max-width: 640px;
}

.ph-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted, #6b7280);
  background: var(--bg-alt, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
}

[data-page="podcast"] .ph-count {
  color: #6d28d9;
  background: #f5f3ff;
  border-color: #ddd6fe;
}

[data-page="brand5"] .ph-count {
  color: var(--orange, #fd8a00);
  background: var(--ol, #fff4e6);
  border-color: color-mix(in srgb, var(--orange, #fd8a00) 25%, white);
}

.grid-section {
  padding: 56px 0 100px;
  background: var(--bg-alt, #f9fafb);
}

.grid-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 80px;
}

.act-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.act-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  text-decoration: none;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.act-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.act-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}

.act-card:hover .act-card-bg {
  transform: scale(1.06);
}

.act-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.72) 100%);
  z-index: 1;
}

.act-type {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  z-index: 3;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--orange, #fd8a00);
  color: white;
  box-shadow: 0 3px 10px rgba(253, 138, 0, 0.4);
}

.act-type.podcast {
  background: rgba(109, 40, 217, 0.9);
  box-shadow: 0 3px 10px rgba(109, 40, 217, 0.4);
}

.act-type.brand5 {
  background: rgba(253, 138, 0, 0.92);
  box-shadow: 0 3px 10px rgba(253, 138, 0, 0.45);
}

.act-views {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.act-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 16px 18px;
}

.act-glass-inner {
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(22px) saturate(1.8);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.act-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.act-date {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.act-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.act-read {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}

.act-title {
  font-size: 15.5px;
  font-weight: 800;
  color: white;
  line-height: 1.28;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.act-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.act-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--muted, #6b7280);
}

.act-empty-icon {
  font-size: 48px;
  opacity: .3;
  margin-bottom: 16px;
}

.act-empty h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text, #111827);
}

@media (max-width: 1024px) {
  .ph-inner--media,
  .grid-inner {
    padding-inline: 28px;
  }
}

@media (max-width: 900px) {
  .act-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .ph-inner--media,
  .grid-inner {
    padding-inline: 20px;
  }

  .act-grid {
    grid-template-columns: 1fr;
  }
}

/* ── DETAIL PAGE ── */

.media-breadcrumb {
  border-bottom: 1px solid var(--border, #e5e7eb);
  background: white;
}

.media-breadcrumb-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 80px;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted, #6b7280);
}

.media-breadcrumb-inner a {
  color: var(--muted, #6b7280);
  text-decoration: none;
  transition: color .18s;
}

.media-breadcrumb-inner a:hover {
  color: var(--orange, #fd8a00);
}

.media-breadcrumb-inner .sep {
  color: var(--border, #e5e7eb);
}

.media-breadcrumb-inner .cur {
  color: var(--text, #111827);
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 320px;
}

.detail-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
}

.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.75) 100%);
}

.detail-hero-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 80px 36px;
}

.detail-hero-glass-inner {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(1.8);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 28px 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.detail-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.detail-type-badge {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--orange, #fd8a00);
  color: white;
}

.detail-type-badge.podcast {
  background: rgba(109, 40, 217, 0.85);
}

.detail-type-badge.brand5 {
  background: rgba(253, 138, 0, 0.92);
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.detail-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.detail-hero-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  color: white;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.detail-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 80px 96px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.article-desc {
  font-size: 17px;
  color: var(--text, #111827);
  line-height: 1.9;
  opacity: 0.78;
  margin-bottom: 40px;
}

.article-divider {
  height: 1px;
  background: var(--border, #e5e7eb);
  margin-bottom: 36px;
}

.article-full {
  font-size: 15.5px;
  color: var(--text, #111827);
  line-height: 1.9;
  opacity: 0.72;
  margin-bottom: 40px;
}

.article-full p {
  margin-bottom: 22px;
}

.article-full h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text, #111827);
  margin-bottom: 14px;
  margin-top: 36px;
  opacity: 1;
}

.article-full ul {
  padding-inline-start: 20px;
  margin-bottom: 22px;
}

.article-full li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.media-section,
.video-section {
  margin-bottom: 40px;
}

.media-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text, #111827);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.media-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border, #e5e7eb);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.media-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.media-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform .4s;
}

.media-img:hover img {
  transform: scale(1.04);
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border, #e5e7eb);
  flex-wrap: wrap;
}

.share-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text, #111827);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9px;
  border: 1.5px solid var(--border, #e5e7eb);
  background: white;
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #111827);
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  font-family: inherit;
}

.share-btn:hover,
.share-btn.is-copied {
  border-color: var(--orange, #fd8a00);
  color: var(--orange, #fd8a00);
  background: var(--ol, #fff4e6);
}

.sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-stats {
  background: var(--bg-alt, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 18px;
  padding: 24px;
}

.sidebar-stats-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-item {
  background: white;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.stat-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--orange, #fd8a00);
  letter-spacing: -0.3px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 11px;
  color: var(--muted, #6b7280);
  font-weight: 500;
}

.sidebar-cta {
  background: var(--dark, #0d1b2a);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(253, 138, 0, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.sidebar-cta-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  line-height: 1.25;
  margin-bottom: 10px;
}

.sidebar-cta-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 20px;
}

.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--orange, #fd8a00);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: 11px;
  text-decoration: none;
  transition: background .18s, transform .15s;
}

.sidebar-cta-btn:hover {
  background: var(--oh, #e07a00);
  transform: translateY(-1px);
}

.sidebar-related-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
  text-decoration: none;
  transition: opacity .18s;
}

.related-item:last-child {
  border-bottom: none;
}

.related-item:hover {
  opacity: 0.75;
}

.related-thumb {
  width: 62px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.related-type {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--orange, #fd8a00);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

[data-page="podcast"] .related-type {
  color: #6d28d9;
}

.related-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #111827);
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .media-breadcrumb-inner,
  .detail-hero-glass,
  .detail-main {
    padding-inline: 28px;
  }

  .detail-main {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .detail-hero {
    height: 320px;
  }

  .detail-hero-glass {
    padding-inline: 16px;
    padding-bottom: 20px;
  }

  .detail-hero-glass-inner {
    padding: 18px 20px;
  }

  .detail-main {
    padding: 32px 20px 64px;
  }

  .media-breadcrumb-inner {
    padding-inline: 20px;
  }
}
