/*
Theme Name: GeneratePress MM
Template: generatepress
Description: Multilingual Mamas child theme
Version: 1.0
*/

/* ── IMPORT FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,500;0,700;1,300;1,500;1,700&family=Nunito:wght@300;400;500;600;700&display=swap');

/* ── ROOT VARIABLES ── */
:root {
  --red: #C41E2A;
  --navy: #1B2E5E;
  --cream: #F5F2ED;
  --warm-white: #FDFBF8;
  --tan: #E8E1D5;
  --text: #2C2C2C;
  --muted: rgba(26,46,94,0.55);
  --radius: 10px;
}

/* ── BASE ── */
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  color: var(--navy);
  letter-spacing: -0.02em;
}

a { color: var(--red); }

/* ── NAVIGATION ── */
.main-navigation,
.site-header,
nav.main-navigation {
  background: var(--cream) !important;
  border-bottom: 1.5px solid var(--tan);
}

.main-navigation a {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy) !important;
  opacity: 0.65;
}

.main-navigation a:hover { opacity: 1; }

.site-title a {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--navy) !important;
}

/* ── HEADER CTA BUTTON ── */
.nav-cta-btn a,
.menu-item-cta a {
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 6px !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* ── HERO SECTION ── */
.mm-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  background: var(--warm-white);
  border-bottom: 1.5px solid var(--tan);
}

.mm-hero-left {
  padding: 72px 56px 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1.5px solid var(--tan);
}

.mm-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mm-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
}

.mm-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 0;
}

.home-stack {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 180px;
  height: 1.08em;
}

.home-stack span {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  line-height: 1.08;
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  animation: stackRotate 9s infinite;
}

.home-stack span:nth-child(1) { animation-delay: 0s; }
.home-stack span:nth-child(2) { animation-delay: 3s; }
.home-stack span:nth-child(3) { animation-delay: 6s; }

@keyframes stackRotate {
  0%   { opacity: 0; transform: translateY(10px); }
  8%   { opacity: 1; transform: translateY(0); }
  30%  { opacity: 1; transform: translateY(0); }
  38%  { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; transform: translateY(-10px); }
}

.mm-hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  color: var(--navy);
  opacity: 0.65;
  margin: 10px 0 0;
}

.mm-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin: 16px 0 40px;
  font-weight: 400;
}

.mm-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}

.btn-primary {
  background: var(--navy);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-block;
}

.btn-ghost {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy) !important;
  text-decoration: none !important;
  border-bottom: 2px solid var(--tan);
  padding-bottom: 2px;
  opacity: 0.75;
}

.btn-ghost::after { content: ' →'; }

.mm-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 36px;
  border-top: 1.5px solid var(--tan);
}

.mm-avatars { display: flex; }

.mm-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2.5px solid var(--warm-white);
  margin-left: -8px;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}

.mm-av:first-child { margin-left: 0; }
.mm-av1 { background: var(--navy); }
.mm-av2 { background: #6B7DB5; }
.mm-av3 { background: var(--red); }
.mm-av4 { background: #8B9FC9; }

.mm-proof-text { font-size: 13px; color: var(--muted); line-height: 1.45; }
.mm-proof-text strong { color: var(--navy); font-weight: 700; }

.mm-hero-right { position: relative; overflow: hidden; }

.mm-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.mm-hero-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 24px 24px;
  background: linear-gradient(to top, rgba(27,46,94,0.72) 0%, transparent 100%);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
}

/* ── TRUST BAR ── */
.mm-trust-bar {
  background: var(--navy);
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.mm-trust-item {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  padding: 0 28px;
  white-space: nowrap;
}

.mm-trust-item strong { color: #fff; font-weight: 700; }
.mm-trust-item + .mm-trust-item { border-left: 1px solid rgba(255,255,255,0.18); }

/* ── TOPICS ── */
.mm-topics {
  padding: 24px 48px;
  border-bottom: 1.5px solid var(--tan);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--warm-white);
}

.mm-topics-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-right: 6px;
}

.mm-tag {
  font-size: 12px; font-weight: 600;
  padding: 6px 16px; border-radius: 100px;
  border: 1.5px solid var(--tan);
  color: var(--navy); background: transparent;
  font-family: 'Nunito', sans-serif;
  cursor: pointer; text-decoration: none;
  display: inline-block;
}

.mm-tag:hover,
.mm-tag.active {
  background: var(--navy);
  color: #fff !important;
  border-color: var(--navy);
}

/* ── BLOG SECTION ── */
.mm-blog-section {
  padding: 56px 48px;
  background: var(--warm-white);
}

.mm-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}

.mm-section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 700;
  color: var(--navy);
}

.mm-see-all {
  font-size: 13px; font-weight: 700;
  color: var(--red) !important;
  text-decoration: none !important;
}

/* FEATURED POST */
.mm-featured-post {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--tan);
  margin-bottom: 24px;
}

.mm-featured-img {
  width: 100%; height: 100%;
  min-height: 300px;
  object-fit: cover; display: block;
}

.mm-featured-body {
  padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: center;
}

.mm-post-tag {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red); margin-bottom: 10px;
}

.mm-featured-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 700;
  line-height: 1.3; color: var(--navy);
  margin-bottom: 12px;
}

.mm-post-excerpt {
  font-size: 14px; line-height: 1.7;
  color: var(--muted); margin-bottom: 18px;
}

.mm-post-meta {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: rgba(26,46,94,0.35);
}

.mm-read-link {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 700;
  color: var(--navy) !important;
  text-decoration: none !important;
  margin-top: 14px;
  border-bottom: 2px solid var(--tan);
  padding-bottom: 1px;
}

.mm-read-link::after { content: ' →'; }

/* BLOG GRID */
.mm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mm-post-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--tan);
  display: flex; flex-direction: column;
  text-decoration: none !important;
  transition: border-color 0.15s, transform 0.15s;
}

.mm-post-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.mm-post-card img {
  width: 100%; aspect-ratio: 3/2;
  object-fit: cover; display: block;
}

.mm-card-placeholder {
  width: 100%; aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 16px; font-weight: 700;
  font-style: italic; line-height: 1.3;
  text-align: center; padding: 18px;
}

.ph-navy { background: var(--navy); color: #8B9FC9; }
.ph-red  { background: #F5E8E9; color: var(--red); }
.ph-tan  { background: var(--tan); color: var(--navy); }

.mm-card-body {
  padding: 18px 20px 22px;
  flex: 1; display: flex; flex-direction: column;
}

.mm-card-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 15px; font-weight: 700;
  line-height: 1.35; color: var(--navy);
  margin-bottom: 6px; flex: 1;
}

/* ── CHOOSER SECTION ── */
.mm-chooser {
  padding: 64px 48px;
  background: var(--cream);
}

.mm-chooser-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px; text-align: center;
}

.mm-chooser h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3vw, 38px); font-weight: 700;
  color: var(--navy); text-align: center;
  margin-bottom: 8px; line-height: 1.2;
}

.mm-chooser-sub {
  font-size: 15px; color: var(--muted);
  text-align: center; margin-bottom: 40px; line-height: 1.6;
}

.mm-chooser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.mm-chooser-card {
  background: var(--warm-white);
  border: 2px solid var(--tan);
  border-radius: 16px;
  padding: 28px 28px 24px;
  text-decoration: none !important;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  position: relative; overflow: hidden;
}

.mm-chooser-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
}

.mm-chooser-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27,46,94,0.1);
}

.mm-chooser-card.c1::before { background: var(--red); }
.mm-chooser-card.c2::before { background: var(--navy); }
.mm-chooser-card.c3::before { background: #7B6FAB; }
.mm-chooser-card.c4::before { background: #2E7D4F; }
.mm-chooser-card.c1:hover { border-color: var(--red); }
.mm-chooser-card.c2:hover { border-color: var(--navy); }
.mm-chooser-card.c3:hover { border-color: #7B6FAB; }
.mm-chooser-card.c4:hover { border-color: #2E7D4F; }

.mm-chooser-emoji { font-size: 32px; line-height: 1; }

.mm-chooser-situation {
  font-family: 'Fraunces', serif;
  font-size: 19px; font-weight: 700;
  color: var(--navy); line-height: 1.25;
}

.mm-chooser-desc {
  font-size: 14px; line-height: 1.6; color: var(--muted);
}

.mm-chooser-link {
  font-size: 13px; font-weight: 700;
  color: var(--red) !important;
  text-decoration: none !important;
}

.mm-chooser-link::after { content: ' →'; }

/* ── PRODUCTS ── */
.mm-products {
  background: var(--navy);
  padding: 68px 48px;
}

.mm-products-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 10px;
}

.mm-products h2 {
  font-family: 'Fraunces', serif;
  font-size: 34px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
  line-height: 1.15; letter-spacing: -0.02em;
}

.mm-products-sub {
  font-size: 15px; color: rgba(255,255,255,0.48);
  margin-bottom: 40px; max-width: 460px; line-height: 1.65;
}

.mm-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mm-product-card {
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  position: relative;
  background: rgba(255,255,255,0.04);
}

.mm-product-card.hero-p {
  border-color: rgba(196,30,42,0.55);
  background: rgba(196,30,42,0.07);
}

.mm-product-badge {
  position: absolute; top: -11px; left: 18px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 11px; border-radius: 100px;
}

.mm-product-price {
  font-family: 'Fraunces', serif;
  font-size: 32px; font-weight: 700;
  color: #fff; margin-bottom: 6px;
}

.mm-product-name {
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.82);
  margin-bottom: 8px; line-height: 1.35;
}

.mm-product-desc {
  font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.65; margin-bottom: 20px;
}

.mm-product-btn {
  display: block; text-align: center;
  background: var(--red); color: #fff !important;
  font-size: 13px; font-weight: 700;
  padding: 11px; border-radius: 6px;
  text-decoration: none !important;
  font-family: 'Nunito', sans-serif;
}

.mm-product-card:not(.hero-p) .mm-product-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.18);
}

/* ── ABOUT ── */
.mm-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}

.mm-about-img {
  width: 100%; height: 380px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.mm-about-body {
  padding: 52px 48px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1.5px solid var(--tan);
}

.mm-about-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}

.mm-about-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 700;
  color: var(--navy); margin-bottom: 14px; line-height: 1.2;
}

.mm-about-body p {
  font-size: 15px; color: var(--muted);
  line-height: 1.7; margin-bottom: 12px;
}

.mm-about-link {
  font-size: 13px; font-weight: 700;
  color: var(--red) !important;
  text-decoration: none !important;
  margin-top: 6px; display: inline-block;
}

.mm-about-link::after { content: ' →'; }

/* ── EMAIL SECTION ── */
.mm-email {
  padding: 72px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  border-bottom: 1.5px solid var(--tan);
  background: var(--warm-white);
}

.mm-email-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}

.mm-email h2 {
  font-family: 'Fraunces', serif;
  font-size: 30px; font-weight: 700;
  line-height: 1.18; color: var(--navy); margin-bottom: 12px;
}

.mm-email-sub {
  font-size: 15px; color: var(--muted); line-height: 1.7;
}

/* WPForms styling to match */
.mm-email .wpforms-form input[type="text"],
.mm-email .wpforms-form input[type="email"] {
  width: 100%; padding: 13px 16px;
  font-size: 14px; font-family: 'Nunito', sans-serif;
  border: 1.5px solid var(--tan) !important;
  border-radius: 8px !important;
  background: var(--cream); color: var(--navy);
  outline: none; margin-bottom: 10px;
}

.mm-email .wpforms-form button[type="submit"],
.mm-email .wpforms-submit {
  width: 100%; padding: 14px;
  background: var(--red) !important; color: #fff !important;
  font-size: 14px; font-weight: 700;
  font-family: 'Nunito', sans-serif;
  border: none; border-radius: 8px; cursor: pointer;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy) !important;
  padding: 36px 48px !important;
  border-top: none !important;
}

.site-footer,
.site-footer a,
.site-footer p {
  color: rgba(255,255,255,0.42) !important;
  font-size: 12px;
}

.site-footer a:hover { color: #fff !important; }

/* ── BLOG POST STYLES ── */
.entry-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
}

.entry-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

.entry-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 12px;
}

.entry-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 19px; font-weight: 600;
  color: var(--navy); margin: 24px 0 8px;
}

.entry-content ul li,
.entry-content ol li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 6px;
}

/* Pullquote */
blockquote {
  border-left: 4px solid var(--red) !important;
  margin: 28px 0 !important;
  padding: 16px 22px !important;
  background: rgba(196,30,42,0.04) !important;
  border-radius: 0 8px 8px 0 !important;
  font-family: 'Fraunces', serif;
  font-size: 18px !important;
  font-style: italic;
  color: var(--navy) !important;
}

/* Fact box - use cover block with navy bg */
.wp-block-cover.fact-box {
  border-radius: var(--radius);
  padding: 22px 24px;
}

/* ── INLINE CTA BOX ── */
.mm-inline-cta {
  background: rgba(196,30,42,0.05);
  border: 1.5px solid rgba(196,30,42,0.2);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.mm-inline-cta h4 {
  font-family: 'Fraunces', serif;
  font-size: 16px; font-weight: 700;
  color: var(--navy); margin-bottom: 5px;
}

.mm-inline-cta p {
  font-size: 14px; line-height: 1.6;
  color: var(--muted); margin: 0;
}

.mm-inline-cta-btn {
  flex-shrink: 0;
  background: var(--red); color: #fff !important;
  font-size: 13px; font-weight: 700;
  padding: 11px 18px; border-radius: 6px;
  text-decoration: none !important;
  white-space: nowrap;
  font-family: 'Nunito', sans-serif;
}

/* ── SIDEBAR ── */
.widget-area {
  position: sticky;
  top: 88px;
}

.mm-cta-widget {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  margin-bottom: 18px;
}

.mm-cta-widget .eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 8px;
}

.mm-cta-widget .price {
  font-family: 'Fraunces', serif;
  font-size: 34px; font-weight: 700;
  font-style: italic; color: #fff; margin-bottom: 4px;
}

.mm-cta-widget h3 {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 700;
  color: #fff !important; margin-bottom: 8px; line-height: 1.3;
}

.mm-cta-widget p {
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.5); margin-bottom: 18px;
}

.mm-cta-widget a {
  display: block;
  background: var(--red); color: #fff !important;
  font-size: 13px; font-weight: 700;
  padding: 12px; border-radius: 6px;
  text-decoration: none !important;
  font-family: 'Nunito', sans-serif;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .mm-hero { grid-template-columns: 1fr; min-height: auto; }
  .mm-hero-right { height: 280px; }
  .mm-hero-left { padding: 40px 24px; }
  .mm-trust-bar { padding: 16px 24px; }
  .mm-trust-item { padding: 4px 12px; }
  .mm-blog-section { padding: 36px 24px; }
  .mm-featured-post { grid-template-columns: 1fr; }
  .mm-blog-grid { grid-template-columns: 1fr; }
  .mm-chooser { padding: 40px 24px; }
  .mm-chooser-grid { grid-template-columns: 1fr; }
  .mm-products { padding: 40px 24px; }
  .mm-product-grid { grid-template-columns: 1fr; }
  .mm-about { grid-template-columns: 1fr; }
  .mm-email { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; }
  .mm-topics { padding: 16px 24px; }
  .mm-blog-section { padding: 36px 24px; }
}
