/* ============================================================
   Minnie Kim OC — Blog/Content Hub Styles
   Extends css/design-tokens.css + css/style.css
   ============================================================ */

/* Blog body background: slightly softer than main to differentiate */
.blog-body {
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(255, 215, 0, 0.06) 0%, transparent 55%),
    var(--hv-bg);
}

/* Active nav state */
.nav__active {
  color: var(--hv-accent) !important;
  position: relative;
}

.nav__active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--hv-accent);
  border-radius: 1px;
}

/* ============================================================
   BLOG HERO — compressed, elegant
   ============================================================ */
.blog-hero {
  position: relative;
  padding: calc(var(--hv-section-md) + 80px) 0 var(--hv-section-md);
  overflow: hidden;
  text-align: center;
}

.blog-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.blog-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 75% 70%, rgba(255, 165, 0, 0.05) 0%, transparent 55%);
  opacity: 0.9;
}

.blog-hero__bg::after {
  /* fine grain texture */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.015) 0.5px, transparent 1px),
    radial-gradient(circle at 75% 80%, rgba(255,255,255,0.01) 0.5px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  mix-blend-mode: overlay;
}

.blog-hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.blog-hero__headline {
  font-family: var(--hv-font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--hv-text);
  margin: var(--hv-space-4) 0 var(--hv-space-6);
}

.blog-hero__headline em {
  font-style: italic;
  color: var(--hv-accent);
  font-family: var(--hv-font-display);
}

.blog-hero__subtitle {
  font-family: var(--hv-font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--hv-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   FEATURED VIDEO SECTION
   ============================================================ */
.featured-video-section {
  padding: var(--hv-section-md) 0;
}

.featured-video__player {
  margin-top: var(--hv-space-10);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--hv-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px var(--hv-border),
    0 0 60px -20px rgba(255, 215, 0, 0.15);
  background: var(--hv-surface);
  aspect-ratio: 16 / 9;
}

/* Lite YouTube — lightweight facade until play */
lite-youtube {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--hv-surface);
  contain: content;
  cursor: pointer;
}

lite-youtube .lite-youtube__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

lite-youtube img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s var(--hv-ease), transform 0.6s var(--hv-ease);
  filter: brightness(0.75) saturate(0.95);
}

lite-youtube:hover img {
  filter: brightness(0.9) saturate(1.05);
  transform: scale(1.015);
}

lite-youtube .lite-youtube__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 62px;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
  transition: transform 0.3s var(--hv-ease);
}

lite-youtube:hover .lite-youtube__play {
  transform: translate(-50%, -50%) scale(1.08);
}

lite-youtube .lite-youtube__play svg {
  width: 100%;
  height: 100%;
}

lite-youtube.lite-youtube--activated .lite-youtube__play,
lite-youtube.lite-youtube--activated .lite-youtube__link img {
  display: none;
}

lite-youtube iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: 0;
}

/* ============================================================
   VIDEO GRID (placeholders / future videos)
   ============================================================ */
.more-videos-section {
  padding: var(--hv-section-md) 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hv-space-6);
  margin-top: var(--hv-space-10);
}

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

.video-card {
  padding: var(--hv-space-6);
  background: var(--hv-surface);
  border: 1px solid var(--hv-border);
  border-radius: var(--hv-radius-lg);
  transition: transform var(--hv-duration-base) var(--hv-ease),
              border-color var(--hv-duration-base) var(--hv-ease),
              box-shadow var(--hv-duration-base) var(--hv-ease);
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.25);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
}

.video-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--hv-radius-md);
  background:
    linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.02) 100%),
    var(--hv-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--hv-space-5);
  border: 1px solid var(--hv-border);
  position: relative;
  overflow: hidden;
}

.video-card--placeholder .video-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255, 215, 0, 0.06) 0%, transparent 40%);
}

.video-card__icon {
  width: 48px;
  height: 48px;
  color: var(--hv-accent);
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.video-card__title {
  font-family: var(--hv-font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--hv-text);
  margin-bottom: var(--hv-space-3);
  line-height: 1.3;
}

.video-card__desc {
  font-family: var(--hv-font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--hv-text-muted);
}

.more-videos__cta {
  text-align: center;
  margin-top: var(--hv-space-10);
}

.more-videos__cta .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--hv-space-3);
}

/* ============================================================
   ARTICLES — Empty State
   ============================================================ */
.articles-section {
  padding: var(--hv-section-md) 0;
}

.articles__empty {
  margin-top: var(--hv-space-10);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.articles__empty-card {
  padding: var(--hv-space-10) var(--hv-space-8);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--hv-border);
  border-radius: var(--hv-radius-xl);
  backdrop-filter: blur(8px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.articles__empty-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.articles__empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--hv-space-6);
  color: var(--hv-accent);
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.articles__empty-icon svg {
  width: 100%;
  height: 100%;
}

.articles__empty-title {
  font-family: var(--hv-font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--hv-text);
  margin-bottom: var(--hv-space-4);
  position: relative;
  z-index: 1;
}

.articles__empty-text {
  font-family: var(--hv-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hv-text-muted);
  margin-bottom: var(--hv-space-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.articles__empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hv-space-4);
  justify-content: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .articles__empty-card { padding: var(--hv-space-8) var(--hv-space-5); }
  .articles__empty-actions { flex-direction: column; align-items: stretch; }
  .articles__empty-actions .btn { width: 100%; justify-content: center; }
}
