/* ============================================
   MidRecipes - BudgetBytes-Style Recipe Cards
   Applies globally to ALL recipe pages
   ============================================ */

/* === RECIPE CARD CONTAINER === */
.wprm-recipe-container,
.wprm-recipe-block-container {
  font-family: inherit;
  border: 2px solid #2E7D32 !important;
  border-radius: 4px;
  padding: 20px;
  background: #fff;
  max-width: 680px;
  margin: 30px auto;
}

/* === RECIPE TITLE BANNER === */
.wprm-recipe-name,
.wprm-recipe-block-container .wprm-recipe-name {
  font-size: 1.6em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: #2E7D32;
  padding: 14px 20px;
  margin: -20px -20px 16px -20px;
  display: block;
  line-height: 1.3;
}

/* === STAR RATINGS - green not gold === */
.wprm-recipe-rating .wprm-rating-star,
.wprm-recipe-rating svg,
.wprm-rating-star-full {
  color: #2E7D32 !important;
  fill: #2E7D32 !important;
}

/* === SERVINGS SECTION === */
.wprm-recipe-servings-container {
  display: flex;
  align-items: center;
  margin: 16px 0 8px;
}

.wprm-recipe-block-container-columns-3 .wprm-recipe-block-container-column {
  display: block !important;
  width: 100% !important;
}

.wprm-recipe-servings-with-unit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wprm-recipe-servings {
  display: inline-block;
  width: 56px !important;
  height: 48px !important;
  border: 2px solid #1a1a1a !important;
  text-align: center !important;
  font-size: 1.3em !important;
  font-weight: 700 !important;
  line-height: 44px !important;
  border-radius: 2px;
  background: #fff !important;
}

.wprm-recipe-servings-unit {
  font-style: italic;
  color: #555;
  font-size: 0.95em;
}

/* === SERVINGS label === */
.wprm-recipe-block-container .wprm-recipe-servings-container::before,
.wprm-recipe-servings-container .wprm-recipe-block-header {
  font-weight: 900;
  font-size: 1.05em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}

/* === PREP / COOK / TOTAL — each on own line === */
.wprm-recipe-times-container,
.wprm-recipe-block-container-columns {
  display: block !important;
}

.wprm-recipe-prep-minutes-container,
.wprm-recipe-cook-minutes-container,
.wprm-recipe-total-minutes-container,
.wprm-recipe-time-container {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 10px 0 !important;
  width: 100% !important;
}

.wprm-recipe-prep_time-minutes,
.wprm-recipe-cook_time-minutes,
.wprm-recipe-total_time-minutes,
.wprm-recipe-time {
  font-size: 1em;
  color: #1a1a1a;
}

.wprm-recipe-block-container-column {
  flex: unset !important;
  width: 100% !important;
  display: block !important;
  margin-bottom: 6px;
}

/* Bold uppercase time labels */
.wprm-recipe-prep_time-minutes::before,
.wprm-recipe-cook_time-minutes::before,
.wprm-recipe-total_time-minutes::before {
  font-weight: 900;
  text-transform: uppercase;
  margin-right: 8px;
}

.wprm-recipe-label {
  font-weight: 900 !important;
  text-transform: uppercase !important;
  font-size: 1em !important;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  min-width: 70px;
}

/* === THREE STACKED OUTLINED BUTTONS === */
.wprm-recipe-print-link,
.wprm-recipe-save-link,
.wprm-recipe-reviews-link,
.wprm-print-recipe-shortcode,
a.wprm-recipe-print-link,
.wprm-recipe-action-buttons a,
.wprm-recipe-actions a {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
  text-align: center !important;
  padding: 16px 20px !important;
  margin: 8px 0 !important;
  border: 2px solid #2E7D32 !important;
  background: #fff !important;
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 0.9em !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.wprm-recipe-print-link:hover,
.wprm-recipe-save-link:hover,
.wprm-recipe-reviews-link:hover,
.wprm-recipe-actions a:hover {
  background: #2E7D32 !important;
  color: #fff !important;
}

/* === INGREDIENTS SECTION === */
.wprm-recipe-ingredients-container h3,
.wprm-recipe-ingredient-group-name,
.wprm-recipe-block-header-container {
  font-size: 1.2em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  border-bottom: 2px solid #2E7D32;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

/* Checkbox-style ingredient list */
.wprm-recipe-ingredient {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  list-style: none !important;
}

.wprm-recipe-ingredient-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #2E7D32 !important;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: #2E7D32;
}

/* Ingredient links highlight */
.wprm-recipe-ingredient a,
.wprm-recipe-ingredient-name a {
  background: #c8e6c9 !important;
  text-decoration: none !important;
  padding: 0 2px;
  color: #1a1a1a !important;
}

/* === INSTRUCTIONS SECTION === */
.wprm-recipe-instructions-container h3,
.wprm-recipe-instruction-group-name {
  font-size: 1.2em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  border-bottom: 2px solid #2E7D32;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

/* Numbered step badges */
.wprm-recipe-instruction-text {
  position: relative;
  padding-left: 0;
}

/* === NUTRITION SECTION === */
.wprm-nutrition-label-container {
  background: #E8F5E9;
  border: 1px solid #c8e6c9;
  border-radius: 4px;
  padding: 16px;
  margin-top: 20px;
}

/* === VIDEO SECTION === */
.wprm-recipe-video-container {
  margin: 20px 0;
}

.wprm-recipe-video-container h3 {
  font-weight: 900 !important;
  text-transform: uppercase !important;
  font-size: 1.1em !important;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

/* === RECIPE NOTES === */
.wprm-recipe-notes-container {
  border-left: 4px solid #2E7D32;
  padding-left: 16px;
  background: #E8F5E9;
  padding: 14px 14px 14px 18px;
  margin-top: 16px;
  border-radius: 0 4px 4px 0;
}

/* === COST DISPLAY === */
.wprm-recipe-cost-container {
  font-weight: 700;
  margin: 10px 0;
  font-size: 1em;
}

.wprm-recipe-cost-container .wprm-recipe-label {
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

/* === GENERAL ARTICLE BODY === */
.single article .entry-content,
.single-post .entry-content,
.single article {
  font-size: 18px;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
  color: #1a1a1a;
}

/* Internal content links */
.entry-content a {
  background: #c8e6c9;
  text-decoration: none;
  padding: 0 2px;
  color: #1a1a1a;
}

.entry-content a:hover {
  background: #a5d6a7;
}

/* H2 headers */
.entry-content h2 {
  font-size: 1.6em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #1a1a1a;
}

/* Numbered lists with green badges */
.entry-content ol {
  list-style: none !important;
  counter-reset: green-counter;
  padding-left: 0;
}

.entry-content ol li {
  counter-increment: green-counter;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.entry-content ol li::before {
  content: counter(green-counter);
  background: #2E7D32;
  color: #fff;
  font-weight: 700;
  font-size: 0.9em;
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Tip/callout boxes */
.entry-content .tip-box,
.entry-content blockquote {
  border-left: 4px solid #2E7D32;
  background: #E8F5E9;
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .wprm-recipe-container,
  .wprm-recipe-block-container {
    padding: 14px;
  }
  .wprm-recipe-name {
    margin: -14px -14px 14px -14px;
    font-size: 1.3em;
  }
}
