/* ════════════════════════════════════════
   EDITOR'S PICKS SECTION
════════════════════════════════════════ */
.picks-section {
  position: relative;
  background: #fff;
  padding: 72px 24px 80px;
  overflow: hidden;
}

/* Full-screen-width bg, rounded only at xl (matches original xl:rounded-[40px] xl:max-w-[1340px]) */
.picks-bg {
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #f3f4f6b3;
  z-index: 0;
}

@media (min-width: 1280px) {
  .picks-bg {
    max-width: 1340px;
    border-radius: 40px;
  }
}

.picks-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

/* Top row: title + view all */
.picks-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.picks-title {
  font-size: 34px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #111;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.picks-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.15s;
}
.picks-viewall:hover { color: #111; }

/* Filter tabs */
.picks-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}

.tab {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid #d1d5db;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tab:hover { border-color: #9ca3af; color: #111; }
.tab--active {
  background: #111;
  border-color: #111;
  color: #fff;
  font-weight: 600;
}
.tab--active:hover { background: #333; border-color: #333; }

/* Two-column grid — equal cols at lg (matches lg:grid-cols-2) */
.picks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Left featured card ── */
.picks-featured-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
}
.picks-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.picks-play-btn {
  position: absolute;
  bottom: 14px; left: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(30,30,30,0.65);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.picks-play-btn:hover { background: rgba(0,0,0,0.85); }

.picks-featured-title {
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #111;
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.picks-featured-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ── Author row (shared) ── */
.picks-author {
  display: flex;
  align-items: center;
  gap: 7px;
}
.picks-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.picks-author-name {
  font-size: 14px;
  font-weight: 500;
  color: #111;
}
.picks-author-dot { font-size: 14px; color: #9ca3af; }
.picks-author-date { font-size: 14px; color: #6b7280; }

/* ── Right article list ── */
.picks-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.picks-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}
.picks-row:first-child { padding-top: 0; }
.picks-row:last-child { border-bottom: none; padding-bottom: 0; }

.picks-row-body { flex: 1; min-width: 0; }

.picks-row-title {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #111;
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.picks-row-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Thumbnail */
.picks-row-thumb {
  position: relative;
  width: 164px;
  height: 116px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
}
.picks-row-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.picks-thumb-icon {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(20,20,20,0.65);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  font-size: 10px;
  color: #fff;
  line-height: 1;
}

/* Show more button */
.picks-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.picks-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}
.picks-more-btn:hover { background: #333; }

/* ── Editor's picks section ── */
@media (max-width: 768px) {
  .picks-section { padding: 48px 16px 56px; }

  .picks-title { font-size: 26px; }

  /* Tabs scroll horizontally */
  .picks-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    gap: 6px;
    margin-bottom: 28px;
  }
  .picks-tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; flex-shrink: 0; }

  /* Single column layout */
  .picks-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Featured card full width */
  .picks-featured-img {
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
  }
  .picks-featured-title { font-size: 19px; }

  /* Hide description on mobile for featured */
  .picks-featured-desc { display: none; }

  /* List rows: hide description + author name, show only title + date */
  .picks-row-desc { display: none; }
  .picks-author-name,
  .picks-author-dot { display: none; }

  /* Show date directly below title */
  .picks-row-body .picks-author {
    margin-top: 6px;
  }
  .picks-avatar { display: none; }

  /* Thumbnail slightly smaller on mobile */
  .picks-row-thumb {
    width: 110px;
    height: 80px;
    border-radius: 10px;
  }

  .picks-row { padding: 16px 0; gap: 12px; }
  .picks-row-title { font-size: 14px; }
  .picks-author-date { font-size: 12px; }

  /* Show more button */
  .picks-more-btn { font-size: 13px; padding: 12px 24px; }
}
