/* ============================================================
   Protein First Recipes — Global Styles
   Bright, cheerful, protein-led design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --pink: #f83f98;
  --pink-light: #fff0f7;
  --pink-mid: #ffd6ec;
  --pink-dark: #d42a7e;
  --cream: #fff9f5;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666;
  --text-light: #999;
  --border: #f0e8e8;
  --shadow-sm: 0 2px 8px rgba(248,63,152,0.08);
  --shadow-md: 0 4px 20px rgba(248,63,152,0.12);
  --shadow-lg: 0 8px 40px rgba(248,63,152,0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 100px;
  --container: min(92%, 1200px);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
}

/* ---- Utility ---- */
.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ---- Protein Badge ---- */
.protein-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: white;
  border-radius: 50px;
  padding: 6px 12px;
  line-height: 1.1;
  font-family: var(--font-body);
  font-weight: 700;
  min-width: 60px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(248,63,152,0.35);
}

.protein-badge .badge-g {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.protein-badge .badge-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.protein-badge.badge-lg {
  padding: 10px 20px;
  min-width: 80px;
}

.protein-badge.badge-lg .badge-g {
  font-size: 1.75rem;
}

.protein-badge.badge-lg .badge-label {
  font-size: 0.65rem;
}

/* ---- Tag chips ---- */
.tag-chip {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink-dark);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---- Buttons ---- */
.btn-pink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pink);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn-pink:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: white;
}

/* ---- Answer block ---- */
.answer-block {
  background: var(--pink-light);
  border-left: 4px solid var(--pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 16px 0;
}

.answer-block p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}
