/* ════════════════════════════════════════
   EXPLORE VIDEO ARTICLES SECTION
════════════════════════════════════════ */
.explore-section {
  background: #fff;
  padding: 88px 24px 96px;
}

.explore-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: start;
}

.explore-heading {
  margin-bottom: 32px;
}
.explore-title {
  font-size: 30px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.explore-sub {
  font-size: 15px;
  color: #6b7280;
  font-weight: 400;
}

/* 2-column grid */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Explore Sidebar Widgets ── */
.explore-widget {
  background: #f5f5f5;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 20px;
}
.explore-widget:last-child { margin-bottom: 0; }

.explore-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
}
.explore-widget-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  font-family: var(--font-heading);
}
.explore-widget-viewall {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s;
}
.explore-widget-viewall:hover { color: #111; }

/* Author rows */
.explore-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.explore-author:not(:first-child) { border-top: 1px solid #e5e7eb; }
.explore-author:hover { background: #e8e8e8; }
.explore-author img {
  width: 44px; height: 44px;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.explore-author-name {
  font-size: 14px; font-weight: 600; color: #111; margin-bottom: 2px;
}
.explore-author-role { font-size: 13px; color: #6b7280; }

/* Popular post rows */
.explore-post {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.explore-post:not(:first-child) { border-top: 1px solid #e5e7eb; }
.explore-post:hover { background: #e8e8e8; }
.explore-post-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.explore-post-meta {
  font-size: 12px; color: #9ca3af;
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.explore-post-meta img {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.explore-post-title {
  font-size: 15px; font-weight: 600; color: #111; line-height: 1.45;
  margin: 0;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.explore-post-thumb {
  width: 80px; height: 80px;
  border-radius: 12px; object-fit: cover; flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

/* ── Related Card (rc) ── */
.rc {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.rc:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.13); transform: translateY(-3px); }

.rc-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.rc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.rc:hover .rc-img-wrap img { transform: scale(1.04); }

/* Stats top-left */
.rc-stats-top {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.rc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px 0 9px;
  border-radius: 100px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
}
.rc-pill svg { width: 15px; height: 15px; }
.rc-pill--gray { color: #6b7280; }
.rc-pill--gray:hover { background: #fff1f2; color: #e11d48; }
.rc-pill--red { color: #ef4444; }
.rc-pill--red:hover { background: #fee2e2; }

/* Bookmark top-right */
.rc-bookmark {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: #6b7280;
  cursor: pointer;
  z-index: 2;
  transition: color 0.15s;
}
.rc-bookmark svg { width: 16px; height: 16px; }
.rc-bookmark:hover { color: #111; }

/* Play button */
.rc-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  display: grid; place-items: center;
  color: #111;
  cursor: pointer;
  z-index: 2;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rc-play:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.22); transform: translate(-50%, -50%) scale(1.08); }

/* Category badge — inside card body, not absolute */
.rc-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}
.rc-badge--blue   { background: #dbeafe; color: #1d4ed8; }
.rc-badge--green  { background: #d1fae5; color: #065f46; }
.rc-badge--pink   { background: #fce7f3; color: #9d174d; }
.rc-badge--red    { background: #fee2e2; color: #dc2626; }
.rc-badge--amber  { background: #fef3c7; color: #92400e; }
.rc-badge--teal   { background: #ccfbf1; color: #0f766e; }
.rc-badge--plain  { background: transparent; color: #6b7280; padding-left: 0; }

/* Card body */
.rc-body {
  background: #fff;
  padding: 16px 18px 18px;
}

.rc-title {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  line-height: 1.45;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rc-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rc-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.rc-author-info { display: flex; flex-direction: column; gap: 2px; }
.rc-author-name { font-size: 13px; font-weight: 600; color: #111; line-height: 1.3; }
.rc-author-meta { font-size: 12px; color: #9ca3af; line-height: 1.3; }
.rc-dot { color: #d1d5db; }

/* Mobile */
@media (max-width: 1100px) {
  .explore-inner { grid-template-columns: 1fr 320px; gap: 32px; }
}
@media (max-width: 900px) {
  .explore-inner { grid-template-columns: 1fr; }
  .explore-sidebar { display: none; }
}
@media (max-width: 540px) {
  .explore-grid { grid-template-columns: 1fr; }
  .explore-section { padding: 48px 16px 56px; }
}
