/*
Theme Name: Hestia Pro Child
Theme URI: https://www.themeisle.com/
Description: This is a custom child theme I have created.
Author: ThemeIsle
URI: https://www.themeisle.com/
Template: hestia-pro
Version: 0.1
*/

/* =========================================================
   MP CONTENT SYSTEM — CHILD THEME STYLESHEET
   Purpose:
   - Rich blog posts
   - Infographic-style narratives
   - Reusable comparison layouts
   - Classic editor compatible
   - Migration safe
   ========================================================= */


/* =========================================================
   1. UTILITIES (SITE-WIDE, STABLE)
   ========================================================= */

.salmon-bg {
  background-color: #fde2e0;
  padding: 18px;
  margin: 28px 0;
  border-left: 4px solid #f3a6a0;
}

.salmon-bg a {
  color: #7a2e2a;
  text-decoration: underline;
}

.mp-highlight-beige {
  background-color: #f4ecd8;
  padding: 0.15em 0.35em;
  border-radius: 3px;
}

.mp-highlight-yellow {
  background-color: #fff2b2;
  padding: 0.15em 0.35em;
  border-radius: 3px;
}


/* =========================================================
   2. REUSABLE COMPARISON LAYOUT (CARDS, NOT TABLES)
   Use for:
   - Prayagraj vs Shegaon
   - Before vs After
   - Risk vs Control
   ========================================================= */

.mp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.mp-compare-item {
  background: #f9fafb;
  border-radius: 10px;
  padding: 20px;
}

.mp-compare-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #444;
}

.mp-compare-item p {
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .mp-compare {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   3. INFOGRAPHIC / CARD NARRATIVE SYSTEM
   Scoped to avoid theme collisions
   ========================================================= */

.mp-infographic {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #333;
}

/* =========================================================
   MP INFOGRAPHIC — CARD STYLE (BEIGE + MAROON BORDER)
   ========================================================= */

/* Card containers */
.mp-infographic .intro-card,
.mp-infographic .lesson-card,
.mp-infographic .closing-card {
  background-color: #f4ecd8;       /* Beige */
  border: 1px solid #7a2e2a;       /* Maroon */
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Headings (scoped) */
.mp-infographic h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.mp-infographic h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.mp-infographic h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Text */
.mp-infographic p {
  line-height: 1.6;
  margin-bottom: 12px;
}

.mp-infographic a {
  color: #0b5ed7;
  text-decoration: none;
}

.mp-infographic a:hover {
  text-decoration: underline;
}

/* Closing emphasis */
.mp-infographic .closing-line {
  font-weight: 600;
  margin-top: 16px;
}

