/*
Theme Name: Men Who Pray
Author: Men Who Pray
Description: A modern, responsive, Scripture-centered community theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: men-who-pray
*/
:root{--ink:#163c30;--cream:#f5f4eb;--gold:#dbec9c;--muted:#617268}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.65 system-ui,-apple-system,sans-serif}a{color:inherit}a:focus-visible,summary:focus-visible{outline:3px solid #b57422;outline-offset:5px}.wrap{max-width:1240px;margin:auto;padding:0 40px}.skip{position:absolute;top:-80px}.skip:focus{top:10px;z-index:9;background:white;padding:10px}header{border-bottom:1px solid #163c3020}nav{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 0}.brand{text-decoration:none;font-weight:800;letter-spacing:-1.2px;font-size:25px;line-height:1.05}.brand span{display:block;font-size:10px;letter-spacing:3px;font-weight:600;margin-top:7px}.links{display:flex;align-items:center;gap:28px;font-size:14px}.links a{text-decoration:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--ink);color:white;padding:15px 24px;border-radius:100px;text-decoration:none;font-size:14px;font-weight:650}.button.light{background:var(--gold);color:var(--ink)}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:750;text-transform:uppercase;display:flex;align-items:center;gap:10px}.dot{width:7px;height:7px;background:#77a368;border-radius:50%}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(55px,6.8vw,94px);line-height:1.01;letter-spacing:-5px;font-weight:650;margin:25px 0}h1 em,h2 em{font-family:Georgia,serif;font-weight:400}h2{font-size:clamp(36px,4vw,58px);line-height:1.1;letter-spacing:-2px;font-weight:600}h3{font-size:23px;line-height:1.25;letter-spacing:-.5px}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;padding:72px 0 62px;align-items:center}.hero p{color:var(--muted);max-width:440px;font-size:17px}.actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:30px}.textlink{font-size:14px;text-underline-offset:5px}.note{font-size:12px!important;margin-top:22px}.art{height:555px;border-radius:180px 180px 14px 14px;position:relative;overflow:hidden;background:#233e33}.art svg{width:100%;height:100%;display:block}.art-caption{position:absolute;bottom:23px;left:25px;right:25px;color:#fff;background:#ffffff10;backdrop-filter:blur(12px);border:1px solid #ffffff30;padding:22px;border-radius:10px}.art-caption p{color:white;font:23px/1.3 Georgia,serif;margin:0 0 10px}.art-caption span{font-size:10px;letter-spacing:2px}.strip{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #163c3025;border-bottom:1px solid #163c3025;padding:23px 0;font-size:12px;letter-spacing:1.5px;text-transform:uppercase}.section{padding:100px 0}.intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.intro p{color:var(--muted);max-width:590px;font-size:19px}.intro h2{margin-top:20px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:38px}.section-head h2{max-width:650px;margin-bottom:0}.section-head p{color:var(--muted);max-width:310px;margin-bottom:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{padding:30px;background:#eaece2;border:1px solid #163c3015;border-radius:12px;min-height:245px}.card .num{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;margin-bottom:38px}.card p{font-size:14px;color:var(--muted);margin-bottom:20px}.card small{font-size:11px;text-transform:uppercase;letter-spacing:1px}.dark{background:var(--ink);color:var(--cream);border-radius:20px;padding:60px;display:grid;grid-template-columns:1fr 1fr;gap:60px}.dark p{color:#c1cec4}.steps{border-top:1px solid #ffffff25}.step{padding:23px 0;border-bottom:1px solid #ffffff25;display:flex;gap:23px}.step b{color:var(--gold);font-size:12px}.step h3{font-size:19px;margin-bottom:6px}.step p{font-size:14px;margin:0}.faq{max-width:850px;margin:auto}.faq h2{text-align:center;margin-bottom:40px}.faq .eyebrow{justify-content:center;margin-bottom:18px}details{border-bottom:1px solid #163c3025;padding:22px 0}summary{font-weight:650;cursor:pointer}details p{color:var(--muted);margin:18px 0 0}.cta{padding:70px;background:var(--gold);border-radius:20px;text-align:center}.cta h2{max-width:720px;margin:0 auto 22px}.cta p{max-width:590px;margin:0 auto 27px}footer{padding:50px 0 25px}.footer-top{display:flex;justify-content:space-between;gap:35px}.footer-top p{font-size:13px;max-width:310px;color:var(--muted)}.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:30px;margin-top:30px;border-top:1px solid #163c3025;color:var(--muted);font-size:12px}.content{max-width:800px;padding:70px 0}.content img{max-width:100%;height:auto}.post{padding:25px 0;border-bottom:1px solid #163c3020}.wp-caption,.gallery-caption{max-width:100%}.alignleft{float:left;margin-right:20px}.alignright{float:right;margin-left:20px}.sticky{border-left:3px solid var(--ink);padding-left:20px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:900px){.wrap{padding:0 24px}.hero{gap:30px}.art{height:460px}h1{letter-spacing:-3px}.links{gap:14px}.intro{gap:35px}.dark{padding:35px;gap:30px}}@media(max-width:650px){nav{flex-wrap:wrap}.links{width:100%;justify-content:space-between;font-size:12px}.links .button{padding:10px 17px}.hero{grid-template-columns:1fr;padding-top:45px}.art{height:440px}.section{padding:65px 0}.strip{font-size:9px;letter-spacing:.5px;flex-wrap:wrap}.intro,.dark{grid-template-columns:1fr;gap:25px}.cards{grid-template-columns:1fr}.section-head{display:block}.section-head p{margin-top:20px}.card{min-height:auto}.card .num{margin-bottom:25px}.cta{padding:40px 22px}.footer-top,.footer-bottom{flex-direction:column}.brand{font-size:23px}h1{font-size:66px}.hero p{font-size:16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.brand{display:flex;align-items:center;gap:14px}.brand-logo{width:76px;height:80px;object-fit:contain;background:white;border-radius:8px;flex-shrink:0}@media(max-width:650px){.brand-logo{width:59px;height:62px}.brand{font-size:20px}.brand span{font-size:8px;letter-spacing:2px}}

.community-photo{margin:0 0 75px}.community-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:18px}.community-photo figcaption{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:16px 2px;color:var(--muted)}.community-photo figcaption span{font-size:10px;letter-spacing:1px}.dark+.community-photo{margin-top:55px;margin-bottom:0}@media(max-width:650px){.community-photo{margin-bottom:45px}.community-photo img{min-height:270px}.community-photo figcaption{flex-direction:column}}

/* Conversation cards: distinct visual themes and real discussion prompts. */
.cards{gap:22px;align-items:start}.card{position:relative;overflow:hidden;padding:28px;border:0;min-height:410px;border-radius:18px;box-shadow:0 8px 30px #163c3008;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 14px 34px #163c3014}.card::after{content:"";position:absolute;width:180px;height:180px;border:1px solid currentColor;opacity:.07;border-radius:50%;right:-50px;top:55px;pointer-events:none}.card .num{align-items:center;margin-bottom:24px;position:relative;z-index:1}.topic-tag{font-size:10px;letter-spacing:1px;text-transform:uppercase;padding:5px 9px;border:1px solid currentColor;border-radius:100px}.topic-icon{width:62px;height:62px;display:block;margin-bottom:23px}.card h3{font-size:25px;max-width:240px;margin-bottom:15px}.card>p{min-height:92px;font-size:14px;line-height:1.7}.card small{display:inline-block;padding:7px 10px;background:#ffffff65;border-radius:6px;font-weight:650}.topic-1{background:#163c30;color:#f4f4e9}.topic-1 .num,.topic-1>p{color:#d3ded4}.topic-1 small{background:#ffffff12;color:#e3edbb}.topic-2{background:#e0e9db}.topic-3{background:#e6e0cf;color:#4b4128}.topic-4{background:#ecdbd2;color:#593d35}.topic-5{background:#dce8e7;color:#20494a}.topic-6{background:#e5ecc6}.topic-prompt{margin-top:22px;padding:16px 0 0;border-top:1px solid currentColor;border-bottom:0}.topic-prompt summary{display:flex;justify-content:space-between;align-items:center;font-size:12px;list-style:none;gap:12px}.topic-prompt summary::-webkit-details-marker{display:none}.topic-prompt summary span{font-size:22px;font-weight:400;transition:transform .2s}.topic-prompt[open] summary span{transform:rotate(45deg)}.topic-prompt>div{padding-top:18px}.topic-prompt strong{font-size:14px}.topic-prompt p{color:inherit;font-size:14px;margin:10px 0 16px}.topic-prompt a{font-size:12px;font-weight:650;text-underline-offset:4px}.topic-1 .topic-prompt p{color:#d3ded4}@media(max-width:900px) and (min-width:651px){.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.card{min-height:0;padding:26px}.card>p{min-height:0}.card h3{max-width:none}.card .num{margin-bottom:20px}}@media(prefers-reduced-motion:reduce){.card,.topic-prompt summary span{transition:none}.card:hover{transform:none}}

/* Blend the original monochrome logo into the cream surface. */
.brand-logo{background:transparent;border-radius:0;mix-blend-mode:multiply}

/* Large, readable captions layered over the community photos. */
.community-photo{position:relative;overflow:hidden;border-radius:18px;background:#163c30}
.community-photo img{border-radius:0}
.community-photo figcaption{position:absolute;left:28px;right:28px;bottom:28px;display:block;max-width:760px;padding:24px 30px;background:rgba(15,39,30,.77);color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:14px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:clamp(24px,3vw,40px);font-weight:600;line-height:1.2;letter-spacing:-.8px;box-shadow:0 8px 28px rgba(0,0,0,.12)}
@media(max-width:650px){.community-photo figcaption{left:16px;right:16px;bottom:16px;padding:19px 21px;font-size:25px;letter-spacing:-.4px}.community-photo img{min-height:330px;object-fit:cover}}

/* Keep every conversation card and its content aligned. */
.cards{align-items:stretch;grid-auto-rows:1fr}
.card{display:grid;grid-template-rows:34px 62px minmax(94px,auto) minmax(120px,auto) 34px minmax(43px,auto);gap:18px;min-height:0;height:100%;align-content:start}
.card .num{margin:0;align-self:center}
.topic-icon{margin:0}
.card h3{margin:0;align-self:start;max-width:none}
.card>p{margin:0;min-height:0;align-self:start}
.card>small{align-self:start;justify-self:start;line-height:20px;white-space:normal}
.card .topic-prompt{margin:0;padding-top:16px;align-self:start}
.card .topic-prompt summary{min-height:26px}
@media(max-width:650px){.cards{grid-auto-rows:auto}.card{grid-template-rows:34px 62px auto auto 34px auto;height:auto;gap:18px}.card h3{min-height:0}}

.prayer-section{display:grid;grid-template-columns:1fr 1.2fr;gap:65px;align-items:start}.prayer-section h2{margin-top:20px}.prayer-section p{color:var(--muted)}.prayer-privacy{font-size:13px;max-width:410px}.prayer-panel{padding:32px;background:#e8ecdf;border-radius:18px}.prayer-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.prayer-panel label{display:block;font-size:13px;font-weight:650;margin-bottom:9px}.prayer-panel label span{font-weight:400}.prayer-panel input:not([type=checkbox]),.prayer-panel textarea{display:block;width:100%;padding:13px 15px;margin-bottom:20px;background:#fafbf6;border:1px solid #163c3033;border-radius:8px;font:inherit;color:var(--ink)}.prayer-panel textarea{resize:vertical;min-height:150px}.prayer-panel input:focus,.prayer-panel textarea:focus{outline:2px solid var(--ink);outline-offset:2px}.prayer-panel .prayer-consent{display:flex;gap:12px;align-items:start;margin-bottom:24px;font-size:12px;line-height:1.6}.prayer-consent input{margin-top:4px;accent-color:var(--ink)}.prayer-panel button{border:0;cursor:pointer;font-family:inherit}.prayer-panel button:disabled{opacity:.65;cursor:default}.prayer-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.prayer-status{padding:14px 16px;background:#ffffff80;border-radius:8px;font-size:14px}@media(max-width:900px){.prayer-section{gap:30px}.prayer-fields{grid-template-columns:1fr;gap:0}}@media(max-width:650px){.prayer-section{grid-template-columns:1fr}.prayer-panel{padding:24px}.links{flex-wrap:wrap}}

/* Brotherhood in focus: full-width photographic hero. */
.hero.hero-brotherhood{display:flex;position:relative;isolation:isolate;min-height:590px;margin:28px 0 36px;padding:65px;border-radius:22px;overflow:hidden;color:var(--cream);background:linear-gradient(90deg,rgba(10,34,25,.94),rgba(10,34,25,.72) 48%,rgba(10,34,25,.22)),url('assets/scripture-fellowship.png') center/cover;align-items:center}
.hero-brotherhood .hero-copy{max-width:720px;position:relative;z-index:1}
.hero-brotherhood h1{font-size:clamp(48px,6.8vw,88px);letter-spacing:-3px;line-height:1.04;margin:26px 0}
.hero-brotherhood p{color:#edf0e6;max-width:450px;font-size:17px}
.hero-brotherhood .eyebrow{color:#e5edd9}.hero-brotherhood .dot{background:var(--gold)}
.hero-brotherhood .actions{gap:14px}.hero-brotherhood .hero-secondary{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.5);color:white}
.hero-brotherhood .note{color:#d7e1d1;margin-top:22px}
@media(max-width:900px){.hero.hero-brotherhood{padding:45px;min-height:570px}}
@media(max-width:650px){.hero.hero-brotherhood{padding:40px 26px;min-height:560px;margin-top:20px;background-position:60% center}.hero-brotherhood h1{font-size:clamp(44px,10vw,64px);letter-spacing:-2px}.hero-brotherhood .eyebrow{font-size:9px;letter-spacing:1.4px}.hero-brotherhood p{font-size:16px}.hero-brotherhood .button{padding:14px 19px}}


.links{flex-wrap:wrap;justify-content:flex-end;gap:18px}nav{gap:25px}.brand{flex-shrink:0}.newsletter{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center}.newsletter h2{margin-top:20px}.newsletter p{color:var(--muted)}.newsletter-panel{padding:30px;background:#e8ecdf;border-radius:18px}.newsletter-panel label{display:block;font-size:13px;font-weight:650;margin-bottom:10px}.newsletter-panel input[type=email]{width:100%;padding:14px;border:1px solid #163c3033;border-radius:8px;font:inherit;background:#fafbf6;margin-bottom:20px}.newsletter-panel .prayer-consent{display:flex;align-items:start;gap:12px;font-size:12px;line-height:1.6;margin-bottom:22px}.newsletter-panel .prayer-consent span{font-weight:400}.newsletter-panel button{border:0;font-family:inherit;cursor:pointer}.newsletter-panel button:disabled{opacity:.65;cursor:default}.newsletter-note{font-size:11px;line-height:1.7;margin:18px 0 0}.newsletter-panel input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}body>.newsletter{max-width:1160px;margin:auto;padding-left:30px;padding-right:30px}.blog-heading{padding:75px 0 40px}.blog-heading h1{font-size:clamp(48px,6vw,78px);letter-spacing:-3px}.blog-heading>p{color:var(--muted);max-width:610px;font-size:18px}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:50px}.blog-card{background:#e8ecdf;border-radius:16px;overflow:hidden}.blog-image{width:100%;height:230px;object-fit:cover;display:block}.blog-card-copy{padding:27px}.blog-card h2{font-size:28px;letter-spacing:-.8px;margin:18px 0}.blog-card h2 a{text-decoration:none}.blog-card p{color:var(--muted);font-size:14px}.blog-empty{grid-column:1/-1;padding:45px;background:#e8ecdf;border-radius:16px}.blog-empty h2{font-size:36px}.blog-empty p{max-width:650px}.blog-pagination{margin-bottom:40px}.blog-pagination a,.blog-pagination span{padding:10px}.sample-notice{padding:15px 20px;background:#dbec9c;border-radius:9px;margin-bottom:25px;font-size:13px}.blog-card details{padding-top:18px}.blog-card summary{font-size:13px}.blog-card details p{margin-top:15px}@media(max-width:900px){nav{flex-wrap:wrap}.links{justify-content:flex-start}.newsletter{gap:30px}.blog-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.newsletter,.blog-grid{grid-template-columns:1fr}.newsletter-panel{padding:24px}.blog-heading{padding-top:45px}.blog-image{height:240px}}

/* Softer color treatment for the second blog image. */
.blog-grid .blog-card:nth-child(2) .blog-image{filter:saturate(.85)}

.mwp-elementor-main{width:100%}.mwp-elementor-main .prayer-section,.mwp-elementor-main .newsletter{padding-top:25px;padding-bottom:25px}.mwp-elementor-main .elementor-widget-heading h1,.mwp-elementor-main .elementor-widget-heading h2,.mwp-elementor-main .elementor-widget-heading h3{margin-top:0}

/* WordPress-managed navigation and accessible mobile disclosure. */
.menu-toggle{display:none;border:1px solid #163c3040;background:transparent;color:var(--ink);border-radius:30px;padding:10px 15px;font:600 13px system-ui;cursor:pointer;gap:12px;align-items:center}
.menu-list{display:flex;flex-wrap:wrap;align-items:center;gap:18px;list-style:none;margin:0;padding:0}.menu-list li{position:relative}.menu-list a{display:inline-block;padding:7px 0}.menu-list .sub-menu{list-style:none;margin:0;position:absolute;top:100%;left:0;min-width:190px;padding:12px 18px;background:var(--cream);box-shadow:0 12px 25px #163c3022;border:1px solid #163c3020;border-radius:10px;z-index:20}.sub-menu[hidden]{display:none}.submenu-toggle{border:0;background:transparent;color:inherit;padding:7px;cursor:pointer;font-size:17px}.links a.is-active,.menu-list .current-menu-item>a,.menu-list .current_page_item>a{font-weight:750;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}.links .button.is-active{text-decoration:none}.menu-toggle:focus-visible,.submenu-toggle:focus-visible{outline:3px solid #b57422;outline-offset:3px}
@media(max-width:900px){header nav{flex-wrap:wrap;justify-content:space-between}nav.menu-enhanced .menu-toggle{display:flex}nav.menu-enhanced .links{display:none;width:100%;padding:18px 0 5px;border-top:1px solid #163c3020}nav.menu-enhanced .links.menu-open{display:flex;flex-direction:column;align-items:stretch;gap:8px}nav.menu-enhanced .links>a{padding:12px 10px}nav.menu-enhanced .links .button{align-self:flex-start;padding:14px 24px}.menu-list{flex-direction:column;align-items:stretch;width:100%;gap:5px}.menu-list .sub-menu{position:static;box-shadow:none;margin:8px 0 8px 12px}.menu-list>li>a{padding:10px}.submenu-toggle{float:right}.brand{max-width:calc(100% - 100px)}.brand span{letter-spacing:2px}}
@media(max-width:400px){header .brand{font-size:18px;gap:10px}header .brand-logo{width:47px;height:50px}header .brand span{font-size:7px;letter-spacing:1px}}

/* Keep navigation visible while scrolling, including the WordPress admin bar. */
body>header{position:sticky;top:0;z-index:100;background:rgba(245,244,235,.97);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 4px 18px rgba(22,60,48,.06)}
body.admin-bar>header{top:32px}
html{scroll-padding-top:155px}
@media(max-width:900px){html{scroll-padding-top:170px}.links.menu-open{max-height:calc(100dvh - 145px);overflow-y:auto}}
@media(max-width:782px){body.admin-bar>header{top:46px}}
@media(max-width:600px){body.admin-bar>header{top:0}html{scroll-padding-top:145px}}

/* Newsletter lives in a shared dark footer. */
.site-footer{background:#102e24;color:#f5f4eb;margin-top:70px;padding:0 0 26px}
.site-footer .newsletter{padding:65px 0 45px;gap:55px;border-bottom:1px solid #ffffff25;margin-bottom:40px}
.site-footer .newsletter h2{color:#f5f4eb;font-size:clamp(34px,3.5vw,48px)}
.site-footer .newsletter .eyebrow{color:#dbec9c}
.site-footer .newsletter p{color:#c3d0c6}
.site-footer .newsletter-panel{background:#1c4032;border:1px solid #ffffff18}
.site-footer .newsletter-panel label{color:#f5f4eb}
.site-footer .newsletter-panel input[type=email]{background:#102e24;border-color:#ffffff40;color:white}
.site-footer .newsletter-panel input[type=email]::placeholder{color:#a7b9ac}
.site-footer .newsletter-panel input:focus-visible{outline-color:#dbec9c}
.site-footer .newsletter-panel input[type=checkbox]{accent-color:#dbec9c}
.site-footer .newsletter-panel .button{background:#dbec9c;color:#102e24}
.site-footer .newsletter-panel .prayer-status{background:#ffffff0c;color:#dce6db}
.site-footer .footer-top p,.site-footer .footer-bottom{color:#b9cbbd}
.site-footer .footer-bottom{border-color:#ffffff25}
.site-footer .brand-logo{mix-blend-mode:normal;background:#f5f4eb;border-radius:8px}
@media(max-width:650px){.site-footer{margin-top:50px}.site-footer .newsletter{padding:45px 0 30px;gap:25px}.site-footer .newsletter-panel{padding:23px}}
