/*
Theme Name: MPAS Divi
Description: Mission Padamo Aviation & Support on Divi (replaces Neve). Warm, photo-led design in the logo's navy, gold and red.
Template: Divi
Version: 1.0.1
*/

:root {
	--mp-navy: #17224f;
	--mp-navy-2: #22327a;
	--mp-blue: #2b3a9e;
	--mp-gold: #f2b705;
	--mp-gold-dark: #8a6500;
	--mp-red: #c8102e;
	--mp-cream: #faf6ee;
	--mp-sand: #f1eadb;
	--mp-ink: #1d2130;
	--mp-muted: #5a6172;
	--mp-line: #e6dfd0;
	--mp-radius: 14px;
	--mp-shadow: 0 10px 30px rgba(23, 34, 79, .10);
	--mp-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--mp-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------------------------------------------------------------- base type */
body, p, li, td, input, select, textarea, button { font-family: var(--mp-sans); }
body { color: var(--mp-ink); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
p { padding-bottom: 1.1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--mp-serif); color: var(--mp-navy); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; padding-bottom: .45em; }
h1 { font-size: 52px; }
h2 { font-size: 38px; }
h3 { font-size: 24px; }
h4 { font-size: 19px; }
a { color: var(--mp-blue); }
a:hover { color: var(--mp-navy); }
@media (max-width: 767px) { h1 { font-size: 36px; } h2 { font-size: 29px; } h3 { font-size: 21px; } body { font-size: 16px; } }

#main-content, .et_pb_section { background-color: #fff; }
.et_pb_row { width: 90%; max-width: 1180px; }
.mp-section-pad { padding: 88px 0 !important; }
@media (max-width: 767px) { .mp-section-pad { padding: 56px 0 !important; } }
.mp-cream, .mp-cream.et_pb_section { background-color: var(--mp-cream) !important; }

.mp-eyebrow { display: inline-block; font-family: var(--mp-sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-gold-dark); padding-bottom: 10px; }
.mp-section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.mp-section-head p { color: var(--mp-muted); font-size: 18px; }
.mp-lead { font-size: 20px; line-height: 1.6; }

/* ---------------------------------------------------------------- buttons */
.mp-btn, a.mp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 600 16px/1.2 var(--mp-sans); text-decoration: none; transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.mp-btn--gold { background: var(--mp-gold); color: var(--mp-navy); box-shadow: 0 6px 18px rgba(242, 183, 5, .35); }
.mp-btn--gold:hover { background: #ffc81f; color: var(--mp-navy); transform: translateY(-1px); }
.mp-btn--navy { background: var(--mp-navy); color: #fff; }
.mp-btn--navy:hover { background: var(--mp-navy-2); color: #fff; transform: translateY(-1px); }
.mp-btn--ghost { border: 2px solid rgba(255, 255, 255, .8); color: #fff; }
.mp-btn--ghost:hover { background: #fff; color: var(--mp-navy); }
.mp-btn--outline { border: 2px solid var(--mp-navy); color: var(--mp-navy); }
.mp-btn--outline:hover { background: var(--mp-navy); color: #fff; }
.mp-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.mp-link { font-weight: 600; text-decoration: none; color: var(--mp-navy); }
.mp-link::after { content: " →"; transition: margin .15s ease; }
.mp-link:hover::after { margin-left: 4px; }
a:focus-visible, .mp-btn:focus-visible { outline: 3px solid var(--mp-gold); outline-offset: 3px; }

/* ---------------------------------------------------------------- header */
#main-header { box-shadow: 0 1px 0 var(--mp-line) !important; }
#top-menu li a { font-family: var(--mp-sans); font-weight: 500; font-size: 15px; color: var(--mp-ink); letter-spacing: 0; }
#top-menu li.current-menu-item > a, #top-menu li.current-menu-ancestor > a, #top-menu li a:hover { color: var(--mp-blue) !important; opacity: 1 !important; }
#top-menu li li a { font-size: 14px; }
#top-menu li.mp-nav-donate > a { background: var(--mp-gold); color: var(--mp-navy) !important; padding: 10px 20px !important; border-radius: 999px; font-weight: 600; }
#top-menu li.mp-nav-donate > a:hover { background: #ffc81f; }
.et-fixed-header #top-menu li.mp-nav-donate > a { padding: 8px 18px !important; }
@media (min-width: 981px) { #top-menu li.mp-nav-donate { padding-right: 0; } #top-menu li.mp-nav-donate > a { margin-top: -10px; } }
#et_mobile_nav_menu .mobile_menu_bar::before { color: var(--mp-navy); }
.et_mobile_menu { border-top-color: var(--mp-gold); }
.et_mobile_menu li.mp-nav-donate > a { background: var(--mp-gold); color: var(--mp-navy); border-radius: 8px; font-weight: 600; margin-top: 8px; text-align: center; }

/* ---------------------------------------------------------------- hero (home) */
.mp-hero.et_pb_section { position: relative; min-height: 82vh; display: flex; align-items: center; background-size: cover; background-position: center bottom !important; padding: 120px 0 !important; }
.mp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 21, 52, .92) 0%, rgba(14, 21, 52, .72) 45%, rgba(14, 21, 52, .25) 100%); }
.mp-hero .et_pb_row { position: relative; z-index: 1; }
.mp-hero-inner { max-width: 680px; }
.mp-hero .mp-eyebrow { color: var(--mp-gold); }
.mp-hero h1 { color: #fff; font-size: 60px; line-height: 1.05; padding-bottom: 22px; }
.mp-hero p { color: rgba(255, 255, 255, .9); font-size: 20px; line-height: 1.6; padding-bottom: 30px; }
@media (max-width: 767px) { .mp-hero.et_pb_section { min-height: 0; padding: 88px 0 72px !important; } .mp-hero h1 { font-size: 38px; } .mp-hero p { font-size: 17px; } }

/* ---------------------------------------------------------------- cards */
.mp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mp-card { background: #fff; border-radius: var(--mp-radius); overflow: hidden; box-shadow: var(--mp-shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.mp-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(23, 34, 79, .16); }
.mp-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mp-sand); }
.mp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.mp-card-body h3 { font-size: 23px; padding-bottom: 10px; }
.mp-card-body p { color: var(--mp-muted); font-size: 16px; flex: 1; }
@media (max-width: 980px) { .mp-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mp-cards { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- feature band (the need) */
.mp-band.et_pb_section { position: relative; background-size: cover; background-position: center; padding: 110px 0 !important; }
.mp-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 21, 52, .93), rgba(14, 21, 52, .78)); }
.mp-band .et_pb_row { position: relative; z-index: 1; }
.mp-band-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.mp-band .mp-eyebrow { color: var(--mp-gold); }
.mp-band h2 { color: #fff; font-size: 46px; }
.mp-band p { color: rgba(255, 255, 255, .9); font-size: 19px; }
.mp-band .mp-btns { justify-content: center; padding-top: 8px; }
@media (max-width: 767px) { .mp-band.et_pb_section { padding: 72px 0 !important; } .mp-band h2 { font-size: 32px; } }

/* ---------------------------------------------------------------- people */
.mp-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mp-people--3 { grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mp-person { background: #fff; border-radius: var(--mp-radius); overflow: hidden; box-shadow: var(--mp-shadow); display: flex; flex-direction: column; }
.mp-person-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mp-sand); }
.mp-person-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.mp-person-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.mp-person-body h3 { font-size: 21px; padding-bottom: 8px; }
.mp-person-body p { color: var(--mp-muted); font-size: 15px; line-height: 1.6; flex: 1; }
@media (max-width: 980px) { .mp-people, .mp-people--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mp-people, .mp-people--3 { grid-template-columns: 1fr; } }
.mp-center { text-align: center; padding-top: 40px; }
.mp-center .mp-btns { justify-content: center; }

/* ---------------------------------------------------------------- news (Divi blog module) */
.mp-news .et_pb_ajax_pagination_container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mp-news .et_pb_post { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); padding: 28px !important; margin: 0 !important; width: auto !important; float: none !important; box-shadow: none; transition: box-shadow .2s ease, transform .2s ease; display: flex; flex-direction: column; }
.mp-news .et_pb_post:hover { box-shadow: var(--mp-shadow); transform: translateY(-2px); }
.mp-news .et_pb_post .entry-title { font-family: var(--mp-serif); font-size: 21px !important; line-height: 1.25; padding-bottom: 10px; order: 2; }
.mp-news .et_pb_post .entry-title a { color: var(--mp-navy); }
.mp-news .et_pb_post .post-meta { order: 1; font-size: 13px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mp-gold-dark); padding-bottom: 10px; }
.mp-news .et_pb_post .post-content { order: 3; color: var(--mp-muted); font-size: 15px; }
.mp-news .et_pb_post .more-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--mp-navy); }
.mp-news .et_pb_salvattore_content, .mp-news .column { display: contents !important; width: auto !important; }
@media (max-width: 980px) { .mp-news .et_pb_ajax_pagination_container { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- give band */
.mp-give.et_pb_section { background: var(--mp-sand) !important; padding: 0 !important; }
.mp-give-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 72px 0; }
.mp-give-inner h2 { padding-bottom: 12px; }
.mp-give-inner p { color: var(--mp-muted); font-size: 18px; padding-bottom: 0; }
.mp-give-inner .mp-btns { justify-content: flex-end; }
@media (max-width: 980px) { .mp-give-inner { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; } .mp-give-inner .mp-btns { justify-content: flex-start; } }

/* ---------------------------------------------------------------- page header (inner pages) */
.mp-page-header.et_pb_section { position: relative; background-size: cover; background-position: center; padding: 0 !important; }
.mp-page-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 21, 52, .9) 0%, rgba(14, 21, 52, .6) 60%, rgba(14, 21, 52, .35) 100%); }
.mp-page-header .et_pb_row { position: relative; z-index: 1; }
.mp-page-header-inner { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 80px 0 56px; max-width: 760px; }
.mp-page-header h1 { color: #fff; padding-bottom: 8px; }
.mp-page-header p { color: rgba(255, 255, 255, .88); font-size: 19px; padding-bottom: 0; }
.mp-page-header .mp-eyebrow { color: var(--mp-gold); }
@media (max-width: 767px) { .mp-page-header-inner { min-height: 220px; padding: 56px 0 36px; } }

/* ---------------------------------------------------------------- long-form text */
.mp-prose { max-width: 760px; margin: 0 auto; }
.mp-prose p { font-size: 18px; line-height: 1.8; }
.mp-prose h2 { margin-top: 28px; }
.mp-pullquote { margin: 40px 0 44px; padding: 30px 34px; background: var(--mp-cream); border-left: 5px solid var(--mp-gold); border-radius: 0 var(--mp-radius) var(--mp-radius) 0; }
.mp-pullquote strong { display: block; font: 600 30px/1.2 var(--mp-serif); color: var(--mp-navy); padding-bottom: 8px; }
.mp-pullquote span { display: block; font-size: 18px; color: var(--mp-muted); }
.mp-callout { margin-top: 36px; padding: 34px; background: var(--mp-navy); color: #fff; border-radius: var(--mp-radius); text-align: center; }
.mp-callout p { color: rgba(255, 255, 255, .92); font-size: 18px; }
.mp-callout .mp-btns { justify-content: center; }
.mp-prose .gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 32px 0 !important; }
.mp-prose .gallery .gallery-item { width: auto !important; margin: 0 !important; float: none; }
.mp-prose .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 0 !important; border-radius: 8px; }
.mp-prose .gallery br { display: none; }
.mp-prose .gallery .gallery-caption { font-size: 13px; line-height: 1.4; color: var(--mp-muted); padding-top: 6px; }
@media (max-width: 767px) { .mp-prose .gallery { grid-template-columns: repeat(3, 1fr); } .mp-pullquote strong { font-size: 24px; } }

/* ---------------------------------------------------------------- donate */
.mp-give-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.mp-panel { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); padding: 34px; box-shadow: var(--mp-shadow); }
.mp-panel h2 { font-size: 30px; }
.mp-trust { display: flex; gap: 10px; align-items: flex-start; background: var(--mp-cream); border-radius: 10px; padding: 14px 16px; font-size: 15px; color: var(--mp-ink); margin-bottom: 22px; }
.mp-trust::before { content: "✓"; color: var(--mp-gold-dark); font-weight: 700; }
.mp-ways h2 { font-size: 30px; }
.mp-way { border: 1px solid var(--mp-line); border-radius: var(--mp-radius); padding: 24px 26px; margin-bottom: 18px; background: #fff; }
.mp-way h3 { font-size: 21px; display: flex; align-items: center; gap: 12px; }
.mp-way h3 span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mp-navy); color: var(--mp-gold); font: 600 15px/1 var(--mp-sans); }
.mp-way p { font-size: 15.5px; color: var(--mp-muted); }
.mp-way address { font-style: normal; font-weight: 600; color: var(--mp-ink); padding-bottom: 12px; line-height: 1.6; }
.mp-small { font-size: 14px; color: var(--mp-muted); font-style: italic; }
@media (max-width: 980px) { .mp-give-grid { grid-template-columns: 1fr; } }
/* Simple Pay form inside the panel */
.mp-panel .simpay-form-wrap, .mp-panel .simpay-form-wrap form, .mp-panel .simpay-form-control, .mp-panel .simpay-checkout-form { max-width: none !important; width: 100% !important; }
/* The panel heading, trust line and page header already say what the form's own title and description repeat. */
.mp-panel .simpay-form-title, .mp-panel [data-field-type="heading"] { display: none !important; }
.mp-panel .simpay-form-control { margin-bottom: 16px; }
.mp-panel .simpay-payment-btn, .mp-panel button.simpay-btn { background: var(--mp-gold) !important; color: var(--mp-navy) !important; border-radius: 999px !important; font-weight: 600 !important; padding: 14px 26px !important; border: 0 !important; }

/* ---------------------------------------------------------------- footer */
#main-footer { background: var(--mp-navy) !important; }
#footer-widgets { padding: 64px 0 28px; }
#footer-widgets .footer-widget .title, #footer-widgets h4 { font-family: var(--mp-serif); color: #fff; font-size: 19px; font-weight: 600; padding-bottom: 14px; }
#footer-widgets .footer-widget, #footer-widgets .footer-widget p, #footer-widgets .footer-widget li { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.7; }
#footer-widgets .footer-widget a { color: #fff; }
#footer-widgets .footer-widget a:hover { color: var(--mp-gold); }
#footer-widgets .footer-widget li::before { border-color: var(--mp-gold) !important; }
.mp-footer-brand { font: 600 22px/1.25 var(--mp-serif); color: #fff; padding-bottom: 12px; }
#footer-bottom { background: rgba(0, 0, 0, .18) !important; }
#footer-info { color: rgba(255, 255, 255, .7); font-size: 14px; }
#footer-info a { color: #fff; }

/* ================================================================ templates for non-builder pages, posts, news */
.mp-container { width: 90%; max-width: 1180px; margin: 0 auto; position: relative; }
.mp-ph { position: relative; background-size: cover; background-position: center; background-color: var(--mp-navy); }
.mp-ph .mp-container { z-index: 1; }
.mp-body { padding: 72px 0 88px; background: #fff; }
.mp-cream-bg { background: var(--mp-cream); }
.mp-give-wrap { background: var(--mp-sand); }
@media (max-width: 767px) { .mp-body { padding: 48px 0 60px; } }
.mp-prose--wide { max-width: 1080px; }
.mp-page #main-content, .mp-page { background: #fff; }

/* Old page content: images, alignment, captions, tables, lists, embeds */
.mp-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.mp-prose .alignleft { float: left; margin: 6px 28px 18px 0; }
.mp-prose .alignright { float: right; margin: 6px 0 18px 28px; }
.mp-prose .aligncenter { display: block; margin: 0 auto 24px; }
.mp-prose .wp-caption { max-width: 100%; }
.mp-prose .wp-caption-text, .mp-prose figcaption { font-size: 14px; color: var(--mp-muted); padding-top: 8px; text-align: left; }
.mp-prose h1, .mp-prose h2 { font-size: 32px; } .mp-prose h3 { font-size: 24px; } .mp-prose h4 { font-size: 20px; }
.mp-prose ul, .mp-prose ol { padding: 0 0 1.1em 1.4em; line-height: 1.8; }
.mp-prose li { font-size: 17px; }
.mp-prose table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 16px; }
.mp-prose th, .mp-prose td { border-bottom: 1px solid var(--mp-line); padding: 12px 10px; text-align: left; }
.mp-prose iframe, .mp-prose video, .mp-prose embed { max-width: 100%; }
.mp-prose iframe[src*="youtube"], .mp-prose iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; }
.mp-prose blockquote { border-left: 5px solid var(--mp-gold); background: var(--mp-cream); padding: 22px 26px; margin: 28px 0; border-radius: 0 var(--mp-radius) var(--mp-radius) 0; font-style: normal; }
.mp-prose hr { border: 0; border-top: 1px solid var(--mp-line); margin: 32px 0; }
.mp-prose::after { content: ""; display: table; clear: both; }
.mp-prose .wp-block-columns { gap: 32px; }
.mp-prose .wp-block-image img { border-radius: 10px; }
/* Old theme buttons ("Click here", "Order it Online") */
.mp-prose a.btn, .mp-prose .btn { display: inline-flex; align-items: center; padding: 11px 22px; border-radius: 999px; background: var(--mp-navy); color: #fff !important; font: 600 15px/1.2 var(--mp-sans); text-decoration: none; }
.mp-prose a.btn:hover { background: var(--mp-navy-2); }
/* Old theme card grids on Media and Connect (ul.thumbnails > li > .thumbnail) */
.mp-prose ul.thumbnails { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.mp-prose ul.thumbnails > li { margin: 0; padding: 0; }
.mp-prose .thumbnail { height: 100%; background: #fff; border-radius: var(--mp-radius); overflow: hidden; box-shadow: var(--mp-shadow); display: flex; flex-direction: column; }
.mp-prose .thumbnail .post-thumbnail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; display: block; }
.mp-prose .thumbnail .caption { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 15.5px; color: var(--mp-muted); }
.mp-prose .thumbnail .caption h3 { font-size: 21px; padding: 0; }
.mp-prose .thumbnail .caption p { padding: 0; }
.mp-prose .thumbnail .caption .btn { margin-top: auto; }
/* Easy Columns stand-in (Book Store) */
.mp-ezcol { float: left; width: calc(var(--mp-col) - 24px); margin-right: 24px; }
.mp-ezcol-clear { clear: both; height: 24px; }
@media (max-width: 767px) { .mp-ezcol { float: none; width: 100%; margin-right: 0; } }
/* WordPress galleries anywhere in page content, honoring their column count */
.mp-prose .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0 !important; }
.mp-prose .gallery-columns-1 { grid-template-columns: 1fr; } .mp-prose .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.mp-prose .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); } .mp-prose .gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.mp-prose .gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.mp-prose .gallery-columns-1 img { aspect-ratio: auto; }
@media (max-width: 767px) { .mp-prose .gallery:not(.gallery-columns-1) { grid-template-columns: repeat(2, 1fr); } }

/* Mission News cards and post pages */
.mp-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mp-post-card { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); padding: 28px; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.mp-post-card:hover { box-shadow: var(--mp-shadow); transform: translateY(-2px); }
.mp-post-card-date { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mp-gold-dark); padding-bottom: 10px; }
.mp-post-card h2 { font-size: 22px; line-height: 1.25; padding-bottom: 10px; }
.mp-post-card h2 a { color: var(--mp-navy); text-decoration: none; }
.mp-post-card p { color: var(--mp-muted); font-size: 15.5px; flex: 1; }
@media (max-width: 980px) { .mp-news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mp-news-grid { grid-template-columns: 1fr; } }
.mp-pagination { padding-top: 40px; text-align: center; }
.mp-pagination .page-numbers { display: inline-block; min-width: 42px; padding: 9px 14px; margin: 0 3px; border-radius: 999px; background: #fff; border: 1px solid var(--mp-line); color: var(--mp-navy); font-weight: 600; text-decoration: none; }
.mp-pagination .page-numbers.current { background: var(--mp-navy); color: #fff; border-color: var(--mp-navy); }
.mp-post-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--mp-line); margin-top: 40px; padding-top: 24px; font-weight: 600; }
.mp-post-nav a { color: var(--mp-navy); text-decoration: none; }
.mp-post-nav-next { margin-left: auto; text-align: right; }
.mp-prose .mp-panel { margin-top: 8px; }
.mp-prose .wp-caption { background: none !important; border: 0 !important; padding: 0 !important; margin-bottom: 24px; }
.mp-prose .wp-caption img { border-radius: 10px; }
/* Block editor font-size presets in old content (the thank-you page uses "large"): keep them in the type scale */
.mp-prose .has-large-font-size { font-size: 20px !important; line-height: 1.6; }
.mp-prose .has-x-large-font-size, .mp-prose .has-huge-font-size { font-size: 24px !important; line-height: 1.45; }
.mp-prose .has-medium-font-size { font-size: 18px !important; }
/* Missionaries who have gone to be with the Lord: a quiet gold label and the year(s), photo and story unchanged */
.mp-memorial { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mp-gold-dark); padding-bottom: 8px; }
.mp-memorial::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.mp-person-body .mp-memorial-years { font: italic 500 15px/1.4 var(--mp-serif); color: var(--mp-muted); margin: -2px 0 12px; }
