/* ================================================================
   CARDS — article, featured, deal, comparison
   ================================================================ */

/* Article card */
.article-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--speed-med);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.card-thumb {
  width: 200px;
  min-width: 200px;
  height: auto;
  min-height: 160px;
  background: linear-gradient(135deg, var(--warm-white), var(--blush));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.card-body { padding: 16px 18px 20px; flex: 1; min-width: 0; }

.card-title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--deep);
  margin-bottom: 6px;
}

.card-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.rating-score {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--deep);
  margin-left: 4px;
}

.card-date {
  font-size: 11px;
  color: var(--light-text);
  margin-left: auto;
  font-family: var(--ff-mono);
}

/* Featured card (dark bg, spans 2 cols) */
.featured-card {
  background: var(--deep);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--cream);
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--speed-fast);
  text-decoration: none;
  display: block;
}

.featured-card:hover { transform: translateY(-2px); }

.featured-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: rgba(181,112,90,0.15);
  border-radius: 50%;
}

.featured-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 40px;
  width: 160px; height: 160px;
  background: rgba(200,212,192,0.08);
  border-radius: 50%;
}

.featured-eyebrow {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dusty-rose);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.featured-title {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.featured-title em { font-style: italic; }

.featured-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  max-width: 400px;
}

.featured-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--ff-mono);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* Deal card (home strip) */
.deal-card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: center;
  transition: all var(--speed-fast);
  cursor: pointer;
}

.deal-card:hover { border-color: var(--terracotta); box-shadow: var(--shadow); }

.deal-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.deal-info { flex: 1; }
.deal-store { font-size: 10px; font-family: var(--ff-mono); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.deal-name { font-weight: 500; font-size: 14px; color: var(--deep); margin: 2px 0 4px; }
.deal-prices { display: flex; align-items: baseline; gap: 8px; }
.deal-new { font-family: var(--ff-display); font-size: 20px; font-weight: 600; color: var(--terracotta); }
.deal-old { font-size: 13px; color: var(--light-text); text-decoration: line-through; }

/* Big deal card (deals page) */
.big-deal-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--speed-med);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.big-deal-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: transparent;
}

.deal-card-top {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
}

.deal-card-body { padding: 18px; }
.deal-card-name { font-family: var(--ff-display); font-size: 17px; font-weight: 500; color: var(--deep); margin-bottom: 4px; }
.deal-card-store { font-size: 11px; color: var(--muted); font-family: var(--ff-mono); margin-bottom: 10px; }
.deal-card-prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.dc-new { font-family: var(--ff-display); font-size: 24px; font-weight: 500; color: var(--terracotta); }
.dc-old { font-size: 13px; color: var(--light-text); text-decoration: line-through; }

.coupon-box {
  background: var(--warm-white);
  border: 1px dashed var(--border-mid);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.coupon-code { font-family: var(--ff-mono); font-size: 13px; color: var(--deep); letter-spacing: 0.06em; }
.copy-btn { font-size: 11px; color: var(--terracotta); cursor: pointer; font-weight: 500; }
.copy-btn:hover { color: var(--terra-dark); }
.expires { font-size: 10px; color: var(--light-text); font-family: var(--ff-mono); }

/* Author team card */
.author-team-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.author-team-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.author-mini-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  flex-shrink: 0;
}

.author-team-card__name { font-weight: 500; font-size: 15px; color: var(--deep); }
.author-team-card__role { font-size: 12px; color: var(--muted); font-family: var(--ff-mono); }
.author-team-card__bio { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.author-team-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---- Additions ---- */

/* Card thumb colour variants */
.card-thumb--reviews { background: linear-gradient(135deg, var(--blush), var(--rose)); }
.card-thumb--deals   { background: linear-gradient(135deg, rgba(200,212,192,0.3), rgba(200,212,192,0.6)); }
.card-thumb--compare { background: linear-gradient(135deg, rgba(91,106,192,0.1), rgba(91,106,192,0.25)); }

/* Featured card emoji (large, above title) */
.featured-emoji {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

/* Compare mini inside cards */
.compare-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 8px;
  flex-wrap: wrap;
}
.compare-mini-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.compare-mini-vs {
  font-size: 9px;
  color: var(--light-text);
  font-family: var(--ff-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Author team card — flat layout (avatar + body siblings) */
.author-team-card { display: flex; gap: 16px; align-items: flex-start; }
.author-team-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
}
.author-team-card__avatar--terracotta { background: var(--rose); color: var(--terracotta); }
.author-team-card__avatar--sage  { background: rgba(200,212,192,0.4); color: var(--sage-deep); }
.author-team-card__avatar--warm  { background: rgba(255,230,200,0.5); color: var(--mid); }
.author-team-card__body { flex: 1; min-width: 0; }
.author-team-card__stats {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.author-team-card__stats span {
  font-size: 11px;
  color: var(--light-text);
  font-family: var(--ff-mono);
}
