/* ===================== */
/* CREDENTIALS BASE      */
/* ===================== */
.umf-cred-section{padding:55px 0;background:var(--umf-ivory);scroll-margin-top:24px}
.umf-cred-section h2,.umf-cred-pathways h2,.umf-cred-cta h2,.umf-cred-intro h2{font:400 clamp(1.65rem,2.6vw,2.35rem)/1.25 var(--umf-serif);margin:0 0 20px}
.umf-cred-section p,.umf-cred-pathways p{line-height:1.7;font-size:.95rem}
.umf-cred-heading{text-align:center;margin:0 auto 30px;max-width:1050px}
.umf-cred-heading h2{margin-bottom:12px}
.umf-cred-heading p{margin:0;color:var(--umf-muted)}
.umf-cred-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* ===================== */
/* HERO & INTRO         */
/* ===================== */
.umf-cred-hero{background:linear-gradient(90deg,#061827 0%,rgba(6,24,39,.96) 35%,rgba(6,24,39,.2) 100%),url('/assets/img/home/umf-minister-congregation.png') right 42%/auto 125% no-repeat,#061827;color:#fff;padding:22px 0 55px}
.umf-cred-crumb{display:flex;gap:16px;font-size:.75rem;margin-bottom:40px}
.umf-cred-crumb a{text-decoration:underline;text-underline-offset:4px}
.umf-cred-hero-copy{max-width:830px}
.umf-cred-hero h1{font:400 clamp(2rem,3.8vw,3.4rem)/1.18 var(--umf-serif);color:#fff;margin:15px 0 20px}
.umf-cred-hero h1 span{color:var(--umf-gold-light)}
.umf-cred-hero .umf-eyebrow{color:var(--umf-gold-light)}
.umf-cred-hero-copy>p:last-of-type{font:1.2rem/1.6 var(--umf-editorial);margin:0 0 25px}
.umf-cred-actions{display:flex;flex-wrap:wrap;gap:16px}
.umf-cred-outline{border-color:var(--umf-gold);color:#fff}
.umf-cred-outline:hover{background:#18374b}
.umf-cred-intro{background:#fff;padding:32px 0}
.umf-cred-intro>.umf-container{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:center}
.umf-cred-intro h2{margin:0;border-right:1px solid var(--umf-gold);padding-right:30px}
.umf-cred-intro p{margin:0;line-height:1.7;color:var(--umf-muted)}
/* ===================== */
/* CREDENTIAL CARDS      */
/* ===================== */
.umf-cred-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start}
.umf-cred-card{position:relative;padding:24px 20px 20px;text-align:center;border:1px solid var(--umf-line);background:#fff;min-height:300px}
.umf-cred-number{position:absolute;top:14px;left:12px;color:var(--umf-gold-dark);font-size:.65rem;font-weight:700;text-transform:uppercase}
.umf-cred-icon{width:46px;height:46px;margin:4px auto 12px;color:#957024}
.umf-cred-icon svg{width:100%;height:100%}
.umf-cred-card .umf-cred-code{font:2rem/1 var(--umf-serif);margin:8px 0;color:var(--umf-navy)}
.umf-cred-card h3{font:600 1rem/1.4 var(--umf-editorial);margin:10px 0}
.umf-cred-card>p:not(.umf-cred-code){font-size:.83rem;line-height:1.5;min-height:58px;margin:0 0 16px}
.umf-cred-card details{text-align:left;border-top:1px solid var(--umf-line);padding-top:12px}
.umf-cred-card summary{font-size:.72rem;font-weight:600;color:var(--umf-gold-dark);cursor:pointer;text-transform:uppercase;letter-spacing:.04em}
.umf-cred-card details p{font-size:.83rem;line-height:1.65;margin:12px 0 0}
.umf-cred-card.umf-cred-advanced{background:linear-gradient(120deg,#fbf4df,#eddaa4);border-color:#d4b86f}
/* ===================== */
/* PATHWAY OVERVIEW      */
/* ===================== */
.umf-cred-pathways{padding:55px 0;background:linear-gradient(115deg,#061827,#0d3047);color:#fff;scroll-margin-top:20px}
.umf-cred-pathways h2{color:#fff;font-size:clamp(2rem,3vw,2.8rem)}
.umf-cred-pathways h2 span,.umf-cred-pathways .umf-eyebrow{color:var(--umf-gold-light)}
.umf-cred-path-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:50px;align-items:center}
.umf-cred-path-grid>div:first-child p:not(.umf-eyebrow){max-width:390px;color:#e0e7ed}
.umf-cred-flow{text-align:center;font-size:.78rem}
.umf-cred-flow-node{background:#f6f4ed;color:var(--umf-navy);padding:12px 18px;max-width:470px;margin:auto;border:1px solid #d8bf83}
.umf-cred-flow-node strong{display:block;font-size:.88rem;text-transform:uppercase}
.umf-cred-flow-node span{display:block;font-size:.75rem;margin-top:4px}
.umf-cred-flow-gold{background:linear-gradient(110deg,#faedc9,#d9b35e)}
.umf-cred-flow-arrow{color:var(--umf-gold-light);font-size:1.25rem;line-height:1.2;margin:2px 0}
.umf-cred-branches{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.umf-cred-branches>div{background:#f7f5f0;color:var(--umf-navy);border-top:3px solid var(--umf-gold);padding:16px 8px;font-size:.72rem;line-height:1.5}
.umf-cred-branches strong{display:block;margin-top:8px;font-size:.95rem}
.umf-cred-flow .umf-cred-review{font-size:.75rem;color:var(--umf-gold-light);margin:14px 0}
.umf-cred-pathways .umf-cred-rule{border:1px solid var(--umf-gold);padding:14px 20px;margin:30px 0 0;text-align:center;color:var(--umf-gold-light);font-size:.88rem}
/* ===================== */
/* EXPERIENCE & PROCESS */
/* ===================== */
.umf-cred-experience{display:grid;grid-template-columns:.85fr 1.15fr;gap:40px;align-items:center}
.umf-cred-experience img{display:block;width:100%;height:320px;object-fit:cover}
.umf-cred-experience ul{padding-left:20px;font-size:.9rem;line-height:1.8}
.umf-cred-experience .umf-cred-experience-note{padding:12px 16px;background:#efe2bd;font-size:.82rem;color:#674710;margin:20px 0 0}
.umf-cred-process{background:#fff;border-top:1px solid var(--umf-line)}
.umf-cred-process ol{counter-reset:steps;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;list-style:none;padding:0;margin:0}
.umf-cred-process li{counter-increment:steps;border-top:1px solid var(--umf-gold);padding-top:18px}
.umf-cred-process li::before{content:counter(steps);display:inline-grid;place-items:center;width:32px;height:32px;background:var(--umf-gold-light);color:var(--umf-navy);border-radius:50%;margin-bottom:15px}
.umf-cred-process h3{font-size:.9rem;line-height:1.5;margin:0 0 10px}
.umf-cred-process li p{font-size:.82rem;margin:0}
.umf-cred-process .umf-cred-process-note{font-size:.8rem;color:var(--umf-muted);margin:25px 0 0}
/* ===================== */
/* FAQ & CALL TO ACTION */
/* ===================== */
.umf-cred-faq .umf-container{max-width:1050px}
.umf-cred-faq details{border:1px solid var(--umf-line);background:#fff;margin-bottom:12px;padding:18px 22px}
.umf-cred-faq summary{font-size:.95rem;font-weight:600;cursor:pointer;line-height:1.5}
.umf-cred-faq details p{margin:14px 0 0;font-size:.9rem}
.umf-cred-cta{text-align:center;padding:40px 0;background:linear-gradient(110deg,#efe0b6,#faf6eb)}
.umf-cred-cta h2{margin-bottom:20px}
/* ===================== */
/* RESPONSIVE           */
/* ===================== */
@media(max-width:1000px){.umf-cred-cards{grid-template-columns:repeat(2,1fr)}.umf-cred-path-grid{grid-template-columns:1fr;gap:25px}.umf-cred-path-grid>div:first-child p:not(.umf-eyebrow){max-width:none}.umf-cred-process ol{grid-template-columns:repeat(2,1fr)}.umf-cred-experience{gap:25px}}
@media(max-width:650px){.umf-cred-section{padding:38px 0}.umf-cred-hero{background-size:auto 100%;padding-bottom:38px}.umf-cred-hero-copy>p:last-of-type{font-size:1.1rem}.umf-cred-crumb{margin-bottom:30px}.umf-cred-actions{flex-direction:column;align-items:flex-start}.umf-cred-actions .umf-button{font-size:.67rem}.umf-cred-intro>.umf-container,.umf-cred-experience{grid-template-columns:1fr;gap:22px}.umf-cred-intro h2{border:0;padding:0}.umf-cred-cards{grid-template-columns:1fr}.umf-cred-card{min-height:0}.umf-cred-card>p:not(.umf-cred-code){min-height:0}.umf-cred-branches{grid-template-columns:repeat(2,1fr)}.umf-cred-process ol{grid-template-columns:1fr}.umf-cred-experience img{height:auto}.umf-cred-faq details{padding:16px}.umf-cred-pathways{padding:38px 0}}
/* Soft image transition preserves the shared mockup's blended hero. */
.umf-cred-hero{position:relative;isolation:isolate;background:#061827;overflow:hidden}
.umf-cred-hero::before{content:"";position:absolute;z-index:-1;inset:0 0 0 auto;width:62%;background:linear-gradient(90deg,rgba(6,24,39,.4),rgba(6,24,39,.12)),url('/assets/img/home/umf-minister-congregation.png') center 42%/cover;mask-image:linear-gradient(90deg,transparent,#000 55%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 55%)}
@media(max-width:650px){.umf-cred-hero::before{width:100%;opacity:.35}}

/* ===================== */
/* MOCKUP HEADING ACCENTS */
/* ===================== */
@media(min-width:1050px){.umf-cred-hero-copy>p:last-of-type{white-space:nowrap}}
.umf-cred-intro h2{position:relative;padding-left:60px}
.umf-cred-intro h2::before{content:"";position:absolute;left:0;top:.6em;width:42px;height:1px;background:var(--umf-gold)}
#levels-title{display:flex;align-items:center;justify-content:center;gap:24px}
#levels-title::before,#levels-title::after{content:"";display:block;flex:0 0 44px;height:1px;background:var(--umf-gold)}
@media(max-width:650px){.umf-cred-intro h2{padding-left:40px}.umf-cred-intro h2::before{width:26px}#levels-title{gap:12px}#levels-title::before,#levels-title::after{flex-basis:20px}}

/* Align gold rules with the first title line, close to the lettering. */
#levels-title{align-items:flex-start;gap:12px}
#levels-title::before,#levels-title::after{margin-top:.43em}
@media(max-width:650px){#levels-title{gap:8px}}

/* ===================== */
/* MOCKUP PATHWAY DIAGRAM */
/* ===================== */
.umf-cred-pathways{background:linear-gradient(90deg,rgba(3,23,39,.22),rgba(3,23,39,.12)),url('/assets/img/credentials/pathway-world.webp') center/cover;padding:28px 0}
.umf-cred-path-grid{grid-template-columns:.65fr 1.35fr;gap:32px;align-items:start}
.umf-path-copy h2{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.12;margin:6px 0 22px;color:#fff}
.umf-path-copy h2 span{color:#e6c77d}
.umf-cred-path-grid .umf-path-copy p{font-size:.95rem;line-height:1.55;max-width:330px}
.umf-path-node{width:62%;margin:auto;display:flex;gap:18px;justify-content:center;align-items:center;padding:10px 16px;background:linear-gradient(110deg,#f8e5b2,#dfb85d);border:1px solid #e4c77d;border-radius:2px;color:#082039;min-height:62px}
.umf-path-node strong{display:block;font-size:.78rem;line-height:1.35;text-transform:uppercase}
.umf-path-node span{display:block;font-size:.69rem;line-height:1.4;margin-top:3px}
.umf-path-node-icon{width:32px;height:32px;flex:0 0 32px;color:#49350b}
.umf-path-node-icon svg,.umf-path-icon svg{width:100%;height:100%}
.umf-path-certified{width:62%}
.umf-path-split{height:32px;position:relative;display:grid;grid-template-columns:repeat(4,1fr)}
.umf-path-split::before{content:"";position:absolute;top:0;left:50%;height:14px;border-left:1px solid #d7b65e}
.umf-path-split::after{content:"";position:absolute;top:14px;left:12.5%;right:12.5%;border-top:1px solid #d7b65e}
.umf-path-split i{position:relative}
.umf-path-split i::before{content:"";position:absolute;left:50%;top:14px;height:15px;border-left:1px solid #d7b65e}
.umf-path-split i::after{content:"";position:absolute;left:calc(50% - 3px);bottom:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid #d7b65e}
.umf-path-branches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.umf-path-branches article{background:#faf8f0;border:1px solid #e4d8bd;border-radius:2px;color:#09243b;padding:10px 8px 12px;text-align:center}
.umf-path-icon{width:32px;height:32px;margin:0 auto 7px;color:#927028}
.umf-path-branches h3{font-size:.69rem;line-height:1.35;text-transform:uppercase;margin:0 0 7px;color:#09243b}
.umf-path-branches article p{font-size:.68rem;line-height:1.35;margin:0}
.umf-path-merge{height:20px;position:relative;display:grid;grid-template-columns:repeat(4,1fr)}
.umf-path-merge::after{content:"";position:absolute;bottom:0;left:12.5%;right:12.5%;border-top:1px solid #d7b65e}
.umf-path-merge i::before{content:"";display:block;height:20px;width:1px;background:#d7b65e;margin:auto}
.umf-cred-flow .umf-path-review{position:relative;background:#09293d;border:1px solid #d7b65e;color:#fff;font-size:.68rem;line-height:1.3;padding:5px 12px;width:max-content;max-width:90%;margin:-10px auto 0}
.umf-path-arrow{position:relative;height:18px;width:1px;background:#d7b65e;margin:auto}
.umf-path-arrow::after{content:"";position:absolute;bottom:0;left:-3px;border-left:3.5px solid transparent;border-right:3.5px solid transparent;border-top:5px solid #d7b65e}
.umf-cred-flow .umf-cred-rule{font-size:.74rem;line-height:1.45;padding:6px 10px;margin:14px 0 0;color:#efd27a}
@media(max-width:1000px){.umf-cred-path-grid{grid-template-columns:1fr;gap:20px}.umf-cred-path-grid .umf-path-copy p{max-width:none}.umf-path-node{width:70%}}
@media(max-width:600px){.umf-path-branches{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.umf-path-split{height:22px;grid-template-columns:1fr 1fr}.umf-path-split i:nth-child(n+3),.umf-path-merge i:nth-child(n+3){display:none}.umf-path-split::after,.umf-path-merge::after{left:25%;right:25%}.umf-path-split::before{height:9px}.umf-path-split::after{top:9px}.umf-path-split i::before{top:9px;height:10px}.umf-path-merge{grid-template-columns:1fr 1fr}.umf-path-node{width:90%;gap:10px;padding:10px}.umf-path-node strong{font-size:.72rem}.umf-path-node span{font-size:.66rem}.umf-path-node-icon{width:27px;height:27px;flex-basis:27px}.umf-path-branches h3{font-size:.68rem}.umf-path-branches article p{font-size:.68rem}.umf-cred-flow .umf-cred-rule{font-size:.7rem}}

/* ===================== */
/* EXPERIENCE MOCKUP MATCH */
/* ===================== */
.umf-cred-experience-section{padding:24px 0;background:#faf9f5}
.umf-cred-experience{grid-template-columns:.85fr 1fr;gap:44px;align-items:center}
.umf-cred-experience img{height:245px;object-fit:cover;object-position:center 48%}
.umf-cred-experience-heading{border-left:1px solid var(--umf-gold);padding-left:24px}
.umf-cred-experience-heading h2{font-size:clamp(1.4rem,2.15vw,2rem);line-height:1.15;margin:0 0 10px}
.umf-cred-experience-heading p{font-size:.85rem;line-height:1.45;margin:0}
.umf-cred-experience ul{display:grid;grid-template-columns:1fr 1fr;gap:14px;list-style:none;padding:0 0 0 24px;margin:18px 0;font-size:.78rem;line-height:1.4}
.umf-cred-experience li{display:flex;gap:10px;align-items:center}
.umf-cred-experience li::before{content:"✓";display:inline-grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#b7923e;color:#fff;font-size:1rem;font-weight:700}
.umf-cred-experience .umf-cred-experience-note{margin:0;padding:10px 16px;background:#f5e8c6;font: .82rem/1.5 var(--umf-editorial);text-align:center}
@media(max-width:850px){.umf-cred-experience{grid-template-columns:1fr 1.1fr;gap:24px}.umf-cred-experience ul{grid-template-columns:1fr;gap:10px}.umf-cred-experience img{height:270px}}
@media(max-width:650px){.umf-cred-experience{grid-template-columns:1fr;gap:22px}.umf-cred-experience img{height:auto;aspect-ratio:2/1}.umf-cred-experience-heading{padding-left:16px}.umf-cred-experience ul{padding-left:16px;grid-template-columns:1fr}.umf-cred-experience-section{padding:24px 0}}

/* ===================== */
/* PROCESS TITLE ACCENTS */
/* ===================== */
#process-title{display:flex;align-items:flex-start;justify-content:center;gap:16px}
#process-title::before,#process-title::after{content:"";display:block;flex:0 0 44px;height:1px;background:var(--umf-gold);margin-top:.43em}
@media(max-width:650px){#process-title{gap:10px}#process-title::before,#process-title::after{flex-basis:24px}}

/* ===================== */
/* FAQ GRID & TITLE      */
/* ===================== */
.umf-cred-faq .umf-container{max-width:var(--umf-content)}
#faq-title{display:flex;align-items:flex-start;justify-content:center;gap:16px}
#faq-title::before,#faq-title::after{content:"";display:block;flex:0 0 44px;height:1px;background:var(--umf-gold);margin-top:.43em}
.umf-cred-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;align-items:start}
.umf-cred-faq-grid details{margin:0;min-width:0}
.umf-cred-faq-grid summary{display:flex;align-items:flex-start;gap:12px;list-style:none}
.umf-cred-faq-grid summary::-webkit-details-marker{display:none}
.umf-cred-faq-grid summary::before{content:"+";flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;border:1px solid var(--umf-gold);border-radius:50%;font-size:1rem;line-height:1;color:var(--umf-gold-dark)}
.umf-cred-faq-grid details[open]>summary::before{content:"−";background:var(--umf-gold);color:#fff}
.umf-cred-faq-grid details>p{padding-left:34px}
@media(max-width:650px){.umf-cred-faq-grid{grid-template-columns:1fr}#faq-title{gap:10px}#faq-title::before,#faq-title::after{flex-basis:24px}}

/* ===================== */
/* COMPACT IMAGE CTA      */
/* ===================== */
.umf-cred-cta{padding:22px 0 24px;min-height:155px;display:flex;align-items:center;background:#f6ecd5 url('/assets/img/credentials/credential-next-step.webp') center/cover no-repeat;border-bottom:2px solid var(--umf-gold)}
.umf-cred-cta>.umf-container{padding-left:21%;padding-right:14%;text-align:center}
.umf-cred-cta h2{font-size:clamp(1.4rem,2.15vw,2rem);line-height:1.2;margin:0 0 14px;color:var(--umf-navy)}
.umf-cred-cta .umf-button{min-height:43px;padding:.65rem 1.4rem;font-size:.72rem}
@media(max-width:850px){.umf-cred-cta>.umf-container{padding-left:15%;padding-right:10%}.umf-cred-cta{min-height:150px}}
@media(max-width:600px){.umf-cred-cta{padding:24px 0;background-image:linear-gradient(rgba(250,245,231,.82),rgba(250,245,231,.82)),url('/assets/img/credentials/credential-next-step.webp');min-height:165px}.umf-cred-cta>.umf-container{padding:0}.umf-cred-cta h2{font-size:1.5rem}.umf-cred-cta .umf-button{font-size:.65rem}}

/* ===================== */
/* REBUILT SHALLOW BANNER */
/* ===================== */
.umf-cred-cta{background-image:url('/assets/img/credentials/credential-next-step-v2.webp');background-size:cover;background-position:center;min-height:160px;padding:22px 0}
.umf-cred-cta>.umf-container{padding-left:22%;padding-right:20%}
@media(max-width:850px){.umf-cred-cta>.umf-container{padding-left:12%;padding-right:12%}}
@media(max-width:600px){.umf-cred-cta{background-image:linear-gradient(rgba(250,245,231,.88),rgba(250,245,231,.88)),url('/assets/img/credentials/credential-next-step-v2.webp');background-size:cover;min-height:165px}.umf-cred-cta>.umf-container{padding:0}}

@media(min-width:851px){.umf-cred-cta{background-size:100% auto;background-repeat:no-repeat;background-color:#fcf8ed}}
