/* Mission Populaire 2027 — pages UPEV (thème Divi). Toutes les règles sont limitées à #mp27. */

/* Divi ajoute 58 px au-dessus du contenu des pages sans constructeur : la grande photo remonte sous le menu, comme sur les autres pages du site. */
body.mp27-page #mp27:not(.mp27--gestion) { margin-top: -58px; }
/* Pages publiques de la mission : le menu du site est masqué, la barre de la mission le remplace. */
body.mp27-page:not(.mp27-gestion) #top-header, body.mp27-page:not(.mp27-gestion) #main-header { display: none !important; }
body.mp27-page:not(.mp27-gestion) #page-container { padding-top: 0 !important; }
body.mp27-page:not(.mp27-gestion) #main-content .container { padding-top: 58px !important; }
body.mp27-page #main-content .container::before { display: none; }
body.mp27-page #left-area { padding-bottom: 0; width: 100%; }
body.mp27-page .entry-title.main_title,
body.mp27-page .et_featured_image,
body.mp27-page article > .et_post_meta_wrapper { display: none; }
body.mp27-page article.page { margin-bottom: 0; }
body.mp27-page .a2a_kit, body.mp27-page .addtoany_share_save_container { display: none !important; }

#mp27 {
	--orange: #ef945a; --flame: #e4672f; --red: #a8140c; --teal: #25879b; --yellow: #fbbd5c;
	--ink: #333; --text: #555; --soft: #fbf6f1; --line: #eadfd6;
	font-family: "Open Sans", Arial, sans-serif; color: var(--text); font-size: 16px; line-height: 1.75;
	background: #fff; margin: 0 0 40px;
}
#mp27 *, #mp27 *::before, #mp27 *::after { box-sizing: border-box; }
#mp27 h1, #mp27 h2, #mp27 h3, #mp27 h4 { font-family: Raleway, Helvetica, Arial, sans-serif; font-weight: 700; color: var(--ink); margin: 0; padding: 0; line-height: 1.25; }
#mp27 p { margin: 0 0 16px; padding: 0; }
#mp27 p:last-child { margin-bottom: 0; }
#mp27 a { color: var(--flame); }
#mp27 ul { margin: 0; padding: 0; list-style: none; line-height: inherit; }
#mp27 strong, #mp27 b { color: inherit; }

/* Bandeau principal */
#mp27 .mp27-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; background-color: var(--red); background-size: cover; background-position: center; color: #fff; }
#mp27 .mp27-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(168,20,12,.05) 0%, rgba(168,20,12,.45) 40%, rgba(190,60,20,.9) 100%); }
#mp27 .mp27-hero__in { position: relative; padding: 48px; max-width: 880px; }
#mp27 .mp27-hero h1 { color: #fff; font-size: clamp(32px, 5.2vw, 56px); font-weight: 800; line-height: 1.08; margin-bottom: 14px; }
#mp27 .mp27-hero p { color: #fff; font: 500 clamp(17px, 2.1vw, 21px)/1.45 Raleway, Helvetica, Arial, sans-serif; margin: 0; }

#mp27 .mp27-band { background: var(--flame); color: #fff; padding: 28px 48px; }
#mp27 .mp27-band blockquote { margin: 0; padding: 2px 0 2px 22px; border: 0; border-left: 3px solid var(--yellow); background: none; }
#mp27 .mp27-band__q { font: italic 500 clamp(18px, 2.3vw, 24px)/1.4 Raleway, Helvetica, Arial, sans-serif; color: #fff; margin: 0; }
#mp27 .mp27-band__l { font: 700 12px "Open Sans", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 0 0 10px; }
#mp27 .mp27-band__c { font: 700 13px "Open Sans", Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin: 8px 0 0; }

/* Navigation interne */
#mp27 .mp27-subnav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 14px 48px; border-bottom: 1px solid var(--line); background: #fff; }
#mp27 .mp27-subnav__id { display: flex; flex-direction: column; gap: 2px; }
#mp27 .mp27-subnav__t { font: 700 12px "Open Sans", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--flame); }
#mp27 .mp27-subnav__org { font: 600 13px Raleway, Helvetica, Arial, sans-serif; color: #666; }
#mp27 .mp27-subnav ul { margin-left: auto; }
#mp27 .mp27-subnav ul { display: flex; flex-wrap: wrap; gap: 6px 8px; }
#mp27 .mp27-subnav a { display: inline-block; padding: 6px 14px; border-radius: 20px; font: 700 14px Raleway, Helvetica, Arial, sans-serif; color: var(--ink); text-decoration: none; }
#mp27 .mp27-subnav a:hover { background: var(--soft); }
#mp27 .mp27-subnav a.is-current { background: var(--flame); color: #fff; }

/* Repères */
#mp27 .mp27-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
#mp27 .mp27-facts > div { padding: 26px 28px; text-align: center; border-right: 1px solid var(--line); }
#mp27 .mp27-facts > div:last-child { border-right: 0; }
#mp27 .mp27-facts b { display: block; font: 800 22px Raleway, Helvetica, Arial, sans-serif; color: var(--flame); margin-bottom: 4px; }
#mp27 .mp27-facts span { font-size: 14px; line-height: 1.6; display: block; }

/* Sections */
#mp27 .mp27-sec { padding: 56px 48px; }
#mp27 .mp27-sec--flush { padding-top: 0; }
#mp27 .mp27-soft { background: var(--soft); padding: 56px 48px; }
#mp27 .mp27-narrow { max-width: 760px; margin: 0 auto; }
#mp27 .mp27-center { text-align: center; }
#mp27 .mp27-lead { font: italic 500 clamp(19px, 2.3vw, 23px)/1.55 Raleway, Helvetica, Arial, sans-serif; color: var(--ink); text-align: center; }
#mp27 .mp27-rule { width: 48px; height: 3px; background: var(--orange); margin: 28px auto; border: 0; }
#mp27 .mp27-strong { font: 700 clamp(18px, 2.2vw, 22px)/1.45 Raleway, Helvetica, Arial, sans-serif; color: var(--ink); text-align: center; }
#mp27 .mp27-strong em { color: var(--flame); font-style: normal; }
#mp27 .mp27-head { margin-bottom: 20px; }
#mp27 .mp27-head--c { text-align: center; }
#mp27 .mp27-kicker { font: 700 12px "Open Sans", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 8px; }
#mp27 .mp27-h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
#mp27 .mp27-h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
#mp27 .mp27-accent { color: var(--flame); font-family: Raleway, Helvetica, Arial, sans-serif; }
#mp27 .mp27-muted { color: #888; }
#mp27 .mp27-small { font-size: 14px; }
#mp27 .mp27-link { font: 700 16px Raleway, Helvetica, Arial, sans-serif; text-decoration: none; }
#mp27 .mp27-link:hover { text-decoration: underline; }

#mp27 .mp27-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
#mp27 .mp27-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
#mp27 .mp27-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
#mp27 .mp27-card { background: var(--soft); border-radius: 12px; padding: 28px 28px 24px; border-top: 4px solid var(--orange); }
#mp27 .mp27-card--w { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
#mp27 .mp27-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
#mp27 .mp27-role { font: 700 13px "Open Sans", Arial, sans-serif; color: var(--flame); margin-bottom: 10px; }
#mp27 .mp27-list li { padding-left: 18px; position: relative; }
#mp27 .mp27-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
#mp27 .mp27-list { margin-bottom: 16px; }

/* Bandeau orange « Pourquoi » */
#mp27 .mp27-flame { background: var(--flame); color: #fff; padding: 56px 48px; }
#mp27 .mp27-flame h2, #mp27 .mp27-flame a:not(.mp27-btn) { color: #fff; }
#mp27 .mp27-flame h2 { margin-bottom: 14px; }
#mp27 .mp27-flame .mp27-kicker { color: var(--yellow); }
#mp27 .mp27-flame__txt { max-width: 780px; margin-top: 18px; }
#mp27 .mp27-goals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
#mp27 .mp27-goal { background: rgba(255,255,255,.14); border-radius: 12px; padding: 22px 24px; border-left: 4px solid var(--yellow); }
#mp27 .mp27-goal b { display: block; font: 700 19px Raleway, Helvetica, Arial, sans-serif; color: #fff; margin-bottom: 4px; }
#mp27 .mp27-goal p { margin: 0; font-size: 15px; line-height: 1.55; color: #fff; }

#mp27 .mp27-note { border-left: 4px solid var(--teal); background: #f0f8fa; padding: 20px 24px; border-radius: 0 12px 12px 0; margin-top: 36px; text-align: left; }
#mp27 .mp27-note--soft { border-left-color: var(--orange); background: var(--soft); margin-top: 20px; }
#mp27 .mp27-note h3 { font-size: 19px; margin-bottom: 8px; }

/* Cartes « Aller plus loin » */
#mp27 .mp27-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
#mp27 .mp27-c3 { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .15s; }
#mp27 .mp27-c3:hover { transform: translateY(-2px); }
#mp27 .mp27-c3 img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
#mp27 .mp27-c3__b { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
#mp27 .mp27-c3__t { font: 700 19px Raleway, Helvetica, Arial, sans-serif; color: var(--ink); }
#mp27 .mp27-c3__p { font-size: 14.5px; line-height: 1.55; flex: 1; }
#mp27 .mp27-c3 .mp27-btn { align-self: flex-start; margin-top: 12px; }
#mp27 .mp27-c3:hover .mp27-btn { background: var(--orange); color: #fff; }

/* Boutons (dans l'esprit des boutons Divi du site) */
#mp27 .mp27-btn { display: inline-block; border: 2px solid var(--orange); color: var(--orange); background: transparent; font: 700 14px/1.3 "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; padding: 10px 18px; border-radius: 3px; text-decoration: none; cursor: pointer; }
#mp27 .mp27-btn:hover { background: var(--orange); color: #fff; }
#mp27 .mp27-btn--fill { background: var(--orange); color: #fff; }
#mp27 .mp27-btn--fill:hover { background: var(--flame); border-color: var(--flame); }
#mp27 .mp27-flame .mp27-btn--fill { background: #fff; border-color: #fff; color: var(--flame); }
#mp27 .mp27-btn--lg { font-size: 16px; padding: 14px 26px; }
#mp27 .mp27-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Prière */
#mp27 .mp27-prayer { background: linear-gradient(180deg, #fff7ef, #fdeedd); padding: 64px 48px; border-top: 1px solid var(--line); }
#mp27 .mp27-prayer__box { max-width: 700px; margin: 0 auto; text-align: center; }
#mp27 .mp27-prayer__sub { font: italic 500 18px Raleway, Helvetica, Arial, sans-serif; color: var(--flame); margin: -8px 0 26px; }
#mp27 .mp27-prayer__ref { display: block; font: 700 12px "Open Sans", Arial, sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #a0785c; margin-top: 6px; }
#mp27 .mp27-obj li { margin-bottom: 6px; }
#mp27 .mp27-prayer p, #mp27 .mp27-prayer li { font-size: 17px; line-height: 1.8; color: #444; }
#mp27 .mp27-prayer ul { margin: 0 0 16px; }
#mp27 .mp27-prayer li { padding: 2px 0; }
#mp27 .mp27-prayer strong { color: var(--ink); }

#mp27 .mp27-also { padding: 44px 48px; border-top: 1px solid var(--line); }
#mp27 .mp27-also a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 600 16px "Open Sans", Arial, sans-serif; }
#mp27 .mp27-also a:hover { color: var(--flame); }
#mp27 .mp27-also small { display: block; color: #888; font-weight: 400; font-size: 13px; }

/* Équipe */
#mp27 .mp27-pole { background: #fff; border-radius: 12px; padding: 22px 24px; border: 1px solid var(--line); border-top: 4px solid var(--mp27-c, var(--orange)); }
#mp27 .mp27-pole h3 { font-size: 19px; margin-bottom: 6px; }
#mp27 .mp27-pole__who { font: 700 16px Raleway, Helvetica, Arial, sans-serif; color: var(--ink); margin-bottom: 10px; }
#mp27 .mp27-chip { display: inline-block; font: 600 12px "Open Sans", Arial, sans-serif; color: #fff; background: var(--mp27-c, var(--orange)); border-radius: 12px; padding: 2px 10px; margin-left: 4px; vertical-align: 2px; }
#mp27 .mp27-pole p { font-size: 15px; line-height: 1.6; }
#mp27 .mp27-miss { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 26px 0; }
#mp27 .mp27-miss__i { background: #fff; border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
#mp27 .mp27-miss__i img, #mp27 .mp27-miss__ph { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 14px; }
#mp27 .mp27-miss__ph { background: var(--soft); color: var(--orange); font: 800 44px/120px Raleway, Helvetica, Arial, sans-serif; }
#mp27 .mp27-miss__i h3 { font-size: 19px; margin-bottom: 4px; }
#mp27 .mp27-miss__i p { font-size: 15px; line-height: 1.6; }

/* Programme */
#mp27 .mp27-table { overflow-x: auto; }
#mp27 .mp27-table table { width: 100%; border-collapse: collapse; border: 0; margin: 0; font-size: 15px; }
#mp27 .mp27-table th { background: var(--flame); color: #fff; text-align: left; padding: 12px 16px; font: 700 14px Raleway, Helvetica, Arial, sans-serif; border: 0; }
#mp27 .mp27-table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
#mp27 .mp27-statut { font-weight: 700; color: var(--flame); font-size: 15px; }
#mp27 .mp27-day { font-size: 20px; margin: 30px 0 14px; color: var(--flame); }
#mp27 .mp27-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#mp27 .mp27-act { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; background: #fff; }
#mp27 .mp27-act h4 { font-size: 19px; margin-bottom: 4px; }
#mp27 .mp27-tag { display: inline-block; font: 600 12px "Open Sans", Arial, sans-serif; background: var(--soft); color: var(--flame); border-radius: 12px; padding: 2px 10px; margin-bottom: 10px; }
#mp27 .mp27-act dl, #mp27 .mp27-prop dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 8px 0 14px; font-size: 15px; line-height: 1.55; }
#mp27 .mp27-act dt, #mp27 .mp27-prop dt { font-weight: 700; color: var(--ink); }
#mp27 .mp27-act dd, #mp27 .mp27-prop dd { margin: 0; }

/* Formulaire */
#mp27 .mp27-form { max-width: 820px; margin: 0 auto; }
#mp27 .mp27-fs { border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; margin-bottom: 20px; background: #fff; }
#mp27 .mp27-fs--last { background: var(--soft); }
#mp27 .mp27-cond { border-left: 4px solid var(--orange); }
#mp27 .mp27-cond[hidden] { display: none; }
#mp27 .mp27-choices { display: grid; gap: 10px; margin-top: 12px; }
#mp27 .mp27-choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; cursor: pointer; font-size: 16px; line-height: 1.5; }
#mp27 .mp27-choice:has(input:checked) { border-color: var(--orange); background: var(--soft); }
#mp27 .mp27-choice input { margin-top: 5px; }
#mp27 .mp27-field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
#mp27 .mp27-field label, #mp27 .mp27-field legend { display: block; font: 700 15px Raleway, Helvetica, Arial, sans-serif; color: var(--ink); margin-bottom: 6px; padding: 0; }
#mp27 .mp27-field input[type=text], #mp27 .mp27-field input[type=email], #mp27 .mp27-field input[type=password], #mp27 .mp27-field input[type=date], #mp27 .mp27-field input[type=url], #mp27 .mp27-field select, #mp27 .mp27-field textarea {
	width: 100%; font: 400 16px/1.5 "Open Sans", Arial, sans-serif; color: var(--ink); background: #fff; border: 1px solid #cfc5bc; border-radius: 6px; padding: 10px 12px; margin: 0;
}
#mp27 .mp27-field input:focus, #mp27 .mp27-field select:focus, #mp27 .mp27-field textarea:focus, #mp27 .mp27-choice:focus-within { outline: 2px solid var(--orange); outline-offset: 1px; }
#mp27 .mp27-hint { display: block; font-size: 14px; color: #777; line-height: 1.5; margin: 0 0 8px; font-style: italic; }
#mp27 .mp27-req { color: var(--red); }
#mp27 .mp27-opt { font: 400 13px "Open Sans", Arial, sans-serif; color: #888; }
#mp27 .mp27-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
#mp27 .mp27-opts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
#mp27 .mp27-opts--cols { display: grid; grid-template-columns: repeat(3, 1fr); }
#mp27 .mp27-opt-i { display: inline-flex !important; gap: 8px; align-items: center; font: 400 15px "Open Sans", Arial, sans-serif !important; color: var(--text) !important; margin: 0 !important; cursor: pointer; }
#mp27 .mp27-err { color: var(--red); font-weight: 600; font-size: 14px; margin: 6px 0 0; }
#mp27 .mp27-alert { background: #fdecea; border-left: 4px solid var(--red); color: #7a1b12; padding: 14px 18px; border-radius: 0 8px 8px 0; margin-bottom: 20px; }
#mp27 .mp27-ok { background: #eaf7f0; border-left: 4px solid #3fae7d; color: #1d5e40; padding: 14px 18px; border-radius: 0 8px 8px 0; margin-bottom: 20px; }
#mp27 .mp27-privacy { font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
#mp27 .mp27-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#mp27 .mp27-thanks { max-width: 720px; margin: 0 auto; text-align: center; background: var(--soft); border-radius: 12px; padding: 40px 32px; border-top: 4px solid var(--orange); }
#mp27 .mp27-thanks h2 { margin-bottom: 14px; }

/* Gestion */
#mp27.mp27--gestion { padding: 40px 0; background: transparent; }
#mp27 .mp27-g { max-width: 1000px; margin: 0 auto; }
#mp27 .mp27-g__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
#mp27 .mp27-g__links { font-size: 14px; margin-bottom: 20px; }
#mp27 .mp27-g__tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 24px; }
#mp27 .mp27-g__tabs a { padding: 10px 14px; font: 700 14px Raleway, Helvetica, Arial, sans-serif; color: var(--ink); text-decoration: none; border-radius: 6px 6px 0 0; margin-bottom: -2px; border-bottom: 2px solid transparent; }
#mp27 .mp27-g__tabs a.is-current { color: var(--flame); border-bottom-color: var(--flame); background: var(--soft); }
#mp27 .mp27-count { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 11px; background: var(--flame); color: #fff; font-size: 12px; text-align: center; }
#mp27 .mp27-g__sec { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
#mp27 .mp27-g__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
#mp27 .mp27-g__save { position: sticky; bottom: 0; background: rgba(255,255,255,.95); padding: 14px 0; border-top: 1px solid var(--line); text-align: right; z-index: 2; }
#mp27 .mp27-gridf, #mp27 .mp27-rep__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
#mp27 .mp27-field--wide { grid-column: 1 / -1; }
#mp27 .mp27-rep__row { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; background: #fffdfb; }
#mp27 .mp27-rep__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--soft); border-radius: 10px 10px 0 0; }
#mp27 .mp27-rep__title { font-family: Raleway, Helvetica, Arial, sans-serif; color: var(--ink); }
#mp27 .mp27-rep__tools { display: flex; gap: 6px; }
#mp27 .mp27-rep__tools button, #mp27 .mp27-linkbtn { font: 600 13px "Open Sans", Arial, sans-serif; border: 1px solid #cfc5bc; background: #fff; border-radius: 4px; padding: 4px 10px; cursor: pointer; color: var(--ink); }
#mp27 .mp27-rep__tools .is-del, #mp27 .mp27-linkbtn { color: var(--red); }
#mp27 .mp27-rep__fields { padding: 16px 14px 2px; }
#mp27 .mp27-photo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
#mp27 .mp27-thumb { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
#mp27 .mp27-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
#mp27 .mp27-stats li { background: var(--soft); border-radius: 8px; padding: 6px 12px; font-size: 14px; }
#mp27 .mp27-stats b { color: var(--flame); font-size: 17px; }
#mp27 .mp27-prop { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
#mp27 .mp27-prop summary { padding: 12px 16px; cursor: pointer; }
#mp27 .mp27-prop__in { padding: 4px 18px 18px; border-top: 1px solid var(--line); }
#mp27 .mp27-prop h4 { font-size: 16px; margin: 14px 0 4px; color: var(--flame); }
#mp27 .mp27-prop__f { display: grid; grid-template-columns: 220px 1fr; gap: 0 16px; align-items: start; background: var(--soft); border-radius: 8px; padding: 14px 14px 0; margin-top: 10px; }
#mp27 .mp27-prop__f p { grid-column: 1 / -1; margin-bottom: 14px; }
#mp27 .mp27-prop__d { margin-top: 10px; text-align: right; }
#mp27 .mp27-badge { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 10px; padding: 1px 9px; color: #fff; background: #888; }
#mp27 .mp27-badge--nouveau { background: var(--flame); }
#mp27 .mp27-badge--contacte { background: var(--teal); }
#mp27 .mp27-badge--confirme { background: #3fae7d; }
#mp27 .mp27-login { max-width: 460px; margin: 20px auto; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 12px; padding: 32px; }

/* Mobile */
@media (max-width: 860px) {
	#mp27 .mp27-grid3, #mp27 .mp27-cards3, #mp27 .mp27-miss { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	body.mp27-page #main-content .container { width: 100%; }
	body.mp27-page #mp27:not(.mp27--gestion) { margin-top: -58px; }
	#mp27 .mp27-hero { min-height: 380px; }
	#mp27 .mp27-hero__in, #mp27 .mp27-band, #mp27 .mp27-subnav, #mp27 .mp27-sec, #mp27 .mp27-soft, #mp27 .mp27-flame, #mp27 .mp27-prayer, #mp27 .mp27-also { padding-left: 20px; padding-right: 20px; }
	#mp27 .mp27-hero__in { max-width: none; padding-top: 32px; padding-bottom: 28px; }
	#mp27 .mp27-sec, #mp27 .mp27-soft, #mp27 .mp27-flame, #mp27 .mp27-prayer { padding-top: 40px; padding-bottom: 40px; }
	#mp27 .mp27-sec--flush { padding-top: 0; }
	#mp27 .mp27-facts, #mp27 .mp27-two, #mp27 .mp27-grid2, #mp27 .mp27-grid3, #mp27 .mp27-cards3, #mp27 .mp27-miss, #mp27 .mp27-goals, #mp27 .mp27-acts, #mp27 .mp27-row, #mp27 .mp27-gridf, #mp27 .mp27-rep__fields, #mp27 .mp27-prop__f { grid-template-columns: 1fr; }
	#mp27 .mp27-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
	#mp27 .mp27-opts--cols { grid-template-columns: 1fr 1fr; }
	#mp27 .mp27-act dl, #mp27 .mp27-prop dl { grid-template-columns: 1fr; gap: 0; }
	#mp27 .mp27-act dd, #mp27 .mp27-prop dd { margin-bottom: 8px; }
	#mp27 .mp27-fs { padding: 20px 18px; }
	#mp27 .mp27-table thead { display: none; }
	#mp27 .mp27-table tr, #mp27 .mp27-table td { display: block; }
	#mp27 .mp27-table td { border: 0; padding: 4px 0; }
	#mp27 .mp27-table td::before { content: attr(data-l); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #999; }
	#mp27 .mp27-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
	#mp27 .mp27-subnav__id { width: 100%; }
	#mp27 .mp27-subnav ul { margin-left: 0; }
}

/* ---------- Programme jour par jour ---------- */
#mp27 .mp27-days ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 14px; }
#mp27 .mp27-days a { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: #fff; line-height: 1.2; }
#mp27 .mp27-days a span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #888; }
#mp27 .mp27-days a b { font: 800 20px Raleway, Helvetica, Arial, sans-serif; color: var(--flame); }
#mp27 .mp27-days a:hover { border-color: var(--orange); background: var(--soft); }
#mp27 .mp27-cal { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--teal); }
#mp27 .mp27-cal:hover { text-decoration: underline; }
#mp27 .mp27-cal--all { font-size: 14px; }
#mp27 .mp27-daily { background: var(--soft); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 26px 0; }
#mp27 .mp27-daily h3 { font-size: 19px; margin-bottom: 10px; }
#mp27 .mp27-daily ul, #mp27 .mp27-mo ul { margin: 0; }
#mp27 .mp27-daily li, #mp27 .mp27-mo li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 9px 0; border-top: 1px dashed var(--line); }
#mp27 .mp27-daily li:first-child, #mp27 .mp27-mo li:first-child { border-top: 0; }
#mp27 .mp27-daily .mp27-small { margin-top: 10px; }
#mp27 .mp27-t { font: 800 15px/1.5 Raleway, Helvetica, Arial, sans-serif; color: var(--flame); white-space: nowrap; }
#mp27 .mp27-ev { display: flex; flex-direction: column; line-height: 1.5; }
#mp27 .mp27-ev strong { color: var(--ink); font-size: 16px; }
#mp27 .mp27-where { font-size: 14px; color: #777; }
#mp27 .mp27-where::before { content: "📍 "; font-size: 12px; }
#mp27 .mp27-what { font-size: 14.5px; margin-top: 2px; }
#mp27 .mp27-more { display: flex; flex-direction: column; font-size: 14px; margin-top: 2px; }
#mp27 .mp27-acts-l { display: flex; gap: 14px; margin-top: 4px; }
#mp27 .mp27-acts-l a { font-size: 13px; font-weight: 600; }
#mp27 .mp27-tbc { display: inline-block; align-self: flex-start; font: 700 11px "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #8a5a00; background: #fff1d6; border-radius: 10px; padding: 1px 8px; margin: 2px 0; }
#mp27 .mp27-dayc { border: 1px solid var(--line); border-radius: 14px; margin: 0 0 18px; overflow: hidden; background: #fff; scroll-margin-top: 120px; }
#mp27 .mp27-dayc header { background: var(--flame); color: #fff; padding: 14px 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
#mp27 .mp27-dayc header h3 { color: #fff; font-size: 21px; }
#mp27 .mp27-dayc header p { color: #fff; opacity: .9; font: italic 500 15px Raleway, Helvetica, Arial, sans-serif; margin: 0; }
#mp27 .mp27-mo { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--line); }
#mp27 .mp27-dayc header + .mp27-mo { border-top: 0; }
#mp27 .mp27-mo h4 { font: 700 12px "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: #999; padding-top: 12px; }
#mp27 .mp27-mo li { grid-template-columns: 110px 1fr; }
#mp27 .mp27-subnav { justify-content: flex-start; }

/* ---------- Bandeau de la page d'accueil ---------- */
#mp27.mp27--banner { margin: 0; background: linear-gradient(90deg, #fff7ef, #fde3cc); border-bottom: 3px solid var(--orange); }
#mp27 .mp27-banner { width: 80%; max-width: 1080px; margin: 0 auto; padding: 22px 0; display: flex; align-items: center; gap: 28px; }
#mp27 .mp27-banner__logo { flex: none; }
#mp27 .mp27-banner__logo img { display: block; width: 130px; height: auto; border-radius: 16px; background: #fff; padding: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
#mp27 .mp27-banner__txt p { margin: 0; }
#mp27 .mp27-banner__k { font: 700 12px "Open Sans", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
#mp27 .mp27-banner__t { font: 800 clamp(24px, 3.2vw, 34px)/1.15 Raleway, Helvetica, Arial, sans-serif; color: var(--ink); margin: 4px 0 !important; }
#mp27 .mp27-banner__s { font: italic 500 17px/1.45 Raleway, Helvetica, Arial, sans-serif; color: var(--flame); }
#mp27 .mp27-banner__s span { font: 700 11px "Open Sans", Arial, sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #a0785c; }
#mp27 .mp27-banner__b { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }

@media (max-width: 680px) {
	#mp27 .mp27-daily, #mp27 .mp27-mo { padding-left: 16px; padding-right: 16px; }
	#mp27 .mp27-mo { grid-template-columns: 1fr; gap: 0; }
	#mp27 .mp27-mo h4 { padding-top: 4px; }
	#mp27 .mp27-daily li, #mp27 .mp27-mo li { grid-template-columns: 1fr; gap: 0; }
	#mp27 .mp27-dayc header { padding: 12px 16px; }
	#mp27 .mp27-banner { width: auto; padding: 18px 20px; gap: 16px; align-items: flex-start; }
	#mp27 .mp27-banner__logo img { width: 84px; }
	#mp27 .mp27-banner__s { font-size: 15px; }
	#mp27 .mp27-banner .mp27-btn { padding: 8px 12px; font-size: 12px; }
}

/* ---------- Barre de la mission (à la place du menu du site) ---------- */
#mp27 .mp27-top { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 3px solid var(--orange); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
#mp27 .mp27-top__pre { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 5px 24px; background: var(--soft); font: 600 12px Raleway, Helvetica, Arial, sans-serif; color: #666; }
#mp27 .mp27-top__pre a { color: #666; text-decoration: none; white-space: nowrap; font-family: "Open Sans", Arial, sans-serif; }
#mp27 .mp27-top__pre a:hover { color: var(--flame); }
#mp27 .mp27-top__bar { display: flex; align-items: center; gap: 8px 20px; padding: 8px 24px; }
#mp27 .mp27-top__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
#mp27 .mp27-top__brand img { width: 44px; height: 44px; border-radius: 8px; }
#mp27 .mp27-top__brand b { font: 800 17px Raleway, Helvetica, Arial, sans-serif; color: var(--flame); white-space: nowrap; }
#mp27 .mp27-top__nav { margin-left: auto; }
#mp27 .mp27-top__nav ul { display: flex; gap: 2px; margin: 0; }
#mp27 .mp27-top__nav a { display: inline-block; padding: 7px 13px; border-radius: 20px; font: 700 14px Raleway, Helvetica, Arial, sans-serif; color: var(--ink); text-decoration: none; white-space: nowrap; }
#mp27 .mp27-top__nav a:hover { background: var(--soft); }
#mp27 .mp27-top__nav a.is-current { background: var(--flame); color: #fff; }
@media (max-width: 980px) {
	#mp27 .mp27-top__bar { flex-wrap: wrap; }
	#mp27 .mp27-top__nav { width: 100%; margin-left: 0; }
}
@media (max-width: 680px) {
	#mp27 .mp27-top { top: 0; }
	#mp27 .mp27-top__pre { padding: 4px 12px; font-size: 11px; }
	#mp27 .mp27-top__bar { padding: 6px 12px; gap: 4px; }
	#mp27 .mp27-top__brand img { width: 34px; height: 34px; }
	#mp27 .mp27-top__brand b { font-size: 15px; }
	#mp27 .mp27-top__nav ul { justify-content: space-between; }
	#mp27 .mp27-top__nav a { padding: 6px 9px; font-size: 13px; }
	#mp27 .mp27-long { display: none; }
}
@media (max-width: 400px) {
	#mp27 .mp27-top__nav a { padding: 6px 6px; font-size: 12.5px; }
	#mp27 .mp27-top__nav ul { overflow-x: auto; }
	#mp27 .mp27-top__pre { font-size: 10.5px; }
}
