
/* Mother Prayer shared visual language; scoped to baby/silver/faith pages. */
.mdc-ministry-shell{box-sizing:border-box;max-width:920px;margin:0 auto;padding:54px 18px 90px;color:#222;min-height:400px}
.mdc-ministry-shell *,.mdc-ministry-overlay *{box-sizing:border-box}
.mdc-ministry-shell [hidden],.mdc-ministry-overlay[hidden],.mdc-ministry-shell .mdc-ministry-empty[hidden]{display:none!important}
.mdc-ministry-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px;padding-bottom:24px;border-bottom:1px solid #e8e3e5;flex-wrap:wrap}
.mdc-ministry-head .mpm-kicker{display:block;margin-bottom:7px;color:#9a3655;font-size:10px;font-weight:800;letter-spacing:.15em}
.mdc-ministry-head h1{margin:0;font-size:40px;line-height:1.1;letter-spacing:-.045em}
.mdc-ministry-head p{max-width:460px;margin:0;color:#666;font-size:14px;line-height:1.75;word-break:keep-all}
.mdc-ministry-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 auto 18px;max-width:680px;flex-wrap:wrap}
.mdc-ministry-actions button{border:1px solid #d8d8d8;border-radius:999px;background:#fff;color:#444;padding:10px 15px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.mdc-ministry-actions .mpm-new-post{background:#9a3655;color:#fff;border-color:#9a3655}
.mdc-ministry-shell .mpm-loginbox{max-width:680px;margin:0 auto 28px;border:1px solid #e8e3e5;border-radius:18px;background:#fff;overflow:hidden;display:none;box-shadow:0 8px 26px rgba(0,0,0,.035)}
.mdc-ministry-shell .mpm-loginbox.is-open{display:block}
.mdc-ministry-shell .mpm-loginhead{padding:15px 18px;background:#faf7f8;border-bottom:1px solid #e8e3e5;font-weight:800;font-size:14px}
.mdc-ministry-shell .mpm-loginbody{padding:18px}
.mdc-ministry-shell .mpm-login-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.mdc-ministry-shell .mpm-login-grid input{width:100%;padding:12px 13px;border:1px solid #ddd;border-radius:10px;font:inherit;font-size:13px}
.mdc-ministry-shell .mpm-login-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.mdc-ministry-shell .mpm-login-foot label{font-size:11px;color:#777}
.mdc-ministry-shell .mpm-login-foot button{border:0;border-radius:10px;background:#9a3655;color:#fff;padding:10px 18px;font-weight:800;cursor:pointer}
.mdc-ministry-private{padding:12px 15px;background:#faf7f8;border-radius:12px;color:#777;font-size:12px}
.mdc-ministry-error{color:#a72445;font-size:12px}
.mdc-ministry-notice{max-width:680px;margin:0 auto 16px;padding:11px 14px;border-radius:10px;background:#faf7f8;color:#753047;font-size:12px}
.mdc-ministry-intro-form{display:block;max-width:680px;margin:0 auto 24px;border:1px solid #e8e3e5;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.mdc-ministry-intro-form[hidden]{display:none!important}
.mdc-ministry-intro-form .mpm-compose-head{display:flex;justify-content:space-between;align-items:center;background:#faf7f8;padding:16px 18px;border-bottom:1px solid #e8e3e5}
.mdc-ministry-intro-form .mpm-compose-head strong{font-size:15px}
.mdc-ministry-intro-form .mpm-compose-head span{font-size:10px;color:#9a3655;font-weight:800;letter-spacing:.09em}
.mdc-ministry-intro-form .mpm-compose-body{padding:18px}
.mdc-ministry-intro-form .mpm-field{margin-bottom:15px}
.mdc-ministry-intro-form .mpm-field label{display:block;margin-bottom:7px;font-size:12px;font-weight:800;color:#444}
.mdc-ministry-intro-form input[type=text],.mdc-ministry-intro-form textarea{width:100%;border:1px solid #ddd;border-radius:11px;background:#fff;padding:12px 13px;font:inherit;font-size:14px;line-height:1.7}
.mdc-ministry-intro-form .mpm-compose-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:15px;border-top:1px solid #eee}
.mdc-ministry-intro-form .mpm-compose-status{font-size:11px;color:#888;line-height:1.5;margin:0}
.mdc-ministry-intro-form .mpm-compose-buttons{display:flex;gap:8px}
.mdc-ministry-intro-form .mpm-compose-buttons button{border:1px solid #ddd;border-radius:10px;background:#fff;padding:10px 15px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.mdc-ministry-intro-form .mpm-compose-buttons .mpm-save{border-color:#9a3655;background:#9a3655;color:#fff}
.mdc-ministry-shell .mpm-note{max-width:680px;margin:0 auto 20px;padding:13px 15px;border-radius:12px;background:#faf7f8;color:#777;font-size:11px;line-height:1.7}
.mdc-ministry-compose{display:block;max-width:680px;margin:0 auto 26px;border:1px solid #e8e3e5;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.mdc-ministry-compose[hidden]{display:none}
.mdc-ministry-compose .mpm-compose-head{display:flex;justify-content:space-between;align-items:center;background:#faf7f8;padding:16px 18px;border-bottom:1px solid #e8e3e5}
.mdc-ministry-compose .mpm-compose-head strong{font-size:15px}.mdc-ministry-compose .mpm-compose-head span{font-size:10px;color:#9a3655;font-weight:800;letter-spacing:.09em}
.mdc-ministry-compose .mpm-compose-body{padding:18px}.mdc-ministry-compose .mpm-field{margin-bottom:18px}
.mdc-ministry-compose .mpm-field>label:first-child{display:block;font-weight:800;font-size:12px;color:#444;margin:0 0 8px}
.mdc-ministry-compose #mdcPostTitle{display:block;width:100%;padding:12px 13px;font:inherit;font-size:15px;border:1px solid #ddd;border-radius:11px;background:white}
.mdc-ministry-editor{min-height:180px;width:100%;border:1px solid #ddd;border-radius:0 0 11px 11px;padding:14px;font-size:17px;line-height:1.75;background:white;overflow-wrap:anywhere}
.mdc-ministry-editor:empty:before{content:attr(data-placeholder);color:#999;pointer-events:none}
.mdc-ministry-toolbar{border:1px solid #ddd;border-bottom:0;background:#faf7f8;padding:6px 8px;border-radius:11px 11px 0 0;display:flex;flex-wrap:wrap;gap:5px}
.mdc-ministry-toolbar button{background:#fff;border:1px solid #e8e3e5;border-radius:6px;font-size:12px;color:#63384a;padding:6px 10px;cursor:pointer}
.mdc-ministry-compose .mpm-upload{display:block;border:1px dashed #cdbbc1;border-radius:14px;padding:20px;text-align:center;background:#fcfafb;cursor:pointer}
.mdc-ministry-compose .mpm-upload input{display:none}.mdc-ministry-compose .mpm-upload strong{display:block;font-size:14px;margin-bottom:4px}
.mdc-ministry-compose .mpm-upload span{font-size:11px;line-height:1.6;color:#888}
.mdc-ministry-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.mdc-ministry-photo{position:relative;border:1px solid #eadfe3;border-radius:10px;overflow:hidden;background:#faf7f8;min-width:0}
.mdc-ministry-photo img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.mdc-ministry-photo .mdc-cover-badge{position:absolute;left:5px;top:5px;background:#9a3655;color:#fff;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800}
.mdc-ministry-photo .mdc-photo-remove{position:absolute;right:5px;top:5px;width:25px;height:25px;border:0;border-radius:50%;background:#000b;color:#fff;font-size:20px;cursor:pointer}
.mdc-ministry-photo .mdc-photo-order{display:flex;background:#fff;justify-content:space-between;padding:4px}
.mdc-ministry-photo .mdc-photo-order button{border:0;border-radius:4px;background:#faf7f8;color:#934159;padding:3px 8px;cursor:pointer;font-size:12px}
.mdc-ministry-photo.mdc-dragged{opacity:.45}
.mdc-ministry-compose .mpm-compose-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;padding-top:14px;gap:12px}
.mdc-ministry-compose .mpm-compose-status{font-size:11px;line-height:1.6;color:#777;margin:0}
.mdc-ministry-compose .mpm-compose-buttons{display:flex;gap:8px}
.mdc-ministry-compose .mpm-compose-buttons button{font:inherit;font-size:12px;font-weight:800;border:1px solid #ddd;background:#fff;border-radius:10px;padding:10px 15px;cursor:pointer}
.mdc-ministry-compose .mpm-compose-buttons .mpm-save{background:#9a3655;border-color:#9a3655;color:#fff}
.mdc-ministry-compose button:disabled{opacity:.55;cursor:wait}
.mdc-ministry-board{margin:0 auto;width:100%}
.mdc-group-grid{display:block}
.mdc-group-section{margin:0 0 34px}
.mdc-board-divider{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:10px 0 9px;border-bottom:1px solid #d9c5cc;color:#9a3655;font-size:15px;font-weight:800;letter-spacing:-.02em}
.mdc-board-divider span{flex:1}
.mdc-board-divider button{border:1px solid #d9c5cc;background:#fff;color:#753047;border-radius:8px;padding:7px 10px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.mdc-group-handle{cursor:grab!important;touch-action:none}
.mdc-group-empty{grid-column:1/-1;margin:12px 0 24px;padding:18px 0;color:#999;font-size:12px;text-align:center}
.mdc-board-bar{max-width:920px;margin:0 auto 22px;padding:14px;border:1px solid #eadfe3;border-radius:12px;background:#fcfafb}
.mdc-board-tools{display:flex;flex-wrap:wrap;gap:8px}
.mdc-board-tools button{border:1px solid #d9c5cc;background:#fff;color:#753047;padding:8px 12px;border-radius:8px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.mdc-board-tools .mdc-board-primary{background:#9a3655;color:#fff;border-color:#9a3655}
.mdc-board-tools .mdc-board-danger{color:#a52c31}
.mdc-board-status{margin:9px 0 0;color:#775d65;font-size:11px}
.mdc-board-check{position:absolute;left:8px;top:8px;z-index:4;display:flex;align-items:center;gap:5px;border-radius:7px;padding:5px 7px;background:#fff;color:#333;font-size:11px;box-shadow:0 2px 8px #0002;cursor:pointer}
.mdc-board-check input{width:17px;height:17px;margin:0;accent-color:#9a3655}
.mdc-board-ghost{opacity:.28}
.mdc-board-chosen{outline:2px solid #9a3655;border-radius:12px}
.mdc-managing .mdc-ministry-card{cursor:grab}
.mdc-ministry-compose #mdcPostGroup{display:block;width:100%;padding:12px 13px;border:1px solid #ddd;border-radius:11px;background:#fff;font:inherit;font-size:14px}
.mdc-ministry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}
.mdc-ministry-grid .ib-card{display:block;background:transparent;border:0;box-shadow:none;overflow:visible;cursor:pointer;min-width:0;margin:0;outline-offset:4px}
.mdc-ministry-grid .ib-card__img-wrap{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:12px;background:#f2f2f2;display:flex;align-items:center;justify-content:center}
.mdc-ministry-grid .ib-card__img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.mdc-ministry-grid .ib-card:hover .ib-card__img{transform:scale(1.025)}
.mdc-ministry-grid .mdc-board-no-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#9a3655;background:#f5edf0;font-size:16px}
.mdc-ministry-grid .ib-card__title[hidden]{display:none!important}
.mdc-ministry-grid .mpm-card-title-below{display:block;padding:9px 2px 0;color:#222;font-size:14px;font-weight:700;line-height:1.45;letter-spacing:-.02em;text-align:left;word-break:keep-all}
.mdc-ministry-empty{grid-column:1/-1;margin:30px auto;text-align:center;color:#999;font-size:13px}
.mdc-ministry-more{text-align:center;margin:25px auto 0}
.mdc-ministry-more button{border:1px solid #dacdd2;border-radius:999px;background:#fff;color:#9a3655;font:inherit;font-weight:800;font-size:12px;padding:10px 20px;cursor:pointer}
.mdc-ministry-more p{font-size:12px;color:#777;margin:6px 0}
#mdcScrollSentinel{height:3px}
.mdc-ministry-overlay{position:fixed;inset:0;z-index:1000005;display:flex;align-items:center;justify-content:center;padding:16px;background:#000b}
.mdc-ministry-modal{position:relative;width:min(760px,100%);max-height:92dvh;overflow:auto;overscroll-behavior:contain;background:#fff;border-radius:16px}
.mdc-ministry-modal-close{position:sticky;float:right;top:9px;right:9px;z-index:20;background:#fffd;color:#333;border:0;border-radius:50%;font-size:26px;line-height:36px;width:38px;height:38px;cursor:pointer}
.mdc-ministry-detail-media{position:relative;background:#111;width:100%;clear:both}
.mdc-ministry-detail-stage{width:100%;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:pan-y}
.mdc-ministry-detail-stage img{display:block;width:100%;height:100%;object-fit:contain}
.mdc-ministry-detail-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:40px;height:40px;background:#0009;color:white;font-size:28px;cursor:pointer;z-index:2}
.mdc-ministry-detail-prev{left:12px}.mdc-ministry-detail-next{right:12px}
.mdc-ministry-detail-count{position:absolute;right:12px;top:12px;border-radius:999px;color:#fff;background:#0009;padding:5px 10px;font-size:12px}
.mdc-ministry-detail-content{padding:20px 24px 30px}
.mdc-ministry-detail-content time{font-size:12px;color:#999}
.mdc-ministry-detail-content h2{font-size:23px;line-height:1.38;margin:9px 0 17px;letter-spacing:-.03em;word-break:keep-all}
.mdc-ministry-detail-body{font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.mdc-ministry-detail-body p{margin:0 0 1em}.mdc-ministry-detail-body span{font-size:inherit}
.mdc-ministry-detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}
.mdc-ministry-detail-actions button{background:white;color:#9a3655;border:1px solid #d9c5cc;border-radius:9px;padding:9px 16px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.mdc-ministry-detail-actions button.danger{color:#a52b38}
@media(max-width:720px){
 .mdc-ministry-shell{padding:34px 12px 70px}.mdc-ministry-head h1{font-size:32px}.mdc-ministry-head p{max-width:100%}
 .mdc-ministry-grid{gap:16px 10px}.mdc-ministry-card h3{font-size:13px}
 .mdc-ministry-overlay{padding:7px}.mdc-ministry-modal{max-height:95dvh}.mdc-ministry-detail-content{padding:18px 16px 25px}
 .mdc-ministry-detail-content h2{font-size:20px}.mdc-ministry-detail-arrow{width:34px;height:34px}
}
@media(max-width:520px){
 .mdc-ministry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mdc-ministry-shell .mpm-login-grid{grid-template-columns:1fr}
 .mdc-ministry-preview{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mdc-ministry-compose .mpm-compose-foot{align-items:stretch;flex-direction:column}
 .mdc-ministry-compose .mpm-compose-buttons button{flex:1}
}
/* Native hidden state remains authoritative even if theme styles change. */
.mdc-ministry-shell #mdcLoginPanel[hidden],.mdc-ministry-overlay [hidden]{display:none!important}
.mdc-photo-preview{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.mdc-photo-handle{touch-action:none;cursor:grab!important;font-size:22px!important}
.mdc-photo-zoom{display:block;width:100%;max-height:85dvh;object-fit:contain;background:#111;clear:both}
.mdc-ministry-detail-body[role=button]{cursor:text}
.mdc-ministry-head p strong,.mdc-ministry-shell .mpm-note strong{color:#9a3655}
.mdc-ministry-editor,.mdc-ministry-detail-body{white-space:pre-wrap}
