/* =============================================
   ROUNDUP PAGE STYLES — roundup.css
   ============================================= */

/* ── HERO ─────────────────────────────────── */
.roundup-hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border-color);
}

.roundup-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.roundup-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.roundup-breadcrumb a:hover { text-decoration: underline; }

.roundup-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 14px;
}

.roundup-main-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 800px;
}

.roundup-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 20px;
}

.roundup-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.roundup-pin-bar { margin-top: 4px; }

.pinterest-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E60023;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(230,0,35,0.3);
}
.pinterest-save-btn:hover {
  background: #ad001a;
  transform: translateY(-1px);
}

/* ── JUMP LINKS ───────────────────────────── */
.jump-links-bar {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: sticky;
  top: 62px;
  z-index: 80;
}
.jump-links-bar .home-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.jump-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.jump-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--primary-light);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.jump-link:hover {
  background: var(--primary);
  color: white;
}

/* ── INTRO TEXT ───────────────────────────── */
.roundup-intro-block {
  background: var(--accent-light);
  border-bottom: 1px solid rgba(129,178,154,0.3);
  padding: 28px 0;
}
.roundup-intro-inner {
  max-width: 800px;
}
.roundup-intro-inner p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.roundup-intro-inner p:last-child { margin-bottom: 0; }
.roundup-intro-inner strong { color: var(--text-main); }

/* ── ROUNDUP LIST (full items) ────────────── */
.roundup-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 20px;
}

.roundup-item {
  display: grid;
  grid-template-columns: 56px 280px 1fr;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.roundup-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.ri-number {
  background: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  flex-shrink: 0;
}

.ri-img-wrap {
  overflow: hidden;
  flex-shrink: 0;
}
.ri-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.roundup-item:hover .ri-img { transform: scale(1.04); }

.ri-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.ri-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ri-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ri-tag.slow-cooker { background: var(--accent-light); color: var(--accent); }
.ri-tag.quick       { background: #FFF3CD; color: #856404; }
.ri-tag.one-pan     { background: #E8F4FD; color: #0d6efd; }
.ri-tag.family      { background: #F8D7DA; color: #842029; }
.ri-tag.veg         { background: var(--accent-light); color: var(--accent); }
.ri-tag.top         { background: var(--primary-light); color: var(--primary); }
.ri-tag.budget      { background: #D1E7DD; color: #0f5132; }

.ri-title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0;
}

.ri-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.ri-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.ri-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.ri-pin-btn {
  background: none;
  border: 1px solid #E60023;
  color: #E60023;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
}
.ri-pin-btn:hover {
  background: #E60023;
  color: white;
}

/* ── COMPACT GRID (items 6-25) ────────────── */
.roundup-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.compact-item {
  display: grid;
  grid-template-columns: 36px 110px 1fr;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.compact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ci-number {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ci-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ci-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 7px;
  border-radius: 8px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ci-title {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.3;
  margin: 0;
}

.ci-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.ci-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: auto;
}

.ci-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 2px;
}
.ci-link:hover { text-decoration: underline; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 900px) {
  .roundup-item {
    grid-template-columns: 44px 200px 1fr;
  }
}

@media (max-width: 768px) {
  .roundup-item {
    grid-template-columns: 1fr;
  }
  .ri-number {
    min-height: 48px;
    font-size: 20px;
  }
  .ri-img-wrap {
    height: 200px;
  }
  .ri-content {
    padding: 18px;
  }
  .ri-title { font-size: 18px; }

  .roundup-compact-grid {
    grid-template-columns: 1fr;
  }
  .compact-item {
    grid-template-columns: 36px 90px 1fr;
  }
}
