/*
Theme Name: Mindful Giving Foundation
Theme URI: https://mindfulgivingfoundation.org
Author: OneEach Technologies
Description: Custom theme for mindfulgivingfoundation.org - the Mindful Giving Foundation's own site, built to speak to partner charities and their boards. Content and page templates carried over from the approved HTML prototype.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mgf
*/

:root {
    --lavender: #a591bd;
    --lavender-pale: #ece7f2;
    --orange: #f54d02;
    --orange-light: #ff774d;
    --ink: #262230;
    --cream: #faf7f3;
    --line: #e5dfe9;
  }
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
  }
h1, h2, h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    line-height: 1.18;
    margin: 0;
  }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.banner {
    background: var(--ink);
    color: #fff;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.02em;
    padding: 8px 16px;
  }
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 32px;
    max-width: 1080px;
    margin: 0 auto;
  }
header img { height: 40px; }
nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-left: 32px;
  }
nav a.cta {
    background: var(--orange);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
  }
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange);
    background: #fff0e8;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
  }
.hero {
    padding: 40px 32px 70px;
  }
.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
    align-items: center;
  }
.hero h1 {
    font-size: 50px;
    letter-spacing: -0.01em;
  }
.hero h1 em {
    font-style: normal;
    color: var(--orange);
  }
.hero .sub {
    font-size: 18px;
    color: #4a4356;
    margin-top: 24px;
  }
.hero-art {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.hero-art .blob-a {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--lavender-pale);
    top: 6%;
    left: 8%;
  }
.hero-art .blob-b {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: #fbe2d3;
    bottom: 4%;
    right: 6%;
  }
.hero-art img {
    position: relative;
    width: 230px;
    transform: rotate(-7deg);
    filter: drop-shadow(0 20px 34px rgba(38,34,48,0.18));
  }
.kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }
.kicker .dash {
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--orange);
    display: inline-block;
  }
.kicker span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
  }
.definition-band {
    background: var(--lavender-pale);
    padding: 56px 32px;
  }
.definition {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 30px 34px;
  }
.definition .mark {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--orange);
    white-space: nowrap;
    padding-top: 2px;
  }
.definition p {
    margin: 0;
    font-size: 16px;
    color: #3a3444;
  }
.definition strong { color: var(--ink); }
.barrier {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 64px 32px;
  }
.barrier h2 { font-size: 34px; max-width: 620px; }
.barrier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
  }
.barrier-card {
    background: var(--cream);
    border-radius: 14px;
    padding: 28px 24px;
  }
.barrier-card .num {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    color: var(--lavender);
    margin-bottom: 10px;
    display: block;
  }
.barrier-card h3 { font-size: 17px; margin-bottom: 8px; }
.barrier-card p { font-size: 14px; color: #5a5266; margin: 0; }
.trend {
    padding: 72px 32px;
  }
.trend h2 { font-size: 34px; max-width: 640px; }
.trend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 44px;
  }
.panel {
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--line);
  }
.panel.problem {
    background: #f3f0f6;
  }
.panel.opening {
    background: #fdf0e8;
  }
.panel .tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 18px;
    display: block;
  }
.panel.problem .tag { color: var(--lavender); }
.panel.opening .tag { color: var(--orange); }
.panel .stat {
    font-family: 'Fraunces', serif;
    font-size: 42px;
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
  }
.panel .stat-label {
    font-size: 14px;
    color: #4a4356;
    margin-bottom: 22px;
    display: block;
  }
.panel .stat-small {
    font-size: 13px;
    color: #6a6376;
    border-top: 1px solid rgba(38,34,48,0.12);
    padding-top: 14px;
    margin-top: 14px;
  }
.bridge {
    font-size: 17px;
    color: #3a3444;
    max-width: 700px;
    margin: 18px 0 40px;
  }
.research {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 72px 32px;
  }
.research h2 { font-size: 34px; max-width: 640px; }
.research .intro { max-width: 640px; color: #4a4356; margin-top: 16px; font-size: 16px; }
.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
.research-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
  }
.research-card .label {
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    display: block;
  }
.research-card h3 { font-size: 18px; margin-bottom: 10px; }
.research-card p { font-size: 14.5px; color: #4a4356; margin: 0 0 10px; }
.research-card .cite { font-size: 12.5px; color: #948da2; }
.closing {
    padding: 80px 32px;
    text-align: center;
  }
.closing h2 {
    font-size: 32px;
    max-width: 640px;
    margin: 0 auto;
  }
.closing p { max-width: 560px; margin: 18px auto 32px; color: #4a4356; font-size: 16px; }
.closing-ctas { display: flex; gap: 16px; justify-content: center; }
.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
  }
.btn.primary { background: var(--orange); color: #fff; }
.btn.secondary { background: var(--lavender-pale); color: var(--ink); }
footer {
    background: var(--ink);
    color: #cfc8da;
    padding: 48px 32px 32px;
  }
footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
footer img { height: 34px; }
footer .links a {
    color: #cfc8da;
    text-decoration: none;
    font-size: 13px;
    margin-left: 22px;
  }
footer .fine {
    font-size: 12px;
    color: #8a8296;
    margin-top: 28px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }
.read { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.page-head {
    padding: 30px 32px 56px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
  }
.page-head h1 {
    font-size: 42px;
    max-width: 700px;
  }
.page-head .lede {
    max-width: 660px;
    font-size: 19px;
    color: #4a4356;
    margin-top: 22px;
  }
section.body-section {
    padding: 64px 0;
  }
section.body-section.alt { background: var(--cream); }
.read h2 {
    font-size: 28px;
    margin-bottom: 22px;
  }
.read p {
    font-size: 16.5px;
    color: #3a3444;
    margin: 0 0 18px;
  }
.read p:last-child { margin-bottom: 0; }
.barrier-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 30px;
  }
.barrier-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
  }
.barrier-item:last-child { border-bottom: none; padding-bottom: 0; }
.barrier-item .num {
    font-family: 'Fraunces', serif;
    font-size: 30px;
    color: var(--lavender);
  }
.barrier-item h3 { font-size: 18px; margin-bottom: 8px; }
.barrier-item p { font-size: 15.5px; color: #4a4356; margin: 0; }
.callout {
    background: var(--ink);
    color: #fff;
    border-radius: 18px;
    padding: 40px 44px;
    margin: 40px 0;
  }
.callout .figs {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
.callout .fig {
    font-family: 'Fraunces', serif;
    font-size: 40px;
    color: var(--orange-light);
  }
.callout .fig-label {
    font-size: 13px;
    color: #cfc8da;
    max-width: 200px;
    margin-top: 4px;
  }
.callout p {
    color: #e6e1ec;
    font-size: 15.5px;
    margin: 0;
  }
.callout .cite { color: #9b93aa; font-size: 12.5px; margin-top: 14px; }
.pull {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    color: var(--ink);
    border-left: 3px solid var(--orange);
    padding-left: 26px;
    margin: 40px 0;
    line-height: 1.4;
  }
.trend-recap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
  }
.trend-recap .panel {
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--line);
  }
.trend-recap .panel.problem { background: #f3f0f6; }
.trend-recap .panel.opening { background: #fdf0e8; }
.trend-recap .tag {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
  }
.trend-recap .panel.problem .tag { color: var(--lavender); }
.trend-recap .panel.opening .tag { color: var(--orange); }
.trend-recap .stat {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    display: block;
  }
.trend-recap .stat-label { font-size: 13.5px; color: #4a4356; margin-top: 6px; }
.study {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
  }
.study:last-child { border-bottom: none; }
.study .label {
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    display: block;
  }
.study h3 { font-size: 19px; margin-bottom: 10px; }
.study p { font-size: 15.5px; color: #3a3444; margin: 0 0 8px; }
.study .cite { font-size: 12.5px; color: #948da2; }
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 30px;
  }
.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
  }
.step:last-child { border-bottom: none; }
.step .n {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lavender-pale);
    color: var(--ink);
    font-family: 'Fraunces', serif;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.step h3 { font-size: 17.5px; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: #4a4356; margin: 0; }
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 10px;
  }
.compare-card {
    border-radius: 16px;
    padding: 30px 28px;
  }
.compare-card.free { background: #fdf0e8; }
.compare-card.ask { background: #f3f0f6; }
.compare-card h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
  }
.compare-card.free h3 { color: var(--orange); }
.compare-card.ask h3 { color: var(--lavender); }
.compare-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
.compare-card li {
    font-size: 15px;
    color: #3a3444;
    padding: 10px 0;
    border-bottom: 1px solid rgba(38,34,48,0.08);
  }
.compare-card li:last-child { border-bottom: none; }
.note {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px 28px;
    margin-top: 26px;
    font-size: 15px;
    color: #4a4356;
  }
.note strong { color: var(--ink); }
.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 30px;
  }
.fit-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
  }
.fit-card h3 { font-size: 17px; margin-bottom: 14px; }
.fit-card ul { margin: 0; padding-left: 18px; }
.fit-card li { font-size: 15px; color: #3a3444; margin-bottom: 10px; }
.fit-card li:last-child { margin-bottom: 0; }
.body-section h2 { font-size: 26px; margin-bottom: 8px; }
.section-sub { font-size: 15.5px; color: #4a4356; max-width: 620px; margin: 0 0 34px; }
.start-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
.start-card {
    border-radius: 18px;
    padding: 32px;
    text-decoration: none;
    display: block;
    color: var(--ink);
  }
.start-card.a { background: #f3f0f6; }
.start-card.b { background: #fdf0e8; }
.start-card .tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    display: block;
  }
.start-card.a .tag { color: var(--lavender); }
.start-card.b .tag { color: var(--orange); }
.start-card h3 { font-size: 21px; margin-bottom: 10px; }
.start-card p { font-size: 15px; color: #4a4356; margin: 0 0 16px; }
.start-card .go { font-size: 14px; font-weight: 600; color: var(--ink); }
.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
.guide-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    background: #fff;
  }
.guide-card .soon {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #948da2;
    background: var(--lavender-pale);
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
  }
.guide-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.guide-card p { font-size: 14.5px; color: #4a4356; margin: 0; }
.contact-section {
    padding: 60px 32px 80px;
  }
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: start;
  }
form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--cream);
    color: var(--ink);
  }
.field textarea { min-height: 110px; resize: vertical; font-family: 'Inter', sans-serif; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.submit-btn {
    align-self: flex-start;
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: not-allowed;
  }
.form-note { font-size: 12.5px; color: #948da2; margin-top: -6px; }
.side {
    background: var(--cream);
    border-radius: 18px;
    padding: 32px;
  }
.side h3 { font-size: 18px; margin-bottom: 20px; }
.side-steps { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.side-step { display: flex; gap: 14px; }
.side-step .n {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: var(--orange);
    font-family: 'Fraunces', serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
.side-step p { font-size: 14.5px; color: #3a3444; margin: 0; }
.side hr { border: none; border-top: 1px solid var(--line); margin: 26px 0; }
.side .email-label { font-size: 13px; color: #4a4356; margin-bottom: 6px; }
.side .email { font-size: 16px; font-weight: 600; color: var(--ink); }
.side .email-note { font-size: 12px; color: #948da2; margin-top: 8px; }

/* --- per-page overrides (values that differ from the majority across pages) --- */
body.page-template-template-home-php {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
  }
body.page-template-template-home-php h1, body.page-template-template-home-php h2, body.page-template-template-home-php h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    line-height: 1.15;
    margin: 0;
  }
body.page-template-template-why-php .closing {
    text-align: center;
    padding: 70px 32px;
  }
body.page-template-template-partner-php .closing {
    text-align: center;
    padding: 76px 32px;
    background: var(--cream);
  }
body.page-template-template-resources-php .closing {
    text-align: center;
    padding: 76px 32px;
  }
body.page-template-template-why-php .closing h2 { font-size: 30px; max-width: 600px; margin: 0 auto; }
body.page-template-template-partner-php .closing h2 { font-size: 30px; max-width: 620px; margin: 0 auto; }
body.page-template-template-resources-php .closing h2 { font-size: 28px; max-width: 560px; margin: 0 auto; }
body.page-template-template-home-php .closing p {
    max-width: 560px;
    margin: 20px auto 36px;
    color: #4a4356;
    font-size: 16px;
  }
body.page-template-template-resources-php .closing p { max-width: 520px; margin: 18px auto 32px; color: #4a4356; font-size: 16px; }
body.page-template-template-home-php .closing-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
  }
body.page-template-template-talk-php .page-head {
    padding: 30px 32px 50px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
  }
body.page-template-template-resources-php .page-head h1 {
    font-size: 42px;
    max-width: 680px;
  }
body.page-template-template-talk-php .page-head h1 {
    font-size: 40px;
    max-width: 640px;
  }
body.page-template-template-resources-php .page-head .lede {
    max-width: 620px;
    font-size: 19px;
    color: #4a4356;
    margin-top: 22px;
  }
body.page-template-template-talk-php .page-head .lede {
    max-width: 600px;
    font-size: 18px;
    color: #4a4356;
    margin-top: 20px;
  }
body.page-template-template-partner-php section.body-section { padding: 64px 0; }
body.page-template-template-resources-php section.body-section { padding: 64px 32px; }
body.page-template-template-why-php section.body-section.alt {
    background: var(--cream);
  }
body.page-template-template-partner-php .read h2 { font-size: 28px; margin-bottom: 22px; }
body.page-template-template-partner-php .read p { font-size: 16.5px; color: #3a3444; margin: 0 0 18px; }
body.page-template-template-resources-php .note {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 26px;
    margin-top: 30px;
    font-size: 14.5px;
    color: #5a5266;
  }
/* WordPress-specific: real pages instead of hash routes, so give the
   current page a visual marker in the nav (not present in the static
   mockups, which had no concept of a "current" page). */
nav a.current:not(.cta) {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
nav a.cta.current {
  box-shadow: 0 0 0 2px var(--ink) inset;
}


@media (max-width: 760px) {
.hero h1 { font-size: 32px; }
.hero-grid { grid-template-columns: 1fr; }
.hero-art { height: 220px; order: -1; }
.barrier-grid, .trend-grid, .research-grid { grid-template-columns: 1fr; }
.closing-ctas { flex-direction: column; align-items: center; }
.page-head h1 { font-size: 30px; }
.trend-recap { grid-template-columns: 1fr; }
.barrier-item { grid-template-columns: 1fr; }
.callout .figs { flex-direction: column; gap: 20px; }
.compare-grid, .fit-grid { grid-template-columns: 1fr; }
.step { grid-template-columns: 1fr; }
.start-grid, .guide-grid { grid-template-columns: 1fr; }
.contact-grid { grid-template-columns: 1fr; }
.row-2 { grid-template-columns: 1fr; }
  nav a:not(.cta) { display: none; }
}

@media (max-width: 760px) {

}
