/* Perishly Blog — Block styles (shared on archive, single, and block editor) */

/* ── Callout ────────────────────────────────────────────────────────────────── */
.perishly-callout {
  border-radius: 10px;
  padding: 20px 22px;
  margin: 28px 0;
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; line-height: 1.65;
}
.perishly-callout__icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.perishly-callout--tip     { background: #e8f5ee; border-left: 3px solid #1a6b3c; color: #1a3a22; }
.perishly-callout--warning { background: #fff8e8; border-left: 3px solid #c8900a; color: #3a2800; }
.perishly-callout--stat    { background: #fff0eb; border-left: 3px solid #e85c2c; color: #3a1800; }
.perishly-callout--info    { background: #e8f0ff; border-left: 3px solid #3060b0; color: #1a2840; }

/* ── Stat Block ─────────────────────────────────────────────────────────────── */
.perishly-stat-block {
  background: var(--pb-dark, #0f1f14);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
}
.perishly-stat-block__item { text-align: center; }
.perishly-stat-block__value {
  font-size: 34px; font-weight: 700;
  color: #f4a07a; line-height: 1; margin-bottom: 6px;
}
.perishly-stat-block__label { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.4; }

/* ── Comparison Table ───────────────────────────────────────────────────────── */
.perishly-comparison-table-wrap {
  overflow-x: auto; margin: 28px 0;
  border-radius: 10px; border: 1px solid var(--pb-border, #d6e5da);
}
.perishly-comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.perishly-comparison-table th {
  background: var(--pb-muted, #f1f6f3); padding: 12px 16px; text-align: left;
  font-weight: 700; font-size: 12px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--pb-text-muted, #5a6e60); border-bottom: 1px solid var(--pb-border, #d6e5da);
}
.perishly-comparison-table th.perishly-col--primary { background: var(--pb-green-light, #e8f5ee); color: var(--pb-green, #1a6b3c); }
.perishly-comparison-table td {
  padding: 11px 16px; border-bottom: 1px solid var(--pb-border-light, #e8f0ea);
  color: var(--pb-text-body, #2e3d33); vertical-align: middle;
}
.perishly-comparison-table tr:last-child td { border-bottom: none; }
.perishly-comparison-table tr:hover td { background: var(--pb-muted, #f1f6f3); }
.perishly-comparison-table td.perishly-col--primary { background: rgba(26,107,60,.04); }
.perishly-check  { color: #1a8a40; font-size: 16px; font-weight: 600; }
.perishly-cross  { color: #c03030; font-size: 16px; }
.perishly-partial{ color: #b07000; font-size: 14px; }

/* ── FAQ Accordion ──────────────────────────────────────────────────────────── */
.perishly-faq { margin: 32px 0; }
.perishly-faq__item {
  border: 1px solid var(--pb-border-light, #e8f0ea);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.perishly-faq__question {
  width: 100%; background: none; border: none;
  padding: 16px 20px; text-align: left;
  font-family: var(--pb-font-body, sans-serif);
  font-size: 15px; font-weight: 600;
  color: var(--pb-text, #111c15); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background .15s;
}
.perishly-faq__question:hover { background: var(--pb-muted, #f1f6f3); }
.perishly-faq__icon {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--pb-border, #d6e5da);
  background: var(--pb-surface, #fff);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .2s, background .2s;
  font-size: 14px; color: var(--pb-text-muted, #5a6e60);
  line-height: 1;
}
.perishly-faq__item.is-open .perishly-faq__icon {
  transform: rotate(45deg);
  background: var(--pb-green, #1a6b3c);
  border-color: var(--pb-green, #1a6b3c);
  color: #fff;
}
.perishly-faq__answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .2s;
  padding: 0 20px;
}
.perishly-faq__item.is-open .perishly-faq__answer { max-height: 600px; padding: 0 20px 18px; }
.perishly-faq__answer p { font-size: 14.5px; line-height: 1.7; color: var(--pb-text-muted, #5a6e60); margin: 0; }

/* ── Step Card ──────────────────────────────────────────────────────────────── */
.perishly-step-card {
  border: 1px solid var(--pb-border-light, #e8f0ea);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 16px 0;
  background: var(--pb-surface, #fff);
  position: relative; overflow: hidden;
}
.perishly-step-card::before {
  content: attr(data-step);
  position: absolute; top: -8px; right: 16px;
  font-size: 80px; font-weight: 800;
  color: var(--pb-border-light, #e8f0ea);
  line-height: 1; font-family: var(--pb-font-body, sans-serif);
}
.perishly-step-card__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--pb-green, #1a6b3c); color: #fff;
  font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.perishly-step-card__title { font-size: 16px; font-weight: 700; color: var(--pb-text, #111c15); margin-bottom: 8px; }
.perishly-step-card__body { font-size: 14.5px; line-height: 1.65; color: var(--pb-text-muted, #5a6e60); }

/* ── Inline CTA ─────────────────────────────────────────────────────────────── */
.perishly-inline-cta {
  background: var(--pb-green, #1a6b3c);
  border-radius: 16px;
  padding: 28px;
  margin: 36px 0;
  color: #fff;
}
.perishly-inline-cta__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 8px;
}
.perishly-inline-cta__headline {
  font-family: var(--pb-font-heading, 'DM Serif Display', Georgia, serif);
  font-size: 24px; color: #fff; margin: 0 0 10px; line-height: 1.2;
}
.perishly-inline-cta__description { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 20px; }
.perishly-inline-cta__buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.perishly-inline-cta__btn-primary {
  background: #fff; color: var(--pb-green, #1a6b3c); text-decoration: none;
  font-size: 14px; font-weight: 700; padding: 11px 22px;
  border-radius: 10px; transition: background .15s; display: inline-block;
}
.perishly-inline-cta__btn-primary:hover { background: #f0faf4; }
.perishly-inline-cta__btn-secondary {
  border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.85);
  text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 10px; transition: border-color .15s;
  display: inline-block;
}
.perishly-inline-cta__btn-secondary:hover { border-color: rgba(255,255,255,.70); }

/* ── Author Box (block version) ─────────────────────────────────────────────── */
.perishly-author-box img { width: 80px; height: 80px; border-radius: 50%; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .perishly-stat-block { grid-template-columns: 1fr; gap: 16px; }
  .perishly-inline-cta__buttons { flex-direction: column; }
}
