:root {
  --ink-950: #0b1120;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --paper-50: #f8fafc;
  --paper-100: #f1f5f9;
  --accent-600: #0f766e;
  --accent-700: #0f5f59;
}

body {
  font-family: "Source Sans 3", "IBM Plex Sans", "Noto Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink-900);
  background-color: var(--paper-50);
  background-image:
    radial-gradient(1200px 600px at 12% -12%, rgba(20, 184, 166, 0.12), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(148, 163, 184, 0.18), transparent 62%);
  background-attachment: fixed;
}

a {
  color: inherit;
}

a:hover {
  color: var(--accent-700);
}

:focus-visible {
  outline: 2px solid var(--accent-600);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  transform: translateY(-200%);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.875rem;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.ad-slot {
  border: 1px dashed #94a3b8;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}

.ads-hidden .ad-wrap,
.ads-hidden .ad-slot {
  display: none;
}

.suggestions-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.suggestions-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #94a3b8;
}

.suggestions-title {
  margin-top: 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.suggestions-subtitle {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #64748b;
  max-width: 48ch;
}

.suggestions-grid {
  display: grid;
  gap: 1rem;
}

.suggestion-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.suggestion-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.suggestion-media {
  background: #f1f5f9;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.suggestion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suggestion-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 170px;
}

.suggestion-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563eb;
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 999px;
  align-self: flex-start;
}

.suggestion-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: #0f172a;
}

.suggestion-excerpt {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.suggestion-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
}

.suggestion-cta {
  font-weight: 600;
  color: #0f766e;
}

.article-content img {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 60;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
}

.image-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  background: #0b1120;
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}

.image-lightbox__img {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: 0.5rem;
  background: #0f172a;
}

.image-lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.lightbox-open {
  overflow: hidden;
}

@media (min-width: 640px) {
  .suggestions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
