/**
 * =============================================================================
 * HEAL WITH SRAVYA — RESOURCES & VIDEO STYLING
 * Developer: Damerax Cloud Solutions (https://damerax.com/)
 * =============================================================================
 */

/* Resource Detail Article Layout */
.article-header {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2.5rem;
}

.article-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-subtitle {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-hero-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.article-hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.article-prose {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-prose p {
  margin-bottom: 1.75rem;
}

.article-prose h2, .article-prose h3 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-prose h2 {
  font-size: 1.85rem;
}

.article-prose h3 {
  font-size: 1.45rem;
}

.article-prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
}

.article-prose li {
  margin-bottom: 0.5rem;
}

.article-prose blockquote {
  border-left: 3px solid var(--accent-amber);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-style: italic;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--bg-cream);
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ochre);
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--accent-amber);
  color: var(--text-on-amber);
}

.video-duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
